/* ============================================================
   Road Test Bootcamp — marketing site
   Design tokens & styles (rebuilt from design handoff)
   ============================================================ */

:root {
  /* Brand greens */
  --green: #2d9b14;
  --green-dark: #258510;
  --green-deep: #1d6b0d;
  --green-light: #71c95a;
  --mint: #eaf7e5;
  --green-border: #ccecc1;
  --green-soft: #a3dd90;
  /* Ink / surfaces */
  --ink: #15160f;
  --black: #000;
  /* Text */
  --text: #43433d;
  --muted: #585851;
  --faint: #9b9a91;
  --faint-2: #76756d;
  --on-dark: #c3c2bb;
  --on-dark-light: #f7f7f2;
  /* Backgrounds */
  --bg: #fbfcf8;
  --wash: #f6f6f4;
  --faux-dark-green: #1f2b18;
  /* Borders */
  --border: #ededea;
  --border-input: #dddcd6;
  /* Shadows */
  --shadow-card: 0 2px 14px rgba(21,22,15,.04);
  --shadow-phone: 0 30px 60px rgba(21,22,15,.18);
  --shadow-hero: 0 40px 80px rgba(21,22,15,.28);
  --shadow-thumb: 0 26px 56px rgba(0,0,0,.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  font-family: 'Fredoka', 'Helvetica Neue', Arial, sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

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

@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: clamp(18px,4vw,40px); padding-right: clamp(18px,4vw,40px); }
.section-y { padding-top: clamp(56px,7vw,104px); padding-bottom: clamp(56px,7vw,104px); }
.scroll-anchor { scroll-margin-top: 84px; }

/* Visually-hidden (honeypot label, a11y) */
.vh { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Shared bits */
.eyebrow { font-weight: 700; font-size: 14px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); margin-bottom: 14px; }
.eyebrow--light { color: var(--green-light); }
.eyebrow--soft  { color: var(--green-soft); }

.h2 { font-weight: 700; font-size: clamp(30px,4vw,46px); line-height: 1.06; letter-spacing: -.02em; margin: 0; }

.section-head { text-align: center; max-width: 680px; margin: 0 auto clamp(40px,5vw,64px); }

/* ===================== ANNOUNCEMENT BAR ===================== */
.announce {
  background: var(--ink); color: var(--on-dark-light);
  font-weight: 700; font-size: 14px; letter-spacing: .01em;
  padding: 11px 18px; display: flex; align-items: center; justify-content: center; gap: 10px;
  position: relative;
}
.announce[hidden] { display: none; }
.announce__dot { display: inline-flex; width: 8px; height: 8px; border-radius: 50%; background: var(--green-light); flex: none; }
.announce__close {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: 0; color: var(--on-dark-light); opacity: .6;
  cursor: pointer; padding: 6px; display: inline-flex; line-height: 0; border-radius: 6px;
}
.announce__close:hover { opacity: 1; }

/* ===================== HEADER ===================== */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,252,248,.92); backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 11px; flex: none; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -.01em; line-height: 1; }
.nav { display: flex; align-items: center; gap: clamp(14px,2.4vw,30px); margin-left: auto; flex-wrap: wrap; }
.nav a.nav__link { font-weight: 700; font-size: 15px; color: var(--text); }
.nav a.nav__link:hover { color: var(--ink); }

/* Buttons */
.btn-pill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--green); color: #fff; font-weight: 700; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; transition: background .15s ease;
}
.btn-pill:hover { background: var(--green-dark); }

