@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/source-sans-3-700.woff2") format("woff2");
}

:root {
  --navy: #10233f;
  --navy-2: #1b3658;
  --ink: #1c2430;
  --muted: #3a4654;
  --line: #e3dcd0;
  --paper: #f6f3ee;
  --white: #fffcf8;
  --orange: #a33b0c;
  --orange-2: #8c320c;
  --shadow: 0 1px 2px rgba(16, 35, 63, 0.05), 0 16px 40px rgba(16, 35, 63, 0.06);
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img { max-width: 100%; height: auto; }
h1, h2, h3, h4 {
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--navy);
  font-weight: 700;
}
h1 { font-size: clamp(2.15rem, 5vw, 3.45rem); margin: 0 0 8px; }
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); margin: 0 0 12px; }
h3 { font-size: 1.2rem; margin: 0 0 8px; }
p { margin: 0 0 12px; }
a { color: var(--navy); }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }
.site-header :focus-visible, .site-footer :focus-visible, .cta-band :focus-visible { outline-color: #f6c7a4; }

.skip {
  position: absolute;
  left: 12px;
  top: -48px;
  background: white;
  color: var(--navy);
  padding: 8px 12px;
  z-index: 50;
  border-radius: 8px;
}
.skip:focus { top: 12px; }

.wrap { width: min(1120px, 100%); margin-inline: auto; padding-inline: 20px; }
.narrow, .wrap.narrow { width: min(760px, 100%); }
.fine { color: var(--muted); font-size: 0.95rem; }
form + .fine { margin-top: 14px; }
.kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lede { font-size: 1.18rem; color: var(--muted); max-width: 40rem; }
.promise { font-size: clamp(1.35rem, 2vw, 1.7rem); font-weight: 600; color: var(--navy); margin: 0 0 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--navy);
  color: white;
  border-top: 3px solid var(--orange);
}
.header-inner {
  min-height: 68px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: white;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  margin-right: auto;
}
.logo-mark { width: 30px; height: 30px; display: block; }
.desktop-nav { display: none; }
.nav-details { position: relative; }
.menu-btn {
  list-style: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 12px;
  color: white;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}
