@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-800-italic.woff2") format("woff2"); font-weight: 800; font-style: italic; font-display: swap; }
@font-face { font-family: "Barlow"; src: url("/fonts/barlow-latin-900-italic.woff2") format("woff2"); font-weight: 900; font-style: italic; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "DM Sans"; src: url("/fonts/dm-sans-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
/* Layout: full-width brand bands (blue hero, seashell, black, lime, black) with a 1200px inner column.
   Tokens are the app's (design-prototype/tokens.css). The page commits to the brand look in both themes. */
:root {
  --vivid-blue: #064cf8;
  --blue-hover: #0339c2;
  --lime: #e0fa4c;
  --lime-hover: #cfe83a;
  --lime-soft: #f6fdd2;
  --black: #04090d;
  --black-700: #363a3d;
  --seashell: #f0f1f6;
  --surface: #ffffff;
  --line: #dde0e8;
  --ink: #04090d;
  --ink-muted: #5c6670;
  --on-dark-muted: rgba(240, 241, 246, 0.78);
  --on-dark-line: rgba(240, 241, 246, 0.16);
  --shadow-card: 0 1px 2px rgba(4, 9, 13, 0.06), 0 4px 16px rgba(4, 9, 13, 0.06);
  --shadow-tile: 0 16px 40px rgba(0, 0, 0, 0.35);
  --font-display: "Barlow", "Arial Narrow", system-ui, sans-serif;
  --font-sans: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --page-max: 1200px;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body { margin: 0; background: var(--seashell); color: var(--ink); font: 400 16px/1.55 var(--font-sans); -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--vivid-blue); }
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }
.on-light :focus-visible { outline-color: var(--vivid-blue); }

.band { position: relative; overflow: hidden; }
.wrap { max-width: var(--page-max); margin: 0 auto; padding-left: max(24px, env(safe-area-inset-left, 0px)); padding-right: max(24px, env(safe-area-inset-right, 0px)); }
@media (max-width: 480px) { .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); } }

/* Type scale (from the app, scaled up for the web) */
.display { font: italic 900 clamp(44px, 7.4vw, 88px)/0.94 var(--font-display); letter-spacing: -0.012em; margin: 0; text-wrap: balance; }
.h2 { font: italic 900 clamp(34px, 4.6vw, 56px)/0.98 var(--font-display); letter-spacing: -0.008em; margin: 0; text-wrap: balance; }
.h3 { font: italic 800 26px/1.05 var(--font-display); margin: 0; text-wrap: balance; }
.lead { font: 400 clamp(17px, 1.6vw, 20px)/1.55 var(--font-sans); margin: 0; max-width: 34em; }
.overline { font: 700 12px/16px var(--font-sans); letter-spacing: 0.1em; text-transform: uppercase; margin: 0; }
.em-lime { color: var(--lime); }
.em-blue { color: var(--vivid-blue); }

