/* =====================================================================================
   TryHired Organic Design System · core (th.css) v1.0
   The approved Resume Intelligence / About language, made reusable for every organic surface.
   Layers: 1 tokens · 2 base · 3 chrome · 4 primitives · 5 reading · 6 citation (AEO) · 7 modules
   Family-specific interaction models live in th-families.css.
   ===================================================================================== */

/* 1 · tokens ------------------------------------------------------------------------- */
:root {
  --ink: #17181C; --ink-2: #24262B; --ink-3: #34363C;
  --paper: #FBFAF7; --paper-warm: #F4F2EB; --paper-deep: #ECE8DE; --card: #FFFFFF;
  --gold: #C9992F; --gold-deep: #A67D20; --gold-text: #7A5A12; --hi: #F5E3B3; --hi-soft: #FBF4E2;
  --rule: rgba(23, 24, 28, 0.10); --rule-2: rgba(23, 24, 28, 0.18);
  --mute: #6B6D72; --mute-2: #4A4C52;
  --ok: #2F6B4F; --ok-bg: rgba(47, 107, 79, 0.09);
  --warn: #8A5A0B; --warn-bg: rgba(201, 153, 47, 0.14);
  --risk: #A4472E; --risk-bg: rgba(164, 71, 46, 0.08);
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'Source Serif 4', 'Iowan Old Style', Georgia, serif;
  --mono: 'JetBrains Mono', ui-monospace, 'Courier New', monospace;
  --r-xl: 24px; --r-lg: 18px; --r: 12px; --r-sm: 8px;
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --shadow: 0 1px 2px rgba(23, 24, 28, 0.05), 0 18px 48px -18px rgba(23, 24, 28, 0.18);
  --shadow-lift: 0 2px 4px rgba(23, 24, 28, 0.06), 0 28px 60px -22px rgba(23, 24, 28, 0.28);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --wrap: 1180px; --measure: 68ch;
  /* topic accents: used sparingly (a rule, a dot), never as fills */
  --t-resume: #A67D20; --t-ai: #2F5D7C; --t-interview: #6A4C93; --t-strategy: #2F6B4F; --t-salary: #8A5A0B; --t-career: #8C3F2E;
}

/* 2 · base --------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 640px) { .wrap { padding: 0 18px; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; } }

/* 3 · chrome ------------------------------------------------------------------------- */
.th-top { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 247, 0.86); backdrop-filter: saturate(140%) blur(10px); -webkit-backdrop-filter: saturate(140%) blur(10px); border-bottom: 1px solid var(--rule); }
.th-top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.th-brand { font-weight: 800; font-size: 19px; letter-spacing: -0.02em; text-decoration: none; }
.th-brand b { color: var(--gold); }
.th-nav { display: flex; align-items: center; gap: 26px; font-size: 14px; font-weight: 500; }
.th-nav a { text-decoration: none; color: var(--mute-2); }
.th-nav a:hover, .th-nav a[aria-current="page"] { color: var(--ink); }
.th-nav .cta { color: var(--paper); background: var(--ink); padding: 9px 16px; border-radius: 999px; font-weight: 600; }
.th-nav .cta:hover { color: var(--paper); background: var(--ink-3); }
@media (max-width: 680px) { .th-nav .hide-s { display: none; } }
.th-progress { position: fixed; left: 0; top: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), var(--gold-deep)); z-index: 60; pointer-events: none; }
.th-foot { border-top: 1px solid var(--rule); padding: 40px 0; margin-top: var(--s8); color: var(--mute); font-size: 14px; }
.th-foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; }
.th-foot nav { display: flex; flex-wrap: wrap; gap: 18px; }
.th-foot a { text-decoration: none; color: var(--mute-2); }
.th-foot a:hover { color: var(--ink); }
.th-crumbs { font-size: 13px; color: var(--mute); }
.th-crumbs a { color: var(--mute-2); text-decoration: underline; text-decoration-color: var(--rule-2); text-underline-offset: 3px; display: inline-block; padding: 7px 0; }
.th-crumbs a:hover { color: var(--ink); }
.th-crumbs span[aria-hidden] { margin: 0 6px; color: var(--rule-2); }

