/* ClaimEvidence — a Sprint Ready Ltd product
   Principle: sans for our voice, serif only for verbatim source text (the record). */
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("fonts/public-sans-latin-wght-italic.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("fonts/newsreader-latin-wght-italic.woff2") format("woff2"); font-weight: 200 800; font-style: italic; font-display: swap; }

:root {
  --paper: #F6F8F7;
  --surface: #FFFFFF;
  --ink: #16212B;
  --ink-2: #3D4A55;
  --muted: #5F6B74;
  --rule: #D6DDDA;
  --verified: #1E6B52;
  --verified-soft: #E3F0EA;
  --marker: #F5E58C;
  --gap: #9A5A0C;
  --gap-soft: #FBF1E2;
  --routine: #7A8590;
  --focus: #1E6B52;
  --radius: 6px;
  --measure: 66ch;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "tnum" 0;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--verified); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
@media (max-width: 600px) { .wrap { padding: 0 16px; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); position: sticky; top: 0; z-index: 5; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: baseline; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-name { font-weight: 800; font-size: 1.2rem; letter-spacing: -0.02em; }
.brand-name span { color: var(--verified); }
.brand-by { font-size: .8rem; color: var(--muted); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); text-decoration: underline; }
.nav-toggle { display: none; background: none; border: 1px solid var(--rule); border-radius: var(--radius); padding: 8px 12px; font: inherit; font-size: .9rem; color: var(--ink); }
@media (max-width: 880px) {
  .nav-toggle { display: inline-block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 12px 16px 20px; border-bottom: 1px solid var(--rule); gap: 14px; }
  .nav.open { display: flex; }
  .brand-by { display: none; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-block; font-weight: 600; font-size: .98rem; text-decoration: none; padding: 12px 20px; border-radius: var(--radius); border: 1.5px solid var(--verified); }
.btn-primary { background: var(--verified); color: #fff; }
.btn-primary:hover { background: #17573F; text-decoration: none; }
.btn-quiet { color: var(--verified); background: transparent; }
.btn-quiet:hover { background: var(--verified-soft); text-decoration: none; }
.nav .btn { color: #fff; padding: 8px 14px; font-size: .9rem; }
.nav .btn:hover { color: #fff; text-decoration: none; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -0.035em; max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 750; max-width: 24ch; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--measure); }
.lead { font-size: 1.2rem; line-height: 1.55; color: var(--ink-2); max-width: 58ch; }
.small { font-size: .9rem; color: var(--muted); }
.record { font-family: "Newsreader", Georgia, serif; font-size: 1.12em; line-height: 1.5; }
mark, .hl { background: linear-gradient(transparent 12%, var(--marker) 12%, var(--marker) 88%, transparent 88%); color: inherit; padding: 0 .1em; }

/* ---------- Sections ---------- */
section { padding: 72px 0; }
section + section { border-top: 1px solid var(--rule); }
@media (max-width: 600px) { section { padding: 52px 0; } }
.section-intro { margin-bottom: 36px; }

/* ---------- Hero ---------- */
.hero { padding: 64px 0 72px; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 56px; align-items: start; }
@media (max-width: 980px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 14px; }
.status-line { display: inline-flex; gap: 8px; align-items: center; font-size: .9rem; color: var(--ink-2); margin-bottom: 22px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--verified); flex: none; }

/* ---------- The exhibit: an annotated evidence-pack excerpt ---------- */
.exhibit { background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 1px 0 rgba(22,33,43,.04), 0 18px 40px -24px rgba(22,33,43,.28); overflow: hidden; }
.exhibit-head { display: flex; justify-content: space-between; gap: 12px; padding: 14px 20px; border-bottom: 1px solid var(--rule); font-size: .85rem; color: var(--muted); }
.exhibit-head strong { color: var(--ink); font-weight: 600; }
.exhibit-body { padding: 22px 20px 6px; }
.exhibit h4 { font-size: .95rem; font-weight: 700; margin: 0 0 6px; color: var(--ink); }
.claim { margin: 0 0 14px; font-size: .98rem; max-width: none; }
.cite { font-size: .72rem; font-weight: 700; color: var(--verified); vertical-align: super; margin-left: 2px; }
.source { border-left: 3px solid var(--verified); background: var(--verified-soft); padding: 10px 14px; margin: 0 0 18px; border-radius: 0 var(--radius) var(--radius) 0; }
.source .meta { font-size: .78rem; color: var(--ink-2); margin-bottom: 4px; }
.source .meta b { font-weight: 700; color: var(--verified); }
.source q { font-family: "Newsreader", Georgia, serif; font-size: 1rem; quotes: "“" "”"; }
.flag { border-left: 3px solid var(--gap); background: var(--gap-soft); padding: 10px 14px; margin: 0 0 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: .92rem; }
.flag b { color: var(--gap); }
.excluded { border-left: 3px dashed var(--routine); padding: 8px 14px; margin: 0 0 18px; font-size: .88rem; color: var(--ink-2); }
.exhibit-foot { padding: 12px 20px; border-top: 1px solid var(--rule); font-size: .8rem; color: var(--muted); background: #FAFBFA; }

/* ---------- Grids ---------- */
.cols-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 56px; }
.cols-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 40px; }
@media (max-width: 880px) { .cols-2, .cols-3 { grid-template-columns: 1fr; gap: 28px; } }
.point h3 { margin-bottom: .35em; }
.point p { color: var(--ink-2); font-size: 1rem; }

/* Pain list — the adviser's week */
.pain { list-style: none; padding: 0; margin: 0; display: grid; gap: 0; }
.pain li { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 20px 0; border-bottom: 1px solid var(--rule); }
.pain li:first-child { border-top: 1px solid var(--rule); }
.pain strong { font-weight: 700; }
.pain p { margin: 0; color: var(--ink-2); }
@media (max-width: 700px) { .pain li { grid-template-columns: 1fr; gap: 6px; } }

/* Steps — a real sequence */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; gap: 0; }
.steps > li { counter-increment: step; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--rule); }
.steps > li:first-child { border-top: 1px solid var(--rule); }
.steps > li::before { content: counter(step); font-weight: 800; font-size: 1.6rem; color: var(--verified); line-height: 1.1; }
.steps h3 { margin-bottom: .3em; }
.steps p { margin-bottom: .5em; color: var(--ink-2); }

/* Callout facts with sources */
.fact { padding: 0 0 0 18px; border-left: 3px solid var(--ink); }
.fact .big { font-size: 1.9rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 6px; }
.fact p { font-size: .98rem; color: var(--ink-2); margin-bottom: .4em; }
.fact .src { font-size: .82rem; color: var(--muted); }

/* Comparison table */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: 8px; background: var(--surface); }
table { border-collapse: collapse; width: 100%; min-width: 720px; font-size: .95rem; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--rule); vertical-align: top; }
thead th { font-size: .88rem; color: var(--ink-2); font-weight: 600; background: #FAFBFA; }
tbody th { font-weight: 600; width: 26%; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
td.us { background: var(--verified-soft); font-weight: 600; }

/* Status lists */
.status { list-style: none; padding: 0; margin: 0; }
.status li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--rule); position: relative; }
.status li::before { content: ""; position: absolute; left: 4px; top: 22px; width: 10px; height: 10px; border-radius: 50%; }
.status.live li::before { background: var(--verified); }
.status.pilot li::before { background: transparent; border: 2px solid var(--gap); }
.status.not li::before { background: var(--routine); border-radius: 1px; height: 2px; top: 26px; }
.status strong { display: block; }
.status span { color: var(--ink-2); font-size: .97rem; }

