@font-face {
  font-family: "STIX Two Text";
  src: url("/assets/fonts/stix-two-text-variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --blue: #0072ce;
  --pressed: #005fa8;
  --navy: #005daa;
  --sky: #e7f0ff;
  --paper: #ffffff;
  --surface: #f5f7fa;
  --track: #e5e9f0;
  --line: #e5e7eb;
  --ink: #1f2937;
  --strong: #111827;
  --slate: #4b5563;
  --orange: #ff9f1c;
  --purple: #a463f2;
  --green: #19c37d;
  --material: rgba(255, 255, 255, .94);
  --alert-bg: #fff4f3;
  --alert: #b91c1c;
  --reading: "STIX Two Text", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", Inter, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; font-variant-numeric: tabular-nums; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); text-underline-offset: .22em; }
a:hover { color: var(--pressed); }
a:focus-visible, button:focus-visible, input:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
button { cursor: pointer; }
svg { display: block; max-width: 100%; }
figure, p, ul, h1, h2, h3 { margin: 0; }
p { max-width: 70ch; }
p + p { margin-top: 12px; }
h1 { font-family: var(--reading); font-weight: 650; font-size: clamp(42px, 4.1vw, 58px); line-height: 1.05; letter-spacing: -.025em; color: var(--strong); text-wrap: balance; }
h2 { font-size: 26px; line-height: 1.2; font-weight: 700; letter-spacing: -.02em; text-wrap: balance; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 650; letter-spacing: -.015em; }
[hidden] { display: none !important; }

[class$="-skip"] { position: fixed; top: 12px; left: 12px; z-index: 20; padding: 12px 20px; min-height: 48px; background: var(--paper); border: 2px solid var(--blue); border-radius: 12px; transform: translateY(-160%); }
[class$="-skip"]:focus { transform: translateY(0); }
[class$="-header"] { border-bottom: 1px solid var(--line); }
[class$="-header-inner"] { max-width: 1200px; min-height: 88px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
[class$="-brand"] { display: inline-flex; min-height: 56px; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
[class$="-brand"] > svg { width: 44px; height: 44px; flex: 0 0 44px; background: var(--navy); color: #fff; border-radius: 12px; padding: 4px; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.9; fill: none; }
[class$="-brand"] > span { font-size: 21px; line-height: 1.2; font-weight: 700; }
[class$="-brand"] > span > span { display: block; margin-top: 3px; font-size: 16px; font-weight: 450; color: var(--slate); }
[class$="-identity"] { font-size: 16px; border: 1px solid var(--line); border-radius: 8px; padding: 8px 12px; color: var(--slate); background: var(--surface); }
[class$="-tabs"] { position: sticky; top: 0; z-index: 10; background: var(--material); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); }
[class$="-tab-inner"] { max-width: 1200px; margin: 0 auto; padding: 8px 24px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
[class$="-tab"] { display: flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 12px; border-radius: 12px; font-size: 16px; line-height: 1.25; font-weight: 600; text-align: center; text-decoration: none; color: var(--slate); }
[class$="-tab"]:hover { background: var(--sky); color: var(--pressed); }
[class$="-tab"][aria-current="page"] { background: var(--blue); color: #fff; }
[class$="-tab"][aria-current="page"]:active { background: var(--pressed); }
[class$="-main"] { max-width: 1200px; margin: 0 auto; padding: 0 24px 64px; }
[class$="-hero"] { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: center; gap: 64px; padding: 64px 0 48px; }
[class$="-hero-copy"] { min-width: 0; }
[class$="-eyebrow"] { margin-bottom: 16px; font-size: 16px; line-height: 1.3; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; color: var(--navy); }
[class$="-lead"] { margin-top: 24px; font-size: 20px; line-height: 1.45; color: var(--slate); max-width: 42ch; }
[class$="-figure"] { min-width: 0; background: var(--surface); border-radius: 24px; padding: 16px 16px 24px; }
.intro-figure { background: var(--sky); }
[class$="-drawing"] { width: 100%; height: auto; fill: none; stroke: var(--navy); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
[class$="-line-accent"] { stroke: var(--blue); }
[class$="-line-muted"] { stroke: var(--navy); opacity: .3; }
figcaption { font-size: 16px; line-height: 1.45; text-align: center; color: var(--slate); max-width: 34ch; margin: 0 auto; }
[class$="-answers"] { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
:is(.intro-answer, .reader-answer, .cost-answer, .caution-answer, .notes-answer) { min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 28px; display: flex; flex-direction: column; align-items: stretch; }
:is(.intro-answer, .reader-answer, .cost-answer, .caution-answer, .notes-answer) h2 { margin-bottom: 20px; }
:is(.intro-answer, .reader-answer, .cost-answer, .caution-answer, .notes-answer) p { font-size: 18px; }
:is(.intro-source, .reader-source, .cost-source, .caution-source, .notes-source) { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; min-height: 52px; margin-top: 24px; border-top: 1px solid var(--line); padding: 14px 0 0; font-size: 16px; line-height: 1.35; text-decoration-thickness: 1px; }
[class$="-source"] > span:first-child { color: var(--slate); font-weight: 600; font-size: 16px; }
[class$="-source"] > span:last-child { align-self: center; font-size: 22px; text-decoration: none; }
.intro-tint { background: var(--sky); border-color: var(--sky); }
.intro-tint [class$="-source"] { color: var(--pressed); }
.intro-question-map { padding-top: 48px; }
.intro-section-heading { margin-bottom: 24px; }
.intro-section-heading .intro-eyebrow { margin-bottom: 8px; }
.intro-question-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.intro-route { position: relative; border-radius: 16px; background: var(--surface); color: var(--ink); padding: 24px 64px 24px 24px; text-decoration: none; min-height: 188px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.intro-route:hover { background: var(--sky); color: var(--ink); }
.intro-route p { font-size: 18px; color: var(--slate); }
.intro-route > span:last-child { position: absolute; right: 24px; bottom: 24px; font-size: 26px; color: var(--blue); }
.intro-chip { font-size: 16px; line-height: 1.2; font-weight: 600; border-radius: 8px; padding: 5px 10px; background: var(--track); color: #111827; }
.intro-route-care .intro-chip { background: var(--green); }
.intro-route-money .intro-chip { background: var(--orange); }
.intro-route-cautions .intro-chip { background: var(--purple); color: #111827; }
.intro-route-proof .intro-chip { background: var(--track); }
[class$="-next"] { margin-top: 32px; background: var(--sky); border: 1px solid var(--sky); border-radius: 16px; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 96px; text-decoration: none; }
[class$="-next"]:hover { border-color: var(--blue); }
[class$="-next-label"] { display: block; color: var(--slate); font-size: 16px; margin-bottom: 4px; }
[class$="-next"] strong { font-size: 22px; font-weight: 600; line-height: 1.3; }
[class$="-next"] > span:last-child { font-size: 28px; }

.reader-checklist { margin-top: 48px; border-radius: 24px; border: 1px solid var(--line); padding: 32px; background: var(--surface); scroll-margin-top: 24px; }
.reader-checklist-top { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-bottom: 24px; }
.reader-checklist-top .reader-eyebrow { margin-bottom: 8px; }
.reader-print { min-height: 48px; border: 0; border-radius: 12px; background: var(--blue); color: #fff; font-size: 16px; font-weight: 600; line-height: 1.3; padding: 12px 20px; flex-shrink: 0; }
.reader-print:hover:enabled, .reader-print:active:enabled { background: var(--pressed); }
.reader-print:disabled { color: var(--slate); background: var(--track); cursor: default; }
.reader-check-items { list-style: none; padding: 0; margin: 24px 0 16px; }
.reader-check-items li { border-top: 1px solid var(--line); }
.reader-check-items li:last-child { border-bottom: 1px solid var(--line); }
.reader-check-items label { display: flex; align-items: center; gap: 8px; min-height: 64px; font-size: 18px; line-height: 1.45; padding: 8px 0; cursor: pointer; }
.reader-check-items input { appearance: none; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; display: grid; place-items: center; cursor: pointer; color: var(--blue); }
.reader-check-items input::before { content: ""; display: grid; place-items: center; width: 22px; height: 22px; border: 2px solid var(--slate); border-radius: 4px; font-size: 20px; line-height: 1; }
.reader-check-items input:checked::before { content: "✓"; color: #fff; background: var(--blue); border-color: var(--blue); }
.reader-print-hint { font-size: 16px; color: var(--slate); }
.cost-quote, .notes-use { margin-top: 32px; padding: 32px; border-radius: 16px; background: var(--surface); }
.cost-quote h2, .notes-use h2 { margin-bottom: 20px; }
.cost-quote ul { padding-left: 24px; max-width: 70ch; }
.cost-quote li { padding: 8px 0; font-size: 18px; }
.caution-urgent { background: var(--alert-bg); border-color: var(--alert); border-left-width: 4px; }
.caution-urgent h2 { color: var(--alert); }
.lost-message { max-width: 640px; margin: 72px auto; }
.lost-message > p { margin: 24px 0; }
.lost-return { display: flex; align-items: center; min-height: 52px; width: fit-content; border-radius: 12px; background: var(--blue); color: #fff; padding: 12px 20px; margin-top: 16px; font-size: 18px; text-decoration: none; }
.lost-return:hover { background: var(--pressed); color: #fff; }
.lost-return-alt { background: var(--sky); color: var(--pressed); }

[class$="-footer"] { background: var(--surface); border-top: 1px solid var(--line); }
[class$="-footer-inner"] { max-width: 1200px; margin: 0 auto; padding: 32px 24px; display: flex; align-items: flex-start; justify-content: space-between; gap: 40px; }
[class$="-footer-inner"] > p { font-size: 16px; line-height: 1.5; color: var(--slate); max-width: 46ch; padding-top: 12px; }
[class$="-footer-links"] { display: flex; flex-direction: column; align-items: flex-start; }
[class$="-footer-links"] a { display: inline-flex; align-items: center; min-height: 48px; font-size: 16px; padding: 10px 0; }

@media (min-width: 1100px) {
  .intro-hero { padding-top: 72px; padding-bottom: 56px; }
  .intro-figure { padding: 20px 24px 28px; }
}

@media (max-width: 760px) {
  html { scroll-padding-top: 176px; }
  [class$="-header-inner"] { padding: 12px 20px; min-height: 80px; gap: 12px; }
  [class$="-identity"] { display: none; }
  [class$="-tab-inner"] { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 8px 16px; gap: 4px; }
  [class$="-tab"] { min-height: 44px; padding: 8px 10px; }
  [class$="-tab"]:last-child { grid-column: 1 / -1; }
  [class$="-main"] { padding: 0 20px 40px; }
  [class$="-hero"] { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 36px 0 28px; }
  h1 { font-size: 42px; line-height: 1.05; }
  h2 { font-size: 24px; }
  [class$="-lead"] { font-size: 19px; margin-top: 20px; }
  [class$="-figure"] { padding: 0 16px 20px; }
  [class$="-drawing"] { max-height: 184px; }
  figcaption { max-width: 31ch; }
  [class$="-answers"], .intro-question-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  :is(.intro-answer, .reader-answer, .cost-answer, .caution-answer, .notes-answer) { padding: 24px; }
  :is(.intro-answer, .reader-answer, .cost-answer, .caution-answer, .notes-answer) h2 { margin-bottom: 16px; }
  [class$="-source"] { column-gap: 8px; }
  .intro-question-map { padding-top: 32px; }
  .intro-route { min-height: 176px; padding: 24px 52px 24px 24px; }
  [class$="-next"] { padding: 24px; gap: 16px; }
  [class$="-next"] strong { font-size: 20px; }
  .reader-checklist { padding: 24px; margin-top: 32px; scroll-margin-top: 16px; }
  .reader-checklist-top { flex-direction: column; align-items: flex-start; gap: 20px; }
  .reader-print { width: 100%; }
  .reader-check-items label { align-items: flex-start; padding-top: 12px; padding-bottom: 12px; }
  .reader-check-items input { margin-top: -6px; }
  .cost-quote, .notes-use { padding: 24px; }
  [class$="-footer-inner"] { display: block; padding: 24px 20px; }
  [class$="-footer-inner"] > p { padding: 0; margin-bottom: 16px; }
  .lost-message { margin: 48px 0; }
}

@media (prefers-color-scheme: dark) {
  :root { --paper: #0f1419; --surface: #17212c; --sky: #132c43; --track: #283747; --line: #354454; --ink: #eaf0f7; --strong: #ffffff; --slate: #c0cbd7; --blue: #77baff; --pressed: #b4d9ff; --navy: #93c8ff; --material: rgba(15, 20, 25, .94); --alert-bg: #311c20; --alert: #ffb3aa; }
  [class$="-brand"] > svg { background: #005daa; }
  [class$="-tab"][aria-current="page"], .reader-print, .lost-return { background: #0072ce; color: #fff; }
  [class$="-tab"][aria-current="page"]:active, .reader-print:hover:enabled, .reader-print:active:enabled, .lost-return:hover { background: #005fa8; }
  .reader-check-items input:checked::before { background: #0072ce; border-color: #0072ce; }
  .lost-return-alt { background: var(--sky); color: var(--pressed); }
  .intro-route-proof .intro-chip { color: var(--ink); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}

@media print {
  :root { color-scheme: light; --paper: #fff; --surface: #fff; --sky: #fff; --ink: #111; --slate: #333; --line: #bbb; --strong: #111; --blue: #004c88; --navy: #004c88; }
  body { font-size: 16px; background: #fff; color: #111; }
  [class$="-header"], [class$="-tabs"], [class$="-footer"], [class$="-skip"], [class$="-figure"], [class$="-next"], .reader-print, .reader-print-hint { display: none !important; }
  [class$="-main"] { max-width: none; padding: 0; }
  [class$="-hero"] { display: block; padding: 12px 0 24px; }
  h1 { font-size: 32px; }
  h2 { font-size: 22px; }
  [class$="-answers"] { display: block; }
  :is(.intro-answer, .reader-answer, .cost-answer, .caution-answer, .notes-answer) { break-inside: avoid; margin-bottom: 16px; padding: 16px; }
  .reader-checklist { margin: 0; padding: 0; border: 0; background: #fff; }
  .reader-checklist-top { display: block; margin-bottom: 16px; }
  .reader-checklist > p { font-size: 16px; }
  .reader-check-items { margin-top: 16px; }
  .reader-check-items label { min-height: 56px; font-size: 16px; padding: 8px 0; }
  .reader-check-items li { break-inside: avoid; }
  .reader-main > :not(.reader-checklist) { display: none !important; }
  .reader-check-items input:checked::before { background: #fff; color: #111; border-color: #111; }
}
