/* =====================================================================
 * MRS Finder V3 — MRS Brand Guide design system (updated 2026-04-28)
 * Colors: Prussian Blue #03285C, Chambray #455A79, Polo #90ABD0,
 *         Onahau #BFD9EB, Solitude #F3F6F8
 * Type:  Impact (h1/h2) | Barlow Condensed (subheads) | Inter (body)
 * NEVER share styles with finder-styles.css.
 * ===================================================================== */

/* ── Reset & box model ──────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── Color & spacing tokens ─────────────────────────────────────────── */
:root {
  /* MRS Brand Guide palette (102824) */
  --prussian:    #03285C;   /* Prussian Blue — primary brand */
  --chambray:    #455A79;   /* Chambray — secondary / hover states */
  --polo:        #90ABD0;   /* Polo Blue — mid accent */
  --onahau:      #BFD9EB;   /* Onahau — light blue accent */
  --solitude:    #F3F6F8;   /* Solitude — page background */
  /* Semantic aliases kept for engine template compat */
  --navy:        #03285C;
  --navy-deep:   #1E3A5F;
  --copper:      #03285C;
  --copper-deep: #455A79;
  --gold:        #90ABD0;
  --ground:      #F3F6F8;
  --paper:       #FFFFFF;
  --line:        #BFD9EB;
  --ink:         #1f2937;
  --ink-muted:   #455A79;
  --success:     #2e7d4f;
  --shadow-sm:   0 1px 3px rgba(3, 40, 92, 0.06);
  --shadow-md:   0 4px 16px rgba(3, 40, 92, 0.10);
  --shadow-lg:   0 12px 40px rgba(3, 40, 92, 0.14);
  --radius:      12px;
  --radius-lg:   18px;
}

/* ── Typography ─────────────────────────────────────────────────────── */
.serif, h1, h2, h3, .display {
  font-family: 'Impact', 'Anton', 'Arial Black', sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--prussian);
}
h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.05; margin: 0 0 18px; }
h2 { font-size: clamp(24px, 3.5vw, 34px); line-height: 1.15; margin: 0 0 12px; }
h3 { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.3;  margin: 0 0 8px; }
p  { margin: 0 0 14px; }
.lead {
  font-size: clamp(18px, 2vw, 20px);
  color: var(--ink-muted);
  max-width: 56ch;
  margin: 0 auto 28px;
}
.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper);
  margin-bottom: 16px;
}
.tabular { font-variant-numeric: tabular-nums; }

/* ── Layout containers ──────────────────────────────────────────────── */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px;
}
.container-wide { max-width: 1080px; }

/* ── Top bar (logo + tagline + phone) ───────────────────────────────── */
.topbar {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(254, 253, 250, 0.92);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--navy-deep);
}
.brand-logo {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--navy);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--onahau); font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif; font-weight: 700;
  font-size: 17px;
}
.brand-name { font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif; font-weight: 600; font-size: 17px; line-height: 1; }
.brand-sub  { font-size: 11px; color: var(--ink-muted); display: block; margin-top: 2px; }
.topbar-phone { font-size: 14px; color: var(--navy); text-decoration: none; font-weight: 500; }
.topbar-phone:hover { color: var(--copper); }
@media (max-width: 480px) { .topbar-phone { display: none; } }

/* ── Hero ───────────────────────────────────────────────────────────── */
.hero {
  text-align: center;
  padding: 72px 0 40px;
}
.hero h1 .accent {
  font-style: normal;
  color: var(--chambray);
}
/* Legacy pill — kept in case other pages embed the smaller version */
.savings-bar {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 8px; padding: 8px 18px;
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 999px; font-size: 14px; color: var(--ink-muted);
}
.savings-bar strong { color: var(--success); font-variant-numeric: tabular-nums; }

/* "Average customer saves" hero — anchors customer's attention on the
   number that justifies Full Registration (the goal path). Sized down ~25%
   from initial spec (Tim 2026-04-23) so it reads as supporting hero, not
   competing with the path cards below. */
