/* ==========================================================================
   One Drive — styles.css
   Light minimalist editorial · premium insurance-tech clarity
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  --bg:            #FAF7F2;
  --surface:       #FFFFFF;
  --surface-warm:  #F4EFE7;
  --ink:           #16130F;
  --ink-2:         #5C564D;
  --ink-inverse:   #FAF7F2;
  --ink-inverse-2: #BFB7A8;
  --accent:        #F26722;
  --accent-hover:  #D9560F;
  --accent-text:   #C7420A;
  --line:          #E7E0D5;
  --line-strong:   #D8CFC0;
  --success:       #17693F;
  --error:         #B3261E;
  --shadow-rest:   0 1px 2px rgba(22, 19, 15, .05);
  --shadow-hover:  0 12px 32px -16px rgba(22, 19, 15, .18);

  --font-display: "Space Grotesk", "Inter", -apple-system, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-settle: cubic-bezier(0.16, 1, 0.3, 1); /* long deceleration — rule-draw + line-rise */

  --header-h: 72px;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* Keep the hidden attribute authoritative over display rules like .btn */
[hidden] { display: none !important; }

html {
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }

h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }

a { color: var(--accent-text); }

/* ---------- Type scale ---------- */
h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 2rem + 2.6vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--ink);
}

h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.875rem, 1.55rem + 1.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.25rem, 1.15rem + 0.5vw, 1.5rem);
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
}

.body-lg {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.65;
  color: var(--ink-2);
}

