/* Aistis website. Colours are the Aistis design system's tokens
   (design/aistis-palette.json). Marketing follows the design system's rule:
   navy as the ground, teal as the figure, coral as a thin spark (about
   60 : 30 : 10), one look for every visitor. Layout: full-width bands with
   hairlines between them, no rounded cards (only pills, chips and the phone). */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("assets/fonts/archivo-latin-ext-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("assets/fonts/archivo-latin-wdth-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand */
  --brand-teal: #0accb6;
  --brand-navy: #021036;
  --brand-coral: #fd7753;
  --on-brand: #021036;

  /* Grounds: the night sky of the hero, the page, and the alternate band */
  --night: #021036;
  --night-2: #071c4a;
  --ground: #050a1c;
  --ground-2: #0b1430;
  --fill: #18223f;
  --line: #1f2a4a;
  --line-strong: #2e3a5c;

  /* Text on navy: white, grey for the quieter lines */
  --ink: #eef2f8;
  --ink-muted: #aeb7cf;
  --ink-faint: #959eb5;
  --accent: #0accb6;

  /* Teal ramp (dark values) and chart colours */
  --ramp-1: #06362f;
  --ramp-2: #005a4f;
  --ramp-3: #058778;
  --ramp-4: #22b6a3;
  --ramp-5: #60e4cf;
  --ridge-far: #0b2b57;
  --ridge-mid: #07403f;
  --zone-1: #95a0aa;
  --zone-2: #5497d9;
  --zone-3: #5ac576;
  --zone-4: #faca4b;
  --zone-5: #f68c36;
  --zone-6: #e94f55;

  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --wrap: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --band-pad: clamp(64px, 9vw, 120px);

  color-scheme: dark;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; background: var(--ground); }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 18px/1.6 var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--brand-teal); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-stretch: 74%; font-weight: 800; letter-spacing: -0.005em; text-wrap: balance; }