.savings-hero {
  display: inline-block;
  margin-top: 14px;
  padding: 16px 28px 14px;
  background: linear-gradient(135deg, var(--paper) 0%, rgba(3, 40, 92, 0.06) 100%);
  border: 1px solid var(--copper);
  border-radius: var(--radius-lg);
  box-shadow: 0 0 0 5px rgba(3, 40, 92, 0.04), var(--shadow-sm);
  text-align: center;
  /* Clickable button reset — element is a <button> so keyboard + screen
     readers work natively. Whole box routes to Full Registration on click. */
  cursor: pointer;
  font-family: inherit;
  transition: transform .15s ease, box-shadow .2s ease, border-color .15s ease;
}
.savings-hero:hover {
  transform: translateY(-2px);
  border-color: var(--copper-deep);
  box-shadow: 0 0 0 7px rgba(3, 40, 92, 0.10), var(--shadow-md);
}
.savings-hero:active { transform: translateY(0); }
.savings-hero:focus-visible {
  outline: 3px solid var(--copper);
  outline-offset: 2px;
}
.savings-hero-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ink-muted);
  margin: 0 0 2px;
}
.savings-hero-amount {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif;
  font-size: clamp(36px, 5.25vw, 48px);
  font-weight: 600;
  color: var(--success);
  line-height: 1;
  margin: 0 0 6px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.savings-hero-foot {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}
.savings-hero-cta {
  color: var(--copper);
  font-weight: 600;
}
@media (max-width: 480px) {
  .savings-hero { padding: 14px 20px 12px; margin-top: 12px; }
  .savings-hero-amount { font-size: 34px; }
  .savings-hero-foot   { font-size: 12px; }
}

/* ── 3-Path landing cards ───────────────────────────────────────────── */
.path-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
  margin: 32px 0 48px;
}
@media (min-width: 880px) {
  .path-grid {
    grid-template-columns: 1fr 1fr 1fr;
    align-items: stretch;
  }
}
.path-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 26px;
  text-align: left;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  display: flex; flex-direction: column;
  position: relative;
  overflow: hidden;
}
.path-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--copper);
}
.path-card.recommended {
  border-color: var(--copper);
  border-width: 2px;
  box-shadow: var(--shadow-md);
}
.path-card.recommended::before {
  content: 'Most Popular';
  position: absolute;
  top: 16px; right: 16px;
  background: var(--copper);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  border-radius: 999px;
}
.path-icon { font-size: 32px; margin-bottom: 14px; }
.path-title {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0 0 4px;
}
.path-tagline {
  font-size: 14px;
  color: var(--copper);
  font-weight: 500;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.path-price {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif;
  font-size: 38px;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1;
  margin: 0 0 4px;
  font-variant-numeric: tabular-nums;
}
.path-price-strike {
  font-size: 16px;
  color: var(--ink-muted);
  text-decoration: line-through;
  margin-left: 8px;
  font-weight: 400;
}
.path-price-note { font-size: 13px; color: var(--ink-muted); margin: 0 0 18px; }
.path-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  font-size: 14px;
  color: var(--ink);
}
.path-features li {
  padding: 6px 0 6px 24px;
  position: relative;
}
.path-features li::before {
  content: '✓';
  position: absolute;
  left: 0; top: 6px;
  color: var(--success);
  font-weight: 700;
}
.path-cta {
  margin-top: auto;
  display: block;
  background: var(--navy);
  color: #fff;
  padding: 14px 22px;
  border-radius: var(--radius);
  text-align: center;
  font-weight: 600;
  font-size: 15px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background .18s ease;
  font-family: 'Inter', sans-serif;
}
.path-cta:hover { background: var(--navy-deep); }
.path-card.recommended .path-cta { background: var(--copper); }
.path-card.recommended .path-cta:hover { background: var(--copper-deep); }

