/* RecallMagic
   Visual language: modern automotive fixed-ops precision with subtle nods to
   highway guide signs, road markings, and service drive repair orders. */

@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/overpass-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Overpass';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/overpass-latin-ext-wght-normal.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Doto';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/fonts/doto-latin-full-normal.woff2') format('woff2');
}

:root {
  /* Palette */
  --green: #038a00;          /* logo green, primary actions */
  --green-deep: #026b00;     /* hover, green text on light backgrounds */
  --green-bright: #3ce060;   /* glowing green accents on dark backgrounds */
  --green-wash: #e5f1e3;     /* the drivers' section */
  --asphalt: #11161d;
  --asphalt-raised: #1b222c;
  --asphalt-line: #2e3846;
  --concrete: #f4f6f5;
  --white: #ffffff;
  --lane: #f2c12e;           /* road-marking yellow: attention only */
  --steel: #737b82;
  --dealer: #1d4f91;         /* stands in for a dealership's own brand in the previews */
  --error: #b3261e;
  --led-amber: #ffb22e;
  --led-green: #4ade80;
  --board-face: #0d131c;

  --ink: #14181f;
  --ink-soft: #4a5462;
  --ink-on-dark: #f1f5f9;
  --ink-on-dark-soft: #94a3b8;
  --line: #dce2df;
  --field-border: #b8c2be;

  /* Type */
  --font: 'Overpass', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  /* Layout */
  --wrap: 75rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --header-height: 4.5rem;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--concrete);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }

h1, h2, h3 {
  font-weight: 800;
  line-height: 1.1;
  text-wrap: balance;
}

h2 {
  font-size: clamp(2rem, 1.6rem + 2vw, 2.85rem);
  letter-spacing: -0.02em;
}

h3 { font-size: 1.375rem; letter-spacing: -0.01em; }

p { text-wrap: pretty; }

a {
  color: var(--green-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

a:hover { color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--green-deep);
  outline-offset: 3px;
  border-radius: 4px;
}

.section--dark :focus-visible,
.hero :focus-visible,
.site-footer :focus-visible { outline-color: var(--lane); }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--wrap));
  margin-inline: auto;
}

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

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 1.25em;
  height: 1.25em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.skip-link {
  position: absolute;
  top: -5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.7rem 1rem 0.6rem;
  border-radius: 8px;
  background: var(--asphalt);
  color: var(--white);
  font-weight: 700;
  text-decoration: none;
}

.skip-link:focus { top: 1rem; color: var(--white); }

/* ---------- Buttons ---------- */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  min-height: 2.85rem;
  padding: 0.75em 1.35em 0.65em;
  border: 2px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.1;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.button:active { transform: translateY(1px); }

.button--large { font-size: 1.0625rem; padding: 0.9em 1.55em 0.78em; }

.button--primary {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 4px 14px rgb(3 138 0 / 0.3);
}

.button--primary:hover {
  background: var(--green-deep);
  color: var(--white);
  box-shadow: 0 6px 20px rgb(3 138 0 / 0.4);
}

.button--outline {
  border-color: var(--ink);
  color: var(--ink);
  background: transparent;
}

.button--outline:hover {
  background: var(--ink);
  color: var(--concrete);
}

.button--outline-light {
  background: rgb(255 255 255 / 0.06);
  color: var(--white);
  border-color: rgb(255 255 255 / 0.28);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.button--outline-light:hover {
  background: rgb(255 255 255 / 0.15);
  border-color: var(--white);
  color: var(--white);
}

/* A white button, for a green background */
.button--light {
  background: var(--white);
  color: var(--green-deep);
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.15);
}

.button--light:hover { background: var(--concrete); color: var(--ink); }

.button[disabled] { opacity: 0.7; cursor: progress; }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgb(255 255 255 / 0.92);
  -webkit-backdrop-filter: saturate(1.5) blur(12px);
  backdrop-filter: saturate(1.5) blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: var(--header-height);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.brand:hover { color: var(--ink); }
.brand-mark { width: 2.35rem; }
.brand-name { padding-top: 0.12em; }

.site-nav { margin-left: auto; }

.site-nav ul {
  display: flex;
  gap: 1.85rem;
  padding: 0;
  list-style: none;
}

.site-nav a {
  color: var(--ink);
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 0.15s;
}

.site-nav a:hover { color: var(--green); }

.header-cta { padding: 0.62em 1.15em 0.52em; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-right: -0.5rem;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 1.4rem;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.2s, opacity 0.2s;
}

.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before,
.nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); background: var(--ink); }
.nav-open .nav-toggle-bars::after { transform: translateY(-7px) rotate(-45deg); background: var(--ink); }

@media (max-width: 59.99em) {
  .nav-toggle { display: inline-flex; }
  .header-cta { margin-left: auto; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -24px rgb(0 0 0 / 0.45);
  }

  .nav-open .site-nav { display: block; }

  .site-nav ul {
    flex-direction: column;
    gap: 0;
    width: min(100% - 2 * var(--gutter), var(--wrap));
    margin-inline: auto;
    padding: 0.25rem 0 1rem;
  }

  .site-nav li + li { border-top: 1px solid var(--line); }
  .site-nav a { display: block; padding: 0.9rem 0 0.75rem; font-size: 1.125rem; }
}

.nav-cta { display: none; }

@media (max-width: 29.99em) {
  .header-cta { display: none; }
  .nav-toggle { margin-left: auto; }

  .site-nav .nav-cta { display: block; padding-top: 1rem; border-top: 0; }

  .site-nav .nav-cta a,
  .site-nav .nav-cta a:hover {
    display: flex;
    width: 100%;
    padding: 0.85em 1.2em 0.72em;
    color: var(--white);
    text-decoration: none;
  }
}

/* ---------- Hero: Video Loop + Frosted Live Recovery Feed ---------- */

.hero {
  position: relative;
  overflow: hidden;
  background-color: #080d14;
  color: var(--white);
  padding: clamp(3.75rem, 7vw, 6.25rem) 0 clamp(6.5rem, 9vw, 8.5rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
  filter: saturate(0.85) contrast(1.08);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 25%, rgb(3 138 0 / 0.18), transparent 45%),
    linear-gradient(
      108deg,
      rgb(7 11 18 / 0.96) 0%,
      rgb(10 15 24 / 0.88) 52%,
      rgb(10 15 24 / 0.68) 100%
    );
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.25rem, 4.5vw, 4rem);
  align-items: center;
}

.hero-body {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 1.35rem;
  max-width: 40rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.42rem 0.95rem 0.36rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  border: 1px solid rgb(255 255 255 / 0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: #e2e8f0;
}

.hero-badge-logo {
  width: 1.45rem;
  height: auto;
  flex: none;
}

.hero-title {
  font-size: clamp(2.35rem, 1.5rem + 3vw, 3.65rem);
  line-height: 1.06;
  font-weight: 850;
  letter-spacing: -0.025em;
  color: var(--white);
}

.hero .lede {
  font-size: clamp(1.0625rem, 0.98rem + 0.35vw, 1.225rem);
  line-height: 1.58;
  color: #cbd5e1;
}

.hero .lede strong {
  color: var(--white);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.25rem;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.35rem;
  padding: 0.5rem 0 0;
  list-style: none;
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.hero-trust .icon {
  width: 1.1rem;
  height: 1.1rem;
  color: var(--green-bright);
  stroke-width: 2.4;
}

/* Live Recall Recovery Feed (.board) */
.board {
  position: relative;
  width: 100%;
  margin: 0;
}

.board-face {
  padding: 1.35rem;
  border-radius: 18px;
  background: rgb(13 19 29 / 0.82);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border: 1px solid rgb(255 255 255 / 0.14);
  box-shadow: 0 28px 60px -20px rgb(0 0 0 / 0.65);
}

.board-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 0.95rem;
  margin-bottom: 0.95rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}

.board-status {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.board-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 10px var(--green-bright);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.88); }
}

.board-caption {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #cbd5e1;
}

.board-pill {
  padding: 0.2rem 0.55rem 0.14rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.08);
  font-family: 'Doto', ui-monospace, Menlo, Consolas, monospace;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--led-amber);
}

.board-lines {
  display: grid;
  gap: 0.65rem;
  padding: 0;
  list-style: none;
}

.board-lines li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.75rem 0.95rem;
  border-radius: 12px;
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.07);
  animation: feed-in 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.board-lines li:nth-child(1) { animation-delay: 0.15s; }
.board-lines li:nth-child(2) { animation-delay: 0.35s; }
.board-lines li:nth-child(3) { animation-delay: 0.55s; }
.board-lines li:nth-child(4) { animation-delay: 0.75s; }
.board-lines li:nth-child(5) { animation-delay: 0.95s; }

@keyframes feed-in {
  from { opacity: 0; transform: translateY(8px); }
}

.board-lines .board-done {
  background: rgb(3 138 0 / 0.12);
  border-color: rgb(60 224 96 / 0.24);
}

.board-item {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
}

.board-veh {
  font-size: 0.925rem;
  font-weight: 700;
  color: var(--white);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-sub {
  font-size: 0.78rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.board-tag {
  flex: none;
  padding: 0.28rem 0.65rem 0.2rem;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.08);
  color: #cbd5e1;
  font-size: 0.78rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.board-tag--booked {
  background: rgb(60 224 96 / 0.18);
  border: 1px solid rgb(60 224 96 / 0.38);
  color: #4ade80;
  font-weight: 800;
}

@media (max-width: 63.99em) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.5rem;
  }
  .hero-body { max-width: 44rem; }
  .board { max-width: 36rem; }
}

@media (max-width: 37.5em) {
  .hero-actions .button { flex: 1 1 auto; width: 100%; }
  .board-face { padding: 1.05rem; }
}

/* ---------- Overlapping Bento Benchmark Cards (.proof-section) ---------- */

.proof-section {
  position: relative;
  z-index: 2;
  margin-top: -3.5rem;
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.proof-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem 1.5rem 1.4rem;
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 18px 38px -18px rgb(15 23 42 / 0.12);
  overflow: hidden;
}

.proof-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--green);
}

.proof-number {
  font-size: clamp(2.1rem, 1.7rem + 1.2vw, 2.65rem);
  font-weight: 850;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--green);
  margin-bottom: 0.55rem;
  font-variant-numeric: tabular-nums;
}

.proof-label {
  font-size: 0.96rem;
  line-height: 1.45;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 0.9rem;
}

.proof-source {
  font-size: 0.75rem;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-soft);
  padding-top: 0.7rem;
  border-top: 1px solid #eef2f0;
}

@media (max-width: 63.99em) {
  .proof-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 35.99em) {
  .proof-section { margin-top: -2.25rem; }
  .proof-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(4rem, 8vw, 7rem); }
.section--white { background: var(--white); }
.section--dark { background: var(--asphalt); color: var(--ink-on-dark); }

