:root {
  --bg: #090a0d;
  --surface: #111319;
  --surface-soft: #171920;
  --line: rgba(255,255,255,.12);
  --text: #f7f7f3;
  --muted: #9a9da7;
  --accent: #ff453a;
  --accent-ink: #090a0d;
  --page-width: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.shell { width: min(calc(100% - 48px), var(--page-width)); margin: 0 auto; }

.site-nav {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 74px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand, .nav-back { display: inline-flex; align-items: center; text-decoration: none; }
.brand { gap: 12px; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.nav-back { gap: 8px; color: var(--muted); font-size: 13px; }
.nav-back:hover { color: var(--text); }

.hero {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  opacity: .22;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-grid {
  position: relative;
  display: grid;
  min-height: 686px;
  grid-template-columns: minmax(0, 1.05fr) minmax(420px, .95fr);
  align-items: center;
  gap: 70px;
  padding: 76px 0 88px;
}
.eyebrow { margin: 0 0 20px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.hero h1 { max-width: 760px; margin: 0; font-size: clamp(58px, 7.8vw, 114px); letter-spacing: -.075em; line-height: .9; }
.hero .lead { max-width: 640px; margin: 32px 0 0; color: #c5c7ce; font-size: clamp(18px, 2vw, 24px); line-height: 1.6; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 38px; }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  text-decoration: none;
  font-size: 14px;
  font-weight: 750;
}
.button.primary { border-color: var(--accent); color: var(--accent-ink); background: var(--accent); }
.button:hover { transform: translateY(-2px); }
.button { transition: transform .2s ease; }
.button small { display: block; font-size: 9px; font-weight: 700; letter-spacing: .08em; opacity: .62; text-transform: uppercase; }
.invite-note { max-width: 340px; margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.6; }

.app-stage { position: relative; min-height: 540px; }
.app-icon {
  position: absolute;
  top: 28px;
  right: 8%;
  z-index: 3;
  width: clamp(150px, 19vw, 232px);
  border-radius: 24%;
  box-shadow: 0 34px 80px rgba(0,0,0,.48);
}
.device {
  position: absolute;
  right: 16%;
  bottom: 0;
  width: min(310px, 66%);
  aspect-ratio: 9 / 18.6;
  overflow: hidden;
  border: 7px solid #272a31;
  border-radius: 54px;
  background: #050608;
  box-shadow: 0 48px 100px rgba(0,0,0,.48);
}
.device::before { position: absolute; top: 12px; left: 50%; z-index: 2; width: 34%; height: 24px; border-radius: 20px; background: #050608; content: ""; transform: translateX(-50%); }
.app-stage.authentic { min-height: 600px; }
.real-device {
  right: 12%;
  width: min(330px, 72%);
  border-color: #2c2f36;
  background: #000;
}
.real-device::before { display: none; }
.real-device img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.camera-ui { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: space-between; padding: 52px 22px 26px; background: radial-gradient(circle at 64% 28%, rgba(255,255,255,.13), transparent 28%), linear-gradient(152deg,#282b32,#08090c 65%); }
.camera-status, .camera-readout { display: flex; align-items: center; justify-content: space-between; color: #d5d7dc; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.record-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 20px var(--accent); }
.reticle { position: absolute; top: 44%; left: 50%; width: 98px; height: 98px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; transform: translate(-50%,-50%); }
.reticle::before, .reticle::after { position: absolute; top: 50%; left: 50%; background: rgba(255,255,255,.4); content: ""; transform: translate(-50%,-50%); }
.reticle::before { width: 120px; height: 1px; }
.reticle::after { width: 1px; height: 120px; }
.record-control { width: 74px; height: 74px; margin: 20px auto 0; border: 4px solid #fff; border-radius: 50%; box-shadow: inset 0 0 0 7px #090a0d; background: var(--accent); }

.section { padding: 116px 0; border-bottom: 1px solid var(--line); }
.section-head { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; align-items: start; margin-bottom: 70px; }
.section-kicker { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.section h2 { max-width: 800px; margin: 0; font-size: clamp(42px, 6vw, 80px); letter-spacing: -.06em; line-height: 1; }
.section-intro { max-width: 720px; margin: 24px 0 0; color: var(--muted); font-size: 18px; line-height: 1.7; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.feature { min-height: 280px; padding: 30px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-num { color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .12em; }
.feature h3 { max-width: 330px; margin: 70px 0 14px; font-size: 28px; letter-spacing: -.04em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }

.data-strip { border-bottom: 1px solid var(--line); }
.data-strip div {
  display: grid;
  width: min(calc(100% - 48px), var(--page-width));
  margin: 0 auto;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.data-strip span { display: flex; min-height: 82px; flex-direction: column; justify-content: center; gap: 5px; padding: 14px 18px; border-left: 1px solid var(--line); }
.data-strip span:last-child { border-right: 1px solid var(--line); }
.data-strip b { color: var(--text); }

.product-ui { padding: 116px 0 128px; border-bottom: 1px solid var(--line); }
.ui-heading { display: grid; grid-template-columns: .55fr 1.45fr; gap: 56px; align-items: start; margin-bottom: 72px; }
.ui-heading > p { margin: 7px 0 0; color: var(--accent); font-size: 11px; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.ui-heading h2 { max-width: 880px; margin: 0; font-size: clamp(48px, 6.6vw, 92px); letter-spacing: -.065em; line-height: .96; }
.ui-heading div > p { max-width: 680px; margin: 26px 0 0; color: var(--muted); font-size: 17px; line-height: 1.7; }
.screen-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 64px; align-items: start; }
.screen-card { margin: 0; }
.screen-card.offset { margin-top: 132px; }
.screen-card > div { overflow: hidden; width: min(100%, 460px); margin: 0 auto; border: 1px solid var(--line); border-radius: 48px; background: #000; box-shadow: 0 36px 100px rgba(0,0,0,.3); }
.screen-card img { display: block; width: 100%; height: auto; }
.screen-card figcaption { display: flex; width: min(100%, 460px); justify-content: space-between; gap: 30px; margin: 22px auto 0; }
.screen-card figcaption b { color: var(--accent); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.screen-card figcaption span { max-width: 280px; color: var(--muted); font-size: 12px; line-height: 1.65; text-align: right; }

.principle { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.principle-card { min-height: 430px; padding: 48px; border-radius: 30px; background: var(--surface); }
.principle-card.accent { color: var(--accent-ink); background: var(--accent); }
.principle-card .label { font-size: 11px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; opacity: .65; }
.principle-card blockquote { max-width: 520px; margin: 100px 0 0; font-size: clamp(30px, 4vw, 52px); font-weight: 800; letter-spacing: -.05em; line-height: 1.08; }

.testflight { padding: 112px 0 128px; text-align: center; }
.testflight-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 24px; color: var(--accent); font-size: 12px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.testflight-badge::before { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); content: ""; }
.testflight h2 { max-width: 900px; margin: 0 auto; font-size: clamp(46px, 7vw, 92px); letter-spacing: -.065em; line-height: .98; }
.testflight p { max-width: 620px; margin: 28px auto 36px; color: var(--muted); font-size: 16px; line-height: 1.7; }
.legal-links { display: flex; justify-content: center; gap: 22px; margin-top: 30px; color: var(--muted); font-size: 12px; }

.site-footer { display: flex; min-height: 100px; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; }
.site-footer strong { color: var(--text); letter-spacing: .12em; }

body.ride { --bg: #0b0c0e; --surface: #141619; --surface-soft: #1d2023; --accent: #c7ff42; --accent-ink: #0b0c0e; }
.ride .hero::after { position: absolute; right: -10vw; bottom: 3%; width: 58vw; height: 58vw; border: 1px solid rgba(199,255,66,.16); border-radius: 50%; content: ""; }
.ride .camera-ui { background: radial-gradient(circle at 50% 30%, rgba(199,255,66,.16), transparent 26%), linear-gradient(160deg,#24282b,#070809 66%); }
.route-line { position: absolute; inset: 24% 12% 26%; border: 3px solid transparent; border-left-color: var(--accent); border-bottom-color: var(--accent); border-radius: 44% 0 52% 28%; opacity: .86; transform: rotate(-13deg); }
.route-line::after { position: absolute; right: -8px; bottom: -8px; width: 14px; height: 14px; border: 3px solid #0b0c0e; border-radius: 50%; background: var(--accent); content: ""; }
.ride .record-control { display: flex; align-items: center; justify-content: center; border-color: var(--accent); color: var(--accent); background: transparent; font-size: 20px; font-weight: 900; }

@media (max-width: 900px) {
  .hero-grid { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .app-stage { min-height: 560px; }
  .section-head { grid-template-columns: 1fr; gap: 18px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .principle { grid-template-columns: 1fr; }
  .data-strip div { grid-template-columns: repeat(3, 1fr); }
  .data-strip span:nth-child(3) { border-right: 1px solid var(--line); }
  .data-strip span:nth-child(n+4) { border-top: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .shell { width: min(calc(100% - 28px), var(--page-width)); }
  .site-nav { min-height: 64px; }
  .brand span { display: none; }
  .hero { min-height: auto; }
  .hero-grid { gap: 30px; padding: 58px 0 70px; }
  .hero h1 { font-size: clamp(52px, 17vw, 76px); }
  .hero .lead { font-size: 17px; }
  .app-stage { min-height: 470px; }
  .app-icon { top: 22px; right: 1%; width: 146px; }
  .device { right: 20%; width: 240px; border-radius: 44px; }
  .app-stage.authentic { min-height: 510px; }
  .real-device { right: 13%; width: 270px; }
  .data-strip div { width: min(calc(100% - 28px), var(--page-width)); grid-template-columns: repeat(2, 1fr); }
  .data-strip span { min-height: 74px; padding: 12px 14px; }
  .data-strip span:nth-child(2n) { border-right: 1px solid var(--line); }
  .data-strip span:nth-child(n+3) { border-top: 1px solid var(--line); }
  .product-ui { padding: 82px 0 92px; }
  .ui-heading { grid-template-columns: 1fr; gap: 18px; margin-bottom: 46px; }
  .screen-grid { grid-template-columns: 1fr; gap: 54px; }
  .screen-card.offset { margin-top: 0; }
  .screen-card > div { width: min(100%, 390px); border-radius: 38px; }
  .section { padding: 82px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: 240px; }
  .feature h3 { margin-top: 48px; }
  .principle-card { min-height: 350px; padding: 32px 26px; }
  .principle-card blockquote { margin-top: 76px; }
  .testflight { padding: 88px 0 100px; }
  .site-footer { align-items: flex-start; flex-direction: column; justify-content: center; gap: 10px; }
}

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