/* Tray Prep site styles, direction B "Warm professional" (chosen 2026-11-24).
   Layout: photo-led landing hero (a wrapped instrument set) with an example result
   card on the photo; warm stone bands, deep surgical-green accent, and one recurring
   motif: the diagonal stripes of sterilization indicator tape. One stylesheet for the
   landing, the diagnostic, the legal pages and 404. Mobile first: base rules are for
   phones, wider screens at the end.
   v2 (2026-11-24): headline first on phones, stat tiles, answerable sample question,
   sticky start button, results summary, waitlist form before the plan list. */
@font-face {
  font-family: "Public Sans";
  src: url("../fonts/PublicSans-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("../fonts/SourceSans3-latin-wght.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* color */
  --bg: #f4f2ee;
  --surface: #ffffff;
  --band: #ebe7df;
  --ink: #1b231f;
  --muted: #505853;
  --line: #dcd6cb;
  --accent: #1d5a47;
  --accent-strong: #143f32;
  --accent-soft: #e1ebe5;
  --wrap-blue: #d5e4f1;
  --tape: #33433c;
  --deep: #163328;
  --deep-ink: #e8f0eb;
  --deep-muted: #b9cbc1;
  --focus: #c2410c;
  --flag-ink: #7a3e00;
  --flag-bg: #fdeed6;
  --weak: #b45309;
  --ok-ink: #1b6535;
  --ok-bg: #e3f3e8;
  --bad-ink: #9b1c1c;
  --bad-bg: #fbe9e9;
  /* type */
  --display: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --text: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  /* shape */
  --r: 10px;
  --r-sm: 8px;
  --shadow: 0 1px 2px rgba(27, 35, 31, 0.06), 0 10px 28px rgba(27, 35, 31, 0.08);
  --tape-stripes: repeating-linear-gradient(-45deg, var(--tape) 0 5px, transparent 5px 13px);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--text);
  font-size: 1.1875rem;
  line-height: 1.55;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.ico { width: 1.2em; height: 1.2em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

a { color: var(--accent); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 10; background: var(--surface); color: var(--ink); padding: 10px 14px; border-radius: 8px; box-shadow: var(--shadow); }
.skip-link:focus { top: 12px; }

.wrap { max-width: 1100px; margin: 0 auto; padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
.narrow { max-width: 780px; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0 0 12px; font-family: var(--display); color: var(--ink); line-height: 1.12; text-wrap: balance; }
h1 { font-size: 2.1rem; font-weight: 800; letter-spacing: -0.025em; }
h2 { font-size: 1.6rem; font-weight: 750; letter-spacing: -0.02em; }
h3 { font-size: 1.125rem; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
p { margin: 0 0 14px; }
.small { font-size: 1rem; color: var(--muted); }
sup { line-height: 0; }
sup a { text-decoration: none; font-weight: 700; padding: 0 2px; }

.eyebrow { font-family: var(--display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 28px; height: 10px; background: var(--tape-stripes), #fff; border: 1px solid var(--line); border-radius: 2px; flex: none; }
.section-title { margin-bottom: 18px; }
.section-intro { color: var(--muted); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 12px 24px; border-radius: var(--r-sm);
  font-family: var(--display); font-weight: 700; font-size: 1.0625rem; line-height: 1.25; text-align: center; text-decoration: none;
  border: 2px solid transparent; cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background-color 0.15s ease;
}
.btn .ico { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.18); }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-block { display: flex; width: 100%; }
.btn:disabled { opacity: 0.45; cursor: not-allowed; }

/* ---------- header ---------- */
.site-header { background: var(--surface); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 58px; }
.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-family: var(--display); font-weight: 800; font-size: 1.125rem; letter-spacing: -0.015em; min-height: 44px; }
.logo svg { width: 32px; height: 32px; flex: none; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-sub { display: none; font-family: var(--text); font-weight: 400; color: var(--muted); font-size: 0.875rem; letter-spacing: 0; margin-top: 2px; }
.header-cta { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border-radius: var(--r-sm); border: 2px solid var(--accent); font-family: var(--display); font-size: 0.9375rem; font-weight: 700; color: var(--accent); text-decoration: none; line-height: 1.15; white-space: nowrap; -webkit-tap-highlight-color: transparent; }
.header-cta:hover { background: var(--accent-soft); color: var(--accent-strong); }
.header-link { display: inline-flex; align-items: center; min-height: 44px; font-family: var(--display); font-size: 0.9375rem; color: var(--accent); text-decoration: none; font-weight: 700; text-align: right; line-height: 1.2; }
.header-link:hover { text-decoration: underline; }

/* ---------- hero ---------- */
.hero { padding-block: 14px 40px; }
.hero-grid { display: grid; gap: 18px; }
.hero-copy { min-width: 0; }
.hero-visual { position: relative; min-width: 0; margin-top: 4px; }
.hero-photo { margin: 0; position: relative; border-radius: var(--r); overflow: hidden; background: var(--wrap-blue); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; object-position: 50% 58%; }
.hero-photo figcaption { position: absolute; right: 8px; top: 8px; font-size: 0.75rem; line-height: 1.2; color: var(--ink); background: rgba(255, 255, 255, 0.9); border-radius: 4px; padding: 3px 7px; }
/* example result card on the photo: compact on phones, fuller on wide screens */
.hero-visual .hero-chip { position: absolute; left: 10px; bottom: 10px; display: grid; grid-template-columns: auto auto; align-items: center; gap: 0 10px; padding: 8px 12px 8px 10px; border: 1px solid var(--line); }
.chip-score { display: flex; align-items: baseline; gap: 10px; }
.chip-pct { font-family: var(--display); font-size: 1.75rem; font-weight: 800; color: var(--accent-strong); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.chip-line, .chip-row { display: none; }
.hero-chip .chip-top { grid-column: 2; grid-row: 1; flex-direction: column; align-items: flex-start; gap: 3px; margin: 0; }
.hero-chip .chip-title { font-size: 0.9375rem; line-height: 1.1; }
.hero h1 { margin-bottom: 12px; }
.lead { font-size: 1.1875rem; color: var(--muted); margin-bottom: 16px; }
.hero-stats { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-stats li { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--r-sm); padding: 10px 12px; font-size: 0.9375rem; line-height: 1.35; font-weight: 600; }
.stat-num { display: block; font-family: var(--display); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; color: var(--accent-strong); margin-bottom: 2px; font-variant-numeric: tabular-nums; }
.btn-hero { width: 100%; }
.perks { list-style: none; padding: 0; margin: 18px 0 16px; display: grid; gap: 8px; }
.perks li { display: flex; align-items: center; gap: 12px; }
.perks .ico { width: 22px; height: 22px; color: var(--accent); }
.note { font-size: 1rem; color: var(--muted); border-left: 3px solid var(--line); padding-left: 12px; }
.note-icon { display: flex; gap: 10px; align-items: flex-start; border-left: 0; padding-left: 0; margin: 0; }
.note-icon .ico { width: 18px; height: 18px; margin-top: 4px; color: var(--muted); }

/* ---------- sections ---------- */
.section { padding-block: 52px 52px; }
.section-tint { background: var(--band); }

/* how it works: a real sequence, so the steps carry numbers */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; counter-reset: step; }
.steps li { display: grid; grid-template-columns: 48px 1fr; column-gap: 16px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px 16px; }
.step-icon { grid-row: span 3; width: 48px; height: 48px; border-radius: var(--r-sm); background: var(--accent-soft); color: var(--accent); display: inline-flex; align-items: center; justify-content: center; }
.step-icon .ico { width: 24px; height: 24px; }
.step-num { font-family: var(--display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.steps h3 { margin: 2px 0 6px; }
.steps p { margin: 0; color: var(--muted); font-size: 1.0625rem; }

/* results preview */
.result-grid { display: grid; gap: 28px; }
.result-copy { min-width: 0; }
.result-points { margin: 0 0 18px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.result-points div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.result-points dt { font-family: var(--display); font-weight: 700; margin-bottom: 2px; }
.result-points dd { margin: 0; color: var(--muted); }

.result-mock, .hero-chip { background: var(--surface); border-radius: var(--r); box-shadow: var(--shadow); position: relative; }
.result-mock { margin: 0; min-width: 0; padding: 26px 18px 16px; border: 1px solid var(--line); overflow: hidden; }
/* indicator-tape strip across the top of the example card */
.result-mock::before, .pass::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--tape-stripes), #f7f5f0; border-bottom: 1px solid var(--line); }
.mock-top, .chip-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 6px; }
.mock-title, .chip-title { font-family: var(--display); font-weight: 800; font-size: 1.25rem; letter-spacing: -0.015em; }
.pill-example { font-family: var(--display); font-size: 0.75rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); background: var(--wrap-blue); border-radius: 4px; padding: 3px 8px; }
.mock-score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; margin-bottom: 14px; }
.mock-pct { font-family: var(--display); font-size: 3rem; font-weight: 800; line-height: 1; color: var(--accent-strong); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.mock-line { font-weight: 600; color: var(--ink); }
.mock-sub { font-family: var(--display); font-weight: 700; font-size: 0.9375rem; color: var(--muted); margin: 0 0 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.mock-areas { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.mock-areas li { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: baseline; font-size: 1rem; }
.ma-name { font-weight: 600; line-height: 1.3; min-width: 0; }
.ma-pct { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.ma-bar { grid-column: 1 / -1; height: 8px; background: #ebe8e2; border-radius: 2px; overflow: hidden; margin: 5px 0 4px; }
.ma-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.mock-areas li.is-weak .ma-bar > span, .chip-row.is-weak .ma-bar > span { background: var(--weak); }
.ma-meta { font-size: 0.875rem; color: var(--muted); }
.tag-flag { justify-self: end; font-family: var(--display); font-size: 0.75rem; font-weight: 700; color: var(--flag-ink); background: var(--flag-bg); border-radius: 4px; padding: 1px 8px; }
.result-mock figcaption { font-size: 0.875rem; color: var(--muted); margin-top: 14px; padding-top: 10px; border-top: 1px dashed var(--line); }

/* sample question */
.sample-grid { display: grid; gap: 22px; }
.sample-copy { min-width: 0; }
.sample-copy .btn { width: 100%; }
.sample-foot { color: var(--muted); }
.sample { margin: 0; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; box-shadow: var(--shadow); }
.sample-stem { font-weight: 600; font-size: 1.1875rem; line-height: 1.45; margin-bottom: 12px; }
.sample ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sample li { display: flex; gap: 12px; align-items: flex-start; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 11px 12px; font-size: 1.0625rem; line-height: 1.4; }
.option-letter { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; border: 2px solid #84897f; font-family: var(--display); font-weight: 700; font-size: 0.8125rem; color: var(--muted); }

/* exam areas table */
.table-wrap { overflow-x: auto; }
.areas { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; font-size: 1.0625rem; }
.areas th, .areas td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.areas thead th { font-family: var(--display); font-size: 0.8125rem; color: var(--muted); font-weight: 700; background: #f7f5f1; letter-spacing: 0.02em; }
.areas tbody tr:last-child th, .areas tbody tr:last-child td { border-bottom: 0; }
.areas tbody th { font-weight: 600; overflow-wrap: break-word; -webkit-hyphens: auto; hyphens: auto; }
.areas .num { text-align: right; white-space: nowrap; width: 1%; font-variant-numeric: tabular-nums; }
.areas tbody td.num:first-of-type { font-family: var(--display); font-weight: 800; color: var(--accent-strong); }
.areas thead th.num { white-space: normal; min-width: 5.6em; }
.weight-bar { display: block; height: 10px; background: var(--accent-soft); border-radius: 2px; margin-top: 8px; }
.weight-bar > span { display: block; height: 100%; background: var(--accent); border-radius: 2px; }
.table-note { margin-top: 12px; }
@media (max-width: 359px) {
  .areas { font-size: 0.95rem; }
  .areas th, .areas td { padding: 10px 6px; }
  .areas thead th.num { min-width: 4.8em; }
}

/* facts: figures separated by rules rather than boxed */
.facts { display: grid; list-style: none; padding: 0; margin: 0 0 24px; border-top: 2px solid var(--ink); }
.facts li { padding: 16px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 2px; }
.fact-num { font-family: var(--display); font-size: 2.25rem; font-weight: 800; color: var(--accent); line-height: 1.1; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.cta-row { display: grid; gap: 14px; align-items: center; }
.cta-row p { margin: 0; font-weight: 600; }
.cta-row .btn { width: 100%; }

/* how we wrote */
.report-line { display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line); background: var(--surface); border-radius: var(--r); padding: 14px 16px; margin-top: 18px; }
.report-line .ico { color: var(--accent); margin-top: 4px; }

/* pass / waitlist card */
.pass { position: relative; background: var(--surface); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; display: grid; }
.pass-info { padding: 30px 20px 22px; min-width: 0; }
.pass-form { padding: 24px 20px; background: var(--band); border-top: 1px solid var(--line); min-width: 0; }
.pass-head { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 10px; }
.pass-head h2 { margin: 0; }
.badge { display: inline-block; font-family: var(--display); background: var(--accent-soft); color: var(--accent-strong); font-weight: 700; font-size: 0.8125rem; border-radius: 4px; padding: 3px 10px; letter-spacing: 0.04em; text-transform: uppercase; }
.price { font-family: var(--display); font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin-bottom: 10px; }
.price small { display: block; font-family: var(--text); font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; line-height: 1.4; margin-top: 6px; }
.field-label { display: block; font-family: var(--display); font-weight: 700; margin-bottom: 8px; font-size: 1.0625rem; }
.plan-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.plan-list li { display: flex; gap: 10px; align-items: flex-start; }
.plan-list .ico { width: 20px; height: 20px; margin-top: 4px; color: var(--accent); stroke-width: 2.5; }
.pass-form h3 { font-size: 1.25rem; margin-bottom: 14px; }
.form-row { margin: 0 0 16px; }
.form-row label { display: block; font-weight: 700; margin-bottom: 6px; }
.optional { font-weight: 400; color: var(--muted); }
input[type="email"], select {
  width: 100%; min-height: 52px; padding: 10px 14px; font: inherit; font-size: 1.0625rem; color: var(--ink);
  background: #fff; border: 1.5px solid #858b83; border-radius: var(--r-sm);
}
input[type="email"]:focus, select:focus { border-color: var(--accent); }
input[aria-invalid="true"] { border-color: var(--bad-ink); }
.form-row label.consent { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; cursor: pointer; margin: 0; }
.consent input { width: 24px; height: 24px; margin: 2px 0 0; flex: none; accent-color: var(--accent); }
.field-error { color: var(--bad-ink); font-size: 1rem; font-weight: 700; margin: 6px 0 0; }
.form-error { color: var(--bad-ink); background: var(--bad-bg); padding: 10px 12px; border-radius: 8px; font-weight: 700; }
.form-foot { margin: 12px 0 0; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-done { background: var(--ok-bg); color: var(--ok-ink); border-radius: var(--r-sm); padding: 14px 16px; font-weight: 700; }
.wl-done p { margin: 0; }
.wl-done .test-note { font-weight: 400; font-size: 0.95rem; margin-top: 8px; color: var(--ink); }

/* FAQ accordion: rows divided by rules */
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 60px; cursor: pointer; padding: 14px 2px; font-family: var(--display); font-weight: 700; font-size: 1.0625rem; list-style: none; -webkit-tap-highlight-color: transparent; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev { width: 32px; height: 32px; padding: 6px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); transition: transform 0.2s ease; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq details > div { padding: 0 2px 8px; }

/* sources */
.sources-section { padding-top: 8px; }
.sources-title { display: flex; align-items: center; gap: 8px; font-size: 1rem; color: var(--muted); margin-bottom: 10px; }
.sources-title .ico { width: 18px; height: 18px; }
.sources { font-size: 0.9375rem; color: var(--muted); padding-left: 20px; margin: 0; }
.sources li { margin: 6px 0; overflow-wrap: anywhere; }

/* ---------- footer ---------- */
.site-footer { background: var(--deep); color: var(--deep-muted); padding-block: 36px 44px; font-size: 1rem; }
.site-footer a { color: var(--deep-ink); }
.site-footer a:hover { color: #fff; }
.footer-top { display: grid; gap: 14px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid rgba(232, 240, 235, 0.18); }
.logo-footer { color: var(--deep-ink); font-size: 1.05rem; }
.logo-footer svg { width: 28px; height: 28px; }
.logo-footer svg rect:first-child { fill: var(--deep-ink); }
.logo-footer svg rect:nth-child(2) { fill: var(--deep); }
.logo-footer svg path { stroke: var(--deep-ink); }
.footer-links { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.footer-links a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; }
.footer-body p { margin: 0 0 12px; max-width: 72ch; }
.pixel-notice, .gpc-status { color: var(--deep-ink); }

@media (prefers-reduced-motion: reduce) {
  .btn, .faq summary .chev { transition: none; }
}

/* ---------- shared bits used outside the landing ---------- */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 22px 18px; box-shadow: var(--shadow); }
.btn-secondary { background: var(--surface); color: var(--accent); border-color: var(--accent); }
.btn-secondary:hover { background: var(--accent-soft); color: var(--accent-strong); }
.btn-plain { background: none; border: none; color: var(--accent); font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; padding: 10px 4px; min-height: 44px; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.btn-stack { display: grid; gap: 10px; }
.check-list { list-style: none; padding: 0; margin: 0 0 16px; display: grid; gap: 8px; }
.check-list li { position: relative; padding-left: 30px; }
.check-list li::before { content: ""; position: absolute; left: 4px; top: 0.45em; width: 13px; height: 7px; border-left: 2.5px solid var(--accent); border-bottom: 2.5px solid var(--accent); transform: rotate(-45deg); }
/* indicator-tape strip across the top of key cards */
.tape-top { overflow: hidden; padding-top: 30px; }
.tape-top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: var(--tape-stripes), #f7f5f0; border-bottom: 1px solid var(--line); }

/* ---------- diagnostic ---------- */
.diag main { padding: 20px 0 8px; }
.intro-card h1 { font-size: 1.85rem; }
.intro-facts { font-family: var(--display); font-weight: 700; color: var(--accent); }
.resume { background: var(--accent-soft); border-radius: var(--r-sm); padding: 16px; margin: 16px 0; }
.resume p { font-weight: 600; }

/* quiz: as few distractions as possible */
/* one compact header for every state of the test page, so nothing jumps when the questions load */
.diag .site-header .wrap { min-height: 50px; }
.diag .logo-sub { display: none !important; }
.diag .logo svg { width: 28px; height: 28px; }
/* keep the footer below the fold while the questions load (no layout shift) */
.diag main { min-height: 100vh; min-height: 100svh; }
body[data-view="quiz"] main { padding-top: 12px; }
.quiz-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 4px; }
.quiz-top .small { margin: 0; font-weight: 600; }
.clock-wrap { display: flex; align-items: center; gap: 6px; }
.clock { font-family: var(--display); font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); }
progress { width: 100%; height: 6px; appearance: none; -webkit-appearance: none; border: 0; border-radius: 3px; background: #e4e0d8; overflow: hidden; display: block; }
progress::-webkit-progress-bar { background: #e4e0d8; border-radius: 3px; }
progress::-webkit-progress-value { background: var(--accent); border-radius: 3px; }
progress::-moz-progress-bar { background: var(--accent); border-radius: 3px; }

.q-card { margin-top: 12px; box-shadow: none; padding-top: 18px; }
.q-heading { font-family: var(--text); font-size: 1rem; color: var(--muted); font-weight: 600; letter-spacing: 0; margin: 0 0 6px; }
.q-area { display: inline-block; font-family: var(--display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; color: var(--accent-strong); background: var(--accent-soft); border-radius: 4px; padding: 2px 8px; margin: 0 0 12px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.q-stem { font-size: 1.1875rem; font-weight: 600; line-height: 1.42; padding: 0; margin: 0 0 16px; float: left; width: 100%; }
.q-stem + * { clear: both; }
.options { display: grid; gap: 12px; }
.option {
  display: flex; align-items: flex-start; gap: 12px; position: relative;
  background: var(--surface); border: 1.5px solid #858b83; border-radius: var(--r-sm);
  padding: 13px 14px; min-height: 56px; cursor: pointer; line-height: 1.38; font-size: 1.0625rem;
  -webkit-tap-highlight-color: transparent;
}
.option:hover { border-color: var(--accent); }
.option input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.option .option-letter { width: 30px; height: 30px; font-size: 0.875rem; }
.option-text { padding-top: 3px; }
.option.is-selected { border-color: var(--accent); background: var(--accent-soft); box-shadow: inset 0 0 0 1px var(--accent); }
.option.is-selected .option-letter { background: var(--accent); border-color: var(--accent); color: #fff; }
.option:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
/* keep the ring for keyboard users, drop it after a tap or click where :has() is supported */
.option:has(input:focus):not(:has(input:focus-visible)) { outline: none; }
/* headings that receive focus from script (not in the tab order) */
.q-heading:focus, #results-heading:focus, #finish-check:focus, #results-waitlist:focus { outline: none; }

/* Back/Next stay on screen while a long question scrolls (A6 review). */
.q-nav {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
  position: sticky; bottom: 0; z-index: 5;
  background: var(--surface);
  margin: 18px -18px 0; padding: 10px 18px calc(10px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 14px rgba(27, 35, 31, 0.08);
}
.q-nav .btn { min-height: 52px; }
@media (hover: none) { .kbd-tip { display: none; } }
.q-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 12px; margin-top: 6px; }
.q-tools .small { font-size: 0.9375rem; }
.finish-check { margin-top: 18px; background: var(--flag-bg); border-radius: var(--r-sm); padding: 16px; }
.finish-check p { margin: 0 0 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.chip { min-width: 44px; min-height: 44px; border-radius: var(--r-sm); border: 1.5px solid var(--flag-ink); background: #fff; color: var(--flag-ink); font: inherit; font-weight: 700; cursor: pointer; -webkit-tap-highlight-color: transparent; }

.jump { margin-top: 18px; }
.jump summary { cursor: pointer; font-weight: 600; color: var(--accent); padding: 10px 0; min-height: 44px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; margin-top: 8px; }
.grid-btn { min-height: 44px; border-radius: var(--r-sm); border: 1.5px solid #858b83; background: #fff; color: var(--ink); font: inherit; font-size: 0.95rem; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.grid-btn.is-answered { background: var(--accent-soft); border-color: var(--accent); color: var(--accent-strong); font-weight: 700; }
.grid-btn[aria-current="step"] { outline: 3px solid var(--ink); outline-offset: 1px; }
.grid-legend { font-size: 0.9375rem; color: var(--muted); margin: 8px 0 0; }

/* results */
#results-summary h2 { font-size: 1.35rem; }
.score { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 6px 0 4px; }
.score-pct { font-family: var(--display); font-size: 3.4rem; font-weight: 800; line-height: 1; color: var(--accent-strong); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.score-line { font-size: 1.125rem; font-weight: 600; }
.area-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.area-head { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.area-name { font-weight: 600; line-height: 1.3; }
.area-pct { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }
.bar { height: 10px; background: #ebe8e2; border-radius: 2px; overflow: hidden; margin: 6px 0; }
.bar-fill { height: 100%; background: var(--accent); border-radius: 2px; min-width: 2px; }
.area.is-weak .bar-fill { background: var(--weak); }
.area-meta { font-size: 0.9375rem; color: var(--muted); margin: 0; }
.tag { display: inline-block; font-family: var(--display); font-size: 0.75rem; font-weight: 700; border-radius: 4px; padding: 2px 8px; letter-spacing: 0.02em; }
.tag.tag-flag { justify-self: auto; }
.tag-correct { background: var(--ok-bg); color: var(--ok-ink); }
.tag-missed { background: var(--bad-bg); color: var(--bad-ink); }
.tag-skipped { background: #ece9e3; color: var(--muted); }
.weak-list { padding-left: 22px; }
.weak-list li { margin: 6px 0; }
.area.is-empty .area-pct { font-weight: 600; color: var(--muted); }
.partial { background: var(--flag-bg); border-radius: var(--r-sm); padding: 14px 16px; margin: 12px 0 16px; }
.partial p { margin: 0 0 12px; color: var(--flag-ink); }
.partial .btn { width: 100%; }
.bridge { margin-top: 22px; background: var(--accent-soft); border-radius: var(--r-sm); padding: 16px; }
.bridge p { margin: 0 0 12px; font-weight: 600; }
.bridge .btn { width: 100%; }

.diag .section { padding-block: 36px 36px; }
.diag .pass { grid-template-columns: 1fr; }
.diag .pass-form { border-left: 0; border-top: 1px solid var(--line); }
.src-note { margin: 16px 0 0; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
.filter { min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #858b83; background: #fff; font: inherit; font-size: 1rem; cursor: pointer; color: var(--ink); -webkit-tap-highlight-color: transparent; }
.filter[aria-pressed="true"] { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }
.review-area h3 { margin: 26px 0 10px; font-size: 1.125rem; }
.rv { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid #858b83; border-radius: var(--r-sm); padding: 14px 16px; margin: 0 0 12px; }
.rv-correct { border-left-color: var(--ok-ink); }
.rv-missed { border-left-color: var(--bad-ink); }
.rv-meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 0.9375rem; color: var(--muted); font-weight: 600; margin: 0 0 6px; }
.rv-stem { font-weight: 600; }
.rv-options { list-style: none; padding: 0; margin: 0 0 12px; }
.rv-options li { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 4px 10px; padding: 8px 10px; border-radius: var(--r-sm); margin: 4px 0; font-size: 1.0625rem; }
.rv-options .option-letter { width: 26px; height: 26px; font-size: 0.8125rem; }
.rv-opt-text { flex: 1 1 200px; padding-top: 1px; }
.rv-opt-tag { flex-basis: 100%; padding-left: 36px; font-size: 0.875rem; font-weight: 700; }
.rv-options li.is-right { background: var(--ok-bg); }
.rv-options li.is-right .option-letter { border-color: var(--ok-ink); color: var(--ok-ink); }
.rv-options li.is-right .rv-opt-tag { color: var(--ok-ink); }
.rv-options li.is-mine-wrong { background: var(--bad-bg); }
.rv-options li.is-mine-wrong .option-letter { border-color: var(--bad-ink); color: var(--bad-ink); }
.rv-options li.is-mine-wrong .rv-opt-tag { color: var(--bad-ink); }
.rv-why p { margin: 0 0 8px; }
.rv-source { font-size: 0.9375rem; color: var(--muted); }
.results-actions { display: grid; gap: 10px; margin-top: 24px; }

@media (prefers-reduced-motion: no-preference) {
  .bar-fill { transition: width 0.6s ease; }
}

/* ---------- legal pages and 404 ---------- */
.legal h1 { margin-top: 4px; }
.legal h2 { margin-top: 36px; font-size: 1.35rem; }
.legal h3 { margin-top: 22px; font-size: 1.125rem; }
.legal ul { padding-left: 22px; }
.legal li { margin: 6px 0; }
.legal .small:first-of-type { margin-bottom: 22px; }
.choice-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: 18px; margin: 12px 0 18px; box-shadow: var(--shadow); }
.choice-box p { margin: 0 0 12px; }
.page-404 { padding-block: 48px 24px; }
.page-404 .btn-stack { margin-top: 18px; }

/* ---------- wider screens ---------- */
@media (min-width: 720px) {
  .wrap { padding-left: max(28px, env(safe-area-inset-left, 0px)); padding-right: max(28px, env(safe-area-inset-right, 0px)); }
  .logo-sub { display: block; }
  h1 { font-size: 2.9rem; }
  h2 { font-size: 2rem; }
  .hero { padding-block: 32px 64px; }
  .btn-hero { width: auto; }
  .hero-photo img { aspect-ratio: 21 / 9; }
  .section { padding-block: 76px 76px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .steps li { grid-template-columns: 1fr; padding: 24px 22px; }
  .step-icon { grid-row: auto; margin-bottom: 16px; }
  .facts { grid-template-columns: repeat(3, 1fr); gap: 0 28px; }
  .facts li { border-bottom: 0; padding: 18px 0 0; }
  .cta-row { grid-template-columns: 1fr auto; gap: 24px; }
  .cta-row .btn, .sample-copy .btn { width: auto; }
  .pass { grid-template-columns: 1.1fr 1fr; }
  .pass-info { padding: 40px 36px 32px; }
  .pass-form { padding: 40px 32px 32px; border-top: 0; border-left: 1px solid var(--line); }
  .footer-top { grid-template-columns: auto 1fr; align-items: center; gap: 24px; }
  .footer-links { justify-content: flex-end; }
  .result-mock { padding: 30px 26px 18px; }
}
@media (min-width: 960px) {
  .hero { padding-block: 48px 72px; }
  .hero-grid { grid-template-columns: 1fr 1fr; align-items: center; gap: 56px; }
  .hero-visual { order: 0; padding-bottom: 34px; }
  .hero-photo img { aspect-ratio: 5 / 6; object-position: 50% 50%; }
  .hero-visual .hero-chip { display: block; left: -36px; bottom: 0; width: 290px; padding: 16px 16px 14px; font-size: 0.9375rem; }
  .hero-chip .chip-top { flex-direction: row; align-items: center; justify-content: space-between; margin-bottom: 6px; }
  .hero-chip .chip-title { font-size: 1rem; }
  .chip-score { margin-bottom: 10px; }
  .chip-pct { font-size: 2rem; }
  .chip-line { display: inline; font-size: 0.875rem; color: var(--muted); font-weight: 600; }
  .chip-row { display: grid; grid-template-columns: 1fr auto; column-gap: 8px; margin-top: 6px; font-size: 0.875rem; font-weight: 600; }
  .hero-photo figcaption { top: auto; bottom: 8px; }
  .chip-row b { font-family: var(--display); }
  .result-grid { grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
  .sample-grid { grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
}
@media (max-width: 359px) {
  .hero-visual { display: none; }
}

/* ---------- wider screens: diagnostic, legal ---------- */
@media (min-width: 720px) {
  .card { padding: 30px 30px; }
  .q-card { padding-top: 26px; }
  .q-nav { grid-template-columns: 180px 220px; justify-content: space-between; margin: 18px -30px 0; padding: 12px 30px; }
  .btn-stack { grid-template-columns: auto auto; justify-content: start; }
  .results-actions { display: flex; flex-wrap: wrap; }
  .partial .btn, .bridge .btn { width: auto; }
  .intro-card h1 { font-size: 2.2rem; }
  .diag .section { padding-block: 44px 44px; }
  .diag .pass-info, .diag .pass-form { padding: 32px 30px; }
  .legal h2 { font-size: 1.5rem; }
}

/* ---------- v2 additions ---------- */
/* answerable sample question */
.section-try { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-try .sample { box-shadow: var(--shadow); }
.sample-area { display: inline-block; font-family: var(--display); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.02em; color: var(--accent-strong); background: var(--accent-soft); border-radius: 4px; padding: 2px 8px; margin: 0 0 10px; }
.sample-options { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.sample-option { display: flex; gap: 12px; align-items: flex-start; min-height: 56px; border: 1.5px solid #858b83; border-radius: var(--r-sm); padding: 13px 14px; font-size: 1.0625rem; line-height: 1.38; color: var(--ink); text-decoration: none; background: var(--surface); -webkit-tap-highlight-color: transparent; transition: border-color 0.15s ease, background-color 0.15s ease; }
.sample-option:hover { border-color: var(--accent); background: var(--accent-soft); color: var(--ink); }
.sample-option:hover .option-letter { border-color: var(--accent); color: var(--accent); }
.sample-option .option-letter { width: 30px; height: 30px; font-size: 0.875rem; }
.sample-cap { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: 0.9375rem; font-weight: 600; color: var(--muted); }
.sample-cap .ico { width: 20px; height: 20px; color: var(--accent); }

/* compact steps next to the example result */
.steps-compact { gap: 0; margin-bottom: 16px; border-top: 1px solid var(--line); }
.steps-compact li { background: none; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 14px 0; grid-template-columns: 44px 1fr; }
.steps-compact .step-icon { width: 44px; height: 44px; grid-row: span 2; }
.steps-compact h3 { margin: 0 0 4px; }

/* trust */
.trust-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.trust-list li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.trust-list .ico { width: 22px; height: 22px; margin-top: 3px; color: var(--accent); }

/* pass card with photo (landing) and form-first order (results) */
.pass-photo { margin: 0; position: relative; background: var(--wrap-blue); }
.pass-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 45%; }
.pass-photo figcaption { position: absolute; right: 8px; bottom: 8px; font-size: 0.75rem; line-height: 1.2; color: var(--ink); background: rgba(255, 255, 255, 0.9); border-radius: 4px; padding: 3px 7px; }
.pass-landing::before { z-index: 1; }
.compare { font-weight: 600; background: var(--band); border-radius: var(--r-sm); padding: 10px 12px; }
.form-lead { color: var(--muted); font-size: 1rem; margin: -6px 0 14px; }
.pass-plan { padding: 22px 20px 24px; border-top: 1px solid var(--line); min-width: 0; }
.pass-results .pass-info { padding-bottom: 8px; }

/* quiz */
.milestone { margin: 10px 0 0; display: inline-block; background: var(--ok-bg); color: var(--ok-ink); font-weight: 700; font-size: 0.9375rem; border-radius: var(--r-sm); padding: 6px 12px; }
.q-tools .q-saved { margin: 10px 0 0; }
#sofar-btn { font-size: 1rem; }

/* results */
.results-h2 { margin-top: 26px; }
.score-summary { list-style: none; padding: 0; margin: 12px 0 14px; display: grid; gap: 8px; }
.score-summary li { display: grid; grid-template-columns: auto 1fr auto; align-items: baseline; gap: 10px; background: var(--ok-bg); border-radius: var(--r-sm); padding: 10px 12px; font-size: 1rem; }
.score-summary li.sum-gap { background: var(--flag-bg); }
.sum-label { font-family: var(--display); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ok-ink); }
.sum-gap .sum-label { color: var(--flag-ink); }
.sum-area { font-weight: 600; line-height: 1.3; min-width: 0; }
.sum-pct { font-family: var(--display); font-weight: 800; font-variant-numeric: tabular-nums; }
.bridge-price { font-weight: 400 !important; color: var(--muted); font-size: 1rem; margin-top: -6px !important; }
.share-status { margin: 10px 0 0; min-height: 1.5em; overflow-wrap: anywhere; }
.intro-note { margin: 16px 0; }
.intro-card .btn-block { margin-top: 6px; }

/* sticky start button on phones (landing) */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 20; background: rgba(244, 242, 238, 0.97); border-top: 1px solid var(--line); box-shadow: 0 -6px 18px rgba(27, 35, 31, 0.1); padding: 10px max(14px, env(safe-area-inset-right, 0px)) calc(10px + env(safe-area-inset-bottom, 0px)) max(14px, env(safe-area-inset-left, 0px)); }
.sticky-cta .btn { min-height: 52px; }
body.has-sticky-cta { padding-bottom: 76px; }
.faq-cta { margin-top: 24px; }
.faq-cta .btn { width: 100%; }

@media (min-width: 720px) {
  .sticky-cta { display: none !important; }
  .hero-stats { max-width: 520px; }
  .pass-landing { grid-template-columns: 1.1fr 1fr; }
  .pass-landing .pass-photo { grid-column: 1 / -1; }
  .pass-landing .pass-photo img { aspect-ratio: 3 / 1; }
  .diag .pass-plan { padding: 26px 30px 30px; }
  .steps-compact { grid-template-columns: 1fr; gap: 0; }
  .faq-cta .btn { width: auto; }
  .steps-compact li { grid-template-columns: 44px 1fr; padding: 16px 0; }
  .steps-compact .step-icon { margin-bottom: 0; grid-row: span 2; }
}
@media (min-width: 960px) {
  .hero-visual { margin-top: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .sample-option { transition: none; }
}
.sample .sample-options li { display: block; border: 0; padding: 0; }
.weak-list strong { display: block; line-height: 1.3; }
.weak-meta { display: block; font-size: 1rem; color: var(--muted); }
#clock-toggle { white-space: nowrap; }
.quiz-top .small { min-width: 0; }

/* feedback 1 (24.11): named sources instead of footnote numbers, perks as chips */
.hero-stats li { display: flex; flex-direction: column; }
.stat-src { margin-top: auto; padding-top: 4px; font-size: 0.875rem; font-weight: 400; color: var(--muted); }
.stat-src a, .fact-src a, .compare-src a { display: inline-block; padding-block: 3px; font-weight: 600; }
.fact-src { font-size: 0.9375rem; color: var(--muted); }
.compare-src { display: block; margin-top: 4px; font-size: 0.9375rem; font-weight: 400; color: var(--muted); }
.hero-perks { list-style: none; padding: 0; margin: 12px 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hero-perks li { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sm); font-family: var(--display); font-size: 1rem; font-weight: 700; line-height: 1.2; color: var(--ink); }
.hero-perks .ico { width: 20px; height: 20px; color: var(--accent); stroke-width: 2.25; }
@media (min-width: 720px) { .hero-perks { max-width: 520px; margin-top: 16px; } }

/* ---------- mobile audit 24.11 ---------- */
.logo-text { white-space: nowrap; }
.sample .sample-options { gap: 12px; }
/* source links: bigger tap area without moving the layout */
.stat-src a, .fact-src a, .compare-src a { position: relative; }
.stat-src a::after, .fact-src a::after, .compare-src a::after { content: ""; position: absolute; inset: -10px -8px; }
/* source sheet */
.sheet { border: 0; padding: 0; width: 100%; max-width: none; margin: auto 0 0; border-radius: 14px 14px 0 0; background: var(--surface); color: var(--ink); box-shadow: 0 -10px 30px rgba(27, 35, 31, 0.25); }
.sheet::backdrop { background: rgba(22, 51, 40, 0.5); }
.sheet-body { padding: 22px max(18px, env(safe-area-inset-right, 0px)) calc(18px + env(safe-area-inset-bottom, 0px)) max(18px, env(safe-area-inset-left, 0px)); }
.sheet-title { font-size: 1.25rem; margin-bottom: 10px; }
.sheet-content p { margin: 0 0 10px; overflow-wrap: anywhere; }
.sheet-content a { font-weight: 600; }
.sheet-note { margin: 0 0 16px; }
@media (min-width: 720px) { .sheet { max-width: 560px; margin: auto; border-radius: var(--r); } }
/* quiz: "Results so far" in the top row, clock with the tools below */
.quiz-top #sofar-btn { font-size: 0.9375rem; padding: 10px 2px; white-space: nowrap; }
.q-tools .clock-wrap { margin-top: 6px; }
#sofar-btn { font-size: 0.9375rem; }
/* large text (browser text size ~125%+ makes 390 px narrower than 22em) and short landscape:
   start button right under the promise, the stat tiles after it */
@media (max-width: 22em), (orientation: landscape) and (max-height: 500px) {
  .hero-copy { display: flex; flex-direction: column; }
  .hero-copy .btn-hero, .hero-copy .hero-perks, .hero-copy .note { order: 1; }
  .hero-copy .hero-stats { order: 2; margin: 18px 0 0; }
}
@media (max-width: 22em) {
  /* the header button doesn't fit next to the logo; the start button is right below the headline */
  .header-cta { display: none; }
}
@media (orientation: landscape) and (max-height: 500px) {
  .hero { padding-block: 12px 32px; }
  .hero h1 { font-size: 2rem; }
  .lead { font-size: 1.0625rem; margin-bottom: 12px; }
  .site-header .wrap { min-height: 50px; }
  .logo-sub { display: none !important; }
  .btn-hero { width: auto; }
  .hero-perks { grid-template-columns: repeat(4, auto); justify-content: start; max-width: none; }
}
/* the exam-areas table at large text sizes on phones */
@media (max-width: 26em) {
  .areas th, .areas td { padding: 12px 8px; }
  .areas thead th.num { min-width: 0; }
}
/* text fields: green focus ring, so a focused field doesn't look like an error (red is for errors) */
input[type="email"]:focus-visible, select:focus-visible { outline: 3px solid var(--accent); outline-offset: 1px; }
input[aria-invalid="true"]:focus-visible { outline-color: var(--bad-ink); }
