/* Built from src/tokens.js + src/site.css. */
:root { color-scheme: light; --bg: #FAF7F1; --surface: #FFFDF9; --sunken: #F2EDF1; --line: #E3DBE6; --line-strong: #857896; --text: #1E1529; --text-2: #4A3F5A; --text-3: #665A77; --accent: #5B3A8C; --accent-hover: #472B70; --on-accent: #FFFFFF; --gold: #C8A45A; --gold-text: #7E5F1E; --focus: #5B3A8C; --error: #9C2B2B; --error-bg: #FBEDEC; --ok: #2D6342; --ok-bg: #E8F1EA; --chip-wait-bg: #F4ECDA; --chip-wait: #6A4E12; --chip-none-bg: #EDE8F2; --chip-none: #4A3F5A; --band: #2A1840; --band-2: #3D2560; --on-band: #FAF7F1; --on-band-2: #D9CFE6; --gold-on-band: #D9B96E; --line-band: #5A4675; --wordmark: #2A1840; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark; --bg: #150D20; --surface: #1F1530; --sunken: #1A1128; --line: #33284A; --line-strong: #8B7DA3; --text: #F3EEF8; --text-2: #D3C9E0; --text-3: #ADA0C0; --accent: #C3A8F0; --accent-hover: #D7C4F6; --on-accent: #150D20; --gold: #C8A45A; --gold-text: #D9B96E; --focus: #C3A8F0; --error: #F2A7A3; --error-bg: #3A1A22; --ok: #A3D9B4; --ok-bg: #173226; --chip-wait-bg: #3A2E16; --chip-wait: #E8CB86; --chip-none-bg: #2C2140; --chip-none: #D3C9E0; --band: #2A1840; --band-2: #3D2560; --on-band: #F3EEF8; --on-band-2: #D9CFE6; --gold-on-band: #D9B96E; --line-band: #5A4675; --wordmark: #F3EEF8; } }
:root[data-theme="dark"] { color-scheme: dark; --bg: #150D20; --surface: #1F1530; --sunken: #1A1128; --line: #33284A; --line-strong: #8B7DA3; --text: #F3EEF8; --text-2: #D3C9E0; --text-3: #ADA0C0; --accent: #C3A8F0; --accent-hover: #D7C4F6; --on-accent: #150D20; --gold: #C8A45A; --gold-text: #D9B96E; --focus: #C3A8F0; --error: #F2A7A3; --error-bg: #3A1A22; --ok: #A3D9B4; --ok-bg: #173226; --chip-wait-bg: #3A2E16; --chip-wait: #E8CB86; --chip-none-bg: #2C2140; --chip-none: #D3C9E0; --band: #2A1840; --band-2: #3D2560; --on-band: #F3EEF8; --on-band-2: #D9CFE6; --gold-on-band: #D9B96E; --line-band: #5A4675; --wordmark: #F3EEF8; }
/* Imperial Claims Group public site. Colour tokens come from src/tokens.js (prepended by build.js);
   type and the mark follow 03_Brand/BRAND.md. Cormorant Garamond only at 28px and up; Inter for everything else. */
@font-face { font-family: "Cormorant Garamond"; src: url("/_site/fonts/cormorant-garamond-latin-wght-normal.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url("/_site/fonts/cormorant-garamond-latin-wght-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/_site/fonts/inter-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }

:root {
  --display: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --ui: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 4px;
  --r-lg: 8px;
  --head-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 17px/1.65 var(--ui); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
[hidden] { display: none !important; }
img, svg { max-width: 100%; }
svg { flex: none; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }
::selection { background: var(--accent); color: var(--on-accent); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -100px; z-index: 100; background: var(--surface); color: var(--text); padding: 12px 16px; border-radius: var(--r); font-weight: 600; }
.skip:focus { top: 12px; }

/* ---- Type --------------------------------------------------------------------------------------- */
h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -0.012em; margin: 0; color: var(--text); text-wrap: balance; }
h1 { font-size: clamp(46px, 6.6vw, 92px); }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--accent); }
h2 { font-size: clamp(34px, 3.8vw, 50px); line-height: 1.06; }
h3 { font: 600 19px/1.35 var(--ui); margin: 0; letter-spacing: -0.006em; color: var(--text); }
p { margin: 0 0 1em; text-wrap: pretty; }
.kicker { display: flex; align-items: center; gap: 14px; margin: 0 0 24px; font: 600 12.5px/1.4 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.kicker::before { content: ""; width: 32px; height: 1px; background: var(--gold); flex: none; }
.lede { font-size: clamp(18px, 1.55vw, 21px); line-height: 1.6; color: var(--text-2); max-width: 36em; }
.h-page { font-size: clamp(44px, 5.6vw, 76px); }
.num { font-variant-numeric: tabular-nums; }

/* ---- Status ribbon (mandatory banner) --------------------------------------------------------- */
.ribbon { background: var(--band); color: var(--on-band); font: 500 13.5px/1.5 var(--ui); }
.ribbon-in { display: flex; align-items: flex-start; gap: 12px; padding-top: 10px; padding-bottom: 10px; }
.ribbon-in p { margin: 0; text-wrap: balance; }
.ribbon-col { width: 10px; height: 16px; margin-top: 2px; fill: var(--gold); }
.ribbon a { color: var(--gold-on-band); font-weight: 600; white-space: nowrap; }
.ribbon a:hover { color: var(--on-band); }
.ribbon :focus-visible, .band :focus-visible, .foot :focus-visible, .docket :focus-visible { outline-color: var(--gold-on-band); }

/* ---- Masthead ---------------------------------------------------------------------------------- */
.masthead { position: sticky; top: 0; z-index: 40; background: var(--bg); border-bottom: 1px solid var(--line); }
.mast-in { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "logo nav tools"; align-items: center; gap: 20px; min-height: var(--head-h); }
.lockup { grid-area: logo; display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--wordmark); min-height: 44px; }
.lockup:hover { color: var(--wordmark); }
.lockup .mark { width: 40px; height: 40px; }
.lockup-word { display: flex; flex-direction: column; }
.lw-1 { font: 700 26px/1 var(--display); letter-spacing: .08em; margin-right: -.08em; }
.lw-2 { font: 600 9.6px/1 var(--ui); letter-spacing: .27em; margin-top: 5px; }
.nav { grid-area: nav; justify-self: end; display: flex; align-items: center; gap: 2px; }
.nav a { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 12px; border-radius: var(--r); font: 500 15px/1 var(--ui); color: var(--text-2); text-decoration: none; }
.nav a:hover { color: var(--text); background: var(--sunken); }
.nav a[aria-current="page"] { color: var(--text); }
.nav a[aria-current="page"]::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 5px; height: 2px; background: var(--gold); }
.mast-tools { grid-area: tools; display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text-2); cursor: pointer; }
.icon-btn:hover { color: var(--text); border-color: var(--line-strong); }
.icon-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.i-sun { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
.menu-btn { display: none; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--text); font: 600 15px/1 var(--ui); cursor: pointer; }
.menu-bars { position: relative; width: 16px; height: 10px; border-top: 1.7px solid currentColor; border-bottom: 1.7px solid currentColor; }
.menu-bars::after { content: ""; position: absolute; left: 0; right: 0; top: 2.5px; border-top: 1.7px solid currentColor; }