.small {
  font-size: 0.875rem;
  line-height: 1.55;
  letter-spacing: 0.01em;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.dot { color: var(--accent); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* ---------- Focus (never animated) ---------- */
:focus-visible {
  outline: 2px solid var(--accent-text);
  outline-offset: 2px;
  transition: none;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute;
  top: 12px; left: 12px;
  z-index: 200;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--ink-inverse);
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

/* ---------- Layout primitives ---------- */
.container {
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (min-width: 720px)  { .container { padding-inline: 32px; } }
@media (min-width: 1024px) { .container { padding-inline: 48px; } }

.section { padding-block: 64px; }
@media (min-width: 720px)  { .section { padding-block: 96px; } }
@media (min-width: 1024px) { .section { padding-block: 128px; } }

.band-warm {
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.band-white {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section:focus { outline: none; }

/* ---------- Accent kit (section opener) ---------- */
.accent-kit { margin-bottom: 48px; }
@media (min-width: 1024px) { .accent-kit { margin-bottom: 64px; } }

.accent-rule {
  display: block;
  width: 32px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent);
  margin-bottom: 16px;
}
.accent-kit .eyebrow { margin-bottom: 12px; }
.accent-kit h2 { max-width: 62ch; }
.section-intro { margin-top: 24px; max-width: 62ch; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 16px 32px;
  border: 0;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  text-decoration: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-rest);
}
.btn-primary:hover { background: var(--accent-hover); box-shadow: var(--shadow-hover); }
.btn-primary:active { box-shadow: var(--shadow-rest); }
.btn-primary:disabled { opacity: .7; cursor: default; }

.btn-ghost {
  background: rgba(255, 255, 255, .7);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 15px 31px; /* compensate 1px border */
}
.btn-ghost:hover { border-color: var(--ink); background: var(--surface); }

.btn-sm { padding: 12px 24px; font-size: 0.9375rem; }
.btn-block { display: block; width: 100%; text-align: center; }

.text-link { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: transparent;
  border-bottom: 1px solid transparent;
}
@media (min-width: 720px) { .site-header { height: var(--header-h); } }

.site-header.scrolled,
.site-header.header-solid {
  background: rgba(250, 247, 242, .92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* Brand logo */
.brand { display: inline-flex; align-items: center; }
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
}
@media (min-width: 720px) { .brand-logo { height: 48px; } }

/* Desktop nav */
.site-nav { display: flex; align-items: center; }

.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}
.nav-links a:not(.btn) {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.nav-links a:not(.btn):hover {
  color: var(--accent-text);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}
.nav-cta-item { margin-left: 8px; }

@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .nav-toggle { display: none !important; }
}

/* Hamburger */
.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 44px; height: 44px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle-bar {
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  border-radius: 1px;
}

/* Mobile panel */
.mobile-panel {
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
  padding: 8px 24px 24px;
}
.mobile-links li { border-bottom: 1px solid var(--line); }
.mobile-links a {
  display: block;
  padding: 16px 0;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
}
.mobile-links a:hover { color: var(--accent-text); }
.mobile-cta { display: block; text-align: center; margin-top: 24px; }

/* ==========================================================================
   Hero — "The Full Stop" (pure typographic)
   ========================================================================== */
.hero {
  position: relative;
  background: var(--bg);
  display: flex;
  align-items: center;
  min-height: clamp(520px, 84vh, 780px);
  min-height: clamp(520px, 84svh, 780px);
}

.hero-inner {
  position: relative;
  width: 100%;
  padding-top: calc(var(--header-h) + 32px);
  padding-bottom: 48px;
}
@media (min-width: 1024px) {
  .hero-inner {
    padding-top: calc(var(--header-h) + 44px);
    padding-bottom: 56px;
  }
}

.hero-eyebrow { margin-bottom: 20px; }
@media (min-width: 1024px) { .hero-eyebrow { margin-bottom: 28px; } }

/* Split composition: copy left, drawn car right (stacked on mobile) */
.hero-grid {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: minmax(0, 58fr) minmax(0, 42fr);
    gap: 48px;
  }
}

.hero-visual {
  max-width: 400px;
}
.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
}
@media (min-width: 1024px) {
  .hero-visual {
    max-width: none;
    justify-self: end;
    width: 100%;
    align-self: center;
  }
}

/* Car line-art */
.car-line {
  stroke: var(--ink);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}
.car-road {
  stroke: var(--line-strong);
  stroke-width: 1.5;
  stroke-linecap: round;
}
.car-light {
  stroke: var(--accent);
  stroke-width: 3;
  stroke-linecap: round;
}
.car-light-rear { opacity: 0.55; }
.car-streak {
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  opacity: 0.45;
}

.hero-display {
  font-size: clamp(2.375rem, 1.4rem + 3.8vw, 4.75rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
  font-optical-sizing: auto;
}
.hero-display .line {
  display: block;
  text-wrap: balance;
}
.line-mask {
  display: block;
  overflow: hidden;
  padding-bottom: 0.06em;  /* crop insurance during the rise */
  margin-bottom: -0.06em;
}
.dot-final { display: inline-block; }

.hero-sub { margin-top: 20px; max-width: 54ch; }
@media (min-width: 1024px) { .hero-sub { margin-top: 24px; } }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}
@media (min-width: 1024px) { .cta-row { margin-top: 32px; } }
@media (max-width: 559px) {
  .hero .cta-row { flex-direction: column; align-items: stretch; }
  .hero .cta-row .btn { text-align: center; }
}

.hero-strip {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 12px;
  margin-top: 36px;
  padding-top: 20px;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}
@media (min-width: 1024px) { .hero-strip { margin-top: 44px; } }
.hero-rule {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 1px;
  background: var(--line-strong);
}
.strip-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

/* ==========================================================================
   How it works
   ========================================================================== */
.steps-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 720px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); gap: 32px; }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px;
  box-shadow: var(--shadow-rest);
}
.step-card:hover { box-shadow: var(--shadow-hover); border-color: var(--line-strong); }

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}

.step-index {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--ink-2);
}

.stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-warm);
  white-space: nowrap;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--accent);
}
.stat-label {
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.step-card h3 { font-size: 1.375rem; margin-bottom: 8px; }
.step-card p { color: var(--ink-2); }

.section-footnote {
  margin-top: 48px;
  text-align: center;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}
.section-footnote a { color: var(--accent-text); text-underline-offset: 3px; }
.section-footnote a:hover { color: var(--accent-hover); text-decoration-thickness: 2px; }

/* ==========================================================================
   Fleet
   ========================================================================== */
.fleet-grid {
  display: grid;
  gap: 48px 24px;
}
@media (min-width: 720px) {
  .fleet-grid { grid-template-columns: 1fr 1fr; gap: 48px 24px; }
}
@media (min-width: 1024px) {
  .fleet-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 64px 32px;
  }
  .fleet-commercial { grid-column: 1 / 9;  grid-row: 1; }
  .fleet-electric   { grid-column: 9 / 13; grid-row: 1 / 3; display: flex; flex-direction: column; }
  .fleet-family     { grid-column: 1 / 5;  grid-row: 2; }
  .fleet-prestige   { grid-column: 5 / 9;  grid-row: 2; }
}

