/* Atlas Data — site styles
   Layout: white editorial page with a split hero (thesis left, sample report right),
   then quiet sections. Line-drawn "atlas" ornaments (meridians, dot globe, asterisks) tie it together.
   Palette: navy (buttons) + dark purple (ornaments). */
:root {
  --paper: #ffffff;
  --paper-2: #ffffff;
  --sheet: #ffffff;
  --ink: #111111;
  --ink-soft: #555555;
  --line: #e2e2e2;
  --accent: #1f3a5f;       /* navy */
  --accent-ink: #ffffff;   /* text on accent */
  --accent-2: #3f1d5c;     /* dark purple: ornaments, labels, highlights */
  --highlight: #e9e1f1;
  --pass: var(--accent);
  --warn: #a35a00;
  --fail: #b3261e;
  --focus: #1f6fd1;

  --font-display: "Fraunces", Georgia, serif;
  --font-ui: "Public Sans", "Helvetica Neue", Arial, sans-serif;

  --step--1: 0.875rem;
  --step-0: 1rem;
  --step-1: 1.25rem;
  --step-2: 1.6rem;
  --step-3: 2.2rem;
  --step-4: clamp(2.4rem, 5.5vw, 4rem);

  --wrap: 72rem;
  --radius: 10px;
}

/* Van approved a white page: the site stays light even when the visitor's device is in dark mode. */
:root { color-scheme: light; }

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; text-wrap: balance; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: max(16px, 4vw); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 6px; z-index: 50; }
.skip:focus { left: 16px; }
.eyebrow { font-family: var(--font-ui); font-size: var(--step--1); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-2); font-weight: 600; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-ui); font-weight: 600; font-size: var(--step-0);
  text-decoration: none; border-radius: 999px; padding: 0.8em 1.4em;
  border: 1.5px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); font-size: var(--step-1); padding: 0.85em 1.6em; }
.btn-primary:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 480px) { .btn-primary { font-size: var(--step-0); } .site-header .btn-small { padding: 0.5em 0.9em; } }
.btn-small { padding: 0.55em 1.1em; font-size: var(--step--1); }
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

/* Header */
.site-header { background: var(--paper); }
.site-header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 2rem; padding-block: 1.4rem; }
.site-header .btn { justify-self: end; background: var(--ink); color: var(--paper); border-color: var(--ink); }
.site-header .btn:hover { background: var(--paper); color: var(--ink); }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-family: var(--font-display); font-size: 1.45rem; font-weight: 600; letter-spacing: -0.02em; }
.brand svg { width: 30px; height: 30px; color: var(--accent); }
.nav { display: flex; gap: 2.2rem; justify-self: center; }
.nav a { text-decoration: none; font-size: var(--step-0); color: var(--ink); font-weight: 500; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) { .nav { display: none; } .site-header .wrap { grid-template-columns: 1fr auto; } }

/* Hero */
.hero { position: relative; overflow: hidden; padding-block: clamp(3rem, 8vw, 6rem) clamp(3rem, 7vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.hero-copy { min-width: 0; display: grid; gap: 1.5rem; justify-items: start; }
.hero h1 { font-size: var(--step-4); font-weight: 400; }
.hero h1 em { font-style: italic; font-weight: 500; position: relative; white-space: nowrap; }
.scribble { position: absolute; left: -2%; bottom: -0.18em; width: 104%; height: 0.35em; color: var(--accent-2); overflow: visible; }
.scribble path { stroke-dasharray: 400; stroke-dashoffset: 400; animation: draw 1.1s .3s ease forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .scribble path { stroke-dashoffset: 0; } }
.lede { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.5; color: var(--ink-soft); max-width: 34ch; font-weight: 350; }
.cta-note { font-size: var(--step--1); color: var(--ink-soft); display: flex; align-items: center; gap: .5rem; }
.cta-note svg { width: 1rem; height: 1rem; color: var(--accent); }
.meridians { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--line); pointer-events: none; z-index: -1; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } }

/* Sample report illustration */
.report-stage { position: relative; min-width: 0; justify-self: center; width: min(100%, 27rem); }
.globe { position: absolute; width: 140%; left: -20%; top: -24%; color: var(--accent); opacity: .22; z-index: 0; }
.burst { position: absolute; width: 4rem; right: -1.8rem; top: -2.4rem; color: var(--accent-2); z-index: 2; animation: spin 40s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.report {
  position: relative; z-index: 1; background: var(--sheet); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 1px 0 var(--line), 0 24px 48px -24px color-mix(in srgb, var(--ink) 35%, transparent);
  padding: 1.4rem 1.4rem 1.2rem; transform: rotate(-1.6deg);
}
.report-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: .8rem; }
.report-head .t { font-family: var(--font-display); font-size: var(--step-1); font-weight: 600; }
.report-head .d { font-size: .75rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.report-score { display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: center; padding-block: 1rem; }
.ring { width: 76px; height: 76px; }
.ring .track { stroke: var(--paper-2); }
.ring .val { stroke: var(--accent); }
.ring text { fill: var(--ink); font-family: var(--font-display); font-size: 22px; font-weight: 600; }
.report-score p { font-size: var(--step--1); color: var(--ink-soft); }
.report-score strong { display: block; color: var(--ink); font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; }
.criteria { list-style: none; padding: 0; margin: 0; display: grid; }
.criteria li { display: grid; grid-template-columns: 3.2rem 1fr auto; gap: .6rem; align-items: center; padding-block: .5rem; border-top: 1px dashed var(--line); font-size: .85rem; }
.criteria .sc { font-variant-numeric: tabular-nums; color: var(--ink-soft); font-size: .78rem; }
.chip { font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; padding: .15rem .55rem; border-radius: 999px; border: 1.5px solid currentColor; }
.chip.pass { color: var(--pass); } .chip.warn { color: var(--warn); } .chip.fail { color: var(--fail); }
.report-foot { margin-top: .8rem; font-size: .72rem; color: var(--ink-soft); }

/* Standards band */
.standards { border-block: 1px solid var(--line); background: var(--paper-2); }
.standards .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: .8rem 2.5rem; padding-block: 1.3rem; }
.standards span { font-size: var(--step--1); color: var(--ink-soft); }
.standards b { font-family: var(--font-display); font-weight: 600; font-size: var(--step-1); color: var(--ink); }

/* Sections */
.section { padding-block: clamp(4rem, 9vw, 6.5rem); }
.section-head { display: grid; gap: .9rem; max-width: 40rem; margin-bottom: clamp(2.2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: var(--step-3); }
.section-head p { color: var(--ink-soft); font-size: var(--step-1); font-family: var(--font-display); font-weight: 350; }
.center { text-align: center; margin-inline: auto; justify-items: center; }

.features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); }
.feature { display: grid; gap: .7rem; align-content: start; }
.feature svg { width: 52px; height: 52px; color: var(--accent-2); }
.feature h3 { font-size: var(--step-2); }
.feature p { color: var(--ink-soft); max-width: 34ch; }
@media (max-width: 760px) { .features { grid-template-columns: 1fr; } }

/* Finding example */
.finding-wrap { background: var(--paper-2); border-block: 1px solid var(--line); }
.finding-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.finding-grid > * { min-width: 0; }
.finding { background: var(--sheet); border: 1px solid var(--line); border-radius: 6px; padding: 1.5rem; display: grid; gap: 1rem; }
.finding-top { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; }
.finding .sc { font-variant-numeric: tabular-nums; font-size: var(--step--1); color: var(--ink-soft); }
.finding h3 { font-size: var(--step-2); }
.swatches { display: flex; flex-wrap: wrap; gap: .75rem; }
.swatch { flex: 1 1 10rem; border: 1px solid var(--line); border-radius: 6px; padding: .8rem 1rem; display: grid; gap: .2rem; font-size: var(--step--1); }
.swatch .demo { font-size: 1.05rem; font-weight: 500; padding: .4rem .6rem; border-radius: 4px; }
.swatch .ratio { font-variant-numeric: tabular-nums; color: var(--ink-soft); }
.finding .fix { font-size: var(--step--1); color: var(--ink-soft); border-top: 1px dashed var(--line); padding-top: .8rem; }
.finding .fix b { color: var(--ink); }
.quote { font-family: var(--font-display); font-size: var(--step-2); line-height: 1.35; font-weight: 350; }
.quote mark { background: linear-gradient(transparent 55%, var(--highlight) 55%); color: inherit; padding-inline: .1em; }
@media (max-width: 860px) { .finding-grid { grid-template-columns: 1fr; } }

