/* 123 Drivers Guide — site stylesheet (mobile-first, no framework) */
:root {
  --ink: #15142e;
  --ink-2: #3b3a5c;
  --muted: #5d5c7a;
  --line: #dcdcec;
  --line-2: #ececf6;
  --bg: #ffffff;
  --bg-alt: #f5f5fc;
  --brand: #4338ca;
  --brand-600: #3730a3;
  --brand-700: #312e81;
  --brand-50: #eef0ff;
  --brand-100: #d8dbff;
  --deep: #1e1b4b;
  --deep-2: #2e2a6e;
  --amber: #ff8a5c;
  --amber-50: #fff2ec;
  --amber-700: #a63a12;
  --danger: #b42318;
  --danger-50: #fdecea;
  --ok: #157f3c;
  --ok-50: #e6f6ec;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(21, 20, 46, .06), 0 6px 20px rgba(21, 20, 46, .06);
  --shadow-lg: 0 18px 50px rgba(21, 20, 46, .14);
  --font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Avenir Next", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --header-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--font); font-size: 1rem; line-height: 1.6; color: var(--ink); background: var(--bg); overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--brand); text-underline-offset: 3px; }
a:hover { color: var(--brand-700); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; color: var(--ink); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 6vw, 3.25rem); font-weight: 800; letter-spacing: -.025em; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
main:focus { outline: none; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--deep); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.skip-link:focus { top: 12px; color: #fff; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .container { padding: 0 24px; } }
.narrow { max-width: 880px; }
.center-text { text-align: center; }
.muted { color: var(--muted); font-weight: 400; }
.block { display: block; }

.icon { width: 20px; height: 20px; flex-shrink: 0; }
.icon-sm { width: 16px; height: 16px; }
.icon-lg { width: 40px; height: 40px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 22px; border-radius: 999px; border: 2px solid transparent; font: inherit; font-weight: 700; font-size: .95rem; text-decoration: none; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-700); color: #fff; }
.btn-outline { background: #fff; color: var(--brand-700); border-color: var(--brand-100); }
.btn-outline:hover { border-color: var(--brand); color: var(--brand-700); }
.btn-light { background: #fff; color: var(--deep); }
.btn-light:hover { background: var(--amber-50); color: var(--deep); }
.btn-ghost { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink-2); color: var(--ink); }
.btn[disabled], .btn:disabled { opacity: .5; cursor: not-allowed; transform: none; }
.btn-sm { min-height: 40px; padding: 6px 14px; font-size: .875rem; }
.btn-lg { min-height: 52px; padding: 12px 24px; font-size: 1rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; }

.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--brand-50); color: var(--brand-700); font-size: .8rem; font-weight: 700; letter-spacing: .02em; margin-bottom: 1rem; }
.pill-dark { background: rgba(255,255,255,.08); color: #e3e1ff; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: .8rem; font-weight: 700; text-decoration: none; }
a.chip:hover { border-color: var(--brand); color: var(--brand-700); }
.chip-float { position: absolute; left: 12px; bottom: 12px; box-shadow: var(--shadow); }
.tag { display: inline-block; padding: 2px 8px; border-radius: 6px; background: var(--bg-alt); color: var(--muted); font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; vertical-align: middle; }
.tag-dark { background: var(--deep); color: #fff; }
.kicker { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: .6rem; }
.kicker-light { color: var(--amber); }
.lead { font-size: 1.08rem; color: var(--ink-2); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid var(--line-2); }
.header-inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); margin-right: auto; }
.logo img { width: 36px; height: 36px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-weight: 800; font-size: 1.15rem; letter-spacing: -.02em; }
.logo-name span { color: var(--brand); }
.logo-tag { font-size: .68rem; color: var(--muted); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.logo-light { color: #fff; }
.logo-light .logo-name span { color: var(--amber); }
.logo-light .logo-tag { color: #b2aee8; }
.nav-desktop { display: none; }
.nav-desktop ul { display: flex; gap: 4px; list-style: none; }
.nav-desktop a { display: inline-flex; align-items: center; min-height: 40px; padding: 6px 12px; border-radius: 10px; color: var(--ink-2); font-weight: 600; font-size: .95rem; text-decoration: none; }
.nav-desktop a:hover, .nav-desktop a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.header-cta { display: none; }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 12px; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
.menu-btn .menu-close { display: none; }
.menu-btn[aria-expanded="true"] .menu-open { display: none; }
.menu-btn[aria-expanded="true"] .menu-close { display: inline; }
.nav-mobile { border-top: 1px solid var(--line-2); background: #fff; box-shadow: var(--shadow-lg); }
.nav-mobile ul { list-style: none; padding-top: 8px; padding-bottom: 16px; display: grid; gap: 2px; }
.nav-mobile a:not(.btn) { display: flex; align-items: center; min-height: 48px; padding: 8px 12px; border-radius: 10px; color: var(--ink); font-weight: 600; text-decoration: none; }
.nav-mobile a:not(.btn):hover, .nav-mobile a[aria-current="page"] { background: var(--brand-50); color: var(--brand-700); }
.nav-mobile .btn { width: 100%; margin-top: 8px; }
@media (min-width: 1024px) {
  .nav-desktop, .header-cta { display: flex; }
  .menu-btn, .nav-mobile { display: none !important; }
}

/* Sections */
.section { padding: 64px 0; }
.section-tight { padding: 40px 0 64px; }
.section-alt { background: var(--bg-alt); }
@media (min-width: 768px) { .section { padding: 88px 0; } }
.section-head { margin-bottom: 36px; max-width: 760px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.section-head .lead { margin-bottom: 0; }

/* Hero */
.hero { padding: 40px 0 56px; background: radial-gradient(1100px 500px at 85% -10%, var(--brand-50), transparent 60%), linear-gradient(#fff, #fff); }
.hero-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .hero { padding: 72px 0 88px; } .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 56px; } }
.accent { color: var(--brand); }
.hero-stats { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 24px 0; max-width: 520px; }
.hero-stats li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.hero-stats strong { display: block; font-size: 1.5rem; font-weight: 800; color: var(--deep); line-height: 1.1; }
.hero-stats span { font-size: .78rem; color: var(--muted); font-weight: 600; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-actions .btn { flex: 1 1 200px; }
@media (min-width: 560px) { .hero-actions .btn { flex: 0 0 auto; } }
.hero-media { position: relative; margin: 0; }
.hero-media img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); background: var(--brand-50); }
.hero-float { position: absolute; display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; box-shadow: var(--shadow); font-size: .8rem; color: var(--muted); max-width: 230px; }
.hero-float strong { display: block; color: var(--ink); font-size: .85rem; }
.hero-float .icon { color: var(--brand); margin-top: 2px; }
.hero-float-a { left: -8px; bottom: 18px; }
.hero-float-b { right: -8px; top: 18px; }
@media (max-width: 480px) { .hero-float { position: static; margin-top: 10px; max-width: none; } }

/* Category guides */
.cat-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 32px; }
.cat-tabs a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-weight: 700; font-size: .9rem; text-decoration: none; }
.cat-tabs a:hover { border-color: var(--brand); color: var(--brand-700); background: var(--brand-50); }
.guide-grid { display: grid; gap: 20px; }
@media (min-width: 700px) { .guide-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1140px) { .guide-grid { grid-template-columns: repeat(4, 1fr); } }
.guide-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; transition: border-color .15s, box-shadow .15s, transform .15s; }
.guide-card:hover, .guide-card:focus-within { border-color: var(--brand); box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.guide-card-top { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 14px 16px; border-bottom: 1px solid var(--line-2); font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; }
.guide-card-top p { margin: 0; }
.guide-card-kicker { color: var(--brand); }
.guide-card-tags { color: var(--muted); }
.guide-card-media { position: relative; aspect-ratio: 16 / 10; background: var(--brand-50); }
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; }
.guide-card-body { display: flex; flex-direction: column; flex: 1; padding: 18px 16px 16px; }
.guide-card-body h3 { margin-bottom: 2px; font-size: 1.2rem; }
.guide-card-body h3 a { color: var(--ink); text-decoration: none; }
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.stretched:focus-visible { outline: none; }
.guide-card:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.guide-card-sub { font-size: .82rem; color: var(--muted); font-weight: 600; }
.guide-card-points { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; font-size: .9rem; color: var(--ink-2); }
.guide-card-points li { display: flex; gap: 8px; }
.guide-card-points .icon { color: var(--brand); margin-top: 4px; }
.guide-card-feature { display: flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 12px; border-top: 1px dashed var(--line); font-size: .8rem; font-weight: 700; color: var(--amber-700); }

/* Panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 20px; box-shadow: var(--shadow); }
@media (min-width: 640px) { .panel { padding: 28px; } }
.panel-dark { background: var(--deep); color: #dedbfa; border-color: var(--deep); }
.panel-dark h3, .panel-dark h4 { color: #fff; }

/* Checklist */
.checklist-layout { display: grid; gap: 24px; align-items: start; }
@media (min-width: 1024px) { .checklist-layout { grid-template-columns: 1.15fr .85fr; } }
.progress-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.progress-count { font-size: 2rem; font-weight: 800; color: var(--deep); margin: 0; line-height: 1.1; font-variant-numeric: tabular-nums; }
.progress-label { font-size: .9rem; font-weight: 600; color: var(--muted); }
.progress-status { margin: 4px 0 0; color: var(--ink-2); font-size: .92rem; }
.status-pill { flex-shrink: 0; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 800; background: var(--bg-alt); color: var(--ink-2); border: 1px solid var(--line); white-space: nowrap; }
.status-pill[data-state="progress"] { background: var(--brand-50); color: var(--brand-700); border-color: var(--brand-100); }
.status-pill[data-state="done"] { background: var(--ok-50); color: var(--ok); border-color: #b7e4c7; }
.progress-track { height: 10px; border-radius: 999px; background: var(--line-2); margin: 16px 0 20px; overflow: hidden; }
.progress-bar { height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--brand), #7c74ff); transition: width .3s ease; }
.progress-bar.is-done { background: var(--ok); }
.protocol-fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.panel-title { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 1.05rem; margin-bottom: 12px; padding: 0; }
.protocol-list { list-style: none; display: grid; gap: 10px; }
.protocol-card { border: 1.5px solid var(--line); border-radius: var(--radius); transition: border-color .15s, background .15s; }
.protocol-card:hover { border-color: var(--brand-100); }
.protocol-card.is-checked { border-color: var(--brand); background: var(--brand-50); }
.protocol-card:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.protocol-label { display: flex; gap: 12px; padding: 14px; cursor: pointer; }
.protocol-label input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.fake-check { flex-shrink: 0; width: 26px; height: 26px; border-radius: 8px; border: 2px solid var(--line); background: #fff; display: grid; place-items: center; color: transparent; margin-top: 1px; transition: all .15s; }
.protocol-label input:checked + .fake-check { background: var(--brand); border-color: var(--brand); color: #fff; }
.protocol-text { display: grid; gap: 4px; }
.protocol-title { font-weight: 700; color: var(--ink); }
.protocol-desc { font-size: .9rem; color: var(--ink-2); }
.red-flag { display: flex; gap: 6px; align-items: flex-start; font-size: .82rem; color: var(--danger); background: var(--danger-50); border-radius: 8px; padding: 6px 8px; margin-top: 4px; }
.red-flag .icon { margin-top: 3px; }
.script-box { margin: 18px 0 14px; padding: 16px; border-radius: var(--radius); background: var(--amber-50); border: 1px solid #ffd2bf; }
.script-head { display: flex; align-items: center; gap: 6px; font-weight: 800; font-size: .85rem; color: var(--amber-700); margin-bottom: 6px; }
.script-text { margin: 0; font-style: italic; color: var(--ink); }
.scam-head p { color: #c9c6f2; font-size: .92rem; }
.scam-head h3 { display: flex; gap: 8px; align-items: center; font-size: 1.25rem; }
.scam-head .icon { color: var(--amber); }
.scam-list { list-style: none; display: grid; gap: 12px; margin: 16px 0; }
.scam { display: flex; gap: 12px; padding: 14px; border-radius: var(--radius); background: var(--deep-2); }
.scam-num { flex-shrink: 0; width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; background: var(--amber); color: var(--deep); font-weight: 800; font-size: .85rem; }
.scam h4 { margin-bottom: 6px; font-size: .98rem; }
.scam p { margin: 0 0 4px; font-size: .88rem; }
.scam .label { font-weight: 800; color: #fff; }
.scam-claim { color: #ffd2bf; }
.scam-foot { display: grid; gap: 12px; border-top: 1px solid rgba(255,255,255,.12); padding-top: 16px; }
.scam-foot p { display: flex; gap: 8px; margin: 0; font-size: .9rem; }
.scam-foot .icon { color: var(--amber); margin-top: 3px; }

/* Pricing */
.pricing-badges { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: -12px 0 28px; }
.breakdown { display: grid; gap: 14px; margin-bottom: 24px; }
@media (min-width: 800px) { .breakdown { grid-template-columns: repeat(3, 1fr); } }
.breakdown-item { display: flex; gap: 12px; padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.breakdown-item > .icon { color: var(--brand); width: 24px; height: 24px; margin-top: 2px; }
.breakdown-item h3 { margin-bottom: 4px; font-size: 1.02rem; }
.breakdown-item p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.tier-grid { display: grid; gap: 14px; }
@media (min-width: 640px) { .tier-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .tier-grid { grid-template-columns: repeat(4, 1fr); } }
.tier { display: flex; flex-direction: column; padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.tier h3 { font-size: 1.08rem; }
.tier p { font-size: .9rem; color: var(--ink-2); }
.tier-num { font-family: var(--mono); font-size: .75rem; font-weight: 700; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.tier-price { margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line); font-size: 1.35rem; font-weight: 800; color: var(--deep) !important; font-variant-numeric: tabular-nums; }
.tier-price span { display: block; font-size: .78rem; font-weight: 600; color: var(--muted); }
.tier-basis { margin: 10px 0 0; font-size: .78rem !important; color: var(--muted) !important; }
.tier-src { display: block; margin-top: 4px; }
.price-factors { margin: 24px 0; padding: 20px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); }
.price-factors h3 { display: flex; align-items: center; gap: 8px; }
.price-factors .icon { color: var(--brand); }
.price-factors ul { display: grid; gap: 8px 24px; padding-left: 1.2em; color: var(--ink-2); font-size: .93rem; }
@media (min-width: 768px) { .price-factors ul { grid-template-columns: repeat(2, 1fr); } }

/* Estimator */
.estimator { padding: 0; overflow: hidden; margin-top: 32px; }
.estimator-head { background: var(--deep); color: #d4d1f7; padding: 22px 20px; }
.estimator-head h3 { color: #fff; font-size: 1.5rem; margin-bottom: 4px; }
.estimator-head p:last-child { margin: 0; }
.estimator-body { display: grid; gap: 0; }
@media (min-width: 900px) { .estimator-body { grid-template-columns: .9fr 1.1fr; } }
.estimator-controls { padding: 20px; display: grid; gap: 16px; align-content: start; }
.estimator-controls .btn { justify-self: start; }
.estimator-output { padding: 20px; background: var(--bg-alt); border-top: 1px solid var(--line); min-height: 280px; }
@media (min-width: 900px) { .estimator-output { border-top: 0; border-left: 1px solid var(--line); } .estimator-controls, .estimator-output { padding: 28px; } }
.field { display: grid; gap: 6px; }
.field label { font-weight: 700; font-size: .92rem; }
.field input[type="text"], .field input[type="email"], .field select, .field textarea { width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid #b9c7c4; border-radius: 12px; background: #fff; color: var(--ink); font: inherit; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2333464a' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 18px; padding-right: 40px; }
.field select:disabled { background-color: var(--bg-alt); color: var(--muted); cursor: not-allowed; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); outline: 3px solid var(--brand-100); outline-offset: 0; }
.field [aria-invalid="true"] { border-color: var(--danger); background-color: #fffafa; }
.field-error { color: var(--danger); font-size: .85rem; font-weight: 600; margin: 0; }
.hint { color: var(--muted); font-size: .84rem; margin: 0; }
.req { color: var(--danger); }
.check-inline { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 500 !important; cursor: pointer; }
.check-inline input { width: 20px; height: 20px; margin-top: 2px; flex-shrink: 0; accent-color: var(--brand); }
.est-empty { height: 100%; display: grid; place-items: center; align-content: center; text-align: center; gap: 12px; color: var(--muted); padding: 24px 8px; }
.est-empty .icon { color: var(--brand-100); }
.est-empty p { max-width: 320px; margin: 0; }
.est-fault { font-weight: 800; color: var(--deep); margin-bottom: 12px; }
.est-lines { display: grid; gap: 8px; margin: 0 0 14px; }
.est-lines > div { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; padding: 10px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.est-lines dt { font-size: .88rem; color: var(--ink-2); font-weight: 600; }
.est-lines dd { margin: 0; font-weight: 800; font-variant-numeric: tabular-nums; text-align: right; }
.est-lines .est-total { background: var(--brand); border-color: var(--brand); }
.est-lines .est-total dt, .est-lines .est-total dd { color: #fff; }
.est-lines .est-total dd { font-size: 1.35rem; }
.est-verdict { display: flex; gap: 8px; padding: 12px 14px; border-radius: 12px; background: var(--amber-50); border: 1px solid #ffd2bf; font-size: .92rem; font-weight: 600; }
.est-verdict .icon { color: var(--amber-700); margin-top: 3px; }
.est-factors, .est-sources { font-size: .86rem; color: var(--ink-2); }
.est-tips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: .82rem; font-weight: 700; color: var(--brand-700); }
.est-tips li { display: flex; align-items: center; gap: 6px; }
.est-error { padding: 14px; border-radius: 12px; background: var(--danger-50); color: var(--danger); font-weight: 600; }
.est-result.is-updated { animation: flash .5s ease; }
@keyframes flash { from { transform: translateY(4px); } to { transform: none; } }
.estimator-assumptions { padding: 20px; border-top: 1px solid var(--line); font-size: .86rem; color: var(--ink-2); }
@media (min-width: 900px) { .estimator-assumptions { padding: 20px 28px 24px; } }
.estimator-assumptions h4 { display: flex; gap: 6px; align-items: center; font-size: .92rem; }
.estimator-assumptions ul { padding-left: 1.2em; display: grid; gap: 4px; }
.notice { margin: 0; padding: 14px 20px; background: var(--amber-50); }

.disclosure { margin-top: 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.disclosure summary { display: flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 16px; font-weight: 700; cursor: pointer; list-style: none; }
.disclosure summary::-webkit-details-marker { display: none; }
.disclosure .chev { margin-left: auto; transition: transform .2s; }
.disclosure[open] .chev { transform: rotate(180deg); }
.disclosure-body { padding: 0 16px 16px; font-size: .92rem; color: var(--ink-2); }
.source-list { padding-left: 1.2em; display: grid; gap: 4px; }
.table-wrap:focus-visible { outline: 3px solid var(--amber); }
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-top: 1px solid var(--line-2); }
.data-table { width: 100%; border-collapse: collapse; font-size: .9rem; min-width: 640px; }
.data-table th, .data-table td { text-align: left; vertical-align: top; padding: 10px 14px; border-bottom: 1px solid var(--line-2); }
.data-table thead th { background: var(--bg-alt); font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.data-table tbody th { font-weight: 700; color: var(--ink); }

/* FAQ */
.rules { display: grid; gap: 12px; margin-bottom: 28px; }
@media (min-width: 720px) { .rules { grid-template-columns: repeat(3, 1fr); } }
.rule { padding: 16px; border-radius: var(--radius); background: var(--brand-50); border: 1px solid var(--brand-100); }
.rule p { margin: 0; font-size: .9rem; color: var(--ink-2); }
.rule-num { font-family: var(--mono); font-size: .72rem !important; font-weight: 700; color: var(--brand) !important; text-transform: uppercase; letter-spacing: .08em; }
.rule-title { font-weight: 800; color: var(--deep) !important; font-size: 1rem !important; margin: 2px 0 4px !important; }
.faq-list { display: grid; gap: 10px; }
.faq { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; transition: border-color .15s; }
.faq:hover, .faq[open] { border-color: var(--brand-100); }
.faq summary { display: flex; align-items: center; gap: 14px; padding: 16px; min-height: 56px; cursor: pointer; list-style: none; font-weight: 700; }
.faq summary::-webkit-details-marker { display: none; }
.faq-num { font-family: var(--mono); font-size: .8rem; color: var(--brand); flex-shrink: 0; }
.faq-q { flex: 1; }
.faq .chev { color: var(--muted); transition: transform .2s; }
.faq[open] .chev { transform: rotate(180deg); }
.faq-a { padding: 0 16px 16px 16px; color: var(--ink-2); }
@media (min-width: 640px) { .faq-a { padding-left: 52px; } }
.faq-key { display: flex; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--bg-alt); margin: 0; font-size: .92rem; }
.faq-key .icon { color: var(--brand); margin-top: 4px; }
.cta-band { margin-top: 32px; display: grid; gap: 16px; align-items: center; padding: 24px; border-radius: var(--radius-lg); background: var(--deep); color: #d4d1f7; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; padding: 28px 32px; } }
.cta-band p { margin: 0; }
.cta-title { font-size: 1.25rem; font-weight: 800; color: #fff; margin-bottom: 4px !important; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cta-band .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.cta-band .btn-outline:hover { border-color: #fff; color: #fff; }

/* Breadcrumb + page heroes */
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; font-size: .86rem; color: var(--muted); margin-bottom: 20px; }
.breadcrumb li { display: inline-flex; align-items: center; gap: 6px; }
.breadcrumb li + li::before { content: "/"; color: var(--line); }
.breadcrumb a { display: inline-flex; align-items: center; gap: 4px; color: var(--ink-2); text-decoration: none; font-weight: 600; min-height: 32px; }
.breadcrumb a:hover { color: var(--brand); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--ink); font-weight: 700; }
.page-hero, .guide-hero { padding: 28px 0 48px; background: radial-gradient(900px 400px at 90% -20%, var(--brand-50), transparent 60%), var(--bg); border-bottom: 1px solid var(--line-2); }
.page-hero-sm { padding-bottom: 36px; }
.page-hero-sm .lead { margin-bottom: 0; }
.guide-hero h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); }
.guide-hero-grid, .about-hero-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 960px) { .guide-hero-grid { grid-template-columns: 1.2fr .8fr; gap: 48px; } .about-hero-grid { grid-template-columns: 1.15fr .85fr; gap: 48px; } }
.meta-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.meta-list li { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.meta-list .icon { color: var(--brand); }
.guide-hero-media { position: relative; margin: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-lg); background: #fff; }
.guide-hero-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.guide-hero-media .chip-float { top: 12px; bottom: auto; }
.guide-hero-media figcaption { display: flex; gap: 8px; align-items: center; padding: 12px 14px; font-size: .86rem; font-weight: 700; color: var(--deep); background: var(--amber-50); border-top: 1px solid #ffd2bf; }

/* Guide layout */
.guide-layout { display: grid; gap: 32px; padding-top: 40px; padding-bottom: 72px; }
@media (min-width: 1024px) { .guide-layout { grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; } .guide-aside { position: sticky; top: calc(var(--header-h) + 20px); align-self: start; } }
.guide-article { min-width: 0; }
.callout { display: flex; gap: 10px; padding: 14px 16px; border-radius: var(--radius); font-size: .93rem; margin: 0 0 1em; }
.callout .icon { margin-top: 3px; }
.callout-safety { background: var(--danger-50); color: #7a1a12; border: 1px solid #f5c2bd; }
.callout-warn { background: var(--amber-50); border: 1px solid #ffd2bf; color: #7a2a0c; margin-top: 16px; }
.guide-section { padding: 32px 0; border-bottom: 1px solid var(--line-2); }
.guide-section-head { display: flex; align-items: center; gap: 14px; margin-bottom: 10px; }
.guide-section-head h2 { margin: 0; font-size: clamp(1.35rem, 3vw, 1.7rem); }
.sec-num { flex-shrink: 0; width: 40px; height: 40px; border-radius: 12px; background: var(--deep); color: #fff; display: grid; place-items: center; font-weight: 800; }
.sec-intro { color: var(--ink-2); }
.symptom-table { min-width: 600px; }
.symptom-table tbody th { width: 28%; }
.guide-section .table-wrap { border: 1px solid var(--line); border-radius: var(--radius); }
.check-list, .protect-list { list-style: none; display: grid; gap: 12px; }
.check-list li, .protect-list li { display: flex; gap: 12px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.check-list .icon, .protect-list .icon { color: var(--brand); margin-top: 3px; }
.check-list p, .protect-list p { margin: 2px 0 0; font-size: .93rem; color: var(--ink-2); }
.compare-grid, .decision-grid { display: grid; gap: 14px; }
@media (min-width: 680px) { .compare-grid, .decision-grid { grid-template-columns: repeat(2, 1fr); } }
.compare-card { padding: 18px; border-radius: var(--radius); background: var(--bg-alt); border: 1px solid var(--line); }
.compare-card:first-child { background: var(--brand-50); border-color: var(--brand-100); }
.compare-kicker { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); margin-bottom: 6px; }
.compare-card p:last-child, .decision p { margin: 0; font-size: .93rem; color: var(--ink-2); }
.q-list { display: grid; gap: 12px; }
.q-item { padding: 16px; border-left: 4px solid var(--amber); background: var(--amber-50); border-radius: 0 var(--radius) var(--radius) 0; }
.q { display: flex; gap: 8px; font-weight: 700; margin-bottom: 6px; }
.q .icon { color: var(--amber-700); margin-top: 4px; }
.q-n { color: var(--amber-700); }
.a { margin: 0; font-size: .93rem; color: var(--ink-2); }
.decision { padding: 16px; border: 1px solid var(--line); border-radius: var(--radius); }
.decision h3 { display: flex; gap: 8px; align-items: center; font-size: 1rem; }
.decision .icon { color: var(--brand); }
.acceptance { border-radius: var(--radius-lg); background: var(--deep); color: #dedbfa; overflow: hidden; }
.acceptance-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; padding: 14px 18px; background: var(--deep-2); }
.acceptance-head p { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: 800; color: #fff; }
.acceptance-head .tag-dark { background: var(--amber); color: var(--deep); }
.acceptance ol { list-style: none; padding: 8px 18px 18px; display: grid; }
.acceptance li { display: flex; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.acceptance li:last-child { border-bottom: 0; }
.acc-n { font-family: var(--mono); font-weight: 700; color: var(--amber); }
.guide-next { padding-top: 32px; }
.next-grid { display: grid; gap: 12px; margin-bottom: 16px; }
@media (min-width: 640px) { .next-grid { grid-template-columns: repeat(2, 1fr); } }
.next-card { display: flex; gap: 12px; padding: 16px; border: 1.5px solid var(--line); border-radius: var(--radius); text-decoration: none; color: var(--ink-2); font-size: .9rem; }
.next-card strong { display: block; color: var(--ink); font-size: 1rem; }
.next-card .icon { color: var(--brand); margin-top: 3px; }
.next-card:hover { border-color: var(--brand); background: var(--brand-50); color: var(--ink-2); }
.fine-print { font-size: .84rem; color: var(--muted); }
.guide-aside { display: grid; gap: 16px; }
.aside-card { padding: 18px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.aside-h { display: flex; align-items: center; gap: 8px; font-size: 1rem; margin-bottom: 10px; }
.aside-h .icon { color: var(--brand); }
.toc { padding-left: 1.4em; display: grid; gap: 4px; font-size: .9rem; }
.toc a { color: var(--ink-2); text-decoration: none; display: block; padding: 3px 0; }
.toc a:hover, .toc a.is-active { color: var(--brand); text-decoration: underline; font-weight: 600; }
.aside-links { list-style: none; display: grid; gap: 6px; }
.aside-links a { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 12px; border-radius: 12px; background: var(--bg-alt); color: var(--ink); font-weight: 700; font-size: .92rem; text-decoration: none; }
.aside-links a span { flex: 1; }
.aside-links a:hover { background: var(--brand-50); color: var(--brand-700); }
.aside-dark { background: var(--deep); border-color: var(--deep); color: #d4d1f7; }
.aside-dark .aside-h { color: #fff; }
.aside-dark p:not(.kicker) { font-size: .9rem; }

/* About */
.commit-card h2 { font-size: 1.35rem; }
.is-list { list-style: none; display: grid; gap: 10px; font-size: .93rem; color: var(--ink-2); }
.is-list li { display: flex; gap: 10px; }
.is-list .icon { color: var(--ok); margin-top: 4px; }
.is-list .icon.no { color: var(--danger); }
.principle-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .principle-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .principle-grid { grid-template-columns: repeat(4, 1fr); } }
.principle { padding: 20px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); display: flex; flex-direction: column; }
.principle-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand); margin-bottom: 14px; }
.principle p { font-size: .92rem; color: var(--ink-2); }
.principle-tag { display: flex; align-items: center; gap: 6px; margin: auto 0 0 !important; padding-top: 10px; border-top: 1px dashed var(--line); font-weight: 700; color: var(--brand-700) !important; font-size: .82rem !important; }
.why-grid { display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .why-grid { grid-template-columns: 1.1fr .9fr; gap: 56px; } }
.why-grid p { color: var(--ink-2); }
.feature-stack { list-style: none; display: grid; gap: 12px; }
.feature-stack li { display: flex; gap: 14px; padding: 18px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.feature-stack li > .icon { width: 24px; height: 24px; color: var(--brand); margin-top: 2px; }
.feature-stack h3 { font-size: 1rem; margin-bottom: 4px; }
.feature-stack p { margin: 0; font-size: .92rem; color: var(--ink-2); }
.mini-grid { display: grid; gap: 16px; }
@media (min-width: 640px) { .mini-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .mini-grid { grid-template-columns: repeat(4, 1fr); } }
.mini-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: border-color .15s, box-shadow .15s; }
.mini-card:hover, .mini-card:focus-within { border-color: var(--brand); box-shadow: var(--shadow-lg); }
.mini-card:focus-within { outline: 3px solid var(--amber); outline-offset: 2px; }
.mini-card img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; background: var(--brand-50); }
.mini-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.mini-body h3 a { color: var(--ink); text-decoration: none; }
.mini-body p { font-size: .9rem; color: var(--ink-2); }
.mini-body .link-arrow { margin-top: auto; color: var(--brand); }

/* Prose / legal */
.prose { color: var(--ink-2); }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; margin-bottom: 1em; }
.prose h2 { font-size: 1.4rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.08rem; margin-top: 1.2em; }
.prose strong { color: var(--ink); }
.legal-toc { padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-alt); }
.legal-toc ol { margin: 0; gap: 2px; }
.legal-toc p { margin-bottom: 6px; }

/* Contact */
.contact-grid { display: grid; gap: 24px; align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1.3fr .7fr; } }
.contact-form { display: grid; gap: 18px; }
.contact-form .btn-lg { justify-self: start; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { padding: 14px 16px; border-radius: 12px; font-weight: 600; }
.form-status.is-error { background: var(--danger-50); color: var(--danger); border: 1px solid #f5c2bd; }
.form-status.is-success { background: var(--ok-50); color: var(--ok); border: 1px solid #b7e4c7; }
.form-status:focus { outline: 3px solid var(--amber); }
.spinner { width: 16px; height: 16px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.result-icon { display: inline-grid; place-items: center; width: 72px; height: 72px; border-radius: 50%; margin: 0 auto 16px; }
.result-icon.ok { background: var(--ok-50); color: var(--ok); }
.result-icon.err { background: var(--amber-50); color: var(--amber-700); }
.pill-links { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 0 0 24px; }

/* Footer */
.site-footer { background: var(--deep); color: #c9c6f2; padding-top: 56px; font-size: .93rem; }
.footer-grid { display: grid; gap: 32px; padding-bottom: 32px; }
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.5fr 1fr 1.2fr .9fr; gap: 40px; } }
.footer-brand p { margin: 14px 0; }
.footer-h { font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; color: #fff; margin-bottom: 14px; }
.footer-list { list-style: none; display: grid; gap: 4px; }
.footer-list a { display: inline-flex; align-items: center; min-height: 36px; color: #e3e1ff; text-decoration: none; }
.footer-list a:hover, .footer-link-strong:hover { color: var(--amber); text-decoration: underline; }
.footer-tips li { display: flex; gap: 8px; padding: 4px 0; }
.footer-tips .icon { color: var(--amber); margin-top: 4px; }
.footer-link-strong { display: inline-flex; align-items: center; gap: 6px; color: #fff; font-weight: 700; text-decoration: none; min-height: 36px; }
.footer-disclaimer p { display: flex; gap: 8px; font-size: .84rem; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.05); margin: 0; }
.footer-disclaimer .icon { margin-top: 3px; color: var(--amber); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; padding-top: 20px; padding-bottom: 28px; font-size: .84rem; }
.footer-bottom p { margin: 0; }
.footer-bottom-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-bottom a { display: inline-flex; align-items: center; gap: 6px; color: #e3e1ff; min-height: 32px; }
.footer-bottom a:hover { color: var(--amber); }

@media print {
  .site-header, .site-footer, .guide-aside, .estimator, .menu-btn { display: none !important; }
  body { color: #000; }
}

/* 123 Drivers Guide additions */
.logo-name .num { display: inline-grid; place-items: center; min-width: 2.4em; padding: 0 .3em; margin-right: .15em; border-radius: 6px; background: var(--brand); color: #fff; font-size: .82em; letter-spacing: .02em; }
.logo-light .logo-name .num { background: var(--amber); color: var(--deep); }
.hero { background: radial-gradient(900px 480px at 90% -10%, #e9e7ff, transparent 60%), radial-gradient(600px 300px at -10% 110%, #fff0e8, transparent 60%), #fff; }
.hero-steps { list-style: none; display: grid; gap: 10px; margin: 24px 0; max-width: 560px; }
@media (min-width: 560px) { .hero-steps { grid-template-columns: repeat(3, 1fr); } }
.hero-steps a { display: flex; gap: 10px; height: 100%; padding: 12px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); color: var(--ink-2); font-size: .82rem; line-height: 1.4; text-decoration: none; transition: border-color .15s, box-shadow .15s; }
.hero-steps a:hover { border-color: var(--brand); box-shadow: var(--shadow); color: var(--ink-2); }
.hero-steps strong { display: block; color: var(--deep); font-size: .98rem; }
.hs-num { flex-shrink: 0; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--deep); color: #fff; font-weight: 800; font-size: .85rem; }
.quick { margin-bottom: 18px; padding: 18px 20px; border-radius: var(--radius-lg); background: linear-gradient(135deg, var(--brand-50), #fff); border: 1px solid var(--brand-100); }
.quick h2 { display: flex; align-items: center; gap: 8px; font-size: 1.1rem; margin-bottom: 12px; }
.quick h2 .icon { color: var(--brand); }
.quick-list { list-style: none; display: grid; gap: 10px; }
.quick-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.quick-list strong { color: var(--deep); }
.guide-card, .tier, .principle, .mini-card { border-top: 3px solid var(--brand); }
.sec-num { border-radius: 50%; background: var(--brand); }
h1, h2 { letter-spacing: -.02em; }
