/* Point Break website. Plain CSS, no framework, nothing loaded from other servers.
   Tokens mirror the app's colour assets (PhoneApp/Resources/Assets.xcassets/Colors) and docs/design.md. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-stretch: 75% 100%;
  font-style: normal;
  font-display: swap;
  /* The file keeps glyphs for these ranges only; other characters fall back to the system font. */
  unicode-range: U+0020-007E, U+00A0-00FF, U+0131, U+0152-0153, U+0160-0161, U+0178, U+017D-017E, U+02C6, U+02DA, U+02DC,
    U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2248, U+2260, U+2264-2265;
}

:root {
  color-scheme: light dark;
  --foam: #F4F8F7;
  --surface: #FFFFFF;
  --ink: #0B2A3A;
  --muted: #4A6572;
  --line: #D5E2E1;
  --lagoon: #0B7C80;
  --lagoon-soft: #D7EEEC;
  --on-lagoon: #FFFFFF;
  --dawn: #FF6A3D;
  --wax: #FFD166;
  --on-warm: #0B2A3A;
  --deep: #0B2A3A;
  --deep-2: #0E3447;
  --on-deep: #EAF4F3;
  --on-deep-muted: rgba(234, 244, 243, .78);
  --ring: #3FD0C9;
  --bezel: #0A1419;
  --shadow: 0 1.5rem 3rem -1.25rem rgba(11, 42, 58, .45);
  --lift: 0 1.25rem 2.5rem -1.25rem rgba(11, 42, 58, .35);

  --brand: "Bricolage Grotesque", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --max: 74rem;
  --radius: 1.25rem;

  /* One spacing scale for the whole site.
     xs/s: inside components · m: card padding, related blocks · l: heading block to content, between groups
     xl: section padding. Every gap between two page sections is exactly one xl. */
  --space-xs: .5rem;
  --space-s: 1rem;
  --space-m: clamp(1.25rem, 2.5vw, 1.5rem);
  --space-l: clamp(2rem, 4vw, 3rem);
  --space-xl: clamp(4rem, 8vw, 6.5rem);

  /* Motion: calm, wave-like. */
  --ease-wave: cubic-bezier(.22, .61, .36, 1);
  --ease-swell: cubic-bezier(.45, .05, .55, .95);
}

@media (prefers-color-scheme: dark) {
  :root {
    --foam: #071C27;
    --surface: #0F2B3A;
    --ink: #EAF4F3;
    --muted: #9DB6BD;
    --line: #1E4252;
    --lagoon: #3FD0C9;
    --lagoon-soft: #12414A;
    --on-lagoon: #071C27;
    --dawn: #FF7A50;
    --deep: #0E3445;
    --deep-2: #164A5E;
    --shadow: 0 1.5rem 3rem -1.25rem rgba(0, 0, 0, .7);
    --lift: 0 1.25rem 2.5rem -1.25rem rgba(0, 0, 0, .75);
  }
}

@media (prefers-contrast: more) {
  :root { --muted: #33495A; --line: #A9BDBC; --lagoon: #08666A; --on-deep-muted: #EAF4F3; }
}
@media (prefers-contrast: more) and (prefers-color-scheme: dark) {
  :root { --muted: #C3D3D8; --line: #3A6274; --lagoon: #3FD0C9; }
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: var(--space-s); }
body {
  margin: 0;
  background: var(--foam);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--text);
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--lagoon); text-underline-offset: .18em; text-decoration-thickness: .07em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 4px; }
strong { font-weight: 650; }
p { margin: 0 0 var(--space-s); }
ul { margin: 0 0 var(--space-s); padding-left: 1.2rem; }
li { margin: 0 0 .45rem; }
li::marker { color: var(--lagoon); }
[hidden] { display: none !important; }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; z-index: 10; background: var(--surface); color: var(--ink); padding: .6rem 1rem; border-radius: .6rem; font-weight: 600; }
.skip:focus { top: 1rem; }

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