/* Steps */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 2.5rem); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: .6rem; align-content: start; padding-top: 1.2rem; border-top: 1.5px solid var(--ink); }
.steps li::before { content: "Step " counter(step); font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--accent); }
.steps h3 { font-size: var(--step-2); }
.steps p { color: var(--ink-soft); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Closing CTA */
.closing { text-align: center; position: relative; overflow: hidden; }
.closing .wrap { display: grid; gap: 1.5rem; justify-items: center; }
.closing h2 { font-size: var(--step-4); font-weight: 400; max-width: 16ch; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; padding-block: 2rem; font-size: var(--step--1); color: var(--ink-soft); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-left: auto; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: var(--paper); padding: .7rem 1.2rem; border-radius: 999px; font-size: var(--step--1); z-index: 60; max-width: calc(100% - 32px); }

/* ---------- ADA check flow ---------- */
.check { position: fixed; inset: 0; z-index: 40; background: var(--paper); overflow-y: auto; padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.check-bar { display: flex; align-items: center; gap: 1rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
.check-close { margin-left: auto; }
.check-body { max-width: 38rem; margin-inline: auto; padding-inline: 16px; padding-block: clamp(2rem, 6vw, 4rem) 4rem; display: grid; gap: 2rem; }
.progress { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.progress li { display: grid; gap: .4rem; font-size: .75rem; color: var(--ink-soft); letter-spacing: .04em; text-transform: uppercase; font-weight: 600; }
.progress li::before { content: ""; height: 4px; border-radius: 4px; background: var(--line); }
.progress li.done::before, .progress li.current::before { background: var(--accent); }
.progress li.current { color: var(--ink); }
@media (max-width: 480px) { .progress li span { display: none; } }
.panel { display: grid; gap: 1.4rem; }
.panel h2 { font-size: var(--step-3); }
.panel .intro { color: var(--ink-soft); font-family: var(--font-display); font-size: var(--step-1); font-weight: 350; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: var(--step--1); }
.field .hint { font-size: var(--step--1); color: var(--ink-soft); }
.field input, .field select {
  font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--sheet);
  border: 1.5px solid var(--line); border-radius: 8px; padding: .75rem .9rem; width: 100%;
}
.field input:focus, .field select:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--focus) 40%, transparent); outline-offset: 1px; }
.field input[aria-invalid="true"] { border-color: var(--fail); }
.error { color: var(--fail); font-size: var(--step--1); font-weight: 600; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 520px) { .row2 { grid-template-columns: 1fr; } }
.actions { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.link-btn { background: none; border: 0; padding: .4rem; font: inherit; color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lookup { display: flex; align-items: center; gap: .8rem; color: var(--ink-soft); font-size: var(--step--1); }
.spinner { width: 20px; height: 20px; border: 2.5px solid var(--line); border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.site-card { background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 1rem 1.2rem; display: grid; grid-template-columns: auto 1fr; gap: .2rem 1rem; font-size: var(--step--1); }
.site-card dt { color: var(--ink-soft); }
.site-card dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.done-mark { width: 72px; height: 72px; color: var(--accent); }
.receipt { background: var(--sheet); border: 1px solid var(--line); border-radius: 8px; padding: 1.2rem; display: grid; grid-template-columns: auto 1fr; gap: .35rem 1rem; font-size: var(--step--1); }
.receipt dt { color: var(--ink-soft); }
.receipt dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
body.check-open { overflow: hidden; }

/* ---------- About: founder letter ---------- */
.about { text-align: center; }
.about .wrap { display: grid; justify-items: center; gap: 1.6rem; }
.about-art { width: min(15rem, 70%); color: var(--accent); }
.about-art .acc { color: var(--accent-2); }
.about h2 { font-size: var(--step-4); font-weight: 400; max-width: 22ch; }
.letter { max-width: 48rem; display: grid; gap: 1.2rem; text-align: left; font-family: var(--font-display); font-size: var(--step-1); line-height: 1.65; font-weight: 350; }
.letter .draft { color: var(--ink-soft); font-style: italic; }
.letter .salute { font-weight: 600; font-size: var(--step-2); color: var(--accent-2); }
.letter mark { background: linear-gradient(transparent 58%, var(--highlight) 58%); color: inherit; padding-inline: .1em; }
.asterisk { width: 2.4rem; height: 2.4rem; color: var(--accent-2); }
.signoff { width: 100%; max-width: 48rem; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: end; text-align: left; }
.signoff .sig { width: 9rem; height: auto; display: block; margin-bottom: .4rem; }
.signoff .who { font-size: var(--step--1); color: var(--ink-soft); }
.signoff .who b { display: block; color: var(--ink); font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; }
.portrait { width: 11rem; aspect-ratio: 4 / 5; max-width: 100%; position: relative; transform: rotate(2deg); }
.portrait .frame { position: absolute; inset: 0; border: 1px solid var(--line); background: var(--paper); border-radius: 4px; display: grid; place-items: center; text-align: center; font-size: .72rem; color: var(--ink-soft); padding: .6rem; box-shadow: 0 18px 30px -20px color-mix(in srgb, var(--ink) 40%, transparent); }
.portrait .frame svg { width: 3rem; height: 3rem; color: var(--line); }
.portrait .frame img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; }
.portrait .tape { position: absolute; width: 3.6rem; height: 1rem; left: 50%; top: -.5rem; transform: translateX(-50%) rotate(-4deg); background: color-mix(in srgb, var(--ink) 10%, transparent); }
@media (max-width: 520px) { .signoff { grid-template-columns: 1fr; justify-items: start; } }

/* ---------- FAQ: accordion ---------- */
.faq .wrap { display: grid; justify-items: center; gap: 2.5rem; }
.faq h2 { font-size: var(--step-4); font-weight: 400; text-align: center; }
.faq-list { width: 100%; max-width: 46rem; border-top: 1px solid var(--ink); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { all: unset; box-sizing: border-box; width: 100%; cursor: pointer; display: grid; grid-template-columns: 1fr auto; gap: 1.5rem; align-items: center; padding-block: 1.4rem; font-family: var(--font-display); font-size: var(--step-2); line-height: 1.25; color: var(--ink); }
.faq-q:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.faq-q .pm { width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 1.5px solid var(--ink); position: relative; flex: none; transition: background .2s, border-color .2s; }
.faq-q .pm::before, .faq-q .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: .8rem; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s ease, background .2s; }
.faq-q .pm::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .pm { background: var(--accent); border-color: var(--accent); }
.faq-q[aria-expanded="true"] .pm::before { background: var(--accent-ink); }
.faq-q[aria-expanded="true"] .pm::after { transform: translate(-50%, -50%) rotate(0deg); background: var(--accent-ink); }
.faq-q:hover .pm { border-color: var(--accent); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s ease; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding-bottom: 1.5rem; max-width: 58ch; color: var(--ink-soft); font-size: 1.05rem; }
.faq-a p:has(+ ul) { padding-bottom: .6rem; }
.faq-a ul { margin: 0; padding: 0 0 1.5rem 1.2rem; max-width: 58ch; color: var(--ink-soft); font-size: 1.05rem; display: grid; gap: .45rem; }
.faq-a li b { color: var(--ink); font-weight: 600; }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-note { font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Rotating service hero ---------- */
.hero .hero-nav { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: flex-start; margin-top: clamp(2rem, 5vw, 3rem); }
.hero-nav button { font: inherit; font-size: var(--step--1); font-weight: 500; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .9rem; cursor: pointer; }
.hero-nav button:hover { color: var(--ink); border-color: var(--ink-soft); }
.hero-nav button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.hero-slide:not([hidden]) .hero-copy, .hero-slide:not([hidden]) .report { animation: fadeUp .45s ease both; }
@keyframes fadeUp { from { opacity: .001; transform: translateY(6px); } }
.hero-slide .report { transform: rotate(-1.6deg); }

.chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1rem; }
.ocr-body { display: grid; grid-template-columns: 6.5rem 1fr; gap: 1rem; padding-block: 1rem; align-items: start; }
.scan { aspect-ratio: 3 / 4; max-width: 100%; border: 1px solid var(--line); border-radius: 3px; position: relative;
  background: repeating-linear-gradient(to bottom, transparent 0 9px, color-mix(in srgb, var(--ink) 18%, transparent) 9px 11px) content-box; padding: 12px 10px; }
.scan .hit { position: absolute; left: 18%; top: 41%; width: 52%; height: 14px; border: 2px solid var(--accent-2); border-radius: 2px; background: color-mix(in srgb, var(--accent-2) 12%, transparent); }
.index-list { list-style: none; padding: 0; margin: 0; display: grid; font-size: .82rem; }
.index-list li { display: flex; justify-content: space-between; gap: .6rem; padding-block: .45rem; border-top: 1px dashed var(--line); }
.index-list .pg { color: var(--ink-soft); font-variant-numeric: tabular-nums; white-space: nowrap; }
.search-row { display: flex; align-items: center; gap: .6rem; border: 1px solid var(--line); border-radius: 999px; padding: .45rem .8rem; font-size: .82rem; }
.search-row svg { width: 1rem; height: 1rem; color: var(--ink-soft); flex: none; }
.search-row b { margin-left: auto; color: var(--accent-2); font-weight: 600; }

.video { margin-top: 1rem; aspect-ratio: 16 / 8; max-width: 100%; border-radius: 4px; background: var(--ink); position: relative; display: flex; align-items: flex-end; justify-content: center; padding: .8rem; }
.video .cc { background: color-mix(in srgb, #000 75%, transparent); color: #fff; font-size: .78rem; padding: .25rem .55rem; border-radius: 3px; margin-bottom: .8rem; }
.video .bar { position: absolute; left: .8rem; right: .8rem; bottom: .55rem; height: 3px; background: color-mix(in srgb, var(--paper) 30%, transparent); border-radius: 3px; }
.video .bar i { position: absolute; inset: 0 38% 0 0; background: var(--paper); border-radius: 3px; }
.transcript, .segments { list-style: none; padding: 0; margin: .8rem 0 0; display: grid; font-size: .82rem; }
.transcript li, .segments li { display: grid; grid-template-columns: 4.2rem 1fr; gap: .6rem; padding-block: .42rem; border-top: 1px dashed var(--line); }
.ts { font-variant-numeric: tabular-nums; color: var(--accent-2); font-size: .76rem; padding-top: .1rem; }

.player { display: flex; align-items: center; gap: .7rem; padding-block: 1rem .6rem; }
.player .play { width: 2.1rem; height: 2.1rem; border-radius: 50%; background: var(--accent); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.player .play svg { width: 1rem; height: 1rem; }
.player .wave { flex: 1; min-width: 0; height: 2.6rem; }
.player .wave .played { fill: var(--accent-2); }
.player .wave .unplayed { fill: color-mix(in srgb, var(--ink) 25%, transparent); }
.player .time { font-size: .75rem; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.quote-line { font-family: var(--font-display); font-size: .98rem; line-height: 1.5; padding-block: .3rem .2rem; }
.quote-line b { font-family: var(--font-ui); font-size: .78rem; font-weight: 700; display: block; color: var(--ink-soft); }

/* Check flow: ADA audit vs. quote request */
.check[data-mode="ada"] [data-only="quote"], .check[data-mode="quote"] [data-only="ada"] { display: none !important; }
.receipt > div { display: contents; }
.field textarea { font: inherit; font-size: 1.05rem; color: var(--ink); background: var(--sheet); border: 1.5px solid var(--line); border-radius: 8px; padding: .75rem .9rem; width: 100%; resize: vertical; }
.field textarea:focus { border-color: var(--accent); outline: 3px solid color-mix(in srgb, var(--focus) 40%, transparent); outline-offset: 1px; }
.receipt dd[data-out="service"] { text-transform: capitalize; }

/* ---------- Document remediation scope ---------- */
.chip.route { color: var(--accent-2); }
.criteria.files li { grid-template-columns: 3rem minmax(0, 1fr) auto; }
.criteria.files li > span:nth-child(2) { overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.table-wrap { overflow-x: auto; border-top: 1.5px solid var(--ink); }
.scope { width: 100%; border-collapse: collapse; min-width: 34rem; }
.scope th, .scope td { text-align: left; vertical-align: top; padding: 1.1rem 1rem 1.1rem 0; border-bottom: 1px solid var(--line); }
.scope thead th { font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); padding-block: .9rem; }
.scope tbody th { font-family: var(--font-display); font-size: var(--step-1); font-weight: 500; width: 34%; }
.scope .sub { display: block; font-family: var(--font-ui); font-size: var(--step--1); color: var(--ink-soft); font-weight: 400; }
.scope td { color: var(--ink-soft); }
.scope td .chip { margin-right: .4rem; }
.routing { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 3rem); margin-top: clamp(2rem, 5vw, 3rem); }
.routing-col { display: grid; gap: .6rem; align-content: start; }
.routing-col h3 { font-size: var(--step-2); }
.routing-col p { color: var(--ink-soft); max-width: 40ch; }
.routing-col a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.routing-col ul { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; }
.routing-col li { padding-block: .5rem; border-top: 1px dashed var(--line); display: flex; gap: .7rem; align-items: center; }
.routing-col li::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent-2); flex: none; }
@media (max-width: 760px) { .routing { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .scope { min-width: 0; }
  .scope thead { display: none; }
  .scope tr { display: grid; gap: .35rem; padding-block: 1rem; border-bottom: 1px solid var(--line); }
  .scope th, .scope td { padding: 0; border: 0; width: auto; }
}

/* ---------- Services strip + service sections ---------- */
.standards a { font-family: var(--font-display); font-weight: 500; font-size: var(--step-1); color: var(--ink); text-decoration: none; display: inline-flex; align-items: center; gap: .6rem; }
.standards a + a::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--accent-2); margin-right: 1.9rem; margin-left: -.5rem; }
.standards a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 760px) { .standards a + a::before { display: none; } }

.service .wrap { display: grid; gap: clamp(1.8rem, 4vw, 2.6rem); justify-items: start; }
.service .section-head { margin-bottom: 0; }
.service .table-wrap { width: 100%; }
.service > .wrap > .btn { margin-top: .4rem; }

.index-fields { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .3rem .8rem; font-size: .8rem; align-content: start; }
.index-fields dt { color: var(--ink-soft); }
.index-fields dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.report .search-row { margin-top: 1rem; }

.ba { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; width: 100%; }
.ba-card { border: 1px solid var(--line); border-radius: 8px; padding: 1.4rem 1.5rem; display: grid; gap: .5rem; align-content: start; }
.ba-card p { font-family: var(--font-display); font-size: var(--step-1); line-height: 1.45; }
.ba-card:not(.after) p { color: var(--ink-soft); font-style: italic; }
.ba-card.after { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.ba-label { font-size: var(--step--1); letter-spacing: .08em; text-transform: uppercase; font-weight: 600; color: var(--ink-soft); }
.after .ba-label { color: var(--accent-2); }
@media (max-width: 640px) { .ba { grid-template-columns: 1fr; } }

.explain { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 2.5rem); width: 100%; }
.explain.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.explain > div { display: grid; gap: .6rem; align-content: start; padding-top: 1rem; border-top: 1px solid var(--line); }
.explain h3 { font-size: var(--step-2); display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; }
.explain h3 .chip { font-family: var(--font-ui); }
.explain p { color: var(--ink-soft); }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .4rem; }
.tags li { font-size: var(--step--1); border: 1px solid var(--line); border-radius: 999px; padding: .2rem .7rem; }
.plain { margin: 0; padding-left: 1.1rem; color: var(--ink-soft); display: grid; gap: .5rem; }
@media (max-width: 860px) { .explain, .explain.two { grid-template-columns: 1fr; } }