/* Buttons (app Button: lg = 56px, pill) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 0 28px; border-radius: 999px; font: 700 16px/1 var(--font-sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s, transform .15s; white-space: nowrap; }
.btn:active { transform: scale(0.98); }
.btn--accent { background: var(--lime); color: var(--black); }
.btn--accent:hover { background: var(--lime-hover); }
.btn--ghost { background: transparent; color: var(--seashell); border-color: rgba(240, 241, 246, 0.6); }
.btn--ghost:hover { background: rgba(240, 241, 246, 0.1); }
.btn--primary { background: var(--vivid-blue); color: #fff; }
.btn--primary:hover { background: var(--blue-hover); }
.btn--dark { background: var(--black); color: var(--seashell); }
.btn--dark:hover { background: var(--black-700); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn svg { width: 18px; height: 18px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

.tri { position: absolute; pointer-events: none; height: auto; aspect-ratio: 104 / 92; overflow: visible; }

/* Nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 5; background: var(--vivid-blue); color: var(--seashell); transition: box-shadow .2s; }
.nav.is-stuck { box-shadow: 0 1px 0 var(--on-dark-line), 0 8px 24px rgba(4, 9, 13, 0.18); }
.nav__row { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.nav__brand { display: inline-flex; color: var(--lime); }
.nav__brand svg { height: 20px; width: auto; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font: 600 15px/1 var(--font-sans); }
.nav__links a { text-decoration: none; opacity: 0.86; }
.nav__links a:hover { opacity: 1; }
@media (max-width: 860px) { .nav__links { display: none; } .nav__cta { margin-left: auto; } }

/* Hero */
.hero { background: var(--vivid-blue); color: var(--seashell); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 56px; align-items: center; padding-block: 48px 88px; }
.hero__copy { display: grid; gap: 28px; min-width: 0; }
.hero__copy .lead { color: var(--on-dark-muted); }
.hero__note { display: flex; flex-wrap: wrap; gap: 8px 20px; font: 500 14px/20px var(--font-sans); color: var(--on-dark-muted); margin: 0; padding: 0; list-style: none; }
.hero__note li { display: inline-flex; align-items: center; gap: 8px; }
.hero__note svg { width: 18px; height: 18px; color: var(--lime); flex: none; }
.hero__art { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: var(--radius-xl); background: var(--black); overflow: hidden; }
.hero__art .tile { position: absolute; border-radius: 22%; box-shadow: var(--shadow-tile); }
.hero__art .t1 { width: 38%; left: 12%; top: 14%; transform: rotate(-6deg); animation: float 7s ease-in-out infinite; }
.hero__art .t2 { width: 28%; left: 60%; top: 34%; transform: rotate(8deg); animation: float 7s ease-in-out -3.5s infinite; }
@keyframes float { 50% { translate: 0 -10px; } }
.mini { position: absolute; left: 8%; right: 8%; bottom: 7%; background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 16px; display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: center; box-shadow: var(--shadow-tile); }
.mini__cover { width: 64px; height: 64px; border-radius: 14px; background: var(--vivid-blue); position: relative; overflow: hidden; }
.mini__cover img { position: absolute; width: 56%; right: 6px; bottom: 6px; border-radius: 22%; }
.mini__title { font: 600 15px/20px var(--font-sans); margin: 0; }
.mini__meta { font: 400 13px/18px var(--font-sans); color: var(--ink-muted); margin: 0; }
.mini__left { font: 700 12px/16px var(--font-sans); color: #8a4b00; margin: 4px 0 0; }
.mini__price { font: 700 20px/1 var(--font-display); font-variant-numeric: tabular-nums; text-align: right; }
.mini__price small { display: block; font: 500 12px/16px var(--font-sans); color: var(--ink-muted); margin-top: 4px; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding-block: 24px 56px; }
  .hero__art { max-width: 520px; width: 100%; }
}
@media (max-width: 420px) { .mini { grid-template-columns: 52px minmax(0, 1fr); } .mini__cover { width: 52px; height: 52px; } .mini__price { grid-column: 2; text-align: left; } .mini__price small { display: inline; margin-left: 6px; } }

/* Sports strip */
.sports { background: var(--black); color: var(--seashell); }
.sports__row { display: flex; align-items: center; gap: 12px 32px; flex-wrap: wrap; justify-content: space-between; padding-block: 28px; }
.sports__label { color: var(--lime); }
.sports__list { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0; padding: 0; list-style: none; }
.sports__list li { display: inline-flex; align-items: center; gap: 12px; font: italic 800 24px/1 var(--font-display); }
.sports__list img { width: 40px; height: 40px; border-radius: 22%; }

/* Sections on seashell */
.section { padding-block: 104px; }
.section__head { display: grid; gap: 16px; margin-bottom: 48px; max-width: 760px; }
.section__head .overline { color: var(--vivid-blue); }
.section__head p:not(.overline) { color: var(--ink-muted); }
@media (max-width: 640px) { .section { padding-block: 72px; } .section__head { margin-bottom: 32px; } }

