@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("/assets/fonts/bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --background: #0b0f1a;
  --text: #f5f7fb;
  --secondary: #adb5c3;
  --line: #292f3b;
  --orange: #f0803c;
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; background: var(--background); color: var(--text); }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--orange); }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
.shell { width: min(1160px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 50; padding: 12px; background: var(--text); color: var(--background); }
.skip-link:focus { top: 12px; }

.app-strip { display: none; position: sticky; z-index: 30; top: 0; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding: 10px 20px; border-bottom: 1px solid var(--line); background: #141923; text-decoration: none; }
.app-banner-fallback .app-strip { display: flex; }
.app-strip-label { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.app-strip-label strong { font-size: 14px; font-weight: 700; }
.app-strip-label small { color: var(--secondary); font-size: 11px; line-height: 1.45; }
.app-strip-action { flex: 0 0 auto; color: var(--orange); font-size: 12px; line-height: 1.5; }

/* Navigation stays separate from the full-width artwork. */
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 84px; }
.brand { font-size: 27px; font-weight: 700; letter-spacing: -.055em; text-decoration: none; }
.brand span { color: var(--orange); }
.language-menu { position: relative; z-index: 20; font-size: 14px; }
.language-menu summary { display: flex; align-items: center; gap: 14px; padding: 12px 0 12px 12px; cursor: pointer; list-style: none; }
.language-menu summary::-webkit-details-marker { display: none; }
.language-menu summary::after { content: ""; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.language-menu ul { position: absolute; right: -12px; top: 100%; min-width: 170px; margin: 0; padding: 8px; list-style: none; background: #151b27; border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px #0004; }
.language-menu a { display: block; padding: 10px 12px; text-decoration: none; }
.language-menu a[aria-current="page"] { color: var(--orange); }

/* The background fills the banner; real device screens fit independently. */
.hero-art { --banner-height: clamp(280px, 38svh, 360px); position: relative; isolation: isolate; width: 100%; height: var(--banner-height); overflow: hidden; background: #101d2b; }
.hero-art > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 66%; }
.hero-art::before { content: ""; position: absolute; inset: 0; z-index: -1; background: #060c1b42; }
.banner-content { display: grid; grid-template-rows: 32px minmax(0, 1fr); justify-items: center; gap: 14px; height: 100%; padding: 18px 16px 22px; }
.banner-title { margin: 0; font-size: 30px; font-weight: 700; line-height: 32px; letter-spacing: -.035em; white-space: nowrap; }
.banner-title span:first-child { color: #ff863e; }
.banner-title span:nth-child(2) { color: #ffbd57; }
.banner-phones { display: flex; align-items: center; justify-content: center; gap: 24px; min-height: 0; width: 100%; }
.banner-phone { flex: 0 0 auto; width: calc((var(--banner-height) - 96px) * 390 / 844 + 10px); }
.banner-phone .iphone { padding: 5px; }
.banner-phone .iphone::before { inset: 1px; }
.banner-phone .iphone-notch { border-radius: 0 0 6px 6px; }
.banner-phone .iphone-notch::after { width: 2px; height: 2px; }
.banner-phone .iphone-speaker { top: 2px; height: 1px; }
.banner-phone .iphone-control { width: 2px; }
.banner-phone .iphone-control:not(.iphone-power) { left: -1px; }
.banner-phone .iphone-power { right: -1px; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) 250px; align-items: center; gap: 104px; padding-top: 40px; padding-bottom: 56px; }
h1 { margin: 0; font-size: clamp(52px, 5.4vw, 72px); font-weight: 700; line-height: 1.04; letter-spacing: -.055em; }
h1 span { display: block; }
h1 .accent { color: var(--orange); }
.intro { max-width: 615px; margin: 24px 0 0; font-size: 20px; line-height: 1.65; color: var(--secondary); }
.sports { display: flex; flex-wrap: wrap; gap: 6px 0; padding: 0; margin: 23px 0 0; list-style: none; color: var(--secondary); font-size: 13px; line-height: 1.6; }
.sports li:not(:last-child)::after { content: "/"; margin-inline: 11px; color: #737d8e; }
.desktop-download { justify-self: end; width: 230px; padding-left: 28px; border-left: 1px solid var(--line); }
.qr-link { display: block; width: 156px; border-radius: 7px; background: #fff; }
.qr-link img { width: 156px; height: 156px; border-radius: inherit; }
.download-title { margin: 19px 0 7px; font-size: 17px; line-height: 1.45; font-weight: 700; }
.download-hint { margin: 0; font-size: 14px; color: var(--secondary); line-height: 1.65; }
.requirements { margin: 11px 0 0; color: var(--secondary); font-size: 12px; line-height: 1.5; }
.mobile-requirements { display: none; }

/* Each feature keeps its heading, explanation and screen together. */
.screenshots { padding: 52px 0 100px; border-top: 1px solid var(--line); }
.screenshot-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px 56px; }
.feature { display: grid; grid-template-rows: subgrid; grid-row: span 2; gap: 30px; min-width: 0; }
.feature-copy { width: 100%; max-width: 335px; min-height: 112px; margin-inline: auto; text-align: center; }
.feature h2 { margin: 0 0 13px; font-size: 28px; font-weight: 700; line-height: 1.15; letter-spacing: -.04em; overflow-wrap: anywhere; }
.feature-copy p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--secondary); }
.phone-preview { appearance: none; display: block; width: min(calc(100% - 12px), 300px); padding: 0; margin-inline: auto; border: 0; border-radius: 16% / 7.5%; background: transparent; color: inherit; cursor: zoom-in; text-align: initial; align-self: start; -webkit-tap-highlight-color: transparent; }
.phone-preview:focus-visible { outline-offset: 10px; }

/* Physical frame only: the real screen already includes its status bar. */
.iphone { position: relative; isolation: isolate; display: block; width: 100%; padding: 10px; border-radius: 15.5% / 7.4%; background: linear-gradient(115deg, #878b92 0%, #444850 4%, #202329 17%, #34373d 70%, #70747c 96%, #92969d 100%); box-shadow: inset 0 0 0 1px #a6aab459, 0 2px 3px #0009, 0 28px 46px -18px #000b; }
.iphone::before { content: ""; position: absolute; inset: 2px; z-index: -1; border: 1px solid #363a43; border-radius: 15.1% / 7.2%; background: #06080b; }
.iphone::after { content: ""; position: absolute; top: 12%; bottom: 12%; right: 1px; width: 1px; background: linear-gradient(transparent, #d3d7de6b 22%, #fff1 70%, transparent); pointer-events: none; }
.iphone-screen { position: relative; display: block; aspect-ratio: 390 / 844; overflow: hidden; border-radius: 13% / 6%; background: var(--background); box-shadow: 0 0 0 2px #020305; }
.iphone-screen > img { width: 100%; height: 100%; object-fit: contain; border-radius: 0; }
.iphone-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 35.5%; height: 3.45%; border-radius: 0 0 13px 13px; background: #050608; box-shadow: 0 1px 0 #0008; pointer-events: none; }
.iphone-notch::before { content: ""; position: absolute; left: -7px; top: 0; width: 8px; height: 8px; background: radial-gradient(circle at 0 100%, transparent 7px, #050608 7.5px); }
.iphone-notch::after { content: ""; position: absolute; right: 16%; top: 34%; width: 4px; height: 4px; border-radius: 50%; background: radial-gradient(circle at 45% 35%, #243c54, #10151f 50%, #030507 75%); box-shadow: 0 0 0 1px #151a21; }
.iphone-speaker { position: absolute; z-index: 2; top: 5px; left: 42%; width: 16%; height: 2px; border-radius: 2px; background: #020305; box-shadow: 0 1px 0 #282b31; pointer-events: none; }
.iphone-control { position: absolute; z-index: -1; display: block; width: 3px; border-radius: 2px; background: linear-gradient(90deg, #1b1e25, #787d85, #383d45); box-shadow: 0 1px 1px #0008; }
.iphone-silent { top: 15.5%; left: -2px; height: 3.4%; }
.iphone-volume-up { top: 22.5%; left: -2px; height: 6.2%; }
.iphone-volume-down { top: 30.8%; left: -2px; height: 6.2%; }
.iphone-power { top: 25.5%; right: -2px; height: 10%; }

.how-it-works { padding-top: 47px; padding-bottom: 48px; border-top: 1px solid var(--line); }
.section-title { max-width: 700px; margin: 0 0 39px; font-size: 32px; font-weight: 700; line-height: 1.2; letter-spacing: -.04em; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; }
.steps li::before { content: "0" counter(step); display: block; margin-bottom: 18px; color: var(--orange); font-size: 13px; font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.3; font-weight: 700; letter-spacing: -.025em; }
.steps p { margin: 0; color: var(--secondary); font-size: 15px; line-height: 1.7; }
.privacy-note { padding-top: 27px; padding-bottom: 27px; margin-top: 0; margin-bottom: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--secondary); font-size: 15px; line-height: 1.6; }
.footer { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 20px; padding-top: 27px; padding-bottom: 30px; font-size: 13px; color: var(--secondary); }
.footer p { margin: 0; }
.footer nav { display: flex; flex-wrap: wrap; gap: 12px 24px; }
.footer a { text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.text-button { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-decoration: underline; text-underline-offset: 4px; }

.preview-open { overflow: hidden; }
.screenshot-dialog { width: min(480px, calc((100dvh - 92px) * 390 / 844), calc(100vw - 32px)); max-width: calc(100vw - 32px); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid #3b424f; border-radius: 13px; background: #101520; color: var(--text); box-shadow: 0 20px 90px #0008; }
.screenshot-dialog::backdrop { background: #03060bd9; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 8px 10px 8px 18px; }
.preview-toolbar h2 { margin: 0; font-size: 15px; font-weight: 400; }
.preview-close { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 6px; background: transparent; color: var(--text); }
.preview-close:hover { background: #ffffff0d; }
.preview-image { width: 100%; height: auto; max-height: calc(100dvh - 92px); object-fit: contain; margin-inline: auto; }
.consent { position: fixed; z-index: 40; bottom: 16px; right: 16px; width: min(440px, calc(100% - 32px)); padding: 22px; border: 1px solid #48505f; background: #151a25; border-radius: 8px; box-shadow: 0 8px 40px #0006; }
.consent p { margin: 0 0 18px; color: var(--text); font-size: 14px; line-height: 1.6; }
.consent-actions { display: flex; gap: 24px; }
.error-page { min-height: 65vh; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 30px; }
.error-page h1 { font-size: clamp(38px, 7vw, 70px); }

@media (max-width: 1100px) {
  .screenshot-gallery { column-gap: 36px; }
  .feature h2 { font-size: 25px; }
  .feature-copy p { font-size: 15px; }
  .hero { gap: 64px; }
}
@media (max-width: 900px) {
  .shell { width: calc(100% - 64px); }
  .hero { grid-template-columns: minmax(0, 1fr) 200px; gap: 44px; padding-block: 40px 48px; }
  h1 { font-size: 59px; }
  .intro { font-size: 18px; }
  .desktop-download { width: 200px; padding-left: 22px; }
  .qr-link, .qr-link img { width: 148px; height: 148px; }
  .screenshot-gallery { grid-template-columns: 1fr; row-gap: 76px; }
  .feature { grid-template-columns: minmax(0, 1fr) 280px; grid-template-rows: auto; grid-row: auto; gap: 44px; align-items: center; }
  .phone-preview { width: calc(100% - 12px); }
  .feature-copy { min-height: 0; }
  .feature h2 { font-size: 31px; }
  .feature-copy p { font-size: 17px; }
  .steps { gap: 28px; }
  .steps h3 { font-size: 18px; }
}
@media (max-width: 640px) {
  .shell { width: calc(100% - 40px); }
  .masthead { min-height: 72px; }
  .brand { font-size: 25px; }
  .hero-art { --banner-height: 260px; }
  .hero-art > img { object-position: center 70%; }
  .banner-title { font-size: clamp(17px, 5vw, 23px); }
  .banner-phones { gap: 12px; }
  .hero { grid-template-columns: 1fr; padding-top: 36px; padding-bottom: 38px; }
  h1 { font-size: clamp(47px, 12vw, 64px); }
  .intro { margin-top: 21px; font-size: 17px; line-height: 1.7; }
  .sports { margin-top: 20px; font-size: 12px; }
  .sports li:not(:last-child)::after { margin-inline: 8px; }
  .desktop-download { display: none; }
  .mobile-requirements { display: block; margin-top: 21px; }
  .screenshots { padding-top: 37px; padding-bottom: 64px; }
  .screenshot-gallery { row-gap: 62px; }
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature-copy { max-width: 100%; }
  .feature h2 { font-size: 29px; margin-bottom: 11px; }
  .feature-copy p { font-size: 16px; }
  .phone-preview { width: min(290px, calc(100% - 24px)); }
  .how-it-works { padding-top: 32px; padding-bottom: 34px; }
  .section-title { font-size: 29px; margin-bottom: 29px; }
  .steps { grid-template-columns: 1fr; gap: 25px; }
  .steps li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 0 12px; }
  .steps li::before { grid-row: 1 / 3; margin: 2px 0 0; }
  .steps h3 { font-size: 19px; }
  .steps p { grid-column: 2; }
  .privacy-note { padding-block: 24px; font-size: 14px; }
  .footer { flex-direction: column; gap: 15px; padding-block: 23px 28px; }
}
.handheld .desktop-download { display: none; }
.handheld .mobile-requirements { display: block; }
.handheld .hero { grid-template-columns: 1fr; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@supports not (grid-template-rows: subgrid) {
  @media (min-width: 901px) {
    .feature { display: flex; flex-direction: column; }
    .feature-copy { min-height: 180px; }
  }
}