/* ── Quiz step (per-path flows) ─────────────────────────────────────── */
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
  margin: 32px 0;
}
@media (max-width: 480px) {
  .step { padding: 24px 20px; margin: 20px 0; }
}
.step-eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--copper);
  font-weight: 600;
  margin-bottom: 8px;
}
.step h2 { margin-bottom: 20px; }

/* Inline plate picker — expands inside the sponsor-plates toggle card
   when checked. Uses negative side-margin so the gallery stretches to the
   card's padded edges, with a separator above to feel like an accordion. */
.inline-plate-picker {
  margin: 18px -20px -20px;
  padding: 18px 20px 8px;
  border-top: 1px solid var(--line);
  background: linear-gradient(to bottom, rgba(3, 40, 92, 0.04), transparent 80px);
  border-radius: 0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px);
  /* Cap height so the picker doesn't push the Continue button off-screen.
     Internal scroll keeps the surrounding upsell screen layout intact. */
  max-height: 560px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.plate-picker-hdr {
  margin-bottom: 16px;
}
.plate-picker-hdr h4 {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0 0 6px;
}
.plate-picker-hdr p {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin: 0;
}
.plate-picker-hdr p strong { color: var(--navy-deep); font-weight: 600; }
.plate-picked-banner {
  background: rgba(46, 125, 79, 0.10);
  border: 1px solid rgba(46, 125, 79, 0.25);
  color: var(--success);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 13px;
  margin-bottom: 14px;
}
.plate-picked-banner strong { color: var(--success); }
@media (max-width: 480px) {
  .inline-plate-picker { margin: 16px -16px -16px; padding: 16px 16px 8px; max-height: 520px; }
}

/* Plate gallery modal */
.mrs-modal-wrap {
  position: fixed;
  inset: 0;
  background: rgba(3, 40, 92, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: mrs-fade .15s ease-out;
}
@keyframes mrs-fade { from { opacity: 0; } to { opacity: 1; } }
.mrs-modal {
  background: var(--paper);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 920px;
  max-height: 92vh;
  display: flex; flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.mrs-modal-hdr {
  display: flex; align-items: flex-start; justify-content: space-between;
  padding: 22px 26px 18px;
  border-bottom: 1px solid var(--line);
  gap: 16px;
}
.mrs-modal-hdr h3 {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0 0 4px;
}
.mrs-modal-sub {
  font-size: 13px;
  color: var(--ink-muted);
  margin: 0;
}
.mrs-modal-x {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-muted);
  cursor: pointer;
  padding: 0 6px;
}
.mrs-modal-x:hover { color: var(--navy-deep); }
.mrs-modal-body {
  padding: 18px 26px;
  overflow-y: auto;
  flex: 1;
}
.mrs-modal-foot {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 26px;
  border-top: 1px solid var(--line);
  background: var(--ground);
  gap: 12px;
}
.plate-cat {
  margin-bottom: 28px;
}
.plate-cat-name {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--navy-deep);
  margin: 0 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}
.plate-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
}
.plate-tile {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
  cursor: pointer;
  padding: 0;
  font-family: inherit;
  text-align: center;
  position: relative;
}
.plate-tile:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
  border-color: var(--copper);
}
.plate-tile.selected {
  border-color: var(--copper);
  border-width: 2.5px;
  box-shadow: 0 0 0 4px rgba(3, 40, 92, 0.12), var(--shadow-sm);
}
.plate-tile.selected::after {
  content: '✓';
  position: absolute;
  top: 6px; right: 6px;
  background: var(--copper);
  color: #fff;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 12px;
  box-shadow: var(--shadow-sm);
}
.plate-tile img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
  object-fit: cover;
  background: #f3f4f6;
}
.plate-tile-name {
  padding: 8px 10px;
  font-size: 11px;
  color: var(--ink);
  text-align: center;
  line-height: 1.3;
  min-height: 40px;
  display: flex; align-items: center; justify-content: center;
}
@media (max-width: 600px) {
  .mrs-modal { max-height: 100vh; border-radius: 0; }
  .mrs-modal-wrap { padding: 0; }
  .plate-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
  .mrs-modal-foot { flex-direction: column; }
  .mrs-modal-foot .btn { width: 100%; }
}