/* brand type: opsz follows docs/design.md (2.5 × size, clamped to 12–96) */
.display, h1, h2, h3, .brand, .btn, .fig, .caps, .eyebrow, .chip {
  font-family: var(--brand);
  font-optical-sizing: none;
}
h1, .display { font-weight: 800; font-variation-settings: "opsz" 96; letter-spacing: -.03em; line-height: .98; margin: 0 0 var(--space-m); }
h2 { font-weight: 800; font-variation-settings: "opsz" 96; letter-spacing: -.025em; line-height: 1.02; font-size: clamp(2rem, 5.2vw, 3.5rem); margin: 0 0 var(--space-s); }
h3 { font-weight: 700; font-variation-settings: "opsz" 50; letter-spacing: -.01em; line-height: 1.2; font-size: 1.25rem; margin: 0 0 var(--space-xs); }
.caps, .eyebrow {
  font-weight: 700; font-variation-settings: "opsz" 32; text-transform: uppercase;
  letter-spacing: .06em; font-size: .8125rem; line-height: 1.3;
}
.eyebrow { color: var(--lagoon); margin: 0 0 var(--space-s); display: flex; align-items: center; gap: .6rem; }
.eyebrow::before { content: ""; width: 1.75rem; height: 2px; background: currentColor; border-radius: 2px; }
.fig { font-weight: 800; font-variation-settings: "opsz" 96; font-feature-settings: "tnum" 1, "lnum" 1; letter-spacing: -.03em; line-height: 1; }
.lead { font-size: clamp(1.125rem, 2.1vw, 1.3125rem); line-height: 1.55; color: var(--muted); max-width: 40rem; }
.muted { color: var(--muted); }
.dawn { color: var(--dawn); }

/* ---------- buttons and calls to action ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3.25rem; padding: .8rem 1.5rem; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-variation-settings: "opsz" 45; font-size: 1.0625rem; line-height: 1.15; letter-spacing: -.005em;
  text-decoration: none; text-align: center; cursor: pointer;
  background: var(--ring); color: #071C27;
  transition: transform .3s var(--ease-wave), background-color .2s ease, box-shadow .3s var(--ease-wave);
}
.btn:hover { background: #66DDD7; }
.btn svg { width: 1.2em; height: 1.2em; flex: none; transition: translate .3s var(--ease-wave); }
.btn-sm { min-height: 2.5rem; padding: .45rem 1rem; font-size: .9375rem; }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: rgba(127, 127, 127, .12); }
.btn-soon { background: transparent; color: inherit; border: 2px dashed currentColor; cursor: default; }
.btn-soon:hover { background: transparent; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1rem; margin: var(--space-l) 0 var(--space-s); }
.cta .fine { flex-basis: 100%; margin: 0; }
.fine { font-size: .9375rem; color: var(--muted); }

/* ---------- header ---------- */
.site-head { background: var(--deep); color: var(--on-deep); position: relative; z-index: 2; }
.bar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-s); min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: .65rem; color: var(--on-deep); text-decoration: none; font-weight: 800; font-variation-settings: "opsz" 55; font-size: 1.3125rem; letter-spacing: -.02em; white-space: nowrap; }
/* the app icon; the hairline keeps its edge visible on the deep header, where the tile colour matches */
.brand-icon { width: 2.25rem; height: 2.25rem; flex: none; border-radius: 22.4%; box-shadow: 0 0 0 1px rgba(234, 244, 243, .22); transition: transform .4s var(--ease-wave); }
.bar nav.sections { display: none; gap: 1.6rem; }
.bar nav.sections a, .bar .lang { color: var(--on-deep); text-decoration: none; font-weight: 600; font-size: .9375rem; }
.bar nav.sections a {
  padding-block: .35rem;
  background: linear-gradient(var(--ring), var(--ring)) 0 100% / 0 2px no-repeat;
  transition: background-size .35s var(--ease-wave);
}
.bar nav.sections a:hover, .bar nav.sections a:focus-visible { background-size: 100% 2px; }
.bar .lang:hover span { text-decoration: underline; }
.bar-end { display: flex; align-items: center; gap: var(--space-s); }
.bar .lang { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding-inline: .25rem; }
@media (min-width: 60rem) { .bar nav.sections { display: flex; } }
@media (max-width: 28rem) { .bar .btn-sm { display: none; } }
.bar .btn-sm { white-space: nowrap; }

