:root {
  --bg: #0B0F0D; --surface: #141A16; --raised: #1B2420; --border: #25302A; --border-strong: #34423A;
  --text: #F2F5F3; --muted: #8FA097; --primary: #22C55E; --primary-dark: #6EE7A0; --primary-light: #123B24;
  --warning: #FBBF24; --warning-light: #3B2A0E; --on-primary: #04170B;
}
* { box-sizing: border-box; }
html { color-scheme: dark; }
body { margin: 0; background: var(--bg); color: var(--text); font: 16px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
header.top { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 900; font-size: 22px; letter-spacing: -0.5px; white-space: nowrap; flex-shrink: 0; }
nav { display: flex; align-items: center; flex-wrap: nowrap; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
nav a { color: var(--muted); margin-left: 18px; font-weight: 600; font-size: 15px; white-space: nowrap; }
nav a:hover { color: var(--text); text-decoration: none; }
.hero { text-align: center; padding: 56px 0 40px; }
.hero h1 { font-size: clamp(34px, 7vw, 56px); line-height: 1.05; margin: 0 0 14px; letter-spacing: -1px; }
.hero h1 span { color: var(--primary); }
.hero p { color: var(--muted); font-size: 19px; max-width: 620px; margin: 0 auto 26px; }
.eyebrow { color: var(--primary-dark); font-weight: 700; letter-spacing: 2px; font-size: 13px; text-transform: uppercase; }
.btn { display: inline-block; background: var(--primary); color: var(--on-primary); font-weight: 700; padding: 14px 22px; border-radius: 12px; }
.btn:hover { text-decoration: none; filter: brightness(1.05); }
.btn.small { padding: 10px 16px; margin-left: 18px; }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border-strong); }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: 16px; padding: 20px; }
.card h3 { margin: 0 0 8px; color: var(--primary); font-size: 19px; }
.card p { margin: 0; color: var(--muted); }
section { padding: 26px 0; }
section h2 { font-size: 28px; margin: 0 0 6px; letter-spacing: -0.5px; }
section > p.lede { color: var(--muted); margin: 0 0 8px; max-width: 640px; }
section > p.lede strong { color: var(--text); }
.tier { display: flex; justify-content: space-between; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--border); }
.tier:last-of-type { border-bottom: 0; }
.tier .price { color: var(--primary); font-weight: 800; font-size: 26px; text-align: right; flex-shrink: 0; margin-left: 12px; }
.tier .price small { display: block; color: var(--muted); font-weight: 600; font-size: 13px; white-space: nowrap; }
.tier small { display: block; color: var(--muted); }
.note { background: var(--warning-light); border: 1px solid var(--warning); color: var(--text); border-radius: 12px; padding: 14px 16px; }
.math { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border); }
.math small { display: block; color: var(--muted); }
.math strong { color: var(--primary); }
.card p.gap-10 { margin-top: 10px; }
.card p.gap-14 { margin-top: 14px; }
.card.founding { border-color: var(--primary); }
.card.founding p { margin: 0; }
.total { display: flex; justify-content: space-between; padding: 14px 0 0; font-weight: 800; }
.total .big { color: var(--primary); font-size: 28px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose h3 { font-size: 17px; margin: 20px 0 6px; color: var(--primary-dark); }
.prose p, .prose li { color: #C9D1CC; }
.prose ul { padding-left: 20px; }
.updated { color: var(--muted); font-size: 14px; }
footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 26px 0 40px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; justify-content: space-between; }
footer a { color: var(--muted); }
/* The company's trading disclosures (SI 2015/17 regulations 24 and 25): its own row
   under the links on every page. */
footer .company { flex-basis: 100%; margin: 0; font-size: 13px; line-height: 1.5; }
/* The burger: hidden on wide screens, replaces the nav links on phones. Same round
   button as the app's own menu. */
.nav-toggle { display: none; width: 40px; height: 40px; border-radius: 20px; border: 1px solid var(--border); background: var(--surface); color: var(--text); padding: 0; cursor: pointer; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-toggle svg { display: block; }
.nav-toggle .cross { display: none; }
header.top.open .nav-toggle .bars { display: none; }
header.top.open .nav-toggle .cross { display: block; }
@media (max-width: 560px) {
  .hero { padding-top: 36px; }
  .nav-toggle { display: flex; }
  header.top nav { display: none; position: absolute; top: calc(100% - 6px); right: 0; z-index: 20; flex-direction: column; align-items: stretch; min-width: 220px; padding: 8px; background: var(--surface); border: 1px solid var(--border-strong); border-radius: 18px; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
  header.top.open nav { display: flex; }
  header.top nav a { margin: 0; padding: 12px 14px; border-radius: 12px; font-size: 16px; color: var(--text); }
  header.top nav a:hover { background: var(--raised); text-decoration: none; }
  header.top nav .btn { display: block; margin-top: 6px; text-align: center; color: #0B0F0D; }
}

/* The ad, in a phone-shaped frame. */
.watch { text-align: center; }
.watch > p.lede { margin: 0 auto 18px; }
/* Full-bleed film: breaks out of .wrap to the viewport edges on phones. */
.reel { position: relative; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
.reel-item { margin: 0; }
.reel-item video { display: block; width: 100%; aspect-ratio: 9 / 16; background: #000; }
.reel-item figcaption { margin: 10px 20px 0; font-size: 0.95rem; color: var(--muted); }
@media (min-width: 761px) {
  /* On desktop it stands as tall as the window allows, centred. */
  .reel-item { display: flex; flex-direction: column; align-items: center; }
  .reel-item video { width: auto; height: min(86vh, 960px); }
}
}

/* The wordmark: a dotless i with the brand's green dot, as in the app. */
.wordmark { display: inline-block; line-height: 1; }
.wordmark .i { position: relative; display: inline-block; }
.wordmark .dot { position: absolute; width: 0.2em; height: 0.2em; border-radius: 50%; background: var(--primary); top: 0.1em; left: 0.05em; }

/* The free-trial waitlist form (decision 170). */
.waitlist { display: grid; gap: 14px; max-width: 520px; }
.field label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.field input, .field select { width: 100%; background: var(--raised); color: var(--text); border: 1px solid var(--border-strong); border-radius: 12px; padding: 12px 14px; font: inherit; }
.field input:focus, .field select:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: var(--primary); }
.waitlist button.btn { border: 0; cursor: pointer; font: inherit; font-weight: 700; justify-self: start; }
.waitlist button.btn[disabled] { opacity: 0.6; cursor: default; }
.card.waitlist p.form-note { font-size: 13px; }
.card.waitlist p.form-status { font-weight: 600; }
.card.waitlist p.form-status:empty { display: none; }
.card.waitlist p.form-status.ok { color: var(--primary); }
.card.waitlist p.form-status.err { color: var(--warning); }

/* The app itself, 19 Oct 2026: a real screen for every selling point. Phones are
   framed in the WebP; cards show the top of the screen and fade out. On phones
   each set of cards is a row you swipe through, so the page stays short. */
.hero-phone { display: none; position: relative; margin: 0; }
.hero-phone::before { content: ""; position: absolute; inset: 6% -22% 2%; background: radial-gradient(closest-side, rgba(34, 197, 94, 0.26), rgba(34, 197, 94, 0)); }
.hero-phone img, .feature-phone img { position: relative; display: block; width: 100%; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.55)); }
@media (min-width: 900px) {
  .hero.split { display: grid; grid-template-columns: minmax(0, 1fr) 268px; gap: 52px; align-items: center; text-align: left; padding: 40px 0 34px; }
  .hero.split h1 { font-size: 52px; }
  .hero.split p { margin: 0 0 26px; }
  .hero.split .hero-phone { display: block; }
}

.shots { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 20px 0 6px; }
.shot { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.shot-screen { position: relative; aspect-ratio: 10 / 9; overflow: hidden; padding-top: 6%; background: radial-gradient(95% 75% at 50% 0%, #1A4A2E 0%, #12271B 55%, var(--surface) 100%); }
.shot-screen img { display: block; width: 68%; height: auto; margin: 0 auto; filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.5)); }
.shot-screen::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, rgba(20, 26, 22, 0), var(--surface)); }
.shot-body { padding: 2px 22px 22px; }
.shot h3 { margin: 0 0 8px; color: var(--primary); font-size: 19px; }
.shot p { margin: 0; color: var(--muted); }
.tag { display: inline-block; margin: 0 0 10px; padding: 2px 10px; border: 1px solid var(--primary); border-radius: 999px; color: var(--primary-dark); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
p.also { margin: 14px 0 0; color: var(--muted); max-width: 720px; }
p.also strong { color: var(--text); }

/* The captains' row: the whole phone beside what it does. */
.feature { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 44px; align-items: center; margin: 20px 0 6px; padding: 32px 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 20px; }
.feature-phone { position: relative; margin: 0; }
.feature h3 { margin: 0 0 6px; font-size: 22px; letter-spacing: -0.3px; }
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li { position: relative; margin: 14px 0 0; padding-left: 30px; color: var(--muted); }
.ticks li strong { color: var(--text); }
.ticks li::before { content: ""; position: absolute; left: 3px; top: 0.42em; width: 13px; height: 7px; border-left: 2.5px solid var(--primary); border-bottom: 2.5px solid var(--primary); transform: rotate(-45deg); }

@media (max-width: 760px) {
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; margin: 18px -20px 6px; padding: 0 20px 4px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scroll-padding: 0 20px; scrollbar-width: none; }
  .shots::-webkit-scrollbar { display: none; }
  .shot { scroll-snap-align: start; }
  .shot-body { padding: 2px 18px 20px; }
  .feature { grid-template-columns: none; gap: 22px; padding: 22px 20px 0; overflow: hidden; }
  .feature-phone { order: 2; width: 72%; max-width: 260px; height: 330px; margin: 0 auto; overflow: hidden; }
  .feature-phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(to bottom, rgba(20, 26, 22, 0), var(--surface)); }
  .feature-phone img { filter: none; }
}