/* ---- Buttons ----------------------------------------------------------------------------------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px; border-radius: var(--r); border: 1.5px solid transparent; font: 600 16px/1.2 var(--ui); text-decoration: none; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s; }
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn-line { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--text); color: var(--text); }
.btn-gold { background: var(--gold-on-band); color: var(--band); }
.btn-gold:hover { background: var(--on-band); color: var(--band); }
.btn[disabled] { opacity: .65; cursor: progress; }
.arr { transition: transform .15s; }
.btn:hover .arr, .more:hover .arr { transform: translateX(3px); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.more { display: inline-block; padding: 10px 0; min-height: 44px; font-weight: 600; text-decoration: none; }
.more .arr { display: inline-block; margin-left: 6px; }
.more:hover { text-decoration: underline; }
.ext::after { content: "↗"; display: inline-block; margin-left: .2em; font-size: .85em; text-decoration: none; }

/* ---- Home hero ---------------------------------------------------------------------------------- */
.hero { padding: clamp(56px, 8vw, 120px) 0 clamp(64px, 8vw, 116px); }
.hero-in { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.hero h1 { max-width: 11.5em; }
.hero .lede { margin: 28px 0 36px; }
.flutes { position: relative; padding: 40px 0 0 40px; }
.flutes::before { content: ""; position: absolute; inset: 0 0 40px 0; background: repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 13px); border-radius: var(--r-lg); opacity: .9; }
.docket { position: relative; background: var(--band); color: var(--on-band); border: 1px solid var(--line-band); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); box-shadow: 0 34px 60px -34px rgba(30, 21, 41, .55); }
.docket-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.docket-head .mark { width: 46px; height: 46px; }
.docket-label { margin: 0; font: 600 12px/1.4 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-on-band); }
.docket-date { display: block; margin-top: 4px; font: 500 13.5px/1.4 var(--ui); letter-spacing: 0; text-transform: none; color: var(--on-band-2); }
.docket h2 { margin: 22px 0 6px; font-size: clamp(30px, 2.6vw, 36px); color: var(--on-band); }
.docket-rows { list-style: none; margin: 18px 0 22px; padding: 0; border-top: 1px solid var(--line-band); }
.docket-rows li { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line-band); font-size: 15.5px; }
.dk { color: var(--on-band-2); min-width: 0; }
.dots { flex: 1; min-width: 16px; border-bottom: 1px dotted var(--line-band); transform: translateY(-4px); }
.dv { color: var(--on-band); font-weight: 600; text-align: right; white-space: nowrap; }
.docket .more { color: var(--gold-on-band); }
.docket .more:hover { color: var(--on-band); }