.btn-appstore {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--black); border-radius: 15px; padding: 14px 26px;
  transition: transform .15s ease;
}
.btn-appstore:hover { transform: translateY(-2px); }
.btn-appstore svg { display: block; flex: none; }
.btn-appstore .lockup { text-align: left; line-height: 1; color: #fff; }
.btn-appstore .lockup small { display: block; font-size: 13px; font-weight: 400; }
.btn-appstore .lockup strong { display: block; font-size: 24px; font-weight: 700; margin-top: 3px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: 16px; color: var(--ink);
  padding: 14px 18px; border-radius: 12px; border: 2px solid var(--border-input);
  transition: border-color .15s ease;
}
.btn-ghost:hover { border-color: var(--green); }

/* ===================== HERO ===================== */
.hero {
  position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 88% 4%, #eaf7e5 0%, rgba(234,247,229,0) 55%), var(--bg);
}
.hero__inner {
  display: flex; gap: clamp(32px,5vw,72px); align-items: center; flex-wrap: wrap;
  padding-top: clamp(40px,6vw,86px); padding-bottom: clamp(48px,6vw,90px);
}
.hero__text { flex: 1 1 440px; min-width: 300px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
  border: 1px solid var(--green-border); border-radius: 999px; padding: 7px 15px;
  font-weight: 700; font-size: 13.5px; color: var(--green-deep); margin-bottom: 22px;
}
.hero h1 { font-weight: 700; font-size: clamp(40px,6.2vw,76px); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 22px; }
.hero h1 .accent { color: var(--green); }
.hero__lead { font-size: clamp(17px,1.7vw,21px); line-height: 1.55; color: var(--text); max-width: 560px; margin: 0 0 30px; }
.hero__cta { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero__sub { display: flex; align-items: center; gap: 18px; margin-top: 30px; font-size: 14px; color: var(--muted); font-weight: 700; flex-wrap: wrap; }
.hero__sub span.inline { display: inline-flex; align-items: center; gap: 7px; }
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--on-dark); }

.hero__media { flex: 0 1 380px; min-width: 270px; display: flex; justify-content: center; position: relative; }
.hero__blob { position: absolute; width: 300px; height: 300px; border-radius: 50%; background: var(--green); opacity: .08; filter: blur(10px); top: 8%; }

.phone {
  position: relative; width: min(330px,78vw); aspect-ratio: 9 / 19.2;
  background: #0c0c0c; border-radius: 46px; padding: 11px; box-shadow: var(--shadow-hero);
}
.phone--float { animation: floaty 6s ease-in-out infinite; }
.phone__screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #1c1c1c; }
.phone__screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.phone__notch { position: absolute; top: 13px; left: 50%; transform: translateX(-50%); width: 108px; height: 26px; background: #0c0c0c; border-radius: 0 0 16px 16px; }

@media (prefers-reduced-motion: reduce) {
  .phone--float { animation: none; }
  html { scroll-behavior: auto; }
}

/* ===================== STATS BAR ===================== */
.stats { background: var(--ink); color: var(--on-dark-light); }
.stats__grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(150px,1fr)); gap: 24px; text-align: center; padding-top: clamp(34px,4vw,52px); padding-bottom: clamp(34px,4vw,52px); }
.stat__num { font-weight: 700; font-size: clamp(40px,5vw,60px); line-height: 1; color: var(--green-light); letter-spacing: -.02em; }
.stat__label { font-size: 15px; color: var(--on-dark); margin-top: 8px; font-weight: 700; }

/* ===================== HOW IT WORKS ===================== */
.cards-3 { display: grid; grid-template-columns: repeat(auto-fit,minmax(250px,1fr)); gap: clamp(20px,3vw,34px); }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: 22px;
  padding: 34px 30px; box-shadow: var(--shadow-card);
}
.medallion { width: 56px; height: 56px; border-radius: 16px; background: var(--mint); color: var(--green); display: flex; align-items: center; justify-content: center; margin-bottom: 22px; }
.card__step { font-weight: 700; font-size: 14px; color: var(--faint); margin-bottom: 6px; }
.card h3 { font-weight: 700; font-size: 23px; letter-spacing: -.01em; margin: 0 0 10px; }
.card p { font-size: 16px; line-height: 1.55; color: var(--muted); margin: 0; }

/* ===================== FEATURES (pillars) ===================== */
.features { background: var(--wash); }
.features .section-head { max-width: 680px; margin-bottom: clamp(44px,6vw,72px); }
.pillar { display: flex; gap: clamp(30px,5vw,72px); align-items: center; flex-wrap: wrap; }
.pillar + .pillar { margin-top: clamp(48px,6vw,90px); }
.pillar__text { flex: 1 1 320px; min-width: 280px; }
.pillar__media { flex: 0 1 300px; min-width: 240px; display: flex; justify-content: center; }
.pillar--rev .pillar__text { order: 1; }
.pillar--rev .pillar__media { order: 2; }

