[hidden] { display: none !important; }
button, input, textarea, select { font: inherit; }
button { touch-action: manipulation; }
button:disabled { opacity: .45; cursor: not-allowed; }
a, button, input, textarea { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p, li { overflow-wrap: break-word; }
h2[id], h3[id] { scroll-margin-top: 100px; }
.skip-link { position: fixed; left: 20px; top: -80px; z-index: 1000; background: var(--card); padding: 12px 18px; border: 2px solid var(--accent); border-radius: 8px; }
.skip-link:focus { top: 10px; }
.logo-mark { display: flex; justify-content: center; align-items: center; font: 700 30px/1 Georgia, serif; letter-spacing: -5px; padding-right: 5px; background: #16222f; color: #f7f4ed; border-radius: 9px; }
.logo-mark span { color: #d2a853; }
.utility-inner nav a { display: flex; align-items: center; gap: 7px; }
.utility-inner nav svg { width: 13px; height: 13px; }
.header-actions { margin-left: auto; }
.main-nav { margin-left: auto; }
.mega-menu { left: 0; transform: translateX(-25%) translateY(6px); }
.nav-drop.open .mega-menu { transform: translateX(-25%) translateY(0); }
.btn svg, .text-link svg, .tc-open svg, .cc-link svg, .hero-card-link svg { width: 16px; height: 16px; flex: none; }
.btn-primary { background: #a63d2f; border-color: #a63d2f; color: #fff; }
.btn-primary:hover { background: #8a3125; color: #fff; }
.btn-sm { padding: 8px 12px; font-size: 12px; background: var(--paper); color: var(--ink); border: 1px solid var(--line); }
.text-link { display: inline-flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; white-space: nowrap; padding-bottom: 5px; }
.hero-inner > *, .section-head-row > *, .tool-content-layout > *, .article-layout > * { min-width: 0; }
.hero h1 { font-size: clamp(48px, 5.3vw, 68px); letter-spacing: -.04em; }
.hero-lede { font-size: 17px; }
.hero-search input { padding-right: 156px; }
.hero-search .btn { padding: 0 15px; font-size: 13px; }
.hero-eyebrow { font-size: 10px; letter-spacing: .17em; }
.hero-eyebrow::before { display: none; }
.hero-card { padding: 24px; }
textarea.hc-sample { display: block; width: 100%; height: 149px; min-height: 100px; resize: vertical; font-size: 16px; }
.hc-title { font-size: 16px; }
.hc-badge { font-size: 8px; white-space: nowrap; }
.hc-stat b { font-size: 25px; }
.hc-stat span { font-size: 9px; letter-spacing: .04em; }
.hero-card-link { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 600; }
.hero-floater.bottom-left { bottom: -23px; left: -22px; padding: 12px 16px; font-size: 11px; }
.hero-floater svg { height: 17px; width: 17px; color: #9bc8b7; }
.hero-margin-note { display: block; text-align: right; position: absolute; right: 0; bottom: -40px; font: italic 13px var(--serif); color: var(--ink-3); }
.stat-cell { padding: 24px 16px; }
.stat-cell b { font-size: 30px; margin-bottom: 6px; }
.stat-cell span { font-size: 10px; letter-spacing: .12em; }
.section-head h2 { font-size: clamp(28px, 3vw, 35px); letter-spacing: -.025em; }
.section-head p { font-size: 15px; }
.section-head .eyebrow { font-size: 10px; }
.tc-cat { font-size: 8px; letter-spacing: .06em; }
.tc-open { font-size: 11px; white-space: nowrap; }
.tc-foot { gap: 8px; }
.tc-name { font-size: 20px; }
.tc-desc { min-height: 64px; }
.directory-item { min-width: 0; }
.directory-item > a { height: 100%; }
.cat-card h3 { font: 600 22px/1.2 var(--serif); }
.cat-card p { font-size: 13.5px; color: var(--ink-3); flex: 1; }
.cc-link { display: flex; align-items: center; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--accent); margin-top: 8px; }
.recent-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.recent-tools > span { color: var(--ink-3); font-size: 12px; margin-right: 8px; }
.journal-section { border-top: 1px solid var(--line); padding-top: 56px; }
.editorial-art { height: 190px; position: relative; overflow: hidden; background: #e6ddc9; color: #654c37; border-bottom: 1px solid var(--line); }
.editorial-art::before, .editorial-art::after { content: ''; position: absolute; width: 220px; height: 220px; border: 1px solid currentColor; opacity: .12; border-radius: 50%; right: -60px; top: 10px; }
.editorial-art::after { right: -35px; top: -20px; }
.editorial-art > span { display: block; font: italic 126px/1.2 var(--serif); letter-spacing: -.1em; text-align: center; padding-top: 3px; }
.editorial-art small { position: absolute; left: 20px; bottom: 16px; font-size: 8px; letter-spacing: .18em; }
.editorial-art i { position: absolute; right: 20px; top: 14px; font: italic 17px var(--serif); }
.art-1 { background: #dce6df; color: #315448; }
.art-2 { background: #e9d6ce; color: #913d2f; }
.ac-body .eyebrow { margin-bottom: 0; font-size: 9px; }
.ac-body h3 { font-size: 22px; }
.ac-body p { font-size: 13px; color: var(--ink-3); flex: 1; }
.ac-meta { justify-content: space-between; margin-top: 6px; font-size: 11px; }
.directory-search { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line-2); padding: 10px 16px; border-radius: 10px; background: var(--card); margin-bottom: 24px; }
.directory-search input { flex: 1; min-width: 0; padding: 8px 0; border: 0; background: transparent; color: var(--ink); outline-offset: 5px; }
.directory-search svg { color: var(--ink-3); width: 19px; height: 19px; flex: none; }
.filter-btn { border: 1px solid var(--line-2); color: var(--ink-2); background: var(--card); border-radius: 99px; font-size: 12px; padding: 8px 15px; cursor: pointer; }
.filter-btn.active { color: #fff; background: #16222f; border-color: #16222f; }
.filter-btn:hover { border-color: var(--accent); }
.filter-btn span { opacity: .6; margin-left: 6px; }
.category-collection { margin-bottom: 64px; }
.category-prose { margin: 56px auto 0; max-width: 780px; }
.result-count { color: var(--ink-3); font-size: 13px; margin: 20px 0; }
.empty-state { padding: 38px 24px; background: var(--card); border: 1px dashed var(--line-2); border-radius: 12px; text-align: center; }
.empty-state h2 { font: 500 26px var(--serif); margin-bottom: 12px; }
.search-page { max-width: 900px; }
#pageResults .sr-item { display: block; padding: 24px 0; border-bottom: 1px solid var(--line); }
#pageResults .sr-kind { display: block; color: var(--accent); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 8px; }
#pageResults .sr-title { font: 500 26px/1.3 var(--serif); color: var(--ink); }
#pageResults .sr-desc { color: var(--ink-3); font-size: 14px; margin-top: 8px; }
.live-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 1px; background: var(--line); border-top: 1px solid var(--line); }
.live-stat { background: var(--paper); padding: 20px 12px; text-align: center; }
.live-stat strong { display: block; font: 500 30px/1.2 var(--serif); color: var(--ink); }
.live-stat span { display: block; color: var(--ink-3); font-size: 10px; margin-top: 5px; text-transform: uppercase; letter-spacing: .05em; }
.workbench-status { padding: 10px 20px; border-top: 1px solid var(--line); font-size: 12px; color: var(--teal); background: var(--card); }
.workbench-status.error { color: var(--accent); background: var(--accent-soft); }
.tool-results { margin-top: 28px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.tool-results h2 { font: 500 25px var(--serif); margin-bottom: 14px; }
.result-list { list-style: none; font-size: 14px; }
.result-list li { padding: 12px 0; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; }
.result-list li:last-child { border-bottom: 0; }
.suggestion { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.suggestion p { color: var(--ink-3); font-size: 12px; margin-top: 4px; }
.suggestion-actions { display: flex; align-items: center; gap: 12px; flex: none; }
.issue-text { color: var(--accent); text-decoration: underline wavy; text-underline-offset: 4px; }
.markdown-preview { margin-top: 24px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.markdown-preview summary { cursor: pointer; padding: 14px 20px; background: var(--card); font-size: 14px; }
.markdown-preview iframe { width: 100%; height: 380px; background: #fff; border: 0; display: block; }
.ts-options input[type=text] { max-width: 190px; }
.ts-pane textarea:focus-visible { outline: 2px solid var(--accent); outline-offset: -3px; }
.ts-btn { font-size: 11px; }
.prose { overflow-wrap: anywhere; }
.prose pre { overflow-x: auto; background: var(--paper-2); padding: 18px; border-radius: 8px; margin: 24px 0; }
.prose pre code { background: transparent; padding: 0; }
.table-scroll { overflow-x: auto; margin: 26px 0; }
.table-scroll table { margin: 0; min-width: 360px; }
.callout > strong:first-child { display: block; margin-bottom: 8px; font-size: 14px; }
.callout > p:last-child { margin-bottom: 0; }
.article-meta-line { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-top: 25px; font-size: 12px; color: var(--ink-3); }
.text-button { border: 0; background: none; color: var(--accent); cursor: pointer; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; padding: 5px 0; }
.article-meta-line .text-button:first-of-type { margin-left: auto; }
.privacy-aside > svg { color: var(--teal); margin-bottom: 15px; }
.privacy-aside p, .privacy-aside a { font-size: 13px; }
.privacy-aside p { color: var(--ink-3); margin-bottom: 12px; }
.contact-card { border: 1px solid var(--line); padding: 24px; background: var(--card); border-radius: 12px; margin-bottom: 40px; }
.contact-card h2 { margin-top: 0; }
.contact-card form { display: grid; gap: 10px; margin: 20px 0; }
.contact-card label { font: 600 13px var(--sans); margin-top: 5px; }
.contact-card input, .contact-card select, .contact-card textarea { width: 100%; padding: 12px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--ink); background: var(--paper); font: 15px/1.5 var(--sans); resize: vertical; }
.contact-card form .btn { justify-self: start; margin-top: 6px; }
.contact-card .contact-status { font: 12px/1.6 var(--sans); color: var(--teal); margin: 0; }
.not-found { padding: 75px 24px; text-align: center; max-width: 780px; }
.not-found h1 { font: 500 clamp(40px, 6vw, 64px)/1.12 var(--serif); margin: 20px 0; }
.not-found p { color: var(--ink-3); margin: 0 auto 30px; max-width: 520px; }
.not-found .btn { margin: 5px; }
.footer-col h5 { min-height: 28px; }
.footer-bottom button { background: transparent; border: 0; color: #93a3b2; font-size: inherit; cursor: pointer; }
.toast { max-width: calc(100vw - 32px); white-space: normal; width: max-content; }
.noscript-note { background: var(--gold-soft); padding: 15px; text-align: center; }
html[data-theme=dark] { color-scheme: dark; --ink: #e7e4dc; --ink-2: #c8d0d4; --ink-3: #a0b0bc; --paper: #121c25; --paper-2: #1a2632; --card: #1c2935; --line: #344250; --line-2: #4b5964; --accent: #e69b8c; --accent-deep: #f2b5a9; --accent-soft: #3f2b2b; --gold: #dbb665; --gold-soft: #3c3525; --teal: #8ac5b0; --teal-soft: #223c37; }
html[data-theme=dark] .hero, html[data-theme=dark] .page-head, html[data-theme=dark] .section.tinted, html[data-theme=dark] .related-section { background: var(--paper); }
html[data-theme=dark] .site-header { background: rgba(18, 28, 37, .96); }
html[data-theme=dark] .stats-strip, html[data-theme=dark] .section.dark, html[data-theme=dark] .site-footer, html[data-theme=dark] .utility-bar, html[data-theme=dark] .ts-toolbar, html[data-theme=dark] .hero-floater, html[data-theme=dark] .toast { background: #0b131b; }
html[data-theme=dark] .spot-card::before { background: #213446; }
html[data-theme=dark] .spot-card.v-accent::before, html[data-theme=dark] .cta-band { background: #823a30; }
html[data-theme=dark] .spot-card .btn, html[data-theme=dark] .cta-band .btn { color: #16222f; }
html[data-theme=dark] .ts-pane textarea:focus { background: #202f3d; }
html[data-theme=dark] .tc-icon.v-ink { background: #344351; }
html[data-theme=dark] .editorial-art { filter: brightness(.8); }
@media (min-width: 1500px) { .hero-inner { padding: 88px 0 96px; } }
@media (max-width: 1080px) { .main-nav > a, .nav-drop > button { padding: 9px; font-size: 13px; } .header-inner { gap: 16px; } .hero-inner { gap: 32px; } .hero-floater.bottom-left { left: 0; } .hero-margin-note { display: none; } }
@media (max-width: 900px) { .header-actions { margin-left: auto; } .hero-visual { width: 100%; margin: 0 auto; } .hero-inner { gap: 40px; padding: 46px 0 62px; } .hero h1 { font-size: 58px; } .hero-lede, .hero-search { max-width: 610px; } .hero-floater.bottom-left { bottom: -20px; left: -16px; } }
@media (max-width: 640px) {
  .container { padding-left: 20px; padding-right: 20px; }
  .utility-inner { min-height: 30px; font-size: 9px; gap: 6px; }
  .utility-inner nav svg { display: none; }
  .header-inner { min-height: 68px; gap: 8px; }
  .brand-name { font-size: 23px; } .brand-sub { font-size: 7px; } .brand { gap: 8px; }
  .brand-mark { width: 33px; height: 35px; } .icon-btn { width: 34px; height: 34px; } .header-actions { gap: 5px; }
  .hero h1 { font-size: 53px; } .hero-eyebrow { font-size: 8px; margin-bottom: 16px; gap: 6px; }
  .hero-lede { font-size: 15px; margin-bottom: 24px; } .hero-search input { font-size: 14px; padding-right: 14px; padding-bottom: 58px; }
  .hero-search .btn { min-height: 36px; } .hero-chips { gap: 6px; } .hero-chips .chips-label { width: 100%; }
  .hero-search .hs-icon { top: 28px; }
  .chip { font-size: 11px; padding: 5px 10px; } .hero-card { padding: 19px; transform: none; } .hero-card::before { display: none; }
  .hc-head { gap: 8px; } .hc-title { font-size: 14px; } .hc-stats { grid-template-columns: repeat(4, 1fr); gap: 6px; }
  .hc-stat b { font-size: 21px; } .hc-stat span { font-size: 7px; } .hc-sample { margin-bottom: 14px; }
  .stat-cell { padding: 19px 8px; } .stat-cell b { font-size: 27px; } .stat-cell span { font-size: 8px; }
  .section-head-row { align-items: flex-start; flex-direction: column; gap: 17px; } .section-head h2 { font-size: 31px; }
  .section-head p { font-size: 14px; } .tool-card { padding: 20px; } .tc-desc { min-height: auto; } .tc-cat { font-size: 9px; }
  .spot-card { padding: 28px 24px; } .article-meta-line .text-button:first-of-type { margin-left: 0; }
  .article-aside .aside-card { min-width: 0; flex-basis: 100%; } .article-aside { flex-direction: column; }
  .live-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); } .live-stat { padding: 16px 8px; }
  .ts-toolbar { padding: 14px; gap: 12px; } .ts-actions { gap: 6px; } .ts-btn { padding: 8px 10px; }
  .ts-options { padding: 14px; gap: 12px; } .ts-opt { flex-wrap: wrap; max-width: 100%; font-size: 12px; }
  .ts-pane textarea { min-height: 240px; padding: 16px; font-size: 16px; }
  .tool-results { padding: 18px; } .suggestion { align-items: flex-start; flex-direction: column; gap: 8px; }
  .prose .author-box { padding: 20px; gap: 12px; } .author-box .ab-avatar { width: 40px; height: 40px; }
  .directory-search { padding: 8px 12px; gap: 8px; } .directory-search .btn { padding: 12px; font-size: 12px; }
  .directory-search input { font-size: 14px; } .filter-bar { gap: 7px; } .filter-btn { font-size: 11px; padding: 8px 11px; }
  .contact-card { padding: 20px; } .contact-card .btn { font-size: 12px; padding: 12px; }
  .footer-top { gap: 26px 20px; } .footer-bottom { align-items: flex-start; gap: 16px; flex-direction: column; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
@media print { html[data-theme=dark] { --ink: #16222f; --ink-2: #2e3f52; --ink-3: #5a6b7e; --paper: #fff; --card: #fff; --paper-2: #eee; --line: #ccc; } .article-meta-line button { display: none; } }

/* ============ Trust, author, and live hero additions ============ */
.editorial-trust { border-bottom: 1px solid var(--line); background: var(--paper); }
.editorial-trust-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 14px; min-height: 48px; font-size: 12.5px; color: var(--ink-3); }
.editorial-trust-inner a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.editorial-trust-inner a:hover { color: var(--accent); }
.et-label { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); }
.et-sep { color: var(--line-2); }

textarea.hc-sample { font-style: normal; resize: vertical; line-height: 1.6; }
textarea.hc-sample:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.hero-card-link a { color: var(--ink); }
.hero-card-link a:hover { color: var(--accent); }
.hero-card-link > span { color: var(--ink-3); font-weight: 500; }

.article-meta-line .aml-author { display: inline-flex; align-items: center; gap: 7px; }
.article-meta-line .aml-avatar { width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #e8b45a; display: inline-flex; align-items: center; justify-content: center; font: 600 9px/1 var(--serif); }
.article-meta-line a { color: var(--ink-2); }
.article-meta-line a:hover { color: var(--accent); }
.ac-meta { flex-wrap: wrap; }
.ac-meta .ac-author { font-weight: 600; color: var(--ink-2); }
.ac-meta .ac-read { margin-left: auto; font-weight: 600; color: var(--accent); }
.author-box .ab-links { margin-top: 7px; font-size: 12.5px; font-weight: 600; }
.author-box .ab-links a { color: var(--accent); }

.author-page { padding: 44px 0 64px; }
.author-hero { display: flex; gap: 22px; align-items: flex-start; padding-bottom: 30px; border-bottom: 1px solid var(--line); max-width: 820px; }
.author-hero .ab-avatar { width: 76px; height: 76px; border-radius: 50%; background: var(--ink); color: #e8b45a; display: flex; align-items: center; justify-content: center; font: 600 30px/1 var(--serif); flex: none; }
.author-hero .eyebrow { display: block; margin-bottom: 7px; }
.author-hero p { font-size: 16px; line-height: 1.65; color: var(--ink-2); max-width: 650px; }
.author-hero .author-hero-links { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.author-hero .author-hero-links a { color: var(--ink); font-weight: 600; }
.author-prose { max-width: 760px; padding-top: 34px; }
.author-guide-list { list-style: none; padding: 0; margin: 10px 0 0; border-top: 1px solid var(--line); }
.author-guide-list li { display: flex; justify-content: space-between; gap: 18px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.author-guide-list li span { color: var(--ink-3); font-size: 12.5px; white-space: nowrap; }

@media (max-width: 640px) {
  .utility-inner nav { display: none; }
  .editorial-trust-inner { min-height: 0; padding-top: 12px; padding-bottom: 12px; font-size: 11.5px; }
  .ed-label { display: block; }
  .et-sep { display: none; }
  .author-hero { flex-direction: column; gap: 14px; }
  .ac-meta .ac-read { margin-left: 0; }
}