/* 4 · primitives --------------------------------------------------------------------- */
.eyebrow { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 1.5px; background: var(--gold); }
.eyebrow.on-ink { color: var(--hi); }
.label { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--mute); font-weight: 600; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 999px; font-weight: 650; font-size: 15px; padding: 12px 20px; min-height: 44px; text-decoration: none; transition: transform 0.15s var(--ease), background 0.15s, border-color 0.15s; white-space: nowrap; }
.btn-ink { background: var(--ink); color: var(--paper); box-shadow: 0 8px 20px -10px rgba(23, 24, 28, 0.6); }
.btn-ink:hover { background: var(--ink-3); transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #D6A73A; }
.btn-line { background: transparent; border: 1px solid var(--rule-2); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn-sm { padding: 8px 14px; min-height: 36px; font-size: 13.5px; }
.chip { display: inline-flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 650; padding: 5px 11px; border-radius: 999px; background: var(--card); border: 1px solid var(--rule); color: var(--mute-2); text-decoration: none; white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: var(--dot, var(--gold)); }
.t-resume { --dot: var(--t-resume); } .t-ai { --dot: var(--t-ai); } .t-interview { --dot: var(--t-interview); } .t-strategy { --dot: var(--t-strategy); } .t-salary { --dot: var(--t-salary); } .t-career { --dot: var(--t-career); }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; font-size: 13.5px; color: var(--mute); }
.meta b { color: var(--ink); font-weight: 650; }
.meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--rule-2); }
.seg { display: inline-flex; flex-wrap: wrap; background: var(--paper-deep); border-radius: 999px; padding: 4px; gap: 2px; }
.seg button { border: 0; background: transparent; font-size: 13.5px; font-weight: 650; padding: 8px 14px; min-height: 36px; border-radius: 999px; color: var(--mute-2); }
.seg button[aria-pressed="true"], .seg button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(23, 24, 28, 0.14); }
.card { background: var(--card); border: 1px solid var(--rule); border-radius: var(--r-lg); }
.ink { background: var(--ink); color: var(--paper); }
.ruled { position: relative; }
.ruled::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(var(--rule) 1px, transparent 1px); background-size: 100% 34px; opacity: 0.35; -webkit-mask-image: linear-gradient(180deg, #000, transparent 78%); mask-image: linear-gradient(180deg, #000, transparent 78%); pointer-events: none; }
.js .rv { opacity: 0; transform: translateY(14px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .rv { opacity: 1; transform: none; } }

/* 5 · reading ------------------------------------------------------------------------ */
.th-hero { padding: 48px 0 40px; }
.th-hero h1 { margin: 18px 0 0; font-size: clamp(36px, 5vw, 64px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; max-width: 920px; }
.th-hero .standfirst { margin: 20px 0 0; font-family: var(--serif); font-size: clamp(19px, 1.8vw, 22px); line-height: 1.5; color: var(--mute-2); max-width: 760px; }
.th-hero .meta { margin-top: 24px; }
.th-byline { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.th-byline .ph { width: 40px; height: 40px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, var(--gold), rgba(201, 153, 47, 0.25)); flex: none; }
.th-byline .ph img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; border: 2px solid var(--paper); }
.th-byline b { display: block; font-size: 14px; color: var(--ink); }
.th-byline span { display: block; font-size: 12.5px; color: var(--mute); }
.th-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 56px; align-items: start; }
.th-layout.no-toc { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 1000px) { .th-layout { grid-template-columns: minmax(0, 1fr); gap: 0; } }
.th-toc { position: sticky; top: 88px; font-size: 13.5px; }
.th-toc .label { display: block; margin-bottom: 10px; }
.th-toc ol { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--rule); }
.th-toc a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; text-decoration: none; color: var(--mute-2); line-height: 1.35; }
.th-toc a:hover { color: var(--ink); }
.th-toc a.on { color: var(--ink); border-left-color: var(--gold); font-weight: 650; }
.th-toc .tool { margin-top: 22px; padding: 14px; border-radius: var(--r); background: var(--paper-warm); border: 1px solid var(--rule); }
.th-toc .tool b { display: block; font-size: 13.5px; margin-bottom: 4px; }
.th-toc .tool a { padding: 0; border: 0; margin: 8px 0 0; color: var(--gold-text); font-weight: 650; }
@media (max-width: 1000px) { .th-toc { position: static; margin-bottom: 28px; } .th-toc .tool { display: none; } }
details.th-toc-m { border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); margin-bottom: 28px; }
details.th-toc-m > summary { list-style: none; cursor: pointer; padding: 14px 16px; font-weight: 650; display: flex; justify-content: space-between; }
details.th-toc-m > summary::-webkit-details-marker { display: none; }
details.th-toc-m > summary::after { content: "+"; color: var(--mute); }
details.th-toc-m[open] > summary::after { content: "\2212"; }
details.th-toc-m ol { margin: 0; padding: 0 16px 14px 34px; }
details.th-toc-m li { padding: 4px 0; }
details.th-toc-m a { color: var(--mute-2); text-decoration: none; }
.th-toc-d { display: block; } .th-toc-m { display: none; }
@media (max-width: 1000px) { .th-toc-d { display: none; } details.th-toc-m { display: block; } }