.menu-btn::-webkit-details-marker { display: none; }
.menu-bars, .menu-bars::before, .menu-bars::after {
  display: block;
  width: 16px;
  height: 2px;
  background: white;
  border-radius: 2px;
  position: relative;
}
.menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
.menu-bars::before { top: -5px; }
.menu-bars::after { top: 5px; }
.nav-panel { display: none; }
.nav-details[open] .nav-panel {
  display: grid;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: white;
  min-width: 220px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  z-index: 40;
}
.nav-panel a {
  color: var(--navy);
  text-decoration: none;
  font-weight: 600;
  padding: 12px 12px;
  border-radius: 8px;
}
.nav-panel a[aria-current="page"] { background: var(--paper); }
.header-cta { white-space: nowrap; }
.header-cta .wide { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--orange); color: white; }
.btn-primary:hover { background: var(--orange-2); }
.btn-secondary { background: white; color: var(--navy); border-color: var(--navy); }
.btn-navy { background: var(--navy); color: white; }
.btn-quiet { background: transparent; color: #8c2f2a; border-color: #e7c7c4; }
.btn:disabled { opacity: 0.6; cursor: progress; }
.text-link { font-weight: 700; }

.hero { padding: 32px 0 12px; }
.hero-grid { display: grid; gap: 28px; align-items: center; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin: 18px 0 10px; }
.hero-photo img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 30%;
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.trust-row { background: white; border-block: 1px solid var(--line); padding: 8px 0; }
.trust-grid { display: grid; gap: 8px; padding-block: 18px; }
.trust-grid h2 { font-size: 1.05rem; margin: 0 0 4px; }
.trust-grid p { margin: 0; color: var(--muted); }

.section { padding: 56px 0; }
.section.tight { padding-top: 28px; }
.band { background: white; border-block: 1px solid var(--line); }

.disclaimer {
  background: white;
  border: 1px solid var(--line);
  border-left: 4px solid var(--navy);
  border-radius: 12px;
  padding: 18px 18px 8px;
}
.disclaimer h2 { font-size: 1.15rem; }

.picker { display: grid; gap: 16px; margin-top: 8px; }
.picker-list { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 6px; }
.pick {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}
.pick.is-selected, .pick[aria-pressed="true"] { background: var(--navy); color: white; border-color: var(--navy); }
.picker-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
}
.range {
  font-size: clamp(2.1rem, 5vw, 3.15rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 0 0 6px;
  font-variant-numeric: tabular-nums;
}

.steps { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.steps li { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 18px; }
.band .steps li { background: white; }
.steps span {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 10px;
  border-radius: 50%;
  background: var(--navy);
  color: white;
  font-weight: 700;
}

.mechanic-band, .guide-photo { padding: 28px 0 56px; }
.band-grid { display: grid; gap: 22px; align-items: center; }
.band-grid img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 14px; }
.guide-photo img { aspect-ratio: 4 / 5; object-position: center top; }

.report {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: var(--shadow);
  margin: 18px 0 22px;
}
.report-top { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.report-brand {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.report h3 { margin: 4px 0; font-size: 1.45rem; }
.report-vehicle, .report-when { color: var(--muted); }
.report-quoted { margin: 12px 0; }
.report-sample { background: var(--paper); border-radius: 8px; padding: 10px 12px; }
.report section { margin-top: 18px; }
.report h4 {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.lines, .report ul, .report ol { margin: 0; padding-left: 18px; }
.lines { list-style: none; padding: 0; }
.lines li { padding: 12px 0; border-top: 1px solid var(--line); }
.line-name { margin: 0; font-weight: 700; color: var(--navy); }
.line-money { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 2px 0; color: var(--muted); font-variant-numeric: tabular-nums; }
.line-note { margin: 4px 0 0; }
.fair-box { background: var(--paper); border-radius: 12px; padding: 14px; }
.fair-box .range { margin-top: 4px; }
.range-missing { font-size: 1.2rem; }
.report-disclaimer { margin-top: 18px; color: var(--muted); font-size: 0.95rem; }
.verdict {
  margin: 0;
  border: 1px solid var(--navy);
  color: var(--navy);
  border-radius: 999px;
  padding: 6px 10px;
  font-weight: 700;
  white-space: nowrap;
}
.verdict-fair { color: #1d5c3a; border-color: #1d5c3a; }
.verdict-a_bit_high { color: #8a4b12; border-color: #8a4b12; }
.verdict-overpriced { color: #8c2f2a; border-color: #8c2f2a; }
.verdict-missing_info, .verdict-draft { color: var(--muted); border-color: var(--line); }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  min-height: 52px;
  font-weight: 700;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 500; font-size: 1.4rem; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); }

.cta-band { background: var(--navy); color: white; padding: 56px 0; }
.cta-band h2, .cta-band p { color: white; }
.cta-band p { max-width: 38rem; }

.site-footer { background: #0c1b30; color: #d7dde4; padding: 40px 0 24px; }
.footer-grid { display: grid; gap: 22px; }
.footer-logo { margin-bottom: 8px; }
.site-footer h2 { color: white; font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; }
.site-footer a { color: white; display: block; padding: 4px 0; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, 0.12); margin-top: 22px; padding-top: 16px; }
.footer-base p, .site-footer p { color: #d7dde4; }
.ease-note a { display: inline; }

.prose h2 { margin-top: 28px; font-size: 1.35rem; }
.prose ul, .prose ol { padding-left: 1.2rem; }
.prose li { margin: 0 0 8px; }
.guide-grid { display: grid; gap: 12px; margin-top: 18px; }
.guide-card {
  display: block;
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
}
.guide-card h2 { font-size: 1.25rem; }
.guide-card .range { font-size: 1.7rem; }
.range-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px;
  margin: 16px 0;
}

.stepper { list-style: none; display: flex; gap: 0; padding: 0; margin: 0 0 22px; position: relative; }
.stepper::before {
  content: "";
  position: absolute;
  top: 13px;
  left: 12%;
  right: 12%;
  height: 2px;
  background: var(--line);
}
.stepper li { flex: 1; text-align: center; font-size: 0.92rem; font-weight: 700; color: var(--muted); position: relative; z-index: 1; }
.stepper span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 auto 6px;
  border-radius: 50%;
  border: 2px solid var(--line);
  background: white;
}
.stepper .is-done span, .stepper .is-now span { background: var(--navy); border-color: var(--navy); color: white; }
.stepper .is-now { color: var(--navy); }

.pay-summary, .note {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0 18px;
}
.pay-summary div { display: flex; justify-content: space-between; gap: 12px; font-weight: 700; color: var(--navy); }
.note-ok { border-left: 4px solid #1d5c3a; }
.note-warn { border-left: 4px solid #8a4b12; }

.field { margin: 0 0 14px; }
.field label, .line-field span { display: block; font-weight: 700; margin-bottom: 6px; color: var(--navy); }
input, textarea, select {
  width: 100%;
  border: 1px solid #cfc6b8;
  background: white;
  border-radius: 8px;
  padding: 12px;
  min-height: 48px;
}
textarea { min-height: 120px; resize: vertical; }
.grid-2 { display: grid; gap: 0 12px; }
.check { display: flex; gap: 10px; align-items: flex-start; margin: 8px 0 16px; font-weight: 600; }
.check input { width: 20px; height: 20px; min-height: 20px; margin-top: 3px; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.dropzone {
  border: 1.5px dashed #b7ad9e;
  border-radius: 14px;
  background: white;
  padding: 22px 16px;
  text-align: center;
  margin-bottom: 12px;
}
.dropzone.is-drag { border-color: var(--navy); background: #f3efe7; }
.file-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.file-actions input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.previews { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.previews li { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 8px; }
.previews img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.previews button { margin-top: 6px; background: none; border: 0; color: var(--navy); font-weight: 700; padding: 6px 0; cursor: pointer; }
.progress { height: 8px; background: #e7e0d6; border-radius: 99px; overflow: hidden; margin: 0 0 14px; }
.progress span { display: block; height: 100%; width: 0; background: var(--navy); }
.form-errors { color: #8c2f2a; font-weight: 700; min-height: 0; }
.form-errors:empty { display: none; }

.page-admin { background: var(--paper); }
.admin-bar { background: var(--navy); color: white; }
.admin-bar a { color: white; text-decoration: none; font-weight: 700; }
.admin-bar-inner { min-height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-nav { display: flex; align-items: center; gap: 14px; }
.admin-nav button { background: transparent; color: white; border: 1px solid rgba(255,255,255,.35); border-radius: 8px; min-height: 40px; padding: 0 10px; cursor: pointer; }
.admin-main { padding: 22px 0 48px; }
.admin-wrap { width: min(980px, 100%); }
.login-card { width: min(440px, calc(100% - 32px)); margin: 8vh auto; background: white; border: 1px solid var(--line); border-radius: 16px; padding: 22px; }
.setup { list-style: none; padding: 0; display: grid; gap: 8px; }
.setup li { background: white; border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0; }
.filters a { text-decoration: none; border: 1px solid var(--line); background: white; border-radius: 999px; padding: 8px 12px; font-weight: 700; }
.filters a[aria-current="true"] { background: var(--navy); color: white; }
.queue { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.queue a { display: grid; gap: 4px; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 14px; text-decoration: none; color: inherit; }
.queue-title { font-weight: 700; color: var(--navy); font-size: 1.1rem; }
.queue-meta, .queue time { color: var(--muted); }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { border: 1px solid var(--line); border-radius: 999px; padding: 2px 8px; font-size: 0.85rem; font-weight: 700; color: var(--navy); background: white; }
.badge-warn { color: #8a4b12; border-color: #e4c7a4; }
.facts { display: grid; gap: 8px; margin: 0 0 18px; }
.facts div { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line); padding-bottom: 6px; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; text-align: right; }
.symptom { white-space: pre-wrap; background: white; border: 1px solid var(--line); border-radius: 12px; padding: 12px; }
.file-list { list-style: none; padding: 0; display: grid; gap: 12px; }
.file-list img { width: 100%; max-height: 480px; object-fit: contain; background: #ece7df; border-radius: 12px; }
.line-editor { border: 1px solid var(--line); border-radius: 12px; padding: 12px; margin: 0 0 14px; }
.line-row { display: grid; gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); }
.line-row:first-of-type { border-top: 0; }
.admin-actions { display: flex; gap: 8px; margin-bottom: 8px; }
.danger-zone { margin-top: 36px; padding-top: 12px; border-top: 1px solid var(--line); }
.email-card { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin: 0 0 12px; }
.email-card pre { white-space: pre-wrap; font-family: var(--font); background: var(--paper); padding: 12px; border-radius: 8px; }
.handoff { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 16px; margin: 0 0 22px; }
.handoff textarea { min-height: 240px; }
.empty { background: white; border: 1px dashed var(--line); border-radius: 12px; padding: 16px; }

@media (min-width: 720px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
  .facts { grid-template-columns: 1fr 1fr; }
  .guide-grid { grid-template-columns: 1fr 1fr; }
  .line-row { grid-template-columns: 1.4fr 0.7fr 0.8fr; }
  .line-row .line-field:last-child { grid-column: 1 / -1; }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
  .band-grid { grid-template-columns: 0.9fr 1.1fr; gap: 36px; }
  .trust-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .picker { grid-template-columns: 200px 1fr; align-items: start; }
  .picker-list { flex-direction: column; overflow: visible; }
  .pick { border-radius: 10px; }
  .header-cta .wide { display: inline; }
  .header-cta .short { display: none; }
}

@media (min-width: 960px) {
  .section { padding: 84px 0; }
  .hero { padding: 56px 0 20px; }
  .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 48px; }
  .nav-details { display: none; }
  .desktop-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
  }
  .desktop-nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    line-height: 1.2;
    padding: 8px 10px;
    white-space: nowrap;
    border-radius: 8px;
  }
  .desktop-nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }
  .header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; }
  .logo { margin-right: 0; }
}

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

@media print {
  .site-header, .site-footer, .cta-band, .hero-actions, .btn { display: none !important; }
  body { background: white; }
  .report { box-shadow: none; }
}
