/* PISTEBOUND. The page wears the app's own iOS dark palette: black canvas, #1C1C1E
   surfaces, #0A84FF accent. Type is San Francisco where the reader's system has it. */

:root {
  --canvas: #000;
  --surface: #1c1c1e;
  --surface-2: #2c2c2e;
  --surface-3: #3a3a3c;
  --ink: #f5f5f7;
  --ink-2: #a1a1a6;
  --ink-3: #8e8e93;
  --separator: rgba(84, 84, 88, 0.55);
  --accent: #0a84ff;
  --green: #30d158;
  --red: #ff453a;
  --amber: #ff9f0a;
  --band-easy: #2c6bed;
  --band-brisk: #ffa61a;
  --band-fast: #d63831;
  --radius-card: 28px;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Inter', system-ui, sans-serif;
  --display: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--canvas);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.47;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  font-optical-sizing: auto;
}

img,
svg,
canvas {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: 10px;
  background: var(--accent);
}

.skip:focus {
  left: 12px;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 8px;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ------------------------------------------------------------------ navigation */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: 52px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
  transition: background 0.3s;
}

.nav-inner {
  height: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 28px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.mark {
  height: 14px;
  width: auto;
  fill: currentColor;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  gap: 24px;
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-2);
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-end {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang {
  display: flex;
  padding: 2px;
  border-radius: 9px;
  background: rgba(118, 118, 128, 0.24);
}

.lang button {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 7px;
  color: var(--ink-2);
}

.lang button[aria-pressed='true'] {
  background: #636366;
  color: #fff;
}

.nav-cta {
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 980px;
  /* Apple's link blue: white 12px text on it passes 4.5:1, which #0a84ff does not. */
  background: #0071e3;
  color: #fff;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .nav-links {
    display: none;
  }
  .nav-end {
    margin-left: auto;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  height: 210vh;
}

.hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 48px;
  padding: 64px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 0;
}

.hero-relief,
.hero-contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: calc(0.55 - var(--p, 0) * 0.35);
  transform: scale(calc(1.08 + var(--p, 0) * 0.12));
  transform-origin: 70% 40%;
}

.hero-contours {
  opacity: calc(0.35 - var(--p, 0) * 0.2);
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 0.5;
  fill: none;
}

.hero-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 70% at 75% 10%, rgba(10, 132, 255, 0.18), transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.1) 35%, rgba(0, 0, 0, 0.75) 80%, #000 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.35) 45%, rgba(0, 0, 0, 0) 70%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 700px;
  transform: translateY(calc(var(--p, 0) * -60px));
  opacity: calc(1 - var(--p, 0) * 1.4);
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0;
}

.hero-title {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 1.03;
  letter-spacing: -0.035em;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  background: linear-gradient(90deg, #fff 0%, #9fd0ff 45%, #0a84ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  margin: 26px 0 0;
  max-width: 540px;
  font-size: clamp(18px, 1.6vw, 21px);
  line-height: 1.42;
  color: var(--ink-2);
}

.hero-actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 22px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border-radius: 980px;
  background: rgba(255, 255, 255, 0.08);
  border: 0.5px solid rgba(255, 255, 255, 0.14);
  font-size: 15px;
  font-weight: 600;
}

.pill-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(48, 209, 88, 0.18);
}

.text-link {
  color: var(--accent);
  font-size: 17px;
}

.text-link:hover {
  text-decoration: underline;
}

.hero-device {
  position: relative;
  z-index: 2;
  transform:
    translateY(calc(var(--p, 0) * -40px))
    scale(calc(1 - var(--p, 0) * 0.06))
    rotate(calc(var(--p, 0) * -2deg));
}

@media (max-width: 900px) {
  .hero {
    height: auto;
  }
  .hero-sticky {
    position: relative;
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 110px;
    padding-bottom: 56px;
    justify-items: center;
    text-align: center;
  }
  .hero-copy {
    transform: none;
    opacity: 1;
  }
  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-device {
    transform: none;
  }
}

/* ------------------------------------------------------------------ iPhone */

.iphone {
  --w: 320px;
  width: var(--w);
  aspect-ratio: 393 / 852;
  border-radius: calc(var(--w) * 0.168);
  padding: calc(var(--w) * 0.032);
  position: relative;
  background:
    linear-gradient(145deg, #5b5e63 0%, #2b2d31 18%, #3c3f44 50%, #26282b 82%, #56595e 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.18),
    inset 0 0 0 3px #101113,
    0 40px 80px -20px rgba(0, 0, 0, 0.9),
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 30px 120px -40px rgba(10, 132, 255, 0.35);
  flex-shrink: 0;
}

.iphone::before,
.iphone::after {
  content: '';
  position: absolute;
  left: -2.5px;
  width: 3px;
  border-radius: 2px 0 0 2px;
  background: linear-gradient(90deg, #2a2c30, #6a6d72);
}

.iphone::before {
  top: 21%;
  height: 7%;
}

.iphone::after {
  top: 30%;
  height: 7%;
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--w) * 0.138);
  overflow: hidden;
  background: #000;
  font-size: calc(var(--w) * 0.0405);
  isolation: isolate;
}

.hero .iphone {
  --w: clamp(270px, 25vw, 340px);
}

.island {
  position: absolute;
  z-index: 20;
  top: 3%;
  left: 50%;
  width: 31%;
  height: 4.3%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4%;
}

.island.live {
  width: 44%;
}

.island-mark {
  height: 0.62em;
  fill: #fff;
}

.island-right {
  color: var(--band-brisk);
  font-weight: 700;
  font-size: 0.8em;
  font-variant-numeric: tabular-nums;
}

.status {
  position: absolute;
  z-index: 15;
  top: 3.6%;
  left: 9%;
  right: 8%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 0.95em;
  pointer-events: none;
}

.status-icons {
  display: flex;
  gap: 0.35em;
  align-items: center;
}

