:root {
  color-scheme: light;
  --paper: #faf9f8;
  --ink: #19151b;
  --muted: #69616a;
  --purple: #8042df;
  --campaign-color: #5f29cb;
  --campaign-water: #020324;
  --plum: #492045;
  --line: #d9d4da;
  --error: #962d43;
  font-family: "Helvetica Neue", "Avenir Next", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  -webkit-text-size-adjust: 100%;
}
:root[data-campaign-tone="pink"] { --campaign-color: #cb0a68; --campaign-water: #0f0716; }
html[data-campaign-tone] { background: var(--campaign-color); }
.browser-edge { position: fixed; left: 0; right: 0; height: 12px; z-index: 4; pointer-events: none; }
.browser-edge--top { top: 0; background-color: var(--campaign-color); }
.browser-edge--bottom { bottom: 0; background-color: var(--campaign-water); }
html[data-top-surface="sharing"] .browser-edge--top,
html[data-bottom-surface="sharing"] .browser-edge--bottom { background-color: #281637; }
@media (min-width: 769px) { .browser-edge { display: none; } }
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
button, input { font: inherit; }
button, a, input { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, input:focus-visible, [tabindex="-1"]:focus-visible { outline: 3px solid var(--purple); outline-offset: 5px; }
::selection { color: #fff; background: var(--plum); }
.page-shell { width: min(1280px, calc(100% - 96px)); margin-inline: auto; }
.landing-page .page-shell { width: 100%; }
.skip-link { position: absolute; top: 12px; left: 16px; z-index: 5; padding: 12px 18px; background: var(--ink); color: #fff; transform: translateY(-180%); }
.skip-link:focus { transform: none; }
.masthead { display: flex; align-items: center; justify-content: space-between; min-height: 98px; gap: 24px; }
.landing-page .masthead { position: absolute; z-index: 3; top: 0; left: 0; width: 100%; padding: 26px 4.5vw; min-height: 0; color: #fff; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 34px; font-weight: 650; letter-spacing: -2px; text-decoration: none; }
.brand-symbol { display: grid; place-items: center; width: 37px; height: 32px; }
.brand-symbol img { display: block; width: 33px; height: auto; filter: brightness(0); }
.landing-page .brand-symbol img { filter: brightness(0) invert(1); }
.masthead-end { display: flex; align-items: center; gap: 24px; font-size: 13px; }
.development-status { font-size: 13px; }
.development-status > span { display: none; }
.nav-link { padding-block: 13px; text-decoration: none; }
.nav-link:hover { text-decoration: underline; }

.landing-page { background: var(--campaign-color); color: #fff; }
.hero { position: relative; isolation: isolate; min-height: 100svh; overflow: hidden; padding: clamp(110px,15svh,170px) 4.5vw 96px; }
.hero-copy { position: relative; z-index: 1; width: min(620px,100%); }
h1 { font-size: clamp(76px,9vw,140px); line-height: .86; letter-spacing: -.075em; font-weight: 650; margin: 0 0 24px; }
.intro { font-size: clamp(16px,1.4vw,20px); line-height: 1.5; margin: 0; }
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.hero-media__poster, .hero-media__video { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.hero-media__poster img { display: block; width: 100%; height: 100%; }
.hero-media__poster img, .hero-media__video { object-fit: cover; object-position: center; }
.hero-media__video { z-index: 1; }
.motion-diagnostics { position: fixed; top: 70px; left: 12px; right: 12px; z-index: 10; padding: 12px; color: #111; background: #fff; font: 11px/1.4 monospace; white-space: pre-wrap; pointer-events: none; }
.hero-media[data-video-ready="true"] .hero-media__poster { visibility: hidden; }
.hero-motion-toggle { position: absolute; z-index: 2; left: 4.5vw; bottom: max(24px,env(safe-area-inset-bottom)); min-height: 44px; padding: 10px 16px; border: 1px solid #ffffff90; border-radius: 24px; background: #17092540; color: #fff; font-size: 12px; }
.hero-motion-toggle:hover { background: #17092570; }
.hero :focus-visible, .landing-page .masthead :focus-visible { outline-color: #fff; }
.signup { width: min(470px,100%); margin-top: 32px; }
.visually-hidden, #signup-heading, .landing-page label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
label { display: block; margin-bottom: 8px; font-size: 12px; font-weight: 550; }
.input-row { display: flex; gap: 8px; }
.input-row input { min-width: 0; width: 100%; flex: 1; height: 52px; padding: 12px 15px; border: 1px solid var(--line); border-radius: 6px; background: #fff; color: var(--ink); font-size: 16px; line-height: 1.4; }
.input-row input::placeholder { color: var(--muted); opacity: 1; }
.input-row input:focus { border-color: var(--ink); }
.input-row input[aria-invalid="true"] { border-color: var(--error); }
.input-row input[readonly] { background: #f0ecef; }
.input-row > button { flex-shrink: 0; min-height: 52px; border: 1px solid var(--ink); border-radius: 6px; padding: 12px 20px; font-size: 13px; font-weight: 600; line-height: 1.4; background: var(--ink); color: #fff; }
.input-row > button:hover:not(:disabled) { background: var(--plum); border-color: var(--plum); }
.input-row > button:disabled { background: #625b65; border-color: #625b65; }
.signup-note { margin: 14px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted); }
.form-error { font-size: 13px; color: var(--error); line-height: 1.5; margin: 10px 0 0; }
.form-status { font-size: 13px; line-height: 1.5; color: var(--muted); margin: 10px 0 0; }
.form-error:empty, .form-status:empty { margin: 0; }
.code-note { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0 0 24px; overflow-wrap: anywhere; }
.code-note strong { font-weight: 600; color: var(--ink); }
#code { font-size: 21px; letter-spacing: .2em; font-variant-numeric: tabular-nums; }
.code-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 5px; }
.resend-action { display: flex; align-items: center; gap: 6px; }
.text-button { min-height: 44px; border: 0; background: none; color: var(--ink); padding: 8px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; }
.text-button:disabled { color: var(--muted); text-decoration: none; }
#resend-countdown { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
#resend-help { margin-top: 0; }
.confirmed-step h2 { font-size: 36px; margin-block: 20px 12px; }
.confirmed-step p { font-size: 15px; line-height: 1.7; color: var(--muted); margin: 0; }
.confirmation-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; background: var(--purple); border-radius: 50%; }
.footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 92px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); }
.landing-page .footer { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.footer-description { margin-left: 15px; }
.footer a { padding-block: 14px; }
.privacy-content { max-width: 680px; padding: 48px 0 60px; }
.privacy-content h1 { font-size: clamp(40px, 5vw, 60px); line-height: 1.08; letter-spacing: -2px; margin-bottom: 24px; }
.privacy-content .privacy-intro { font-size: 19px; color: var(--muted); line-height: 1.65; margin-bottom: 40px; }
.privacy-content h2 { font-size: 21px; font-weight: 600; letter-spacing: -.4px; margin: 30px 0 10px; }
.privacy-content p { font-size: 16px; line-height: 1.75; margin: 0 0 16px; }
.privacy-back { display: inline-block; margin-top: 25px; padding-block: 12px; }
.privacy-footer { border-top: 1px solid var(--line); }

.landing-page .input-row { gap: 0; background: #fff; border: 1px solid #ffffff; border-radius: 8px; padding: 4px; }
.landing-page .input-row input { border: 0; background: transparent; min-height: 48px; padding: 10px 12px; font-size: 16px; }
.landing-page .input-row > button { min-height: 48px; border-radius: 5px; padding: 10px 14px; background: #211329; border-color: #211329; font-size: 12px; }
.landing-page .input-row > button:hover:not(:disabled) { background: #472451; }
.landing-page .input-row > button:disabled { background: #62516a; border-color: #62516a; }
#email-form .input-row { flex-wrap: nowrap; gap: 4px; padding: 3px; border-radius: 8px; }
#email-form .input-row input { flex: 1 1 0; min-height: 44px; height: 44px; padding: 10px 6px; font-size: 16px; letter-spacing: -.02em; }
#email-form .input-row > button { width: auto; min-height: 44px; padding: 9px 10px; font-size: 11px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; }
.landing-page .signup-note, .landing-page .form-status, .landing-page .code-note, .landing-page .code-note strong, .landing-page .text-button, .landing-page #resend-countdown, .landing-page .confirmed-step p { color: #fff; }
.landing-page .signup-note { font-size: 11px; line-height: 1.7; }
.landing-page .form-error:not(:empty) { color: #fff; background: #3e1434; border-radius: 5px; padding: 8px 12px; }
.landing-page #code-heading, .landing-page #confirmed-heading { font-size: 26px; letter-spacing: -.04em; margin: 0 0 12px; }
.landing-page .confirmation-mark { background: #fff; color: #251536; margin-bottom: 16px; }
.landing-page .code-note { font-size: 13px; margin-bottom: 16px; }
@media (max-width: 768px) {
 .page-shell { width: calc(100% - 48px); }
 .landing-page .masthead { padding: 24px; }
 .brand { font-size: 30px; gap: 8px; }
 .brand-symbol img { width: 29px; }
 .hero { padding: 106px 24px 100px; min-height: 100svh; }
 .hero-copy { width: min(420px,100%); }
 h1 { font-size: clamp(64px,17vw,90px); margin-bottom: 18px; }
 .intro { font-size: 16px; }
 .signup { margin-top: 24px; }
 .hero-media__poster img, .hero-media__video { object-position: center bottom; }
 .hero-motion-toggle { left: 24px; bottom: max(20px,env(safe-area-inset-bottom)); }
 .privacy-content { padding-block: 34px 40px; }
 .footer-description { display: none; }
}
@media (max-width: 359px) {
 .hero { padding-inline: 20px; }
 .landing-page .input-row { flex-wrap: wrap; }
 .landing-page .input-row input { flex-basis: 100%; }
 .landing-page .input-row > button { width: 100%; }
}
@media (forced-colors: active) {
 .brand-symbol, .confirmation-mark, .input-row, .hero-motion-toggle { border: 1px solid CanvasText; }
 .hero-media { display: none; }
 .input-row > button, .text-button { border: 1px solid ButtonText; }
}

.sharing { display: grid; grid-template-columns: .85fr 1.35fr; align-items: center; gap: 64px; padding: 84px max(48px, calc((100vw - 1200px) / 2)); background: #281637; color: var(--paper); overflow: hidden; }
.sharing h2 { margin: 0; font-size: clamp(36px, 4vw, 54px); line-height: 1.04; letter-spacing: -.055em; font-weight: 550; }
.sharing-copy p { max-width: 390px; font-size: 16px; line-height: 1.7; color: #f0eaf7; margin: 28px 0 0; }
.sharing-copy .sharing-secondary { font-size: 14px; color: #c5b5d0; margin-top: 18px; }

/* A small, self-contained excerpt of the existing Instrument prototype. */
.ride-demo { min-width: 0; --surface: #fff; --accent: #087f8c; }
.phone-duo { display: flex; align-items: flex-start; justify-content: center; gap: 20px; padding: 22px 12px 45px; }
.demo-phone { position: relative; width: 47%; max-width: 255px; aspect-ratio: 9 / 19.5; container-type: inline-size; border-radius: 15% / 7%; padding: 6px; background: #18171b; box-shadow: 0 0 0 1px #7f748c, 0 24px 36px #08000d50; }
.demo-phone--replay { transform: rotate(-6deg); }
.demo-phone--share { transform: translateY(48px) rotate(6deg); }
.phone-screen { position: relative; width: 100%; height: 100%; overflow: hidden; border-radius: 13% / 6%; background: #f4f7f7; color: #142d38; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif; font-size: 4cqw; line-height: 1.35; }
.phone-status { display: flex; justify-content: space-between; align-items: center; padding: 7% 8% 5%; font-size: .85em; font-weight: 650; }
.phone-island { position: absolute; left: 35%; top: 1.8%; width: 30%; height: 3.5%; border-radius: 20px; background: #151418; }
.phone-header { display: flex; align-items: center; gap: .6em; padding: 4% 6%; min-height: 7%; font-size: 1.12em; }
.phone-header strong { flex: 1; font-weight: 600; letter-spacing: -.03em; }
.phone-header > span:first-child { font-size: 1.7em; line-height: 1; }
.phone-header img { width: 1.5em; height: auto; }
.demo-live { font-size: .72em; color: #087f8c; font-weight: 650; }
.demo-scene { position: relative; height: 31%; overflow: hidden; background: #147d8a; }
.demo-scene img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08) translateX(var(--demo-pan,0%)); }
.scene-caption { display: flex; justify-content: space-between; position: absolute; inset: auto 0 0; padding: 1em .9em .6em; color: #fff; background: linear-gradient(transparent,#063447c9); font-size: .8em; font-weight: 550; }
.phone-content { padding: 7% 7% 4%; }
.phone-title { display: flex; flex-direction: column; font-size: 1.4em; line-height: 1.15; letter-spacing: -.05em; }
.phone-title strong { font-weight: 600; }
.phone-title span { color: #536c75; }
.demo-metrics { display: flex; gap: 2em; margin-top: 1em; }
.demo-metrics > div { display: flex; flex-direction: column; }
.demo-metrics strong { font-size: 2.65em; line-height: 1; font-weight: 500; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.demo-metrics span { color: #536c75; font-size: .8em; margin-top: .4em; }
.demo-chart { margin-top: 1.1em; }
.demo-chart svg { display: block; width: 100%; overflow: visible; }
.demo-chart path { fill: none; stroke: #087f8c; stroke-width: 2; }
.demo-chart line { stroke: #a97bda; stroke-width: 2; }
.demo-timeline { height: .3em; margin-top: .6em; background: #d6e2e5; }
.demo-timeline i { display: block; height: 100%; width: 0; background: #087f8c; }
.timeline-labels { display: flex; justify-content: space-between; margin-top: .6em; color: #536c75; font-size: .65em; font-variant-numeric: tabular-nums; }
.demo-event { display: flex; align-items: center; gap: .7em; padding-top: 1.2em; }
.demo-event > span { color: #087f8c; font-size: 1.7em; }
.demo-event strong, .demo-event small { display: block; }
.demo-event strong { font-size: .85em; font-weight: 600; }
.demo-event small { margin-top: .25em; color: #536c75; font-size: .65em; }
.phone-bottom-bar { position: absolute; left: 32%; right: 32%; bottom: 1.7%; height: .7%; border-radius: 3px; background: #1b3038; }
.demo-map-stage { position: relative; height: 44%; overflow: hidden; background: #dcedef; }
.demo-map { display: block; width: 100%; height: 100%; }
.map-water { fill: #dcedef; }
.map-land { fill: #f3f3e5; stroke: #cbdcd4; stroke-width: 2; }
.map-sand { fill: none; stroke: #d7e3d8; stroke-width: 14; }
.map-contour { fill: none; stroke: #c7dfe1; stroke-width: 1; }
.map-streets { fill: none; stroke: #e0e4d8; stroke-width: 2; }
.map-label { fill: #58757b; font-size: 12px; }
.map-label.land { fill: #6e7d70; font-size: 13px; }
.map-route-base { fill: none; stroke: #087f8c; stroke-width: 2; stroke-dasharray: 3 7; opacity: .4; }
.map-route-active { fill: none; stroke: #087f8c; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.map-marker-ring { fill: #087f8c; opacity: .14; }
.map-marker { fill: #087f8c; stroke: #fff; stroke-width: 4; }
.demo-map-speed { position: absolute; bottom: 5%; left: 6%; display: flex; align-items: baseline; gap: .5em; padding: .4em .65em; border-radius: 6px; background: #fff; }
.demo-map-speed strong { font-size: 2em; line-height: 1.1; letter-spacing: -.06em; font-weight: 550; font-variant-numeric: tabular-nums; }
.demo-map-speed span { font-size: .65em; color: #536c75; }
.viewer-line { display: flex; align-items: center; gap: .7em; }
.viewer-line > span { display: grid; place-items: center; width: 2.5em; height: 2.5em; border-radius: 50%; background: #e2f4f3; color: #087f8c; font-size: .8em; }
.viewer-line strong, .viewer-line small { display: block; }
.viewer-line strong { font-size: .85em; font-weight: 600; }
.viewer-line small { font-size: .65em; color: #536c75; margin-top: .25em; }
.demo-voice { display: flex; align-items: center; gap: .7em; background: #e2f4f3; padding: .8em; margin-top: 1em; border-radius: 8px; color: #087f8c; font-size: .85em; }
.voice-bars { display: flex; height: 1.8em; flex: 1; align-items: center; justify-content: space-between; gap: .2em; }
.voice-bars i { width: .22em; height: 45%; border-radius: 3px; background: #087f8c; }
.voice-bars i:nth-child(3n) { height: 80%; }.voice-bars i:nth-child(4n) { height: 100%; }.voice-bars i:nth-child(5n) { height: 25%; }
.demo-comment { margin: .8em 0 1.3em; color: #536c75; font-size: .8em; }
.demo-reply { margin-left: 15%; padding: .75em; border-left: 2px solid #087f8c; }
.demo-reply span, .demo-reply strong { display: block; }.demo-reply span { font-size: .65em; color: #536c75; }.demo-reply strong { font-size: .85em; font-weight: 550; margin-top: .2em; }
.demo-motion-toggle { display: block; min-height: 44px; margin: 20px auto 0; padding: 8px 15px; border: 1px solid #9d83b1; background: transparent; border-radius: 24px; color: #f7f5f3; font-size: 12px; }
.demo-motion-toggle:hover { background: #ffffff12; }
@media (max-width: 1024px) {
 .sharing { grid-template-columns: 1fr; gap: 30px; }
 .sharing-copy { max-width: 480px; }
 .ride-demo { width: min(100%,560px); margin-inline: auto; }
 .phone-duo { padding-inline: 12px; }
}
@media (max-width: 600px) {
 .sharing { padding: 54px 24px 40px; }
 .sharing h2 { font-size: 34px; }
 .sharing-copy { padding-inline: 4px; }
 .sharing-copy p { font-size: 15px; }
 .sharing-copy .sharing-secondary { font-size: 13px; }
 .phone-duo { gap: 12px; padding: 15px 9px 32px; }
 .demo-phone { padding: 4px; }
 .demo-phone--share { transform: translateY(30px) rotate(6deg); }
 .demo-motion-toggle { margin-top: 15px; }
}

/* A quiet first screen; the shared ride is the single section below it. */
.hero-copy h1 { font-size: clamp(22px,2.3vw,32px); font-weight: 500; line-height: 1.2; letter-spacing: -.035em; margin: 0; }
.hero-copy .signup { margin-top: 24px; }
.demo-map-stage { height: 34%; }
.demo-instrument-row { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: .8em; margin: -.7em 0 .8em; }
.demo-attitude { text-align: center; }
.demo-attitude svg { display: block; width: 100%; }
.demo-attitude > span { display: block; font-size: .65em; color: #536c75; margin-top: -.5em; }
.dial-face { fill: #e7f1f3; }
.dial-water { fill: #087f8c; }
.dial-horizon { stroke: #fff; stroke-width: 2; }
.dial-ladder { fill: none; stroke: #fff; stroke-width: 1.5; }
.dial-rim { fill: none; stroke: #344f5a; stroke-width: 2; }
.dial-reticle { fill: none; stroke: #ffb336; stroke-width: 3; stroke-linejoin: round; }
.demo-live-readings strong { display: block; font-size: 2.2em; font-weight: 550; letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.demo-live-readings small { display: block; font-size: .32em; letter-spacing: 0; font-weight: 400; color: #536c75; }
.demo-battery-track { height: .3em; background: #d6e2e5; margin: .65em 0 1em; overflow: hidden; border-radius: 1em; }
.demo-battery-track i { display: block; background: #087f8c; height: 100%; width: 68%; }
.demo-temperature { display: block; font-size: .7em; color: #536c75; }
.demo-temperature b { font-weight: 550; color: #142d38; }
.demo-warning { padding: .65em; background: #fff0d2; color: #713700; font-size: .75em; font-weight: 600; margin-bottom: .8em; border-radius: .4em; }
.ride-demo[data-event="fall"] .demo-event { color: #a53e19; }
.ride-demo[data-event="fall"] .demo-event > span { color: #a53e19; }
.ride-demo[data-event="heat"] .demo-temperature, .ride-demo[data-event="heat"] .demo-temperature b { color: #9b4600; }
.demo-phone--share .viewer-line { padding-top: .4em; border-top: 1px solid #d6e2e5; }
.demo-phone--share .demo-reply { display: none; }
.demo-phone--share .demo-comment { margin: .8em 0 0; }
