:root {
  --night: #0D1118;
  --night-2: #161B24;
  --night-line: #262D39;
  --concrete: #EDEFF2;
  --paper: #F8F9FA;
  --ink: #15171B;
  --muted: #5A606A;
  --soft: #A9B0BC;
  --line: #D3D7DD;
  --red: #E81C24;
  --papaya: #FF8000;
  --blue: #3671C6;
  --wide: "Archivo", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 84px; }
body { margin: 0; background: var(--concrete); color: var(--ink); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.wrap { width: min(1200px, 100% - 32px); margin-inline: auto; }
p { margin: 0 0 12px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(13,17,24,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid rgba(255,255,255,.07); color: #fff; }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 24px; height: auto; }
.word { font: 800 21px/1 var(--wide); font-stretch: 125%; letter-spacing: .06em; }
.word span { font-weight: 500; }
.word b { font-weight: 800; box-shadow: inset 0 -3px var(--red); }
.nav nav { display: flex; gap: 28px; align-items: center; font-size: 15px; }
.nav nav a { text-decoration: none; color: var(--soft); }
.nav nav a:hover, .nav nav a[aria-current] { color: #fff; }
.nav .right { display: flex; align-items: center; gap: 10px; }
.nav-cta { display: none !important; }
.menu-btn { display: none; position: relative; width: 44px; height: 44px; margin-right: -8px; border: 0; background: none; color: #fff; cursor: pointer; }
.menu-btn span, .menu-btn::before, .menu-btn::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2px; border-radius: 1px; background: currentColor; transition: transform .2s, opacity .2s; }
.menu-btn span { top: 21px; } .menu-btn::before { top: 14px; } .menu-btn::after { top: 28px; }
.nav.open .menu-btn span { opacity: 0; }
.nav.open .menu-btn::before { transform: translateY(7px) rotate(45deg); }
.nav.open .menu-btn::after { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav-cta { display: inline-flex !important; min-height: 36px !important; padding: 0 14px !important; font-size: 13px !important; }
  .nav nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 4px 16px 16px; background: var(--night); border-bottom: 1px solid var(--night-line); box-shadow: 0 30px 40px -20px rgba(0,0,0,.6); }
  .nav.open nav { display: flex; }
  .nav nav a:not(.btn) { padding: 15px 0; border-bottom: 1px solid var(--night-line); font-size: 17px; color: #fff; }
  .nav nav .btn { display: none; }
}

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font: 600 15px/1 var(--body); border: 0; cursor: pointer; transition: background-color .15s, transform .15s; }
.btn:active { transform: scale(.98); }
.btn.red { background: var(--red); color: #fff; }
.btn.red:hover { background: #C8121A; }
.btn.line { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.btn.line:hover { background: rgba(255,255,255,.1); }
.btn.dark:hover { background: #000; }
.nav .btn { min-height: 40px; padding: 0 18px; font-size: 14px; color: #fff; }
.btn svg { width: 20px; height: 20px; flex: none; }

/* ---------- hero: the race start on a table, full width ---------- */
.hero { position: relative; background: var(--night); color: #fff; overflow: hidden; margin-top: -68px; padding-top: 68px; }
.hero video { position: absolute; inset: 0 0 0 auto; width: 72%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background:
  linear-gradient(90deg, var(--night) 26%, rgba(13,17,24,.8) 44%, rgba(13,17,24,0) 72%),
  linear-gradient(0deg, var(--night), transparent 30%); }
.hero .wrap { position: relative; z-index: 2; min-height: min(86vh, 820px); display: flex; flex-direction: column; justify-content: center; padding: 96px 0 120px; }
.status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px; font-size: 14px; color: var(--soft); }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #3DDC84; box-shadow: 0 0 0 4px rgba(61,220,132,.18); }
h1 { margin: 0 0 28px; font: 850 clamp(46px, 7vw, 104px)/.95 var(--wide); font-stretch: 108%; letter-spacing: -.012em; }
h1 .row { display: flex; align-items: stretch; gap: .2em; }
h1 .row + .row { margin-top: .06em; }
h1 .bar { flex: 0 0 .13em; border-radius: 3px; margin: .1em 0 .05em; transform-origin: bottom; }
h1 .row:first-child .bar { background: var(--blue); }
h1 .row:last-child .bar { background: var(--papaya); }
.lede { max-width: 31em; margin: 0 0 36px; font-size: 20px; line-height: 1.55; color: #C9CED7; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 820px) {
  .hero video { width: 100%; opacity: .45; }
  .hero::before { background: linear-gradient(0deg, var(--night) 8%, rgba(13,17,24,.55)); }
  .hero { padding-bottom: 0; }
  .hero .wrap { min-height: 0; padding: 48px 0 56px; }
}
/* one entrance: the two readout bars grow, then the lines arrive */
@media (prefers-reduced-motion: no-preference) {
  h1 .bar { animation: grow .7s cubic-bezier(.2,.7,.2,1) both; }
  h1 .row:last-child .bar { animation-delay: .12s; }
  h1 .row > span:last-child { animation: arrive .8s cubic-bezier(.2,.7,.2,1) both .15s; }
  h1 .row:last-child > span:last-child { animation-delay: .27s; }
  @keyframes grow { from { transform: scaleY(0); } }
  @keyframes arrive { from { opacity: 0; transform: translateX(-18px); } }
}

/* ---------- requirement strip under the hero ---------- */
.strip { background: var(--night); color: var(--soft); border-top: 1px solid var(--night-line); font-size: 15px; }
.strip .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.strip div { padding: 24px 0; }
.strip div + div { padding-left: 32px; border-left: 1px solid var(--night-line); }
.strip strong { display: block; color: #fff; font: 700 18px/1.3 var(--wide); font-stretch: 104%; margin-bottom: 2px; }
@media (max-width: 760px) { .strip .wrap { grid-template-columns: 1fr; } .strip div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--night-line); } }

/* ---------- sections ---------- */
section { padding: 112px 0; }
section.paper { background: var(--paper); }
h2 { margin: 0 0 18px; font: 800 clamp(34px, 4.6vw, 58px)/1.02 var(--wide); font-stretch: 106%; letter-spacing: -.008em; max-width: 16em; }
h3 { margin: 0 0 8px; font: 700 24px/1.2 var(--wide); font-stretch: 104%; }
.intro { max-width: 34em; margin: 0 0 64px; color: var(--muted); font-size: 19px; }

/* ---------- features ---------- */
.feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; align-items: center; }
.feature + .feature { margin-top: 104px; }
.feature.flip .shot { order: 2; }
.shot { border-radius: 20px; overflow: hidden; background: var(--night); box-shadow: 0 40px 80px -40px rgba(13,17,24,.55); }
.shot img, .shot video { width: 100%; height: 100%; object-fit: cover; }
.feature .text p { color: var(--muted); max-width: 27em; font-size: 18px; }
.feature ul { margin: 22px 0 0; padding: 0; list-style: none; }
.feature li { position: relative; padding: 12px 0 12px 26px; border-top: 1px solid var(--line); font-size: 16px; }
.feature li::before { content: ""; position: absolute; left: 0; top: 19px; width: 12px; height: 4px; border-radius: 2px; background: var(--red); }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 28px; }
  .feature.flip .shot { order: 0; }
  .feature + .feature { margin-top: 72px; }
}

.feed { margin: 0; }
.feed figcaption { margin-top: 12px; font-size: 13px; color: var(--muted); }

/* two more ways to watch: big pictures side by side */
.pair-shots { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 120px; }
.pair-shots figure { margin: 0; }
.pair-shots .shot { aspect-ratio: 16 / 10; }
.pair-shots figcaption { padding: 22px 4px 0; }
.pair-shots figcaption p { color: var(--muted); max-width: 30em; }
@media (max-width: 760px) { .pair-shots { grid-template-columns: 1fr; gap: 48px; } }

.more { display: grid; grid-template-columns: repeat(4, 1fr); gap: 36px; margin-top: 96px; padding-top: 40px; border-top: 1px solid var(--line); }
.more h3 { font-size: 19px; }
.more p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 960px) { .more { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .more { grid-template-columns: 1fr; } }

/* ---------- how it works: a real sequence ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; counter-reset: s; margin: 0; padding: 0; list-style: none; }
.steps li { counter-increment: s; padding-top: 24px; border-top: 2px solid var(--ink); }
.steps li::before { content: counter(s); display: block; font: 850 56px/1 var(--wide); font-stretch: 125%; color: var(--red); margin-bottom: 18px; }
.steps p { color: var(--muted); }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* ---------- circuits: outlines drawn from the app's own maps ---------- */
.circuits { background: var(--night); color: #fff; }
.circuits .intro { color: var(--soft); }
.tracks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
@media (max-width: 1100px) { .tracks { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) { .tracks { grid-template-columns: repeat(2, 1fr); } }
.track { background: var(--night-2); border: 1px solid var(--night-line); border-radius: 20px; padding: 28px 22px 24px; }
.track .outline { width: 100%; height: 170px; margin-bottom: 28px; object-fit: contain; }
.track h3 { margin-bottom: 4px; }
.track p { color: var(--soft); font-size: 15.5px; margin: 0; }
.track .new { display: inline-block; margin-left: 8px; padding: 3px 9px; border-radius: 999px; background: rgba(255,128,0,.16); color: var(--papaya); font: 600 12px/1.4 var(--body); vertical-align: middle; }
.next { margin: 28px 0 0; color: var(--soft); font-size: 15.5px; }
@media (max-width: 860px) { .track .outline { height: 150px; } }

/* ---------- questions ---------- */
.faq { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq dl, details { margin: 0; }
details { border-top: 1px solid var(--line); }
details:last-child { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center; padding: 22px 0; font: 700 20px/1.3 var(--wide); font-stretch: 104%; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(45deg) translate(-3px, -3px); transition: transform .2s; }
details[open] summary::after { transform: rotate(225deg) translate(-3px, -3px); }
details p { color: var(--muted); max-width: 36em; padding-bottom: 14px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- community ---------- */
.community { background: var(--night); color: #fff; position: relative; overflow: hidden; }
.community .wrap { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.community p { color: var(--soft); font-size: 18px; max-width: 30em; }
.community .ctas { justify-content: flex-end; }
@media (max-width: 860px) { .community .wrap { grid-template-columns: 1fr; } .community .ctas { justify-content: flex-start; } }

/* ---------- beta + contact ---------- */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.contact .side p { color: var(--muted); max-width: 26em; font-size: 18px; }
.links { margin-top: 32px; display: grid; gap: 14px; }
.links a { display: inline-flex; gap: 12px; align-items: center; font-weight: 600; text-decoration: none; width: fit-content; }
.links a:hover { text-decoration: underline; }
.links svg { width: 20px; height: 20px; }
form { background: #fff; border: 1px solid var(--line); border-radius: 22px; padding: 36px; display: grid; gap: 18px; box-shadow: 0 30px 60px -40px rgba(13,17,24,.35); }
label { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
input, select, textarea { font: 400 16px/1.4 var(--body); color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 13px 14px; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(54,113,198,.2); }
textarea { min-height: 110px; resize: vertical; }
select { -webkit-appearance: none; appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%235A606A' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.note { font-size: 13px; color: var(--muted); margin: 0; }
.sent { display: none; font-size: 15px; font-weight: 600; margin: 0; }
form.done .sent { display: block; }
form.done > :not(.sent) { display: none; }
.error { display: none; font-size: 14px; color: var(--red); margin: 0; }
.error.on { display: block; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; gap: 40px; } }
@media (max-width: 480px) { .pair { grid-template-columns: 1fr; } form { padding: 22px; } }

/* ---------- footer ---------- */
footer { background: var(--night); color: var(--soft); font-size: 14px; padding: 56px 0; border-top: 1px solid var(--night-line); }
footer .wrap { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; align-items: flex-start; }
footer .brand { color: #fff; margin-bottom: 14px; }
footer p { margin: 0; max-width: 36em; }
footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
footer .cols { display: flex; gap: 56px; flex-wrap: wrap; }
footer .cols div { display: grid; gap: 10px; align-content: start; }
footer .cols strong { color: #fff; font-weight: 600; }
footer .cols a { text-decoration: none; }
footer .cols a:hover { color: #fff; }
footer .legal { width: 100%; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--night-line); font-size: 13px; }
footer nav a { text-decoration: none; }
footer nav a:hover { color: #fff; }

/* ---------- sub-page header ---------- */
.page-head { background: var(--night); color: #fff; padding: 96px 0 72px; margin-top: -68px; padding-top: calc(68px + 72px); }
.page-head h1 { font-size: clamp(40px, 5.6vw, 76px); margin-bottom: 18px; }
.page-head p { max-width: 36em; color: #C9CED7; font-size: 19px; margin: 0; }
.eyebrow { display: inline-block; margin-bottom: 16px; color: var(--papaya); font: 600 13px/1 var(--body); letter-spacing: .12em; text-transform: uppercase; }

/* ---------- trailer ---------- */
.trailer { background: var(--night); color: #fff; padding-top: 0; }
.trailer .frame { border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 50px 100px -50px rgba(0,0,0,.8); aspect-ratio: 16 / 9; }
.trailer video { width: 100%; height: 100%; object-fit: cover; }
.trailer p { margin: 16px 0 0; color: var(--soft); font-size: 14px; }
.trailer p a { color: #fff; }
.yt button { all: unset; display: block; position: relative; width: 100%; height: 100%; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; }
.yt .play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--red); box-shadow: 0 12px 40px rgba(0,0,0,.5); transition: transform .15s; }
.yt .play::after { content: ""; position: absolute; left: 37px; top: 28px; border-style: solid; border-width: 18px 0 18px 28px; border-color: transparent transparent transparent #fff; }
.yt button:hover .play, .yt button:focus-visible .play { transform: scale(1.08); }
.yt iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- three moments on the home page ---------- */
.moments { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.moment { display: flex; flex-direction: column; text-decoration: none; }
.moment .shot { aspect-ratio: 4 / 3; margin-bottom: 22px; }
.moment p { color: var(--muted); }
.moment:hover h3 { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.more-link { display: inline-flex; margin-top: 48px; font-weight: 600; text-underline-offset: 4px; }
@media (max-width: 860px) { .moments { grid-template-columns: 1fr; gap: 48px; } }

/* ---------- circuits strip on the home page ---------- */
.mini-tracks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-bottom: 8px; }
.mini-tracks figure { margin: 0; padding: 22px 12px 16px; background: var(--night-2); border: 1px solid var(--night-line); border-radius: 16px; text-align: center; }
.mini-tracks img { height: 110px; width: 100%; object-fit: contain; margin-bottom: 14px; }
.mini-tracks figcaption { font: 700 16px/1.2 var(--wide); font-stretch: 104%; }
@media (max-width: 760px) { .mini-tracks { grid-template-columns: repeat(3, 1fr); } .mini-tracks img { height: 80px; } }
.circuits .more-link { color: #fff; }

/* ---------- beta call to action band ---------- */
.band { background: var(--red); color: #fff; padding: 72px 0; }
.band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.band h2 { margin: 0 0 8px; }
.band p { margin: 0; font-size: 18px; color: rgba(255,255,255,.88); max-width: 32em; }
.band .btn { background: #fff; color: var(--ink); }
.band .btn:hover { background: var(--concrete); }

/* ---------- beta page ---------- */
.perks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; margin: 0 0 88px; padding: 0; list-style: none; }
.perks li { padding-top: 22px; border-top: 2px solid var(--ink); }
.perks p { color: var(--muted); }
@media (max-width: 760px) { .perks { grid-template-columns: 1fr; } }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; font-size: 14px; color: var(--muted); }
.check input { width: 20px; height: 20px; flex: none; margin: 1px 0 0; padding: 0; accent-color: var(--red); }
.check a { color: var(--ink); }

/* ---------- what's new ---------- */
.log article { max-width: 860px; }
.log article { display: grid; grid-template-columns: 150px 1fr; gap: 32px; padding: 32px 0; border-top: 1px solid var(--line); }
.log time { font: 700 16px/1.6 var(--wide); font-stretch: 104%; color: var(--muted); }
.log h3 { font-size: 21px; }
.log ul { margin: 0; padding-left: 20px; color: var(--muted); }
.log li { margin: 6px 0; }
.tag { display: inline-block; margin-left: 8px; padding: 2px 9px; border-radius: 999px; background: rgba(232,28,36,.1); color: var(--red); font: 600 12px/1.5 var(--body); vertical-align: middle; }
@media (max-width: 640px) { .log article { grid-template-columns: 1fr; gap: 8px; } }

/* ---------- long text (privacy) ---------- */
.prose { max-width: 720px; }
.prose h2 { font-size: clamp(24px, 3vw, 30px); margin: 48px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 20px; }
.prose a { color: var(--ink); }

/* ---------- phones ---------- */
@media (max-width: 760px) {
  section { padding: 72px 0; }
  .intro { margin-bottom: 40px; font-size: 17px; }
  .page-head { padding: calc(68px + 44px) 0 48px; }
  .page-head p { font-size: 17px; }
  .lede { font-size: 18px; }
  .band { padding: 56px 0; }
  .band .btn { width: 100%; }
  .feature + .feature { margin-top: 64px; }
  .pair-shots { margin-top: 72px; }
  .more { margin-top: 64px; }
  .perks { margin-bottom: 56px; }
  .trailer .frame { border-radius: 14px; }
  .yt .play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .yt .play::after { left: 29px; top: 22px; border-width: 14px 0 14px 22px; }
  footer .cols { gap: 32px; }
  summary { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }
