/* casefileai.in — visual design v2 ("the court file"). Palette: Paper / Ink / Graphite / Rule / Slate.
   Badge semantics (amber / green / red) mirror apps/web/app/globals.css exactly and are used only
   inside the product rendering and the review tags. No shadows, no motion, no icons. */
@import url("/assets/fonts.css");

:root {
  --paper: #F7F6F2;
  --ink: #15171A;
  --graphite: #4E5359;
  --rule: #D6D3CC;
  --rule-strong: #15171A;
  --slate: #1F4E79;
  --amber: #8A5A00;  --amber-bg: #FFF8E6;
  --green: #1D6B2E;  --green-bg: #EEF6EF;
  --red: #A40000;    --red-bg: #FFF1F1;
  --review-bg: #FFF3B0; --review-ink: #3B2F00;
  --serif: "Newsreader", "Tiro Devanagari Hindi", Georgia, "Times New Roman", serif;
  --sans: "IBM Plex Sans", "IBM Plex Sans Devanagari", "Helvetica Neue", Helvetica, sans-serif;
  --s13: 0.8125rem; --s15: 0.9375rem; --s17: 1.0625rem; --s21: 1.3125rem; --s27: 1.6875rem; --s34: 2.125rem; --s46: 2.875rem;
  --measure: 64ch;
  --gutter: 1.5rem;
  --page: 74rem;
}
* { box-sizing: border-box; }
html { color-scheme: light; font-optical-sizing: auto; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: var(--s17); line-height: 1.6; font-weight: 400;
  -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased;
  min-height: 100vh; display: flex; flex-direction: column;
}
main { flex: 1; }
:lang(hi) { line-height: 1.8; }
:lang(hi) h1, :lang(hi) h2, :lang(hi) h3, :lang(hi) .brand { font-family: "Tiro Devanagari Hindi", "Newsreader", serif; }
:lang(hi) h1, :lang(hi) .hero h1 { line-height: 1.18; letter-spacing: 0; }

a { color: var(--slate); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .18em; text-decoration-color: color-mix(in srgb, var(--slate) 45%, transparent); }
a:hover { text-decoration-color: var(--slate); }
:focus-visible { outline: 2px solid var(--slate); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 0; background: #fff; padding: .5rem 1rem; }
.skip:focus { left: 1rem; z-index: 10; }

.wrap { max-width: var(--page); margin: 0 auto; padding: 0 var(--gutter); }

/* ---- Header: brand · Login · Language: EN | हि ---- */
.site-header { border-bottom: 1px solid var(--rule-strong); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; height: 4.25rem; }
.site-nav { display: flex; gap: 1.5rem; margin-left: auto; font-size: var(--s15); }
.site-nav a { color: var(--graphite); text-decoration: none; padding: .35rem 0; border-bottom: 1.5px solid transparent; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.menu-toggle, .menu-label { display: none; }
.brand { font-family: var(--serif); font-size: var(--s27); font-weight: 500; letter-spacing: -.01em; color: var(--ink); text-decoration: none; line-height: 1; }
.header-right { display: flex; align-items: center; gap: 1.5rem; flex-shrink: 0; }
.button {
  display: inline-block; font-family: var(--sans); font-size: var(--s15); font-weight: 500; line-height: 1;
  color: var(--slate); background: transparent; border: 1.5px solid var(--slate); border-radius: 2px;
  padding: .6rem .95rem; text-decoration: none; letter-spacing: .005em;
}
.button:hover { background: var(--slate); color: #fff; }
.lang-switch { font-size: var(--s15); color: var(--graphite); display: inline-flex; gap: .5rem; align-items: baseline; }
.lang-switch a { color: var(--slate); text-decoration: none; }
.lang-switch a:hover { text-decoration: underline; }
.lang-switch .current { color: var(--ink); font-weight: 600; }
.lang-switch .sep { color: var(--rule); }

.hi-note { margin: 0; padding: .6rem 0; font-size: var(--s13); color: var(--graphite); border-bottom: 1px solid var(--rule); background: #fff; }
.hi-note { padding-left: var(--gutter); padding-right: var(--gutter); }
.hi-note .legal-review { font-size: .7rem; }

/* ---- Content column ---- */
main { padding: 4rem 0 5rem; }
.col { max-width: var(--measure); }
main .wrap > :not(.hero):not(.points):not(.what-not):not(.access):not(.hi-summary):not(.frame):not(.features):not(.steps):not(.page-head):not(.compare):not(.tracks):not(.illus-sec) { max-width: var(--measure); }
.page-head { margin-bottom: 2.5rem; }
.page-head h1 { max-width: 14em; }
.page-head .lede { max-width: 34em; color: var(--graphite); }
main .wrap > h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; color: var(--ink); margin: 0; letter-spacing: -.012em; }
h1 { font-size: var(--s46); line-height: 1.05; margin-bottom: 1.25rem; text-wrap: balance; }
h2 { font-size: var(--s27); line-height: 1.2; margin: 2.75rem 0 .75rem; padding-top: 1rem; border-top: 1px solid var(--rule); }
h3 { font-size: var(--s21); margin-top: 1.75rem; }
p, ul, ol { margin: 0 0 1rem; }
li { margin-bottom: .4rem; }
.lede { font-size: var(--s21); line-height: 1.45; color: var(--ink); max-width: 30em; }
.muted, .meta { color: var(--graphite); }
.meta { font-size: var(--s15); margin-top: -.5rem; margin-bottom: 1.5rem; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5rem 0; }

/* ---- Home: hero shows the product ---- */
.hero { display: block; margin-bottom: 5rem; padding-top: 1.25rem; }
.hero h1 { font-size: clamp(2.75rem, 6.25vw, 5rem); font-weight: 500; line-height: .98; letter-spacing: -.025em; margin-bottom: 1.5rem; max-width: 13em; }
.hero .lede { max-width: 34em; color: var(--graphite); font-size: var(--s21); margin-bottom: 3rem; }
.hero-copy { padding-top: 0; }

/* Static, tokens-only rendering of the product. Synthetic strings; no real names, no case data. */
.casefile { border: 1px solid var(--rule-strong); background: #fff; font-size: 1rem; line-height: 1.45; margin: 0; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 9fr); }
.cf-frame, .cf-head { grid-column: 1 / -1; }
.cf-rows { border-right: 1px solid var(--rule); }
.cf-rows .cf-row:last-child { border-bottom: 0; }
.cf-frame { font-size: var(--s13); color: var(--graphite); padding: .45rem 1rem; border-bottom: 1px solid var(--rule); background: var(--paper); letter-spacing: .01em; }
.cf-frame .sep { color: var(--rule); margin: 0 .35rem; }
.cf-head { display: flex; justify-content: space-between; align-items: baseline; padding: .7rem 1rem; border-bottom: 1px solid var(--rule-strong); }
.cf-head .cf-title { font-family: var(--serif); font-size: var(--s21); font-weight: 500; letter-spacing: -.01em; }
.cf-head .cf-title span { color: var(--graphite); font-family: var(--sans); font-size: var(--s13); margin-left: .6rem; letter-spacing: 0; }
.cf-head .cf-count { color: var(--graphite); font-size: var(--s13); }
.cf-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .25rem 1rem; padding: .8rem 1rem; border-bottom: 1px solid var(--rule); }
.cf-row .cf-text { grid-column: 1; }
.cf-row .badge { grid-column: 2; grid-row: 1; align-self: start; }
.cf-row .pointer { grid-column: 1; justify-self: start; }
.tok { font-family: var(--sans); font-weight: 500; font-size: .92em; letter-spacing: .01em; }
.badge { display: inline-block; font-size: var(--s13); font-weight: 500; line-height: 1.3; padding: .12rem .45rem; border: 1px solid; border-radius: 3px; white-space: nowrap; }
.badge.extracted { color: var(--amber); border-color: var(--amber); background: var(--amber-bg); }
.badge.needs { color: var(--amber); border-color: var(--amber); background: var(--amber-bg); }
.badge.verified { color: var(--green); border-color: var(--green); background: var(--green-bg); }
.pointer { display: inline-block; font-size: var(--s13); font-weight: 500; line-height: 1.3; padding: .1rem .55rem; border: 1px solid var(--slate); border-radius: 999px; color: var(--slate); background: #fff; margin-top: .3rem; margin-right: .3rem; }
.cf-ask { padding: .9rem 1.1rem .4rem; }
.cf-label { font-size: var(--s13); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--graphite); display: block; margin-bottom: .2rem; }
.cf-q { font-family: var(--serif); font-size: var(--s21); line-height: 1.3; font-style: italic; margin: 0 0 .8rem; }
.cf-answer { border-left: 3px solid var(--green); padding: .1rem 0 .1rem .8rem; margin: 0 0 .8rem; }
.cf-answer .cf-label { color: var(--green); }
.cf-answer p { margin: 0 0 .3rem; }
.cf-absent { border-left: 3px solid var(--rule); padding: .1rem 0 .1rem .8rem; margin: 0 0 1rem; color: var(--graphite); }
.cf-absent p { margin: 0; }
.cf-absent .cf-label { color: var(--graphite); }
.cf-absent em { font-style: normal; color: var(--ink); font-weight: 500; }

.frame { margin: 0 0 3.5rem; }
.frame + h2 { border-top: 0; padding-top: 0; }
h2 + .frame, p + .frame { margin-top: 1.5rem; }
.frame.casefile { display: grid; }
.cf-statutes { grid-column: 1 / -1; border-top: 1px solid var(--rule); padding: .8rem 1rem .9rem; }
.st-row { padding: .45rem 0; border-top: 1px solid var(--rule); font-size: var(--s15); }
.st-row:first-of-type { border-top: 0; }
.cf-statutes .st-row:first-of-type { border-top: 0; }
.st-cite { font-weight: 600; }
.st-verified .st-tier { color: var(--graphite); }
.st-pending .st-tier { color: var(--amber); }
.st-noason .st-tier { color: var(--red); }
.st-body { margin: .3rem 0 0; color: var(--graphite); font-size: var(--s13); }
.frame.statutes { border: 1px solid var(--rule-strong); background: #fff; font-size: var(--s15); }
.frame.statutes .st-row { padding: .8rem 1rem; }
.frame.statutes figcaption { padding: .5rem 1rem .7rem; font-size: var(--s13); border-top: 1px solid var(--rule); }

.frame.documents { border: 1px solid var(--rule-strong); background: #fff; font-size: var(--s15); overflow-x: auto; }
.doc-table { width: 100%; border-collapse: collapse; }
.doc-table th { text-align: left; font-weight: 500; color: var(--graphite); font-size: var(--s13); letter-spacing: .04em; text-transform: uppercase; padding: .6rem 1rem .5rem; border-bottom: 1px solid var(--rule-strong); }
.doc-table td { padding: .7rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
.doc-table tr:last-child td { border-bottom: 0; }
.doc-table .acts { color: var(--slate); white-space: nowrap; }
.state { display: inline-block; font-size: var(--s13); font-weight: 500; padding: .1rem .45rem; border: 1px solid; border-radius: 3px; white-space: nowrap; }
.state.ready { color: var(--green); border-color: var(--green); background: var(--green-bg); }
.state.working { color: var(--graphite); border-color: var(--rule); background: var(--paper); }
.state.failed { color: var(--red); border-color: var(--red); background: var(--red-bg); }

.frame.casefile-full { border: 1px solid var(--rule-strong); background: #fff; font-size: var(--s15); line-height: 1.45; }
.cf-tabs { display: flex; gap: 1.5rem; padding: .6rem 1rem 0; border-bottom: 1px solid var(--rule-strong); }
.cf-tabs span { padding: .3rem 0 .55rem; color: var(--graphite); border-bottom: 2px solid transparent; }
.cf-tabs span.on { color: var(--ink); border-bottom-color: var(--ink); font-weight: 500; }
.cf-tabs .n { color: var(--graphite); font-size: var(--s13); margin-left: .25rem; }
.cf-strip { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; padding: .55rem 1rem; border-bottom: 1px solid var(--rule); font-size: var(--s13); color: var(--graphite); }
.cf-strip b { color: var(--ink); font-weight: 600; margin-left: .2rem; }
.cf-strip .blocking, .cf-strip .blocking b { color: var(--red); }
.cf-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.cf-list { border-right: 1px solid var(--rule); }
.cf-row.active { background: var(--paper); }
.badge.blocking { color: var(--red); border-color: var(--red); background: var(--red-bg); }
.cf-next { padding: .6rem 1rem; color: var(--slate); font-weight: 500; }
.cf-drawer { padding: .9rem 1.1rem 1rem; }
.cf-quote { font-family: var(--serif); font-size: var(--s17); line-height: 1.4; margin: .2rem 0 .6rem; }
.cf-meta { margin: 0 0 .4rem; }
.cf-history { font-size: var(--s13); margin: 0 0 .7rem; }
.cf-actions { display: flex; gap: .5rem; flex-wrap: wrap; }
.act { display: inline-block; font-size: var(--s13); font-weight: 500; padding: .3rem .7rem; border: 1px solid var(--slate); color: var(--slate); border-radius: 2px; }

.frame.ask { border: 1px solid var(--rule-strong); background: #fff; font-size: 1rem; line-height: 1.45; }
.cf-analysis { border-left: 3px solid var(--amber); padding: .1rem 0 .1rem .8rem; margin: 0 0 .8rem; }
.cf-analysis .cf-label { color: var(--amber); }
.cf-analysis p { margin: 0 0 .3rem; }
.cf-marker { color: var(--amber); font-size: var(--s13); font-weight: 500; }

.frame.receipt { border: 1px solid var(--rule-strong); background: #fff; font-size: var(--s15); max-width: 46rem; }
.rc { display: grid; grid-template-columns: max-content 1fr; gap: .45rem 1.5rem; margin: 0; padding: .9rem 1rem 1rem; }
.rc dt { color: var(--graphite); }
.rc dd { margin: 0; }

/* Section A: comparison table; stacked pairs on mobile */
.compare { margin: 0 0 3.5rem; }
.compare h2 { max-width: 22em; font-size: var(--s34); line-height: 1.15; }
.cmp { width: 100%; border-collapse: collapse; margin: 1.5rem 0 1rem; border-top: 1px solid var(--rule-strong); }
.cmp th { text-align: left; font-family: var(--serif); font-weight: 500; font-size: var(--s21); letter-spacing: -.01em; padding: .9rem 1.5rem .7rem 0; border-bottom: 1px solid var(--rule-strong); vertical-align: bottom; width: 50%; }
.cmp th:last-child { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--rule); }
.cmp td { padding: 1rem 1.5rem 1rem 0; border-bottom: 1px solid var(--rule); vertical-align: top; line-height: 1.55; }
.cmp td:first-child { color: var(--graphite); }
.cmp td:first-child strong { color: var(--ink); }
.cmp td:last-child { padding-left: 1.5rem; padding-right: 0; border-left: 1px solid var(--rule); }
.cmp td strong { font-weight: 600; }
.cmp .pointer { margin: 0 .15rem; vertical-align: baseline; }
.cmp-line { font-family: var(--serif); font-size: var(--s21); margin: 1.25rem 0 0; }
.cmp-line em { font-style: italic; }

/* Inline SVG illustrations (tools/illustrations.py): horizontal at desktop, vertical at ≤640px */
.illus-sec { margin: 0 0 3.5rem; }
.illus { margin: 1.5rem 0 1rem; }
.illus svg { width: 100%; height: auto; display: block; overflow: visible; }
.illus .illus-v { display: none; max-width: 24rem; }
.illus-line { font-family: var(--serif); font-size: var(--s21); margin: 0; max-width: var(--measure); }
.sv-box { fill: #fff; stroke: var(--rule-strong); stroke-width: 1; }
.sv-end { fill: var(--paper); }
.sv-label { font-family: var(--sans); font-size: 15px; font-weight: 600; fill: var(--ink); }
.sv-ex { font-family: var(--sans); font-size: 12px; fill: var(--graphite); }
.sv-red { fill: var(--red); font-weight: 500; }
.sv-arrow { stroke: var(--graphite); stroke-width: 1.25; fill: none; }
.sv-head { fill: var(--graphite); }
.sv-gate { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.sv-drop { stroke: var(--rule-strong); stroke-width: 1; stroke-dasharray: 3 3; fill: none; }
.sv-x { fill: #fff; stroke: var(--red); stroke-width: 1.25; }
.sv-xt { font-family: var(--sans); font-size: 13px; font-weight: 600; fill: var(--red); }
.sv-tray { fill: none; stroke: var(--graphite); stroke-width: 1; stroke-dasharray: 4 3; }
.sv-tray-t { font-family: var(--sans); font-size: 13px; font-weight: 600; letter-spacing: .04em; fill: var(--graphite); }
:lang(hi) .sv-label { font-size: 14px; }

/* Section B: three tracks */
.tracks { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; margin: 0 0 3.5rem; }
.track { padding: .25rem 0 1.25rem; border-bottom: 1px solid var(--rule); }
.track h3 { margin: 0 0 .6rem; font-size: var(--s21); line-height: 1.25; }
.track > p { margin-bottom: .8rem; }
.track ul { padding-left: 1.1rem; margin-bottom: .9rem; }
.track li { margin-bottom: .45rem; }
.track .limits { color: var(--graphite); font-size: var(--s15); margin: 0; }

/* Home: features, steps, audience */
.features { list-style: none; padding: 0; margin: 0 0 3.5rem; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 3rem; }
.features li { margin: 0; padding: 1.25rem 0 1.5rem; border-bottom: 1px solid var(--rule); font-size: var(--s17); line-height: 1.55; }
.features li strong { display: block; font-family: var(--serif); font-weight: 500; font-size: var(--s21); letter-spacing: -.01em; margin-bottom: .45rem; line-height: 1.2; }
:lang(hi) .features li strong, :lang(hi) .points li strong { line-height: 1.5; }
.steps { padding-left: 0; list-style: none; counter-reset: st; margin: 0 0 3rem; max-width: var(--measure); }
.steps li { counter-increment: st; position: relative; padding-left: 3rem; margin: 0 0 1rem; }
.steps li::before { content: counter(st); position: absolute; left: 0; top: .05em; font-family: var(--serif); font-size: var(--s27); line-height: 1; color: var(--graphite); }
.steps li strong { font-weight: 600; }
.audience { max-width: var(--measure); }
.tiers { list-style: none; padding: 0; margin: 0 0 2rem; }
.tiers li { padding: .9rem 0; border-top: 1px solid var(--rule); margin: 0; }
.tiers li:last-child { border-bottom: 1px solid var(--rule); }
.tiers li strong { font-weight: 600; }
.beliefs { list-style: none; padding: 0; margin: 0 0 2rem; }
.beliefs li { font-family: var(--serif); font-size: var(--s21); line-height: 1.35; padding: .55rem 0; border-bottom: 1px solid var(--rule); margin: 0; }
dl.company dt { font-weight: 600; margin-top: .9rem; }
dl.company dd { margin: .1rem 0 0; }

/* Three points: a ruled list, not cards */
.points { list-style: none; padding: 0; margin: 0 0 3.5rem; border-top: 1px solid var(--rule-strong); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 2.5rem; }
.points li { margin: 0; padding: 1.25rem 0 1.5rem; border-bottom: 1px solid var(--rule); font-size: var(--s17); line-height: 1.55; }
.points li strong { display: block; font-family: var(--serif); font-weight: 500; font-size: var(--s21); letter-spacing: -.01em; margin-bottom: .45rem; line-height: 1.2; }

/* What it is not: rendered, not buried */
.what-not { max-width: var(--measure); margin: 0 0 2.5rem; padding: 1.5rem 0 1.5rem 1.5rem; border-left: 3px solid var(--ink); }
.what-not p { margin: 0; font-family: var(--serif); font-size: var(--s27); line-height: 1.3; letter-spacing: -.01em; }
:lang(hi) .what-not p { font-size: var(--s21); line-height: 1.6; }
.access { max-width: var(--measure); }
.access p { font-size: var(--s17); color: var(--ink); }
.access a { white-space: nowrap; }

/* ---- Legal pages ---- */
ol.legal { padding-left: 0; list-style: none; counter-reset: cl; }
ol.legal > li { counter-increment: cl; position: relative; padding-left: 2.6rem; margin: 0 0 1.1rem; }
ol.legal > li::before { content: counter(cl) "."; position: absolute; left: 0; top: -.05em; font-family: var(--serif); font-size: var(--s21); color: var(--graphite); font-variant-numeric: lining-nums; }
ol.legal > li strong { font-weight: 600; }
ul { padding-left: 1.2rem; }
dl.contact { margin: 0 0 1.5rem; }
dl.contact dt { font-family: var(--serif); font-size: var(--s21); font-weight: 500; margin-top: 1.4rem; letter-spacing: -.01em; }
dl.contact dd { margin: .25rem 0 0; }

/* Hindi summary block */
.hi-summary { max-width: var(--measure); margin: 2rem 0 2.5rem; padding: 1.1rem 1.25rem; background: #fff; border: 1px solid var(--rule); border-left: 3px solid var(--slate); }
.hi-summary > :last-child { margin-bottom: 0; }

/* ---- Review markers and placeholders ---- */
.legal-review { display: inline-block; max-width: 100%; white-space: normal; background: var(--review-bg); color: var(--review-ink); font-family: var(--sans); font-weight: 600; font-size: var(--s13); letter-spacing: .02em; padding: .1em .4em; border-radius: 2px; margin: 0 .2em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.placeholder { display: inline-block; max-width: 100%; white-space: normal; border: 1px dashed var(--graphite); color: var(--graphite); background: #fff; font-family: var(--sans); font-weight: 600; font-size: var(--s13); letter-spacing: .02em; padding: .05em .4em; border-radius: 2px; margin: 0 .15em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* ---- Footer: quiet ---- */
.site-footer { border-top: 1px solid var(--rule-strong); padding: 1.75rem 0 2.5rem; font-size: var(--s13); color: var(--graphite); line-height: 1.6; }
.site-footer .wrap { display: grid; gap: .5rem; }
.site-footer nav { display: flex; gap: .5rem; flex-wrap: wrap; }
.site-footer nav a { color: var(--graphite); text-decoration-color: color-mix(in srgb, var(--graphite) 40%, transparent); }
.site-footer .sep { color: var(--rule); }
.site-footer p { margin: 0; }

/* ---- Responsive ---- */
@media (max-width: 960px) {
  .tracks { grid-template-columns: 1fr; gap: 0; }
  .track { padding-top: 1.25rem; }
  .cf-split { grid-template-columns: 1fr; }
  .cf-list { border-right: 0; border-bottom: 1px solid var(--rule); }
  .features { grid-template-columns: 1fr; }
  .site-header .wrap { flex-wrap: wrap; height: auto; padding-top: .8rem; padding-bottom: .8rem; gap: .75rem 1rem; }
  .brand { margin-right: auto; }
  .menu-label { display: inline-block; order: 3; font-size: var(--s15); color: var(--slate); text-decoration: underline; text-underline-offset: .18em; cursor: pointer; padding: .3rem 0; }
  .site-nav { display: none; order: 4; width: 100%; flex-direction: column; gap: 0; margin: 0; border-top: 1px solid var(--rule); padding-top: .25rem; }
  .site-nav a { padding: .6rem 0; border-bottom: 1px solid var(--rule); }
  .site-nav a[aria-current="page"] { border-bottom-color: var(--rule); font-weight: 600; }
  .menu-toggle:checked ~ .site-nav { display: flex; }
  .header-right { order: 2; }
  .casefile { grid-template-columns: 1fr; }
  .cf-rows { border-right: 0; }
  .cf-rows .cf-row:last-child { border-bottom: 1px solid var(--rule); }
  .points { grid-template-columns: 1fr; }
  .points li { padding: 1.1rem 0 1.25rem; }
}
@media (max-width: 640px) {
  :root { --gutter: 1.125rem; }
  body { font-size: 1rem; }
  main { padding: 2.25rem 0 3.5rem; }
  .brand { font-size: var(--s21); }
  .header-right { gap: .9rem; }
  .button { padding: .5rem .75rem; font-size: var(--s13); }
  h1 { font-size: var(--s34); }
  .hero { padding-top: 0; }
  .hero h1 { font-size: 2.6rem; }
  .hero .lede { margin-bottom: 2rem; }
  .casefile { font-size: var(--s15); }
  .lede, .hero .lede { font-size: var(--s17); line-height: 1.5; }
  h2 { font-size: var(--s21); margin-top: 2.25rem; }
  .cf-row { grid-template-columns: 1fr; }
  .cf-row .badge { grid-column: 1; grid-row: auto; justify-self: start; margin-top: .35rem; }
  .cf-q { font-size: var(--s17); }
  .compare h2 { font-size: var(--s27); }
  .illus .illus-h { display: none; }
  .illus .illus-v { display: block; }
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: 100%; }
  .cmp thead { position: absolute; left: -999px; }
  .cmp tr { padding: .9rem 0; border-bottom: 1px solid var(--rule); }
  .cmp td { padding: 0 0 .6rem 1rem; border: 0; border-left: 2px solid var(--rule); }
  .cmp td:last-child { border-left-color: var(--ink); padding-bottom: 0; }
  .cmp td::before { content: attr(data-col); display: block; font-size: var(--s13); font-weight: 600; letter-spacing: .04em; color: var(--graphite); margin-bottom: .15rem; }
  .cmp td:last-child::before { color: var(--ink); }
  .rc { grid-template-columns: 1fr; gap: .1rem 0; }
  .rc dt { margin-top: .5rem; }
  .cf-tabs { gap: 1rem; overflow-x: auto; }
  .doc-table td, .doc-table th { padding: .55rem .7rem; }
  .doc-table td:nth-child(2), .doc-table th:nth-child(2), .doc-table td:nth-child(3), .doc-table th:nth-child(3) { display: none; }
  .what-not { padding-left: 1rem; }
  .what-not p { font-size: var(--s21); }
  ol.legal > li { padding-left: 2.1rem; }
  .site-footer nav { gap: .4rem; }
}
@media print {
  .site-header .header-right, .site-footer nav { display: none; }
  .legal-review { border: 1px solid #000; background: none; }
}

.sr { position: absolute; left: -999px; }