.prose { font-family: var(--serif); font-size: 19px; line-height: 1.72; color: #22242A; max-width: var(--measure); }
@media (max-width: 640px) { .prose { font-size: 18px; line-height: 1.68; } }
.prose > p, .prose > ul, .prose > ol { margin: 0 0 1.15em; }
.prose a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--ink); }
.prose a.btn, .prose a.btn:hover { text-decoration: none; }
.prose a.btn-ink, .prose a.btn-ink:hover { color: var(--paper); }
.prose a.btn-gold, .prose a.btn-line { color: var(--ink); }
.prose strong { font-weight: 650; color: var(--ink); }
.prose h2 { font-family: var(--sans); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.18; letter-spacing: -0.025em; font-weight: 800; margin: 2.2em 0 0.6em; scroll-margin-top: 90px; }
.prose h3 { font-family: var(--sans); font-size: 21px; letter-spacing: -0.015em; font-weight: 750; margin: 1.8em 0 0.5em; scroll-margin-top: 90px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--gold-deep); font-family: var(--sans); font-weight: 700; }
.prose.dropcap > p:first-of-type::first-letter { font-family: var(--sans); float: left; font-size: 3.4em; line-height: 0.9; font-weight: 800; margin: 0.06em 0.12em 0 0; color: var(--ink); }

/* step sequence: an h2 "Step n: …" gets a numbered rail */
.th-step { position: relative; padding-left: 64px; }
.th-step::before { content: attr(data-n); position: absolute; left: 0; top: -2px; width: 44px; height: 44px; border-radius: 14px; background: var(--ink); color: var(--hi); font-family: var(--mono); font-size: 14px; font-weight: 700; display: grid; place-items: center; }
.th-step small { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); font-weight: 600; margin-bottom: 6px; }

/* numbered cards: an ordered list whose items lead with a bold term */
.th-numbered { list-style: none; padding: 0 !important; margin: 1.4em 0 1.6em !important; display: grid; gap: 10px; counter-reset: n; font-family: var(--sans); }
.th-numbered li { counter-increment: n; position: relative; display: block; margin: 0 !important; padding: 16px 18px 16px 64px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); font-size: 16px; line-height: 1.55; color: var(--mute-2); }
.th-numbered li::before { content: counter(n, decimal-leading-zero); position: absolute; left: 18px; top: 16px; width: 32px; height: 32px; border-radius: 10px; background: var(--hi-soft); border: 1px solid rgba(201, 153, 47, 0.35); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--gold-text); }
.th-numbered li strong { display: block; font-size: 17px; color: var(--ink); font-weight: 750; margin-bottom: 2px; }

