/* VO2 Rise landing. Colours from source/ui/Theme.mc; display face = the logo's Barlow Semi Condensed Black. */
@font-face {
  font-family: 'VO2 Display';
  src: url('/fonts/BarlowSemiCondensed-Black.woff2') format('woff2');
  font-weight: 900; font-style: normal; font-display: swap;
}
:root {
  --bg: #0b0c0c; --bg2: #121414; --ring: #222222; --dot: #333333;
  --fg: #f4f6f5; --muted: #9aa8a6;
  --work: #ff6a4d; --rest: #4dc3ff; --ok: #4cd964; --warn: #ffd60a; --hr: #e5484d;
  --display: 'VO2 Display', 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --label: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --body: 'Barlow', -apple-system, 'Helvetica Neue', Arial, sans-serif;
  --gutter: max(16px, env(safe-area-inset-left, 0px));
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 400 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
a:focus-visible, .btn:focus-visible { outline: 2px solid var(--work); outline-offset: 3px; border-radius: 6px; }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; line-height: .92; letter-spacing: -.005em; text-wrap: balance; }
h2 { font-size: clamp(38px, 6.4vw, 72px); text-transform: uppercase; }
h3 { font-family: var(--label); font-weight: 700; font-size: 22px; line-height: 1.15; letter-spacing: .01em; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 var(--gutter); }
.label { font: 700 13px/1 var(--label); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.lead { color: var(--muted); font-size: clamp(17px, 1.7vw, 20px); max-width: 34em; }
.muted { color: var(--muted); }

/* nav */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(11,12,12,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,.06); }
.nav .wrap { display: flex; align-items: center; gap: 14px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 900 21px/1 var(--display); letter-spacing: .01em; white-space: nowrap; }
.brand img { width: 32px; height: 32px; }
.nav .lang { margin-left: auto; font: 700 13px/1 var(--label); letter-spacing: .14em; color: var(--muted); text-decoration: none; padding: 8px 10px; border: 1px solid rgba(255,255,255,.16); border-radius: 999px; }
.nav .lang:hover { color: var(--fg); border-color: rgba(255,255,255,.32); }
.nav .btn { padding: 9px 16px; font-size: 14px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--work); color: #160500; font: 700 17px/1 var(--label); letter-spacing: .02em; padding: 17px 26px; border-radius: 999px; transition: transform .2s, box-shadow .2s; box-shadow: 0 10px 36px -12px rgba(255,106,77,.65); }
.btn:hover { transform: translateY(-1px); box-shadow: 0 14px 44px -10px rgba(255,106,77,.8); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* watch */
.watch { position: relative; aspect-ratio: 1; border-radius: 50%; background: #000; box-shadow: 0 0 0 7px #191b1b, 0 0 0 8px #2b2e2e, 0 30px 70px -20px rgba(0,0,0,.9); }
.watch img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.glance { border-radius: 26px; overflow: hidden; box-shadow: 0 0 0 1px #2b2e2e, 0 24px 60px -20px rgba(0,0,0,.9); background: #000; }

/* hero */
.hero { padding: 40px 0 72px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 50% at 50% 0%, rgba(255,106,77,.13), transparent 70%); }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
.hero .copy { text-align: left; }
.hero h1 { font-size: clamp(64px, 16vw, 150px); text-transform: uppercase; margin: 14px 0 18px; }
.hero h1 .two { color: var(--work); }
.hero h1 sub { font-size: .42em; vertical-align: baseline; position: relative; top: .02em; margin-left: .02em; }
.hero .lead { color: #c9d2d0; }
.hero .cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.hero .cta .muted { font-size: 15px; max-width: 18em; line-height: 1.4; }

/* the signature: the logo's zone gauge around the hero watch */
.gauge { position: relative; width: min(100%, 420px); margin: 0 auto; aspect-ratio: 1; }
.gauge svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gauge .arc { fill: none; stroke-width: 11; stroke-linecap: butt; }
.gauge .needle { transform-origin: 200px 200px; transform: rotate(28deg); animation: settle 2.2s cubic-bezier(.2,.9,.25,1) .3s both; }
@keyframes settle { 0% { transform: rotate(-118deg); } 55% { transform: rotate(48deg); } 100% { transform: rotate(28deg); } }
.gauge .watch { position: absolute; inset: 12%; }
.gauge .tick { font: 700 12px/1 var(--label); letter-spacing: .14em; fill: var(--muted); text-transform: uppercase; }

/* sections */
section { padding: 64px 0; }
.rule { border-top: 1px solid rgba(255,255,255,.07); }
.split { display: grid; gap: 36px; align-items: center; }
.split .watch { width: min(100%, 290px); margin: 0 auto; }
.label + h2 { margin-top: 12px; }
.split .text > * + * { margin-top: 16px; }
.split h2 + .lead { margin-top: 18px; }
.facts { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.facts li { padding-left: 22px; position: relative; color: var(--muted); }
.facts li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--work); }
.facts li b { color: var(--fg); font-weight: 600; }

/* where you run */
.places { display: grid; gap: 14px; margin-top: 26px; }
.place { background: var(--bg2); border: 1px solid rgba(255,255,255,.06); border-radius: 18px; padding: 18px 20px; }
.place h3 { margin-bottom: 4px; }
.place p { color: var(--muted); }
.place .big { font: 900 28px/1 var(--display); color: var(--work); margin-top: 10px; display: block; }
.place.tm .big { color: var(--fg); }

/* plan */
.plan { list-style: none; margin: 34px 0 0; padding: 0; display: grid; gap: 6px; }
.week { display: grid; grid-template-columns: 52px 1fr 1fr; gap: 6px; align-items: stretch; }
.week .n { font: 900 26px/1 var(--display); display: flex; align-items: center; color: var(--muted); }
.week .n small { font: 700 11px/1 var(--label); letter-spacing: .12em; margin-right: 3px; }
.s { background: var(--bg2); border-radius: 10px; padding: 10px 12px; font: 700 16px/1.2 var(--label); border-left: 4px solid var(--work); }
.s span { display: block; font-weight: 600; font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.s.short { border-left-color: var(--rest); }
.s.test { background: var(--work); color: #160500; border-left-color: var(--work); }
.s.test span { color: rgba(22,5,0,.72); }
.plan-note { margin-top: 18px; font-size: 15px; }
.plan-side { margin-top: 48px; }
.plan-side .text { max-width: 40em; }
.plan-side .text p { margin-top: 8px; }
.trio { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 30px; }
.trio figure { margin: 0; display: grid; align-content: start; gap: 14px; justify-items: center; text-align: center; }
.trio figure:first-child { grid-column: 1 / -1; }
.trio figure:first-child .watch { width: min(62%, 240px); }
.trio .watch { width: 100%; max-width: 260px; }
.trio figcaption { font: 600 14px/1.35 var(--label); letter-spacing: .02em; color: var(--muted); max-width: 16em; }

/* heart-rate guidance */
.cues { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 10px; }
.cue { display: grid; grid-template-columns: 54px 1fr; gap: 14px; align-items: center; background: var(--bg2); border-radius: 16px; padding: 12px 16px 12px 12px; }
.cue i { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font: 900 26px/1 var(--display); font-style: normal; color: #000; }
.cue.up i { background: var(--rest); }
.cue.hold i { background: var(--ok); }
.cue.down i { background: var(--hr); color: #fff; }
.cue b { font: 900 22px/1 var(--display); text-transform: uppercase; letter-spacing: .02em; display: block; margin-bottom: 3px; }
.cue p { color: var(--muted); font-size: 15px; line-height: 1.45; }

/* pairs of watches */

/* after the run */
.cards { display: grid; gap: 16px; margin-top: 34px; }
.card { background: var(--bg2); border: 1px solid rgba(255,255,255,.06); border-radius: 22px; padding: 22px; display: grid; gap: 16px; align-content: start; }
.card .watch { width: min(70%, 220px); margin: 6px auto 4px; }
.card .glance { width: 100%; max-width: 300px; margin: 6px auto 4px; }
.card p { color: var(--muted); font-size: 16px; }
.fit { margin: 6px 0 4px; display: grid; gap: 8px; }
.fit div { display: grid; grid-template-columns: 1fr auto; font: 600 14px/1 var(--label); letter-spacing: .04em; color: var(--muted); gap: 8px; align-items: center; }
.fit svg { width: 100%; height: 44px; display: block; }

/* honest notes */
.notes { display: grid; gap: 14px; margin-top: 30px; }
.note { border-left: 3px solid var(--warn); padding: 4px 0 4px 18px; }
.note b { display: block; font: 700 19px/1.3 var(--label); margin-bottom: 4px; }
.note p { color: var(--muted); }

/* buy */
.buy { text-align: center; padding: 80px 0 88px; background: radial-gradient(50% 60% at 50% 100%, rgba(255,106,77,.12), transparent 70%); }
.buy img.logo { width: 96px; height: 96px; margin: 0 auto 22px; }
.buy h2 { margin-bottom: 18px; }
.buy .lead { margin: 0 auto; }
.buy .btn { margin-top: 28px; }
.buy .devices { margin: 26px auto 0; max-width: 36em; font-size: 15px; color: var(--muted); }

footer { border-top: 1px solid rgba(255,255,255,.07); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; }
footer a { color: var(--fg); text-underline-offset: 3px; }
footer .sep { margin-left: auto; }

@media (min-width: 720px) {
  .places { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .notes { grid-template-columns: 1fr 1fr 1fr; }
  .plan { grid-template-columns: repeat(4, 1fr); gap: 10px; }
  .week { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .week .n { padding: 4px 2px 2px; }
}
@media (min-width: 960px) {
  section { padding: 96px 0; }
  .hero { padding: 64px 0 96px; }
  .hero .wrap { grid-template-columns: 1.1fr 1fr; gap: 56px; }
  .split { grid-template-columns: 1fr 1fr; gap: 64px; }
  .split.flip .text { order: 2; }
  .split .watch { width: min(100%, 380px); }
  .plan { grid-template-columns: repeat(8, 1fr); }
  .trio { grid-template-columns: repeat(3, 1fr); gap: 40px; }
  .trio figure:first-child { grid-column: auto; }
  .trio figure:first-child .watch { width: 100%; }
  .cards { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 400px) {
  .nav .btn { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .gauge .needle { animation: none; }
  .btn { transition: none; }
}
