/* AutóStart · direction c — «the car's file as a check report that tells you your next move»
   One type family (Manrope 500/700/800), navy for structure, signal yellow only for the one next action. */

:root {
  /* structure */
  --navy: #0E2547;        /* top bar, «Your move» strip, headings */
  --navy-2: #1A3866;      /* raised tiles on navy */
  --navy-3: #2B4C80;      /* outlines on navy */
  --on-navy: #FFFFFF;
  --on-navy-2: #C4D3EA;   /* secondary text on navy (10:1) */

  /* the one action colour */
  --yellow: #FFD43B;
  --yellow-hover: #FFC800;
  --yellow-press: #F0B800;

  /* links + secondary buttons */
  --blue: #1A5FCF;        /* 5.8:1 on white, 5.2:1 on page */
  --blue-hover: #124AA6;
  --blue-tint: #E7EFFC;
  --link-on-navy: #9CC3FF;

  /* surfaces */
  --page: #EEF3F9;        /* light cool band */
  --surface: #FFFFFF;
  --surface-2: #F6F9FC;
  --line: #D3DDEA;        /* borders of controls and blocks */
  --line-strong: #7D8BA0;  /* 3.4:1 on white: control borders */

  /* text */
  --ink: #14233A;
  --ink-2: #4A5A70;       /* 7:1 on white */
  --ink-3: #5F6E82;       /* captions, 5.1:1 on white */

  /* verdicts */
  --ok: #0E6F4E;          --ok-bg: #E2F3EB;
  --warn: #9F4806;        --warn-bg: #FFF4D6;
  --bad: #C62828;         --bad-bg: #FDECEC;
  --todo: #1A5FCF;        --todo-bg: #E7EFFC;
  --none: #56647A;        --none-bg: #E8EDF3;

  /* shape */
  --r-control: 6px;
  --r-block: 10px;
  --r-chip: 999px;

  --wrap: 1200px;
  --pad: 32px;
  --tap: 48px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", Arial, sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink);
  background: var(--page);
  -webkit-font-smoothing: antialiased;
  display: flex; flex-direction: column; min-height: 100vh;
}
body > main { flex: 1 0 auto; }
body > main, body > .wrap { width: 100%; }
h1, h2, h3, h4 { color: var(--navy); font-weight: 800; margin: 0; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: 36px; letter-spacing: -0.02em; }
h2 { font-size: 24px; }
h3 { font-size: 18px; }
p { margin: 0; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-hover); text-decoration: underline; text-underline-offset: 3px; }
b, strong { font-weight: 800; }
.num, .money { font-variant-numeric: tabular-nums; white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: var(--r-control); }
.on-navy :focus-visible, .topbar :focus-visible, .move :focus-visible, .hero :focus-visible { outline-color: var(--yellow); }