.pill-label {
  display: inline-flex; align-items: center; gap: 9px; font-weight: 700; font-size: 13.5px;
  color: var(--green-deep); background: var(--mint); border-radius: 999px; padding: 7px 15px; margin-bottom: 18px;
}
.pillar h3 { font-weight: 700; font-size: clamp(26px,3vw,36px); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 16px; }
.pillar p { font-size: 17px; line-height: 1.6; color: var(--text); margin: 0 0 22px; }
.checklist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checklist li { display: flex; align-items: center; gap: 11px; font-size: 16px; font-weight: 700; color: var(--ink); }
.checklist .ico { color: var(--green); flex: none; }

.phone--sm { width: min(270px,72vw); border-radius: 40px; padding: 9px; box-shadow: var(--shadow-phone); }
.phone--sm .phone__screen { border-radius: 32px; }
.phone--contain .phone__screen { background: #1a1a1a; }
.phone--contain .phone__screen img { object-fit: contain; object-position: center; }

/* ===================== MODULE LOOP (dark inset) ===================== */
.loop-card { background: var(--ink); border-radius: 32px; padding: clamp(30px,4.5vw,64px); overflow: hidden; }
.loop-head { max-width: 700px; margin: 0 auto clamp(36px,4vw,56px); text-align: center; color: var(--on-dark-light); }
.loop-head h2 { font-weight: 700; font-size: clamp(28px,3.6vw,44px); line-height: 1.06; letter-spacing: -.02em; margin: 0 0 16px; }
.loop-head p { font-size: 17px; line-height: 1.6; color: var(--on-dark); margin: 0; }
.loop-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(248px,1fr)); gap: clamp(18px,2.4vw,28px); }
.loop-item { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.11); border-radius: 24px; padding: clamp(22px,2.6vw,30px); display: flex; flex-direction: column; }
.loop-visual { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; margin-bottom: 24px; }
.loop-visual > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loop-visual__scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.45), rgba(0,0,0,.05) 60%); }
.play-btn { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.play-btn span { width: 60px; height: 60px; border-radius: 50%; background: rgba(255,255,255,.95); display: flex; align-items: center; justify-content: center; color: var(--green-deep); box-shadow: 0 10px 24px rgba(0,0,0,.4); }
.play-btn .ico { margin-left: 4px; }
.tag { position: absolute; right: 12px; top: 12px; font-weight: 700; font-size: 12px; color: var(--ink); background: var(--green-light); border-radius: 999px; padding: 5px 11px; }

.loop-visual--faux { background: var(--faux-dark-green); border: 1px solid rgba(255,255,255,.06); padding: 18px 20px; display: flex; flex-direction: column; justify-content: center; gap: 13px; }
.faux-row { display: flex; align-items: center; gap: 11px; }
.faux-check { width: 22px; height: 22px; border-radius: 7px; background: var(--green); display: flex; align-items: center; justify-content: center; flex: none; color: #fff; }
.faux-check--empty { background: none; border: 2px solid rgba(255,255,255,.35); }
.faux-bar { height: 9px; border-radius: 5px; background: rgba(255,255,255,.5); flex: 1; }
.faux-bar--a { max-width: 160px; } .faux-bar--b { max-width: 120px; } .faux-bar--c { max-width: 144px; background: rgba(255,255,255,.28); }

.loop-visual--gauge { background: var(--faux-dark-green); border: 1px solid rgba(255,255,255,.06); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.loop-visual--gauge .ico { color: var(--green-light); }
.loop-visual--gauge span { font-weight: 700; font-size: 15px; color: #fff; letter-spacing: .02em; }

.loop-num { width: 34px; height: 34px; border-radius: 50%; background: var(--green-light); color: var(--ink); font-weight: 700; font-size: 16px; display: flex; align-items: center; justify-content: center; flex: none; }
.loop-item__row { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.loop-item h3 { font-weight: 700; font-size: 21px; letter-spacing: -.01em; margin: 0; color: #fff; }
.loop-item p { font-size: 15.5px; line-height: 1.55; color: var(--on-dark); margin: 0; }

/* ===================== PRIVACY ===================== */
.privacy { background: var(--green-deep); color: var(--on-dark-light); position: relative; overflow: hidden; }
.privacy__inner { display: flex; gap: clamp(32px,5vw,72px); align-items: center; flex-wrap: wrap; }
.privacy__text { flex: 1 1 340px; min-width: 280px; }
.privacy h2 { font-weight: 700; font-size: clamp(30px,4vw,48px); line-height: 1.04; letter-spacing: -.02em; margin: 0 0 20px; }
.privacy__lead { font-size: 17.5px; line-height: 1.6; color: var(--mint); margin: 0 0 26px; max-width: 540px; }
.glass { display: inline-flex; align-items: center; gap: 14px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 16px 22px; margin-bottom: 30px; }
.glass .ico { color: #fff; flex: none; }
.glass strong { display: block; font-weight: 700; font-size: 19px; line-height: 1.1; }
.glass .period { color: var(--ink); }
.privacy__sub { font-weight: 700; font-size: 14px; color: var(--green-soft); margin-bottom: 12px; }
.state-pills { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.state-pill { font-weight: 700; font-size: 16px; color: var(--ink); background: var(--green-light); border-radius: 999px; padding: 9px 20px; }
.state-pill--more { background: none; color: var(--mint); opacity: .85; font-size: 15px; padding: 9px 0; }
.privacy__media { flex: 0 1 290px; min-width: 240px; display: flex; justify-content: center; }
.privacy__media .phone--sm { width: min(266px,72vw); box-shadow: 0 34px 70px rgba(0,0,0,.4); }

/* ===================== NEURODIVERSITY ===================== */
.nd { text-align: center; max-width: 1100px; }
.nd__mark { width: 108px; height: 108px; border-radius: 50%; background: var(--mint); display: flex; align-items: center; justify-content: center; margin: 0 auto 30px; }
.nd h2 { font-weight: 700; font-size: clamp(30px,4vw,48px); line-height: 1.06; letter-spacing: -.02em; margin: 0 auto 18px; max-width: 780px; }
.nd p { font-size: clamp(17px,1.7vw,21px); line-height: 1.55; color: var(--text); max-width: 600px; margin: 0 auto; }

/* ===================== ABOUT ===================== */
.about { background: var(--wash); }
.about__inner { display: flex; gap: clamp(32px,5vw,72px); align-items: center; flex-wrap: wrap; }
.about__media { flex: 0 1 420px; min-width: 280px; }
.about__photo { border-radius: 26px; overflow: hidden; box-shadow: 0 26px 60px rgba(21,22,15,.16); aspect-ratio: 4 / 5; background: #ddd; }
.about__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.about__text { flex: 1 1 360px; min-width: 300px; }
.about p { font-size: 17.5px; line-height: 1.6; color: var(--text); }
.about p:first-of-type { margin: 0 0 20px; }
.about p.coach { margin: 0 0 28px; }
.about b { color: var(--ink); }
.about__stats { display: flex; gap: 30px; flex-wrap: wrap; }
.about__stats .n { font-weight: 700; font-size: 34px; color: var(--green); line-height: 1; }
.about__stats .l { font-size: 14px; color: var(--muted); font-weight: 700; margin-top: 4px; }

/* ===================== FAQ ===================== */
.faq { max-width: 840px; }
.faq .section-head { margin-bottom: clamp(36px,5vw,56px); }
.faq-list { display: flex; flex-direction: column; gap: 14px; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: 18px; overflow: hidden; }
.faq-q {
  display: flex; align-items: center; gap: 16px; padding: 22px 24px; cursor: pointer;
  width: 100%; background: none; border: 0; text-align: left; font-family: inherit; color: inherit;
}
.faq-q span { font-weight: 700; font-size: clamp(17px,1.9vw,20px); line-height: 1.3; flex: 1; }
.faq-q .ico { color: var(--green); flex: none; }
.faq-q .ico-minus { display: none; }
.faq-item.open .faq-q .ico-minus { display: block; }
.faq-item.open .faq-q .ico-plus { display: none; }
.faq-a { padding: 0 24px; max-height: 0; overflow: hidden; font-size: 16.5px; line-height: 1.6; color: var(--text); transition: max-height .25s ease, padding .25s ease; }
.faq-item.open .faq-a { padding: 0 24px 24px; max-height: 400px; }

/* ===================== CONTACT ===================== */
.contact { background: var(--wash); }
.contact .wrap { max-width: 760px; }
.contact .section-head { margin-bottom: clamp(32px,4vw,48px); max-width: 760px; }
.contact .section-head h2 { margin-bottom: 14px; }
.contact .section-head p { font-size: 17px; line-height: 1.55; color: var(--text); max-width: 480px; margin: 0 auto; }
.contact-card {
  background: #fff; border: 1px solid var(--border); border-radius: 24px;
  padding: clamp(24px,3.5vw,40px); box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 18px;
}
.field-row { display: flex; gap: 18px; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 8px; font-weight: 700; font-size: 14.5px; color: var(--ink); }
.field-row .field { flex: 1 1 200px; min-width: 180px; }
.field input, .field textarea {
  font-family: inherit; font-size: 16px; font-weight: 400; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--border-input); border-radius: 12px;
  padding: 13px 15px; outline: none; transition: border-color .15s ease;
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green); }
.btn-submit {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: #fff; font-family: inherit; font-weight: 700; font-size: 16px;
  padding: 14px 28px; border: none; border-radius: 999px; cursor: pointer; transition: background .15s ease;
}
.btn-submit:hover { background: var(--green-dark); }

/* ===================== FINAL CTA ===================== */
.cta { position: relative; overflow: hidden; background: var(--green); color: #fff; }
.cta__inner { max-width: 1100px; margin: 0 auto; text-align: center; position: relative; padding-top: clamp(56px,8vw,110px); padding-bottom: clamp(56px,8vw,110px); }
.cta__logo { width: 84px; height: 84px; object-fit: contain; background: #fff; border-radius: 22px; padding: 8px; margin-bottom: 26px; }
.cta h2 { font-weight: 700; font-size: clamp(34px,5vw,62px); line-height: 1.02; letter-spacing: -.025em; margin: 0 0 18px; }
.cta p { font-size: clamp(17px,1.8vw,21px); line-height: 1.5; color: var(--mint); max-width: 560px; margin: 0 auto 34px; }
.cta .btn-appstore { padding: 16px 30px; border-radius: 16px; }
.cta .btn-appstore .lockup small { font-size: 14px; }
.cta .btn-appstore .lockup strong { font-size: 26px; }
.cta__foot { font-size: 14px; color: var(--mint); font-weight: 700; margin-top: 22px; opacity: .9; }

/* ===================== FOOTER ===================== */
.footer { background: var(--ink); color: var(--on-dark); }
.footer__inner { display: flex; gap: 32px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; padding-top: clamp(40px,5vw,64px); padding-bottom: clamp(40px,5vw,64px); }
.footer__brand { flex: 1 1 280px; min-width: 240px; }
.footer__brand .row { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.footer__brand img { width: 40px; height: 40px; object-fit: contain; }
.footer__brand .name { font-weight: 700; font-size: 18px; color: #fff; }
.footer__brand p { font-size: 14.5px; line-height: 1.55; max-width: 320px; margin: 0; }
.footer__cols { display: flex; gap: clamp(40px,6vw,80px); flex-wrap: wrap; }
.footer__col { display: flex; flex-direction: column; gap: 11px; }
.footer__col .head { font-weight: 700; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint-2); margin-bottom: 3px; }
.footer__col a { font-size: 15px; font-weight: 700; transition: color .15s ease; }
.footer__col a:hover { color: #fff; }
.footer__bar { border-top: 1px solid #2b2b26; }
.footer__bar .wrap { padding-top: 20px; padding-bottom: 20px; font-size: 13.5px; color: var(--faint-2); }