/* ---- Sections ---------------------------------------------------------------------------------- */
.sec { padding: clamp(64px, 9vw, 128px) 0; }
.sec + .sec { border-top: 1px solid var(--line); }
.sec-sunken { background: var(--sunken); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sec-sunken + .sec { border-top: 0; }
.folio { display: flex; align-items: center; gap: 16px; margin: 0 0 28px; font: 600 12.5px/1.4 var(--ui); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); }
.folio::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head p { color: var(--text-2); font-size: 18px; margin: 18px 0 0; }
.sec-foot { margin-top: 40px; }

/* Claim timeline (home, compact) */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 0; }
.tl-step { position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 20px; padding-bottom: 28px; }
.tl-step::before { content: ""; position: absolute; left: 27.5px; top: 56px; bottom: 0; width: 1px; background: var(--gold); }
.tl-step:last-child::before { display: none; }
.tl-n { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; border: 1px solid var(--gold); background: var(--bg); font: 600 28px/1 var(--display); color: var(--gold-text); grid-row: span 2; }
.tl-step h3 { padding-top: 6px; }
.tl-step p { margin: 6px 0 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }
@media (min-width: 1100px) {
  .timeline { grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 20px; }
  .timeline::before { content: ""; position: absolute; left: 28px; right: 28px; top: 28px; height: 1px; background: var(--gold); }
  .tl-step { grid-template-columns: 1fr; padding-bottom: 0; }
  .tl-step::before { display: none; }
  .tl-n { position: relative; grid-row: auto; margin-bottom: 18px; }
  .tl-step h3 { padding-top: 0; font-size: 17px; }
  .tl-step p { font-size: 15px; }
}