.fleet-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 2;
}
.fleet-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.fleet-card:hover .fleet-frame { border-color: var(--line-strong); }

/* Per-card crops */
.ratio-portrait { aspect-ratio: 4 / 5; }
.ratio-portrait img { object-position: 50% 40%; }
@media (min-width: 1024px) {
  .ratio-5-3 { aspect-ratio: 5 / 3; }
  .ratio-7-8 { aspect-ratio: 7 / 8; }
  .ratio-8-5 { aspect-ratio: 8 / 5; }
  .fleet-electric .ratio-portrait { aspect-ratio: auto; flex: 1 1 auto; min-height: 0; }
  .fleet-electric .fleet-body { flex: none; }
}

.fleet-chip {
  position: absolute;
  top: 16px; left: 16px;
  z-index: 1;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.fleet-body { padding-top: 20px; }
.fleet-body h3 { font-size: 1.375rem; }

.fleet-flourish {
  display: block;
  width: 24px; height: 1px;
  background: var(--line-strong);
  margin: 12px 0;
}

.fleet-tagline {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 8px;
}

.fleet-body > p:not(.fleet-tagline) { color: var(--ink-2); max-width: 52ch; }

.fleet-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent-text);
  text-decoration: none;
}
.fleet-link:hover { color: var(--accent-hover); text-decoration: underline; text-underline-offset: 3px; }
.fleet-link .arrow { display: inline-block; }

/* ==========================================================================
   Why One Drive
   ========================================================================== */
.why-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .why-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 64px 32px;
    align-items: center;
  }
  .why-text  { grid-column: 1 / 7; }
  .why-aside { grid-column: 8 / 13; }
}

.why-text .accent-kit { margin-bottom: 32px; }

/* Hairline ledger (shared: Why bullets + Contact details) */
.ledger { margin: 0; }
.ledger-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--line);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink);
}
.ledger-row:last-child { border-bottom: 1px solid var(--line); }
.ledger-marker {
  flex: none;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--accent);
  transform: translateY(-1px);
}

.why-cta { margin-top: 32px; }

/* Typographic stat panel (no photography) */
.why-panel {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-rest);
}
@media (min-width: 560px) { .why-panel { padding: 40px 44px; } }

