/* Public licence page ("Which licence is yours?"). Self-contained on purpose
   (AC-SALES-019): pulls in nothing else, not even /dealership/styles.css --
   the palette (P10) is copied here, not shared. */
:root {
  --bg: #0b1f26; --panel: #0f2a33; --panel2: #13343f; --ink: #eaf2f4; --muted: #9fb8bf;
  --accent: #34c6a8; --accent2: #4aa3b8; --line: rgba(255,255,255,.09);
  --good: #2ecc8f; --good-bg: rgba(46,204,143,.13); --bad: #ff6b6b; --bad-bg: rgba(255,107,107,.12);
  --warn: #e0a13c; --warn-bg: rgba(224,161,60,.10); --warn-line: rgba(224,161,60,.35);
  --radius: 16px; --shadow: 0 10px 30px rgba(0,0,0,.28);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  max-width: 100%;
  overflow-wrap: break-word;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent2); }
h1, h2, h3, p, ul, div { margin: 0; }
.sub { color: var(--muted); }

/* Shared section rhythm: every top-level section/header/footer gets the same
   max-width container and side padding. */
#top, #hero, #compare, .assessment-grid, #included, #cost, #roadmap, #faq, #closing, #foot {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}
#top { padding-top: 0; padding-bottom: 0; max-width: none; border-bottom: 1px solid var(--line); }
#hero { padding-top: clamp(40px, 6vw, 72px); padding-bottom: 40px; }
#compare, #included, #cost, #roadmap, #faq { padding-top: 40px; padding-bottom: 8px; }
.assessment-grid { padding-top: 8px; padding-bottom: 8px; }
#closing { padding-top: 8px; padding-bottom: 48px; }
#foot { padding-top: 24px; padding-bottom: 40px; text-align: center; }
#foot a { font-size: 13.5px; color: var(--muted); }

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600; color: var(--accent);
  letter-spacing: .08em; text-transform: uppercase;
}

/* Buttons + CTA rows (P10) */
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-top: 8px; }
.btn {
  appearance: none; border: 0; font: inherit; font-weight: 700; font-size: 14px; cursor: pointer;
  display: inline-block; text-align: center; text-decoration: none;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #06231d; padding: 13px 20px; border-radius: 11px;
}
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn.small { padding: 9px 15px; font-size: 13px; }
.link-btn {
  appearance: none; border: 0; background: none; font: inherit; cursor: pointer;
  color: var(--muted); font-size: 13.5px; font-weight: 600; text-decoration: underline;
  display: inline-block; margin-top: 6px;
}

.fact { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c4d4d8; line-height: 1.5; }
.fact .tick {
  flex: 0 0 18px; width: 18px; height: 18px; border-radius: 6px;
  background: rgba(52,198,168,.15); color: var(--accent);
  display: grid; place-items: center; margin-top: 2px; font-size: 11px; font-weight: 800;
}

/* -------------------------------------------------------------- #top --- */
.top-inner {
  max-width: 1120px; margin: 0 auto; padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; }
