/* TLS drivers landing v3 — dark, cinematic. Reference: higgsfield.ai (near-black surfaces, media-first, one hot accent; app section = sticky phone whose screen follows the feature in view).
   Accent = TLS teal #48bea6 from the logo, used only for actions. Display + text: Geist. */
:root {
  --bg: #0b0e12;
  --bg-2: #0f1319;
  --surface: #14181f;
  --surface-2: #1b2129;
  --ink: #f3f4f6;
  --ink-2: rgba(243, 244, 246, .7);   /* ~9:1 on --bg */
  --ink-3: rgba(243, 244, 246, .5);   /* ~5.6:1 on --bg */
  --line: rgba(255, 255, 255, .1);
  --line-2: rgba(255, 255, 255, .16);
  --accent: #48bea6;                  /* dark text on it: ~8:1 */
  --accent-h: #5ed2ba;
  --accent-ink: #07110e;
  --link: #6fd4e8;                    /* ~9:1 on --bg */
  --danger: #ff7a8a;
  --font: "Geist", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --wrap: 1180px;
  --r: 22px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; background: var(--bg); color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 17px/1.55 var(--font); -webkit-font-smoothing: antialiased; letter-spacing: -.011em; }
::selection { background: rgba(72, 190, 166, .4); color: #fff; }
img, svg, video { display: block; }
a { color: var(--link); text-decoration: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
.wrap { width: min(var(--wrap), 100% - 44px); margin-inline: auto; }

/* ---------- pills & links ---------- */
.pill {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink); font: 600 15px/1 var(--font); letter-spacing: -.01em;
  height: 42px; padding: 0 20px; border-radius: 999px; transition: background .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease);
}
.pill:hover { background: var(--accent-h); box-shadow: 0 0 0 6px rgba(72, 190, 166, .14); }
.pill:active { transform: scale(.98); }
.pill[disabled] { opacity: .55; cursor: progress; }
.pill-sm { height: 32px; padding: 0 14px; font-size: 13px; }
.pill-lg { height: 54px; padding: 0 28px; font-size: 17px; }
.pill-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.pill-ghost:hover { background: rgba(255, 255, 255, .06); box-shadow: inset 0 0 0 1px var(--line-2); }
.link { font-weight: 500; }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(11, 14, 18, .62); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-bottom: 1px solid var(--line); }
.nav-in { height: 56px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 600; font-size: 15px; letter-spacing: -.015em; }
.brand img { border-radius: 50%; }
.nav-actions { display: flex; align-items: center; gap: 20px; }
.nav-call { color: var(--ink-2); font-size: 14px; font-variant-numeric: tabular-nums; }
.nav-call:hover { color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(calc(100svh - 56px), 860px); display: flex; align-items: center; padding: 72px 0 56px; isolation: isolate; color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: #2a2f36 url(img/road-poster.jpg) center / cover; }
.hero-media video { width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(0deg, var(--bg) 0%, rgba(11, 14, 18, .55) 30%, rgba(11, 14, 18, .15) 60%, rgba(11, 14, 18, .35) 100%),
  linear-gradient(90deg, rgba(11, 14, 18, .5), rgba(11, 14, 18, 0) 55%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: end; }
.hero-copy { padding-bottom: 10px; }
.kicker { margin: 0 0 16px; font-size: 13px; font-weight: 600; color: var(--accent); letter-spacing: .08em; text-transform: uppercase; }
h1 { margin: 0; font-size: clamp(60px, 8.6vw, 116px); line-height: .94; font-weight: 600; letter-spacing: -.055em; text-wrap: balance; }
.lede { margin: 24px 0 0; max-width: 28ch; font-size: clamp(19px, 1.7vw, 24px); line-height: 1.35; color: rgba(255, 255, 255, .78); letter-spacing: -.02em; }
.hero-proof { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }
.hero-proof span { font-size: 13px; font-weight: 500; color: rgba(255, 255, 255, .85); padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }

/* ---------- form ---------- */
.apply, .done {
  background: rgba(17, 21, 27, .82); color: var(--ink); border-radius: 26px; padding: 28px 26px 22px;
  border: 1px solid var(--line-2); backdrop-filter: saturate(140%) blur(22px); -webkit-backdrop-filter: saturate(140%) blur(22px);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}
.apply h2, .done h2 { margin: 0 0 18px; font-size: 24px; font-weight: 600; letter-spacing: -.03em; }
.field { display: block; border: 0; padding: 0; margin: 0 0 12px; min-width: 0; }
.field > span, .field legend { display: block; font-size: 13px; font-weight: 500; color: var(--ink-2); margin-bottom: 6px; padding: 0; }
.field em { font-style: normal; color: var(--ink-3); font-weight: 400; }
.field input {
  width: 100%; height: 48px; padding: 0 14px; font: 400 17px var(--font); color: var(--ink); letter-spacing: -.01em;
  background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s, background .15s, box-shadow .15s;
}
.field input::placeholder { color: rgba(243, 244, 246, .35); }
.field input:focus { outline: none; background: rgba(255, 255, 255, .08); border-color: var(--accent); box-shadow: 0 0 0 4px rgba(72, 190, 166, .18); }
.field[data-invalid] input { border-color: var(--danger); }
.field[data-invalid] .seg { box-shadow: inset 0 0 0 1px var(--danger); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; background: rgba(255, 255, 255, .06); border: 1px solid var(--line); border-radius: 12px; }
.seg label { position: relative; }
.seg input { position: absolute; inset: 0; opacity: 0; margin: 0; }
.seg span { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 9px; font-size: 14px; font-weight: 500; text-align: center; line-height: 1.1; cursor: pointer; color: var(--ink-2); transition: background .2s var(--ease), color .2s, box-shadow .2s; }
.seg label:hover span { color: var(--ink); }
.seg input:checked + span { background: rgba(255, 255, 255, .14); color: var(--ink); box-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.seg input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 1px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.apply .pill-lg { width: 100%; margin-top: 8px; }
.status { margin: 10px 0 0; font-size: 14px; font-weight: 500; color: var(--danger); }
.status:empty { display: none; }
.consent { margin: 14px 0 0; font-size: 11.5px; line-height: 1.5; color: var(--ink-3); }
.done:focus { outline: none; }
.done-check { width: 48px; height: 48px; margin-bottom: 16px; }
.done-check circle { fill: var(--accent); }
.done-check path { fill: none; stroke: var(--accent-ink); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.done p { margin: 0; color: var(--ink-2); }
.done-links { display: flex; align-items: center; gap: 18px; margin-top: 22px; flex-wrap: wrap; }

/* ---------- statement (words light up on scroll) ---------- */
.statement { padding: 150px 0 140px; }
.lit { margin: 0; max-width: 21ch; font-size: clamp(36px, 5.6vw, 76px); line-height: 1.04; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.lit .w { color: rgba(243, 244, 246, .22); transition: color .35s var(--ease); }
.lit .w.on { color: var(--ink); }

/* ---------- section type ---------- */
.h2 { margin: 0; font-size: clamp(36px, 4.8vw, 64px); line-height: 1.02; font-weight: 600; letter-spacing: -.045em; text-wrap: balance; }
.sub { margin: 16px 0 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.45; color: var(--ink-2); max-width: 42ch; letter-spacing: -.015em; }
.sec-head { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.sec-head .sub { margin-top: 0; }

/* ---------- lineup ---------- */
.lineup { padding: 20px 0 140px; }
.lineup-row { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 44px); margin: 72px 0 0; padding-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.veh { margin: 0; flex: var(--len) 1 0; min-width: 0; position: relative; }
.veh img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
.veh figcaption { margin-top: 26px; font-size: 16px; display: flex; gap: 10px; align-items: baseline; }
.veh figcaption b { font-weight: 600; }
.veh figcaption span { color: var(--ink-3); font-size: 14px; }
.lineup-foot { margin: 18px 0 0; font-size: 14px; color: var(--ink-3); }

/* ---------- app (sticky phone, screens swap on scroll) ---------- */
.app { padding: 140px 0 120px; background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stage { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: start; margin-top: 40px; }
.stage-phone { position: sticky; top: calc(50vh - 330px); height: 660px; display: grid; place-items: center; }
.stage-glow { position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(72, 190, 166, .28), rgba(72, 190, 166, 0) 65%); filter: blur(10px); pointer-events: none; }
.phone-big { position: relative; width: 300px; aspect-ratio: 9 / 19.2; border-radius: 48px; background: #0a0d11; padding: 10px; box-shadow: 0 60px 120px -40px rgba(0, 0, 0, .9), inset 0 0 0 1.5px rgba(255, 255, 255, .2); }
.phone-big img { position: absolute; inset: 10px; width: calc(100% - 20px); height: calc(100% - 20px); object-fit: cover; object-position: top; border-radius: 39px; opacity: 0; transform: scale(1.02); transition: opacity .5s var(--ease), transform .5s var(--ease); }
.phone-big img.on { opacity: 1; transform: none; }
.feat { list-style: none; margin: 0; padding: 0; }
.feat li { min-height: 68vh; display: flex; flex-direction: column; justify-content: center; padding: 20px 0; opacity: .32; transition: opacity .4s var(--ease); }
.feat li.on { opacity: 1; }
.feat li:first-child { min-height: 60vh; }
.feat li:last-child { min-height: 50vh; }
.feat-k { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.feat h3 { margin: 0; font-size: clamp(30px, 3.4vw, 46px); line-height: 1.06; font-weight: 600; letter-spacing: -.04em; text-wrap: balance; }
.feat p { margin: 16px 0 0; font-size: 19px; line-height: 1.5; color: var(--ink-2); max-width: 36ch; }
.stage-foot { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 24px; padding-top: 40px; border-top: 1px solid var(--line); }
.store-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 16px 10px 13px; border-radius: 13px;
  background: var(--ink); color: #0b0e12; text-decoration: none; line-height: 1.05; transition: transform .2s var(--ease), background .2s var(--ease);
}
.store-badge:hover { background: #fff; transform: translateY(-1px); }
.store-badge svg { width: 24px; height: 24px; flex: none; }
.store-badge span { display: flex; flex-direction: column; font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.store-badge small { font-size: 11px; font-weight: 500; opacity: .7; letter-spacing: .01em; }
.app-note { margin: 0; font-size: 14px; color: var(--ink-3); }

/* ---------- steps (rail) ---------- */
.steps-sec { padding: 140px 0 120px; }
.steps { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; position: relative; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 15px; height: 1px; background: var(--line-2); }
.steps li { position: relative; padding-top: 44px; }
.steps .n { position: absolute; top: 0; left: 0; display: grid; place-items: center; width: 31px; height: 31px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); color: var(--accent); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 8px; font-size: 22px; font-weight: 600; letter-spacing: -.025em; }
.steps p { margin: 0; color: var(--ink-2); max-width: 32ch; }

/* ---------- specs ---------- */
.specs { padding: 20px 0 150px; }
.spec-list { margin: 48px 0 0; border-top: 1px solid var(--line-2); }
.spec-list > div { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.spec-list dt { font-size: 15px; font-weight: 500; letter-spacing: -.01em; color: var(--ink-3); }
.spec-list dd { margin: 0; font-size: 20px; line-height: 1.4; color: var(--ink); letter-spacing: -.02em; }
.tbc { color: var(--ink-3); font-style: italic; }

/* ---------- last ---------- */
.last { position: relative; padding: 150px 0; text-align: center; overflow: hidden; isolation: isolate; }
.last::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 70% at 50% 110%, rgba(72, 190, 166, .22), transparent 70%); }
.last-in { display: flex; flex-direction: column; align-items: center; }
.last .h2 { font-size: clamp(44px, 6.6vw, 88px); }
.last-actions { display: flex; align-items: center; gap: 24px; margin-top: 36px; flex-wrap: wrap; justify-content: center; }
.link-quiet { margin-top: 44px; color: var(--ink-3); font-size: 15px; font-weight: 400; }
.link-quiet:hover { color: var(--ink); }

.foot { padding: 28px 0 44px; font-size: 12.5px; color: var(--ink-3); border-top: 1px solid var(--line); }
.foot p { margin: 0 0 6px; }
.foot b { color: var(--ink-2); font-weight: 600; }
.foot a { color: var(--ink-3); }
.foot a:hover { color: var(--ink); text-decoration: underline; }
.foot-note { margin-top: 12px !important; }

.dock { display: none; }

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > *, .hero-form { animation: rise .9s var(--ease) both; }
  .hero-copy > :nth-child(2) { animation-delay: .08s; }
  .hero-copy > :nth-child(3) { animation-delay: .16s; }
  .hero-copy > :nth-child(4) { animation-delay: .24s; }
  .hero-form { animation-delay: .3s; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .lit .w { color: var(--ink); }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; }
  .stage { gap: 40px; }
  .stage-phone { height: 600px; top: calc(50vh - 300px); }
  .phone-big { width: 260px; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav-call { display: none; }
  .hero { display: block; min-height: 0; padding: 0; }
  .hero-media { position: relative; height: 340px; }
  .hero-media::after { background: linear-gradient(180deg, rgba(11, 14, 18, .1) 20%, rgba(11, 14, 18, .35) 60%, var(--bg) 100%); }
  .hero-grid { display: block; width: 100%; }
  .hero-copy { position: absolute; left: 22px; right: 22px; top: 340px; transform: translateY(-100%); padding-bottom: 40px; }
  .hero .kicker { font-size: 12px; margin-bottom: 8px; }
  h1 { font-size: 50px; }
  .lede, .hero-proof { display: none; }
  .hero-form { position: relative; margin: -22px 10px 0; }
  .apply, .done { padding: 22px 18px 18px; border-radius: 22px; background: rgba(17, 21, 27, .96); }
  .apply h2 { font-size: 21px; margin-bottom: 14px; }
  .seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .row-2 { grid-template-columns: 1fr; gap: 0; }
  .statement { padding: 96px 0 84px; }
  .lit { font-size: 36px; }
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .sec-head .sub { margin-top: 12px; }
  .lineup { padding: 0 0 96px; }
  .lineup-row { flex-direction: column; align-items: center; gap: 36px; margin-top: 44px; border: 0; padding-bottom: 0; }
  .veh { flex: none; width: calc(var(--len) / 36 * 100%); }
  .veh figcaption { margin-top: 12px; justify-content: center; }
  .app { padding: 96px 0 80px; }
  .stage { display: block; margin-top: 28px; }
  .stage-phone { position: sticky; top: 56px; z-index: 2; height: 46vh; min-height: 320px; overflow: hidden; align-items: start; padding-top: 14px;
    background: linear-gradient(180deg, var(--bg-2) 80%, rgba(15, 19, 25, 0)); }
  .stage-glow { width: 320px; height: 320px; }
  .phone-big { width: 200px; border-radius: 34px; padding: 7px; }
  .phone-big img { inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 28px; }
  .feat li, .feat li:first-child, .feat li:last-child { min-height: 0; padding: 30px 0 48px; justify-content: flex-start; }
  .feat h3 { font-size: 30px; }
  .feat p { font-size: 17px; }
  .stage-foot { flex-direction: column; align-items: flex-start; gap: 14px; margin-top: 8px; padding-top: 28px; }
  .steps-sec { padding: 96px 0 72px; }
  .steps { grid-template-columns: 1fr; gap: 32px; margin-top: 40px; }
  .steps::before { left: 15px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .steps li { padding: 0 0 0 52px; }
  .steps .n { top: 2px; }
  .specs { padding: 24px 0 96px; }
  .spec-list { margin-top: 32px; }
  .spec-list > div { grid-template-columns: 1fr; gap: 4px; padding: 18px 0; }
  .spec-list dt { font-size: 13px; }
  .spec-list dd { font-size: 18px; }
  .last { padding: 96px 0 110px; }
  .last-actions { flex-direction: column; gap: 16px; }
  .foot { padding-bottom: 110px; }
  .dock {
    display: flex; gap: 8px; position: fixed; z-index: 30; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
    padding: 8px; border-radius: 22px; background: rgba(17, 21, 27, .82); border: 1px solid var(--line-2); backdrop-filter: saturate(160%) blur(20px); -webkit-backdrop-filter: saturate(160%) blur(20px);
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .6);
    transform: translateY(150%); transition: transform .35s var(--ease);
  }
  .dock.on { transform: none; }
  .dock .pill { flex: 1; height: 46px; font-size: 16px; }
  .dock-call { flex: 0 0 46px; display: grid; place-items: center; border-radius: 999px; background: rgba(255, 255, 255, .08); }
  .dock-call svg { width: 19px; height: 19px; fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
}