.status-icons i {
  display: block;
  background: #fff;
}

.sig {
  width: 1.1em;
  height: 0.7em;
  clip-path: polygon(0 100%, 22% 100%, 22% 70%, 0 70%, 0 100%, 26% 100%, 26% 55%, 48% 55%, 48% 100%, 52% 100%, 52% 30%, 74% 30%, 74% 100%, 78% 100%, 78% 0, 100% 0, 100% 100%);
}

.wifi {
  width: 1em;
  height: 0.72em;
  clip-path: polygon(50% 100%, 0 30%, 15% 12%, 50% 0, 85% 12%, 100% 30%);
}

.bat {
  width: 1.6em;
  height: 0.75em;
  border-radius: 0.2em;
  box-shadow: inset 0 0 0 0.1em #fff;
  background: linear-gradient(90deg, #fff 72%, transparent 72%) !important;
  opacity: 0.95;
}

.home-bar {
  position: absolute;
  z-index: 30;
  bottom: 1.2%;
  left: 50%;
  width: 36%;
  height: 0.55%;
  transform: translateX(-50%);
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.85);
}

.screen-map,
.day-map,
.crew-map {
  position: absolute;
  inset: 0;
}

.screen-map canvas,
.day-map canvas,
.crew-map canvas,
.replay-map canvas,
.mountain-map canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.screen-map svg,
.day-map svg,
.crew-map svg,
.replay-map svg,
.mountain-map svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gps-pill,
.seen-pill {
  position: absolute;
  z-index: 12;
  top: 9.5%;
  left: 5%;
  display: flex;
  align-items: center;
  gap: 0.4em;
  padding: 0.45em 0.85em;
  border-radius: 99px;
  background: rgba(28, 28, 30, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.78em;
  font-weight: 600;
}

.gps-dot {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--green);
}

.live-panel {
  position: absolute;
  z-index: 12;
  left: 3.5%;
  right: 3.5%;
  bottom: 3.2%;
  padding: 4.5% 5% 4%;
  border-radius: 1.6em;
  background: rgba(28, 28, 30, 0.88);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 0 0 0.5px rgba(255, 255, 255, 0.08);
}

.live-head {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-size: 0.82em;
  font-weight: 600;
  color: var(--ink-2);
}

.rec-dot {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--red);
  animation: breathe 1.8s ease-in-out infinite;
}

@keyframes breathe {
  50% {
    opacity: 0.35;
    transform: scale(0.8);
  }
}