/* 6 · citation-ready (AEO / GEO) ----------------------------------------------------- */
.th-answer { font-family: var(--sans); border-radius: var(--r-xl); background: var(--ink); color: var(--paper); padding: 28px 30px; margin: 0 0 28px; position: relative; overflow: hidden; }
.th-answer::after { content: ""; position: absolute; right: -90px; top: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 153, 47, 0.22), transparent); }
.th-answer .label { color: var(--hi); }
.th-answer p { position: relative; margin: 10px 0 0; font-size: 20px; line-height: 1.5; font-weight: 600; letter-spacing: -0.01em; }
.th-def { font-family: var(--sans); display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); border-left: 3px solid var(--gold); margin: 1.4em 0; }
.th-def dt { font-weight: 800; font-size: 18px; letter-spacing: -0.01em; }
.th-def dd { margin: 0; color: var(--mute-2); grid-column: 1 / -1; font-size: 16px; line-height: 1.6; }
.th-def .label { align-self: center; }
.th-method { font-family: var(--sans); border-radius: var(--r-lg); background: var(--paper-warm); border: 1px solid var(--rule); padding: 22px 24px; margin: 1.6em 0; }
.th-method h3, .th-method h4 { margin: 8px 0 8px; font-size: 18px; font-weight: 750; }
.th-method p, .th-method li { font-size: 15px; color: var(--mute-2); }
.th-method ul { margin: 6px 0 0; padding-left: 18px; }
.th-sources { font-family: var(--sans); list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; counter-reset: s; }
.th-sources li { counter-increment: s; display: grid; grid-template-columns: 28px 1fr; gap: 8px; font-size: 14px; color: var(--mute-2); }
.th-sources li::before { content: "[" counter(s) "]"; font-family: var(--mono); font-size: 12px; color: var(--gold-text); font-weight: 700; }
.th-limits { font-family: var(--sans); border-radius: var(--r-lg); border: 1px dashed var(--rule-2); padding: 18px 22px; margin: 1.6em 0; }
.th-limits b { display: block; margin-bottom: 6px; }
.th-limits ul { margin: 0; padding-left: 18px; color: var(--mute-2); font-size: 15px; }
.th-updated { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.06em; color: var(--mute); }
.th-updated::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px var(--ok-bg); }
.th-table-wrap { overflow-x: auto; margin: 1.6em 0; border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--card); }
.th-table { width: 100%; border-collapse: collapse; font-family: var(--sans); font-size: 14.5px; }
.th-table th { text-align: left; background: var(--paper-warm); font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mute-2); padding: 12px 14px; font-weight: 600; border-bottom: 1px solid var(--rule); }
.th-table td { padding: 13px 14px; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.5; }
.th-table tr:last-child td { border-bottom: 0; }
.th-table td:first-child { font-weight: 650; }
.th-table .num { font-family: var(--mono); text-align: right; white-space: nowrap; }
@media (max-width: 640px) {
  .th-table.stack thead { display: none; }
  .th-table.stack tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--rule); }
  .th-table.stack td { display: grid; grid-template-columns: 40% 1fr; gap: 10px; border: 0; padding: 5px 14px; }
  .th-table.stack td::before { content: attr(data-label); font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mute); padding-top: 2px; }
}
.th-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 10px; margin: 1.6em 0; font-family: var(--sans); }
.th-stat { border-radius: var(--r-lg); border: 1px solid var(--rule); background: var(--card); padding: 18px; position: relative; }
.th-stat b { display: block; font-size: 34px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.th-stat span { display: block; margin-top: 8px; font-size: 13.5px; color: var(--mute-2); }
.th-stat sup { font-family: var(--mono); font-size: 10px; color: var(--gold-text); }
.th-quote { margin: 2em 0; padding: 0 0 0 26px; border-left: 3px solid var(--gold); font-family: var(--sans); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.32; letter-spacing: -0.02em; font-weight: 700; color: var(--ink); }
.th-quote cite { display: block; margin-top: 12px; font-style: normal; font-size: 13px; font-weight: 600; color: var(--mute); letter-spacing: 0; }

/* 7 · modules ------------------------------------------------------------------------ */
.th-callout { font-family: var(--sans); display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; border-radius: var(--r-lg); padding: 18px 20px; margin: 1.6em 0; background: var(--hi-soft); border: 1px solid rgba(201, 153, 47, 0.3); }
.th-callout .ic { width: 36px; height: 36px; border-radius: 10px; background: var(--gold); color: var(--ink); display: grid; place-items: center; }
.th-callout .ic svg { width: 18px; height: 18px; }
.th-callout b { display: block; font-size: 13px; font-family: var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 4px; }
.th-callout p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--ink); }
.th-callout.note { background: var(--paper-warm); border-color: var(--rule); } .th-callout.note .ic { background: var(--ink); color: var(--hi); }
.th-callout.warn { background: var(--risk-bg); border-color: rgba(164, 71, 46, 0.2); } .th-callout.warn .ic { background: var(--risk); color: #fff; } .th-callout.warn b { color: var(--risk); }
.th-tool { font-family: var(--sans); display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 18px; align-items: center; border-radius: var(--r-xl); padding: 22px 24px; margin: 2em 0; background: var(--card); border: 1px solid var(--rule); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.th-tool::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--gold); }
.th-tool .label { color: var(--gold-text); }
.th-tool strong { display: block; font-size: 19px; letter-spacing: -0.015em; margin: 6px 0 4px; }
.th-tool p { margin: 0; color: var(--mute-2); font-size: 15px; line-height: 1.5; }
.th-tool .attrs { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 10px; font-size: 12.5px; color: var(--ok); font-weight: 650; }
@media (max-width: 640px) { .th-tool { grid-template-columns: 1fr; } }
.th-checklist { font-family: var(--sans); list-style: none; padding: 0 !important; margin: 1.4em 0 !important; display: grid; gap: 8px; }
.th-checklist li { margin: 0 !important; }
.th-checklist label { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; padding: 13px 16px; border-radius: var(--r); background: var(--card); border: 1px solid var(--rule); cursor: pointer; font-size: 15.5px; line-height: 1.5; transition: border-color 0.15s, background 0.15s; }
.th-checklist input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--rule-2); background: var(--card); margin: 1px 0 0; display: grid; place-items: center; cursor: pointer; }
.th-checklist input:checked { background: var(--ok); border-color: var(--ok); }
.th-checklist input:checked::after { content: ""; width: 5px; height: 10px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg) translate(-1px, -1px); }
.th-checklist label:has(input:checked) { background: var(--ok-bg); border-color: rgba(47, 107, 79, 0.3); }
.th-checkmeter { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-size: 13px; color: var(--mute-2); font-weight: 650; }
.th-checkmeter .bar { flex: 1; height: 6px; border-radius: 999px; background: var(--paper-deep); overflow: hidden; }
.th-checkmeter .bar i { display: block; height: 100%; width: 0; background: var(--ok); transition: width 0.4s var(--ease); }
.th-faq { font-family: var(--sans); display: grid; gap: 8px; margin: 1.4em 0; }
.th-faq details { border: 1px solid var(--rule); border-radius: var(--r); background: var(--card); }
.th-faq summary { list-style: none; cursor: pointer; padding: 16px 18px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; }
.th-faq summary::-webkit-details-marker { display: none; }
.th-faq summary::after { content: "+"; color: var(--mute); font-size: 20px; line-height: 1; transition: transform 0.2s; }
.th-faq details[open] summary::after { transform: rotate(45deg); }
.th-faq .a { padding: 0 18px 16px; color: var(--mute-2); font-size: 15.5px; line-height: 1.6; }
.th-author { font-family: var(--sans); display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px 24px; border-radius: var(--r-xl); background: var(--paper-warm); border: 1px solid var(--rule); margin: 3em 0 0; }
.th-author .ph { width: 68px; height: 68px; border-radius: 50%; padding: 2px; background: linear-gradient(135deg, var(--gold), rgba(201, 153, 47, 0.25)); }
.th-author .ph img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 40%; border: 2px solid var(--paper); }
.th-author b { font-size: 17px; }
.th-author .role { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-top: 2px; }
.th-author p { margin: 8px 0 0; font-size: 15px; color: var(--mute-2); line-height: 1.55; }
.th-author p a { color: var(--ink); font-weight: 650; }
.th-continue { font-family: var(--sans); border-radius: var(--r-xl); background: var(--ink); color: var(--paper); padding: 30px; margin: 3em 0 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; position: relative; overflow: hidden; }
.th-continue::after { content: ""; position: absolute; right: -120px; bottom: -160px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 153, 47, 0.24), transparent); }
.th-continue .label { color: var(--hi); }
.th-continue strong { display: block; font-size: 24px; letter-spacing: -0.02em; line-height: 1.2; margin: 8px 0 8px; }
.th-continue p { margin: 0; color: rgba(251, 250, 247, 0.74); font-size: 15px; line-height: 1.55; max-width: 560px; }
.th-continue .facts { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 13px; color: var(--hi); font-weight: 600; }
.th-continue .btn { position: relative; z-index: 1; }
@media (max-width: 700px) { .th-continue { grid-template-columns: 1fr; padding: 24px; } }
.th-related { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.th-rcard { display: flex; flex-direction: column; gap: 10px; padding: 20px; border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); text-decoration: none; min-height: 170px; transition: transform 0.2s var(--ease), box-shadow 0.2s, border-color 0.2s; }
.th-rcard:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--rule-2); }
.th-rcard strong { font-size: 17.5px; letter-spacing: -0.015em; line-height: 1.3; }
.th-rcard .meta { margin-top: auto; font-size: 12.5px; }
.th-rcard .chip { align-self: flex-start; }
.th-sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px; margin-bottom: 18px; }
.th-sec-head h2 { margin: 10px 0 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.03em; line-height: 1.1; font-weight: 800; }
.th-sec-head p { margin: 8px 0 0; color: var(--mute-2); max-width: 620px; }
.proto-banner { background: var(--ink); color: var(--hi); font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; text-align: center; padding: 9px 16px; }
.proto-banner span { color: rgba(251, 250, 247, 0.7); text-transform: none; letter-spacing: 0.02em; }

