:root {
  --canvas: #f7f9fc;
  --surface: #ffffff;
  --elevated: #eef3f9;
  --line: #d4dfea;
  --text: #121a24;
  --muted: #657386;
  --blue: #176bff;
  --blue-dark: #0750ce;
  --orange: #e94727;
  --orange-soft: #fff0ec;
  --violet: #7243ce;
  --aqua: #087e77;
  --success: #137d56;
  --shadow: 0 24px 70px rgba(23, 43, 77, .12);
  --radius: 28px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--canvas); font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 10; opacity: .025; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; display: block; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; padding: 12px 18px; background: var(--text); color: white; border-radius: 12px; }
.skip-link:focus { top: 16px; }

.site-header { height: 78px; padding: 0 clamp(20px, 5vw, 76px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; border-bottom: 1px solid rgba(18,26,36,.1); background: rgba(247,249,252,.86); backdrop-filter: blur(18px); position: sticky; top: 0; z-index: 20; transition: box-shadow .2s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(18,26,36,.08); }
.brand { display: inline-flex; align-items: center; gap: 10px; width: max-content; font-size: 18px; line-height: 1; font-weight: 900; letter-spacing: .2em; }
.brand img { width: 34px; height: 34px; }
.site-header nav { display: flex; gap: clamp(22px, 3vw, 48px); font-size: 13px; font-weight: 800; }
.site-header nav a, footer nav a { position: relative; }
.site-header nav a::after, footer nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -5px; height: 2px; background: var(--blue); transition: right .2s ease; }
.site-header nav a:hover::after, .site-header nav a:focus-visible::after, footer nav a:hover::after, footer nav a:focus-visible::after { right: 0; }
.header-cta { justify-self: end; color: var(--blue); font-size: 13px; font-weight: 900; letter-spacing: .04em; }

.hero { min-height: calc(100vh - 78px); overflow: hidden; position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(380px, .72fr); align-items: center; padding: clamp(70px, 9vw, 140px) clamp(20px, 7vw, 112px) 70px; background: linear-gradient(135deg, #f7f9fc 0%, #f7f9fc 56%, #eaf3ff 100%); }
.route-grid { position: absolute; inset: 0; pointer-events: none; opacity: .48; }
.route-grid::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(23,107,255,.06) 1px, transparent 1px), linear-gradient(90deg, rgba(23,107,255,.06) 1px, transparent 1px); background-size: 76px 76px; mask-image: linear-gradient(90deg, transparent, black 35%, black); }
.route-grid svg { width: 100%; height: 100%; }
.route-grid path { fill: none; stroke: rgba(23,107,255,.12); stroke-width: 34; stroke-linecap: round; }
.route-grid .route-dash { stroke: var(--blue); stroke-width: 5; stroke-dasharray: 4 18; }
.route-grid circle { fill: var(--orange); stroke: white; stroke-width: 8; }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.eyebrow { font-family: ui-monospace, "SFMono-Regular", Menlo, monospace; font-size: 12px; line-height: 1.4; font-weight: 800; letter-spacing: .18em; color: var(--blue); }
.live-dot { display: inline-block; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; margin-right: 8px; box-shadow: 0 0 0 6px rgba(233,71,39,.12); }
h1, h2 { margin: 0; letter-spacing: -.055em; font-weight: 950; line-height: .93; }
h1 { font-size: clamp(62px, 8.3vw, 132px); max-width: 850px; }
h1 span, .closing h2 span { color: var(--blue); }
.hero-lede { max-width: 650px; margin: 34px 0; color: var(--muted); font-family: system-ui, sans-serif; font-size: clamp(17px, 1.5vw, 22px); line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 26px; }
.hero-actions p { margin: 0; font-family: system-ui, sans-serif; font-size: 13px; line-height: 1.4; }
.hero-actions p span { color: var(--muted); }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: center; gap: 34px; padding: 0 24px; border-radius: 16px; font-size: 14px; font-weight: 900; transition: transform .15s ease, background .15s ease, box-shadow .15s ease; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0) scale(.98); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 14px 30px rgba(23,107,255,.22); }
.button-primary:hover { background: var(--blue-dark); box-shadow: 0 18px 36px rgba(23,107,255,.28); }
.hero-device { position: relative; z-index: 2; width: min(390px, 78%); justify-self: center; transform: rotate(2deg); }
.phone-shell { padding: 10px; border: 1px solid rgba(18,26,36,.18); border-radius: 47px; background: #101722; box-shadow: 0 42px 80px rgba(18,26,36,.22), 0 0 0 8px rgba(255,255,255,.66); overflow: hidden; }
.phone-shell img { width: 100%; border-radius: 37px; }
.float-chip { position: absolute; padding: 13px 16px; background: rgba(255,255,255,.93); border: 1px solid rgba(18,26,36,.1); border-radius: 16px; box-shadow: 0 16px 36px rgba(18,26,36,.12); backdrop-filter: blur(12px); font-family: ui-monospace, monospace; font-size: 11px; font-weight: 900; letter-spacing: .08em; white-space: nowrap; }
.chip-route { top: 24%; right: -23%; color: var(--success); }
.chip-route span { display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--success); }
.chip-audio { bottom: 20%; left: -26%; color: var(--orange); }
.chip-audio b { font-size: 18px; }
.hero-index { position: absolute; right: 4vw; bottom: -25px; color: white; font-size: 160px; font-weight: 950; letter-spacing: -.08em; opacity: .7; }