/* language flags: decoration next to the language name, which stays as text */
.flag { width: 1.3125rem; height: auto; aspect-ratio: 3 / 2; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(234, 244, 243, .28); transition: transform .3s var(--ease-wave); }

/* ---------- deep brand areas and the sun ---------- */
.deep { background: var(--deep); color: var(--on-deep); position: relative; overflow: hidden; isolation: isolate; }
.deep .lead, .deep .muted, .deep .fine { color: var(--on-deep-muted); }
.deep a:not(.btn) { color: var(--on-deep); }
.deep .eyebrow { color: var(--ring); }
.sun { position: absolute; z-index: -1; pointer-events: none; max-width: none; }
.sun circle { transform-origin: center; transform-box: fill-box; }
.sun circle.r { fill: none; stroke: var(--ring); stroke-width: 2.5; vector-effect: non-scaling-stroke; }
.sun circle.d { fill: var(--dawn); }
.swell { position: absolute; z-index: -1; pointer-events: none; color: var(--ring); max-width: none; }
.swell path { fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; vector-effect: non-scaling-stroke; }

/* ---------- hero ---------- */
.hero { padding: var(--space-l) 0 0; }
.hero-grid { display: grid; gap: var(--space-l); align-items: center; }
.hero h1 { font-size: clamp(3rem, 11.5vw, 6.25rem); }
.hero h1 span { display: block; }
.hero .kicker { margin-bottom: var(--space-m); color: var(--on-deep-muted); }
.hero .kicker::before { content: ""; display: inline-block; width: .6rem; height: .6rem; border-radius: 50%; background: var(--dawn); margin-right: .55rem; vertical-align: .05em; }
.hero .lead { margin: 0; }
.hero-visual { position: relative; min-height: 0; padding-top: var(--space-xs); display: flex; justify-content: center; align-items: flex-end; padding-bottom: 0; }
.hero > .sun { width: 30rem; height: 30rem; right: -15rem; bottom: 3rem; }
.hero-swell { width: 9rem; height: 9rem; left: 0; bottom: 0; opacity: .55; }
.hero-visual .phone { width: clamp(15rem, 62vw, 19rem); margin-bottom: -6rem; }
.hero-visual .watch { position: absolute; left: max(0rem, calc(50% - 15rem)); bottom: 1.5rem; width: clamp(8.5rem, 30vw, 10.5rem); }
@media (min-width: 60rem) {
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: var(--space-s); }
  .hero-visual { min-height: 38rem; }
  .hero > .sun { width: 52rem; height: 52rem; right: -26rem; top: -6rem; bottom: auto; }
  .hero-visual .watch { left: 0; bottom: 1.5rem; }
  .hero-swell { width: 14rem; height: 14rem; }
}
@media (min-width: 80rem) { .hero-visual .watch { left: -2.5rem; } } /* below 80rem it would touch the text */
.hero-after { height: 7rem; } /* room for the phone that reaches into the next band */