/* In-line DMVEz checkout embed — replaces top-level redirect */
#mrs-v3-checkout-shell {
  background: var(--ground);
  padding-bottom: 40px;
}
#mrs-v3-checkout-frame-wrap {
  max-width: 1080px;
  margin: 12px auto 0;
  padding: 0 12px;
}
#mrs-v3-checkout-frame {
  width: 100%;
  /* Tall enough to show DMVEz's payment form without inner scroll on most
     viewports. The iframe itself can scroll if the content is taller. */
  min-height: calc(100vh - 180px);
  height: 1400px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-md);
  display: block;
}
@media (max-width: 720px) {
  #mrs-v3-checkout-frame-wrap { padding: 0; }
  #mrs-v3-checkout-frame {
    border-radius: 0;
    border-left: 0; border-right: 0;
    min-height: calc(100vh - 140px);
    height: 1700px;
  }
}

/* Pre-checkout upsell screen — copper-accented treatment so it feels like
   a "wait, before you go" moment distinct from regular quiz steps. */
.upsell-step {
  border: 2px solid var(--copper);
  box-shadow: 0 0 0 6px rgba(3, 40, 92, 0.06), var(--shadow-md);
  position: relative;
}
.upsell-step::before {
  content: '★';
  position: absolute;
  top: -14px; left: 24px;
  background: var(--copper);
  color: #fff;
  width: 28px; height: 28px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}

/* Live tax-savings counter (replaces dotted progress bar) */
.savings-counter {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 18px 24px;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 0 24px;
  gap: 16px;
}
.savings-counter-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.8;
  margin: 0 0 4px;
}
.savings-counter-amount {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--onahau);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.savings-counter-step {
  font-size: 13px;
  opacity: 0.8;
  text-align: right;
  white-space: nowrap;
}

/* Option buttons (vehicle types, choices) */
.options {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  margin: 20px 0 4px;
}
@media (min-width: 600px) { .options.cols-2 { grid-template-columns: 1fr 1fr; } }
.option {
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 14px;
  cursor: pointer;
  transition: border-color .15s ease, background .15s ease, transform .12s ease;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  width: 100%;
}
.option:hover {
  border-color: var(--copper);
  background: #fff;
  transform: translateX(2px);
}
.option.selected {
  border-color: var(--copper);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(3, 40, 92, 0.08);
}
.option-icon { font-size: 24px; flex-shrink: 0; }
.option-text { flex: 1; }
.option-title { font-weight: 600; color: var(--navy-deep); display: block; line-height: 1.2; }
.option-meta  { font-size: 13px; color: var(--ink-muted); display: block; margin-top: 2px; }