.why-stats { margin: 0; }
.why-stat {
  display: flex;
  flex-direction: column-reverse; /* number above its label */
  padding-block: 24px;
}
.why-stat:first-child { padding-top: 4px; }
.why-stat + .why-stat { border-top: 1px solid var(--line); }
.why-stat dd {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.5rem, 2.1rem + 2vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
  color: var(--ink);
}
.why-stat dt {
  margin-top: 8px;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.why-panel-note {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

/* ==========================================================================
   FAQs
   ========================================================================== */
.faq-container > .accent-kit,
.faq-list,
.faq-footnote { max-width: 800px; }

.faq-list { border-bottom: 1px solid var(--line-strong); }

.faq-item { border-top: 1px solid var(--line-strong); }

.faq-heading { margin: 0; font-size: 1rem; }

.faq-button {
  display: grid;
  grid-template-columns: 44px 1fr 24px;
  align-items: baseline;
  gap: 8px;
  width: 100%;
  min-height: 44px;
  padding: 24px 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-body);
}

.faq-index {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.125rem;
  color: var(--accent);
}

.faq-question {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.faq-button:hover .faq-question { color: var(--accent-text); }

.faq-icon {
  position: relative;
  width: 14px; height: 14px;
  align-self: center;
  justify-self: end;
}
.faq-icon span {
  position: absolute;
  top: 50%; left: 0;
  width: 14px; height: 1px;
  background: var(--ink);
}
.faq-icon span:last-child { transform: rotate(90deg); }
html.js .faq-item.open .faq-icon { transform: rotate(45deg); }

.faq-panel {
  display: grid;
  grid-template-rows: 1fr;
}
.faq-panel-inner {
  overflow: hidden;
  min-height: 0;
}
.faq-panel-inner p {
  color: var(--ink-2);
  max-width: 62ch;
  margin-left: 52px;
  padding-bottom: 24px;
}
@media (max-width: 559px) {
  .faq-button { grid-template-columns: 32px 1fr 24px; }
  .faq-panel-inner p { margin-left: 40px; }
}

/* JS-collapsed state (no-JS: panels stay open) */
html.js .faq-item:not(.open) .faq-panel {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
}

.faq-footnote { text-align: left; }

/* ==========================================================================
   Contact / enquiry
   ========================================================================== */
.contact-grid {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: repeat(12, 1fr);
    gap: 64px 32px;
    align-items: start;
  }
  .contact-context { grid-column: 1 / 6; }
  .form-panel      { grid-column: 6 / 13; }
}

.contact-context .accent-kit { margin-bottom: 32px; }

.contact-phone { margin-bottom: 24px; }
.phone-hero {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.5rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--ink);
  text-decoration: none;
}
.phone-hero:hover { color: var(--accent-text); }
.phone-vanity {
  margin-top: 4px;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

.contact-ledger dt { margin-bottom: 2px; }
.contact-ledger dd { font-weight: 500; font-size: 1rem; color: var(--ink); }

/* Form panel */
.form-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 24px;
  box-shadow: var(--shadow-rest);
}
@media (min-width: 560px) { .form-panel { padding: 40px; } }

/* --- Multi-step scaffolding (steps are an enhancement; no-JS = stacked) --- */
.form-step {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}
.form-step + .form-step { margin-top: 40px; }
html.js .form-step[data-js-hidden] { display: none; }
html.js .form-step + .form-step { margin-top: 0; }

.step-legend {
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 24px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.375rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.step-legend:focus { outline: none; }
.step-legend-num { color: var(--accent); }

/* Step indicator (JS only) */
.step-indicator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.step-ind {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
}
.step-ind-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: var(--surface);
  font-size: 0.75rem;
  font-variant-numeric: tabular-nums;
  color: var(--ink-2);
}
.step-ind.is-current { color: var(--ink); }
.step-ind.is-current .step-ind-num {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--ink);
}
.step-ind.is-done .step-ind-num {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--ink-inverse);
}
@media (max-width: 559px) {
  .step-ind:not(.is-current) .step-ind-label { display: none; }
}

.form-subhead {
  margin-top: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.field-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 560px) {
  .field-grid { grid-template-columns: 1fr 1fr; }
  .field-full { grid-column: 1 / -1; }
}

.field label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 8px;
}
.req { color: var(--accent); }

.field { min-width: 0; } /* let grid children shrink below intrinsic width */
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface-warm);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.4;
  color: var(--ink);
}
/* iOS renders date/time inputs with an intrinsic width that overflows the grid;
   normalising the appearance lets width:100% + min-width:0 take effect. */
.field input[type="date"],
.field input[type="month"],
.field input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
}
.field textarea { resize: vertical; min-height: 112px; }
.field select { appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235C564D' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.field input[aria-invalid="true"],
.field select[aria-invalid="true"],
.field textarea[aria-invalid="true"] { border-color: var(--error); }

.field-error {
  display: none;
  margin-top: 6px;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--error);
}
.field-error.active { display: block; }

.field-hint {
  margin-top: 6px;
  font-size: 0.8125rem;
  letter-spacing: 0.01em;
  color: var(--ink-2);
}

/* Checkbox groups */
.check-group {
  border: 0;
  padding: 0;
  margin: 0;
  min-inline-size: 0;
}
.check-legend {
  display: block;
  padding: 0;
  margin-bottom: 12px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 0;
  font-size: 0.9375rem;
  color: var(--ink);
  cursor: pointer;
}
.check + .check { border-top: 1px solid var(--line); }
.check input[type="checkbox"] {
  flex: none;
  width: 18px; height: 18px;
  margin: 2px 0 0;
  accent-color: var(--accent);
  cursor: pointer;
}

