/* ===== Bus Driver Guide funnel — school-bus-yellow brand ===== */
:root{
  --yellow:#FFD200;        /* school bus yellow (primary) */
  --yellow-2:#FFC400;
  --yellow-deep:#E9A900;   /* darker yellow for borders/hover */
  --yellow-pale:#FFF7DA;   /* soft yellow section background */
  --ink:#1a1a1a;           /* bus-lettering black (text + dark buttons) */
  --navy:#16324F;          /* secondary accent (matches the PDF brand) */
  --navy-deep:#0f2438;     /* footer */
  --muted:#5b6672;
  --line:#e6e2d2;          /* warm hairline */
  --bg:#ffffff;
  --radius:14px;
  --maxw:1040px;
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

*{ box-sizing:border-box; }
[hidden]{ display:none !important; }
html{ scroll-behavior:smooth; }
body{
  margin:0; font-family:var(--font); color:var(--ink);
  background:var(--bg); line-height:1.6; -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
h1,h2,h3{ line-height:1.2; color:var(--ink); }
a{ color:var(--navy); }
.section-inner{ max-width:var(--maxw); margin:0 auto; padding:0 20px; }

/* ---- Buttons ---- */
.btn{
  display:inline-block; font-weight:800; text-decoration:none; cursor:pointer;
  padding:.85em 1.5em; border-radius:999px; border:2px solid transparent;
  transition:transform .06s ease, background .15s ease, box-shadow .15s ease;
  font-size:1rem; text-align:center; line-height:1.2;
}
.btn:active{ transform:translateY(1px); }
/* primary call-to-action = bus-yellow with black lettering */
.btn-cta{ background:var(--yellow); color:var(--ink); border-color:var(--ink); }
.btn-cta:hover{ background:var(--yellow-2); box-shadow:0 4px 0 var(--ink); transform:translateY(-1px); }
/* dark button (used on yellow backgrounds where the CTA needs to pop) */
.btn-dark{ background:var(--ink); color:#fff; }
.btn-dark:hover{ background:#000; box-shadow:0 6px 20px rgba(0,0,0,.25); }
.btn-ghost{ background:transparent; color:var(--ink); border-color:var(--ink); }
.btn-ghost:hover{ background:var(--ink); color:#fff; }
.btn-lg{ font-size:1.15rem; padding:.95em 1.8em; }
.btn.is-disabled, .btn[disabled]{
  background:#eeeee6; color:#9a978c; border-color:transparent;
  cursor:not-allowed; pointer-events:none;
}

/* ---- Header ---- */
.site-header{
  position:sticky; top:0; z-index:20; background:var(--yellow);
  border-bottom:3px solid var(--ink);
  display:flex; align-items:center; justify-content:space-between;
  padding:9px 20px; gap:12px;
}
.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; }
.brand-badge{ height:40px; width:auto; }
.brand-word{ color:var(--ink); font-weight:900; font-size:1.15rem; letter-spacing:.2px; }
.brand-dot{ color:var(--navy); }
.header-cta{ font-size:.9rem; padding:.5em 1.1em; white-space:nowrap; }

/* ---- Hero (yellow) ---- */
.hero{
  background:linear-gradient(170deg,var(--yellow) 0%, var(--yellow-2) 100%);
  color:var(--ink); padding:60px 20px 68px; border-bottom:4px solid var(--ink);
}
.hero-inner{ max-width:820px; margin:0 auto; text-align:center; }
.hero-eyebrow{
  display:inline-block; background:var(--ink); color:var(--yellow);
  font-size:.72rem; font-weight:800; letter-spacing:.14em; text-transform:uppercase;
  padding:5px 12px; border-radius:6px; margin-bottom:18px;
}
.hero h1{ font-size:2.2rem; margin:0 0 18px; }
.hero-sub{ font-size:1.18rem; color:#3a3320; margin:0 auto 28px; max-width:660px; }
.hero-sub em{ color:var(--ink); font-style:normal; font-weight:800; }
.hero-trust{ margin-top:20px; font-size:1rem; color:#4a4326; font-weight:600; }
.hero-trust strong{ color:var(--ink); }

/* ---- Sections ---- */
section{ padding:58px 0; }
section h2{ font-size:1.9rem; margin:0 0 10px; text-align:center; }
.section-lead{ text-align:center; color:var(--muted); max-width:640px; margin:0 auto 34px; font-size:1.06rem; }

.problem{ background:#fff; }
.solution{ background:var(--yellow-pale); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.selector{ background:#fff; }
.sample{ background:var(--yellow-pale); border-top:1px solid var(--line); }
.whats-inside{ background:#fff; }
.faq{ background:var(--yellow-pale); border-top:1px solid var(--line); }

/* ---- Problem / pain ---- */
.pain-list{ max-width:720px; margin:0 auto 26px; padding:0; list-style:none; }
.pain-list li{
  position:relative; padding:12px 12px 12px 44px; margin-bottom:10px;
  background:#fff; border:1px solid var(--line); border-left:4px solid var(--yellow-deep);
  border-radius:8px; color:#33302a;
}
.pain-list li::before{
  content:"✓"; position:absolute; left:14px; top:11px; color:#1a9e4b; font-weight:900; font-size:1.05em;
}
.pain-punch{
  max-width:720px; margin:0 auto; text-align:center; font-size:1.12rem; font-weight:700;
  color:var(--ink);
}

/* ---- Solution ---- */
.solution-grid{ display:grid; grid-template-columns:1fr; gap:16px; max-width:860px; margin:0 auto; }
.sol-item{
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:20px 22px;
  border-top:4px solid var(--yellow);
}
.sol-icon{
  display:inline-flex; align-items:center; justify-content:center;
  width:52px; height:52px; margin-bottom:12px;
  background:var(--yellow); border:2.5px solid var(--ink); border-radius:12px;
  color:var(--ink);
}
.sol-icon svg{ width:27px; height:27px; }
.sol-item h3{ font-size:1.12rem; margin:0 0 6px; }
.sol-item p{ margin:0; color:var(--muted); }

/* ---- Selector / dropdowns ---- */
.picker{ max-width:520px; margin:0 auto; }
.picker-step{ margin-bottom:20px; }
.step-label{
  display:block; font-weight:800; color:var(--ink); font-size:.85rem;
  text-transform:uppercase; letter-spacing:.06em; margin-bottom:8px;
}
.dropdown{
  width:100%; padding:.9em 2.6em .9em 1em; font-size:1.08rem; font-weight:600;
  color:var(--ink); background-color:#fff; border:2.5px solid var(--ink);
  border-radius:12px; cursor:pointer; -webkit-appearance:none; appearance:none;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a1a1a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat:no-repeat; background-position:right 1em center;
}
.dropdown:focus{ outline:none; box-shadow:0 0 0 4px rgba(255,210,0,.55); }
.dropdown:disabled{ background-color:#f4f2ea; border-color:#cfc9b6; color:#9a978c; cursor:not-allowed; }
/* Un-uploaded districts: dimmed "Coming soon" entries in the district list. */
.dropdown option:disabled,
.dropdown option.opt-soon{ color:#9aa0a6; }

/* ---- Product card ---- */
.product-card{
  max-width:860px; margin:30px auto 0; background:#fff; border:2px solid var(--ink);
  border-radius:var(--radius); box-shadow:0 10px 0 rgba(26,26,26,.12); padding:26px;
}
/* Two-column live card: buy box left, large cover right */
.pc-layout{ display:flex; gap:30px; align-items:center; }
.pc-main{ flex:1 1 52%; min-width:0; text-align:left; }
.pc-media{ flex:0 0 44%; display:flex; justify-content:center; }
.pc-cover{ width:100%; max-width:340px; height:auto; margin:0; border:1px solid var(--line); border-radius:8px; box-shadow:0 8px 22px rgba(26,26,26,.16); }
@media (max-width:720px){
  .pc-layout{ flex-direction:column; gap:20px; }
  .pc-media{ order:-1; flex:none; }
  .pc-main{ text-align:center; }
  .pc-cover{ max-width:260px; }
}
.product-card h3{ font-size:1.5rem; margin:0 0 6px; }
.pc-facts{ display:flex; flex-wrap:wrap; gap:10px; margin:16px 0 20px; }
.pc-fact{
  background:var(--yellow-pale); border:1px solid var(--line); border-radius:10px;
  padding:10px 12px; flex:1 1 150px; min-width:140px;
}
.pc-fact .k{ display:block; font-size:.7rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:800; }
.pc-fact .v{ font-weight:800; color:var(--ink); font-size:1rem; }
.pc-price{ font-size:1.4rem; font-weight:900; color:var(--ink); }
.pc-price small{ font-weight:600; color:var(--muted); font-size:.85rem; }
.pc-cta{ margin-top:16px; }
.pc-cta .btn{ width:100%; }
.pc-note{ font-size:.85rem; color:var(--muted); margin:10px 0 0; text-align:center; }
.pc-soon-lead{ color:#33302a; margin:6px 0 4px; }
.pc-detail{ text-align:center; margin:12px 0 0; }
.pc-detail a{ color:var(--navy); font-weight:700; text-decoration:none; }
.pc-detail a:hover{ text-decoration:underline; }

/* notify form */
.notify-form{ margin-top:14px; display:flex; gap:10px; flex-wrap:wrap; }
.notify-form input[type=email]{
  flex:1 1 220px; padding:.8em 1em; border:2.5px solid var(--ink);
  border-radius:12px; font-size:1rem; background:#fff; color:var(--ink);
}
.notify-form input[type=email]:focus{ outline:none; box-shadow:0 0 0 4px rgba(255,210,0,.55); }
.notify-form .btn{ flex:0 0 auto; }
.notify-msg{ margin-top:12px; font-weight:800; color:var(--navy); }

/* ---- Sample ---- */
.sample-actions{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* ---- What's inside grid ---- */
.value-grid{ display:grid; grid-template-columns:1fr; gap:14px; max-width:860px; margin:0 auto; }
.value-item{ background:#fff; border:1px solid var(--line); border-radius:10px; padding:16px 18px; border-left:4px solid var(--yellow); }
.value-item h3{ font-size:1.05rem; margin:0 0 4px; }
.value-item p{ margin:0; color:var(--muted); font-size:.95rem; }
.value-item em{ color:var(--navy); font-style:normal; font-weight:700; }

/* ---- FAQ ---- */
#faq-list{ max-width:760px; margin:0 auto; }
.faq-item{ border-bottom:1px solid var(--line); padding:16px 0; }
.faq-item h3{ font-size:1.1rem; margin:0 0 6px; }
.faq-item p{ margin:0; color:#40474e; }

/* ---- Closing CTA band ---- */
.cta-band{ background:var(--yellow); border-top:4px solid var(--ink); border-bottom:4px solid var(--ink); text-align:center; }
.cta-band h2{ font-size:2rem; margin:0 0 8px; }
.cta-band p{ color:#3a3320; max-width:560px; margin:0 auto 22px; font-size:1.08rem; font-weight:600; }

/* ---- Footer ---- */
.site-footer{ background:var(--navy-deep); color:#b8c7d6; padding:40px 0; }
.footer-inner{ text-align:center; }
.footer-badge{ height:44px; width:auto; margin:0 auto 12px; opacity:.9; }
.footer-brand{ color:#fff; margin:0 0 10px; }
.footer-disclaimer{ font-size:.82rem; color:#8ea1b4; max-width:640px; margin:0 auto 12px; }
.footer-contact{ font-size:.9rem; margin:0 0 10px; color:#b8c7d6; }
.footer-copy{ font-size:.82rem; color:#748a9c; margin:0; }
.site-footer a{ color:var(--yellow); }
.site-footer a:hover{ color:#fff; }

/* ===== District pages ===== */
.breadcrumb{ background:var(--ink); color:#cfcabb; font-size:.85rem; }
.breadcrumb .section-inner{ padding-top:9px; padding-bottom:9px; }
.breadcrumb a{ color:var(--yellow); text-decoration:none; }
.breadcrumb a:hover{ text-decoration:underline; }
.breadcrumb span{ color:#8b8574; }

.dhero{ background:linear-gradient(170deg,var(--yellow) 0%, var(--yellow-2) 100%); color:var(--ink); padding:48px 20px 52px; border-bottom:4px solid var(--ink); }
.dhero-inner{ max-width:820px; margin:0 auto; text-align:center; }
.dhero h1{ font-size:2.1rem; margin:6px 0 12px; }
.dhero-hook{ font-size:1.18rem; color:#3a3320; font-weight:600; max-width:640px; margin:0 auto 22px; }
.dhero-buy{ display:flex; gap:12px; justify-content:center; align-items:center; flex-wrap:wrap; }
.dhero-price{ font-size:1.15rem; font-weight:900; }
.dhero-price small{ font-weight:600; color:#4a4326; }

.quickfacts{ background:#fff; }
.qf-grid{ max-width:820px; margin:0 auto; display:grid; grid-template-columns:1fr; gap:0; border:2px solid var(--ink); border-radius:12px; overflow:hidden; }
.qf-row{ display:grid; grid-template-columns:1fr; gap:2px; padding:14px 16px; border-bottom:1px solid var(--line); }
.qf-row:last-child{ border-bottom:0; }
.qf-row .k{ font-size:.72rem; text-transform:uppercase; letter-spacing:.05em; color:var(--muted); font-weight:800; }
.qf-row .v{ color:var(--ink); }

.intro-block{ background:var(--yellow-pale); border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.intro-block .section-inner{ max-width:780px; }
.intro-block p{ font-size:1.06rem; color:#33302a; }

.howto{ background:#fff; }
.howto-list{ max-width:800px; margin:0 auto; list-style:none; padding:0; counter-reset:step; }
.howto-list li{ position:relative; padding:4px 4px 20px 60px; margin-bottom:4px; }
.howto-list li::before{
  counter-increment:step; content:counter(step);
  position:absolute; left:0; top:0; width:40px; height:40px;
  background:var(--yellow); border:2.5px solid var(--ink); border-radius:10px;
  display:flex; align-items:center; justify-content:center; font-weight:900; font-size:1.1rem;
}
.howto-list li:not(:last-child)::after{
  content:""; position:absolute; left:19px; top:44px; bottom:0; width:2px; background:var(--line);
}
.howto-list h3{ font-size:1.12rem; margin:6px 0 5px; }
.howto-list p{ margin:0; color:#40474e; }

/* ---- Responsive ---- */
@media (min-width:800px){
  .hero h1{ font-size:2.9rem; }
  .dhero h1{ font-size:2.6rem; }
  .value-grid{ grid-template-columns:1fr 1fr; }
  .solution-grid{ grid-template-columns:1fr 1fr; }
  .qf-row{ grid-template-columns:210px 1fr; gap:16px; align-items:baseline; }
}
@media (max-width:430px){
  .header-cta{ display:none; }
  .hero h1{ font-size:1.85rem; }
  .notify-form .btn{ width:100%; }
}

/* district-page hero cover */
.dhero-cover{ max-height:260px; width:auto; margin:0 auto 20px; border:2px solid var(--ink); border-radius:8px; box-shadow:0 8px 22px rgba(0,0,0,.18); }

/* ===== v3: hero CTA row, quiz, email gate, bonus ===== */
.hero-cta-row{ display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }

/* Quiz */
.quiz{ background:var(--ink); color:#fff; padding:54px 0; }
.quiz-card{ max-width:660px; margin:0 auto; background:#fff; color:var(--ink); border:3px solid var(--ink);
  border-radius:16px; box-shadow:0 12px 0 rgba(255,210,0,.9); padding:34px 30px; text-align:center; }
.q-eyebrow{ display:inline-block; background:var(--yellow); color:var(--ink); font-size:.72rem; font-weight:800;
  letter-spacing:.1em; text-transform:uppercase; padding:4px 11px; border-radius:6px; margin-bottom:12px; }
.quiz-card h2{ font-size:1.6rem; margin:0 0 10px; }
.q-lead{ color:var(--muted); margin:0 auto 20px; max-width:480px; }
.q-question{ font-size:1.45rem; }
.q-opts{ display:flex; flex-direction:column; gap:10px; max-width:420px; margin:0 auto; }
.q-opt{ background:#fff; color:var(--ink); border:2px solid var(--ink); border-radius:12px; padding:.85em 1.2em; font-size:1.05rem;
  font-weight:700; cursor:pointer; transition:background .12s, transform .05s; }
.q-opt:hover{ background:var(--yellow); color:var(--ink); }
.q-opt:active{ transform:translateY(1px); }
.q-progress{ height:8px; background:var(--line); border-radius:99px; overflow:hidden; margin:0 auto 20px; max-width:420px; }
.q-progress span{ display:block; height:100%; background:var(--yellow); transition:width .25s ease; }
.q-picker{ display:flex; flex-direction:column; gap:12px; max-width:420px; margin:0 auto 18px; }
.q-email{ display:flex; gap:10px; max-width:460px; margin:0 auto; flex-wrap:wrap; }
.q-email input{ flex:1 1 220px; padding:.8em 1em; border:2.5px solid var(--ink); border-radius:12px; font-size:1rem; background:#fff; color:var(--ink); }
.q-email input:focus{ outline:none; box-shadow:0 0 0 4px rgba(255,210,0,.55); }
.q-cover{ max-height:220px; width:auto; margin:14px auto 6px; border:2px solid var(--ink); border-radius:8px; }
.q-buy{ margin:14px 0 4px; }
.q-buy .btn{ width:100%; max-width:440px; }
.q-result h2{ font-size:1.5rem; }
.q-restart{ background:none; border:none; color:var(--muted); font-weight:700; cursor:pointer; margin-top:14px; text-decoration:underline; }

/* Email-gated sample */
.gate-form, .q-email{ }
.gate-form{ display:flex; gap:10px; max-width:460px; margin:0 auto 8px; flex-wrap:wrap; justify-content:center; }
.gate-form input{ flex:1 1 240px; padding:.8em 1em; border:2.5px solid var(--ink); border-radius:12px; font-size:1rem; background:#fff; color:var(--ink); }
.gate-form input:focus{ outline:none; box-shadow:0 0 0 4px rgba(255,210,0,.55); }
.gate-note{ font-size:.85rem; color:var(--muted); text-align:center; margin:0; }
.sample-reveal{ display:flex; flex-direction:column; align-items:center; gap:12px; margin-top:6px; }
.sample-reveal .btn{ min-width:280px; }

/* Bonus */
.bonus-callout{ display:flex; gap:14px; align-items:center; max-width:820px; margin:0 auto 28px;
  background:#fff; border:2px dashed var(--yellow-deep); border-radius:12px; padding:16px 20px; }
.bonus-callout p{ margin:0; color:#33302a; text-align:left; }
.bonus-tag{ flex:0 0 auto; background:var(--yellow); color:var(--ink); font-weight:800; font-size:.8rem;
  padding:6px 12px; border-radius:8px; border:2px solid var(--ink); white-space:nowrap; }
.pc-bonus{ margin:6px 0 0; font-weight:700; color:var(--navy); font-size:.92rem; }

@media (max-width:520px){
  .bonus-callout{ flex-direction:column; align-items:flex-start; }
}

/* ===== v4: promo bar ===== */
.promobar{ background:var(--ink); color:var(--yellow); text-align:center; font-size:.85rem;
  font-weight:600; padding:9px 16px; line-height:1.4; }
.promobar strong{ color:#fff; }
@media (max-width:520px){ .promobar{ font-size:.78rem; } }