/* Three kinds of adjusters */
.adjusters { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.adj { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 2.6vw, 32px); }
.adj.is-pa { border-top: 3px solid var(--gold); }
.adj-icon { width: 40px; height: 40px; fill: none; stroke: var(--text-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 18px; }
.adj-for { margin: 0 0 6px; font: 600 12px/1.4 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.adj h3 { font: 600 30px/1.1 var(--display); letter-spacing: -0.01em; margin-bottom: 18px; }
.adj dl { margin: 0; }
.adj dl div { padding: 12px 0; border-top: 1px solid var(--line); }
.adj dt { font: 600 13px/1.4 var(--ui); color: var(--text-3); }
.adj dd { margin: 2px 0 0; color: var(--text); font-size: 15.5px; line-height: 1.5; }

/* Verify band */
.band { background: var(--band); color: var(--on-band-2); }
.band h2 { color: var(--on-band); }
.band .folio { color: var(--gold-on-band); }
.band .folio::after { background: var(--line-band); }
.band .sec-head p { color: var(--on-band-2); }
.band a:not(.btn) { color: var(--gold-on-band); }
.band a:not(.btn):hover { color: var(--on-band); }
.vsteps { list-style: none; margin: 0 0 40px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-band); }
.vsteps li { padding: 28px 24px 8px 0; }
.vsteps li + li { padding-left: 24px; border-left: 1px solid var(--line-band); }
.vs-n { display: block; font: 600 46px/1 var(--display); font-variant-numeric: lining-nums; color: var(--gold-on-band); margin-bottom: 16px; }
.vsteps h3 { color: var(--on-band); margin-bottom: 8px; }
.vsteps p { margin: 0; font-size: 15.5px; line-height: 1.55; }
.band-note { max-width: 760px; margin: 28px 0 0; font-size: 15.5px; color: var(--on-band-2); }
.band-note b { color: var(--on-band); }

/* Why (editorial split) */
.why { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.pull { margin: 0; padding-left: 28px; border-left: 2px solid var(--gold); font: 500 clamp(30px, 3vw, 42px)/1.18 var(--display); font-style: italic; letter-spacing: -0.005em; color: var(--text); text-wrap: balance; }
.why-body p { color: var(--text-2); font-size: 18px; }

/* Updates call to action */
.cta-card { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(20px, 3vw, 40px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 48px); }
.cta-card .mark { width: 64px; height: 64px; }
.cta-card h2 { font-size: clamp(30px, 3vw, 40px); }
.cta-card p { margin: 10px 0 0; color: var(--text-2); max-width: 40em; }

/* ---- Inner pages ------------------------------------------------------------------------------- */
.page-head { padding: clamp(48px, 7vw, 104px) 0 clamp(36px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.page-head .lede { margin: 26px 0 0; }
.page-head + .sec { padding-top: clamp(40px, 5vw, 72px); }
.page-head-in { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.edu-label { display: inline-flex; align-items: center; gap: 10px; margin: 28px 0 0; padding: 9px 14px 9px 12px; border-radius: 999px; background: var(--sunken); border: 1px solid var(--line); font: 600 13.5px/1.3 var(--ui); color: var(--text-2); }
.edu-label svg { width: 18px; height: 18px; fill: none; stroke: var(--gold-text); stroke-width: 1.6; }
.doc { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: clamp(32px, 6vw, 88px); padding-top: clamp(44px, 6vw, 80px); padding-bottom: clamp(64px, 8vw, 112px); }
.toc { position: sticky; top: calc(var(--head-h) + 28px); align-self: start; }
.toc-label { margin: 0 0 12px; font: 600 12px/1.4 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--text-3); }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 4px 0 4px 16px; border-left: 2px solid var(--line); color: var(--text-2); text-decoration: none; font-size: 15px; line-height: 1.35; }
.toc a:hover { color: var(--text); border-left-color: var(--gold); }
.prose { max-width: 68ch; min-width: 0; }
.prose > h2 { font-size: clamp(32px, 3.1vw, 42px); margin: 72px 0 18px; scroll-margin-top: calc(var(--head-h) + 24px); }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 34px 0 8px; }
.prose ul, .prose ol { padding-left: 1.25em; margin: 0 0 1.2em; }
.prose li { margin: 8px 0; }
.prose li::marker { color: var(--gold-text); }
.prose .steps, .prose .parts { padding-left: 0; }
.prose .lead-in { font-size: 19px; color: var(--text-2); }
.note { margin: 28px 0; padding: 18px 22px; background: var(--surface); border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: var(--r); font-size: 16px; color: var(--text-2); }
.note p:last-child { margin: 0; }
.note b, .note strong { color: var(--text); }
.quote { margin: 28px 0; padding: 22px 26px; background: var(--sunken); border-radius: var(--r); }
.quote p { margin: 0; font: 500 clamp(28px, 2.4vw, 32px)/1.25 var(--display); font-style: italic; color: var(--text); }
.quote cite { display: block; margin-top: 12px; font: 500 14px/1.4 var(--ui); font-style: normal; color: var(--text-3); }

/* Claim steps (full) */
.steps { list-style: none; margin: 8px 0 0; padding: 0; }
.steps > li { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.st-n { font: 600 46px/1 var(--display); color: var(--gold-text); }
.steps h3 { font-size: 20px; margin: 4px 0 10px; }
.steps p { margin: 0 0 .7em; }
.steps p:last-child { margin: 0; }

/* Policy anatomy illustration (HTML so it reflows) */
.policy { margin: 32px 0; display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: 28px; align-items: start; }
.paper { position: relative; aspect-ratio: 8.5 / 11; background: var(--surface); border: 1px solid var(--line-strong); border-radius: 3px; padding: 26px 20px; display: grid; gap: 8px; align-content: space-evenly; box-shadow: 8px 8px 0 -1px var(--sunken), 8px 8px 0 0 var(--line); }
.paper::after { content: ""; position: absolute; right: -1px; top: -1px; width: 28px; height: 28px; background: linear-gradient(225deg, var(--bg) 50%, var(--line-strong) 50%, var(--line-strong) calc(50% + 1px), var(--sunken) calc(50% + 1px)); }
.pz { display: grid; grid-template-columns: 22px 1fr; gap: 8px; align-items: center; padding: 6px 0; }
.pz b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--band); color: var(--on-band); font: 700 11px/1 var(--ui); }
.pz i { display: block; height: 7px; border-radius: 2px; background: var(--line); }
.pz.is-dec i { background: var(--gold); opacity: .55; height: 9px; }
.parts { list-style: none; margin: 0; padding: 0; counter-reset: p; }
.parts li { position: relative; padding: 10px 0 10px 40px; margin: 0; border-top: 1px solid var(--line); }
.parts li:first-child { border-top: 0; padding-top: 0; }
.parts li::before { counter-increment: p; content: counter(p); position: absolute; left: 0; top: 10px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--band); color: var(--on-band); font: 700 12px/1 var(--ui); }
.parts li:first-child::before { top: 0; }
.parts b { display: block; color: var(--text); }
.parts span { display: block; margin-top: 2px; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

/* Glossary */
.gloss { margin: 8px 0 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
.gloss div { padding: 18px 0; border-top: 1px solid var(--line); }
.gloss dt { font-weight: 600; color: var(--text); }
.gloss dd { margin: 4px 0 0; color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

/* Checklist */
.checks { list-style: none; padding: 0 !important; }
.checks li { position: relative; padding-left: 34px; }
.checks li::before { content: ""; position: absolute; left: 2px; top: 5px; width: 18px; height: 18px; border: 1.5px solid var(--gold); border-radius: 3px; }
.checks li::after { content: ""; position: absolute; left: 8px; top: 8px; width: 5px; height: 9px; border: solid var(--gold-text); border-width: 0 2px 2px 0; transform: rotate(45deg); }

/* Questions list */
.qs { list-style: none; padding: 0 !important; counter-reset: q; }
.qs li { position: relative; padding: 14px 0 14px 46px; margin: 0; border-top: 1px solid var(--line); }
.qs li::before { counter-increment: q; content: counter(q, upper-roman); position: absolute; left: 0; top: 10px; font: 600 28px/1 var(--display); color: var(--gold-text); }

/* Comparison table */
.table-wrap { overflow-x: auto; margin: 24px 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.cmp { width: 100%; border-collapse: collapse; font-size: 15.5px; min-width: 560px; }
.cmp th, .cmp td { padding: 14px 16px; text-align: left; vertical-align: top; border-top: 1px solid var(--line); }
.cmp thead th { border-top: 0; font: 600 13px/1.4 var(--ui); letter-spacing: .04em; color: var(--text-3); background: var(--sunken); }
.cmp tbody th { font-weight: 600; color: var(--text); width: 26%; }
.cmp td { color: var(--text-2); }

/* About */
.founder { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.monogram { aspect-ratio: 1; border-radius: var(--r-lg); background: var(--band); display: grid; place-items: center; position: relative; overflow: hidden; }
.monogram::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(217, 185, 110, .16) 0 1px, transparent 1px 13px); }
.monogram span { position: relative; font: 600 92px/1 var(--display); letter-spacing: .04em; color: var(--gold-on-band); }
.founder h2 { font-size: clamp(34px, 3.4vw, 46px); }
.role { margin: 8px 0 22px; font: 600 12.5px/1.4 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-text); }
.founder-body p { color: var(--text-2); font-size: 18px; }
.principles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.principles li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 8px; padding: 28px 0; border-top: 1px solid var(--line); }
.pr-n { grid-row: span 2; font: 600 34px/1 var(--display); color: var(--gold-text); }
.principles h3 { margin: 4px 0 8px; }
.principles p { margin: 0; color: var(--text-2); }
.facts-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: clamp(40px, 5vw, 64px) 0 0; }
.facts-row div { padding: 22px 24px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
.facts-row dt { font: 600 12px/1.4 var(--ui); letter-spacing: .16em; text-transform: uppercase; color: var(--text-3); }
.facts-row dd { margin: 8px 0 0; font: 600 28px/1.15 var(--display); color: var(--text); }

/* Status ledger */
.progress { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; margin: 36px 0 0; }
.count { font-size: 16px; color: var(--text-2); }
.count b { font: 600 34px/1 var(--display); font-variant-numeric: lining-nums; color: var(--text); margin-right: 4px; }
.segs { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(10px, 1fr); gap: 4px; flex: 1; min-width: 200px; max-width: 520px; }
.segs i { height: 8px; border-radius: 2px; background: var(--line); }
.segs i.is-done { background: var(--accent); }
.ledger { list-style: none; margin: 0; padding: 0; }
.ledger-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 8px 20px; align-items: start; padding: 24px 0; border-top: 1px solid var(--line); }
.ledger-row:last-child { border-bottom: 1px solid var(--line); }
.ledger-n { font: 600 13px/1.6 var(--ui); font-variant-numeric: tabular-nums; color: var(--text-3); padding-top: 2px; }
.ledger-body h3 { font-size: 18px; }
.ledger-body p { margin: 6px 0 0; color: var(--text-2); font-size: 15.5px; }
.chip { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; font: 600 12.5px/1 var(--ui); letter-spacing: .02em; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip-done { background: var(--ok-bg); color: var(--ok); }
.chip-wait { background: var(--chip-wait-bg); color: var(--chip-wait); }
.chip-none { background: var(--chip-none-bg); color: var(--chip-none); }
.chip-none::before { background: transparent; border: 1.5px solid currentColor; }
.help-links { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.help-links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); color: var(--text); text-decoration: none; font-weight: 600; }
.help-links a:hover { border-color: var(--line-strong); }
.help-links small { display: block; font-weight: 400; color: var(--text-2); font-size: 14.5px; margin-top: 2px; }
.help-links .arr { color: var(--accent); }