/* Tactics (19 Oct): pickers that rise from the foot of the screen show the
   bottom of the phone, fading in from the top; the home page's tactics row
   has its phone on the right. */
.shot-screen.bottom { display: flex; align-items: flex-end; padding-top: 0; }
.shot-screen.bottom::after { top: 0; bottom: auto; background: linear-gradient(to top, rgba(26, 74, 46, 0), #173E27); }
.shot-screen.bottom img { margin-bottom: 0; }
section > .tag { margin-bottom: 12px; }
.feature .tag { margin-bottom: 12px; }
p.feature-link { margin: 18px 0 0; font-weight: 700; }
p.feature-link a::after { content: " \2192"; }
@media (min-width: 761px) {
  .feature.flip { grid-template-columns: minmax(0, 1fr) 240px; }
  .feature.flip .feature-phone { order: 2; }
}

/* Venues (19 Oct): the venue portal is a website, so its screens are browser
   windows: beside the headline, whole in the cards' green glow, and full width
   in a showcase with what it does underneath. The bar's TV gets one too. */
@media (min-width: 900px) {
  .hero.split.browser { grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: 40px; }
  .hero.split.browser h1 { font-size: 48px; }
}
.shot-screen.web { display: flex; align-items: center; padding: 0 4%; }
.shot-screen.web img { width: 100%; }
.shot-screen.web::after { display: none; }
.showcase { margin: 20px 0 6px; padding: 28px 28px 0; background: radial-gradient(90% 70% at 50% 0%, #1A4A2E 0%, #12271B 55%, var(--surface) 100%); border: 1px solid var(--border); border-radius: 20px; }
.showcase img { display: block; width: 100%; height: auto; filter: drop-shadow(0 18px 32px rgba(0, 0, 0, 0.5)); }
.showcase .ticks { columns: 2; column-gap: 36px; padding: 10px 4px 26px; }
.showcase .ticks li { break-inside: avoid; }
.showcase + .shots { margin-top: 16px; }
.feature-phone.cut::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 32%; background: linear-gradient(to bottom, rgba(20, 26, 22, 0), var(--surface)); }
.feature-phone.cut img { filter: none; }
p.screens-note { margin: 16px 0 0; color: var(--muted); font-size: 14px; }
@media (max-width: 760px) {
  .showcase { padding: 16px 14px 0; border-radius: 16px; }
  .showcase .ticks { columns: 1; padding: 4px 2px 20px; }
}

/* The homepage film (21 Oct 2026): first thing on the page, wider than the text column on big
   screens, close to edge to edge on phones. It's 16:9 and dark, so it sits in a soft-edged frame. */
/* never taller than the window under the header: on a 1280 × 720 laptop the whole film still shows */
.film { max-width: min(1200px, calc((100vh - 118px) * 16 / 9 + 40px)); margin: 6px auto 0; padding: 0 20px; }
/* object-fit: contain, so the film is never cropped, whichever cut is playing */
.film-video { display: block; width: 100%; max-width: 100%; height: auto; aspect-ratio: 16 / 9; background: #070A08; border-radius: 20px; border: 1px solid var(--border); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55), 0 0 90px rgba(34, 197, 94, 0.10); object-fit: contain; }
.film { box-sizing: border-box; width: 100%; }
@media (max-width: 760px) {
  .film { padding: 0 10px; margin-top: 0; }
  .film-video { border-radius: 14px; }
}
/* The 9:16 cut on phones held upright: nav.js adds .tall once that file is the one playing.
   As tall as fits under the header, and centred. */
.film-video.tall { aspect-ratio: 9 / 16; width: min(100%, calc((100svh - 90px) * 9 / 16)); margin: 0 auto; }
@media (max-width: 760px) and (orientation: portrait) {
  .film { max-width: none; }
}