.i { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.i--sm { width: 20px; height: 20px; }
.i--xs { width: 16px; height: 16px; stroke-width: 2.25; }

.wrap { max-width: calc(var(--wrap) + var(--pad) * 2); margin: 0 auto; padding: 0 var(--pad); }

/* ---------- test strip ---------- */
.test-strip { background: var(--bad); color: #fff; font-weight: 700; font-size: 14px; text-align: center; padding: 6px 16px; }

/* ---------- top bar ---------- */
.topbar { background: var(--navy); color: var(--on-navy); }
.topbar__in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; font-size: 20px; letter-spacing: -0.02em; min-height: var(--tap); }
.brand:hover { color: #fff; text-decoration: none; }
.brand__mark { width: 30px; height: 30px; flex: none; }
.brand--ink { color: var(--navy); }
.brand--ink:hover { color: var(--navy); }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a, .nav button.nav__item { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 14px; color: var(--on-navy-2); font-weight: 700; font-size: 15px; border-radius: var(--r-control); background: none; border: 0; font-family: inherit; cursor: pointer; }
.nav a:hover { color: #fff; background: var(--navy-2); text-decoration: none; }
.nav a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--yellow); border-radius: 0; }
.nav__count { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 7px; border-radius: var(--r-chip); background: var(--navy-3); color: #fff; font-size: 12px; font-weight: 800; }
.nav__count--hot { background: var(--yellow); color: var(--navy); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--navy-3); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; }
.menu-btn { display: none; margin-left: auto; width: var(--tap); height: var(--tap); align-items: center; justify-content: center; background: none; border: 1px solid var(--navy-3); border-radius: var(--r-control); color: #fff; cursor: pointer; }
.topbar__org { color: var(--on-navy-2); font-weight: 700; font-size: 15px; padding-left: 16px; border-left: 1px solid var(--navy-3); max-width: 280px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--tap); padding: 0 20px;
  font: inherit; font-weight: 800; font-size: 16px; line-height: 1.2; text-align: center;
  border-radius: var(--r-control); border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn--primary { background: var(--yellow); color: var(--navy); border-color: var(--yellow); }
.btn--primary:hover { background: var(--yellow-hover); border-color: var(--yellow-hover); color: var(--navy); }
.btn--primary:active { background: var(--yellow-press); border-color: var(--yellow-press); }
.btn--lg { min-height: 56px; font-size: 17px; padding: 0 24px; }
.btn--block { width: 100%; }
.btn--secondary { background: var(--surface); color: var(--blue); border-color: var(--blue); }
.btn--secondary:hover { background: var(--blue-tint); color: var(--blue-hover); border-color: var(--blue-hover); }
.btn--on-navy { background: transparent; color: #fff; border-color: var(--on-navy-2); }
.btn--on-navy:hover { background: var(--navy-2); color: #fff; }
.btn--danger { background: var(--surface); color: var(--bad); border-color: var(--bad); }
.btn--danger:hover { background: var(--bad-bg); color: var(--bad); }
.btn--sm { min-height: 44px; padding: 0 14px; font-size: 15px; }
.btn[disabled], .btn.is-saving { cursor: progress; }
.btn.is-saving { background: #FFE58A; border-color: #FFE58A; }
.btn.is-saving::before { content: ""; flex: none; width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(14, 37, 71, 0.25); border-top-color: var(--navy); animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes run { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
@media (prefers-reduced-motion: reduce) { .btn.is-saving::before, .runline::after { animation-duration: 3s; } }

.link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--blue); min-height: 44px; }
.link--tap { min-height: var(--tap); }
.link--light { color: var(--link-on-navy); }
.link--light:hover { color: #fff; }
.link .i { width: 18px; height: 18px; }

/* ---------- fields ---------- */
.field { display: grid; gap: 6px; }
.label { font-weight: 800; color: var(--navy); font-size: 16px; }
.label small { font-weight: 500; color: var(--ink-3); font-size: 14px; }
.hint { font-size: 14px; color: var(--ink-2); }
.input, .textarea, .select {
  width: 100%; min-height: var(--tap); padding: 10px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 2px solid var(--line-strong); border-radius: var(--r-control);
}
.input, .select { height: var(--tap); }
.textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.input:hover, .textarea:hover, .select:hover { border-color: var(--ink-3); }
.input:focus, .textarea:focus, .select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px #B9D0F5; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230E2547' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 44px; }
.input-suffix { position: relative; }
.input-suffix .input { padding-right: 52px; text-align: right; font-variant-numeric: tabular-nums; font-weight: 700; }
.input-suffix__s { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); font-weight: 800; color: var(--ink-2); }
.is-error .input, .is-error .textarea, .is-error .select { border-color: var(--bad); }
.error-text { display: flex; gap: 8px; align-items: flex-start; color: var(--bad); font-weight: 700; font-size: 14px; }
.error-text .i { width: 18px; height: 18px; margin-top: 1px; }

.choice-cards { display: grid; gap: 8px; }
.choice-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border: 2px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); cursor: pointer; min-height: 56px; }
.choice-card input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.choice-card b { display: block; color: var(--navy); }
.choice-card span { display: block; font-size: 14px; color: var(--ink-2); }
.choice-card:has(input:checked) { border-color: var(--navy); background: var(--surface-2); }

.segmented { display: inline-flex; padding: 4px; gap: 4px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-control); flex-wrap: wrap; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; }
.segmented span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: var(--r-control); font-weight: 700; color: var(--ink-2); cursor: pointer; }
.segmented input:checked + span { background: var(--navy); color: #fff; }
.segmented input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.answer { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.answer button { min-height: var(--tap); min-width: 84px; padding: 0 16px; font: inherit; font-weight: 700; border: 2px solid var(--line-strong); border-radius: var(--r-control); background: var(--surface); color: var(--ink); cursor: pointer; }
.answer button[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.saved { display: inline-flex; align-items: center; gap: 4px; color: var(--ok); font-weight: 700; font-size: 14px; }
.saved .i { width: 18px; height: 18px; }

/* ---------- chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 6px; min-height: 26px; padding: 2px 10px; border-radius: var(--r-chip); font-size: 13px; font-weight: 800; line-height: 1.3; white-space: nowrap; background: var(--none-bg); color: var(--none); }
.chip .i { width: 14px; height: 14px; stroke-width: 2.5; }
.chip--ok { background: var(--ok-bg); color: var(--ok); }
.chip--warn { background: var(--warn-bg); color: var(--warn); }
.chip--bad { background: var(--bad-bg); color: var(--bad); }
.chip--todo { background: var(--todo-bg); color: var(--todo); }
.chip--navy { background: var(--navy); color: #fff; }
.chip--line { background: var(--surface); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-strong); }
.chip--you { background: var(--yellow); color: var(--navy); }

/* ---------- blocks ---------- */
.panel { background: var(--surface); border-radius: var(--r-block); padding: 24px; }
.panel--tight { padding: 16px 20px; }
.panel__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.panel h3 { font-size: 18px; }
.muted { color: var(--ink-2); }
.caption { font-size: 13px; color: var(--ink-3); }
.small { font-size: 14px; }

/* ---------- «Your move» strip ---------- */
.move { background: var(--navy); color: var(--on-navy); border-radius: var(--r-block); padding: 24px 28px; display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; align-items: center; }
.move__label { display: inline-flex; align-items: center; gap: 8px; color: var(--yellow); font-weight: 800; font-size: 15px; margin-bottom: 4px; }
.move__label .i { width: 20px; height: 20px; }
.move__what { color: #fff; font-size: 24px; font-weight: 800; line-height: 1.25; letter-spacing: -0.01em; }
.move__when { color: #fff; font-size: 17px; font-weight: 700; margin-top: 4px; }
.move__note { color: var(--on-navy-2); font-size: 15px; margin-top: 10px; }
.move__note a { color: var(--link-on-navy); font-weight: 700; }
.move__note a:hover { color: #fff; }
.move__actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; min-width: 260px; }

/* ---------- report section row ---------- */
.report { display: grid; gap: 8px; }
.sec { display: grid; grid-template-columns: 40px 1fr auto; gap: 4px 16px; align-items: center; background: var(--surface); border-radius: var(--r-block); padding: 16px 20px; color: var(--ink); position: relative; }
a.sec:hover { text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 2px var(--blue); }
a.sec:hover .sec__go { color: var(--blue-hover); }
.sec__icon { width: 40px; height: 40px; border-radius: var(--r-block); display: flex; align-items: center; justify-content: center; background: var(--none-bg); color: var(--none); align-self: start; }
.sec__icon .i { width: 22px; height: 22px; stroke-width: 2.25; }
.sec--ok .sec__icon { background: var(--ok-bg); color: var(--ok); }
.sec--warn .sec__icon { background: var(--warn-bg); color: var(--warn); }
.sec--bad .sec__icon { background: var(--bad-bg); color: var(--bad); }
.sec--todo .sec__icon { background: var(--todo-bg); color: var(--todo); }
.sec--now { box-shadow: inset 4px 0 0 var(--navy); }
.sec--now .sec__icon { background: var(--navy); color: var(--yellow); }
.sec--later .sec__title { color: var(--ink-2); }
.sec__title { font-weight: 800; font-size: 17px; color: var(--navy); display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.sec__verdict { font-size: 15px; color: var(--ink-2); margin-top: 2px; }
.sec__verdict b { font-weight: 800; }
.v-ok { color: var(--ok); } .v-warn { color: var(--warn); } .v-bad { color: var(--bad); } .v-todo { color: var(--todo); } .v-none { color: var(--none); } .v-now { color: var(--navy); }
.sec__go { display: inline-flex; align-items: center; gap: 4px; font-weight: 700; font-size: 15px; color: var(--blue); white-space: nowrap; min-height: var(--tap); }
.sec__go .i { width: 18px; height: 18px; }
.sec__body { grid-column: 2 / -1; margin-top: 12px; }

.group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 24px 0 10px; }
.group-head:first-child { margin-top: 0; }
.group-head h3 { font-size: 17px; }
.group-head span { font-size: 14px; color: var(--ink-2); }

/* ---------- tracker (6 segments) ---------- */
.tracker { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
.tracker a { display: block; color: var(--ink-2); padding-bottom: 4px; min-height: var(--tap); }
.tracker a:hover { text-decoration: none; color: var(--navy); }
.tracker__bar { display: block; height: 8px; border-radius: var(--r-control); background: #D3DDEA; margin-bottom: 8px; }
.tracker__name { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: 15px; color: inherit; }
.tracker__name .i { width: 16px; height: 16px; stroke-width: 2.5; }
.tracker__state { display: block; font-size: 13px; font-weight: 700; color: var(--ink-3); }
.tracker .is-done .tracker__bar { background: var(--ok); }
.tracker .is-done a { color: var(--ok); }
.tracker .is-done .tracker__state { color: var(--ok); }
.tracker .is-now .tracker__bar { position: relative; overflow: hidden; background: #8DA3C4; }
.tracker .is-now .tracker__bar::after { content: ""; position: absolute; inset: 0 50% 0 0; background: var(--navy); }
.tracker .is-now a { color: var(--navy); }
.tracker .is-now .tracker__state { color: var(--navy); }
.tracker-phone { display: none; }
.mini-track { display: grid; grid-template-columns: repeat(6, 1fr); gap: 3px; width: 100%; }
.mini-track span { height: 6px; border-radius: var(--r-control); background: #D3DDEA; }
.mini-track .d { background: var(--ok); }
.mini-track .n { background: var(--navy); }

/* ---------- sticky phone bar ---------- */
.sticky-cta { display: none; }
.sticky-demo { position: relative; background: var(--surface); padding: 12px 16px 16px; border-radius: var(--r-block); box-shadow: 0 -6px 20px rgba(14, 37, 71, 0.14); display: grid; gap: 8px; max-width: 390px; }
.sticky-err { display: flex; align-items: center; gap: 8px; color: var(--bad); font-weight: 700; font-size: 14px; justify-content: center; }
.sticky-err .i { width: 18px; height: 18px; }

/* ---------- footer ---------- */
.footer { margin-top: 64px; padding: 28px 0 40px; background: var(--surface); }
.footer__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.footer nav a { display: inline-flex; align-items: center; min-height: var(--tap); padding: 0 8px; color: var(--ink-2); font-weight: 700; font-size: 15px; }
.footer nav a:hover { color: var(--blue); }
.footer .brand { font-size: 18px; }
.footer .caption { width: 100%; }

/* ---------- page header (case screens) ---------- */
.back { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; min-height: var(--tap); color: var(--blue); }
.back .i { width: 20px; height: 20px; }
.car-head { display: grid; grid-template-columns: 1fr auto; gap: 16px 40px; align-items: start; }
.car-head h1 { line-height: 1.1; }
.car-head__facts .car-head__ad { min-height: 0; font-size: 15px; }
.car-head h1 { font-size: 32px; }
.car-head__facts { margin-top: 8px; color: var(--ink-2); font-size: 15px; display: flex; flex-wrap: wrap; gap: 4px 16px; }
.price-block { text-align: right; }
.price-block__price { font-size: 32px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.price-block__monthly { font-weight: 700; font-size: 17px; color: var(--ink); font-variant-numeric: tabular-nums; margin-top: 4px; }
.price-block__basis { font-size: 13px; color: var(--ink-3); }
.price-block__links { display: flex; gap: 16px; justify-content: flex-end; flex-wrap: wrap; margin-top: 4px; }

.title-clamp { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- side blocks ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; padding-bottom: 14px; position: relative; }
.timeline li::before { content: ""; position: absolute; left: 7px; top: 18px; bottom: 0; width: 2px; background: var(--line); }
.timeline li:last-child::before { display: none; }
.timeline__dot { width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--ok); background: var(--surface); margin-top: 3px; position: relative; z-index: 1; }
.timeline li:first-child .timeline__dot { border-color: var(--navy); background: var(--yellow); }
.timeline b { display: block; font-weight: 700; font-size: 15px; color: var(--ink); }
.timeline span { font-size: 14px; color: var(--ink-3); }

.linkrow { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 4px; color: var(--ink); font-weight: 700; }
.linkrow + .linkrow { border-top: 1px solid var(--line); }
.linkrow .i:first-child { color: var(--navy); }
.linkrow__n { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--ink-3); font-weight: 700; }
.linkrow:hover { text-decoration: none; color: var(--blue); }

/* ---------- tables ---------- */
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; font-weight: 800; color: var(--ink-2); padding: 10px 12px; background: var(--surface-2); }
.table td { padding: 12px; border-top: 1px solid var(--line); vertical-align: top; }
.table .r { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table-scroll { overflow-x: auto; position: relative; }

/* ---------- toasts, banners, states ---------- */
.banner { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-radius: var(--r-block); background: var(--surface); font-size: 15px; }
.banner .i:first-child { color: var(--navy); }
.banner--warn { background: var(--warn-bg); color: #5A2A03; }
.banner--warn .i:first-child { color: var(--warn); }
.banner--bad { background: var(--bad-bg); color: #6E1212; }
.banner--bad .i:first-child { color: var(--bad); }
.banner--info { background: var(--todo-bg); color: var(--navy); }
.toast { display: inline-flex; align-items: center; gap: 16px; background: var(--navy); color: #fff; padding: 12px 16px 12px 14px; border-radius: var(--r-block); font-weight: 700; flex-wrap: wrap; }
.toast .i:first-child { color: #7EE2B8; }
.runline { position: relative; height: 4px; background: #D3DDEA; border-radius: var(--r-control); overflow: hidden; }
.runline::after { content: ""; position: absolute; top: 0; bottom: 0; width: 35%; background: var(--navy); animation: run 1.2s linear infinite; }
.progress { height: 6px; background: #D3DDEA; border-radius: var(--r-control); overflow: hidden; }
.progress span { display: block; height: 100%; background: var(--blue); }
.skel { background: #E3E9F1; border-radius: var(--r-control); height: 14px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .nav { display: none; }
  .menu-btn { display: inline-flex; }
}
@media (max-width: 900px) {
  :root { --pad: 16px; }
  h1 { font-size: 28px; }
  .car-head { grid-template-columns: 1fr; gap: 12px; }
  .car-head h1 { font-size: 26px; }
  .price-block { text-align: left; }
  .price-block__price { font-size: 28px; }
  .price-block__links { justify-content: flex-start; }
  .move { grid-template-columns: 1fr; padding: 20px; }
  .move__what { font-size: 21px; }
  .move__actions { min-width: 0; }
  .move .btn--primary.has-sticky, .move__actions .inline-form:has(> .has-sticky) { display: none; }
  .tracker { display: none; }
  .tracker-phone { display: block; }
  .sec { padding: 14px 16px; gap: 2px 12px; }
  .sec__go-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .panel { padding: 20px 16px; }
  .sticky-cta { display: grid; gap: 8px; position: sticky; bottom: 0; z-index: 20; background: var(--surface); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(14, 37, 71, 0.16); }
  .footer { margin-top: 40px; }
  .footer nav { width: 100%; margin-left: -8px; display: grid; grid-template-columns: repeat(3, max-content); }
}

/* =========================================================
   Home (S01)
   ========================================================= */
.hero { background: var(--navy); color: #fff; padding: 48px 0 56px; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.hero h1 { color: #fff; font-size: 48px; line-height: 1.08; letter-spacing: -0.025em; max-width: 680px; }
.hero__lead { color: var(--on-navy-2); font-size: 19px; margin-top: 14px; max-width: 640px; }
.paste { margin-top: 28px; background: var(--surface); border-radius: var(--r-block); padding: 20px; display: grid; gap: 8px; }
.paste .textarea { min-height: 112px; }
.paste__foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 4px; }
.hero__still { margin-top: 12px; font-size: 16px; }
.hero__next { background: var(--navy-2); border-radius: var(--r-block); padding: 24px; margin-top: 6px; }
.hero__date { font-size: 30px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-top: 4px; }
.hero__what { font-weight: 700; font-size: 17px; margin-top: 8px; }
.hero__where { display: flex; gap: 6px; align-items: center; color: var(--on-navy-2); font-size: 15px; margin-top: 2px; }
.hero__checks { list-style: none; margin: 16px 0 4px; padding: 14px 0 0; border-top: 1px solid var(--navy-3); display: grid; gap: 10px; font-size: 15px; color: var(--on-navy-2); }
.hero__checks li { display: flex; gap: 10px; align-items: flex-start; }
.hero__checks b { color: #fff; font-weight: 700; }
.hero__ic { width: 24px; height: 24px; border-radius: var(--r-control); background: var(--navy-3); color: #fff; display: inline-flex; align-items: center; justify-content: center; flex: none; }

.cars { margin-top: 40px; }
.cars__head { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-bottom: 16px; }
.cars__all { margin-left: auto; }
.tabs { display: inline-flex; gap: 4px; }
.tabs button { font: inherit; font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 14px; background: none; border: 0; border-radius: var(--r-control); color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.tabs button[aria-selected="true"] { background: var(--surface); color: var(--navy); box-shadow: inset 0 -3px 0 var(--navy); border-radius: var(--r-control) var(--r-control) 0 0; }
.tabs__n { display: inline-flex; min-width: 22px; height: 22px; padding: 0 7px; align-items: center; justify-content: center; border-radius: var(--r-chip); background: var(--none-bg); color: var(--ink); font-size: 12px; font-weight: 800; }
.tabs button[aria-selected="true"] .tabs__n { background: var(--navy); color: #fff; }

.cars__list { display: grid; gap: 12px; }
.car { display: grid; grid-template-columns: minmax(0, 1fr) 220px 230px; gap: 12px 32px; align-items: center; background: var(--surface); border-radius: var(--r-block); padding: 20px 24px 0; color: var(--ink); overflow: hidden; }
.car:hover { text-decoration: none; color: var(--ink); box-shadow: inset 0 0 0 2px var(--blue); }
.car__title { font-size: 20px; }
.car__meta { color: var(--ink-2); font-size: 15px; margin-top: 4px; }
.car__stage { display: grid; gap: 8px; }
.car__stage-label { font-size: 14px; color: var(--ink-2); }
.car__stage-label b { color: var(--navy); }
.car__price { text-align: right; display: grid; font-variant-numeric: tabular-nums; }
.car__price b { font-size: 22px; color: var(--navy); letter-spacing: -0.01em; }
.car__price span.money { font-weight: 700; font-size: 15px; }
.car__move { grid-column: 1 / -1; margin: 4px -24px 0; padding: 12px 24px; display: flex; align-items: center; gap: 12px; font-size: 16px; min-height: 52px; }
.car__move--you { background: var(--navy); color: #fff; }
.car__move--you b { color: var(--yellow); }
.car__move--you .i:first-child { color: var(--yellow); }
.car__move--wait { background: var(--none-bg); color: var(--ink); }
.car__move--wait .i:first-child { color: var(--none); }
.car__open { margin-left: auto; display: inline-flex; align-items: center; gap: 2px; font-weight: 700; white-space: nowrap; font-size: 15px; }
.car__move--you .car__open { color: var(--link-on-navy); }
.car__move--wait .car__open { color: var(--blue); }
.car--closed .car__title { color: var(--ink-2); }

.helps { background: var(--surface); margin-top: 56px; padding: 48px 0 56px; }
.helps__head { display: grid; grid-template-columns: 300px minmax(0, 620px); gap: 32px; align-items: baseline; margin-bottom: 32px; }
.path { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.path li { position: relative; padding-top: 60px; }
.path li::before { content: ""; position: absolute; top: 19px; left: 52px; right: -20px; height: 2px; background: var(--line-strong); }
.path li:last-child::before { display: none; }
.path__n { position: absolute; top: 0; left: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 17px; display: flex; align-items: center; justify-content: center; }
.path h3 { font-size: 19px; }
.path p { color: var(--ink-2); margin-top: 6px; }
.footer--flush { margin-top: 0; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .hero__in { grid-template-columns: 1fr; }
  .hero__next { display: none; }
}
@media (max-width: 900px) {
  .hero { padding: 28px 0 32px; }
  .hero h1 { font-size: 32px; }
  .hero__lead { font-size: 17px; margin-top: 10px; }
  .paste { margin-top: 20px; padding: 16px; }
  .paste__foot { flex-direction: column; align-items: stretch; }
  .paste__foot .btn { width: 100%; }
  .cars { margin-top: 28px; }
  .cars__head { gap: 8px 16px; }
  .cars__head h2 { width: 100%; }
  .cars__all { margin-left: 0; }
  .car { grid-template-columns: 1fr; padding: 16px 16px 0; gap: 12px; }
  .car__price { text-align: left; grid-row: 2; }
  .car__move { margin: 4px -16px 0; padding: 12px 16px; align-items: flex-start; flex-wrap: wrap; }
  .car__move > span:nth-child(2) { flex: 1 1 200px; }
  .car__open { display: none; }
  .car__title { font-size: 18px; }
  .helps { margin-top: 40px; padding: 32px 0 36px; }
  .helps__head { grid-template-columns: 1fr; gap: 8px; margin-bottom: 24px; }
  .path { grid-template-columns: 1fr; gap: 24px; }
  .path li { padding: 0 0 0 60px; min-height: 40px; }
  .path li::before { top: 48px; bottom: -20px; left: 19px; right: auto; width: 2px; height: auto; }
}
[hidden] { display: none !important; }

/* =========================================================
   Case (S03) + Analysis (S04)
   ========================================================= */
.page { padding-top: 16px; }
.page > .back { margin-bottom: 4px; }
.car-head__where { display: inline-flex; align-items: center; gap: 4px; }
.track-wrap { margin: 28px 0 20px; }
.mini-track--lg span { height: 8px; }
.tracker-phone p { margin-top: 8px; font-size: 15px; }
.tracker-phone b { color: var(--navy); }

.case-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; margin-top: 32px; align-items: start; }
.case-side { display: grid; gap: 16px; }
.report-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.report-sum { display: flex; gap: 6px; flex-wrap: wrap; }
.seller { margin-bottom: 8px; }
.seller__name { font-weight: 800; font-size: 17px; color: var(--navy); }
.seller__ask { margin-top: 16px; }

@media (max-width: 900px) {
  .track-wrap { margin: 20px 0 16px; }
  .case-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
  .report-head { margin-bottom: 12px; }
}

/* analysis */
.btn-reset { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; cursor: pointer; }
.guest { margin-top: 16px; background: var(--surface); }
.guest__acts { margin-left: auto; display: flex; align-items: center; gap: 8px 20px; flex-wrap: wrap; }
.move__yes { color: var(--yellow); }
.sec h3.sec__title { font-size: 17px; }
.claims { display: grid; gap: 8px; }
.claim { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 4px 16px; align-items: center; padding: 12px 16px; background: var(--surface-2); border-radius: var(--r-control); }
.claim__main b { display: block; color: var(--navy); font-weight: 800; }
.claim__q { display: block; color: var(--ink-2); font-size: 15px; }
.claim > .chip { justify-self: end; }
.claim__how summary { list-style: none; display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--blue); font-weight: 700; font-size: 15px; cursor: pointer; }
.claim__how summary::-webkit-details-marker { display: none; }
.claim__how[open] summary .i { transform: rotate(180deg); }
.claim__how p { font-size: 15px; padding: 10px 12px; background: var(--surface); border-radius: var(--r-control); border-left: 4px solid var(--navy); margin-bottom: 4px; }
.claim__how { grid-column: 1 / -1; grid-row: 2; }
.claim__attach { grid-column: 2; grid-row: 2; justify-self: end; align-self: start; min-height: 44px; font-size: 15px; position: relative; }
.claims__note { margin-top: 4px; }
.qs { margin: 0 0 4px; padding: 0; list-style: none; counter-reset: q; display: grid; gap: 8px; }
.qs li { counter-increment: q; display: grid; grid-template-columns: 28px 1fr; gap: 10px; align-items: start; }
.qs li::before { content: counter(q); width: 28px; height: 28px; border-radius: 50%; background: var(--todo-bg); color: var(--todo); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px 16px; margin: 12px 0 0; }
.facts dt { font-size: 13px; color: var(--ink-3); font-weight: 700; }
.facts dd { margin: 0; font-weight: 800; color: var(--navy); }
.adtext { font-size: 15px; line-height: 1.7; color: var(--ink); }
.adtext mark { background: var(--warn-bg); color: var(--ink); padding: 1px 0; box-shadow: inset 0 -2px 0 #E0A100; }
.side-h { font-size: 18px; padding: 8px 4px 4px; }

@media (max-width: 900px) {
  .guest { align-items: flex-start; }
  .guest__acts { margin-left: 0; width: 100%; justify-content: space-between; }
  .claim { grid-template-columns: 1fr auto; padding: 12px; }
  .sec__body { grid-column: 1 / -1; }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* =========================================================
   Frame: skip link, menu sheet, toast, offline line
   ========================================================= */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip { position: absolute; left: 8px; top: -80px; z-index: 50; background: var(--yellow); color: var(--navy); font-weight: 800; padding: 12px 16px; border-radius: var(--r-control); }
.skip:focus { top: 8px; text-decoration: none; color: var(--navy); }
.sheet { background: var(--navy-2); display: grid; padding: 8px var(--pad) 16px; gap: 2px; }
.sheet a { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 12px; color: #fff; font-weight: 700; border-radius: var(--r-control); }
.sheet a:hover { background: var(--navy-3); text-decoration: none; color: #fff; }
.sheet a[aria-current="page"] { box-shadow: inset 4px 0 0 var(--yellow); }
.sheet .nav__count { margin-left: auto; }
@media (min-width: 1001px) { .sheet { display: none; } }
.toast-wrap { margin-top: 16px; }
.toast:focus { outline: none; }
.toast-wrap--float { position: fixed; left: 0; right: 0; bottom: 16px; z-index: 40; margin: 0; pointer-events: none; }
.toast-wrap--float .toast { pointer-events: auto; box-shadow: 0 8px 24px rgba(14, 37, 71, 0.25); }
.net-banner { border-radius: 0; justify-content: center; position: sticky; top: 0; z-index: 30; }
.net-banner > span:first-of-type { flex: 0 1 auto; }
.banner > span:first-of-type { flex: 1 1 200px; min-width: 0; }
.answer button.is-problem[aria-pressed="true"] { background: var(--bad); border-color: var(--bad); }

/* states */
.empty { display: grid; justify-items: start; gap: 12px; }
.empty > .i { width: 40px; height: 40px; color: var(--ink-3); stroke-width: 1.75; }
.empty b { color: var(--navy); }
.load-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 15px; color: var(--ink-3); }
.load-steps li { display: flex; align-items: center; gap: 10px; }
.load-steps__d { width: 10px; height: 10px; border-radius: 50%; background: #D3DDEA; flex: none; }
.load-steps .is-now { color: var(--navy); font-weight: 800; }
.load-steps .is-now .load-steps__d { background: var(--navy); }
.load-steps .is-done { color: var(--ok); }
.load-steps .is-done .load-steps__d { background: var(--ok); }

/* tracker without a link, closed tracker */
.tracker .tracker__item { display: block; color: var(--ink-2); padding-bottom: 4px; min-height: var(--tap); }
.tracker .is-done .tracker__item { color: var(--ok); }
.tracker .is-now .tracker__item { color: var(--navy); }
.track-wrap--closed .tracker__name, .track-wrap--closed .tracker__state { color: var(--ink-3); }
.price-block__price--none { font-size: 20px; color: var(--ink-2); letter-spacing: 0; }
.move--closed .move__label { color: var(--on-navy-2); }
.vin { letter-spacing: 0.04em; overflow-wrap: anywhere; white-space: normal; }

/* tabs as links (My cars) */
.tabs a { font-weight: 700; font-size: 15px; min-height: 44px; padding: 0 14px; border-radius: var(--r-control); color: var(--ink-2); display: inline-flex; align-items: center; gap: 8px; }
.tabs a:hover { text-decoration: none; color: var(--navy); }
.tabs a[aria-selected="true"] { background: var(--surface); color: var(--navy); box-shadow: inset 0 -3px 0 var(--navy); border-radius: var(--r-control) var(--r-control) 0 0; }
.tabs a[aria-selected="true"] .tabs__n { background: var(--navy); color: #fff; }
.tabs--links { display: flex; margin: 20px 0 12px; }

/* =========================================================
   Pages, forms
   ========================================================= */
.page { padding-bottom: 8px; }
.page--narrow { max-width: calc(720px + var(--pad) * 2); }
.page > h1 { margin-top: 8px; }
.lead { font-size: 17px; margin: 8px 0 24px; max-width: 640px; }
.page-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; margin-top: 8px; }
.page > .banner { margin-bottom: 16px; }
.more { margin-top: 16px; display: flex; justify-content: center; }
.hero__in--single { grid-template-columns: minmax(0, 1fr); }
.hero__main, .case-main, .car__info { min-width: 0; }
.guest__txt { flex: 1 1 260px; min-width: 0; }
.inline-form { display: inline; margin: 0; }
.move__actions .inline-form, .sticky-cta .inline-form { display: grid; }
.move__note--clear { display: flex; gap: 8px; align-items: flex-start; color: #fff; }
.move__note--clear .i { flex: none; margin-top: 3px; color: var(--yellow); }
@media (max-width: 760px) {
  .toast-wrap { margin-top: 8px; }
  .toast { gap: 8px; padding: 8px 12px; font-size: 14px; font-weight: 600; line-height: 1.35; }
}
.break { overflow-wrap: anywhere; }

.form { display: grid; gap: 24px; }
.form.panel { gap: 20px; }
.form-block { border: 0; padding: 0; margin: 0; display: grid; gap: 16px; min-width: 0; }
.form-block__h { font-size: 20px; font-weight: 800; color: var(--navy); padding: 0; margin: 0 0 4px; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; }
.form-grid__wide { grid-column: 1 / -1; }
.form-more { background: var(--surface); border-radius: var(--r-block); padding: 4px 20px; }
.form-more[open] { padding-bottom: 20px; }
.form-more summary, .qcard__note summary, .danger summary { list-style: none; display: flex; align-items: center; gap: 6px; min-height: var(--tap); font-weight: 800; color: var(--blue); cursor: pointer; }
.form-more summary::-webkit-details-marker, .qcard__note summary::-webkit-details-marker, .danger summary::-webkit-details-marker { display: none; }
.form-more summary .muted { font-weight: 500; }
.form-more[open] summary .i, .qcard__note[open] summary .i, .danger[open] summary .i { transform: rotate(180deg); }
.form-more > .form-grid, .form-more > .field { margin-top: 8px; }
.form-actions { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.form-actions .sticky-err { width: 100%; justify-content: flex-start; }
.form-tight { display: grid; gap: 12px; margin-top: 12px; }
.kept { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--ink-2); font-size: 15px; }
.kept > span { display: flex; align-items: center; gap: 6px; min-width: 0; }
.kept__url { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.btn--ghost { background: transparent; color: var(--blue); border-color: transparent; }
.btn--ghost:hover { background: var(--blue-tint); color: var(--blue-hover); }
.check { display: flex; gap: 12px; align-items: flex-start; min-height: var(--tap); padding-top: 4px; cursor: pointer; }
.check input[type="checkbox"] { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--navy); flex: none; }
.field--code .input { max-width: 240px; font-size: 26px; font-weight: 800; letter-spacing: 0.3em; text-align: center; font-variant-numeric: tabular-nums; }
.test-note { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; padding: 10px 12px; background: var(--warn-bg); color: #5A2A03; border-radius: var(--r-control); }
.test-note .i { color: var(--warn); }
.resend { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 12px; margin-top: 12px; }
.btn-reset[disabled] { color: var(--ink-3); cursor: default; }

/* home: the wait while the ad link is read */
.paste__wait { display: grid; gap: 12px; margin-top: 8px; }
.paste__slow { display: grid; gap: 10px; padding: 12px 16px; background: var(--warn-bg); color: #5A2A03; border-radius: var(--r-control); }
.paste__slow-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }

/* =========================================================
   Phone check (S05) and its result (S06)
   ========================================================= */
.call-tip { margin: -8px 0 16px; }
.qlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.qcard { background: var(--surface); border-radius: var(--r-block); padding: 16px 20px; scroll-margin-top: 16px; }
.qcard:target { box-shadow: inset 0 0 0 2px var(--blue); }
.qcard__form { display: grid; gap: 12px; }
.qcard__head { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; align-items: start; }
.qcard__n { width: 32px; height: 32px; border-radius: 50%; background: var(--todo-bg); color: var(--todo); font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.qcard__q { font-weight: 800; font-size: 17px; color: var(--navy); overflow-wrap: anywhere; }
.qcard__text .caption { margin-top: 2px; overflow-wrap: anywhere; }
.qcard .answer, .qcard__hint, .qcard__more, .qcard__form > .error-text { margin-left: 44px; }
.qcard__hint { padding: 8px 12px; background: var(--todo-bg); color: var(--navy); border-radius: var(--r-control); }
.qcard__more { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px 12px; flex-wrap: wrap; }
.qcard__note { flex: 1 1 260px; min-width: 0; }
.qcard__note summary { min-height: 44px; font-size: 15px; }
.qcard__note .field { margin-top: 4px; }
.qcard__note .btn { justify-self: start; }
.qcard__tools { display: flex; gap: 4px; margin-left: auto; }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-control); color: var(--navy); cursor: pointer; }
.icon-btn:hover { background: var(--blue-tint); }
.icon-btn[disabled] { opacity: 0.35; cursor: default; background: var(--surface); }
.i--up { transform: rotate(-90deg); }
.i--down { transform: rotate(90deg); }
.i--lg { width: 48px; height: 48px; stroke-width: 1.75; color: var(--navy); }
.answer button[disabled] { cursor: default; opacity: 0.7; }
.answer button[disabled][aria-pressed="true"] { opacity: 1; }
.add-q { margin-top: 16px; display: grid; gap: 12px; }
.add-q .btn { justify-self: start; }
.finish { margin-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px 32px; flex-wrap: wrap; padding: 20px 24px; background: var(--surface); border-radius: var(--r-block); box-shadow: inset 4px 0 0 var(--navy); }
.finish__t { font-weight: 800; font-size: 18px; color: var(--navy); }

.result-sec { display: grid; gap: 16px; background: var(--surface); border-radius: var(--r-block); padding: 20px 24px; }
@supports selector(:has(a)) {
  .result-sec { display: none; }
  [data-result-form]:has(input[name="result"][value="viewing"]:checked) .result-sec[data-for="viewing"],
  [data-result-form]:has(input[name="result"][value="missing"]:checked) .result-sec[data-for="missing"],
  [data-result-form]:has(input[name="result"][value="closed"]:checked) .result-sec[data-for="closed"] { display: grid; }
}
fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field > legend { padding: 0; margin-bottom: 6px; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick__item { position: relative; display: inline-flex; }
.pick__item input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick__item span { display: inline-flex; align-items: center; gap: 8px; min-height: var(--tap); padding: 0 16px; border: 2px solid var(--line-strong); border-radius: var(--r-chip); background: var(--surface); font-weight: 700; color: var(--ink); cursor: pointer; }
.pick__item span:hover { border-color: var(--ink-3); }
.pick__item input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; }
.pick__item input[type="checkbox"]:checked + span::before { content: ""; width: 10px; height: 5px; border-left: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor; transform: translateY(-2px) rotate(-45deg); }
.pick__item input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }
.is-error .pick__item span { border-color: var(--bad); }
.is-error .choice-card { border-color: var(--bad); }

/* =========================================================
   Help, legal, feedback, account, links
   ========================================================= */
.help-grid { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 32px; align-items: start; }
.help-toc { position: sticky; top: 16px; padding: 12px 16px; }
.help-toc ol { list-style: none; margin: 0; padding: 0; display: grid; }
.help-toc a { min-height: 44px; }
.help-body { display: grid; gap: 12px; min-width: 0; }
.help-topic { background: var(--surface); border-radius: var(--r-block); padding: 24px; scroll-margin-top: 16px; }
.help-topic:target { box-shadow: inset 4px 0 0 var(--navy); }
.help-topic h2 { font-size: 20px; }
.help-topic p { margin-top: 8px; max-width: 68ch; }
.help-topic .btn { margin-top: 16px; }
.prose section { margin-top: 28px; }
.prose h2 { font-size: 20px; }
.prose p { margin-top: 8px; max-width: 68ch; }
.done-box { display: grid; justify-items: start; gap: 12px; padding: 32px; margin-top: 16px; }
.done-box h1 { font-size: 30px; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 8px; }
.share { display: grid; gap: 12px; }
.share__url { text-overflow: ellipsis; font-size: 15px; }
.acct-sec { margin-top: 16px; display: grid; gap: 12px; justify-items: start; }
.acct-row { display: flex; flex-wrap: wrap; gap: 12px; }
.danger summary { color: var(--bad); }
.danger form { display: grid; gap: 12px; margin-top: 12px; justify-items: start; width: 100%; }
.danger form .field { width: 100%; max-width: 320px; }

@media (max-width: 1000px) {
  .help-grid { grid-template-columns: 1fr; gap: 16px; }
  .help-toc { position: static; }
}
@media (max-width: 900px) {
  .lead { font-size: 16px; margin-bottom: 20px; }
  .form-grid { grid-template-columns: 1fr; }
  .form-more { padding: 4px 16px; }
  .form-more[open] { padding-bottom: 16px; }
  .btn--block-phone { width: 100%; }
  .btn.has-sticky { display: none; }
  .form-actions .btn--ghost { width: 100%; }
  .qcard { padding: 14px 16px; }
  .qcard .answer, .qcard__hint, .qcard__more, .qcard__form > .error-text { margin-left: 0; }
  .answer button { flex: 1 1 0; min-width: 0; padding: 0 8px; }
  .answer .saved { width: 100%; }
  .finish { padding: 16px; }
  .result-sec { padding: 16px; }
  .help-topic { padding: 20px 16px; }
  .done-box { padding: 24px 16px; }
  .done-box h1 { font-size: 24px; }
  .acts .btn { flex: 1 1 100%; }
  .page-head .btn { width: 100%; }
  .tabs--links { margin-top: 16px; }
}

/* A first visit has no cars: the explanation sits right under the hero. */
.hero + .helps { margin-top: 0; }

/* S06: what the call flagged */
.call-sum { margin-top: 20px; background: var(--warn-bg); color: #5A2A03; border-radius: var(--r-block); padding: 16px 20px; }
.call-sum__h { display: flex; align-items: center; gap: 8px; font-size: 18px; color: #5A2A03; }
.call-sum__h .i { color: var(--warn); }
.call-sum__list { margin: 8px 0 0; padding: 0 0 0 20px; display: grid; gap: 8px; }
.call-sum__list b { color: #5A2A03; }
.call-sum__list .link { display: flex; width: max-content; }
@media (max-width: 900px) {
  .has-sticky-bar :is(input, select, textarea, .choice-card, .pick__item) { scroll-margin-bottom: 140px; }
}

/* The buyer's phone: bottom tab bar; the case's sticky action bar sits right above it. */
.tabbar { display: none; }
@media (max-width: 760px) {
  .menu-btn, .sheet { display: none !important; }
  body { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .tabbar { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); }
  .tabbar a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; height: 56px; color: var(--ink-2); font-size: 12px; font-weight: 700; text-decoration: none; min-width: 0; }
  .tabbar a span:not(.tabbar__badge) { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
  .tabbar a .i { width: 22px; height: 22px; }
  .tabbar a[aria-current="page"] { color: var(--navy); }
  .tabbar a[aria-current="page"]::before { content: ""; position: absolute; top: 0; left: 25%; right: 25%; height: 3px; border-radius: 0 0 3px 3px; background: var(--yellow); }
  .tabbar a:focus-visible { outline: 3px solid var(--blue); outline-offset: -3px; }
  .tabbar__badge { position: absolute; top: 5px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 800; line-height: 18px; text-align: center; }
  .sticky-cta { bottom: calc(56px + env(safe-area-inset-bottom)); padding-bottom: 12px; }
  .has-sticky-bar :is(input, select, textarea, .choice-card, .pick__item) { scroll-margin-bottom: 200px; }
}
.move__what .move__i { width: 24px; height: 24px; color: var(--yellow); vertical-align: -4px; margin-right: 10px; }
.move--closed .move__what .move__i { color: var(--on-navy-2); }
.move__what--stop b { color: #ffb4a9; }
.move__what--stop .move__i { color: #ffb4a9; }

/* ---------- the hourly limit, next to the button that hit it ---------- */
.limit-note { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; width: 100%; margin-top: 12px; padding: 12px 16px; border-radius: var(--r-block); background: var(--bad-bg); color: #6E1212; font-weight: 700; font-size: 15px; }
.limit-note > .i { flex: none; width: 18px; height: 18px; color: var(--bad); }
.limit-note > span { flex: 1 1 200px; min-width: 0; }
.form-actions .limit-note { margin-top: 0; }

/* Trade-in switch: one tap, posts at once */
.trade-toggle { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; margin: 16px 0 0; padding: 12px 16px; background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--r-block); }
.switch { position: relative; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0; background: none; border: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; text-align: left; }
.switch::before { content: ""; flex: none; width: 44px; height: 24px; border-radius: var(--r-chip); background: var(--line-strong); transition: background .15s; }
.switch__knob { position: absolute; left: 3px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%; background: var(--surface); transition: left .15s; }
.switch--on::before { background: var(--todo); }
.switch--on .switch__knob { left: 23px; }
@media (prefers-reduced-motion: reduce) { .switch::before, .switch__knob { transition: none; } }