/* ---- Forms ------------------------------------------------------------------------------------- */
.forms { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 32px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3.2vw, 40px); scroll-margin-top: calc(var(--head-h) + 20px); }
.form-card { border-top-width: 3px; }
.form-card.is-feature { border-top-color: var(--gold); }
.form-card h2 { font-size: clamp(32px, 2.8vw, 38px); }
.form-card > p { color: var(--text-2); margin: 12px 0 24px; }
.field { margin: 0 0 20px; }
.field label { display: block; margin: 0 0 8px; font: 600 15px/1.4 var(--ui); color: var(--text); }
.opt { font-weight: 500; color: var(--text-3); }
.hint { margin: -4px 0 8px; font-size: 14px; color: var(--text-3); }
input[type="text"], input[type="email"], textarea { display: block; width: 100%; min-height: 52px; padding: 13px 14px; font: 400 16px/1.4 var(--ui); color: var(--text); background: var(--bg); border: 1.5px solid var(--line-strong); border-radius: var(--r); transition: border-color .15s; }
textarea { min-height: 168px; resize: vertical; line-height: 1.55; }
input:hover, textarea:hover { border-color: var(--text-2); }
input:focus-visible, textarea:focus-visible { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
[aria-invalid="true"] { border-color: var(--error) !important; }
.field-err { display: flex; gap: 6px; margin: 8px 0 0; font: 600 14px/1.4 var(--ui); color: var(--error); }
.field-err::before { content: "!"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; background: var(--error); color: var(--bg); font-size: 12px; flex: none; margin-top: 1px; }
.counter { margin: 6px 0 0; font-size: 13.5px; color: var(--text-3); text-align: right; font-variant-numeric: tabular-nums; }
.check { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 12px; align-items: start; margin: 4px 0 18px; padding: 12px 14px; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); }
.check input { width: 22px; height: 22px; margin: 2px 0 0; accent-color: var(--accent); cursor: pointer; }
.check label { font-size: 15.5px; line-height: 1.5; color: var(--text); cursor: pointer; }
.check .field-err { grid-column: 2; margin-top: 0; }
.fine { font-size: 14px; color: var(--text-3); margin: 0 0 20px; }
.notice-box { margin: 0 0 22px; padding: 14px 16px; background: var(--sunken); border-left: 3px solid var(--gold); border-radius: var(--r); font-size: 15px; color: var(--text-2); }
.err-summary { margin: 0 0 20px; padding: 14px 16px; background: var(--error-bg); border-radius: var(--r); color: var(--error); font: 600 15px/1.5 var(--ui); }
.err-summary:focus { outline: 3px solid var(--error); outline-offset: 2px; }
.hp { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.form-card .btn { width: 100%; }
.done { padding: 8px 0 0; }
.done:focus { outline: none; }
.done-icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--ok-bg); margin-bottom: 20px; }
.done-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--ok); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done h3 { font: 600 32px/1.1 var(--display); margin: 0 0 12px; }
.done p { color: var(--text-2); margin: 0; }
.mailline { margin-top: 32px; font-size: 16px; color: var(--text-2); }