/* Toggle (anonymous LLC upsell) */
.toggle-card {
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin: 16px 0;
  background: var(--paper);
  cursor: pointer;
  transition: border-color .15s ease;
}
.toggle-card.selected {
  border-color: var(--copper);
  background: linear-gradient(135deg, rgba(3, 40, 92, 0.04) 0%, rgba(3, 40, 92, 0.04) 100%);
}
.toggle-card-row {
  display: flex; align-items: flex-start; gap: 14px;
}
.toggle-checkbox {
  width: 22px; height: 22px;
  border: 2px solid var(--line);
  border-radius: 6px;
  flex-shrink: 0;
  margin-top: 2px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--paper);
  transition: all .15s ease;
}
.toggle-card.selected .toggle-checkbox {
  background: var(--copper);
  border-color: var(--copper);
}
.toggle-card.selected .toggle-checkbox::after {
  content: '✓';
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.toggle-title { font-weight: 600; color: var(--navy-deep); margin: 0 0 4px; }
.toggle-desc  { font-size: 13px; color: var(--ink-muted); margin: 0; }
.toggle-price { font-weight: 600; color: var(--copper); white-space: nowrap; }

/* Inputs */
.field { margin: 16px 0; }
.field label {
  display: block; font-size: 13px; font-weight: 600;
  color: var(--navy-deep); margin-bottom: 6px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.input, input[type=text], input[type=email], input[type=tel], input[type=number], input[type=search], select.input {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  font-family: inherit;
  font-size: 16px; /* prevent iOS zoom */
  color: var(--ink);
  transition: border-color .15s ease, box-shadow .15s ease;
  /* SCORCHED-EARTH no-AI-traces rule (per Tim, brand requirement) — every
     vendor pseudo-element that browsers/extensions might inject as an icon
     inside form fields is forced off. Trade-off: native autofill UI is lost
     too. Customer types their info once. Acceptable cost for clean visual. */
  -webkit-appearance: none !important;
  -moz-appearance: textfield !important;
  appearance: none !important;
  background-image: none !important;
  background-repeat: no-repeat !important;
}
/* Hide every known vendor pseudo-element that renders an ICON inside an input.
   Selectors split out for compatibility — older engines treat unknown pseudo-
   elements as parse errors that invalidate the whole rule, so isolate.
   DO NOT add ::-webkit-textfield-decoration-container here — that's the
   shadow-DOM wrapper containing the user's typed text. Hiding it makes the
   input value invisible (typed value still in S.answers, but not painted). */
input::-webkit-credentials-auto-fill-button,
input::-webkit-contacts-auto-fill-button,
input::-webkit-caps-lock-indicator,
input::-webkit-strong-password-auto-fill-button,
input::-webkit-strong-password-listbox-icon,
input::-webkit-list-button,
input::-webkit-calendar-picker-indicator,
input::-webkit-clear-button,
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button,
input::-webkit-search-cancel-button,
input::-webkit-search-decoration,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
  visibility: hidden !important;
  display: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important; height: 0 !important;
  margin: 0 !important; padding: 0 !important;
  position: absolute !important;
  right: -99999px !important;
  background: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
/* Microsoft Edge — clear/reveal icons (NOT placeholder — see below) */
input::-ms-clear,
input::-ms-reveal {
  display: none !important;
  visibility: hidden !important;
}
/* Microsoft Edge Copilot's writing-suggestion underline blue line */
input, textarea {
  -webkit-text-fill-color: var(--ink);
}
/* Make sure placeholder text actually shows — was being eaten earlier by
   ::-ms-input-placeholder hide rule + parent -webkit-text-fill-color cascade.
   Explicit cross-browser placeholder styling. */
.input::placeholder,
input::placeholder,
input::-webkit-input-placeholder {
  color: var(--ink-muted) !important;
  opacity: 1 !important;
  -webkit-text-fill-color: var(--ink-muted) !important;
}
input::-moz-placeholder { color: var(--ink-muted) !important; opacity: 1 !important; }
input:-ms-input-placeholder { color: var(--ink-muted) !important; opacity: 1 !important; }
/* Belt-and-suspenders: any background image injected by an extension */
input.input,
input[type=text],
input[type=email],
input[type=tel],
input[type=number] {
  background-image: none !important;
  -webkit-background-clip: padding-box !important;
}
.input:focus, input:focus {
  outline: none;
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(3, 40, 92, 0.12);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 28px;
  border: none;
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all .15s ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--copper);
  color: #fff;
}
.btn-primary:hover { background: var(--copper-deep); }
.btn-primary[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-ghost {
  background: transparent;
  color: var(--ink-muted);
  padding: 12px 16px;
}
.btn-ghost:hover { color: var(--navy); }
.btn-block { width: 100%; }
.btn-xl { padding: 20px 32px; font-size: 18px; }

/* Order summary card (final step before checkout) */
.summary {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin: 16px 0;
}
.summary h3 { margin: 0 0 16px; font-size: 18px; }
.summary-line {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 10px 0;
  border-top: 1px solid var(--line);
  font-size: 15px;
}
.summary-line:first-of-type { border-top: none; }
.summary-line .label { color: var(--ink); }
.summary-line .amount { font-variant-numeric: tabular-nums; color: var(--navy-deep); font-weight: 500; }
.summary-line.discount .amount { color: var(--success); }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding: 16px 0 4px;
  border-top: 2px solid var(--navy);
  margin-top: 8px;
}
.summary-total .label { font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif; font-size: 18px; color: var(--navy-deep); font-weight: 600; }
.summary-total .amount {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif; font-size: 32px; color: var(--navy-deep);
  font-weight: 600; font-variant-numeric: tabular-nums; line-height: 1;
}

/* Discount code section (inside order summary) */
.promo-trigger {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%;
  background: transparent;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 10px 0 6px;
  font-size: 14px;
  color: var(--navy-deep);
  cursor: pointer;
  transition: background 120ms ease, border-color 120ms ease;
}
.promo-trigger:hover { background: rgba(0,0,0,0.02); border-color: var(--copper); color: var(--copper); }
.promo-trigger-arrow { font-size: 18px; line-height: 1; color: var(--ink-muted); transform: rotate(90deg); }
.promo-input-wrap { margin: 10px 0 6px; }
.promo-input-label {
  display: block;
  font-size: 13px; font-weight: 600; color: var(--navy-deep);
  margin-bottom: 6px;
}
.promo-input-row { display: flex; gap: 8px; }
.promo-input {
  flex: 1;
  text-transform: uppercase;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}
.btn-promo-apply {
  background: var(--navy-deep);
  color: #fff;
  border: none;
  border-radius: var(--radius);
  padding: 0 18px;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 120ms ease, opacity 120ms ease;
}
.btn-promo-apply:hover:not(:disabled) { background: var(--copper); }
.btn-promo-apply:disabled { opacity: 0.6; cursor: wait; }
.promo-msg { font-size: 13px; margin-top: 6px; }
.promo-msg--error { color: #b91c1c; }
.promo-applied {
  display: flex; justify-content: space-between; align-items: center;
  background: rgba(46, 125, 79, 0.08);
  border: 1px solid rgba(46, 125, 79, 0.25);
  border-radius: var(--radius);
  padding: 10px 14px;
  margin: 10px 0 6px;
  font-size: 14px;
}
.promo-applied-label { color: var(--success); }
.promo-applied-check { font-weight: 700; margin-right: 4px; }
.promo-remove-btn {
  background: transparent;
  border: none;
  color: var(--ink-muted);
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.promo-remove-btn:hover { color: var(--navy-deep); }

/* Ship-window banner (Temp Tag Express path) */
.ship-window {
  background: linear-gradient(135deg, rgba(46, 125, 79, 0.08) 0%, rgba(46, 125, 79, 0.03) 100%);
  border: 1px solid rgba(46, 125, 79, 0.20);
  border-radius: var(--radius);
  padding: 16px 20px;
  margin: 20px 0;
  display: flex; align-items: center; gap: 14px;
}
.ship-window-icon { font-size: 24px; }
.ship-window-text { font-size: 14px; color: var(--ink); }
.ship-window-text strong { color: var(--success); display: block; margin-bottom: 2px; }

/* Trust strip (footer of every page) */
.trust-strip {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 24px 0;
  margin-top: 40px;
  font-size: 13px;
}
.trust-strip-inner {
  display: flex; align-items: center; justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
}
.trust-strip a { color: var(--gold); text-decoration: none; }

/* Fleet/dealer footer (Temp Tag Express only) */
.fleet-cta {
  text-align: center;
  margin: 32px 0 16px;
  padding: 24px;
  background: var(--paper);
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-muted);
  font-size: 14px;
}
.fleet-cta strong { color: var(--navy-deep); display: block; margin-bottom: 4px; font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif; font-size: 16px; font-weight: 600; }
.fleet-cta a { color: var(--copper); font-weight: 600; }
.fleet-cta-trigger {
  background: transparent;
  border: none;
  color: var(--copper);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}
.fleet-cta-trigger:hover { color: var(--navy-deep); }
.fleet-cta-form {
  text-align: left;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.fleet-cta-form .field { margin-bottom: 12px; }
.fleet-cta-form textarea.input { resize: vertical; min-height: 60px; }
.fleet-cta-done {
  margin-top: 12px;
  padding: 14px;
  background: rgba(46, 125, 79, 0.08);
  border: 1px solid rgba(46, 125, 79, 0.25);
  border-radius: var(--radius);
  color: var(--ink);
  font-size: 14px;
}
.fleet-cta-done strong { display: block; color: var(--success); margin-bottom: 4px; font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif; }

/* Back link */
.back-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  margin: 16px 0 0;
  cursor: pointer;
  background: none; border: none; font-family: inherit; padding: 0;
}
.back-link:hover { color: var(--copper); }

/* Loading state */
.loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--ink-muted);
}