.consent-field {
  margin-top: 8px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.consent-check { padding: 0; font-size: 0.875rem; color: var(--ink-2); }
.consent-field .field-error + .consent-check { margin-top: 16px; border-top: 0; }
.consent-check span a { color: var(--accent-text); }
.consent-field.has-error .consent-check { color: var(--error); }

/* Step navigation */
.form-nav {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
}
.form-nav .btn { flex: none; }
#step-back { margin-right: auto; }
#step-next, #submit-btn { margin-left: auto; }
@media (max-width: 559px) {
  .form-nav { flex-direction: column-reverse; }
  .form-nav .btn { width: 100%; text-align: center; }
}

.form-status { font-size: 0.875rem; color: var(--ink-2); }
.form-status:not(:empty) { margin-bottom: 16px; }
.form-status.is-error { color: var(--error); }
.form-status.is-success { color: var(--success); }

/* Honeypot */
.hp-wrap {
  position: absolute;
  left: -9999px;
  top: auto;
}

#submit-btn[aria-busy="true"] { opacity: .7; cursor: wait; }

.form-notice {
  margin-top: 16px;
  padding: 16px;
  border-left: 3px solid var(--accent);
  background: var(--surface-warm);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--ink);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}

/* Success state */
.form-success { text-align: left; }
.form-success .success-icon { margin-bottom: 24px; }
.form-success h3 { margin-bottom: 8px; }
.form-success .small { color: var(--ink-2); }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--ink);
  color: var(--ink-inverse);
  padding-block: 48px;
}
@media (min-width: 1024px) { .site-footer { padding-block: 80px; } }

.footer-rule {
  display: block;
  height: 3px;
  background: var(--accent);
  margin-bottom: 48px;
  margin-top: -48px;
}
@media (min-width: 1024px) {
  .footer-rule { margin-bottom: 80px; margin-top: -80px; }
}

.footer-grid {
  display: grid;
  gap: 40px;
}
@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 48px;
  }
}

.footer-brand { margin-bottom: 20px; }
.brand-logo-footer { display: block; height: 40px; width: auto; }
.footer-blurb { color: var(--ink-inverse-2); max-width: 34ch; }
.footer-address { margin-top: 16px; color: var(--ink-inverse-2); }

.footer-eyebrow { color: var(--ink-inverse-2); margin-bottom: 16px; }

.footer-links li + li { margin-top: 10px; }
.footer-links a {
  font-size: 0.9375rem;
  color: var(--ink-inverse);
  text-decoration: none;
}
.footer-links a:hover { color: var(--accent); }

.footer-hours { color: var(--ink-inverse-2); }
.footer-hours li + li { margin-top: 6px; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(250, 247, 242, .14);
  color: var(--ink-inverse-2);
}
@media (min-width: 1024px) { .footer-bottom { margin-top: 64px; } }

/* ==========================================================================
   Privacy page
   ========================================================================== */
.privacy-main { padding-top: var(--header-h); }

.prose {
  max-width: 720px;
  padding-block: 96px;
}
.prose .page-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.875rem, 1.55rem + 1.6vw, 2.75rem);
  line-height: 1.12;
  letter-spacing: -0.015em;
}
.prose .updated { color: var(--ink-2); margin-top: 12px; }