.mark {
  width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center;
  font-weight: 800; color: #06231d; background: linear-gradient(135deg, var(--accent), var(--accent2));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 14.5px; }
.brand-text span { font-size: 12px; color: var(--muted); }
.top-nav { display: flex; align-items: center; gap: 18px; }
.all-programs { font-size: 13.5px; color: var(--muted); }

/* ------------------------------------------------------------- #hero --- */
.hero-grid { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1fr); gap: 40px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 16px; }
.hero-copy h1 { font-size: clamp(30px, 4vw, 46px); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.hero-copy .sub { font-size: 16px; line-height: 1.55; max-width: 56ch; }
.proof-strip { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.walkaway-card {
  background: linear-gradient(120deg, #123038, #0f2930); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 14px;
}
.walkaway-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 18px; }
.fee-line {
  border-top: 1px solid var(--line); padding-top: 14px; display: flex; justify-content: space-between;
  align-items: baseline; gap: 12px; font-size: 13px; color: var(--muted); flex-wrap: wrap;
}
.fee-line .fee-amt { color: var(--ink); font-weight: 700; }

/* ---------------------------------------------------------- #compare --- */
#compare h2, #included h2, #cost h2, #roadmap h2, #faq h2, #closing h2 { font-size: clamp(24px, 3vw, 30px); font-weight: 800; letter-spacing: -.02em; }
#compare .sub, #roadmap .sub { font-size: 14.5px; margin-top: 8px; margin-bottom: 22px; }
.compare-table { width: 100%; border-collapse: collapse; margin-top: 22px; }
.compare-table th, .compare-table td { text-align: left; padding: 12px 14px; font-size: 13.5px; vertical-align: top; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-size: 14px; font-weight: 800; color: var(--ink); }
.compare-table thead th:first-child { background: none; }
.compare-table tbody th[scope="row"] { color: var(--muted); font-weight: 600; white-space: nowrap; }
.compare-table td { color: #c4d4d8; }
.omvic-name { display: block; font-weight: 600; color: var(--muted); font-size: 11.5px; margin-top: 4px; text-transform: none; letter-spacing: 0; }
.class-cards { display: none; }
.class-card {
  background: linear-gradient(180deg, var(--panel), var(--panel2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 18px; margin-bottom: 14px;
}
.class-card h3 { font-size: 17px; margin-bottom: 12px; }
.cc-row { display: flex; flex-direction: column; gap: 2px; padding: 8px 0; border-top: 1px solid var(--line); font-size: 13.5px; }
.cc-row:first-of-type { border-top: 0; }
.cc-label { color: var(--muted); font-size: 12px; font-weight: 600; }
.cc-value { color: #c4d4d8; }

/* -------------------------------------------------------- quiz/result --- */
.assessment-grid { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); gap: 32px; align-items: start; }
#quiz {
  background: linear-gradient(180deg, var(--panel), var(--panel2)); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 4px;
}
#quiz h2 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; letter-spacing: -.02em; margin: 6px 0 4px; }
.q-group { display: flex; flex-direction: column; gap: 10px; padding: 16px 0; border-top: 1px solid var(--line); }
.q-group:first-of-type { border-top: 0; }
.q-group[hidden] { display: none; }
.q-label { font-size: 14px; font-weight: 700; }
.q-caption { font-size: 12.5px; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  appearance: none; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer;
  color: var(--muted); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  border-radius: 999px; padding: 10px 14px; transition: .14s;
}
.chip:hover { border-color: var(--accent2); color: var(--ink); }
.chip.on { color: #06231d; background: linear-gradient(135deg, var(--accent), var(--accent2)); border-color: transparent; }
#find-licence { margin-top: 14px; align-self: flex-start; }

#result { min-height: 40px; }
.result-card {
  border: 1px solid rgba(52,198,168,.55); background: linear-gradient(180deg, var(--panel), var(--panel2));
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; gap: 12px;
  box-shadow: var(--shadow);
}
.result-placeholder { color: var(--muted); font-size: 14.5px; padding: 20px 0; }
.result-card .kicker { font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; margin-right: 10px; }
.result-card .best-fit {
  font-size: 11px; font-weight: 700; color: #06231d; background: var(--accent);
  border-radius: 999px; padding: 3px 10px; display: inline-block;
}
.result-card h3 { font-size: clamp(20px, 2.4vw, 25px); font-weight: 800; letter-spacing: -.02em; margin-top: 4px; }
.result-card .body { color: #c4d4d8; font-size: 14.5px; line-height: 1.55; }
.result-card .note {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px;
  padding: 10px 12px; font-size: 13.5px; color: #c4d4d8; line-height: 1.5;
}
.result-card .also-fits { font-size: 13.5px; color: #c4d4d8; }
.outside-banner {
  background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px;
  padding: 14px 16px; font-size: 13.5px; line-height: 1.5; color: var(--ink);
}
.why { display: flex; flex-direction: column; gap: 8px; }
.always-facts {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 16px; display: flex; flex-direction: column; gap: 8px;
}
.price-line { font-size: 14px; color: #c4d4d8; }
.cross-sell { font-size: 13.5px; color: var(--muted); }

/* Email capture (lead-form) */
#lead-form { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
#lead-form label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.lead-row { display: flex; flex-wrap: wrap; gap: 8px; }
#lead-form input[type="email"], #lead-form input[type="tel"] {
  flex: 1 1 160px; min-width: 0; font: inherit; font-size: 13.5px; color: var(--ink);
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px;
}
#lead-status { font-size: 13px; color: var(--muted); }

/* ---------------------------------------------------------- #included --- */
.included-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px 20px; }
.included-list li { font-size: 14px; color: #c4d4d8; line-height: 1.5; padding-left: 24px; position: relative; }
.included-list li::before { content: "✓"; position: absolute; left: 0; top: 1px; color: var(--accent); font-weight: 800; }
.two-questions { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 16px; margin-top: 24px; }
.two-q {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 14px;
  padding: 18px; display: flex; flex-direction: column; gap: 6px;
}
.two-q b { font-size: 14.5px; }
.two-q p { font-size: 13.5px; color: var(--muted); line-height: 1.5; }

/* --------------------------------------------------------------- #cost --- */
.fee-amount { font-size: 32px; font-weight: 800; letter-spacing: -.02em; margin-top: 16px; }
.cost-rows { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 14px; margin-top: 16px; }
.cost-row { display: flex; justify-content: space-between; font-size: 14px; }
.cost-row span { color: #c4d4d8; }
.gov-title { display: block; font-size: 12px; font-weight: 700; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 22px; }
.gov-rows { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 10px; }
.gov-row { display: flex; justify-content: space-between; gap: 16px; font-size: 13.5px; color: #c4d4d8; }
.gov-note { font-size: 13px; color: var(--muted); margin-top: 12px; }
.bonus-box { background: var(--warn-bg); border: 1px solid var(--warn-line); border-radius: 12px; padding: 14px 16px; font-size: 13.5px; line-height: 1.5; margin-top: 16px; }
.refund { font-size: 12.5px; color: var(--muted); margin-top: 12px; line-height: 1.5; }

/* ------------------------------------------------------------ #roadmap --- */
.roadmap-track {
  display: grid; grid-template-columns: repeat(9, minmax(0,1fr)); gap: 16px;
  padding-top: 18px; border-top: 2px solid rgba(52,198,168,.35); margin-top: 8px;
}
.step { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.step .dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(52,198,168,.18); }
.step b { font-size: 12.5px; }
.step small { color: var(--muted); font-size: 11.5px; line-height: 1.4; }

/* ---------------------------------------------------------------- #faq --- */
.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 40px; margin-top: 20px; }
.faq { border-top: 1px solid var(--line); padding: 16px 0; display: flex; flex-direction: column; gap: 6px; }
.faq b { font-size: 14.5px; }
.faq p { color: var(--muted); font-size: 13.5px; line-height: 1.5; }

/* ------------------------------------------------------------ #closing --- */
#closing > div:not(.cta-row) { display: flex; flex-direction: column; gap: 8px; }
#closing {
  background: linear-gradient(135deg, var(--accent), var(--accent2)); border-radius: var(--radius);
  padding: 36px; color: #06231d; margin-top: 40px; margin-bottom: 48px;
  max-width: 1072px;
}
#closing h2 { color: #06231d; }
#closing p { color: rgba(6,35,29,.85); font-size: 14.5px; }
#closing .btn.primary { background: #0b1f26; color: var(--ink); }
#closing .btn.ghost { border-color: rgba(6,35,29,.35); color: #06231d; }

/* ------------------------------------------------------------------------ */
/* Phone (<=640px): #compare renders four stacked class cards instead of the
   table; #roadmap renders a vertical stepper. The layout itself narrows to
   fit -- the horizontal-overflow property is never reached for as the fix here. */
@media (max-width: 900px) {
  .hero-grid, .assessment-grid, .two-questions { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  #top, #hero, #compare, .assessment-grid, #included, #cost, #roadmap, #faq, #closing, #foot { padding-left: 16px; padding-right: 16px; }
  .top-inner { padding-left: 16px; padding-right: 16px; }
  .compare-table { display: none; }
  .class-cards { display: block; margin-top: 22px; }
  .walkaway-grid, .included-list { grid-template-columns: minmax(0,1fr); }
  .roadmap-track { grid-template-columns: minmax(0,1fr); border-top: 0; padding-top: 0; }
  .step { flex-direction: row; align-items: flex-start; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
  .step:first-of-type { border-top: 0; }
  .step .dot { margin-top: 4px; flex: 0 0 12px; }
  .faq-grid { grid-template-columns: minmax(0,1fr); }
  #closing { flex-direction: column; }
}