h2 { font-size: clamp(40px, 5.4vw, 72px); line-height: 0.96; }
h3 { font-size: clamp(30px, 3.6vw, 46px); line-height: 1.02; }
p { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--ink-muted); max-width: 34em; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--brand-teal); color: var(--on-brand); font-weight: 700; border-radius: 8px; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons and chips */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 0 26px;
  border-radius: 999px; background: var(--brand-teal); color: var(--on-brand);
  font: 700 17px/1 var(--text); text-decoration: none; white-space: nowrap;
  transition: background-color 0.15s ease, transform 0.15s ease;
}
.button:hover { background: #3fdcc9; }
.button:active { transform: translateY(1px); }
.button-small { min-height: 40px; padding: 0 18px; font-size: 15px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 7px 14px; border-radius: 999px; background: var(--fill); color: var(--ink); font-size: 15px; line-height: 1.3; font-weight: 600; }

/* Top bar: navy glass */
.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(2, 16, 54, 0.82);
  -webkit-backdrop-filter: saturate(140%) blur(14px); backdrop-filter: saturate(140%) blur(14px);
  color: var(--ink);
  transition: box-shadow 0.2s ease;
}
.topbar.is-scrolled { box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08); }
.topbar-inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; text-decoration: none; font-family: var(--display); font-stretch: 100%; font-weight: 700; font-size: 22px; letter-spacing: 0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; gap: 24px; margin-left: 16px; }
.nav a { color: var(--ink-muted); text-decoration: none; font-size: 15px; font-weight: 600; }
.nav a:hover { color: var(--ink); }
.topbar-end { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.langs { display: inline-flex; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 999px; padding: 3px; }
.langs a, .langs span { display: inline-block; min-width: 36px; padding: 4px 8px; border-radius: 999px; text-align: center; font-size: 13px; font-weight: 700; line-height: 1.3; text-decoration: none; }
.langs a { color: var(--ink-muted); }
.langs a:hover { color: var(--ink); }
.langs span { background: var(--brand-teal); color: var(--on-brand); }
.menu-button { display: none; width: 44px; height: 44px; align-items: center; justify-content: center; border: 0; border-radius: 10px; background: transparent; color: var(--ink); cursor: pointer; }

/* Hero: the night over the hills, the phone behind the nearest one */
.hero {
  position: relative; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--night) 0%, var(--night) 35%, var(--night-2) 100%);
  padding: clamp(40px, 6vw, 80px) 0 0;
}
.landscape { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: clamp(230px, 27vw, 390px); }
.landscape-back { z-index: 0; }
.landscape-front { z-index: 2; pointer-events: none; }
.landscape .stars { fill: #d8ecff; opacity: 0.55; }
.landscape .ridge-far { fill: var(--ridge-far); }
.landscape .ridge-mid { fill: var(--ridge-mid); }
.landscape .ridge-crest { fill: none; stroke: var(--brand-teal); stroke-width: 1.4; opacity: 0.55; }
.landscape .ridge-near { fill: var(--ground); }
.landscape .pulse { fill: none; stroke: var(--brand-coral); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
@media (prefers-reduced-motion: no-preference) {
  .landscape .pulse { animation: draw-pulse 2.6s cubic-bezier(0.3, 0.1, 0.2, 1) 0.25s both; }
  @keyframes draw-pulse { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
}
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px; align-items: start; }
.hero-copy { padding-bottom: clamp(200px, 21vw, 290px); }
.hero h1 { font-size: clamp(50px, 6.8vw, 96px); line-height: 0.92; font-stretch: 70%; font-weight: 850; max-width: 9.5em; }
.hero .lead { margin-top: 28px; max-width: 30em; }
.sport-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.sport-pills a {
  display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px;
  border: 1px solid var(--line-strong); border-radius: 999px;
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 600;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}
.sport-pills a:hover { border-color: var(--brand-teal); background: rgba(10, 204, 182, 0.08); }
.sport-pills .icon { width: 20px; height: 20px; color: var(--brand-teal); }
.stores { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 20px; margin-top: 36px; }
.soon { font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.store-badge img { height: 52px; width: auto; }
.hero-phone { display: flex; justify-content: center; padding-top: 56px; }
.hero-phone .phone { width: min(370px, 100%); margin-bottom: -320px; }

/* Phone frame: a phone is round, so it may be. */
.phone { margin: 0; width: 300px; max-width: 100%; padding: 9px; border-radius: 52px; background: #0d0f14; box-shadow: 0 0 0 1.5px #3a4360, 0 40px 90px -24px rgba(0, 0, 0, 0.7), 0 0 120px -40px rgba(10, 204, 182, 0.35); }
.phone-screen { position: relative; overflow: hidden; border-radius: 43px; aspect-ratio: 402 / 874; background: #f2f2f7; }
.phone-screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-island { position: absolute; top: 2.2%; left: 50%; width: 31%; height: 3.6%; transform: translateX(-50%); border-radius: 999px; background: #000; }
.phone-time { position: absolute; top: 2.55%; left: 11%; font: 600 13px/1 var(--text); color: #000; letter-spacing: 0.01em; }

/* Section heads */
.section-head { padding-top: var(--band-pad); padding-bottom: clamp(36px, 4.5vw, 56px); }
.section-head .lead { margin-top: 18px; }

/* Built for your sport: tabs, then the chosen sport's promise and its figure */
.sports { background: var(--ground); padding-bottom: clamp(56px, 7vw, 96px); }
.sports .section-head { padding-top: clamp(48px, 6vw, 80px); }
.sport-tabs { display: flex; gap: 8px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 999px; width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.sport-tabs::-webkit-scrollbar { display: none; }
.sport-tab {
  display: inline-flex; align-items: center; gap: 8px; flex: none;
  min-height: 44px; padding: 0 18px 0 14px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-muted); cursor: pointer;
  font: 600 16px/1 var(--text); white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.sport-tab .icon { width: 20px; height: 20px; }
.sport-tab:hover { color: var(--ink); }
.sport-tab[aria-selected="true"] { background: var(--brand-teal); color: var(--on-brand); }
.sport-panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; padding-top: clamp(40px, 5vw, 64px); }
.sport-panel + .sport-panel { border-top: 1px solid var(--line); margin-top: 48px; }
.js .sport-panel { display: none; }
.js .sport-panel.is-active { display: grid; border-top: 0; margin-top: 0; }
@media (prefers-reduced-motion: no-preference) {
  .js .sport-panel.is-active { animation: panel-in 0.35s ease both; }
  @keyframes panel-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
}
.sport-copy h3 { font-size: clamp(34px, 4.2vw, 54px); }
.sport-copy .lead { margin-top: 16px; }
.proofs { display: grid; gap: 0; margin-top: 28px; }
.proofs li { display: grid; gap: 4px; padding: 16px 0 16px 22px; border-top: 1px solid var(--line); position: relative; }
.proofs li::before { content: ""; position: absolute; left: 0; top: 24px; width: 8px; height: 8px; border-radius: 50%; background: var(--brand-teal); }
.proofs strong { font-weight: 700; font-size: 18px; }
.proofs span { color: var(--ink-muted); font-size: 17px; }
.sport-figure { margin: 0; padding: clamp(20px, 3vw, 32px); border: 1px solid var(--line-strong); background: linear-gradient(180deg, var(--ground-2), var(--ground)); }

/* Sport figures: drawn to scale, words from the page's language */
.fig { width: 100%; height: auto; overflow: visible; font-family: var(--text); }
.fig text { fill: var(--ink-muted); font-size: 14px; }
.fig .fig-label { fill: var(--ink-muted); font-size: 16px; font-weight: 600; }
.fig .fig-value { fill: var(--ink); font: 800 22px var(--display); font-stretch: 80%; text-anchor: end; }
.fig .fig-big { fill: var(--ink); font: 850 76px var(--display); font-stretch: 70%; font-variant-numeric: tabular-nums; }
.fig .fig-sub { fill: var(--ink); font-size: 22px; font-weight: 600; font-variant-numeric: tabular-nums; }
.fig .fig-note { text-anchor: end; font-size: 15px; }
.fig .fig-chip { fill: var(--brand-teal); }
.fig .fig-chip-text { fill: var(--on-brand); font-size: 15px; font-weight: 700; text-anchor: middle; }
.fig .fig-phase { fill: var(--ramp-2); }
.fig .fig-phase-1 { fill: var(--ramp-3); }
.fig .fig-phase-2 { fill: var(--ramp-4); }
.fig .fig-phase-3 { fill: var(--ramp-5); }
.fig .fig-tick { font-size: 13px; fill: var(--ink-faint); }
.fig .fig-tick-mid { text-anchor: middle; }
.fig .fig-tick-end { text-anchor: end; font-variant-numeric: tabular-nums; }
.fig .fig-now { stroke: var(--brand-coral); stroke-width: 3; stroke-linecap: round; }
.fig .fig-now-label { fill: var(--ink); font-size: 13px; font-weight: 700; text-anchor: middle; }
.fig .fig-area { fill: var(--ramp-1); }
.fig .fig-climb { fill: var(--ramp-3); opacity: 0.85; }
.fig .fig-line { fill: none; stroke: var(--ramp-5); stroke-width: 2; stroke-linejoin: round; }
.fig .fig-axis, .fig .fig-grid { stroke: var(--line-strong); stroke-width: 1; }
.fig .fig-grid { stroke-dasharray: 3 4; }
.fig .fig-leader { stroke: var(--ink-muted); stroke-width: 1.2; }
.fig .fig-callout { fill: var(--ink); font-size: 14px; font-weight: 700; }
.fig .fig-callout-end { text-anchor: end; }
.fig .fig-callout-mid { text-anchor: middle; }
.fig .fig-title { fill: var(--ink); font: 800 22px var(--display); font-stretch: 80%; }
.fig .fig-brick { fill: rgba(10, 204, 182, 0.12); stroke: var(--brand-teal); stroke-width: 1; }
.fig .fig-day { fill: var(--ink-muted); font-size: 14px; font-weight: 700; text-anchor: middle; }
.fig .fig-icon { color: var(--brand-teal); fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fig .fig-minutes { fill: var(--ink); font-size: 14px; font-weight: 600; text-anchor: middle; font-variant-numeric: tabular-nums; }
.fig .fig-arrow { fill: var(--brand-teal); font-size: 16px; font-weight: 700; text-anchor: middle; }
.fig .fig-css { stroke: var(--brand-teal); stroke-width: 1.5; stroke-dasharray: 6 5; }
.fig .fig-css-label { fill: var(--accent); font-size: 13px; font-weight: 700; text-anchor: end; }
.fig .fig-stem { stroke: var(--ramp-3); stroke-width: 2; }
.fig .fig-dot { fill: var(--ground-2); stroke: var(--ramp-5); stroke-width: 2; }
.fig .fig-dot-last { fill: var(--brand-coral); stroke: var(--ground-2); stroke-width: 3; }
.fig .fig-zone-1 { fill: var(--zone-1); } .fig .fig-zone-2 { fill: var(--zone-2); } .fig .fig-zone-3 { fill: var(--zone-3); }
.fig .fig-zone-4 { fill: var(--zone-4); } .fig .fig-zone-5 { fill: var(--zone-5); } .fig .fig-zone-6 { fill: var(--zone-6); }
.fig .fig-row { fill: var(--ink); font-size: 15px; font-weight: 600; }
.fig .fig-row-value { text-anchor: end; fill: var(--ink-muted); font-variant-numeric: tabular-nums; }

/* A day with Aistis: night, morning, after training */
.day { background: var(--ground); }
.day { border-top: 1px solid var(--line); }
.day .section-head { padding-top: clamp(56px, 7vw, 96px); }
.day-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line); }
.day-part { padding: clamp(36px, 4vw, 56px) clamp(20px, 3vw, 44px) clamp(44px, 5vw, 68px); }
.day-inner { max-width: 360px; margin: 0 auto; }
.day-night { background: var(--night); }
.day-morning { background: var(--brand-teal); color: var(--on-brand); }
.day-after { background: var(--ground-2); }
.day-animal { width: 196px; margin: 0 0 18px -8px; }
.when { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 700; margin-bottom: 10px; color: var(--brand-teal); }
.day-morning .when { color: var(--on-brand); }
.day-part h3 { font-size: clamp(28px, 2.6vw, 36px); margin-bottom: 12px; }
.day-part p:last-child { color: var(--ink-muted); }
.day-morning p:last-child { color: var(--on-brand); opacity: 0.85; }

/* Feature bands: full width, a hairline between them, no cards. */
.features { background: var(--ground); }
.band { border-top: 1px solid var(--line); background: var(--ground-2); overflow: hidden; }
.band:nth-of-type(even) { background: var(--ground); }
.band-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.band-copy { padding: var(--band-pad) 0; }
.band-copy h3 { margin-bottom: 20px; }
.band-copy p { max-width: 32em; color: var(--ink-muted); }
.band-copy .chips { margin-top: 26px; }
.band-flip .band-copy { order: 2; }
.band-picture { margin: 0; display: flex; justify-content: center; }
.band-phone { align-self: end; height: clamp(420px, 44vw, 560px); clip-path: inset(-200px -200px 0 -200px); align-items: flex-start; padding-top: 56px; }
.band-phone .phone { width: min(310px, 100%); }

/* HRV against your own usual: the idea behind readiness, drawn small */
.hrv { flex-direction: column; align-items: stretch; gap: 14px; width: 100%; max-width: 480px; justify-self: center; padding: 56px 0; }
.hrv-title { font-size: 15px; font-weight: 700; color: var(--ink-muted); }
.hrv-chart { width: 100%; height: auto; overflow: visible; }
.hrv-grid line { stroke: var(--line-strong); stroke-width: 1; stroke-dasharray: 3 4; }
.hrv-ticks text { fill: var(--ink-faint); font: 500 12px var(--text); text-anchor: end; font-variant-numeric: tabular-nums; }
.hrv-usual { fill: var(--ramp-1); }
.hrv-usual-label { fill: var(--accent); font: 700 13px var(--text); text-anchor: end; }
.hrv-line { fill: none; stroke: var(--ink-muted); stroke-width: 2; stroke-linejoin: round; }
.hrv-dot { fill: var(--ground-2); stroke: var(--ink-muted); stroke-width: 2; }
.hrv-today { fill: var(--brand-coral); stroke: var(--ground-2); stroke-width: 3; }
.hrv-today-label { fill: var(--ink); font: 800 15px var(--text); text-anchor: end; font-variant-numeric: tabular-nums; }
.chips-drivers { justify-content: flex-start; }

/* Weekly podium */
.podium { align-items: flex-end; gap: 10px; padding-top: 72px; }
.step { display: flex; flex-direction: column; align-items: center; width: clamp(110px, 12vw, 150px); }
.step img { width: 100%; margin-bottom: -6px; }
.step .block { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; width: 100%; padding-top: 14px; background: var(--fill); }
.step-1 .block { height: 190px; background: var(--brand-teal); color: var(--on-brand); }
.step-2 .block { height: 140px; }
.step-3 .block { height: 104px; }
.place { font: 850 46px/1 var(--display); font-stretch: 72%; }
.hours { margin-top: 4px; font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; opacity: 0.8; }

/* Companion */
.band-companion .band-copy-wide { padding-bottom: 40px; }
.herd { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); align-items: end; gap: clamp(8px, 2vw, 24px); margin-bottom: var(--band-pad); position: relative; }
.herd::after { content: ""; position: absolute; left: 0; right: 0; bottom: 34px; border-top: 2px solid var(--line-strong); }
.herd li { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.herd img { width: calc(100% * var(--size)); margin-bottom: -4px; }
.herd .size-1 { --size: 0.5; } .herd .size-2 { --size: 0.62; } .herd .size-3 { --size: 0.74; } .herd .size-4 { --size: 0.87; } .herd .size-5 { --size: 1; }
.herd span { font-size: 15px; font-weight: 600; color: var(--ink-muted); }

/* And more: a grid divided by hairlines */
.more { background: var(--ground-2); border-top: 1px solid var(--line); padding: var(--band-pad) 0; }
.more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: clamp(32px, 4vw, 48px); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.more-grid li { padding: 28px 28px 34px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.more-grid .icon { width: 30px; height: 30px; color: var(--brand-teal); margin-bottom: 16px; }
.more-grid h3 { font-size: 26px; margin-bottom: 8px; }
.more-grid p { color: var(--ink-muted); font-size: 17px; }

/* Devices and privacy */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.devices { background: var(--ground); border-top: 1px solid var(--line); padding: var(--band-pad) 0; }
.devices .lead { margin-top: 20px; }
.device-list > div { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 4px 24px; padding: 20px 0; border-top: 1px solid var(--line); }
.device-list > div:last-child { border-bottom: 1px solid var(--line); }
.device-list dt { display: flex; align-items: center; gap: 12px; font-weight: 700; }
.device-list dt .icon { color: var(--brand-teal); }
.device-list dd { color: var(--ink-muted); }
.privacy { background: var(--ground-2); border-top: 1px solid var(--line); padding: var(--band-pad) 0; }
.privacy-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; font-weight: 600; }
.checks li { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); font-size: 19px; font-weight: 500; }
.checks li:last-child { border-bottom: 1px solid var(--line); }
.checks .icon { color: var(--brand-teal); margin-top: 3px; stroke-width: 2.4; }

/* Questions */
.faq { background: var(--ground); border-top: 1px solid var(--line); padding: var(--band-pad) 0; }
.faq-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(32px, 6vw, 88px); margin-top: clamp(32px, 4vw, 48px); }
.faq-list > div { padding: 26px 0 30px; border-top: 1px solid var(--line); }
.faq-list dt { font-weight: 700; font-size: 19px; margin-bottom: 8px; }
.faq-list dd { color: var(--ink-muted); }

/* Closing call to action */
.cta { background: var(--night); border-top: 1px solid var(--line); padding: var(--band-pad) 0; text-align: left; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, transparent 0%, var(--brand-coral) 50%, transparent 100%); opacity: 0.8; }
.cta-inner { display: grid; gap: 20px; }
.cta h2 { font-size: clamp(44px, 6.2vw, 88px); font-stretch: 70%; max-width: 12em; }
.cta .stores { margin-top: 12px; }

/* Footer */
.footer { background: var(--ground); color: var(--ink); padding: 64px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.footer-brand p { margin-top: 12px; color: var(--ink-muted); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--ink); text-decoration: none; font-weight: 600; }
.footer-links a:hover { text-decoration: underline; }
.footer-small { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-muted); font-size: 14px; }
.footer-small .langs { margin-left: auto; }

/* Narrow screens */
@media (max-width: 960px) {
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; margin: 0; padding: 8px var(--gutter) 16px; background: var(--night); box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35); }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 0; font-size: 17px; border-top: 1px solid rgba(255, 255, 255, 0.08); }
  .menu-button { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 0; }
  .hero-phone { padding: 0; }
  .hero-phone .phone { width: min(300px, 80vw); margin-bottom: -250px; margin-top: 24px; }
  .hero { padding-bottom: 0; }
  .landscape { height: 260px; }
  .landscape-front { z-index: 0; }
  .sport-panel { grid-template-columns: 1fr; gap: 28px; }
  .day-parts { grid-template-columns: 1fr; }
  .day-inner { max-width: 520px; margin: 0; }
  .band-grid, .split { grid-template-columns: 1fr; gap: 0; }
  .band-flip .band-copy { order: 0; }
  .band-copy { padding: 64px 0 36px; }
  .band-phone { height: 440px; padding-top: 0; }
  .hrv { padding: 0 0 64px; }
  .podium { padding: 8px 0 0; }
  .more-grid, .faq-list { grid-template-columns: 1fr 1fr; }
  .devices .lead { margin-bottom: 32px; }
  .privacy .checks { margin-top: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-small .langs { margin-left: 0; }
}
@media (max-width: 600px) {
  body { font-size: 17px; }
  .topbar-cta { display: none; }
  .hero h1 { font-size: clamp(44px, 13vw, 60px); }
  .sport-tabs { width: 100%; border-radius: 26px; -webkit-mask-image: linear-gradient(90deg, #000 82%, transparent); mask-image: linear-gradient(90deg, #000 82%, transparent); }
  .more-grid, .faq-list { grid-template-columns: 1fr; }
  .device-list > div { grid-template-columns: 1fr; }
  .herd { gap: 4px; }
  .herd img { width: calc(100% * (0.45 + var(--size) * 0.55)); }
  .herd span { font-size: 12px; }
  .step { width: 30%; }
  .step-1 .block { height: 150px; }
  .step-2 .block { height: 112px; }
  .step-3 .block { height: 84px; }
  .stores .button { width: 100%; }
  .sport-figure { padding: 16px; }
  .fig text { font-size: 17px; }
  .fig .fig-label, .fig .fig-row, .fig .fig-callout, .fig .fig-css-label, .fig .fig-chip-text { font-size: 18px; }
  .fig .fig-tick, .fig .fig-now-label, .fig .fig-day, .fig .fig-minutes { font-size: 16px; }
  .fig .fig-value, .fig .fig-title { font-size: 26px; }
}

/* Coming soon (site.json "mode": "soon") and the 404 pages: one screen of the
   hero's night, the ridge and the pulse along the bottom. */
.soon-page {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; overflow: hidden; isolation: isolate;
  background: linear-gradient(180deg, var(--night) 0%, var(--night) 40%, var(--night-2) 100%);
}
.soon-top { position: relative; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 76px; }
.soon-main { position: relative; z-index: 1; flex: 1; padding-top: clamp(24px, 7vh, 88px); padding-bottom: calc(clamp(230px, 27vw, 390px) + 32px); }
.soon-status { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--ink-muted); }
.soon-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-coral); box-shadow: 0 0 0 4px rgba(253, 119, 83, 0.18); }
.soon-main h1 { margin-top: 20px; font-size: clamp(50px, 7.4vw, 104px); line-height: 0.92; font-stretch: 70%; font-weight: 850; max-width: 9.5em; }
.soon-main .lead { margin-top: 24px; max-width: 32em; }
.soon-sports { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.soon-sports li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 11px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; font-weight: 600; line-height: 1.3; }
.soon-sports .icon { width: 20px; height: 20px; color: var(--brand-teal); }
.soon-action { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; margin-top: 36px; }
.soon-mail { font-size: 15px; color: var(--ink-muted); }
.soon-mail a { color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.soon-foot {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 0px));
  font-size: 14px; color: var(--ink-muted);
}
.soon-foot a { color: var(--ink-muted); }
.soon-foot a:hover { color: var(--ink); }
@media (max-width: 960px) {
  .soon-main { padding-bottom: calc(260px + 32px); }
}
@media (max-width: 600px) {
  .soon-main h1 { font-size: clamp(44px, 13vw, 60px); }
  .soon-action .button { width: 100%; }
}
