/* Atlas site: Liquid (dark) and Frost (light), the app's own world.

   Every colour is lifted from ios/Atlas/Shared/AtlasTheme.swift and DESIGN.md.
   The site should look like the app it sells, so if a token changes there,
   change it here. Nothing imports one from the other.

   Self-hosted, never a CDN request: the pitch is that nothing about you leaves
   your phone, and a webfont from Google would make that untrue for every
   visitor. `ui-rounded` is SF Rounded on Apple platforms, which is what the app
   uses for titles. SF cannot ship to other platforms, so Nunito (OFL, rounded
   terminals) stands in there. */

@font-face {
  font-family: "Atlas Display";
  src: url("assets/nunito-latin-var.woff2") format("woff2");
  font-weight: 600 800;
  font-style: normal;
  font-display: swap;
}

/* ---------------------------------------------------------------- tokens */
:root {
  color-scheme: dark;
  /* Accent: gold. --acf is the luminous field colour as an rgb triplet;
     --a-fill-l / --a-text-l are the light-mode fill and AA text variants. */
  --acf: 245, 199, 82;
  --a-dark: #F5C752;
  --a-fill-l: #8F6E1A;
  --a-text-l: #735714;

  /* Liquid */
  --ground: #07090D;
  --ink: #FFFFFF;
  --ink2: #A7AAB0;
  --ink3: #8A8D93;
  --hair: rgba(255, 255, 255, .12);
  --track: rgba(255, 255, 255, .10);
  --pn-bg: rgba(255, 255, 255, .06);
  --pn-bd: rgba(255, 255, 255, .11);
  --pn-sh: inset 0 1px 0 rgba(255, 255, 255, .10), 0 16px 32px -24px rgba(0, 0, 0, .8);
  --gl-bg: rgba(255, 255, 255, .085);
  --gl-bd: rgba(255, 255, 255, .14);
  --gl-hi: rgba(255, 255, 255, .22);
  --gl-sh: 0 10px 30px -14px rgba(0, 0, 0, .7);
  --steel: 143, 163, 191;
  --fa: .5;           /* field strength, accent */
  --fs: .34;          /* field strength, steel */
  --ac-text: var(--a-dark);
  --ac-fill: var(--a-dark);
  --on-ac: #16130B;
  --hit: #30D158;
  --on-hit: #062A12;
  --danger: #FF453A;
  --ok: #30D158;
  --dev: #16171A;
  --dev-ring: rgba(255, 255, 255, .16);
  --field-in: rgba(0, 0, 0, .28);

  /* Peak tube */
  --rim: rgba(255, 255, 255, .17);
  --tube: rgba(12, 15, 21, .78);
  --hiw: rgba(255, 255, 255, .3);
  --glowa: .5;
  --core: rgba(255, 255, 255, .5);

  --display: ui-rounded, "SF Pro Rounded", "Atlas Display", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --text: -apple-system, BlinkMacSystemFont, "SF Pro Text", system-ui, "Segoe UI", Roboto, sans-serif;
  --r-panel: 24px;
  --gutter: clamp(16px, 4vw, 40px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

:root[data-accent="ocean"] { --acf: 108, 178, 255; --a-dark: #6CB2FF; --a-fill-l: #0B62B8; --a-text-l: #0A5CAD; }
:root[data-accent="moss"]  { --acf: 111, 208, 124; --a-dark: #6FD07C; --a-fill-l: #2F7A3C; --a-text-l: #286934; }
:root[data-accent="ember"] { --acf: 255, 138, 102; --a-dark: #FF8A66; --a-fill-l: #A63A24; --a-text-l: #A33923; }
:root[data-accent="iris"]  { --acf: 180, 156, 255; --a-dark: #B49CFF; --a-fill-l: #6A48B0; --a-text-l: #6A48B0; }

/* Frost: the same structure, only colour and material change. */
@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light;
    --ground: #D2D8E0;
    --ink: #0E1622;
    --ink2: #414853;
    --ink3: #555C66;
    --hair: rgba(14, 22, 34, .13);
    --track: rgba(14, 22, 34, .13);
    --pn-bg: rgba(255, 255, 255, .30);
    --pn-bd: rgba(255, 255, 255, .60);
    --pn-sh: inset 0 1px 0 rgba(255, 255, 255, .75), 0 0 0 .5px rgba(30, 42, 60, .16), 0 16px 32px -26px rgba(30, 45, 70, .5);
    --gl-bg: rgba(255, 255, 255, .38);
    --gl-bd: rgba(255, 255, 255, .62);
    --gl-hi: rgba(255, 255, 255, .85);
    --gl-sh: 0 0 0 .5px rgba(30, 42, 60, .16), 0 14px 28px -20px rgba(30, 45, 70, .45);
    --steel: 150, 175, 210;
    --fa: .34;
    --fs: .45;
    --ac-text: var(--a-text-l);
    --ac-fill: var(--a-fill-l);
    --on-ac: #FFFFFF;
    --hit: #34C759;
    --danger: #B00012;
    --ok: #17672F;
    --dev: #1B1D21;
    --dev-ring: rgba(30, 42, 60, .35);
    --field-in: rgba(255, 255, 255, .45);
    --rim: #5E6B7E;
    --tube: rgba(169, 180, 194, .92);
    --hiw: rgba(255, 255, 255, .85);
    --glowa: .3;
    --core: rgba(255, 255, 255, .7);
  }
}

/* ---------------------------------------------------------------- base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
::selection { background: rgba(var(--acf), .38); color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: var(--ac-text); text-underline-offset: .2em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--ac-text); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 1.35rem + 2.1vw, 3rem); line-height: 1.06; letter-spacing: -.022em; }
p { margin: 0; }
.nowrap { white-space: nowrap; }
.wrap { width: min(1180px, 100%); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { width: min(760px, 100%); }
.lede { color: var(--ink2); font-size: clamp(1.0625rem, 1rem + .3vw, 1.25rem); line-height: 1.5; max-width: 38rem; text-wrap: pretty; }
.note { color: var(--ink2); font-size: .9375rem; line-height: 1.5; max-width: 40rem; }
.note.center { text-align: center; margin: 1.25rem auto 0; }
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 22px;
  background: var(--ac-fill); color: var(--on-ac); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 12px; }

.ico { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------------------------------------------------------------- the lit field */
.field {
  position: absolute; inset: -80px -10% auto -10%; height: 820px; z-index: 0; pointer-events: none;
  filter: blur(40px);
  background:
    radial-gradient(38% 42% at 22% 18%, rgba(var(--acf), var(--fa)) 0%, transparent 72%),
    radial-gradient(36% 40% at 84% 24%, rgba(var(--steel), var(--fs)) 0%, transparent 72%);
  transition: background .6s var(--ease-out);
}
.field-low { height: 700px; inset: 0 -10% auto -10%; }

/* ---------------------------------------------------------------- glass + panels */
.glass {
  background: var(--gl-bg);
  -webkit-backdrop-filter: blur(24px) saturate(165%);
  backdrop-filter: blur(24px) saturate(165%);
  border: 1px solid var(--gl-bd);
  box-shadow: inset 0 1px 0 var(--gl-hi), var(--gl-sh);
}
.panel {
  background: var(--pn-bg);
  -webkit-backdrop-filter: blur(28px) saturate(150%);
  backdrop-filter: blur(28px) saturate(150%);
  border: 1px solid var(--pn-bd);
  box-shadow: var(--pn-sh);
  border-radius: var(--r-panel);
}
@media (prefers-reduced-transparency: reduce) {
  .glass, .panel { -webkit-backdrop-filter: none; backdrop-filter: none; background: color-mix(in srgb, var(--ground) 86%, var(--ink)); }
}
.panel-label { font-family: var(--text); font-size: .9375rem; font-weight: 600; color: var(--ink2); margin: 2rem 0 .6rem 4px; letter-spacing: 0; }

/* ---------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 44px; padding: 0 20px; border-radius: 999px;
  font: 600 1rem/1.2 var(--text); color: var(--ink); text-decoration: none;
  border: 0; cursor: pointer;
  transition: transform .18s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.97); }
.btn.glass:hover { background: color-mix(in srgb, var(--gl-bg) 70%, var(--ink) 8%); }
.btn.prominent {
  min-height: 60px; padding: 0 30px; color: var(--on-ac);
  background: linear-gradient(180deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, 0) 55%), var(--ac-fill);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 30px -16px rgba(var(--acf), .75);
}
.btn.prominent:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 18px 36px -14px rgba(var(--acf), .9); }
.btn.prominent.small { min-height: 44px; padding: 0 18px; font-size: .9375rem; }
.btn.prominent.full { width: 100%; font-size: 1.0625rem; }
.btn.glass { min-height: 60px; padding: 0 26px; }
.btn.glass.small { min-height: 44px; padding: 0 18px; font-size: .9375rem; color: var(--ac-text); }
.btn-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.btn-stack b { font-size: 1.0625rem; font-weight: 650; }
.btn-stack small { font-size: .75rem; font-weight: 600; opacity: .78; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* ---------------------------------------------------------------- header */
.top {
  position: sticky; top: 0; z-index: 20;
  padding: 12px var(--gutter);
  transition: background-color .3s, box-shadow .3s;
}
.top.stuck {
  background: color-mix(in srgb, var(--ground) 72%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  box-shadow: 0 1px 0 var(--hair);
}
.top-in { width: min(1180px, 100%); margin: 0 auto; display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--ink); text-decoration: none; font: 700 1.25rem/1 var(--display); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.mini-peak { width: 34px; height: 34px; overflow: visible; }
.mini-peak path { fill: none; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.mp-track { stroke: color-mix(in srgb, rgb(var(--steel)) 55%, var(--ink) 20%); opacity: .75; }
.mp-fill { stroke: var(--a-dark); stroke-dasharray: 0 200; filter: drop-shadow(0 0 3px rgba(var(--acf), .7)); }
.mp-apex { fill: var(--track); stroke: var(--rim); stroke-width: 1; transition: fill .4s var(--ease-out), filter .4s; }
.mp-apex.on { fill: var(--a-dark); filter: drop-shadow(0 0 4px rgba(var(--acf), .9)); }
@media (prefers-color-scheme: light) {
  .mp-fill { stroke: var(--ac-fill); }
  .mp-apex.on { fill: var(--ac-fill); }
}
.nav { margin-left: auto; display: flex; align-items: center; border-radius: 22px; height: 44px; padding: 0 4px; }
.nav a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border-radius: 18px; color: var(--ink2); font-size: .9375rem; font-weight: 600; text-decoration: none; }
.nav a:hover { color: var(--ink); background: var(--track); }
.nav a[aria-current="true"] { color: var(--ink); background: var(--track); }
@media (max-width: 860px) { .nav { display: none; } .top .btn.small { margin-left: auto; } }

/* ---------------------------------------------------------------- the Peak */
.peak { display: block; width: min(520px, 78vw); height: auto; overflow: visible; }
.peak path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.peak .t-rim { stroke: var(--rim); stroke-width: 17; }
.peak .t-in { stroke: var(--tube); stroke-width: 14.5; }
.peak .f-glow { stroke: rgba(var(--acf), 1); stroke-width: 16; filter: url(#pkblur); opacity: var(--glowa); }
.peak .f-wall { stroke: rgba(var(--acf), .55); stroke-width: 12.5; }
.peak .f-body { stroke: var(--a-dark); stroke-width: 10; }
.peak .f-core { stroke: var(--core); stroke-width: 3; }
.peak .f-glow, .peak .f-wall, .peak .f-body, .peak .f-core { stroke-dasharray: 0 200; }
.peak .t-hi { stroke: var(--hiw); stroke-width: 1.1; opacity: .55; }
.peak .f-edge { fill: rgba(var(--acf), .55); filter: url(#pkblur); opacity: 0; }
.peak .pk-apex { fill: var(--tube); stroke: var(--rim); stroke-width: 1.5; transition: fill .5s var(--ease-out), stroke .5s; }
.peak .apex-glow { fill: rgba(var(--acf), .85); filter: url(#pkblur); opacity: 0; transition: opacity .8s var(--ease-out); }
.peak.lit .pk-apex { fill: var(--a-dark); stroke: rgba(255, 255, 255, .6); }
.peak.lit .apex-glow { opacity: 1; }
.peak.edge .f-edge { opacity: 1; }
@media (prefers-reduced-motion: no-preference) {
  .peak.edge .f-edge { animation: edge 2.6s ease-in-out infinite; }
  @keyframes edge { 0%, 100% { opacity: .35; } 50% { opacity: 1; } }
}
@media (prefers-color-scheme: light) {
  .peak .t-hi { opacity: .9; }
  .peak .f-wall { stroke: var(--ac-fill); stroke-width: 12; }
  .peak .f-body { stroke: rgb(var(--acf)); stroke-width: 8.5; }
  .peak .f-core { stroke: rgba(255, 255, 255, .75); stroke-width: 2.2; }
  .peak .f-edge { fill: rgba(var(--acf), .9); }
  .peak.lit .pk-apex { fill: rgb(var(--acf)); stroke: var(--ac-fill); }
}

/* ---------------------------------------------------------------- hero */
.hero { position: relative; isolation: isolate; padding: clamp(24px, 5vh, 56px) var(--gutter) 0; overflow: clip; margin-top: -68px; padding-top: calc(68px + clamp(16px, 4vh, 44px)); }
.hero-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero .peak { width: min(380px, 70vw); }
.hero h1 {
  margin-top: clamp(20px, 3.5vh, 36px);
  font-size: clamp(2.35rem, 1.4rem + 3.6vw, 4.4rem);
  line-height: 1.02; letter-spacing: -.03em; max-width: 15ch;
}
.hero .lede { margin-top: 20px; max-width: 36rem; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 30px; }

.hero-phones {
  position: relative; z-index: 1;
  display: flex; justify-content: center; align-items: flex-start; gap: clamp(12px, 3vw, 40px);
  margin: clamp(36px, 5.5vh, 60px) auto 0;
  height: clamp(360px, 44vw, 560px);
  -webkit-mask-image: linear-gradient(#000 62%, transparent);
  mask-image: linear-gradient(#000 62%, transparent);
}
.hero-phones .d-center { --w: clamp(250px, 26vw, 340px); }
.hero-phones .d-side { --w: clamp(210px, 22vw, 290px); margin-top: clamp(40px, 6vw, 90px); }
@media (max-width: 720px) {
  .hero-phones .d-side { display: none; }
  .hero-phones { height: 440px; }
  .hero-phones .d-center { --w: min(290px, 78vw); }
}

/* ---------------------------------------------------------------- device frames */
.device {
  --w: 300px;
  position: relative;
  width: var(--w);
  flex: none;
  padding: calc(var(--w) * .026);
  border-radius: calc(var(--w) * .158);
  background: var(--dev);
  box-shadow: 0 0 0 1px var(--dev-ring), inset 0 0 0 1px rgba(255, 255, 255, .08), 0 40px 80px -40px rgba(0, 0, 0, .7);
}
.device img { width: 100%; border-radius: calc(var(--w) * .135); background: #07090D; }
.device figcaption { position: absolute; left: 0; right: 0; bottom: -2.2rem; text-align: center; color: var(--ink2); font-size: .9375rem; font-weight: 600; }

/* ---------------------------------------------------------------- bands */
.band { position: relative; isolation: isolate; padding: clamp(80px, 11vw, 150px) 0 0; }
.band > .wrap { position: relative; z-index: 1; }
/* Each station keeps a low light of its own, so the ground never goes flat
   between the hero and the invite. Plain gradients: no filter, no cost. */
.band::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(36% 46% at var(--gx, 22%) var(--gy, 58%), rgba(var(--acf), var(--glow, .11)) 0%, transparent 72%),
    radial-gradient(34% 40% at var(--sx, 86%) var(--sy, 30%), rgba(var(--steel), var(--sglow, .10)) 0%, transparent 72%);
}
#coach { --gx: 78%; --gy: 70%; --sx: 14%; --sy: 60%; }
#food { --gx: 76%; --gy: 55%; --sx: 10%; --sy: 30%; }
#watch::before { display: none; }
#look { --gx: 70%; --gy: 50%; --glow: .16; --sx: 20%; }
#privacy { --gx: 50%; --gy: 40%; --glow: .06; }
#invite::before { display: none; }
@media (prefers-color-scheme: light) { .band { --glow: .22; --sglow: .3; } #look { --glow: .3; } }
.intro { max-width: 46rem; }
.intro .lede { margin-top: 18px; }

.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { display: flex; justify-content: center; }
.split-media .device { --w: clamp(260px, 28vw, 340px); }
.split-copy h2 { max-width: 16ch; }
.split-copy > .lede { margin-top: 18px; }
@media (max-width: 860px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  #food .split-media { order: 2; }
  .split-media .device { --w: min(290px, 76vw); }
}

/* the rule */
.rule { list-style: none; margin: 0; padding: 4px 18px; }
.split-copy .panel-label { margin-top: 32px; }
.rule li { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); align-items: baseline; gap: 12px; padding: 14px 0; border-bottom: .5px solid var(--hair); color: var(--ink2); font-size: .9375rem; }
.rule li:last-child { border-bottom: 0; }
.rule .fig { font: 700 1.5rem/1 var(--display); color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; white-space: nowrap; }
.rule .fig small { font-size: .9375rem; font-weight: 600; color: var(--ink2); }
.rule .fig em { font-style: normal; font-size: 1.0625rem; color: var(--ac-text); }
.rule li.up .fig { color: var(--ac-text); }
.rule + .note { margin-top: 16px; }
@media (max-width: 420px) { .rule li { grid-template-columns: minmax(0, 1fr); gap: 6px; } }

/* ---------------------------------------------------------------- coach */
.coach-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(28px, 4vw, 56px); align-items: start; margin-top: clamp(40px, 6vw, 72px); }
.coach-grid > .device { --w: clamp(260px, 26vw, 330px); margin-right: clamp(0px, 4vw, 60px); order: 2; }
.coach-copy { max-width: 36rem; padding-top: 24px; }
.coach-copy .panel-label { margin-top: 0; }
.lines { list-style: none; margin: 0; padding: 4px 0 4px 18px; }
.lines li { display: flex; align-items: center; gap: 12px; min-height: 60px; padding-right: 16px; border-bottom: .5px solid var(--hair); font: 600 1.125rem/1.3 var(--display); }
.lines li:last-child { border-bottom: 0; }
.lines li span { flex: 1; }
.lines .ico { color: var(--ink2); }
.lines .ico.acc { color: var(--ac-text); }
.lines .chev { width: 16px; height: 16px; color: var(--ink3); }
.lines + .note { margin: 12px 0 0 4px; }
.defs { margin: 36px 0 0; display: grid; gap: 22px; }
.defs dt { font: 700 1.125rem/1.3 var(--display); }
.defs dd { margin: 4px 0 0; color: var(--ink2); max-width: 34rem; }
@media (max-width: 860px) {
  .coach-grid { grid-template-columns: minmax(0, 1fr); }
  .coach-grid > .device { justify-self: center; --w: min(290px, 76vw); }
}

/* ---------------------------------------------------------------- feature list */
.feats { list-style: none; margin: 28px 0 0; padding: 4px 0 4px 18px; }
.feats li { display: flex; gap: 14px; align-items: flex-start; padding: 16px 18px 16px 0; border-bottom: .5px solid var(--hair); color: var(--ink2); font-size: .9688rem; }
.feats li:last-child { border-bottom: 0; }
.feats .ico { margin-top: 1px; color: var(--ac-text); }
.feats b { display: block; color: var(--ink); font: 700 1.0625rem/1.3 var(--display); margin-bottom: 2px; }

/* ---------------------------------------------------------------- watch + lock screen */
.dark-band .field-low { opacity: .8; }
.reach { display: grid; grid-template-columns: auto auto minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: clamp(40px, 6vw, 72px); }
.watch {
  width: clamp(170px, 17vw, 208px); aspect-ratio: 416 / 496;
  padding: 14px; border-radius: 26%/22%;
  background: linear-gradient(160deg, #2b2d31, #0c0d0f 60%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .14), inset 0 0 0 1.5px rgba(255, 255, 255, .08), 0 40px 70px -36px rgba(0, 0, 0, .8);
}
.watch picture, .watch img { width: 100%; height: 100%; }
.watch img { border-radius: 16%/13%; object-fit: contain; background: #000; }
.reach-item figcaption { margin-top: 20px; color: var(--ink2); font-size: .9375rem; max-width: 16rem; }
.reach-item figcaption b { display: block; color: var(--ink); font: 700 1.0625rem/1.3 var(--display); margin-bottom: 2px; }
.lock {
  --lw: min(460px, 100%);
  width: var(--lw); padding: 16px; border-radius: 30px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 40px 70px -36px rgba(0, 0, 0, .8);
}
.lock img { width: 100%; border-radius: 20px; }
.reach-wide figcaption { max-width: 26rem; }
.widgets { margin-top: 18px; padding-top: 16px; border-top: .5px solid var(--hair); color: var(--ink2); font-size: .9375rem; max-width: 26rem; }
.widgets b { color: var(--ink); }
@media (max-width: 960px) {
  .reach { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .reach-wide { grid-column: 1 / -1; }
  .watch { width: min(190px, 100%); margin: 0 auto; }
  .reach-item:not(.reach-wide) figcaption { text-align: center; margin-left: auto; margin-right: auto; }
}

/* ---------------------------------------------------------------- look */
.look { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.look-copy h2 { max-width: 13ch; }
.look-copy .lede { margin-top: 18px; }
.swatches { display: inline-flex; gap: 6px; padding: 6px; border-radius: 30px; margin-top: 28px; }
.sw { width: 44px; height: 44px; border-radius: 22px; border: 0; padding: 0; cursor: pointer; position: relative; background: transparent; }
.sw::before { content: ""; position: absolute; inset: 8px; border-radius: 50%; background: var(--c); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 0 16px -2px var(--c); transition: transform .2s var(--ease-out); }
.sw[aria-checked="true"]::after { content: ""; position: absolute; inset: 2px; border-radius: 50%; box-shadow: 0 0 0 2px var(--c); }
.sw:hover::before { transform: scale(1.08); }
.sw[data-accent="gold"]  { --c: #F5C752; }
.sw[data-accent="ocean"] { --c: #6CB2FF; }
.sw[data-accent="moss"]  { --c: #6FD07C; }
.sw[data-accent="ember"] { --c: #FF8A66; }
.sw[data-accent="iris"]  { --c: #B49CFF; }
@media (prefers-color-scheme: light) {
  .sw[data-accent="gold"]  { --c: #8F6E1A; }
  .sw[data-accent="ocean"] { --c: #0B62B8; }
  .sw[data-accent="moss"]  { --c: #2F7A3C; }
  .sw[data-accent="ember"] { --c: #A63A24; }
  .sw[data-accent="iris"]  { --c: #6A48B0; }
}
#accent-name { margin: 10px 0 0 8px; font-weight: 600; }
.look-pair { display: flex; justify-content: center; gap: clamp(16px, 3vw, 36px); padding-bottom: 2.5rem; }
.look-pair .device { --w: clamp(200px, 21vw, 280px); }
.look-pair .d-lower { margin-top: 72px; }
@media (max-width: 860px) {
  .look { grid-template-columns: minmax(0, 1fr); }
  .look-pair .device { --w: min(220px, 42vw); }
  .look-pair .d-lower { margin-top: 40px; }
}

/* ---------------------------------------------------------------- privacy */
#privacy h2 { max-width: 14ch; }

/* ---------------------------------------------------------------- invite */
.invite-band { padding-bottom: clamp(80px, 10vw, 140px); overflow: clip; }
.invite-band .field { top: auto; bottom: -200px; height: 900px; }
.invite-in { text-align: center; }
.peak-sm { width: min(300px, 60vw); margin: 0 auto 28px; }
.invite-in .lede { margin: 18px auto 0; }
.invite { margin: 36px auto 0; padding: clamp(18px, 3vw, 28px); text-align: left; display: grid; gap: 18px; max-width: 560px; }
.field-row label { display: block; font-weight: 600; font-size: .9375rem; margin-bottom: 6px; }
.opt { font-weight: 500; color: var(--ink2); margin-left: 4px; }
.hint { color: var(--ink2); font-size: .875rem; margin: -2px 0 8px; }
.invite input, .invite textarea {
  width: 100%; min-height: 48px; padding: 12px 16px;
  font: 400 1.0625rem/1.4 var(--text); color: var(--ink);
  background: var(--field-in); border: 1px solid var(--pn-bd); border-radius: 14px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .18);
  transition: border-color .2s, box-shadow .2s;
  caret-color: var(--ac-text);
}
.invite textarea { resize: vertical; min-height: 96px; }
.invite input::placeholder, .invite textarea::placeholder { color: var(--ink3); }
.invite input:focus-visible, .invite textarea:focus-visible { outline: none; border-color: var(--ac-text); box-shadow: 0 0 0 3px rgba(var(--acf), .35); }
.invite [aria-invalid="true"] { border-color: var(--danger); }
.err { color: var(--danger); font-size: .875rem; margin-top: 6px; min-height: 0; }
.err:empty { display: none; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.invite-status { font-size: .9375rem; text-align: center; }
.invite-status:empty { display: none; }
.invite-status.bad { color: var(--danger); }
.sent { text-align: center; padding: 12px 0; }
.sent .tick { width: 56px; height: 56px; margin: 0 auto 14px; border-radius: 28px; display: grid; place-items: center; background: var(--hit); color: var(--on-hit); box-shadow: 0 12px 28px -14px rgba(48, 209, 88, .9); }
.sent .tick .ico { width: 26px; height: 26px; stroke-width: 3; }
.sent b { display: block; font: 700 1.25rem/1.3 var(--display); }
.sent p { color: var(--ink2); margin-top: 6px; }

/* ---------------------------------------------------------------- footer */
.foot { border-top: .5px solid var(--hair); padding: 36px 0 calc(40px + env(safe-area-inset-bottom)); color: var(--ink2); font-size: .875rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 20px 48px; justify-content: space-between; }
.foot p + p { margin-top: 6px; }
.foot .brand { font-size: 1.0625rem; margin-bottom: 4px; }
.foot-links { text-align: right; }
@media (max-width: 640px) { .foot-links { text-align: left; } }
.logo { width: 22px; height: 22px; }
.logo path { fill: none; stroke-width: 3.6; stroke-linecap: round; stroke-linejoin: round; }
.lg-a { fill: var(--a-dark); }
.lg-s { stroke: #E0E5EE; }
.lg-a-stroke { stroke: var(--a-dark); }
@media (prefers-color-scheme: light) {
  .lg-a { fill: var(--ac-fill); }
  .lg-a-stroke { stroke: var(--ac-fill); }
  .lg-s { stroke: #4D5566; }
}

/* ---------------------------------------------------------------- document pages (privacy, 404) */
.doc-top .top-in { justify-content: space-between; }
.doc { position: relative; isolation: isolate; padding: 40px 0 96px; overflow: clip; }
.doc > .wrap { position: relative; z-index: 1; }
.doc h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); line-height: 1.04; letter-spacing: -.025em; }
.doc .meta { color: var(--ink2); margin-top: 10px; font-size: .9375rem; }
.doc h2 { font-size: clamp(1.5rem, 1.2rem + 1.1vw, 2rem); margin: 56px 0 14px; letter-spacing: -.015em; scroll-margin-top: 90px; }
.doc h3 { font-size: 1.1875rem; margin: 32px 0 10px; scroll-margin-top: 90px; }
.doc p, .doc li { color: var(--ink2); max-width: 68ch; }
.doc p + p { margin-top: 14px; }
.doc strong, .doc b { color: var(--ink); font-weight: 600; }
.doc ul, .doc ol { padding-left: 1.25rem; margin: 12px 0; }
.doc li { margin: 8px 0; }
.doc .summary { margin-top: 32px; padding: 22px 24px; }
.doc .summary p { color: var(--ink); }
.doc .summary p + p { color: var(--ink2); }
.doc .tw { overflow-x: auto; margin: 16px 0; }
.doc table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: .9375rem; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: .5px solid var(--hair); color: var(--ink2); }
.doc th { color: var(--ink); font-weight: 600; }
.doc code { font-size: .9em; }
.doc .prose { width: min(820px, 100%); }
.doc .intro-lede { margin-top: 24px; max-width: 44rem; }
.doc .summary h2 { margin-top: 0; }
.doc hr { border: 0; border-top: .5px solid var(--hair); margin: 48px 0 24px; }
.doc .note { font-style: italic; }
.doc .field { height: 640px; }
.doc .invite { margin: 24px 0 20px; }

.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); position: relative; isolation: isolate; overflow: clip; }
.lost > div:not(.field) { position: relative; z-index: 1; }
.lost .peak { width: min(320px, 70vw); margin: 0 auto 28px; }
.lost h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); letter-spacing: -.025em; line-height: 1.05; }
.lost p { color: var(--ink2); margin: 14px auto 0; max-width: 26rem; text-wrap: balance; }
.lost .btn { margin-top: 30px; }