.deadlines { display: grid; grid-template-columns: auto auto; gap: 1rem 3rem; justify-content: start; align-items: end; width: 100%; padding-block: 1.4rem; border-block: 1px solid var(--line); }
.deadlines-intro { grid-column: 1 / -1; color: var(--ink-soft); }
.deadline { display: grid; gap: .2rem; }
.deadline .when { font-family: var(--font-display); font-size: var(--step-3); line-height: 1; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.deadline span:last-child { color: var(--ink-soft); font-size: var(--step--1); }
@media (max-width: 520px) { .deadlines { grid-template-columns: 1fr; } }

.callout { display: flex; gap: 1rem; align-items: center; border: 1.5px solid var(--accent-2); border-radius: 8px; padding: 1rem 1.3rem; width: 100%; }
.callout svg { width: 1.6rem; height: 1.6rem; color: var(--accent-2); flex: none; }
.callout b { color: var(--ink); }
.callout p { color: var(--ink-soft); }
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1000px) { .steps.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps.four { grid-template-columns: 1fr; } }
.check-body .panel > .eyebrow { margin-bottom: -.6rem; }

/* FAQ topics */
.faq-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; }
.faq-tabs button { font: inherit; font-size: var(--step--1); font-weight: 500; color: var(--ink-soft); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; cursor: pointer; }
.faq-tabs button:hover { color: var(--ink); border-color: var(--ink-soft); }
.faq-tabs button[aria-pressed="true"] { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }
.faq-group-title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Faint alternating bands (navy- and purple-tinted whites) */
:root { --band-navy: #f5f7fa; --band-purple: #f8f6fb; }
.band-navy { background: var(--band-navy); }
.band-purple { background: var(--band-purple); }

/* ---------- Privacy pop-up ---------- */
.modal { position: fixed; inset: 0; z-index: 45; display: grid; place-items: center; padding: max(16px, env(safe-area-inset-top, 0px)) 16px max(16px, env(safe-area-inset-bottom, 0px)); }
.modal-backdrop { position: absolute; inset: 0; background: color-mix(in srgb, var(--ink) 45%, transparent); }
.modal-card { position: relative; background: var(--paper); border-radius: 12px; width: min(100%, 40rem); max-height: 100%; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 30px 60px -20px color-mix(in srgb, #000 45%, transparent); animation: fadeUp .25s ease both; }
.modal-x { position: absolute; top: .8rem; right: .8rem; width: 2.4rem; height: 2.4rem; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: grid; place-items: center; cursor: pointer; z-index: 1; }
.modal-x svg { width: 1rem; height: 1rem; }
.modal-x:hover { border-color: var(--ink-soft); }
.modal-body { padding: clamp(1.5rem, 5vw, 2.5rem); padding-top: 3.4rem; display: grid; gap: .8rem; overflow-y: auto; min-height: 0; }
.modal-body h2 { font-size: var(--step-3); }
.modal-body h3 { font-size: var(--step-1); margin-top: .8rem; }
.modal-body p, .modal-body li { color: var(--ink-soft); }
.modal-body ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.modal-body a, .form-note a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
.modal-lede { font-family: var(--font-display); font-size: var(--step-1); color: var(--ink) !important; font-weight: 350; }
.modal-foot { font-size: var(--step--1); border-top: 1px solid var(--line); padding-top: 1rem; margin-top: .6rem; }
.form-note { font-size: var(--step--1); color: var(--ink-soft); }
.send-error { border-left: 3px solid var(--fail); padding: .6rem .8rem; background: color-mix(in srgb, var(--fail) 7%, var(--paper)); color: var(--ink); font-size: var(--step--1); line-height: 1.5; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.send-error a { color: var(--accent); font-weight: 600; text-underline-offset: 3px; }