/* Legal documents */
.legal-meta { margin: 20px 0 0; font-size: 15px; color: var(--text-3); }
.prose table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 15.5px; }
.prose table th, .prose table td { text-align: left; vertical-align: top; padding: 12px 12px 12px 0; border-top: 1px solid var(--line); }
.prose table th { color: var(--text); font-weight: 600; }
.prose table td { color: var(--text-2); }

/* Simple centred pages (404, sent) */
.plain { padding: clamp(72px, 12vw, 160px) 0; }
.plain .mark { width: 72px; height: 72px; margin-bottom: 28px; }
.plain .lede { margin: 22px 0 32px; }

/* ---- Footer ------------------------------------------------------------------------------------ */
.foot { background: var(--band); color: var(--on-band-2); padding: clamp(56px, 7vw, 88px) 0 40px; font-size: 15px; }
.foot-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 48px; }
.lockup-foot { color: var(--on-band); }
.lockup-foot:hover { color: var(--on-band); }
.foot-tag { margin: 20px 0 0; color: var(--on-band-2); }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot-nav h2 { font: 600 12.5px/1.4 var(--ui); letter-spacing: .18em; text-transform: uppercase; color: var(--gold-on-band); margin: 0 0 8px; }
.foot-nav ul { list-style: none; margin: 0; padding: 0; }
.foot-nav a { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-band); text-decoration: none; }
.foot-nav a:hover { text-decoration: underline; color: var(--on-band); }
.foot-legal { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line-band); font-size: 14px; line-height: 1.6; }
.foot-legal p { margin: 0 0 8px; max-width: 70em; }
.foot-legal a { color: var(--gold-on-band); }
.foot-legal a:hover { color: var(--on-band); }
.foot-legal .foot-copy { margin-top: 16px; max-width: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
.foot .team-link { display: inline-flex; align-items: center; min-height: 44px; color: var(--on-band-2); text-decoration: none; font-size: 13.5px; }
.foot .team-link:hover { color: var(--on-band); text-decoration: underline; }

/* ---- Responsive -------------------------------------------------------------------------------- */
@media (max-width: 1099px) {
  .vsteps { grid-template-columns: 1fr 1fr; }
  .vsteps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .vsteps li:nth-child(n+3) { border-top: 1px solid var(--line-band); }
}
@media (max-width: 1023px) {
  .js .menu-btn { display: inline-flex; }
  .js .nav { display: none; }
  .mast-in { grid-template-columns: auto 1fr; grid-template-areas: "logo tools" "nav nav"; row-gap: 0; }
  .mast-tools { justify-self: end; }
  .nav { justify-self: stretch; flex-wrap: wrap; padding-bottom: 12px; }
  .js .nav.open { display: flex; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 16px; border-top: 1px solid var(--line); }
  .js .nav.open a { min-height: 52px; padding: 0 4px; font-size: 17px; border-bottom: 1px solid var(--line); border-radius: 0; }
  .js .nav.open a[aria-current="page"]::after { left: 4px; right: auto; width: 32px; bottom: 8px; }
  .doc { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
}
@media (max-width: 900px) {
  .hero-in, .why, .founder, .forms, .foot-top { grid-template-columns: 1fr; }
  .flutes { padding: 28px 0 0 28px; max-width: 560px; }
  .adjusters { grid-template-columns: 1fr; }
  .principles { grid-template-columns: 1fr; }
  .cta-card { grid-template-columns: 1fr; }
  .cta-card .mark { width: 52px; height: 52px; }
  .founder .monogram { max-width: 220px; }
  .policy { grid-template-columns: 1fr; }
  .paper { max-width: 240px; }
  .page-head-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .table-wrap { overflow: visible; }
  .prose .cmp { min-width: 0; margin: 0; }
  .prose .cmp thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .prose .cmp, .prose .cmp tbody, .prose .cmp tr, .prose .cmp tbody th, .prose .cmp td { display: block; width: auto; }
  .prose .cmp tbody tr + tr { border-top: 1px solid var(--line); }
  .prose .cmp tbody th { padding: 16px 16px 6px; border-top: 0; font-size: 16px; }
  .prose .cmp td { display: grid; grid-template-columns: 116px minmax(0, 1fr); gap: 12px; padding: 6px 16px; border-top: 0; }
  .prose .cmp td:last-child { padding-bottom: 16px; }
  .prose .cmp td::before { content: attr(data-label); font-weight: 600; font-size: 13px; line-height: 1.6; color: var(--text-3); }
  .vsteps { grid-template-columns: 1fr; }
  .vsteps li, .vsteps li + li { padding: 24px 0 8px; border-left: 0; }
  .vsteps li + li { border-top: 1px solid var(--line-band); }
  .gloss { grid-template-columns: 1fr; }
  .facts-row { grid-template-columns: 1fr; }
  .foot-nav { grid-template-columns: 1fr 1fr; }
  .steps > li { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; }
  .st-n { font-size: 36px; }
  .ledger-row { grid-template-columns: 34px minmax(0, 1fr); }
  .ledger-row .chip { grid-column: 2; justify-self: start; }
  .lw-1 { font-size: 23px; }
  .lw-2 { font-size: 8.6px; }
  .lockup .mark { width: 36px; height: 36px; }
  .ribbon { font-size: 13px; }
  .ctas .btn { width: 100%; }
  .docket-rows li { font-size: 15px; }
}
@media (max-width: 380px) {
  .mast-in { gap: 12px; }
  .lockup { gap: 9px; }
  .menu-btn { width: 44px; padding: 0; justify-content: center; }
  .menu-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .masthead, .foot-nav, .mast-tools, .skip { display: none; }
  .ribbon, .band, .foot, .docket { background: #fff !important; color: #000 !important; }
  body { background: #fff; color: #000; }
}