.live-clock {
  margin-left: auto;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.live-figures {
  margin-top: 0.8em;
  display: grid;
  grid-template-columns: 0.7fr 1.25fr 1fr;
  gap: 0.4em;
}

.live-figures b {
  display: block;
  font-family: var(--display);
  font-size: 1.62em;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}

.live-figures em,
.day-stats em {
  font-style: normal;
  font-size: 0.55em;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0;
}

.live-figures small,
.day-stats small {
  display: block;
  font-size: 0.66em;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.live-controls {
  margin-top: 0.9em;
  display: flex;
  justify-content: center;
  gap: 1.1em;
}

.ctl {
  width: 3.2em;
  height: 3.2em;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
}

.ctl.stop {
  background: var(--surface-3);
}

.ctl .pause {
  width: 0.95em;
  height: 1.05em;
  border-left: 0.32em solid #fff;
  border-right: 0.32em solid #fff;
}

.ctl .square {
  width: 0.9em;
  height: 0.9em;
  border-radius: 0.18em;
  background: #fff;
}

/* ------------------------------------------------------------------ facts */

.facts {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 36px var(--gutter) 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  border-top: 0.5px solid rgba(255, 255, 255, 0.08);
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.08);
}

.fact {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.fact b {
  font-family: var(--display);
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.fact span {
  color: var(--ink-2);
  font-size: 15px;
}

@media (max-width: 700px) {
  .facts {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 28px;
  }
}

/* ------------------------------------------------------------------ chapters */

.chapter {
  padding: clamp(96px, 14vw, 180px) 0 0;
}

.center {
  text-align: center;
}

.kicker {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.body {
  margin: 22px 0 0;
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.45;
  color: var(--ink-2);
}

.body.narrow {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.split.reverse .copy {
  order: 2;
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
  }
  .split.reverse .copy {
    order: 0;
  }
}

.ticks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 14px;
}

.ticks li {
  position: relative;
  padding-left: 32px;
  color: var(--ink);
}

.ticks li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(10, 132, 255, 0.18)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.4l3 3 6-6.6' fill='none' stroke='%230A84FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    center / 20px no-repeat;
}

.panel {
  background: var(--surface);
  border-radius: var(--radius-card);
  padding: clamp(20px, 2.4vw, 32px);
  box-shadow: inset 0 0 0 0.5px rgba(255, 255, 255, 0.06);
}

.panel-title {
  margin: 0 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  letter-spacing: 0;
}

.panel-title.small {
  margin: 22px 0 12px;
}

.panel-note {
  margin: 16px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.hint {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 28px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.hint.small {
  margin-top: 14px;
  font-size: 13px;
}

.hint-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(10, 132, 255, 0.6);
  animation: ping 2s infinite;
}

@keyframes ping {
  70% {
    box-shadow: 0 0 0 10px rgba(10, 132, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(10, 132, 255, 0);
  }
}

/* Hidden until seen only when scripts run (the head marks <html class="js">): without
   them every section simply shows. */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal {
  transition: opacity 1s var(--ease), transform 1.1s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .js .reveal {
    opacity: 1;
    transform: none;
  }
  .reveal,
  .timeline-bar span,
  .board-row .bar i,
  .bar-col .col,
  .bar-col .val,
  .ring-fill,
  .find-arrow {
    transition: none;
  }
  .rec-dot,
  .hint-dot,
  .share-card,
  .poster {
    animation: none;
  }
}

/* ------------------------------------------------------------------ timeline */

.timeline-card {
  padding-bottom: 28px;
}

.timeline-hours {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  margin-bottom: 8px;
}

.timeline-bar {
  position: relative;
  height: 64px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--surface-2);
  display: flex;
}

.timeline-bar span {
  height: 100%;
  transform-origin: left;
  transform: scaleX(0);
  transition: transform 0.6s var(--ease), filter 0.2s;
}

.timeline-card.in .timeline-bar span {
  transform: scaleX(1);
}

.timeline-bar span:hover {
  filter: brightness(1.25);
}

.timeline-legend {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.legend-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.legend-item i {
  width: 12px;
  height: 12px;
  border-radius: 4px;
  display: block;
  margin-bottom: 6px;
}

.legend-item b {
  white-space: nowrap;
  font-size: clamp(17px, 1.6vw, 21px);
  font-family: var(--display);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.legend-item small {
  color: var(--ink-2);
  font-size: 13px;
}

.timeline-now {
  margin-top: 16px;
  font-size: 13px;
  color: var(--ink-2);
  min-height: 1.4em;
}

@media (max-width: 520px) {
  .timeline-legend {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ------------------------------------------------------------------ glance */

.glance-stage {
  margin-top: 72px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: clamp(28px, 6vw, 96px);
  padding: 0 var(--gutter);
  flex-wrap: wrap;
}

.lock-screen {
  background:
    radial-gradient(90% 60% at 50% 110%, rgba(10, 132, 255, 0.45), transparent 60%),
    radial-gradient(80% 50% at 20% 20%, rgba(255, 159, 10, 0.18), transparent 60%),
    linear-gradient(180deg, #0b1522 0%, #10263f 50%, #091524 100%);
}

.lock-screen::before {
  content: '';
  position: absolute;
  inset: 55% 0 0;
  background:
    linear-gradient(160deg, transparent 49.6%, rgba(255, 255, 255, 0.1) 50%, transparent 50.6%),
    conic-gradient(from 200deg at 30% 60%, #06101c 0 30deg, transparent 30deg),
    linear-gradient(10deg, #050b13 0 40%, transparent 40%);
  opacity: 0.9;
}

.lock-date {
  position: absolute;
  top: 11.5%;
  width: 100%;
  text-align: center;
  font-weight: 600;
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.85);
}

.lock-clock {
  position: absolute;
  top: 14%;
  width: 100%;
  text-align: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 5.6em;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
}

.la {
  position: absolute;
  z-index: 3;
  left: 4%;
  right: 4%;
  bottom: 15%;
  padding: 4.5% 5%;
  border-radius: 1.5em;
  background: rgba(20, 20, 22, 0.72);
  backdrop-filter: blur(24px) saturate(170%);
  -webkit-backdrop-filter: blur(24px) saturate(170%);
}

.la-top {
  display: flex;
  align-items: center;
  gap: 0.6em;
}

.la-icon {
  width: 2.3em;
  height: 2.3em;
  border-radius: 0.55em;
  background: #141f2e;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.la-icon svg {
  width: 62%;
  fill: #fff;
}

.la-icon.small {
  width: 1.6em;
  height: 1.6em;
  border-radius: 50%;
}

.la-titles {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.la-titles b {
  font-size: 0.95em;
}

.la-titles span {
  font-size: 0.78em;
  color: var(--ink-2);
}

.la-clock {
  margin-left: auto;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--band-brisk);
}

.la-figures {
  margin-top: 0.9em;
  display: grid;
  grid-template-columns: 0.7fr 1.2fr 1fr;
}

.la-figures b {
  display: block;
  font-family: var(--display);
  font-size: 1.45em;
  font-variant-numeric: tabular-nums;
}

.la-figures small {
  font-size: 0.66em;
  color: var(--ink-2);
}

.lock-foot {
  position: absolute;
  bottom: 5.5%;
  left: 10%;
  right: 10%;
  display: flex;
  justify-content: space-between;
}

.lock-btn {
  width: 3em;
  height: 3em;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
}

/* Apple Watch, drawn after the Ultra's case: flat sides, an orange action button. */

.watch {
  --ww: clamp(180px, 17vw, 230px);
  width: var(--ww);
  aspect-ratio: 205 / 250;
  border-radius: calc(var(--ww) * 0.2);
  padding: calc(var(--ww) * 0.06);
  position: relative;
  background: linear-gradient(145deg, #8d8f94 0%, #3d3f43 30%, #6a6d72 55%, #2d2f33 85%, #7e8085 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.25),
    0 40px 70px -24px rgba(0, 0, 0, 0.9),
    0 30px 100px -40px rgba(255, 159, 10, 0.25);
  margin-bottom: 70px;
}

.watch::before,
.watch::after {
  content: '';
  position: absolute;
  left: 18%;
  right: 18%;
  height: 60px;
  background: linear-gradient(180deg, #1f2124, #121315);
  z-index: -1;
}

.watch::before {
  top: -52px;
  border-radius: 14px 14px 4px 4px;
}

.watch::after {
  bottom: -52px;
  border-radius: 4px 4px 14px 14px;
}

.watch-crown {
  position: absolute;
  right: -9px;
  top: 26%;
  width: 11px;
  height: 22%;
  border-radius: 4px;
  background: repeating-linear-gradient(180deg, #9a9ca1 0 2px, #5d5f63 2px 4px);
}

.watch-button {
  position: absolute;
  left: -6px;
  top: 30%;
  width: 7px;
  height: 20%;
  border-radius: 4px;
  background: #ff7a1a;
}

.watch-screen {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--ww) * 0.14);
  background: #000;
  padding: 12% 8% 8%;
  font-size: calc(var(--ww) * 0.068);
  position: relative;
  overflow: hidden;
}

.watch-dots {
  position: absolute;
  right: 5%;
  top: 44%;
  display: grid;
  gap: 4px;
}

.watch-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #555;
}

.watch-dots i.on {
  background: #fff;
}

/* ------------------------------------------------------------------ day screen */

.device-col {
  display: flex;
  justify-content: center;
}

.device-col .iphone {
  --w: clamp(290px, 28vw, 360px);
}

.day-screen {
  background: #000;
  overflow-y: hidden;
}

.day-nav {
  position: absolute;
  z-index: 14;
  top: 9%;
  left: 5%;
  right: 5%;
  display: flex;
  justify-content: space-between;
}

.circle-btn {
  width: 2.3em;
  height: 2.3em;
  border-radius: 50%;
  background: rgba(28, 28, 30, 0.85);
  backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  font-size: 1em;
  font-weight: 600;
}

.day-head {
  position: absolute;
  z-index: 13;
  top: 16%;
  left: 5.5%;
}

.day-head h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 1.9em;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.day-head p {
  margin: 0.15em 0 0;
  font-size: 0.85em;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

.day-map {
  bottom: auto;
  height: 50%;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}

.day-stats {
  position: absolute;
  top: 45%;
  left: 5.5%;
  right: 5.5%;
  display: grid;
  grid-template-columns: 1.25fr 0.7fr 1.05fr;
  gap: 0.5em;
  z-index: 5;
}

.day-stats b {
  display: block;
  font-family: var(--display);
  font-size: 1.55em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.run-list {
  position: absolute;
  top: 55%;
  left: 3.5%;
  right: 3.5%;
  bottom: 3%;
  border-radius: 1.1em;
  background: var(--surface);
  overflow: hidden;
}

.run-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65em;
  width: 100%;
  padding: 0.62em 0.85em;
  text-align: left;
  border-bottom: 0.5px solid var(--separator);
  transition: background 0.2s;
}

.run-row:last-child {
  border-bottom: 0;
}

.run-row:hover,
.run-row.on {
  background: var(--surface-2);
}

.grade-badge {
  width: 1.7em;
  height: 1.7em;
  border-radius: 0.5em;
  display: grid;
  place-items: center;
  font-size: 0.8em;
  font-weight: 700;
  color: #0b1620;
}

.run-name {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.run-name b {
  font-size: 0.95em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.run-name small {
  font-size: 0.72em;
  color: var(--ink-2);
}

.run-name small.best {
  color: var(--green);
}

.run-time {
  font-weight: 600;
  font-size: 0.92em;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ replay */

.replay {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 20px;
}

.replay-map {
  position: relative;
  min-height: 460px;
  padding: 0;
  overflow: hidden;
}

.replay-chart {
  display: flex;
  flex-direction: column;
}

.replay-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.replay-head b {
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: -0.02em;
}

.grade-chip {
  display: inline-block;
  width: 14px;
  height: 14px;
  transform: rotate(45deg);
  background: var(--g);
  border-radius: 2px;
  margin-left: 10px;
  vertical-align: 3px;
}

.play {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.15s;
}

.play:active {
  transform: scale(0.94);
}

.play i {
  width: 0;
  height: 0;
  border-left: 14px solid #000;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  margin-left: 4px;
}

.play.playing i {
  width: 13px;
  height: 16px;
  border: 0;
  border-left: 4.5px solid #000;
  border-right: 4.5px solid #000;
  margin: 0;
}

.replay-readout {
  margin: 14px 0 8px;
  font-size: 17px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  min-height: 1.5em;
}

.replay-readout b {
  color: var(--ink);
}

.chart {
  position: relative;
  flex: 1;
  min-height: 260px;
  cursor: ew-resize;
  touch-action: pan-y;
  border-radius: 16px;
}

.chart svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

@media (max-width: 900px) {
  .replay {
    grid-template-columns: 1fr;
  }
  .replay-map {
    min-height: 360px;
  }
}

/* ------------------------------------------------------------------ crew */

.crew-stage {
  margin-top: 64px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
  justify-content: center;
}

.crew-stage .iphone {
  --w: clamp(290px, 27vw, 350px);
  justify-self: end;
}

.crew-sheet {
  position: absolute;
  z-index: 12;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.4% 4.5% 9%;
  border-radius: 1.5em 1.5em 0 0;
  background: rgba(28, 28, 30, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.grabber {
  width: 11%;
  height: 0.32em;
  margin: 0 auto 0.8em;
  border-radius: 9px;
  background: #636366;
}

.crew-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.05em;
}

.avatars {
  display: flex;
}

.avatar {
  width: 2em;
  height: 2em;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 0.72em;
  font-weight: 700;
  color: #0b1620;
  box-shadow: 0 0 0 0.16em #1c1c1e;
}

.avatars .avatar + .avatar {
  margin-left: -0.45em;
}

.crew-list {
  margin-top: 0.6em;
}

.crew-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.65em;
  width: 100%;
  padding: 0.5em 0.2em;
  text-align: left;
  border-radius: 0.7em;
  transition: background 0.2s;
}

.crew-row:hover,
.crew-row.on {
  background: rgba(255, 255, 255, 0.06);
}

.crew-row .avatar {
  width: 2.4em;
  height: 2.4em;
  font-size: 0.78em;
  box-shadow: none;
}

.crew-row b {
  display: block;
  font-size: 0.92em;
}

.crew-row small {
  font-size: 0.74em;
  color: var(--ink-2);
}

.crew-row .find-btn {
  font-size: 0.74em;
  font-weight: 600;
  padding: 0.35em 0.8em;
  border-radius: 99px;
  background: rgba(10, 132, 255, 0.2);
  color: #4aa3ff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4em;
  margin-top: 0.7em;
}

.chip {
  font-size: 0.72em;
  font-weight: 600;
  padding: 0.5em 0.85em;
  border-radius: 99px;
  background: var(--surface-2);
  transition: background 0.2s, transform 0.15s;
}

.chip:active {
  transform: scale(0.96);
}

.chip.sent {
  background: var(--accent);
}

.crew-side {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.find {
  text-align: center;
}

.find-people {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.find-people button {
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 0 0 2px transparent;
  transition: box-shadow 0.2s;
}

.find-people button[aria-pressed='true'] {
  box-shadow: 0 0 0 2px var(--accent);
}

.find-people .avatar {
  width: 40px;
  height: 40px;
  font-size: 14px;
  box-shadow: none;
}

.find-arrow {
  width: 132px;
  height: 132px;
  margin: 20px auto 10px;
  transition: transform 0.9s var(--ease);
}

.find-arrow svg {
  width: 100%;
  height: 100%;
  fill: var(--accent);
  filter: drop-shadow(0 12px 30px rgba(10, 132, 255, 0.45));
}

.find-dir {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.find-meta {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.sos {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  box-shadow: inset 0 0 0 2px rgba(255, 69, 58, 0.7);
}

.sos-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
}

.sos b {
  color: #ff6961;
  font-size: 19px;
}

.sos p {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

.board-rows {
  display: grid;
  gap: 10px;
}

.board-row {
  display: grid;
  grid-template-columns: 22px auto 1fr auto;
  gap: 10px;
  align-items: center;
  font-size: 15px;
}

.board-row .avatar {
  width: 28px;
  height: 28px;
  font-size: 11px;
  box-shadow: none;
}

.board-row .bar {
  height: 8px;
  border-radius: 99px;
  background: var(--surface-2);
  overflow: hidden;
}

.board-row .bar i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  transition: width 1.2s var(--ease);
}

.board.in .board-row .bar i {
  width: var(--v);
}

.board-row .rank {
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

.board-row b {
  font-variant-numeric: tabular-nums;
}

@media (max-width: 900px) {
  .crew-stage {
    grid-template-columns: 1fr;
    justify-items: center;
  }
  .crew-stage .iphone {
    justify-self: center;
  }
  .crew-side {
    width: 100%;
  }
}

/* ------------------------------------------------------------------ lifts */

.lift-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.lift-head b {
  font-family: var(--display);
  font-size: 24px;
  letter-spacing: -0.02em;
}

.lift-head p {
  margin: 2px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

.lift-glyph {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--surface-2)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M2 5l20 5' stroke='%23fff' stroke-width='1.6' stroke-linecap='round'/%3E%3Cpath d='M12 7.5v4' stroke='%23fff' stroke-width='1.6'/%3E%3Crect x='7' y='11.5' width='10' height='8' rx='2.5' fill='%230A84FF'/%3E%3C/svg%3E")
    center / 26px no-repeat;
  flex-shrink: 0;
}

.bars {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  align-items: end;
  gap: 8px;
  height: 220px;
}

.bar-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 8px;
  cursor: default;
}

.bar-col .col {
  width: 100%;
  max-width: 34px;
  height: 0;
  border-radius: 8px 8px 4px 4px;
  background: var(--surface-3);
  transition: height 1s var(--ease), background 0.2s;
  position: relative;
}

.lift-card.in .bar-col .col {
  height: var(--h);
}

.bar-col.quiet .col {
  background: var(--green);
}

.bar-col:hover .col {
  background: #8e8e93;
}

.bar-col.quiet:hover .col {
  background: #5ae07e;
}

.bar-col .val {
  font-size: 12px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
  opacity: 0;
  transition: opacity 0.3s 0.8s;
}

.lift-card.in .bar-col .val {
  opacity: 1;
}

.bar-col .hr {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ mountain */

.mountain-stage {
  margin-top: 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  gap: 20px;
}

.mountain-map {
  position: relative;
  min-height: 620px;
  border-radius: var(--radius-card);
  overflow: hidden;
  background: #0b0f14;
}

.mountain-map .piste-hit {
  cursor: pointer;
}

.mountain-tip {
  position: absolute;
  z-index: 5;
  pointer-events: none;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(28, 28, 30, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  min-width: 180px;
  transform: translate(-50%, calc(-100% - 14px));
}

.mountain-tip b {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
}

.mountain-tip .tip-grid {
  margin-top: 6px;
  display: flex;
  gap: 18px;
  font-size: 13px;
  color: var(--ink-2);
}

.mountain-tip .tip-grid span b {
  display: block;
  font-size: 15px;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.mountain-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.progress-card {
  display: flex;
  align-items: center;
  gap: 18px;
}

.progress-card p {
  margin: 0;
  color: var(--ink-2);
}

.ring {
  position: relative;
  width: 110px;
  height: 110px;
  flex-shrink: 0;
}

.ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring circle {
  fill: none;
  stroke-width: 12;
}

.ring-track {
  stroke: var(--surface-2);
}

.ring-fill {
  stroke: var(--accent);
  stroke-linecap: round;
  stroke-dasharray: 314.16;
  stroke-dashoffset: 314.16;
  transition: stroke-dashoffset 1.6s var(--ease);
}

.ring b {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-family: var(--display);
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.ring b small {
  font-size: 15px;
  color: var(--ink-2);
}

.tofind-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 0.5px solid var(--separator);
}

.tofind-row:last-child {
  border-bottom: 0;
}

.tofind-row b {
  font-size: 16px;
}

.tofind-row small {
  display: block;
  color: var(--ink-2);
  font-size: 13px;
}

.tofind-row span {
  color: var(--ink-2);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
}

.grade-dot {
  width: 22px;
  height: 22px;
  border-radius: 7px;
}

@media (max-width: 900px) {
  .mountain-stage {
    grid-template-columns: 1fr;
  }
  .mountain-map {
    min-height: 520px;
  }
}

/* ------------------------------------------------------------------ season */

.segmented {
  margin: 36px auto 0;
  display: inline-flex;
  padding: 3px;
  border-radius: 11px;
  background: rgba(118, 118, 128, 0.24);
}

.segmented button {
  padding: 8px 20px;
  border-radius: 9px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-2);
  transition: background 0.25s, color 0.25s;
}

.segmented button[aria-selected='true'] {
  background: #636366;
  color: #fff;
}

.season-stage {
  margin-top: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 640px;
}

.share-card {
  width: min(400px, 100%);
  border-radius: 28px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 0.5px rgba(255, 255, 255, 0.08);
  animation: rise 0.7s var(--ease);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
  }
}

.share-art {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #0b0f14;
}

.share-art svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.share-body {
  padding: 22px 24px 24px;
}

.share-body .badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 13px;
  font-weight: 700;
  color: #0b1620;
  margin-bottom: 6px;
}

.share-body h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 34px;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.share-body .sub {
  margin: 4px 0 0;
  color: var(--ink-2);
  font-size: 15px;
}

.share-body .best {
  margin: 4px 0 0;
  color: var(--green);
  font-size: 15px;
}

.share-figs {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
}

.share-figs b {
  display: block;
  font-family: var(--display);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.share-figs small {
  font-size: 12px;
  color: var(--ink-2);
}

.share-sign {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--ink-2);
}

.share-sign svg {
  height: 11px;
  fill: var(--accent);
}

.poster {
  width: min(420px, 100%);
  border-radius: 28px;
  padding: 32px 28px;
  background:
    radial-gradient(100% 70% at 80% 0%, rgba(10, 132, 255, 0.35), transparent 60%),
    radial-gradient(80% 60% at 0% 100%, rgba(255, 159, 10, 0.18), transparent 60%),
    #0b1522;
  box-shadow: 0 40px 100px -30px rgba(0, 0, 0, 0.9), inset 0 0 0 0.5px rgba(255, 255, 255, 0.1);
  animation: rise 0.7s var(--ease);
}

.poster .season {
  font-size: 15px;
  font-weight: 600;
  color: #9fd0ff;
}

.poster .big {
  margin-top: 10px;
  font-family: var(--display);
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.poster .big small {
  font-size: 26px;
  color: var(--ink-2);
  font-weight: 700;
}

.poster .lbl {
  color: var(--ink-2);
  margin-top: 4px;
}

.months {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  align-items: end;
  height: 120px;
}

.months div {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  height: 100%;
  font-size: 11px;
  color: var(--ink-3);
}

.months i {
  width: 100%;
  border-radius: 6px 6px 3px 3px;
  background: linear-gradient(180deg, #0a84ff, #0a5fd0);
}

.poster-facts {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.poster-facts b {
  display: block;
  font-family: var(--display);
  font-size: 26px;
  font-variant-numeric: tabular-nums;
}

.poster-facts small {
  color: var(--ink-2);
  font-size: 13px;
}

/* ------------------------------------------------------------------ your data */

.grid6 {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tile h3 {
  margin: 18px 0 6px;
  font-size: 21px;
  letter-spacing: -0.01em;
}

.tile p {
  margin: 0;
  color: var(--ink-2);
}

.ic {
  display: block;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background-color: var(--surface-2);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 24px;
}

.ic-bolt {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='9' fill='%23FF453A'/%3E%3Ccircle cx='12' cy='12' r='4' fill='%23fff'/%3E%3C/svg%3E");
}

.ic-out {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A84FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 15V3M7 8l5-5 5 5'/%3E%3Cpath d='M5 13v6a2 2 0 002 2h10a2 2 0 002-2v-6'/%3E%3C/svg%3E");
}

.ic-cloud {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 19h10.5a4.5 4.5 0 00.4-9A6 6 0 006.2 9.5 4.8 4.8 0 007 19z' fill='%2364D2FF'/%3E%3C/svg%3E");
}

.ic-shield {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2l8 3v6c0 5-3.4 9.3-8 11-4.6-1.7-8-6-8-11V5z' fill='%2330D158'/%3E%3Cpath d='M8.5 12l2.5 2.5 4.5-5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.ic-map {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6l6-3 6 3 6-3v15l-6 3-6-3-6 3z' fill='%23FF9F0A'/%3E%3Cpath d='M9 3v15M15 6v15' stroke='%23000' stroke-opacity='.3' stroke-width='1.2'/%3E%3C/svg%3E");
}

.ic-in {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23BF5AF2' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5'/%3E%3Cpath d='M5 13v6a2 2 0 002 2h10a2 2 0 002-2v-6'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
  .grid6 {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .grid6 {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ languages */

.ticker {
  margin: 56px auto 0;
  text-align: center;
  padding: 0 var(--gutter);
  min-height: 190px;
}

.ticker-line {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 80px);
  letter-spacing: -0.03em;
  line-height: 1.1;
  transition: opacity 0.45s, transform 0.45s var(--ease), filter 0.45s;
}

.ticker-name {
  margin: 14px 0 0;
  color: var(--ink-2);
  font-size: 17px;
  transition: opacity 0.45s;
}

.ticker.swap .ticker-line {
  opacity: 0;
  transform: translateY(-14px);
  filter: blur(6px);
}

.ticker.swap .ticker-name {
  opacity: 0;
}

/* ------------------------------------------------------------------ final */

.final {
  position: relative;
  margin-top: clamp(96px, 14vw, 180px);
  min-height: 86vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

.final-relief {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.45;
}

.final::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 50% at 50% 45%, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.85) 80%),
    linear-gradient(180deg, #000 0%, transparent 25%, transparent 75%, #000 100%);
}

.final-inner {
  position: relative;
  z-index: 2;
  padding: 0 var(--gutter);
}

.final-mark {
  height: 44px;
  margin: 0 auto 28px;
  fill: #fff;
}

.final h2 {
  font-size: clamp(44px, 7vw, 96px);
}

.final .body {
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.store-badge {
  margin-top: 34px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px 10px 16px;
  border-radius: 14px;
  background: #fff;
  color: #000;
  text-align: left;
}

.store-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(48, 209, 88, 0.22);
  margin: 0 6px 0 4px;
}

.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.store-badge small {
  font-size: 11px;
}

.store-badge b {
  font-size: 22px;
  letter-spacing: -0.01em;
}

/* ------------------------------------------------------------------ footer */

.foot {
  border-top: 0.5px solid rgba(255, 255, 255, 0.1);
  padding: 40px 0 56px;
  color: var(--ink-3);
  font-size: 13px;
}

.foot-inner {
  display: grid;
  gap: 12px;
}

.brand.small {
  color: var(--ink-2);
}

.foot p {
  margin: 0;
  max-width: 720px;
}

/* ------------------------------------------------------------------ language strip */

.marquee {
  margin-top: 40px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee-row {
  display: flex;
  gap: 12px;
  width: max-content;
  animation: slide 90s linear infinite;
}

.marquee-row.reverse {
  animation-direction: reverse;
  animation-duration: 110s;
}

.marquee-row span {
  padding: 9px 16px;
  border-radius: 99px;
  background: var(--surface);
  color: var(--ink-2);
  font-size: 15px;
  white-space: nowrap;
}

@keyframes slide {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-row {
    animation: none;
  }
}

@media (max-width: 480px) {
  .nav-cta {
    display: none;
  }
}

/* ------------------------------------------------------------------ still compositions */

.shot body > *:not(.shot-stage) {
  display: none !important;
}

.shot body {
  overflow: hidden;
}

.shot-stage {
  position: fixed;
  inset: 0;
  z-index: 200;
  overflow: hidden;
  background: #000;
}

.shot-ground {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.5;
}

.shot-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 70% at 70% 45%, rgba(10, 132, 255, 0.18), transparent 70%),
    linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0.85) 30%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.5) 60%, #000 100%);
}

.shot-stage .reveal {
  opacity: 1;
  transform: none;
}

.shot-title {
  position: absolute;
  z-index: 3;
  left: 6vw;
  top: 50%;
  transform: translateY(-50%);
  max-width: 34vw;
}

.shot-hero .shot-title h1 {
  font-size: 3.9vw;
}

.shot-title h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 4.6vw;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.shot-title .shot-line {
  white-space: nowrap;
}

.shot-title h1 em {
  font-style: normal;
  background: linear-gradient(90deg, #fff 0%, #9fd0ff 45%, #0a84ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.shot-brand {
  display: flex;
  align-items: center;
  gap: 0.8vw;
  margin-bottom: 2.2vw;
  font-weight: 700;
  letter-spacing: 0.12em;
  font-size: 1.1vw;
}

.shot-brand svg {
  height: 1.2vw;
  fill: #fff;
}

.shot-stage .iphone {
  position: absolute;
  z-index: 2;
  --w: 21vw;
}

.shot-hero .shot-center {
  left: 66%;
  top: 50%;
  transform: translate(-50%, -50%);
  --w: 22vw;
  z-index: 4;
}

.shot-hero .shot-left {
  left: 51%;
  top: 54%;
  transform: translate(-50%, -50%) rotate(-7deg) scale(0.9);
  filter: brightness(0.8);
}

.shot-hero .shot-right {
  left: 81%;
  top: 54%;
  transform: translate(-50%, -50%) rotate(7deg) scale(0.9);
  filter: brightness(0.8);
}

.shot-glance .shot-title,
.shot-crew .shot-title,
.shot-season .shot-title {
  max-width: 30vw;
}

.shot-glance .shot-center {
  left: 58%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.shot-glance .shot-watch {
  position: absolute;
  z-index: 3;
  left: 80%;
  top: 56%;
  --ww: 15vw;
  margin: 0;
  transform: translate(-50%, -50%);
}

.shot-crew .shot-center {
  left: 55%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.shot-crew .shot-find {
  position: absolute;
  z-index: 3;
  left: 81%;
  top: 50%;
  width: 24vw;
  transform: translate(-50%, -50%);
}

.shot-cards {
  position: absolute;
  z-index: 3;
  left: 40%;
  right: 3vw;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 1.8vw;
  align-items: center;
}

.shot-cards > * {
  flex: 1;
  width: auto;
  animation: none;
}

/* App Store screenshots: 1290 x 2796, a caption above one large device. */

.shot-store .shot-shade {
  background:
    radial-gradient(90% 50% at 50% 70%, rgba(10, 132, 255, 0.22), transparent 70%),
    linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.6) 30%, rgba(0, 0, 0, 0.4) 70%, #000 100%);
}

.shot-caption {
  position: absolute;
  z-index: 3;
  top: 7vw;
  left: 7vw;
  right: 7vw;
  text-align: center;
}

.shot-caption h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 10.5vw;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.shot-caption p {
  margin: 3vw 0 0;
  font-size: 4.4vw;
  line-height: 1.3;
  color: var(--ink-2);
}

.shot-store .shot-phone {
  --w: 80vw;
  left: 50%;
  top: 44vw;
  transform: translateX(-50%);
}

/* ------------------------------------------------------------------ real screens */

.real-screen img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.real-screen .status {
  color: #fff;
}

/* ------------------------------------------------------------------ story */

/* The phone stays put while the steps scroll past it; each step brings its own screen. */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 110px);
  margin-top: clamp(40px, 6vw, 80px);
}

.story-phone-col {
  position: relative;
}

.story-phone {
  --w: min(clamp(260px, 24vw, 330px), calc((100vh - 120px) / 2.17));
  position: sticky;
  top: calc(50vh - var(--w) * 1.084);
  margin: 0 auto;
}

.story-phone .real-screen img {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 0.7s ease,
    transform 0.9s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.story-phone .real-screen img.on {
  opacity: 1;
  transform: none;
}

.story-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.story-step {
  min-height: 78vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0.28;
  transition: opacity 0.5s ease;
}

.story-step:last-child {
  min-height: 62vh;
}

.story-step.active {
  opacity: 1;
}

.story-num {
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.story-step h3 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.story-step p {
  margin: 16px 0 0;
  max-width: 460px;
  font-size: clamp(17px, 1.4vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
}

.story-inline {
  display: none;
}

@media (max-width: 900px) {
  .story-grid {
    grid-template-columns: 1fr;
  }
  .story-phone-col {
    display: none;
  }
  .story-step {
    min-height: 0;
    opacity: 1;
    align-items: center;
    text-align: center;
    padding: 0 0 72px;
  }
  .story-step p {
    margin-left: auto;
    margin-right: auto;
  }
  .story-inline {
    display: block;
    --w: min(72vw, 300px);
    margin: 0 auto 28px;
  }
}

/* ------------------------------------------------------------------ watch */

.watch-chapter {
  position: relative;
  overflow: hidden;
  /* Its own stacking context, so the glow and the straps (z-index: -1) paint above the
     page background instead of under it. */
  isolation: isolate;
}

.watch-chapter::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 34%;
  width: min(900px, 120vw);
  aspect-ratio: 1;
  transform: translate(-50%, -30%);
  background: radial-gradient(closest-side, rgba(255, 69, 58, 0.16), rgba(255, 122, 26, 0.07) 55%, transparent);
  pointer-events: none;
  z-index: -1;
}

.watch-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 90px 0 40px;
}

.watch-xl {
  --ww: clamp(230px, 24vw, 320px);
  margin: 0;
}

.watch-pages .wpage {
  position: absolute;
  inset: 0;
  padding: 13% 10% 9%;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(12%);
  transition:
    opacity 0.6s ease,
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.watch-pages .wpage.on {
  opacity: 1;
  transform: none;
}

.watch-pages .wpage.off {
  transform: translateY(-12%);
}

.wp-head {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-size: 0.72em;
  font-weight: 600;
  color: var(--red);
}

.wp-rec {
  width: 0.6em;
  height: 0.6em;
  border-radius: 50%;
  background: var(--red);
  animation: breathe 1.8s infinite;
}

.wp-clock {
  margin-top: 0.15em;
  font-family: var(--display);
  font-size: 1.05em;
  font-weight: 600;
  color: #ffd60a;
  font-variant-numeric: tabular-nums;
}

.wp-big {
  margin-top: auto;
  font-family: var(--display);
  font-size: 2.2em;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.wp-big span {
  color: var(--band-brisk);
}

.wp-label {
  font-size: 0.72em;
  color: var(--ink-2);
}

.wp-row,
.wp-grid {
  margin-top: 0.7em;
  padding-right: 4%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55em 0.6em;
}

.wp-row b,
.wp-grid b {
  display: block;
  font-size: 0.95em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.wp-row small,
.wp-grid small {
  display: block;
  font-size: 0.62em;
  color: var(--ink-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.wp-heart {
  display: flex;
  align-items: baseline;
  gap: 0.3em;
  font-family: var(--display);
}

.wp-heart-icon {
  color: var(--red);
  font-size: 1.5em;
  animation: beat 0.95s infinite;
}

.wp-heart b {
  font-size: 2.6em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.wp-heart small {
  font-size: 0.7em;
  color: var(--red);
  font-weight: 600;
}

.wpage-heart .wp-grid {
  margin-top: auto;
}

.wp-done {
  display: flex;
  align-items: center;
  gap: 0.45em;
  font-weight: 700;
  font-size: 0.95em;
}

.wp-check {
  display: grid;
  place-items: center;
  width: 1.4em;
  height: 1.4em;
  border-radius: 50%;
  background: var(--green, #30d158);
  color: #000;
  font-size: 0.8em;
}

.wpage-done .wp-grid {
  margin-top: 0.8em;
}

.wp-note {
  margin-top: auto;
  font-size: 0.6em;
  line-height: 1.3;
  color: var(--ink-2);
}

.watch-pages .watch-dots {
  z-index: 2;
  right: 3.5%;
  gap: 3px;
}

.watch-pages .watch-dots i {
  width: 4px;
  height: 4px;
}

.watch-face-chip {
  position: absolute;
  left: calc(50% + clamp(150px, 16vw, 220px));
  top: 58%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px 12px 12px;
  border-radius: 999px;
  background: rgba(28, 28, 30, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.8);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  animation: float 6s ease-in-out infinite;
}

.feature-trio {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  margin-top: clamp(56px, 6vw, 88px);
}

.feature-trio h3 {
  margin: 0;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.02em;
}

.feature-trio p {
  margin: 10px 0 0;
  color: var(--ink-2);
  line-height: 1.5;
}

@keyframes beat {
  0%,
  100% {
    transform: scale(1);
  }
  15% {
    transform: scale(1.18);
  }
  30% {
    transform: scale(1);
  }
}

@media (max-width: 900px) {
  .feature-trio {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .watch-face-chip {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .story-phone .real-screen img,
  .watch-pages .wpage {
    transition: none;
  }
  .wp-rec,
  .wp-heart-icon,
  .watch-face-chip {
    animation: none;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ------------------------------------------------------------------ privacy */

.legal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
}

.legal-top .brand,
.legal-lang {
  color: var(--ink);
  text-decoration: none;
}

.legal-lang {
  color: var(--ink-2);
  font-size: 15px;
}

.legal {
  max-width: 720px;
  padding-top: 56px;
  padding-bottom: 96px;
}

.legal h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(40px, 6vw, 56px);
  letter-spacing: -0.03em;
}

.legal-updated {
  color: var(--ink-3);
  margin: 10px 0 40px;
}

.legal h2 {
  margin: 36px 0 10px;
  font-family: var(--display);
  font-size: 22px;
  letter-spacing: -0.01em;
}

.legal p {
  margin: 0 0 12px;
  color: var(--ink-2);
  line-height: 1.6;
  font-size: 17px;
}

.legal a,
.foot-made a {
  color: var(--accent);
}

.legal-back {
  margin-top: 48px !important;
}