.signal-bar { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(20px, 7vw, 112px); background: var(--text); color: white; }
.signal-bar p { margin: 0; padding: 22px 0; text-align: center; border-right: 1px solid rgba(255,255,255,.14); font-family: ui-monospace, monospace; font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.signal-bar p:first-child { border-left: 1px solid rgba(255,255,255,.14); }
.signal-bar span { color: #72a5ff; margin-right: 10px; }
.section { padding: clamp(90px, 11vw, 170px) clamp(20px, 7vw, 112px); }
.section-heading { max-width: 1000px; margin-bottom: 64px; }
h2 { font-size: clamp(48px, 6.3vw, 98px); }

.planner { background: white; }
.planner-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(390px, .72fr); gap: clamp(32px, 7vw, 110px); align-items: center; }
.planner-controls { display: grid; gap: 18px; }
.step-label { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.step-label span { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: var(--text); color: white; font-family: ui-monospace, monospace; font-size: 12px; }
.step-label p { margin: 0; font-weight: 900; }
.choice-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice-row button { min-height: 62px; border: 1px solid var(--line); border-radius: 16px; background: var(--canvas); cursor: pointer; font-weight: 900; transition: .15s ease; }
.choice-row button:hover { border-color: var(--blue); }
.choice-row button.selected { border-color: var(--blue); color: var(--blue); background: #eaf2ff; box-shadow: inset 0 0 0 1px var(--blue); }
.audio-choices { display: grid; gap: 10px; }
.audio-choices button { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 74px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 18px; background: var(--canvas); cursor: pointer; text-align: left; transition: .15s ease; }
.audio-choices button:hover { transform: translateX(4px); }
.audio-choices button.selected { border-color: var(--orange); background: var(--orange-soft); box-shadow: inset 3px 0 0 var(--orange); }
.audio-choices i, .audio-icon { width: 46px; height: 46px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 14px; background: white; font-size: 24px; font-style: normal; font-weight: 900; }
.audio-choices button span { font-weight: 900; }
.audio-choices small { display: block; color: var(--muted); font-family: system-ui, sans-serif; font-size: 12px; font-weight: 500; margin-top: 3px; }
.match-card { padding: clamp(24px, 3vw, 42px); border: 1px solid var(--line); border-radius: 34px; background: var(--canvas); box-shadow: var(--shadow); }
.match-topline { display: flex; justify-content: space-between; align-items: center; font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.status-pill { padding: 8px 10px; border-radius: 999px; color: var(--success); background: #e8f6f0; }
.match-route, .match-audio { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 30px 0; }
.route-mark { width: 52px; height: 52px; border-radius: 16px; background: #e3edff; display: grid; place-items: center; }
.route-mark::before { content: ""; width: 26px; height: 26px; border: 4px solid var(--blue); border-right-color: transparent; border-radius: 50%; }
.route-mark span { position: absolute; }
.match-route p, .match-audio p { margin: 0 0 5px; color: var(--muted); font-family: system-ui, sans-serif; font-size: 12px; }
.match-route strong, .match-audio strong { font-size: 22px; }
.match-time, .match-audio > span:last-child { font-family: ui-monospace, monospace; font-weight: 900; }
.match-divider { height: 1px; background: var(--line); }
.audio-icon { color: white; background: var(--orange); }
.audio-icon.violet { background: var(--violet); }
.audio-icon.aqua { background: var(--aqua); }
.demo-note { color: var(--muted); font-family: system-ui, sans-serif; font-size: 11px; line-height: 1.5; }

.route-story { display: grid; grid-template-columns: minmax(350px, .85fr) minmax(0, 1fr); gap: clamp(50px, 8vw, 130px); align-items: center; background: #edf4ff; }
.map-card { aspect-ratio: .95; position: relative; overflow: hidden; border: 1px solid #bfd1e6; border-radius: 38px; background: #e7f1e4; box-shadow: var(--shadow); }
.map-card::before { content: ""; position: absolute; inset: 0; opacity: .55; background-image: linear-gradient(28deg, transparent 46%, white 47%, white 51%, transparent 52%), linear-gradient(103deg, transparent 46%, white 47%, white 51%, transparent 52%); background-size: 150px 110px, 180px 140px; }
.map-card svg { position: absolute; inset: 8%; width: 84%; height: 84%; overflow: visible; }
.map-card path { fill: none; stroke: white; stroke-width: 21px; stroke-linecap: round; }
.map-card path + * { stroke: white; }
.map-card path { filter: drop-shadow(0 0 0 var(--blue)); }
.map-card svg::after { content: ""; }
.map-card circle:first-of-type { fill: var(--blue); stroke: white; stroke-width: 7; }
.map-card circle:last-of-type { fill: var(--orange); stroke: white; stroke-width: 7; }
.map-card svg path { stroke: var(--blue); stroke-width: 8; stroke-dasharray: 3 16; }
.map-pin { position: absolute; left: 17%; bottom: 11%; width: 58px; height: 58px; padding: 10px; border-radius: 18px; background: white; box-shadow: 0 10px 24px rgba(18,26,36,.14); }
.map-status { position: absolute; right: 18px; top: 18px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.9); color: var(--success); font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; }
.map-status span { display: inline-block; width: 8px; height: 8px; margin-right: 7px; border-radius: 50%; background: var(--success); }
.route-copy > p:not(.eyebrow), .record-copy > p:not(.eyebrow), .mission-copy > p:not(.eyebrow), .closing > p:not(.eyebrow), .legal-body p, .legal-body li { color: var(--muted); font-family: system-ui, sans-serif; font-size: 17px; line-height: 1.7; }
.route-copy > p:not(.eyebrow) { max-width: 720px; }
.trust-list { list-style: none; padding: 0; margin: 44px 0 0; }
.trust-list li { display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 22px 0; border-top: 1px solid #bfd1e6; }
.trust-list > li > span { font-family: ui-monospace, monospace; font-size: 12px; font-weight: 900; color: var(--blue); }
.trust-list strong { font-size: 18px; }
.trust-list p { margin: 5px 0 0; color: var(--muted); font-family: system-ui, sans-serif; line-height: 1.5; }

.record { min-height: 900px; display: grid; grid-template-columns: 1fr minmax(340px, .72fr); align-items: center; gap: clamp(40px, 8vw, 120px); overflow: hidden; background: var(--text); color: white; }
.record .eyebrow { color: #72a5ff; }
.record-copy > p:not(.eyebrow) { color: #aab6c5; max-width: 670px; }
.record-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 50px; border-top: 1px solid #334150; border-bottom: 1px solid #334150; }
.record-metrics div { padding: 24px 18px 24px 0; border-right: 1px solid #334150; }
.record-metrics div:last-child { border-right: 0; padding-left: 18px; }
.record-metrics span { display: block; color: #7f8da0; font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.record-metrics strong { display: block; margin-top: 12px; font-family: ui-monospace, monospace; font-size: clamp(24px, 3vw, 42px); }
.record-metrics small { font-size: .45em; color: #72a5ff; }
.record-device { width: min(390px, 90%); justify-self: center; transform: rotate(-3deg) translateY(110px); }
.phone-secondary { box-shadow: 0 40px 90px rgba(0,0,0,.45), 0 0 0 8px rgba(255,255,255,.08); }

.missions { display: grid; grid-template-columns: .72fr 1.15fr .72fr; gap: clamp(20px, 4vw, 58px); align-items: center; background: #fff; }
.mission-copy { text-align: center; }
.mission-copy h2 { font-size: clamp(42px, 5vw, 76px); }
.mission-copy > p:not(.eyebrow) { max-width: 620px; margin-inline: auto; }
.mission-card { min-height: 330px; display: flex; flex-direction: column; padding: 28px; border-radius: 30px; color: white; box-shadow: var(--shadow); transform: rotate(-3deg); }
.mission-card p, .mission-card span { font-family: ui-monospace, monospace; font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.mission-card strong { margin: auto 0; font-size: clamp(25px, 2.7vw, 40px); line-height: 1.05; }
.mission-card div { height: 8px; border-radius: 999px; background: rgba(255,255,255,.25); overflow: hidden; margin-top: 12px; }
.mission-card i { display: block; width: var(--p); height: 100%; border-radius: inherit; background: white; }
.mission-blue { background: var(--blue); }
.mission-orange { background: var(--orange); transform: rotate(3deg); }

.closing { text-align: center; background: linear-gradient(180deg, #edf4ff, var(--canvas)); }
.closing > img { margin: 0 auto 26px; }
.closing h2 { font-size: clamp(58px, 8vw, 120px); }
.closing > p:not(.eyebrow) { margin: 30px auto; max-width: 570px; }

footer { display: grid; grid-template-columns: 1.2fr 1fr auto; gap: 28px; align-items: center; padding: 46px clamp(20px, 7vw, 112px); border-top: 1px solid var(--line); background: white; font-family: system-ui, sans-serif; font-size: 12px; }
.footer-brand { font-family: ui-rounded, system-ui, sans-serif; }
footer > p { color: var(--muted); }
footer nav { display: flex; gap: 24px; font-weight: 700; }
.copyright { grid-column: 1 / -1; margin: 0; padding-top: 24px; border-top: 1px solid var(--line); }

.legal-hero { padding: clamp(80px, 10vw, 150px) clamp(20px, 14vw, 230px) 70px; background: linear-gradient(135deg, #edf4ff, white); border-bottom: 1px solid var(--line); }
.legal-hero h1 { font-size: clamp(56px, 8vw, 112px); }
.legal-hero .updated { margin-top: 24px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 12px; }
.legal-body { max-width: 900px; margin: 0 auto; padding: 80px 24px 120px; }
.legal-body .summary { padding: 24px 28px; border-left: 4px solid var(--blue); border-radius: 0 18px 18px 0; background: #edf4ff; }
.legal-body h2 { margin: 64px 0 20px; font-size: clamp(28px, 3vw, 40px); letter-spacing: -.03em; line-height: 1.1; }
.legal-body h3 { margin-top: 36px; font-size: 20px; }
.legal-body a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.legal-body li { margin: 10px 0; }
.version-note { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; padding: 14px 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-family: ui-monospace, monospace !important; font-size: 12px !important; }
.legal-version-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.legal-version-card { display: grid; gap: 8px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--text) !important; text-decoration: none !important; transition: transform .16s ease, border-color .16s ease; }
.legal-version-card:hover, .legal-version-card:focus-visible { transform: translateY(-2px); border-color: var(--blue); }
.legal-version-card span { font-size: 20px; font-weight: 800; }
.legal-version-card strong { color: var(--blue); font-family: ui-monospace, monospace; }
.legal-version-card small { color: var(--muted); }
@media (max-width: 640px) { .legal-version-grid { grid-template-columns: 1fr; } }
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 42px 0; }
.support-card { padding: 24px; border: 1px solid var(--line); border-radius: 20px; background: white; }
.support-card strong { display: block; font-size: 19px; }
.support-card p { margin-bottom: 0; font-size: 14px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.hero-device.reveal.visible { transform: rotate(2deg); }
.record-device.reveal.visible { transform: rotate(-3deg) translateY(110px); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; gap: 72px; padding-top: 90px; }
  .hero-copy { max-width: 800px; }
  .hero-device { width: min(360px, 76vw); }
  .planner-grid, .route-story, .record { grid-template-columns: 1fr; }
  .route-visual { width: min(650px, 100%); }
  .record-device { margin-top: 20px; transform: none; }
  .record-device.reveal.visible { transform: none; }
  .missions { grid-template-columns: 1fr 1fr; }
  .mission-copy { grid-column: 1 / -1; grid-row: 1; }
  footer { grid-template-columns: 1fr auto; }
  footer > p:not(.copyright) { display: none; }
}

@media (max-width: 640px) {
  .site-header { height: 68px; padding-inline: 18px; }
  .brand { font-size: 15px; }
  .brand img { width: 30px; height: 30px; }
  .header-cta { font-size: 0; }
  .header-cta span { font-size: 22px; }
  .hero { min-height: auto; padding: 66px 20px 70px; }
  h1 { font-size: clamp(56px, 17vw, 78px); }
  .hero-lede { margin: 26px 0; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-device { width: 78vw; }
  .float-chip { font-size: 9px; padding: 10px; }
  .chip-route { right: -10%; }
  .chip-audio { left: -10%; }
  .signal-bar { grid-template-columns: 1fr; padding-inline: 20px; }
  .signal-bar p, .signal-bar p:first-child { border-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .section { padding: 90px 20px; }
  h2 { font-size: 48px; }
  .section-heading { margin-bottom: 42px; }
  .planner-grid { gap: 44px; }
  .match-card { padding: 22px; }
  .match-route, .match-audio { gap: 10px; }
  .match-route strong, .match-audio strong { font-size: 18px; }
  .route-story { gap: 56px; }
  .record { min-height: auto; }
  .record-metrics { grid-template-columns: 1fr; }
  .record-metrics div, .record-metrics div:last-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid #334150; }
  .record-metrics div:last-child { border-bottom: 0; }
  .record-device { width: 78vw; }
  .missions { grid-template-columns: 1fr; }
  .mission-copy { grid-column: auto; }
  .mission-card { min-height: 280px; transform: none; }
  .mission-orange { transform: none; }
  footer { grid-template-columns: 1fr; }
  footer nav { flex-wrap: wrap; }
  .support-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