/* How it works: the three story slides from the app */
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; padding: 0; list-style: none; }
.step { position: relative; overflow: hidden; border-radius: var(--radius-xl); padding: 28px; min-height: 340px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.step > * { position: relative; }
.step__n { position: absolute; top: 24px; left: 28px; font: italic 900 20px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.step .h3 { font-size: 36px; line-height: 36px; font-weight: 900; }
.step p { margin: 0; font: 500 16px/23px var(--font-sans); max-width: 26ch; }
.step--blue { background: var(--vivid-blue); color: var(--seashell); }
.step--black { background: var(--black); color: var(--seashell); }
.step--lime { background: var(--lime); color: var(--black); }
.step--blue .step__n, .step--black .step__n { color: var(--lime); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr; } .step { min-height: 240px; } }

/* Events */
.events { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.ecard { display: grid; gap: 10px; text-decoration: none; color: inherit; min-width: 0; }
.ecard:hover .cover__tile { transform: rotate(-4deg) scale(1.04); }
.cover { position: relative; overflow: hidden; border-radius: var(--radius-lg); aspect-ratio: 4 / 3; max-width: 100%; }
.cover--blue { background: var(--vivid-blue); }
.cover--black { background: var(--black); }
.cover--lime { background: var(--lime); }
.cover--grad { background: linear-gradient(135deg, var(--vivid-blue), var(--black)); }
.cover__tile { position: absolute; right: 12px; bottom: 12px; width: 30%; border-radius: 22%; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3); transition: transform .2s; }
.cover__tag { position: absolute; left: 12px; top: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(240, 241, 246, 0.94); color: var(--ink); font: 600 12px/1 var(--font-sans); }
.ecard__title { font: 600 17px/22px var(--font-sans); margin: 0; }
.ecard__meta { font: 400 14px/20px var(--font-sans); color: var(--ink-muted); margin: 0; }
.ecard__foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ecard__price { font: 700 18px/1 var(--font-display); font-variant-numeric: tabular-nums; }
.meter { flex: 1; max-width: 96px; height: 6px; border-radius: 99px; background: var(--line); overflow: hidden; }
.meter i { display: block; height: 100%; background: var(--vivid-blue); border-radius: inherit; }
.events__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 40px; color: var(--ink-muted); font-size: 14px; }
@media (max-width: 1024px) { .events { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .events { grid-template-columns: 1fr; } }

/* Trust */
.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.tcard { background: var(--surface); border-radius: var(--radius-xl); box-shadow: var(--shadow-card); padding: 32px; display: grid; gap: 12px; align-content: start; }
.tcard p { margin: 0; color: var(--ink-muted); }
.tcard__icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: #e6edfe; color: var(--vivid-blue); }
.tcard__icon svg { width: 24px; height: 24px; }
.tcard--wide { grid-column: 1 / -1; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px; align-items: start; }
.tcard--wide > div { display: grid; gap: 12px; }
.policies { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.policies li { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 16px; border-radius: var(--radius-md); background: var(--seashell); }
.policies b { font: 600 15px/20px var(--font-display); }
.policies span { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.org { display: flex; align-items: center; gap: 12px; padding-top: 4px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--vivid-blue); color: var(--lime); font: italic 800 17px/1 var(--font-display); flex: none; }
.org b { display: block; font: 600 15px/20px var(--font-sans); }
.org small { font-size: 13px; color: var(--ink-muted); }
.stats { display: flex; gap: 8px; flex-wrap: wrap; }
.stats div { background: var(--seashell); border-radius: 12px; padding: 8px 12px; }
.stats b { display: block; font: 700 18px/22px var(--font-display); font-variant-numeric: tabular-nums; }
.stats span { font-size: 12px; color: var(--ink-muted); }
@media (max-width: 860px) { .trust, .tcard--wide { grid-template-columns: 1fr; } .tcard { padding: 24px; } }
@media (max-width: 420px) { .policies li { grid-template-columns: 1fr; gap: 2px; } }

/* Hosts (lime band) */
.hosts { background: var(--lime); color: var(--black); }
.hosts__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding-block: 104px; }
.hosts__grid > div { display: grid; gap: 24px; min-width: 0; }
.hosts .overline { color: var(--vivid-blue); }
.checks { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.checks li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 12px; font-size: 17px; line-height: 25px; }
.checks li b { font-weight: 600; }
.checks svg { width: 28px; height: 28px; padding: 5px; border-radius: 50%; background: var(--black); color: var(--lime); }
.panel { background: var(--black); color: var(--seashell); border-radius: var(--radius-xl); padding: 28px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.panel > * { position: relative; }
.panel__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; border-radius: var(--radius-md); background: rgba(240, 241, 246, 0.08); }
.panel__row b { font: 600 15px/20px var(--font-sans); }
.panel__row small { display: block; font-size: 13px; color: var(--on-dark-muted); }
.pill { padding: 6px 10px; border-radius: 999px; font: 700 12px/1 var(--font-sans); white-space: nowrap; }
.pill--live { background: #e3f4ea; color: #0a6b3d; }
.pill--full { background: var(--lime); color: var(--black); }
.pill--draft { background: rgba(240, 241, 246, 0.16); color: var(--seashell); }
.panel__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.panel__stats div { background: rgba(240, 241, 246, 0.08); border-radius: 12px; padding: 10px 12px; }
.panel__stats b { display: block; font: 700 24px/28px var(--font-display); color: var(--lime); font-variant-numeric: tabular-nums; }
.panel__stats span { font-size: 12px; color: var(--on-dark-muted); }
@media (max-width: 900px) { .hosts__grid { grid-template-columns: 1fr; gap: 40px; padding-block: 72px; } }

/* Closing CTA */
.closer { background: var(--vivid-blue); color: var(--seashell); }
.closer__inner { padding-block: 112px; display: grid; gap: 28px; justify-items: start; position: relative; }
.closer .lead { color: var(--on-dark-muted); }
.closer .display { max-width: 12ch; }
@media (max-width: 640px) { .closer__inner { padding-block: 80px; } }

/* Footer */
.footer { background: var(--black); color: var(--on-dark-muted); font-size: 14px; }
.footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-block: 40px; }
.footer__brand { display: grid; gap: 10px; }
.footer__brand svg { height: 16px; width: auto; color: var(--seashell); }
.footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer__links a { text-decoration: none; }
.footer__links a:hover { color: var(--seashell); }

/* Android download page */
.dl-art .t1 { width: 34%; left: 12%; top: 12%; }
.qr { position: absolute; left: 8%; right: 8%; bottom: 7%; background: var(--surface); color: var(--ink); border-radius: var(--radius-lg); padding: 16px; display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 20px; align-items: center; box-shadow: var(--shadow-tile); }
.qr img { width: 148px; height: 148px; }
.qr__title { font: italic 800 22px/1.1 var(--font-display); margin: 0 0 6px; }
.qr__text { font-size: 15px; line-height: 22px; color: var(--ink-muted); margin: 0; }
.steps--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.steps--four .step { min-height: 280px; }
.step b { font-weight: 700; }
.fineprint { margin: 24px 0 0; color: var(--ink-muted); font-size: 15px; }
.ios { grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 24px; }
.ios > div { display: grid; gap: 10px; max-width: 640px; }
.ios b { color: var(--ink); font-weight: 600; }
@media (max-width: 1024px) { .steps--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 900px) { .dl-art .qr { display: none; } .dl-art { max-width: 360px; } }
@media (max-width: 640px) { .steps--four { grid-template-columns: 1fr; } .steps--four .step { min-height: 200px; } .ios { grid-template-columns: 1fr; } }
.ios .overline { color: var(--vivid-blue); }