/* FAQ */
details { border-bottom: 1px solid var(--rule); padding: 4px 0; max-width: 820px; }
details:first-of-type { border-top: 1px solid var(--rule); }
summary { cursor: pointer; font-weight: 650; padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-weight: 400; font-size: 1.4rem; line-height: 1; color: var(--verified); }
details[open] summary::after { content: "–"; }
details > div { padding: 0 0 18px; color: var(--ink-2); }

/* CTA band */
.cta-band { background: var(--ink); color: #EEF2F1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9D3D0; }
.cta-band .btn-primary { background: #fff; color: var(--ink); border-color: #fff; }
.cta-band .btn-primary:hover { background: #E3F0EA; }
.cta-band .btn-quiet { color: #fff; border-color: #6E8A80; }
.cta-band .btn-quiet:hover { background: rgba(255,255,255,.08); }
.cta-band a:not(.btn) { color: #9FD3BE; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Prose pages (legal, long-form) */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2em; max-width: none; }
.prose h3 { margin-top: 1.6em; }
.prose ul, .prose ol { padding-left: 1.3em; max-width: var(--measure); }
.prose li { margin-bottom: .45em; }
.page-head { padding: 56px 0 28px; }
.page-head h1 { max-width: 22ch; }
.toc { font-size: .95rem; margin: 24px 0 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--rule); border-radius: 8px; max-width: 760px; }
.toc ul { margin: 6px 0 0; padding-left: 1.2em; columns: 2; column-gap: 32px; }
@media (max-width: 600px) { .toc ul { columns: 1; } }
.note { background: var(--surface); border: 1px solid var(--rule); border-left: 3px solid var(--ink); padding: 16px 20px; border-radius: 0 8px 8px 0; max-width: 760px; margin: 24px 0; }
.sources { font-size: .9rem; }
.sources li { margin-bottom: .5em; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--rule); padding: 48px 0 40px; font-size: .92rem; color: var(--ink-2); }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; letter-spacing: 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; }
.site-footer a { color: var(--ink-2); }
.site-footer .legal-line { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--rule); font-size: .85rem; color: var(--muted); max-width: none; }

@media (prefers-reduced-motion: no-preference) {
  .exhibit .source, .exhibit .flag, .exhibit .excluded { animation: settle .5s ease-out both; }
  .exhibit .source:nth-of-type(1) { animation-delay: .15s; }
  .exhibit .source:nth-of-type(2) { animation-delay: .35s; }
  .exhibit .flag { animation-delay: .55s; }
  .exhibit .excluded { animation-delay: .7s; }
  @keyframes settle { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
}

/* ---------- Cookie consent ---------- */
.cc-banner { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50; max-width: 760px; margin: 0 auto; background: var(--surface); border: 1px solid var(--rule); border-radius: 10px; box-shadow: 0 18px 40px -20px rgba(22,33,43,.4); padding: 20px 22px; }
.cc-banner[hidden], .cc-modal[hidden] { display: none; }
.cc-banner h2, .cc-modal h2 { font-size: 1.1rem; margin-bottom: .4em; max-width: none; letter-spacing: -0.01em; }
.cc-banner p, .cc-modal p { font-size: .94rem; color: var(--ink-2); margin-bottom: .8em; max-width: none; }
.cc-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cc-actions .btn { padding: 9px 16px; font-size: .92rem; cursor: pointer; font-family: inherit; }
.cc-modal { position: fixed; inset: 0; z-index: 60; background: rgba(22,33,43,.45); display: flex; align-items: center; justify-content: center; padding: 16px; }
.cc-panel { background: var(--surface); border-radius: 10px; max-width: 560px; width: 100%; padding: 24px; max-height: 90vh; overflow: auto; }
.cc-row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--rule); }
.cc-row strong { display: block; font-size: .98rem; }
.cc-row span { font-size: .9rem; color: var(--ink-2); }
.cc-row input { width: 20px; height: 20px; accent-color: var(--verified); flex: none; margin-top: 2px; }
.linklike { background: none; border: 0; padding: 0; font: inherit; color: var(--ink-2); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