.prose section {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.prose section h3,
.prose section h2.h3-style {
  font-family: var(--font-body);
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.prose p + p { margin-top: 16px; }
.prose ul { margin-top: 16px; padding-left: 20px; }
.prose li { color: var(--ink); }
.prose li + li { margin-top: 8px; }
.prose a { color: var(--accent-text); text-underline-offset: 3px; }
.prose a:hover { color: var(--accent-hover); }

/* ==========================================================================
   Motion — everything below runs only when motion is welcome
   ========================================================================== */
@media (prefers-reduced-motion: no-preference) {

  html { scroll-behavior: smooth; }

  /* Header transition */
  .site-header {
    transition: background-color 200ms var(--ease-out),
                border-color 200ms var(--ease-out);
  }

  /* Mobile panel slide */
  .mobile-panel {
    transform: translateY(-8px);
    opacity: 0;
    transition: transform 250ms var(--ease-out), opacity 250ms var(--ease-out);
  }
  .mobile-panel.open { transform: translateY(0); opacity: 1; }

  /* Hovers */
  .btn { transition: background-color 200ms var(--ease-out), border-color 200ms var(--ease-out),
                     box-shadow 200ms var(--ease-out), transform 200ms var(--ease-out); }
  .btn-primary:hover { transform: translateY(-1px); }
  .btn-primary:active { transform: translateY(0); }
  .step-card { transition: box-shadow 250ms var(--ease-out), border-color 250ms var(--ease-out); }
  .fleet-frame { transition: border-color 250ms var(--ease-out); }
  .fleet-frame img { transition: transform 400ms var(--ease-out); }
  .fleet-card:hover .fleet-frame img { transform: scale(1.03); }
  .fleet-link .arrow { transition: transform 200ms var(--ease-out); }
  .fleet-link:hover .arrow { transform: translateX(4px); }
  .nav-links a, .footer-links a, .text-link, .phone-hero, .mobile-links a,
  .section-footnote a, .fleet-link, .faq-question { transition: color 150ms var(--ease-out); }

  /* FAQ accordion */
  html.js .faq-panel {
    transition: grid-template-rows 300ms var(--ease-inout),
                opacity 300ms var(--ease-inout),
                visibility 300ms;
  }
  html.js .faq-icon { transition: transform 300ms var(--ease-inout); }

  /* Scroll reveal (only when JS is present — no-JS keeps content visible) */
  html.js [data-reveal] {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out);
    transition-delay: var(--reveal-delay, 0ms);
  }
  html.js [data-reveal].revealed {
    opacity: 1;
    transform: none;
  }

  /* Accent-rule draw-in */
  html.js [data-reveal] .accent-rule,
  html.js .accent-kit[data-reveal] .accent-rule {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 450ms var(--ease-out) 100ms;
  }
  html.js [data-reveal].revealed .accent-rule { transform: scaleX(1); }

  /* Footer closing rule */
  html.js .footer-rule {
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 450ms var(--ease-out) 100ms;
  }
  html.js .footer-rule.revealed { transform: scaleX(1); }

  /* Hero entrance (load) — "The Full Stop" choreography.
     Everything is at rest by ~1.15s; nothing loops. */
  html.js .line {
    transform: translateY(112%);
    animation: line-rise 800ms var(--ease-settle) forwards;
  }
  html.js .line-1 { animation-delay: 60ms; }
  html.js .line-2 { animation-delay: 170ms; }
  html.js .line-3 { animation-delay: 280ms; }

  html.js .hero-seq {
    opacity: 0;
    transform: translateY(16px);
    animation: hero-fade-in 600ms var(--ease-out) forwards;
  }
  html.js .hero-seq-1 {
    transform: translateY(12px);
    animation-duration: 500ms;
    animation-delay: 0ms;
  }
  html.js .hero-seq-2 { animation-delay: 300ms; }
  html.js .hero-seq-3 { animation-delay: 420ms; }
  html.js .hero-seq-4 { animation-delay: 540ms; }

  html.js .hero-rule {
    transform: scaleX(0);
    transform-origin: left;
    animation: rule-draw 900ms var(--ease-settle) 560ms forwards;
  }

  /* The signature: the final full stop is *placed* (~5% overshoot-settle) */
  html.js .dot-final {
    opacity: 0;
    transform: scale(0.5);
    transform-origin: 50% 80%;
    animation: dot-place 400ms cubic-bezier(0.3, 1.25, 0.4, 1) 720ms forwards;
  }

  @keyframes line-rise { to { transform: none; } }
  @keyframes rule-draw { to { transform: scaleX(1); } }
  @keyframes dot-place { to { opacity: 1; transform: scale(1); } }
  @keyframes hero-fade-in { to { opacity: 1; transform: none; } }

  /* Car line-art draw-in (paths carry pathLength="1").
     Choreography: road → body → wheels → details → lights. At rest by ~1.9s. */
  html.js .hero-visual {
    animation: car-fade 400ms var(--ease-out) 150ms both;
  }
  html.js .car-road,
  html.js .car-body,
  html.js .car-wheel,
  html.js .car-hub,
  html.js .car-belt {
    stroke-dasharray: 1;
    animation: car-draw 1100ms var(--ease-settle) both;
  }
  html.js .car-road    { animation-duration: 900ms; animation-delay: 250ms; }
  html.js .car-body    { animation-delay: 350ms; }
  html.js .car-wheel-r { animation-duration: 650ms; animation-delay: 850ms; }
  html.js .car-wheel-f { animation-duration: 650ms; animation-delay: 930ms; }
  html.js .car-hub-r   { animation-duration: 450ms; animation-delay: 1150ms; }
  html.js .car-hub-f   { animation-duration: 450ms; animation-delay: 1230ms; }
  html.js .car-belt    { animation-duration: 600ms; animation-delay: 1000ms; }

  html.js .car-mirror,
  html.js .car-shadow,
  html.js .car-light-front,
  html.js .car-light-rear,
  html.js .car-beam,
  html.js .car-streak {
    animation: car-fade 450ms var(--ease-out) both;
  }
  html.js .car-shadow      { animation-delay: 1200ms; }
  html.js .car-mirror      { animation-delay: 1300ms; }
  html.js .car-light-front { animation-delay: 1380ms; }
  html.js .car-light-rear  { animation-delay: 1380ms; }
  html.js .car-beam        { animation-delay: 1460ms; }
  html.js .car-streak-1    { animation-delay: 1440ms; }
  html.js .car-streak-2    { animation-delay: 1520ms; }
  html.js .car-streak-3    { animation-delay: 1600ms; }

  @keyframes car-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
  @keyframes car-fade { from { opacity: 0; } }

  /* Multi-step form: entering step rises into place */
  html.js .form-step.step-in {
    animation: step-in 300ms var(--ease-out);
  }
  @keyframes step-in {
    from { opacity: 0; transform: translateY(12px); }
  }

  /* Focus is never animated */
  :focus-visible { transition: none; }
}

/* On touch / small screens the per-section scroll fade felt laggy when scrolling
   quickly — show all content immediately and drop the fade. Desktop keeps it. */
@media (pointer: coarse), (max-width: 700px) {
  html.js [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  html.js [data-reveal] .accent-rule,
  html.js .accent-kit[data-reveal] .accent-rule,
  html.js .footer-rule { transform: scaleX(1) !important; transition: none !important; }
}

/* ============ Multi-step: damage · review · signature ============ */
.step-intro { margin: 0 0 20px; color: #5c564d; font-size: 0.95rem; line-height: 1.55; }
.step-intro strong { color: var(--ink); }

.pad-actions { display: flex; align-items: center; gap: 16px; margin-top: 14px; flex-wrap: wrap; }
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.sign-hint { color: #5c564d; }

/* Damage diagram + freehand overlay */
.damage-pad { position: relative; width: 100%; max-width: 560px; margin-inline: auto; aspect-ratio: 1590 / 747; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; overflow: hidden; touch-action: none; }
.damage-bg { display: block; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-select: none; user-select: none; }
.damage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }

/* Signature pad */
.sign-pad { position: relative; width: 100%; height: 180px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--surface-warm); overflow: hidden; touch-action: none; }
.sign-canvas { position: absolute; inset: 0; width: 100%; height: 100%; cursor: crosshair; touch-action: none; }
.sign-baseline { position: absolute; left: 28px; right: 28px; bottom: 48px; border-bottom: 1px dashed var(--line-strong); pointer-events: none; }
.sign-x { position: absolute; left: 28px; bottom: 50px; color: #b7b0a6; font-size: 0.9rem; pointer-events: none; }

/* Document review */
.doc-review { display: grid; gap: 20px; }
@media (min-width: 700px) { .doc-review { grid-template-columns: 1fr 1fr; } }
.doc-card { border: 1px solid var(--line-strong); border-radius: var(--r-sm); overflow: hidden; background: var(--surface-warm); }
.doc-card-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.doc-title { font-weight: 600; font-size: 0.95rem; }
.doc-open { font-size: 0.85rem; white-space: nowrap; }
.doc-frame { display: block; width: 100%; height: 440px; border: 0; background: #fff; }
@media (max-width: 700px) { .doc-frame { height: 320px; } }