.section-head {
  max-width: 46rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.section-intro {
  margin-top: 0.9rem;
  font-size: 1.25rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.section--dark .section-intro { color: var(--ink-on-dark-soft); }

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

@media (max-width: 59.99em) {
  .split { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- How it works: four stops on a road ---------- */

.route {
  --marker: 3rem;
  --road: 0.65rem;
  --gap: clamp(1.25rem, 2.5vw, 2rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
  padding: 0;
  list-style: none;
}

.route-stop {
  position: relative;
  padding: 1.5rem;
  border-radius: 16px;
  background: var(--concrete);
  border: 1px solid var(--line);
}

.route-stop:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 3rem;
  right: calc(-1 * var(--gap) - 1px);
  width: calc(var(--gap) + 2px);
  height: var(--road);
  z-index: 2;
  background: repeating-linear-gradient(90deg, var(--lane) 0 0.6rem, transparent 0.6rem 1.1rem) center / 100% 2px no-repeat var(--asphalt);
}

.route-marker {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: var(--marker);
  height: var(--marker);
  margin-bottom: 1.25rem;
  padding-top: 0.12em;
  border-radius: 0.65rem;
  background: var(--green);
  color: var(--white);
  font-size: 1.3125rem;
  font-weight: 800;
  box-shadow: inset 0 0 0 0.2rem var(--green), inset 0 0 0 0.35rem var(--white);
}

.route-stop h3 { margin-bottom: 0.55rem; font-size: 1.25rem; }
.route-stop p { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

@media (max-width: 63.99em) {
  .route { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .route-stop:not(:last-child)::after { display: none; }
}

@media (max-width: 37.5em) {
  .route { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Channels ---------- */

.channels {
  display: grid;
  grid-template-columns: minmax(15rem, 19.5rem) minmax(0, 1fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

.channel-tabs { display: grid; gap: 0.6rem; }

.channel-tab {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 0.9rem;
  align-items: center;
  padding: 1rem 1.15rem 0.9rem;
  border: 1px solid var(--asphalt-line);
  border-radius: 12px;
  background: rgb(255 255 255 / 0.02);
  color: var(--ink-on-dark);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.channel-tab .icon {
  grid-row: span 2;
  width: 1.6rem;
  height: 1.6rem;
  color: var(--ink-on-dark-soft);
}

.tab-label { font-size: 1.125rem; font-weight: 750; line-height: 1.25; }
.tab-detail { font-size: 0.9rem; line-height: 1.35; color: var(--ink-on-dark-soft); }

.channel-tab:hover { border-color: #4b5563; background: rgb(255 255 255 / 0.04); }

.channel-tab[aria-selected="true"] {
  border-color: var(--green-bright);
  background: var(--asphalt-raised);
  box-shadow: inset 0.3rem 0 0 var(--green-bright);
}

.channel-tab[aria-selected="true"] .icon { color: var(--green-bright); }

.channel-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: center;
  min-height: 29rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-radius: 18px;
  background: var(--asphalt-raised);
  border: 1px solid var(--asphalt-line);
}

.channel-panel[hidden] { display: none; }

.channel-points {
  display: grid;
  gap: 1.15rem;
  padding: 0;
  list-style: none;
}

.channel-points li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  font-size: 1.02rem;
}

.channel-points .icon { margin-top: 0.15em; color: var(--green-bright); stroke-width: 2.25; }

@media (max-width: 71.99em) {
  .channel-panel { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 59.99em) {
  .channels { grid-template-columns: minmax(0, 1fr); }
  .channel-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .channel-tab { column-gap: 0.6rem; padding: 0.85rem 0.85rem 0.75rem; }
  .channel-tab .icon { grid-row: auto; width: 1.4rem; height: 1.4rem; }
  .tab-label { font-size: 1rem; }
  .tab-detail { display: none; }
  .channel-tab[aria-selected="true"] { box-shadow: inset 0 -0.25rem 0 var(--green-bright); }
  .channel-panel { min-height: 0; }
}

/* Previews of what owners receive */

.mock {
  width: 100%;
  max-width: 27rem;
  border-radius: 16px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.9375rem;
  line-height: 1.45;
  box-shadow: 0 24px 48px -20px rgb(0 0 0 / 0.65);
  overflow: hidden;
  animation: mock-in 0.35s ease-out both;
}

@keyframes mock-in {
  from { opacity: 0; transform: translateY(10px); }
}

.mock-from { display: grid; line-height: 1.25; }
.mock-from span { font-size: 0.8125rem; color: var(--ink-soft); }

.dealer-badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 2.5rem;
  height: 2.5rem;
  padding-top: 0.1em;
  border-radius: 50%;
  background: var(--dealer);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.dealer-badge--square { width: 2rem; height: 2rem; border-radius: 7px; font-size: 0.75rem; }
.dealer-badge--icon { padding-top: 0; }
.dealer-badge--icon .icon { width: 1.2rem; height: 1.2rem; }

/* Text message */
.sms-head,
.email-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.1rem 0.75rem;
  border-bottom: 1px solid #e3e7e5;
  background: #f6f7f6;
}

.sms-thread { display: grid; gap: 0.55rem; padding: 1.15rem 1rem 1.25rem; }

.bubble {
  max-width: 86%;
  padding: 0.65rem 0.9rem 0.55rem;
  border-radius: 18px;
}

.bubble--in { justify-self: start; background: #eef1f0; border-bottom-left-radius: 6px; }
.bubble--out { justify-self: end; background: var(--dealer); color: var(--white); border-bottom-right-radius: 6px; }

.bubble-link {
  display: inline-block;
  margin-top: 0.4rem;
  padding: 0.32rem 0.75rem 0.22rem;
  border: 1px solid #c9d0cd;
  border-radius: 999px;
  background: var(--white);
  color: var(--dealer);
  font-weight: 700;
}

.channel-panel:not([hidden]) .bubble { animation: bubble-in 0.35s ease-out both; }
.channel-panel:not([hidden]) .bubble:nth-child(2) { animation-delay: 0.2s; }
.channel-panel:not([hidden]) .bubble:nth-child(3) { animation-delay: 0.45s; }
.channel-panel:not([hidden]) .bubble:nth-child(4) { animation-delay: 0.75s; }

@keyframes bubble-in {
  from { opacity: 0; transform: translateY(6px) scale(0.98); }
}

/* Email */
.email-meta { display: grid; gap: 0.15rem; font-size: 0.875rem; }
.email-meta div { display: flex; gap: 0.5rem; }
.email-meta dt { flex: none; width: 3.9rem; color: var(--ink-soft); }
.email-meta dd { font-weight: 600; }

.email-body { display: grid; gap: 0.8rem; padding: 1.3rem 1.4rem 1.1rem; }

.email-brand { display: flex; align-items: center; gap: 0.55rem; font-weight: 800; }

.email-title { font-size: 1.3125rem; font-weight: 750; line-height: 1.2; }

.email-button {
  justify-self: start;
  padding: 0.62rem 1.05rem 0.5rem;
  border-radius: 8px;
  background: var(--dealer);
  color: var(--white);
  font-weight: 700;
}

.email-foot {
  padding-top: 0.8rem;
  border-top: 1px solid #e3e7e5;
  font-size: 0.75rem;
  color: var(--ink-soft);
}

.email-unsubscribe { text-decoration: underline; }

/* Phone call */
.mock-call { display: grid; gap: 1.1rem; padding: 1.3rem; }
.call-head { display: flex; align-items: center; gap: 0.75rem; }
.call-wave svg { width: 100%; height: 2.5rem; fill: var(--dealer); opacity: 0.85; }

.call-script {
  padding-left: 1rem;
  border-left: 3px solid #d5dbd8;
  font-size: 1rem;
  line-height: 1.5;
  color: #2b3035;
}

.call-keys { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.call-key {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem 0.3rem 0.3rem;
  border-radius: 999px;
  background: #eceeed;
  font-size: 0.875rem;
  font-weight: 600;
}

.call-key b {
  display: grid;
  place-items: center;
  width: 1.6rem;
  height: 1.6rem;
  padding-top: 0.12em;
  border-radius: 50%;
  background: var(--asphalt);
  color: var(--white);
}

/* Postcard */
.mock-postcard { border-radius: 8px; background: #fffef9; }

.postcard-band {
  padding: 0.6rem 1.25rem 0.5rem;
  background: var(--lane);
  color: var(--asphalt);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.postcard-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  align-items: center;
  padding: 1.25rem;
}

.postcard-title { margin-bottom: 0.5rem; font-size: 1.3125rem; font-weight: 750; line-height: 1.2; }

.postcard-qr {
  display: grid;
  justify-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 700;
}

.postcard-qr svg { width: 6.25rem; height: 6.25rem; fill: var(--asphalt); }

.postcard-foot {
  padding: 0.75rem 1.25rem 0.65rem;
  border-top: 1px dashed #c4cbc7;
  color: var(--dealer);
  font-weight: 700;
}

/* Sequence */
.cadence { margin-top: clamp(3rem, 6vw, 4.5rem); }
.cadence h3 { margin-bottom: 1.5rem; }

.cadence-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--asphalt-line);
}

.cadence-steps li { position: relative; padding: 1.25rem 1rem 0 0; }

.cadence-steps li::before {
  content: "";
  position: absolute;
  top: -0.45rem;
  left: 0;
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--green-bright);
  border-radius: 50%;
  background: var(--asphalt);
}

.cadence-day { display: block; color: var(--white); font-size: 1.4rem; font-weight: 800; line-height: 1.2; }
.cadence-channel { display: block; margin-top: 0.2rem; color: var(--ink-on-dark-soft); font-weight: 600; }

.cadence-note { max-width: 44rem; margin-top: 2rem; color: var(--ink-on-dark-soft); }

@media (max-width: 47.99em) {
  .cadence-steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.25rem;
    padding-left: 1.5rem;
    border-top: 0;
    border-left: 2px solid var(--asphalt-line);
  }

  .cadence-steps li { display: flex; align-items: baseline; gap: 1rem; padding: 0; }
  .cadence-steps li::before { top: 0.45rem; left: calc(-1.5rem - 0.45rem); }
  .cadence-day { min-width: 5.5rem; font-size: 1.3125rem; }
  .cadence-channel { margin: 0; }
}

/* ---------- Estimate ---------- */

.estimator {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 4.5vw, 4rem);
  align-items: start;
}

.estimator-inputs {
  display: grid;
  gap: 2rem;
  min-inline-size: 0;
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
}

.slider-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.55rem;
}

.slider-head label { font-weight: 700; font-size: 1.05rem; }

.slider-head output {
  flex: none;
  font-size: 1.5rem;
  font-weight: 850;
  color: var(--green-deep);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  --fill: 50%;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 0.5rem;
  margin: 0.6rem 0;
  border-radius: 999px;
  background: linear-gradient(to right, var(--green) var(--fill), #cfd6d2 var(--fill));
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 1.55rem;
  height: 1.55rem;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.22);
}

input[type="range"]::-moz-range-thumb {
  width: 1.15rem;
  height: 1.15rem;
  border: 3px solid var(--green);
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 6px rgb(0 0 0 / 0.22);
}

input[type="range"]:focus-visible { outline-offset: 8px; }

/* Laid out like a high-contrast Repair Order summary */
.estimate {
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
  padding: clamp(1.6rem, 3vw, 2.35rem);
  border-radius: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: 0 24px 48px -28px rgb(15 23 42 / 0.22);
}

.estimate h3 {
  padding-bottom: 1rem;
  border-bottom: 2px dashed var(--line);
  color: var(--ink-soft);
  font-size: 1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.estimate dl { display: grid; gap: 0.9rem; padding-block: 1.25rem 1.25rem; }

.estimate dl > div { display: flex; align-items: baseline; gap: 0.6rem; }

.estimate dl > div::before {
  content: "";
  order: 1;
  flex: 1;
  min-width: 1rem;
  border-bottom: 2px dotted #bcc4c0;
  transform: translateY(-0.3em);
}

.estimate dt { order: 0; }

.estimate dd {
  order: 2;
  font-weight: 750;
  font-variant-numeric: tabular-nums;
}

.estimate .estimate-total {
  align-items: center;
  margin-top: 0.5rem;
  padding-top: 1.25rem;
  border-top: 2px solid var(--ink);
}

.estimate-total::before { visibility: hidden; }
.estimate-total dt { font-size: 1.25rem; font-weight: 800; }

.estimate-total dd {
  color: var(--green);
  font-size: clamp(2.25rem, 1.8rem + 1.5vw, 2.9rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  line-height: 1;
}

.estimate-cta {
  margin: 0.25rem 0 1rem;
}

.estimate-cta .button {
  width: 100%;
}

.estimate-note { font-size: 0.85rem; line-height: 1.45; color: var(--ink-soft); }

@media (max-width: 59.99em) {
  .estimator { grid-template-columns: minmax(0, 1fr); }
  .estimate { position: static; }
}

@media (max-width: 37.5em) {
  .slider-head { flex-direction: column; gap: 0.15rem; }
}

/* ---------- FAQ ---------- */

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

.faq-list summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0 1.15rem;
  font-size: 1.25rem;
  font-weight: 750;
  line-height: 1.3;
  list-style: none;
  cursor: pointer;
}

.faq-list summary::-webkit-details-marker { display: none; }

.faq-list summary::after {
  content: "";
  flex: none;
  width: 1rem;
  height: 1rem;
  margin-top: 0.3rem;
  background:
    linear-gradient(currentColor, currentColor) center / 100% 2px no-repeat,
    linear-gradient(currentColor, currentColor) center / 2px 100% no-repeat;
  transition: transform 0.2s ease;
}

.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list summary:hover { color: var(--green-deep); }
.faq-list details p { max-width: 60ch; padding-bottom: 1.5rem; color: var(--ink-soft); }

/* ---------- Demo request ---------- */

.demo-copy h3 { margin: 2.25rem 0 1rem; font-size: 1.125rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-on-dark); }

.next-steps {
  display: grid;
  gap: 1rem;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.next-steps li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.9rem;
  align-items: start;
  color: var(--ink-on-dark-soft);
  counter-increment: step;
}

.next-steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  padding-top: 0.12em;
  border-radius: 0.45rem;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
  box-shadow: inset 0 0 0 0.15rem var(--green), inset 0 0 0 0.26rem var(--white);
}

.demo-form,
.demo-success {
  padding: clamp(1.6rem, 3.5vw, 2.5rem);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 60px -24px rgb(0 0 0 / 0.55);
}

.form-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem 1rem;
}

.field--full { grid-column: 1 / -1; }

.field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.98rem;
  font-weight: 700;
}

.optional { font-weight: 400; color: var(--ink-soft); }

.field input,
.field select,
.field textarea {
  display: block;
  width: 100%;
  padding: 0.72rem 0.85rem 0.6rem;
  border: 1.5px solid var(--field-border);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 1.02rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.5rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231d2023' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 0.75rem center / 1.15rem no-repeat var(--white);
}

.field textarea { min-height: 4.5rem; resize: vertical; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--green-deep);
  box-shadow: 0 0 0 3px rgb(3 138 0 / 0.2);
}

.field [aria-invalid="true"] { border-color: var(--error); }
.field [aria-invalid="true"]:focus { border-color: var(--error); box-shadow: 0 0 0 3px rgb(179 38 30 / 0.2); }

.field-error { margin-top: 0.35rem; color: var(--error); font-size: 0.9rem; font-weight: 600; }
.field-error:empty { display: none; }

.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions { display: grid; justify-items: stretch; gap: 0.85rem; margin-top: 1.5rem; }
.form-status { color: var(--error); font-weight: 600; }
.form-status:empty { display: none; }
.form-fineprint { color: var(--ink-soft); font-size: 0.85rem; text-align: center; }

.demo-success { display: grid; justify-items: start; gap: 0.75rem; }
.demo-success[hidden] { display: none; }
.demo-success:focus { outline: none; }
.demo-success h3 { font-size: 2rem; }
.demo-success p { color: var(--ink-soft); }
.demo-success strong { color: var(--ink); word-break: break-word; }

.success-sign {
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 0.5rem;
  border-radius: 0.65rem;
  background: var(--green);
  color: var(--white);
  box-shadow: inset 0 0 0 0.2rem var(--green), inset 0 0 0 0.34rem var(--white);
  animation: stamp 0.4s cubic-bezier(0.2, 1.4, 0.4, 1) both;
}

.success-sign .icon { width: 1.7rem; height: 1.7rem; stroke-width: 2.5; }

@keyframes stamp {
  from { opacity: 0; transform: scale(0.6); }
}

@media (max-width: 37.5em) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- For drivers ---------- */

.drivers { background: var(--green-wash); }

.driver-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding: 0;
  list-style: none;
}

.driver-facts h3 { margin-bottom: 0.4rem; font-size: 1.25rem; }
.driver-facts p { color: var(--ink-soft); }

.drivers-lookup {
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgb(3 138 0 / 0.25);
}

@media (max-width: 37.5em) {
  .driver-facts { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

/* ---------- Footer ---------- */

.site-footer {
  padding: 3.5rem 0 2.5rem;
  background: var(--asphalt);
  color: var(--ink-on-dark-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem 3rem;
  align-items: start;
}

.brand--light,
.brand--light:hover { color: var(--white); }

.footer-brand p { margin-top: 0.75rem; }

.footer-nav ul {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0.6rem 2.5rem;
  padding: 0;
  list-style: none;
}

.footer-nav a { color: var(--ink-on-dark); text-decoration: none; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }

.footer-legal {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  border-top: 1px solid var(--asphalt-line);
  font-size: 0.875rem;
}

@media (max-width: 47.99em) {
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Standalone pages (404, thanks) ---------- */

.standalone {
  --sign-pad-x: clamp(1.6rem, 4.8vw, 4.2rem);
  --sign-arrow: clamp(4.25rem, 10vw, 9.25rem);
  --sign-gap: clamp(1.25rem, 3.2vw, 3rem);
  --beam: clamp(0.6rem, 1vw, 0.8rem);
  --hanger: clamp(1.25rem, 2.5vw, 2rem);
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 1.5rem;
  min-height: 100vh;
  min-height: 100svh;
  padding-block: 3rem;
}

.standalone .gantry {
  position: relative;
  padding-top: calc(var(--beam) + var(--hanger));
}

.standalone .gantry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: var(--beam);
  border-radius: 3px;
  background: linear-gradient(#9aa2a8, var(--steel) 55%, #5f666c);
}

.standalone .sign {
  --radius: clamp(0.9rem, 1.6vw, 1.4rem);
  --inset: clamp(0.4rem, 0.7vw, 0.65rem);
  --stroke: clamp(0.2rem, 0.35vw, 0.32rem);
  position: relative;
  display: flex;
  align-items: center;
  gap: var(--sign-gap);
  width: fit-content;
  max-width: 100%;
  padding: clamp(1.75rem, 4.2vw, 3.4rem) var(--sign-pad-x) clamp(1.5rem, 3.8vw, 3rem);
  border-radius: var(--radius);
  background: var(--green);
  color: var(--white);
}

.standalone .sign::before {
  content: "";
  position: absolute;
  inset: var(--inset);
  border: var(--stroke) solid var(--white);
  border-radius: calc(var(--radius) - var(--inset) / 2);
  pointer-events: none;
}

.standalone .sign-arrow {
  flex: none;
  width: var(--sign-arrow);
}

.standalone .sign-legend {
  max-width: none;
  font-size: clamp(2rem, 1.1rem + 4.4vw, 4.5rem);
  font-weight: 700;
  line-height: 1.04;
}

.standalone > h1 { font-size: clamp(2.25rem, 1.75rem + 2vw, 3rem); }
.standalone p { max-width: 36rem; color: var(--ink-soft); font-size: 1.3125rem; }

.error-list { display: grid; gap: 0.4rem; padding-left: 1.25rem; color: var(--error); font-weight: 600; }

/* ---------- Invitation page (public/invitation.html) ----------
   While RecallMagic is invitation only, the home page is the landing page's
   hero on its own: the same video and overlay across the whole screen, the
   brand and a way to sign in on top, the request card beside the message,
   and a word for vehicle owners at the foot. */

.invite {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: 0;
}

.invite-header,
.invite-main,
.invite-foot {
  position: relative;
  z-index: 1;
}

.invite-header .header-inner { gap: 1rem; }

.invite-signin {
  margin-left: auto;
  padding: 0.62em 1.15em 0.52em;
}

.invite-main {
  flex: 1;
  display: grid;
  align-items: center;
  padding-block: clamp(1.5rem, min(5vw, 6vh), 4.5rem);
}

.invite-main:focus { outline: none; }

/* For visitors in Canada only (the server leaves it out for everyone else): a
   small maple leaf under the safeguards, set like them. */
.hero-canada {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: -0.7rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #94a3b8;
}

.hero-canada .icon {
  width: 1.05rem;
  height: 1.05rem;
  fill: #ef3340;
  stroke: none;
}

/* A narrow card, beside the message on a smaller laptop, puts the fields one
   under another, so each has room for what's typed in it. */
@container (max-width: 29.99rem) {
  .invite-panel .form-grid { grid-template-columns: minmax(0, 1fr); }
}

.invite-panel {
  container-type: inline-size;
  width: 100%;
  max-width: 34rem;
  justify-self: end;
}

.invite-title {
  font-size: 1.65rem;
  letter-spacing: -0.015em;
}

.invite-intro {
  margin: 0.45rem 0 1.4rem;
  color: var(--ink-soft);
}

.invite-foot {
  border-top: 1px solid rgb(255 255 255 / 0.12);
  background: rgb(7 11 18 / 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.invite-foot-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem 2.5rem;
  padding-block: 1.15rem 1.25rem;
  font-size: 0.9375rem;
  color: #94a3b8;
}

.invite-drivers { max-width: 52rem; }
.invite-drivers strong { color: var(--white); font-weight: 750; }
.invite-legal { white-space: nowrap; }

@media (max-width: 63.99em) {
  .invite-panel { justify-self: start; }
}

@media (max-width: 29.99em) {
  .invite-signin { font-size: 0.9375rem; }
  .invite .brand-name { font-size: 1.2rem; }
}

/* ---------- Offer page (public/offer.html, at /offer) ----------
   Sells the service programs. The hero sets the oldest service reminder there
   is, the sticker in the corner of the windshield, beside the same reminder
   arriving as a text on the day it's due. The rest reuses the landing page's
   parts: the route, the FAQ and the request form. */

.offer-hero { padding-bottom: clamp(3.75rem, 7vw, 6.25rem); }

/* The windshield: tinted glass with the black dotted band along its top edge,
   the sticker just under it, and the text overlapping the glass's lower edge. */
.windshield {
  display: grid;
  width: 100%;
  max-width: 31rem;
  margin: 0;
  justify-self: end;
}

.glass {
  position: relative;
  min-height: 17.5rem;
  padding: 3.4rem 1.5rem 7.75rem;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 2.25rem 2.25rem 1rem 1rem / 1.6rem 1.6rem 1rem 1rem;
  background:
    linear-gradient(115deg, transparent 52%, rgb(255 255 255 / 0.07) 58%, transparent 66%),
    linear-gradient(165deg, rgb(148 163 184 / 0.22), rgb(15 23 42 / 0.5) 48%, rgb(2 6 12 / 0.72));
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
}

/* The frit: solid along the edge, then dots that get smaller. */
.glass::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2.5rem;
  pointer-events: none;
  background:
    linear-gradient(#03060a, #03060a) top / 100% 0.95rem no-repeat,
    radial-gradient(circle, #03060a 0.19rem, transparent 0.2rem) 0 0.95rem / 0.55rem 0.55rem repeat-x,
    radial-gradient(circle, #03060a 0.14rem, transparent 0.15rem) 0.275rem 1.5rem / 0.55rem 0.55rem repeat-x,
    radial-gradient(circle, #03060a 0.08rem, transparent 0.09rem) 0 2.05rem / 0.55rem 0.55rem repeat-x;
}

.sticker {
  position: relative;
  width: 13.25rem;
  overflow: hidden;
  border-radius: 0.85rem;
  background: rgb(255 255 255 / 0.95);
  color: var(--ink);
  box-shadow: 0 12px 26px -14px rgb(0 0 0 / 0.7);
  transform: rotate(-2.5deg);
}

/* Light catching the glass in front of it */
.sticker::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(118deg, transparent 18%, rgb(255 255 255 / 0.2) 24%, transparent 31%);
  pointer-events: none;
}

.sticker-band {
  padding: 0.45rem 0.85rem 0.35rem;
  background: var(--dealer);
  color: var(--white);
  font-size: 0.8125rem;
  font-weight: 800;
}

.sticker-title {
  padding: 0.6rem 0.85rem 0.2rem;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.2;
}

.sticker-fields { display: grid; padding: 0 0.85rem; }

.sticker-fields div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.4rem 0 0.25rem;
  border-bottom: 1px dotted #a9b2ae;
}

.sticker-fields dt { font-size: 0.75rem; font-weight: 700; color: var(--ink-soft); }

/* Printed by the shop's label printer */
.sticker-fields dd {
  font-family: 'Doto', ui-monospace, Menlo, Consolas, monospace;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
}

.sticker-foot {
  padding: 0.5rem 0.85rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--ink-soft);
}

/* The text arrives once, a moment after the page opens. */
.windshield-text {
  position: relative;
  width: min(100% - 1.5rem, 21.5rem);
  justify-self: end;
  margin-top: -7.25rem;
  margin-right: -0.5rem;
  font-size: 0.875rem;
  animation: text-arrives 0.55s 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.windshield-text .sms-thread { padding: 0.85rem 0.85rem 1rem; }
.windshield-text .bubble { max-width: 100%; }

@keyframes text-arrives {
  from { opacity: 0; transform: translateY(16px); }
}

.bubble-url {
  color: var(--dealer);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 0.15em;
  overflow-wrap: anywhere;
}

.windshield-caption {
  max-width: 24rem;
  margin-top: 1rem;
  justify-self: end;
  font-size: 0.875rem;
  line-height: 1.45;
  color: #94a3b8;
  text-align: right;
}

@media (max-width: 63.99em) {
  .windshield { justify-self: start; }
  .windshield-caption { justify-self: start; text-align: left; }
}

@media (max-width: 29.99em) {
  .glass { padding: 3.1rem 1.1rem 7.75rem; }
  .sticker { width: 12.25rem; }
  .windshield-text { width: calc(100% - 1rem); margin-right: 0; }
}

/* The programs, one row each: what it catches, a text it sends, when it sends */
.programs { border-top: 1px solid var(--line); }

.program {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 0.7fr);
  gap: 1.5rem clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
  padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
  border-bottom: 1px solid var(--line);
}

.program h3 { font-size: 1.5rem; }
.program-catch { margin-top: 0.45rem; font-weight: 700; }
.program-what p + p { margin-top: 0.6rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

.program-text {
  display: grid;
  gap: 0.6rem;
  padding: 0.9rem 1rem 1.05rem;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  font-size: 0.9375rem;
  line-height: 1.45;
}

.program-from {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.program-from .dealer-badge { width: 1.6rem; height: 1.6rem; font-size: 0.625rem; }
.program-text .bubble { max-width: 100%; }

.program-when h4 {
  margin: 0 0 0.85rem;
  font-size: 1rem;
  font-weight: 750;
}

.program-steps {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 0 0.4rem;
  padding: 0 0 0 1.15rem;
  list-style: none;
  border-left: 2px solid var(--line);
}

.program-steps li { position: relative; display: grid; line-height: 1.3; }

.program-steps li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: calc(-1.15rem - 0.45rem - 1px);
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--concrete);
}

.step-when { font-weight: 700; font-size: 1rem; }
.step-channel { color: var(--ink-soft); font-size: 0.9375rem; }

@media (max-width: 63.99em) {
  .program { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .program-what { grid-column: 1 / -1; }
}

/* On a phone the steps sit two to a row, each with its own dot. */
@media (max-width: 37.5em) {
  .program { grid-template-columns: minmax(0, 1fr); }
  .program-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.85rem 1rem; margin: 0; padding: 0; border-left: 0; }
  .program-steps li { padding-left: 1.35rem; }
  .program-steps li::before { left: 0; }
}

/* Open recalls ride along with every reminder */
.recall-note {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1.15rem;
  align-items: start;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 3vw, 1.85rem);
  border-radius: 16px;
  background: var(--green-wash);
}

.recall-note h3 { margin-bottom: 0.4rem; font-size: 1.25rem; }
.recall-note p { max-width: 62ch; color: var(--ink-soft); }

.recall-sign {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.55rem;
  background: var(--green);
  color: var(--white);
  box-shadow: inset 0 0 0 0.17rem var(--green), inset 0 0 0 0.29rem var(--white);
}

.recall-sign .icon { width: 1.35rem; height: 1.35rem; stroke-width: 2.5; }

@media (max-width: 37.5em) {
  .recall-note { grid-template-columns: minmax(0, 1fr); gap: 0.9rem; }
}

/* The consent limits, on the dark section */
.rules {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding: 0;
  list-style: none;
}

.rules h3 { margin-bottom: 0.45rem; font-size: 1.2rem; color: var(--white); }
.rules p { color: var(--ink-on-dark-soft); font-size: 1rem; line-height: 1.5; }

@media (max-width: 37.5em) {
  .rules { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

/* The audit request */
.offer-page .demo-copy h3 { text-transform: none; letter-spacing: -0.01em; font-size: 1.25rem; }

.audit-finds {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.35rem;
  padding: 0;
  list-style: none;
  color: var(--ink-on-dark);
}

.audit-finds li { display: grid; grid-template-columns: auto 1fr; gap: 0.7rem; align-items: start; }
.audit-finds .icon { margin-top: 0.12em; color: var(--green-bright); stroke-width: 2.4; }

.offer-form-title { margin-bottom: 1.35rem; font-size: 1.65rem; letter-spacing: -0.015em; }

/* The footer follows the dark request section */
.offer-page .site-footer { border-top: 1px solid var(--asphalt-line); }

/* ---------- Plans page (public/plans.html, at /plans) ----------
   The plans as a price board, each plan a line with its price beside it,
   then what every plan has, the credit packs, a worked example laid out like
   the landing page's repair order, and the terms. Prices come in CAD and USD:
   the server checks the visitor's currency first, and the switch shows the
   other with no script (where :has isn't supported, both stay showing). */

.plans-page:has(#currency-usd:checked) [data-currency="cad"],
.plans-page:has(#currency-cad:checked) [data-currency="usd"] { display: none; }

/* The same for franchise dealers' and independent shops' plans */
.plans-page:has(#kind-independent:checked) [data-kind="franchise"],
.plans-page:has(#kind-franchise:checked) [data-kind="independent"] { display: none; }

.plans-intro { padding-top: clamp(2.75rem, 6vw, 4.5rem); }

.plans-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem 3rem;
}

.plans-head > div { max-width: 46rem; }

.plans-head h1 {
  font-size: clamp(2.5rem, 1.8rem + 3vw, 3.65rem);
  font-weight: 850;
  letter-spacing: -0.025em;
}

.plans-switches {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 1rem 1.5rem;
}

.switch { margin: 0; padding: 0; border: 0; min-inline-size: 0; }

.switch legend {
  margin-bottom: 0.4rem;
  padding: 0;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.switch-options {
  position: relative;
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1.5px solid var(--field-border);
  border-radius: 10px;
  background: var(--white);
}

.switch-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.switch-options label {
  padding: 0.5rem 1rem 0.4rem;
  border-radius: 7px;
  font-weight: 750;
  font-size: 0.9375rem;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.switch-options input:checked + label { background: var(--asphalt); color: var(--white); }
.switch-options input:focus-visible + label { outline: 3px solid var(--green-deep); outline-offset: 2px; }

/* The board: a dark panel, one plan to a line */
.price-board {
  display: grid;
  gap: clamp(2rem, 4vw, 2.75rem);
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: clamp(1.35rem, 3.5vw, 2.5rem);
  border: 1px solid var(--asphalt-line);
  border-radius: 18px;
  background: var(--board-face);
  color: var(--ink-on-dark);
  box-shadow: 0 28px 60px -30px rgb(0 0 0 / 0.55);
}

.board-group-title {
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.14);
  font-size: 1.05rem;
  font-weight: 750;
  letter-spacing: 0;
  color: var(--ink-on-dark-soft);
}

.board-plans { padding: 0; list-style: none; }

.board-plan {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 2.5rem;
  align-items: start;
  padding-block: 1.35rem;
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}

.board-plan:last-child { border-bottom: 0; padding-bottom: 0.25rem; }

/* The add-ons sit in from the plan they're added to */
.board-plan--add { padding-left: 1.6rem; }

.board-plan h3 {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
  font-size: 1.5rem;
  color: var(--white);
}

.board-plus { margin-left: -1.1rem; width: 0.65rem; color: var(--green-bright); }

.board-plan-what p {
  max-width: 52ch;
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--ink-on-dark-soft);
}

.board-price { text-align: right; }
.board-price > span { display: grid; justify-items: end; }

.price-figure {
  font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--white);
  font-variant-numeric: tabular-nums lining-nums;
  white-space: nowrap;
}

.price-unit { margin-top: 0.4rem; font-size: 0.875rem; font-weight: 700; color: var(--ink-on-dark-soft); }
.price-more { max-width: 15rem; margin-top: 0.15rem; font-size: 0.875rem; line-height: 1.4; color: var(--ink-on-dark); }

.board-note { margin-top: 0.9rem; font-size: 0.9375rem; color: var(--ink-on-dark-soft); }

/* Paying yearly, right under the prices, with the way to buy */
.yearly-deal {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem 2rem;
  align-items: center;
  margin-top: 1.25rem;
  padding: clamp(1.35rem, 3vw, 1.85rem) clamp(1.35rem, 3.5vw, 2.5rem);
  border-radius: 16px;
  background: var(--green);
  color: var(--white);
}

.yearly-deal-title {
  font-size: clamp(1.6rem, 1.25rem + 1.4vw, 2.2rem);
  font-weight: 850;
  letter-spacing: -0.02em;
  color: var(--white);
}

.yearly-deal p { max-width: 56ch; margin-top: 0.4rem; color: rgb(255 255 255 / 0.9); }
.yearly-deal :focus-visible { outline-color: var(--white); }

@media (max-width: 37.5em) {
  .yearly-deal { grid-template-columns: minmax(0, 1fr); }
  .yearly-deal .button { width: 100%; }
}

.plans-fineprint { margin-top: 1rem; font-size: 0.9375rem; color: var(--ink-soft); }

@media (max-width: 37.5em) {
  .board-plan { grid-template-columns: minmax(0, 1fr); }
  .board-plan--add { padding-left: 1.15rem; }
  .board-plus { margin-left: -0.8rem; width: 0.5rem; }
  .board-price { text-align: left; }
  .board-price > span { justify-items: start; }
}

/* Every plan includes */
.included {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 2.5rem;
  padding: 0;
  list-style: none;
}

.included li { padding-top: 1.1rem; border-top: 2px solid var(--green); }
.included h3 { margin-bottom: 0.4rem; font-size: 1.2rem; }
.included p { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

@media (max-width: 63.99em) {
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 37.5em) {
  .included { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
}

/* Credit packs */
.credit-tables {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: start;
}

.credit-table {
  padding: clamp(1.35rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
}

.credit-table h3 { font-size: 1.35rem; }
.credit-table > p { margin: 0.45rem 0 1.25rem; color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

.credit-table table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

.credit-table th,
.credit-table td {
  padding: 0.75rem 0.5rem 0.6rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.credit-table th:first-child,
.credit-table td:first-child { padding-left: 0; }

.credit-table th:last-child,
.credit-table td:last-child { padding-right: 0; }

/* The figures line up on the right */
.credit-table th:not(:first-child),
.credit-table td { text-align: right; }

/* What a bigger pack saves on each credit, against the 100-credit pack */
.save {
  display: inline-block;
  padding: 0.2rem 0.6rem 0.1rem;
  border-radius: 999px;
  background: var(--green-wash);
  color: var(--green-deep);
  font-weight: 800;
}

.save--best { background: var(--green); color: var(--white); }
.save-none { color: var(--ink-soft); }

/* On the narrowest phones, a little tighter so all four columns fit */
@media (max-width: 24.99em) {
  .credit-table { padding: 1.15rem 1rem; }
  .credit-table table { font-size: 0.9375rem; }
  .credit-table th,
  .credit-table td { padding-inline: 0.3rem; }
  .save { padding-inline: 0.45rem; }
}

.credit-table td { white-space: nowrap; }
.credit-table thead th { font-size: 0.875rem; font-weight: 700; color: var(--ink-soft); }
.credit-table tbody th { font-weight: 700; }
.credit-table tbody tr:last-child > * { border-bottom: 0; }

@media (max-width: 59.99em) {
  .credit-tables { grid-template-columns: minmax(0, 1fr); }
}

/* The worked examples, one per kind of rooftop, then the terms */
.example-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem 3rem;
  margin-bottom: clamp(1.75rem, 4vw, 2.75rem);
}

.example-tabs {
  display: inline-flex;
  gap: 0.2rem;
  padding: 0.2rem;
  border: 1.5px solid var(--field-border);
  border-radius: 10px;
  background: var(--white);
}

.example-tabs[hidden] { display: none; }

.example-tab {
  padding: 0.55rem 1.1rem 0.45rem;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 0.9375rem;
  font-weight: 750;
  cursor: pointer;
  transition: background-color 0.15s, color 0.15s;
}

.example-tab:hover { background: var(--concrete); }
.example-tab[aria-selected="true"] { background: var(--asphalt); color: var(--white); }

.example-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

.example-panel[hidden] { display: none; }
.example-panel:focus { outline: none; }
.example-panel:focus-visible { outline: 3px solid var(--green-deep); outline-offset: 6px; }

/* Without the script both examples show, one under the other */
.example-panel + .example-panel { margin-top: clamp(2.5rem, 5vw, 3.5rem); }
.example-panel[hidden] + .example-panel,
.example-panel + .example-panel[hidden] { margin-top: 0; }

.example-text .section-intro { margin-top: 0; }

.example-alts {
  margin-top: 1.75rem;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.example-alts li {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0 0.7rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}

.example-alts strong { flex: none; color: var(--ink); font-weight: 750; font-variant-numeric: tabular-nums; }

.plans-example { position: static; }
.plans-example h3 { text-transform: none; letter-spacing: 0; font-size: 1.05rem; }

/* What the same plan comes to, paid yearly */
.estimate .estimate-yearly {
  margin-top: 0.4rem;
  padding: 0.75rem 0.95rem 0.65rem;
  border-radius: 10px;
  background: var(--green-wash);
}

.estimate .estimate-yearly::before { visibility: hidden; min-width: 0.5rem; }
.estimate-yearly dt,
.estimate-yearly dd { font-size: 1rem; color: var(--green-deep); white-space: nowrap; }
.estimate-yearly dt { font-weight: 750; }
.estimate-yearly dd { font-weight: 800; }

.terms {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  padding: 1.75rem 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.terms h3 { margin-bottom: 0.35rem; font-size: 1.1rem; }
.terms p { color: var(--ink-soft); font-size: 1rem; line-height: 1.5; }

@media (max-width: 59.99em) {
  .example-panel { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 47.99em) {
  .terms { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 37.5em) {
  .example-alts li { flex-direction: column; gap: 0.15rem; }
}

/* The order form */
.plans-page .demo-copy h3 { text-transform: none; letter-spacing: -0.01em; font-size: 1.25rem; }

.buy-audit { margin-top: 2rem; color: var(--ink-on-dark-soft); }
.buy-audit a { color: var(--green-bright); }
.buy-audit a:hover { color: var(--white); }

.pay-choice { margin: 0; padding: 0; border: 0; min-inline-size: 0; }

.pay-choice legend {
  margin-bottom: 0.4rem;
  padding: 0;
  font-size: 0.98rem;
  font-weight: 700;
}

.pay-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; }

.field .pay-option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin: 0;
  padding: 0.8rem 0.9rem 0.7rem;
  border: 1.5px solid var(--field-border);
  border-radius: 10px;
  font-weight: 400;
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}

.field .pay-option input {
  display: block;
  flex: none;
  width: 1.15rem;
  height: 1.15rem;
  margin: 0;
  padding: 0;
  accent-color: var(--green);
}

.field .pay-option:has(input:checked) {
  border-color: var(--green-deep);
  background: rgb(3 138 0 / 0.06);
  box-shadow: inset 0 0 0 1px var(--green-deep);
}

.pay-option > span { display: grid; line-height: 1.25; }
.pay-option strong { font-weight: 750; }
.pay-save { font-size: 0.875rem; font-weight: 700; color: var(--green-deep); }

/* The closing call to action, then the footer */
.plans-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 2rem 3rem;
  align-items: center;
}

.plans-cta-inner > div { max-width: 44rem; }

@media (max-width: 59.99em) {
  .plans-cta-inner { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 37.5em) {
  .plans-cta .hero-actions .button { flex: 1 1 auto; width: 100%; }
}

.plans-page .site-footer { border-top: 1px solid var(--asphalt-line); }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-video { display: none; }

  /* The invitation and offer pages keep the video's first frame, still. */
  .invite .hero-media::before,
  .offer-hero .hero-media::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("/img/service-drive-poster.jpg") center / cover;
    opacity: 0.55;
    filter: saturate(0.85) contrast(1.08);
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}