/* Mobile tweaks */
@media (max-width: 480px) {
  .hero { padding: 40px 0 24px; }
  .savings-counter { flex-direction: column; align-items: flex-start; gap: 8px; }
  .savings-counter-step { text-align: left; }
}

/* ── Plate lettering modal ────────────────────────────────────────── */
.lettering-plate-preview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.lettering-preview-img {
  max-width: 240px;
  width: 100%;
  height: auto;
  border-radius: 6px;
  display: block;
}
.lettering-preview-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--navy-deep);
  text-align: center;
}
/* Banner action buttons */
.plate-lettering-cta {
  background: none;
  border: none;
  color: var(--copper);
  font: 600 12px/1 'Inter', sans-serif;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.plate-lettering-cta--done { color: var(--success); }
.plate-unselect-btn {
  background: none;
  border: none;
  color: var(--ink-muted);
  font: 500 12px/1 'Inter', sans-serif;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.lettering-row { margin-bottom: 12px; }
.lettering-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.lettering-required {
  font-size: 10px;
  font-weight: 700;
  color: var(--copper);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lettering-optional {
  font-size: 10px;
  font-weight: 500;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.lettering-row-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lettering-text-wrap {
  position: relative;
  flex: 0 0 130px;
}
.lettering-text {
  padding-right: 38px !important;
  font-family: 'Inter', monospace;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 14px;
}
.lettering-counter {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 11px;
  color: var(--ink-muted);
  pointer-events: none;
  font-variant-numeric: tabular-nums;
}
.lettering-desc {
  flex: 1;
  font-size: 13px;
}
@media (max-width: 520px) {
  .lettering-row-inputs { flex-direction: column; align-items: stretch; }
  .lettering-text-wrap { flex: none; }
}

/* ── Plate gallery — "Browse all designs" link ──────────────────────── */
.plate-browse-all-btn {
  background: none;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--copper);
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color .12s ease;
}
.plate-browse-all-btn:hover { color: var(--copper-deep); }

/* ── Plate gallery — show-more expander ────────────────────────────── */
.plate-show-more {
  display: block;
  width: 100%;
  margin-top: 10px;
  padding: 10px 16px;
  background: var(--ground);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--copper);
  cursor: pointer;
  text-align: center;
  transition: background .15s ease, border-color .15s ease;
}
.plate-show-more:hover {
  background: rgba(3, 40, 92, 0.06);
  border-color: var(--copper);
}

/* ── Plate tile — "Most Popular" badge ─────────────────────────────── */
.plate-popular-badge {
  position: absolute;
  top: 5px;
  left: 5px;
  background: var(--copper);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 7px;
  border-radius: 999px;
  line-height: 1.4;
  pointer-events: none;
  white-space: nowrap;
}

/* ── Financing info box ─────────────────────────────────────────────── */
.financing-info-box {
  background: rgba(30, 58, 138, 0.04);
  border: 1px solid rgba(30, 58, 138, 0.14);
  border-radius: 10px;
  padding: 18px 20px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
}
.financing-info-box h3 {
  font-family: 'Barlow Condensed', Georgia, serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 10px;
}
.financing-info-box p { margin: 0 0 10px; }
.financing-info-box p:last-child { margin-bottom: 0; }
.financing-info-box em { font-style: italic; }

/* ── LLC suggest button ─────────────────────────────────────────────── */
/* Vehicle details toggle link (shown below VIN field) */
.veh-details-toggle {
  display: inline-block;
  margin-top: 6px;
  font-size: 13px;
  color: var(--copper);
  text-decoration: none;
  font-weight: 500;
}
.veh-details-toggle:hover { color: var(--copper-deep); text-decoration: underline; }

.llc-suggest-btn {
  white-space: nowrap;
  flex-shrink: 0;
  background: none;
  border: 1.5px solid var(--copper);
  border-radius: var(--radius);
  color: var(--copper);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.llc-suggest-btn:hover { background: var(--copper); color: #fff; }

/* ── LLC FAQ accordion ──────────────────────────────────────────────── */
.llc-faq {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.llc-faq summary {
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy-deep);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--paper);
}
.llc-faq summary::after {
  content: '▾';
  font-size: 12px;
  color: var(--ink-muted);
  transition: transform .15s ease;
}
.llc-faq[open] summary::after { transform: rotate(180deg); }
.llc-faq-body {
  padding: 16px 18px;
  background: var(--ground);
  border-top: 1px solid var(--line);
}
.llc-faq-body p {
  font-size: 13px;
  color: var(--ink);
  line-height: 1.6;
  margin-bottom: 14px;
}
.llc-faq-body p:last-child { margin-bottom: 0; }

/* ── Fulfillment timeline (Starter Bundle email step) ───────────────── */
.fulfillment-timeline {
  margin: 16px 0 24px;
  padding: 18px 20px;
  background: linear-gradient(135deg, rgba(26, 58, 92, 0.04) 0%, rgba(3, 40, 92, 0.04) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.ft-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 14px;
}
.ft-step:last-child { margin-bottom: 0; }
.ft-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  flex-shrink: 0;
  margin-top: 3px;
}
.ft-dot--open {
  background: none;
  border: 2px solid var(--line);
}
.ft-dot--done { background: var(--success); }
.ft-label { flex: 1; }
.ft-label strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.3;
}
.ft-label span {
  font-size: 12px;
  color: var(--ink-muted);
}

/* ── Bundle savings callout ─────────────────────────────────────────── */
.bundle-savings-callout {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  background: rgba(46, 125, 79, 0.08);
  border: 1px solid rgba(46, 125, 79, 0.22);
  border-radius: var(--radius);
  padding: 12px 16px;
  margin-bottom: 12px;
}
.bsc-amount {
  font-family: 'Barlow Condensed', 'Franklin Gothic Demi Condensed', 'Arial Narrow', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--success);
  white-space: nowrap;
}
.bsc-note {
  font-size: 13px;
  color: var(--ink-muted);
}

/* ── Checkout trust strip ────────────────────────────────────────────── */
.checkout-trust-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0 8px;
  padding: 12px 16px;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 12px;
  color: var(--ink-muted);
  font-weight: 500;
}

/* ── Lettering modal — charity description ──────────────────────────── */
.lettering-preview-desc {
  font-size: 12px;
  color: var(--ink-muted);
  text-align: center;
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
  font-style: italic;
}