@media (max-width: 640px) { .proto-banner span { display: none; } }

/* a11y polish: definitions, mobile TOC tap targets */
.th-def { display: block; }
.th-def dt { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; }
.th-def dd { margin-top: 8px; }
details.th-toc-m a { display: block; padding: 6px 0; min-height: 32px; }
/* 8 · rollout components (content-driven) -------------------------------------------- */
.th-single { display: grid; grid-template-columns: minmax(0, 1fr); }
.th-single > div { width: 100%; max-width: 780px; margin: 0 auto; }
.th-single .prose { max-width: none; }
.th-lede { font-family: var(--sans); border-radius: var(--r-xl); background: var(--ink); color: var(--paper); padding: 24px 26px; margin: 0 0 1.6em; position: relative; overflow: hidden; }
.th-lede::after { content: ""; position: absolute; right: -80px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 153, 47, 0.24), transparent); }
.th-lede .label { color: var(--hi); position: relative; }
.th-lede p { position: relative; margin: 8px 0 0; font-size: 21px; line-height: 1.45; font-weight: 650; letter-spacing: -0.015em; }
.th-prompt { margin: 1.4em 0 1.8em; border-radius: var(--r-lg); background: var(--ink); color: var(--paper); overflow: hidden; font-family: var(--sans); }
.th-prompt figcaption { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 14px 12px 18px; border-bottom: 1px solid rgba(251, 250, 247, 0.12); }
.th-prompt figcaption .label { color: var(--hi); }
.th-prompt .btn-line { color: var(--paper); border-color: rgba(251, 250, 247, 0.28); }
.th-prompt .btn-line:hover { border-color: var(--hi); }
.th-prompt .btn svg { width: 15px; height: 15px; }
.th-prompt pre { margin: 0; padding: 18px; white-space: pre-wrap; word-break: break-word; font-family: var(--mono); font-size: 13.5px; line-height: 1.65; color: rgba(251, 250, 247, 0.9); }
.th-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; margin: 1.4em 0 1.8em; font-family: var(--sans); }
.th-role { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px; border-radius: 14px; background: var(--card); border: 1px solid var(--rule); text-decoration: none !important; transition: border-color 0.15s, transform 0.15s var(--ease); }
.th-role:hover { border-color: var(--t-interview); transform: translateY(-2px); }
.th-role .label { color: var(--t-interview); }
.th-role strong { font-family: var(--serif); font-size: 21px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink); }
.th-qcard { position: relative; font-family: var(--sans); border-radius: var(--r-lg); background: var(--card); border: 1px solid var(--rule); padding: 20px 22px 18px 70px; margin: 0 0 12px; }
.th-qcard .n { position: absolute; left: 20px; top: 20px; width: 34px; height: 34px; border-radius: 10px; background: rgba(106, 76, 147, 0.1); color: var(--t-interview); font-family: var(--mono); font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.prose .th-qcard h3 { margin: 4px 0 12px; font-size: 19px; line-height: 1.35; scroll-margin-top: 90px; }
.th-qrow { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 14px; padding: 10px 0; border-top: 1px solid var(--rule); }
.th-qrow .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--t-interview); font-weight: 700; padding-top: 4px; }
.th-qrow p { margin: 0; font-size: 16px; line-height: 1.55; color: var(--mute-2); }
@media (max-width: 640px) { .th-qcard { padding: 18px 16px 14px; } .th-qcard .n { position: static; margin-bottom: 8px; } .th-qrow { grid-template-columns: 1fr; gap: 4px; } }
.th-table.cmp th:not(:first-child) { color: var(--ink); font-size: 12px; }
.th-table.cmp td:first-child { color: var(--mute-2); font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-weight: 600; width: 22%; }
.th-table.cmp td:last-child { background: var(--hi-soft); }
@media (max-width: 640px) { .th-table.cmp td:first-child { width: auto; display: block; padding-top: 12px; } .th-table.cmp td:first-child::before { content: none; } .th-table.cmp td:last-child { background: transparent; } }