/* ---------- devices ---------- */
.phone {
  position: relative; margin: 0; padding: .55rem; border-radius: 2.9rem;
  background: var(--bezel); box-shadow: var(--shadow), inset 0 0 0 1.5px #2C3B44;
}
.phone img { width: 100%; height: auto; aspect-ratio: 592 / 1287; border-radius: 2.4rem; background: #000; }
.phone::after { /* side button */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 4.5rem; border-radius: 0 3px 3px 0; background: #2C3B44;
}
.watch { position: relative; margin: 0; padding: 0; }
.watch .case {
  position: relative; z-index: 1; padding: .6rem; border-radius: 2.6rem; background: var(--bezel);
  box-shadow: var(--shadow), inset 0 0 0 1.5px #2C3B44;
}
.watch .case::after { /* digital crown */
  content: ""; position: absolute; right: -.45rem; top: 26%; width: .5rem; height: 1.6rem; border-radius: .25rem; background: #3A4A54;
}
.watch img { width: 100%; height: auto; aspect-ratio: 416 / 496; border-radius: 2.05rem; background: #000; }
.watch .body { position: relative; isolation: isolate; }
.watch .body::before, .watch .body::after { /* strap */
  content: ""; position: absolute; left: 14%; right: 14%; height: 22%; background: #1B3440; z-index: 0;
}
.watch .body::before { top: -14%; border-radius: 1.2rem 1.2rem .4rem .4rem; }
.watch .body::after { bottom: -14%; border-radius: .4rem .4rem 1.2rem 1.2rem; }
@media (prefers-color-scheme: dark) { .watch .body::before, .watch .body::after { background: #24495A; } }
figure figcaption { margin-top: var(--space-m); text-align: center; color: var(--muted); }
.watch figcaption { margin-top: calc(var(--space-m) + 1rem); } /* clears the strap */

/* ---------- cards: one padding, one gap ---------- */
.feature, .need, .stat { margin: 0; padding: var(--space-m); border-radius: var(--radius); }
.features, .needs, .stats { display: grid; gap: var(--space-s); margin: 0; padding: 0; list-style: none; }

/* example session strip */
.example { padding: var(--space-l) 0 0; }
.example .caps { color: var(--muted); margin: 0 0 var(--space-s); }
.stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.stat { background: var(--lagoon-soft); display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: .35rem; }
.stat .fig { font-size: clamp(2.25rem, 7vw, 3.25rem); }
.stat .fig small { font-size: .42em; letter-spacing: 0; font-weight: 700; margin-left: .15em; }
.stat .fig .count { display: inline-block; }
.stat .caps { color: var(--muted); margin: 0; }
.stat-hero { background: var(--deep); color: var(--on-deep); }
.stat-hero .fig { color: var(--dawn); }
.stat-hero .caps { color: var(--on-deep-muted); }
@media (min-width: 48rem) { .stats { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- sections ---------- */
.section { padding-block: var(--space-xl); }
/* two light sections in a row share one gap instead of adding up to two */
.section:not(.deep) + .section:not(.deep) { padding-top: 0; }
.section-head { max-width: 46rem; margin-bottom: var(--space-l); }
.section-head > :last-child { margin-bottom: 0; }
.section .lead { margin-bottom: 0; }
.section .lead + * { margin-top: var(--space-l); }
.split { display: grid; gap: var(--space-l); align-items: center; }
@media (min-width: 60rem) {
  .split { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .split.flip > :first-child { order: 2; }
}
@media (min-width: 40rem) { .features.two { grid-template-columns: 1fr 1fr; } }
.feature { background: var(--surface); border: 1px solid var(--line); }
.feature p { margin: 0; color: var(--muted); }
.deep .feature { background: rgba(234, 244, 243, .07); border-color: rgba(234, 244, 243, .16); }
.deep .feature p { color: var(--on-deep-muted); }
.feature h3 { display: flex; gap: .6rem; align-items: baseline; }
.feature h3 .n { color: var(--lagoon); font-feature-settings: "tnum" 1; }
.deep .feature h3 .n { color: var(--ring); }

.devices { display: flex; justify-content: center; align-items: flex-end; gap: clamp(.75rem, 3vw, 1.75rem); position: relative; isolation: isolate; }
.devices .phone { width: min(46%, 17rem); }
.devices .phone:nth-child(2) { margin-bottom: var(--space-l); }
.devices.one .phone { width: min(70%, 18rem); }
.watches { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 3vw, 2rem); max-width: 40rem; margin: var(--space-l) auto 0; padding-top: 1.75rem; /* strap */ }
.watches .watch figcaption { font-size: .9375rem; }
@media (max-width: 30rem) { .watches figcaption { font-size: .8125rem; } }

/* forecast verdict chips, same word + symbol + colour as in the app */
.verdicts { display: flex; flex-wrap: wrap; gap: .6rem; margin: 0; padding: 0; list-style: none; }
.verdicts + .features { margin-top: var(--space-l); }
.chip { display: inline-flex; align-items: center; gap: .5rem; padding: .55rem 1.05rem .55rem .7rem; border-radius: 999px; font-weight: 800; font-variation-settings: "opsz" 50; font-size: 1.125rem; line-height: 1.1; margin: 0; transition: transform .3s var(--ease-wave); }
.chip svg { width: 1.3rem; height: 1.3rem; flex: none; }
.chip-good { background: var(--lagoon); color: var(--on-lagoon); }
.chip-okay { background: var(--wax); color: var(--on-warm); }
.chip-not { background: var(--line); color: var(--ink); }
.chip-good .cut { stroke: var(--lagoon); }
.chip-not .cut { stroke: var(--line); }
.note { border-left: 3px solid var(--wax); padding: .2rem 0 .2rem var(--space-s); color: var(--muted); margin: var(--space-m) 0 0; }
.deep .note { color: var(--on-deep-muted); }
.features + p, .needs + p { margin: var(--space-m) 0 0; }

/* privacy band */
.privacy-band .sun { width: 40rem; height: 40rem; left: -20rem; bottom: -20rem; }
.privacy-band h2 { font-size: clamp(2.25rem, 6.4vw, 4.5rem); }
.privacy-band h2 span { display: block; }
.textlink { font-weight: 650; }
.textlink::after { content: " →"; display: inline-block; white-space: pre; transition: translate .3s var(--ease-wave); }

/* requirements */
@media (min-width: 48rem) { .needs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.need { background: var(--surface); border: 1px solid var(--line); display: flex; flex-direction: column; gap: .3rem; }
.need .caps { color: var(--muted); order: -1; }
.need .fig { font-size: clamp(1.75rem, 4vw, 2.25rem); }
.need p { margin: var(--space-xs) 0 0; color: var(--muted); }

/* FAQ: same content width as every other section; only the answer text keeps a reading measure */
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: var(--space-s);
  padding: var(--space-m) 0; font-family: var(--brand); font-weight: 700; font-variation-settings: "opsz" 50; font-size: 1.1875rem; line-height: 1.3;
  transition: color .2s ease;
}
.faq-list summary:hover { color: var(--lagoon); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: ""; flex: none; width: 1.75rem; height: 1.75rem; border-radius: 50%; border: 2px solid var(--lagoon);
  background-image: linear-gradient(var(--lagoon), var(--lagoon)), linear-gradient(var(--lagoon), var(--lagoon));
  background-position: center, center; background-repeat: no-repeat;
  background-size: .7rem 2px, 2px .7rem;
  transition: background-size .35s var(--ease-wave), transform .35s var(--ease-wave);
}
.faq-list details[open]:not(.closing) summary::after { background-size: .7rem 2px, 2px 0; transform: rotate(180deg); }
.faq-list details > div { padding: 0 0 var(--space-m); color: var(--muted); max-width: 48rem; }
.faq-list details > div p:last-child { margin-bottom: 0; }
.faq-list details.animating > div { overflow: hidden; }

/* final call to action */
.final { text-align: center; padding-block: var(--space-xl); }
.final .sun { width: 34rem; height: 34rem; left: 50%; top: -24rem; translate: -50% 0; }
.final h2 { font-size: clamp(2.5rem, 8vw, 5rem); margin-top: calc(var(--space-xl) - var(--space-s)); } /* below the sun's rings */
.final .lead { margin-inline: auto; }
.final .cta { justify-content: center; margin-top: var(--space-l); }
.final .cta + p { margin: 0; }

/* ---------- legal and support pages ---------- */
.page-head { padding-block: var(--space-l); }
.page-head h1 { font-size: clamp(2.75rem, 9vw, 4.75rem); margin-bottom: var(--space-s); }
.page-head .lead { margin: 0; }
.page-head .swell { width: 7rem; height: 7rem; right: 0; top: 0; }
@media (min-width: 48rem) { .page-head .swell { width: 12rem; height: 12rem; } }
.doc { padding-top: var(--space-l); padding-bottom: var(--space-xl); }
.doc h2 { font-size: clamp(1.5rem, 3.6vw, 1.875rem); font-variation-settings: "opsz" 75; letter-spacing: -.015em; line-height: 1.15; margin: var(--space-l) 0 var(--space-s); padding-top: var(--space-m); border-top: 1px solid var(--line); }
.doc h3 { margin-top: var(--space-m); }
.doc > :first-child, .doc .toc + h2 { margin-top: 0; }
.doc > h2:first-child { border-top: 0; padding-top: 0; }
.doc dl { margin: 0 0 var(--space-s); display: grid; grid-template-columns: minmax(9rem, auto) 1fr; gap: .55rem 1.5rem; }
.doc dt { color: var(--muted); }
.doc dd { margin: 0; }
@media (max-width: 34rem) { .doc dl { grid-template-columns: 1fr; gap: 0; } .doc dt { margin-top: .8rem; font-size: .9375rem; } }
.toc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: var(--space-m); margin: 0 0 var(--space-l); }
.toc .caps { color: var(--muted); margin: 0 0 .6rem; }
.toc ol { margin: 0; padding: 0; list-style: none; columns: 2 16rem; column-gap: 2rem; }
.toc li { margin: 0 0 .35rem; break-inside: avoid; }
.stand { margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid var(--line); color: var(--muted); font-size: .9375rem; }
.lang-note { font-size: .9375rem; }

/* ---------- footer ---------- */
.site-foot { background: var(--deep); color: var(--on-deep); padding-block: var(--space-l); position: relative; overflow: hidden; isolation: isolate; }
.final + .site-foot, .deep + .site-foot { border-top: 1px solid rgba(234, 244, 243, .16); }
.site-foot .swell { width: 8rem; height: 8rem; right: 0; top: 0; opacity: .9; }
.foot-grid { display: grid; gap: var(--space-l); }
@media (min-width: 48rem) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.site-foot .brand { font-size: 1.5rem; margin-bottom: var(--space-s); }
.site-foot .brand-icon { width: 2.75rem; height: 2.75rem; }
.site-foot p { color: var(--on-deep-muted); }
.site-foot a { color: var(--on-deep); }
.site-foot nav ul { list-style: none; margin: 0; padding: 0; }
.site-foot nav li { margin: 0 0 .5rem; }
.site-foot nav a[hreflang] { display: inline-flex; align-items: center; gap: .55rem; }
.site-foot .caps { color: var(--ring); margin: 0 0 .75rem; }
.foot-fine { margin-top: var(--space-l); padding-top: var(--space-m); border-top: 1px solid rgba(234, 244, 243, .16); font-size: .875rem; }
.foot-fine p { margin: 0 0 .4rem; max-width: 52rem; }

/* ---------- 404 ---------- */
.lost { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: var(--space-l) var(--gutter); }
.lost .sun { width: 36rem; height: 36rem; right: -18rem; top: -18rem; }
.lost h1 { font-size: clamp(3rem, 12vw, 6rem); }
.lost .caps { color: var(--ring); }
.lost .cta { justify-content: center; }
.lost .lead { margin-inline: auto; }

/* ---------- motion ----------
   Everything that moves sits inside this block, so prefers-reduced-motion: reduce gets a still page.
   Content never depends on it: without JavaScript nothing is hidden. The classes .motion and .rv are only
   set by site.js, and .rv only on elements that are still below the fold when the page loads. */
@media (prefers-reduced-motion: no-preference) {
  /* page load */
  .rise, .page-head h1, .page-head .lead { animation: rise .9s var(--ease-wave) both; }
  .rise-2, .page-head .lead { animation-delay: .1s; } .rise-3 { animation-delay: .2s; } .rise-4 { animation-delay: .3s; }

  /* the sun: rings open up, then keep breathing outwards like a slow set of waves */
  .sun circle.r { animation: ring 2.4s var(--ease-wave) both, breathe 9s var(--ease-swell) infinite; }
  .sun circle.r:nth-of-type(1) { animation-delay: .4s, 2.8s; }
  .sun circle.r:nth-of-type(2) { animation-delay: .3s, 2.2s; }
  .sun circle.r:nth-of-type(3) { animation-delay: .2s, 1.6s; }
  .sun circle.r:nth-of-type(4) { animation-delay: .1s, 1s; }
  .sun circle.r:nth-of-type(5) { animation-delay: 0s, .4s; }
  .sun circle.d { animation: glow 9s var(--ease-swell) infinite; }

  /* swell lines draw in, then drift */
  .swell { animation: drift 11s var(--ease-swell) infinite alternate; }
  .swell path { stroke-dasharray: 1; animation: draw 1.8s var(--ease-wave) both; }
  .swell path:nth-of-type(2) { animation-delay: .2s; }
  .swell path:nth-of-type(3) { animation-delay: .4s; }

  /* hero devices float a little, out of step */
  .hero-visual .phone { animation: float 8s var(--ease-swell) infinite alternate; }
  .hero-visual .watch .body { animation: float-watch 7s var(--ease-swell) -3s infinite alternate; }

  /* scroll: the values come from site.js as custom properties */
  .motion .hero > .sun { translate: 0 calc(var(--sy, 0) * .25px); }
  .motion .hero-visual { translate: 0 calc(var(--sy, 0) * -.06px); }
  .motion .devices .phone, .motion .watches .watch { translate: 0 var(--py, 0px); }

  /* reveal on scroll, with a small stagger inside a group */
  .motion .rv { opacity: 0; transform: translateY(1.5rem); }
  .motion .rv.in {
    opacity: 1; transform: none;
    transition: opacity .6s var(--ease-wave), transform 1s var(--ease-wave);
    transition-delay: calc(var(--i, 0) * 70ms);
  }
  .motion .devices .phone.rv { transform: translateY(3rem) scale(.97); }
  .motion .devices .phone.rv.in { transform: none; }

  /* hover and press */
  .btn:hover { transform: translateY(-2px); box-shadow: 0 .9rem 1.6rem -.7rem rgba(63, 208, 201, .65); }
  .btn:active { transform: translateY(0) scale(.97); box-shadow: none; transition-duration: .1s; }
  .btn:hover svg { translate: 0 2px; }
  .btn-soon:hover, .btn-soon:active, .btn-ghost:hover { box-shadow: none; }
  .btn-soon:hover, .btn-soon:active { transform: none; }
  .brand:hover .brand-icon { transform: rotate(-8deg) scale(1.06); }
  .lang:hover .flag, .site-foot a[hreflang]:hover .flag { transform: scale(1.12); }
  .textlink:hover::after { translate: .25rem 0; }
  .feature, .need, .stat { transition: transform .4s var(--ease-wave), box-shadow .4s var(--ease-wave), border-color .3s ease, background-color .3s ease; }
  @media (hover: hover) {
    .feature:hover, .need:hover { transform: translateY(-4px); box-shadow: var(--lift); border-color: var(--lagoon); }
    .deep .feature:hover { border-color: var(--ring); box-shadow: none; background: rgba(234, 244, 243, .1); }
    .stat:hover { transform: translateY(-4px); box-shadow: var(--lift); }
    .chip:hover { transform: translateY(-2px) rotate(-1.5deg); }
  }
  .feature:active, .need:active, .stat:active { transform: scale(.985); transition-duration: .1s; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

@keyframes rise { from { opacity: 0; transform: translateY(1.25rem); } to { opacity: 1; transform: none; } }
@keyframes ring { from { opacity: 0; transform: scale(.85); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes drift { from { transform: translate(0, 0); } to { transform: translate(-.4rem, .3rem); } }
@keyframes float { from { transform: translateY(0); } to { transform: translateY(-.75rem); } }
@keyframes float-watch { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(-.6rem) rotate(-1.5deg); } }

@media print {
  .site-head nav, .bar-end, .site-foot .swell, .sun, .swell, .skip { display: none !important; }
  body, .deep, .site-head, .site-foot { background: #fff !important; color: #000 !important; }
  .deep .lead, .site-foot p, .site-foot a { color: #000 !important; }
  .rv { opacity: 1 !important; transform: none !important; }
}
