/* Figtree (variable, 400–700) — self-hosted */
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/figtree-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/figtree-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #26241F;
  --text: #38352F;
  --muted: #6E6A63;
  --muted-2: #7A756D;
  --faint: #A7A29A;
  --line: #F0EEEA;
  --amber: #FFB627;
  --amber-hover: #FFC24D;
  --amber-deep: #E09A00;
  --cream: #FFF3D6;
  --cream-hover: #FFEAB8;
  --brown: #8A5A00;
  --gutter: clamp(8px, 2vw, 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #FFFFFF;
  color: var(--text);
  font-family: 'Figtree', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brown); text-decoration: none; }
a:hover { color: #5E3D00; }
img { display: block; max-width: 100%; }
picture { display: contents; }
input::placeholder { color: var(--faint); }
h1, h2, h3, h4, p { margin: 0; }
[hidden] { display: none !important; }

.page { min-height: 100vh; background: #FFFFFF; padding-bottom: 24px; }
.wrap { max-width: 1040px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.center { display: flex; flex-direction: column; align-items: center; text-align: center; }
.card-section { margin: 24px var(--gutter) 0; border-radius: 40px; overflow: hidden; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .bar {
  max-width: 1040px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 9px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo-mark {
  --lm-tile: var(--amber); --lm-truck: var(--ink); --lm-glass: var(--cream);
  display: block; flex: none; width: 28px; height: 28px; border-radius: 8px; overflow: hidden;
}
.logo-word { font: 700 19px/1 'Figtree'; letter-spacing: -.03em; }

.nav { display: flex; align-items: center; gap: 40px; font: 500 14px/1 'Figtree'; }
.nav a { color: #5E5A53; }
.nav a:hover { color: var(--ink); }
.nav a.nav-cta { background: var(--ink); color: #FFFFFF; padding: 9px 16px; border-radius: 999px; font-weight: 500; }
.nav a.nav-cta:hover { background: #000; color: #FFFFFF; }

.menu-btn {
  display: none; background: transparent; border: 0; padding: 10px 0; cursor: pointer;
  flex-direction: column; gap: 7px; width: 26px;
}
.menu-btn span { display: block; height: 2px; background: var(--ink); border-radius: 2px; }

.mobile-nav {
  display: flex; flex-direction: column; padding: 8px 24px 20px; gap: 2px;
  font: 500 17px/1 'Figtree'; border-top: 1px solid var(--line);
}
.mobile-nav a { color: var(--text); padding: 14px 0; }
.mobile-nav a.nav-cta { margin-top: 8px; background: var(--ink); color: #fff; padding: 15px; border-radius: 999px; text-align: center; }

@media (max-width: 760px) {
  .nav { display: none; }
  .menu-btn { display: flex; }
}
@media (min-width: 761px) {
  .mobile-nav { display: none !important; }
}

/* ---------- Shared type ---------- */
.eyebrow { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.eyebrow-label { font: 500 20px/1 'Figtree'; color: var(--muted); }
.display {
  font: 600 clamp(44px,6vw,72px)/1.04 'Figtree'; letter-spacing: -.045em;
  color: var(--text); text-wrap: balance;
}
.lede {
  margin-top: 18px; max-width: 32em;
  font: 400 clamp(17px,1.6vw,20px)/1.45 'Figtree'; color: var(--muted); text-wrap: pretty;
}
.body-lg { font: 400 clamp(17px,1.6vw,20px)/1.45 'Figtree'; color: var(--muted); text-wrap: pretty; }
.h-sub { font: 500 clamp(22px,2.2vw,26px)/1.3 'Figtree'; letter-spacing: -.02em; color: var(--ink); text-wrap: balance; }
.h-section { font: 500 clamp(32px,3.6vw,42px)/1.1 'Figtree'; letter-spacing: -.035em; text-wrap: balance; }

/* ---------- Buttons ---------- */
.ctas { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; margin-top: 36px; width: 100%; }
.btn {
  padding: 16px 30px; border-radius: 999px; font: 600 18px/1 'Figtree'; text-align: center;
}
.btn-amber { background: var(--amber); color: var(--ink); }
.btn-amber:hover { background: var(--amber-hover); color: var(--ink); }
.btn-cream { background: var(--cream); color: var(--brown); }
.btn-cream:hover { background: var(--cream-hover); color: var(--brown); }
.btn-white { background: #FFFFFF; color: var(--ink); }
.btn-white:hover { background: #F1EEE8; color: var(--ink); }
.btn-dark { background: #2C2A27; color: #F4F1EC; }
.btn-dark:hover { background: #3A3733; color: #F4F1EC; }

/* ---------- Hero ---------- */
.hero {
  margin: 0 var(--gutter); border-radius: 0 0 40px 40px; overflow: hidden;
  background: linear-gradient(180deg,#FFFFFF 0%,#FFFBF2 30%,#FFEBC2 100%);
}
.hero .wrap { padding-top: clamp(48px,9vw,104px); }
.hero h1 {
  font: 600 clamp(46px,6.2vw,76px)/1.04 'Figtree'; letter-spacing: -.045em;
  color: var(--text); text-wrap: balance;
}
.hero .lede { max-width: 34em; }
.hero .btn-amber { flex: 0 1 240px; }
.hero .btn-cream { flex: 0 1 180px; }
.platforms-note { margin-top: 20px; font: 400 14px/1 'Figtree'; color: var(--faint); }
.hero-img { margin-top: clamp(40px,6vw,72px); width: 100%; max-width: 960px; padding-bottom: clamp(32px,5vw,64px); }
.hero-img img { width: 100%; height: auto; }

/* ---------- Stats + signup ---------- */
.stats-section { margin: 24px var(--gutter) 0; border: 1px solid var(--line); border-radius: 40px; background: #FFFFFF; }
.stats-section .wrap { padding-top: clamp(48px,6vw,64px); padding-bottom: clamp(48px,6vw,64px); }
.stats {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,220px),1fr));
  margin: 36px auto 0; max-width: 760px;
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 16px 0; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat-value { font: 600 clamp(44px,4.4vw,52px)/1 'Figtree'; letter-spacing: -.04em; color: var(--amber-deep); }
.stat-label { font: 400 17px/1.3 'Figtree'; color: var(--muted); }
.rule { height: 1px; background: var(--line); margin: 44px 0; }
.signup { gap: 10px; }

.signup-form {
  display: flex; gap: 12px; flex-wrap: wrap; justify-content: center;
  width: 100%; max-width: 540px; margin-top: 22px;
}
.signup-form input {
  flex: 1 1 260px; min-width: 0; background: #F6F5F2; border: 1px solid transparent; outline: 0;
  border-radius: 999px; color: var(--ink); font: 400 17px/1 'Figtree'; padding: 13px 18px;
}
.signup-form input:focus-visible { border-color: #E5DCCB; }
.signup-form button {
  flex: 1 0 auto; max-width: 540px; border: 0; border-radius: 999px; padding: 13px 18px;
  font: 500 17px/1 'Figtree'; cursor: pointer; background: var(--ink); color: #FFFFFF;
}
.signup-form button:hover { background: #000; }
.signup-form button.amber { background: var(--amber); color: var(--ink); padding: 13px 22px; font-weight: 600; }
.signup-form button.amber:hover { background: var(--amber-hover); }
.signup-error { margin-top: 12px; font: 500 15px/1.4 'Figtree'; color: #B42318; }
.signup-form button:disabled { opacity: .6; cursor: progress; }
.signup-done {
  margin-top: 22px; background: var(--cream); color: #6B4600; border-radius: 999px;
  padding: 14px 22px; font: 500 16px/1.3 'Figtree';
}

/* ---------- Career (dark) ---------- */
.career {
  background: linear-gradient(180deg,#0E0E0F 0%,#121110 40%,#2A2114 100%); color: #F4F1EC;
}
.career .wrap { padding-top: clamp(64px,10vw,128px); padding-bottom: clamp(56px,7vw,80px); }
.career .logo-mark { --lm-tile: #2C2A27; --lm-truck: var(--amber); --lm-glass: var(--cream); }
.career .eyebrow-label, .career .lede, .career .body-lg { color: #B8B2A8; }
.career .display { color: inherit; }
.gold-text {
  background: linear-gradient(90deg,#FFB627,#FFE2A0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.career .btn { flex: 0 1 200px; padding: 16px 28px; }

.window {
  position: relative; margin-top: clamp(56px,8vw,96px); border-radius: 18px;
  border: 1px solid #2C2A27; background: #141312; overflow: hidden;
}
.window-bar { height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid #2C2A27; }
.dot { width: 11px; height: 11px; border-radius: 50%; }
.window-title { flex: 1; display: flex; justify-content: center; }
.window-title span { background: #1F1E1C; border-radius: 6px; padding: 5px 60px; font: 400 11px/1 'Figtree'; color: #8C867D; white-space: nowrap; }
.window-shot { aspect-ratio: 16/9; position: relative; }
.window-shot img { width: 100%; height: 100%; object-fit: cover; }
.window-fade {
  position: absolute; left: 0; right: 0; bottom: 0; height: 14%; pointer-events: none;
  background: linear-gradient(180deg,rgba(23,20,16,0),rgba(28,24,18,.55));
}

.tracks-head { display: flex; flex-direction: column; gap: 14px; max-width: 640px; margin-top: clamp(56px,8vw,88px); }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,280px),1fr)); gap: 24px; margin-top: 48px; }
.track {
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.07); border-radius: 24px;
  padding: 24px; display: flex; flex-direction: column;
}
.track-kind { font: 500 14px/1 'Figtree'; color: var(--amber); }
.track-title { margin-top: 10px; font: 500 22px/1.2 'Figtree'; letter-spacing: -.02em; }
.track-body { margin-top: 14px; font: 400 16px/1.5 'Figtree'; color: #B8B2A8; text-wrap: pretty; min-height: 72px; }
.track hr { border: 0; height: 1px; background: rgba(255,255,255,.08); margin: 24px 0 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chip {
  display: flex; align-items: center; gap: 7px; background: rgba(255,255,255,.07); border-radius: 999px;
  padding: 5px 11px 5px 5px; font: 500 14px/1 'Figtree'; color: #DCD7CF;
}
.chip b {
  width: 20px; height: 20px; border-radius: 50%; background: var(--amber); color: var(--ink);
  display: grid; place-items: center; font: 700 9px/1 'Figtree';
}

/* ---------- Training ---------- */
.training { background: linear-gradient(180deg,#FFFFFF 0%,#FFFAF0 35%,#FFE8B8 100%); }
.training .wrap { padding-top: clamp(64px,10vw,104px); padding-bottom: clamp(48px,6vw,56px); }
.training .btn { padding: 15px 26px; font-size: 17px; }
.training .btn-amber { flex: 0 1 220px; }
.training .btn-cream { flex: 0 1 200px; }
.vehicles { margin-top: clamp(40px,6vw,64px); width: 100%; max-width: 820px; aspect-ratio: 16/8; }
.vehicles img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }

.rail-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap;
  margin-top: clamp(56px,8vw,88px);
}
.rail-head > div:first-child { display: flex; flex-direction: column; gap: 14px; max-width: 560px; }
.rail-head .h-section { color: var(--text); }
.rail-btns { display: flex; gap: 10px; }
.rail-btns button {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid #EADFC8; cursor: pointer;
  font: 500 16px/1 'Figtree'; background: #FFFFFF; color: var(--text);
}
.rail-btns button.prev { background: rgba(255,255,255,.7); color: var(--muted); }
.rail-btns button:hover { background: #fff; }
.rail {
  display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 36px -24px 0; padding: 4px 24px 24px; scrollbar-width: none;
  list-style: none;
}
.rail::-webkit-scrollbar { display: none; }
.sim {
  flex: 0 0 min(82%,340px); scroll-snap-align: start;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.9); border-radius: 28px;
  padding: 12px 12px 28px; display: flex; flex-direction: column;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.sim-img { aspect-ratio: 4/3; border-radius: 18px; overflow: hidden; background: #FFF7E6; }
.sim-img img { width: 100%; height: 100%; object-fit: cover; }
.sim-text { padding: 22px 20px 0; display: flex; flex-direction: column; gap: 8px; }
.sim-tag { font: 500 14px/1 'Figtree'; color: #A06B00; }
.sim-title { font: 500 24px/1.15 'Figtree'; letter-spacing: -.025em; color: var(--ink); }
.sim-body { font: 400 16px/1.5 'Figtree'; color: var(--muted-2); text-wrap: pretty; }

/* ---------- Features ---------- */
.features { background: linear-gradient(180deg,#FFFFFF 0%,#FFFCF6 30%,#FFEDC6 100%); overflow: visible; }
.features .wrap { padding-top: clamp(64px,10vw,112px); padding-bottom: clamp(56px,7vw,80px); }
.wordmark { font: 700 19px/1 'Figtree'; letter-spacing: -.03em; color: var(--amber-deep); margin-bottom: 20px; }
.features .lede { max-width: 30em; }
.features .grid-3 { margin-top: clamp(48px,7vw,80px); }
.feature {
  background: #FFFFFF; border: 1px solid #F0EBE2; border-radius: 24px;
  padding: 32px 32px 36px; display: flex; flex-direction: column;
}
.feature svg { width: 30px; height: 30px; color: var(--amber-deep); }
.feature-title { margin-top: 28px; font: 500 22px/1.2 'Figtree'; letter-spacing: -.02em; color: var(--ink); }
.feature-body { margin-top: 8px; font: 400 16px/1.5 'Figtree'; color: var(--muted); text-wrap: pretty; }
.features .rule { background: #EADFC8; margin: clamp(56px,7vw,72px) 48px; }
.features h3 { font: 500 clamp(34px,3.8vw,44px)/1.1 'Figtree'; letter-spacing: -.035em; color: var(--text); text-wrap: balance; }
.features h3 + .body-lg { margin-top: 16px; }

.platform {
  margin-top: 48px; background: #FFFFFF; border: 1px solid #F0EBE2; border-radius: 28px;
  padding: clamp(24px,3vw,32px); display: grid; gap: 32px; align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(min(100%,340px),1fr));
}
.platform ul { list-style: none; margin: 0; padding: 0; }
.platform li { display: flex; flex-direction: column; gap: 4px; padding: 16px 0; }
.platform li + li { border-top: 1px solid var(--line); }
.platform-title { font: 500 18px/1.3 'Figtree'; color: var(--ink); }
.platform-body { font: 400 15px/1.4 'Figtree'; color: var(--muted-2); }
.phones { display: flex; gap: 12px; align-items: center; padding: 8px; }
.phone {
  flex: 1 1 0; min-width: 0; aspect-ratio: 898/1756; border-radius: 20px; border: 5px solid #2B2926;
  overflow: hidden; background: #F6F3EE; box-shadow: 0 16px 32px rgba(90,60,0,.12);
}
.phone.big { flex-grow: 1.15; }
.phone img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq {
  max-width: 1040px; margin: 0 auto; padding: clamp(72px,10vw,120px) 24px clamp(56px,7vw,88px);
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,300px),1fr)); gap: 24px 64px;
}
.faq h2 { font: 600 clamp(36px,3.6vw,44px)/1.1 'Figtree'; letter-spacing: -.035em; color: var(--ink); }
.faq-list { grid-column: span 2; min-width: 0; display: flex; flex-direction: column; }
@media (max-width: 711px) { .faq-list { grid-column: auto; } }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; padding: 24px 0; display: flex; justify-content: space-between; align-items: center;
  gap: 20px; cursor: pointer; font: 500 18px/1.35 'Figtree'; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; flex: none; font: 300 28px/1 'Figtree'; color: var(--amber-deep); }
.faq details[open] summary::after { content: '\2212'; }
.faq details p { margin: -6px 0 24px; max-width: 36em; font: 400 16px/1.6 'Figtree'; color: var(--muted); text-wrap: pretty; }

/* ---------- Closing CTA ---------- */
.closing { max-width: 1040px; margin: 0 auto; padding: 0 24px; }
.closing > div {
  border: 1px solid var(--line); border-radius: 40px; padding: clamp(40px,6vw,64px) 24px; gap: 10px;
}
.closing .signup-form input { border: 0; }

/* ---------- Footer ---------- */
.site-footer { margin: 56px var(--gutter) 0; border-radius: 40px; background: linear-gradient(180deg,#FFFFFF 0%,#FFF6E2 100%); }
.site-footer .wrap { padding-top: clamp(48px,6vw,72px); padding-bottom: 48px; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%,180px),1fr)); gap: 40px 32px; }
.footer-cols div { display: flex; flex-direction: column; gap: 16px; }
.footer-cols h4 { margin: 0; font: 500 15px/1 'Figtree'; color: #C98A00; }
.footer-cols a { font: 400 15px/1 'Figtree'; color: #5E5A53; }
.footer-cols a:hover { color: var(--ink); }
.footer-base { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 64px; }
.footer-base .logo { gap: 10px; }
.footer-base .logo-mark { width: 34px; height: 34px; border-radius: 10px; }
.footer-base .logo-word { font-size: 26px; letter-spacing: -.035em; color: var(--amber-deep); }
.footer-tag { font: 400 15px/1 'Figtree'; color: var(--muted-2); }
.disclaimer { margin-top: 40px; max-width: 820px; font: 400 13px/1.55 'Figtree'; color: var(--faint); text-wrap: pretty; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* =========================================================
   Motion (Aave-style: soft fade-up + scale + blur, expo-out)
   ========================================================= */
:root {
  --ease-out-expo: cubic-bezier(.19, 1, .22, 1);
  --ease-in-out: cubic-bezier(.645, .045, .355, 1);
  --reveal-dur: 1.2s;
  --stagger: 80ms;
}

/* Hidden start states only apply when JS is running and motion is allowed */
@media (prefers-reduced-motion: no-preference) {
  /* Page-load sequence (hero) */
  .js [data-load],
  .js [data-split] .word > span {
    opacity: 0;
    transform: translateY(24px) scale(.975);
    filter: blur(6px);
    animation: load-in var(--reveal-dur) var(--ease-out-expo) forwards;
    animation-delay: calc(var(--d, 0) * var(--stagger) + 100ms);
  }
  .js [data-load="rise"] {
    transform: translateY(80px) scale(.94);
    filter: none;
    animation-duration: 1.6s;
  }
  @keyframes load-in { to { opacity: 1; transform: none; filter: blur(0); } }

  .js [data-split]:not(.split) { opacity: 0; }
  [data-split] .word { display: inline-block; overflow: clip; overflow-clip-margin: .2em; vertical-align: top; }
  [data-split] .word > span { display: inline-block; }

  /* Scroll reveals */
  .js [data-reveal],
  .js [data-stagger] > * {
    opacity: 0;
    transform: translateY(32px) scale(.975);
    filter: blur(4px);
    transition:
      opacity var(--reveal-dur) var(--ease-out-expo),
      transform var(--reveal-dur) var(--ease-out-expo),
      filter calc(var(--reveal-dur) * .6) var(--ease-out-expo),
      box-shadow .6s var(--ease-out-expo),
      border-color .6s var(--ease-out-expo);
    transition-delay: calc(var(--i, 0) * var(--stagger));
  }
  .js [data-reveal="zoom"] {
    transform: translateY(60px) scale(.92);
    filter: none;
    transition-duration: 1.6s;
  }
  .js .in-view[data-reveal],
  .js .in-view[data-stagger] > * {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
  /* once revealed, let hover transitions take over without the stagger delay */
  .js .revealed[data-stagger] > *,
  .js .revealed[data-reveal] { transition-delay: 0s; }

  /* Hero image: gentle parallax drift while scrolling (scroll-driven, progressive) */
  @supports (animation-timeline: scroll()) {
    .hero-img img {
      animation: hero-drift linear both;
      animation-timeline: scroll(root);
      animation-range: 0 100vh;
    }
    @keyframes hero-drift { to { transform: translateY(-6%) scale(1.03); } }
  }
}

/* Rolling digit counters */
.stat-value .roll { display: inline-flex; overflow: hidden; height: 1em; line-height: 1; }
.stat-value .roll-col { display: flex; flex-direction: column; }
.stat-value .roll-col span { height: 1em; }
.stat-value .roll-col {
  transform: translateY(calc(var(--n, 0) * -1em));
  transition: transform 1.8s var(--ease-out-expo);
  transition-delay: calc(var(--c, 0) * 120ms + 200ms);
}

/* Infinite marquee */
.marquee {
  margin-top: 36px; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track { display: flex; gap: 10px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee .chip { background: #FFF7E6; color: #6B4600; padding: 7px 14px 7px 7px; font-size: 15px; }
.marquee .chip b { width: 24px; height: 24px; font-size: 10px; }
@keyframes marquee { to { transform: translateX(calc(-50% - 5px)); } }

/* Hover: shine sweep on primary buttons, springy lift on cards */
.btn, .nav-cta, .signup-form button {
  position: relative; overflow: hidden; isolation: isolate;
  transition: background-color .25s var(--ease-out-expo), transform .5s var(--ease-out-expo), box-shadow .5s var(--ease-out-expo);
}
.btn::after, .signup-form button::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,.55) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn:hover::after, .signup-form button:hover::after { transform: translateX(120%); transition: transform .9s var(--ease-out-expo); }
.btn:hover, .signup-form button:hover { transform: translateY(-2px); }
.btn:active, .signup-form button:active { transform: translateY(0) scale(.98); transition-duration: .12s; }
.btn-amber:hover, .signup-form button.amber:hover { box-shadow: 0 10px 28px -10px rgba(224,154,0,.6); }

.track, .feature, .sim, .phone {
  transition-property: opacity, transform, filter, box-shadow, border-color;
}
@media (hover: hover) {
  .revealed .feature:hover, .revealed .sim:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px -24px rgba(90,60,0,.25);
    transition-duration: .6s;
  }
  .revealed .track:hover { transform: translateY(-6px); border-color: rgba(255,182,39,.35); transition-duration: .6s; }
  .feature svg { transition: transform .6s var(--ease-out-expo); }
  .feature:hover svg { transform: scale(1.15) rotate(-6deg); }
  .sim-img img, .window-shot img { transition: transform 1.2s var(--ease-out-expo); }
  .sim:hover .sim-img img { transform: scale(1.05); }
}

/* FAQ answer fade-in */
@media (prefers-reduced-motion: no-preference) {
  .faq details[open] p { animation: faq-open .6s var(--ease-out-expo); }
  @keyframes faq-open { from { opacity: 0; transform: translateY(-6px); } }
  .faq summary::after { transition: transform .5s var(--ease-out-expo); }
  .faq details[open] summary::after { transform: rotate(180deg); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track > :nth-child(n+9) { display: none; }
  .stat-value .roll-col { transition: none; }
}
