/* Unstare — "Horizon" design system for the web.
   One stylesheet for every page. No build step. */

:root {
  color-scheme: light dark;

  /* Horizon tokens (fixed) */
  --dusk: #0B1A30;
  --dusk-low: #1C2E4A;
  --ember: #FF9F7A;
  --sky-1: #2F86F5;
  --sky-2: #6AB4FF;
  --sky-3: #BFE6FF;
  --dawn-1: #F2706A;
  --dawn-2: #FF9A6E;
  --dawn-3: #FFD9A8;
  --on-dusk: #FFFFFF;
  --on-dusk-2: #B8C4D4;
  --on-dusk-3: #8A9AB0;
  --fill: #1F6FD1;

  /* Page (light) */
  --bg: #F4F7FB;
  --raised: #FFFFFF;
  --text: #0B1A30;
  --text-2: #44546B;
  --text-3: #5B6B83;
  --ink: #1F6FD1;
  --dawn-ink: #C2552E;
  --line: rgba(11, 26, 48, .1);
  --wash: rgba(11, 26, 48, .045);
  --rim: rgba(255, 255, 255, .9);
  --shadow: 0 1px 2px rgba(11, 26, 48, .05), 0 30px 60px -30px rgba(11, 26, 48, .32);

  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "SF Pro Display", system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 5vw, 48px);
  --max: 1120px;
  --section: clamp(88px, 13vw, 168px);
  /* Dawn light at a bottom edge: a tight bright dome plus a faint wash, screen-blended */
  --horizon-glow: radial-gradient(46% 9% at 50% 100%, rgba(255, 170, 124, .55), transparent 85%), radial-gradient(70% 26% at 50% 100%, rgba(255, 140, 100, .14), transparent 75%);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #060C17;
    --raised: #0F1A2C;
    --text: #FFFFFF;
    --text-2: #B8C4D4;
    --text-3: #8A9AB0;
    --ink: #6AB4FF;
    --dawn-ink: #FFB08A;
    --line: rgba(255, 255, 255, .1);
    --wash: rgba(255, 255, 255, .04);
    --rim: rgba(255, 255, 255, .1);
    --shadow: 0 1px 0 rgba(255, 255, 255, .04), 0 30px 60px -30px rgba(0, 0, 0, .7);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.55 var(--font);
  letter-spacing: -.003em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ink); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: .2em; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }
.hero :focus-visible, .night :focus-visible, .nav :focus-visible, .page-top :focus-visible, .break-dialog :focus-visible { outline-color: var(--sky-2); }
p { margin: 0; text-wrap: pretty; }
sup { font-size: .62em; line-height: 0; }
sup a { padding: 0 .1em; }
h1, h2, h3 { margin: 0; font-family: var(--round); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.06; letter-spacing: -.022em; }
h3 { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.15; letter-spacing: -.015em; }
.num { font-variant-numeric: tabular-nums; }
.sr-only { 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: 16px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 999px; background: var(--fill); color: #fff; }
.skip:focus { top: 12px; }
[hidden] { display: none !important; }
/* Site mode: scripts/configure.sh sets <html data-mode="beta|launch"> from SITE_MODE in release.env. No mode = launch. */
html:not([data-mode="beta"]) .beta-only, html[data-mode="beta"] .launch-only { display: none !important; }
/* Signing: configure.sh sets <html data-signing="unsigned|notarized">. No attribute = unsigned (the honest default). */
html:not([data-signing="notarized"]) .notarized-only, html[data-signing="notarized"] .unsigned-only { display: none !important; }

.wrap { width: 100%; max-width: calc(var(--max) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section.raised { background: var(--raised); }
.nowrap { white-space: nowrap; }
/* Chapter eyebrow above an h2, sentence case */
.eyebrow { margin-bottom: 12px; font: 600 clamp(17px, 1.6vw, 21px)/1.2 var(--font); letter-spacing: .011em; color: var(--text-3); }
.night .eyebrow { color: var(--on-dusk-3); }
/* Second sentence of a dusk headline, in the horizon's colours (dusk sections only) */
.glow { display: block; background: linear-gradient(100deg, var(--dawn-3), var(--dawn-2) 45%, var(--sky-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
@media (forced-colors: active) { .glow { background: none; color: CanvasText; } }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--text-2); max-width: 36em; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 17px/1 var(--font); letter-spacing: -.01em; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: scale(.98); }
.btn-primary {
  background: var(--fill); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 28px -10px rgba(31, 111, 209, .7);
}
.btn-primary:hover { background: #1A5CB0; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 14px 32px -10px rgba(31, 111, 209, .85); transform: translateY(-1px); }
.btn-glass {
  background: rgba(255, 255, 255, .09); color: #fff;
  border-color: rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24), 0 10px 30px -14px rgba(0, 0, 0, .6);
  -webkit-backdrop-filter: blur(20px) saturate(170%); backdrop-filter: blur(20px) saturate(170%);
}
.btn-glass:hover { background: rgba(255, 255, 255, .15); }
.btn-quiet { background: var(--wash); color: var(--text); border-color: var(--line); box-shadow: inset 0 1px 0 var(--rim); }
.btn-quiet:hover { background: var(--line); }
.btn-sm { min-height: 36px; padding: 0 16px; font-size: 15px; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 10; color: #fff;
  background: rgba(11, 26, 48, .9); box-shadow: inset 0 -1px 0 rgba(255, 255, 255, .08);
  -webkit-backdrop-filter: blur(20px) saturate(180%); backdrop-filter: blur(20px) saturate(180%);
}
.nav .wrap { display: flex; align-items: center; gap: 24px; min-height: 52px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: inherit; font: 600 19px/1 var(--round); letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand img { width: 28px; height: 28px; border-radius: 22%; box-shadow: 0 0 0 .5px rgba(11, 26, 48, .14), 0 1px 3px rgba(11, 26, 48, .18); }
.nav nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav ul a { color: var(--on-dusk-2); font-size: 15px; white-space: nowrap; }
.nav ul a:hover { color: #fff; text-decoration: none; }
.nav .btn { margin-left: 4px; }
.nav .brand + .btn, .nav .brand + .btn + .btn { margin-left: auto; } /* simple pages: no menu between logo and button (one per mode) */
.nav .btn-glass { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .24); } /* no drop shadow spilling onto the page below the bar */
@media (max-width: 899px) { /* the links and the live eye don't fit side by side below this */
  .nav ul { display: none; }
  .nav .wrap { gap: 12px; }
}
.nav .btn, .mbx, .mbx svg { flex: none; }
@media (max-width: 359px) { .nav .wrap { gap: 8px; } .nav .btn-sm { padding: 0 12px; } .nav .brand:has(+ nav) { font-size: 0; } } /* the icon alone, so the live eye fits */

/* Live menu-bar item (index): a working copy of Unstare's menu, its countdown and the heads-up pill (site.js).
   Hidden, space kept, until site.js adds html.live, so nothing shifts and nothing shows without JavaScript. */
.mbx-wrap { position: relative; }
.mbx {
  visibility: hidden; display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 10px; border: 0; border-radius: 7px;
  background: transparent; color: #fff; font: 500 14px/1 var(--font); cursor: pointer; transition: background-color .15s ease;
}
.live .mbx { visibility: visible; }
.mbx:hover, .mbx[aria-expanded="true"] { background: rgba(255, 255, 255, .16); }
.mbx svg { width: 18px; height: 18px; }
.mbx .num:empty { display: none; }
.mbx.wake { animation: wake 1.2s ease-out 3; }
@keyframes wake { from { box-shadow: 0 0 0 0 rgba(255, 159, 122, .8); } to { box-shadow: 0 0 0 8px rgba(255, 159, 122, 0); } }
/* Opaque: inside the nav's own backdrop-filter, a nested blur can't see the page, and any see-through shows text */
.pop.mbx-pop { --p-bg: #F6F7FA; -webkit-backdrop-filter: none; backdrop-filter: none; position: absolute; top: calc(100% + 10px); right: 0; width: 320px; z-index: 11; text-align: left; }
@media (prefers-color-scheme: dark) { .pop.mbx-pop { --p-bg: #262A34; } }
.mbx-pop :focus-visible { outline-color: var(--p-ink); }
.mbx-pop .pop-ring { background: conic-gradient(var(--p-ink) calc(var(--p) * 1turn), var(--p-bar) 0); }
.mbx-pop.paused .pop-ring-wrap { --p-ink: var(--p-2); }
.mbx-pop .pop-big.title { padding-top: 3px; font-size: 17px; line-height: 1.25; }
.pop-count b { font: 600 22px/1 var(--round); margin-right: 2px; }
.pop-count span { color: var(--p-2); }
.mbx-pop .pop-foot { align-items: center; gap: 12px; }
.mbx-pop .pop-foot span { color: var(--p-2); font-size: 12px; }
.mbx-pop .pop-foot a { flex: none; font-weight: 600; color: var(--p-ink); }
button.pop-btn, button.pill-btn { border: 0; font-family: inherit; line-height: 1; color: inherit; cursor: pointer; }
button.pop-btn.main:hover { background: #1A5CB0; }
button.pop-btn.alt:hover { background: var(--p-line); }
button.pill-btn:hover { background: rgba(255, 255, 255, .2); }
@media (max-width: 520px) { .pop.mbx-pop { position: fixed; top: 60px; left: 16px; right: 16px; width: auto; } }
@media (pointer: coarse) { .pop.mbx-pop { font-size: 14px; } .mbx-pop .pop-btn { height: 40px; } }
/* ---------- Hero (always dusk) ---------- */
.hero {
  position: relative; isolation: isolate; color: #fff; text-align: center;
  padding: clamp(96px, 8.5vw, 120px) 0 clamp(72px, 9vw, 120px);
  background:
    radial-gradient(60% 50% at 50% 0%, rgba(47, 134, 245, .16), transparent 70%),
    linear-gradient(180deg, #08142A 0%, var(--dusk) 38%, var(--dusk-low) 100%);
}
/* Warm horizon behind the Mac: screen-blended so it glows instead of going brown */
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen;
  background: var(--horizon-glow); }
/* The horizon: a thin warm line where dusk meets the page */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--dawn-1) 20%, var(--dawn-3) 50%, var(--dawn-1) 80%, transparent);
  box-shadow: 0 0 24px 2px rgba(255, 159, 122, .55);
}
.hero-icon { width: 64px; height: 64px; margin: 0 auto 20px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.hero h1 {
  font-size: clamp(40px, 6.2vw, 76px); line-height: 1.02; letter-spacing: -.026em;
  background: linear-gradient(180deg, #FFFFFF 30%, #CFE3F7);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero h1 span { display: block; }
@media (forced-colors: active) { .hero h1 { background: none; color: CanvasText; } }
.hero .lede { margin: 18px auto 0; color: var(--on-dusk-2); max-width: 34em; text-wrap: pretty; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 28px; }
.fine { margin-top: 18px; font-size: 14px; color: var(--on-dusk-3); }
.hero .fine { color: var(--on-dusk-3); }
.hero .fine a, .demo-bar a, .end .fine a { color: var(--sky-2); }
.hint { visibility: hidden; margin-top: 22px; font-size: 15px; color: var(--on-dusk-2); }
.live .hint { visibility: visible; }
.hint .click, .hint .tap { font-weight: 600; color: var(--dawn-3); }
.hint .tap { display: none; }
@media (pointer: coarse) { .hint .click { display: none; } .hint .tap { display: inline; } }
/* Phones (html.is-phone, site.js): buy here, install on the Mac */
.phone-note { display: none; max-width: 30em; margin: 14px auto 0; font-size: 15px; color: var(--on-dusk-2); text-wrap: balance; }
.is-phone .phone-note { display: block; }
.price-card .phone-note { margin-inline: 0; color: var(--text-2); text-wrap: pretty; }
.badge {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px 7px 12px; border-radius: 999px;
  font: 600 14px/1 var(--font); letter-spacing: 0; color: var(--dawn-3);
  background: rgba(255, 159, 122, .1); box-shadow: inset 0 0 0 1px rgba(255, 159, 122, .3);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember); }

/* ---------- Live demo ---------- */
.demo { position: relative; margin: clamp(40px, 4.5vw, 56px) auto 0; max-width: 1080px; }
.device {
  padding: clamp(5px, 1vw, 12px); border-radius: clamp(14px, 2.2vw, 28px);
  background: linear-gradient(180deg, #2A3242, #10151E);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 0 0 1px rgba(0, 0, 0, .6), 0 50px 100px -30px rgba(0, 0, 0, .8), 0 0 120px -20px rgba(106, 180, 255, .18);
}
.screen {
  container: screen / inline-size;
  position: relative; aspect-ratio: 16 / 10; overflow: hidden;
  border-radius: clamp(8px, 1.3vw, 16px); background: #0B1A30; text-align: left;
}
.scene { --u: calc(100cqw / 1200); position: absolute; inset: 0; }


.desktop {
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 75% 100%, rgba(255, 154, 110, .75), transparent 60%),
    linear-gradient(170deg, #2B5C9E 0%, #6E9FD3 45%, #B9D3EC 75%, #F1D3BE 100%);
  transition: filter .6s ease, transform .6s ease;
}
.menubar {
  position: absolute; inset: 0 0 auto; height: calc(30 * var(--u)); display: flex; align-items: center;
  padding: 0 calc(16 * var(--u)); gap: calc(20 * var(--u)); font-size: calc(13 * var(--u)); color: #fff;
  background: rgba(10, 22, 44, .28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.menubar b { font-weight: 700; }
.menubar .spacer { flex: 1; }
.mb-eye { width: calc(18 * var(--u)); height: calc(18 * var(--u)); }
.mb-ico { width: calc(16 * var(--u)); height: calc(10 * var(--u)); border: calc(1.5 * var(--u)) solid #fff; border-radius: calc(3 * var(--u)); opacity: .9; }
.notch {
  position: absolute; top: 0; left: 50%; width: calc(190 * var(--u)); height: calc(32 * var(--u)); transform: translateX(-50%);
  background: #000; border-radius: 0 0 calc(12 * var(--u)) calc(12 * var(--u));
}
.window {
  position: absolute; left: 14%; right: 14%; top: calc(100 * var(--u)); bottom: 8%;
  border-radius: calc(12 * var(--u)); overflow: hidden; background: #1C1E24;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .1), 0 calc(30 * var(--u)) calc(60 * var(--u)) rgba(5, 15, 35, .45);
  display: grid; grid-template-columns: 22% 1fr; grid-template-rows: calc(38 * var(--u)) 1fr;
}
.titlebar { grid-column: 1 / -1; display: flex; align-items: center; gap: calc(8 * var(--u)); padding: 0 calc(14 * var(--u)); background: #24262D; border-bottom: 1px solid #111; color: #9AA0AA; font-size: calc(12 * var(--u)); }
.titlebar i { width: calc(12 * var(--u)); height: calc(12 * var(--u)); border-radius: 50%; background: #FF5F57; }
.titlebar i:nth-child(2) { background: #FEBC2E; }
.titlebar i:nth-child(3) { background: #28C840; margin-right: auto; }
.titlebar span { margin-right: auto; transform: translateX(-30%); }
.sidebar { background: #202228; border-right: 1px solid #15161A; padding: calc(16 * var(--u)) calc(14 * var(--u)); display: grid; align-content: start; gap: calc(10 * var(--u)); }
.sidebar i { display: block; height: calc(8 * var(--u)); border-radius: 99px; background: #3A3E48; }
.sidebar i.on { background: #2F5A94; }
.code {
  margin: 0; padding: calc(18 * var(--u)) calc(22 * var(--u)); overflow: hidden;
  font: 400 calc(14.5 * var(--u))/1.75 var(--mono); color: #D6DAE2; counter-reset: ln;
}
.code > span { display: block; white-space: pre; }
.code > span::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 2.4em; margin-right: 1.2em; text-align: right; color: #4E5461; }
.k { color: #FF7AB2; } .t { color: #6BDFFF; } .s { color: #FF8170; } .c { color: #7F8C98; } .n { color: #D9C97C; } .f { color: #67B7A4; }
.caret { display: inline-block; width: .55em; height: 1.15em; vertical-align: -.2em; background: var(--sky-2); animation: caret 1.1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }

/* Heads-up pill (em-based so it scales anywhere) */
.pill {
  display: inline-flex; align-items: center; gap: .62em; height: 2.46em; padding: 0 1.1em 0 .8em;
  border-radius: 999px; color: #fff; font: 600 1em/1 var(--font); white-space: nowrap; font-variant-numeric: tabular-nums;
  background: rgba(30, 34, 44, .62); border: 1px solid rgba(255, 255, 255, .14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 .6em 1.6em rgba(0, 0, 0, .35);
  -webkit-backdrop-filter: blur(18px) saturate(180%); backdrop-filter: blur(18px) saturate(180%);
}
.pill-btn { padding: .42em .78em; border-radius: 999px; background: rgba(255, 255, 255, .1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14); font-weight: 600; font-size: .92em; }
.pill-btn:first-of-type { margin-left: .2em; }
.scene .pill {
  position: absolute; top: calc(42 * var(--u)); left: 50%; font-size: calc(17 * var(--u));
  opacity: 0; transform: translate(-50%, -1em) scale(.96);
  transition: opacity .35s ease, transform .5s cubic-bezier(.3, 1.4, .5, 1);
}
/* The live demo's pill under the nav (after .pill, which it overrides). Same curves as .scene .pill */
.nav-pill {
  position: fixed; top: 62px; left: 50%; z-index: 11; font-size: 15px; max-width: calc(100vw - 32px);
  background: rgba(11, 26, 48, .9); /* the nav's dusk: the app pill's see-through glass is too faint over light sections */
  visibility: hidden; opacity: 0; transform: translate(-50%, -1em) scale(.96);
  transition: opacity .35s ease, transform .5s cubic-bezier(.3, 1.4, .5, 1), visibility 0s linear .5s;
}
.nav-pill.on { visibility: visible; opacity: 1; transform: translate(-50%, 0); transition-delay: 0s; }
.nav-pill :focus-visible { outline-color: var(--sky-2); }
@media (pointer: coarse) { .nav-pill { height: auto; padding: .3em .35em .3em .8em; } .nav-pill .pill-btn { padding: .7em 1em; } }
/* Phones: three buttons don't fit beside the label, so the label goes on top and the buttons share the row below */
@media (max-width: 480px) {
  .nav-pill { flex-wrap: wrap; justify-content: center; width: calc(100vw - 32px); height: auto; padding: .5em; gap: .45em; border-radius: 1.4em; font-size: 14px; }
  .nav-pill .ring { display: none; }
  .nav-pill .num { flex-basis: 100%; padding: .35em 0 .15em; text-align: center; }
  .nav-pill button.pill-btn { flex: 1; margin: 0; padding-inline: .5em; }
}

/* Countdown ring: conic arc + masked band, head dot rotates with --p (1 = full).
   JS sets --p once per tick; the transition fills in between, like the app's .linear(1) per second. */
@property --p { syntax: '<number>'; inherits: true; initial-value: 1; }
.ring { --p: 1; --w: 10px; position: relative; aspect-ratio: 1; border-radius: 50%; transition: --p 1s linear; }
.scene .ring { transition-duration: .5s; }
.ring-track, .ring-arc { position: absolute; inset: 0; border-radius: 50%;
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - var(--w)), #000 calc(100% - var(--w) + .5px));
  mask: radial-gradient(farthest-side, transparent calc(100% - var(--w)), #000 calc(100% - var(--w) + .5px)); }
.ring-track { background: rgba(255, 255, 255, .12); }
.ring-glow { position: absolute; inset: 0; filter: drop-shadow(0 0 calc(var(--w) * 1.2) rgba(106, 180, 255, .5)); }
.ring-arc { background: conic-gradient(rgba(47, 134, 245, .55) 0turn, var(--sky-2) calc(var(--p) * .62turn), var(--sky-3) calc(var(--p) * 1turn), transparent 0); }
.ring-tail { position: absolute; left: 50%; top: 0; width: var(--w); height: var(--w); margin-left: calc(var(--w) / -2); border-radius: 50%; background: rgba(47, 134, 245, .55); clip-path: inset(0 50% 0 0); }
.ring-head { position: absolute; inset: 0; transform: rotate(calc(var(--p) * 1turn)); }
.ring-head::after { content: ""; position: absolute; left: 50%; top: 0; width: var(--w); height: var(--w); margin-left: calc(var(--w) / -2); border-radius: 50%; background: #fff; box-shadow: 0 0 calc(var(--w) * .6) var(--sky-3), 0 0 calc(var(--w) * 1.4) var(--sky-2); }
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; color: #fff; }
.ring-label b { font: 600 1em/1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.ring-label small { margin-top: .5em; font: 500 .17em/1 var(--font); color: var(--on-dusk-2); }
.ring--mini { width: 1.25em; --w: .2em; flex: none; }
.ring--mini .ring-arc { background: conic-gradient(var(--sky-2) calc(var(--p) * 1turn), rgba(255, 255, 255, .16) 0); }

/* Break overlay */
.overlay {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: #fff;
  background:
    radial-gradient(110% 45% at 50% 100%, rgba(255, 159, 122, .16), transparent 70%),
    linear-gradient(180deg, rgba(11, 26, 48, .62), rgba(28, 46, 74, .5));
  opacity: 0; transition: opacity .45s ease;
}
.ov-content { display: grid; justify-items: center; transform: scale(.96); opacity: 0; transition: transform .22s ease-in, opacity .22s ease-in; }
.ov-content .ring { width: calc(240 * var(--u)); --w: calc(10 * var(--u)); font-size: calc(76 * var(--u)); }
.ov-title { margin-top: calc(40 * var(--u)); font: 600 calc(36 * var(--u))/1.1 var(--round); letter-spacing: -.01em; }
.ov-sub { margin-top: calc(10 * var(--u)); font-size: calc(17 * var(--u)); color: var(--on-dusk-2); }
.ov-btns { display: flex; gap: calc(12 * var(--u)); margin-top: calc(44 * var(--u)); font-size: calc(15 * var(--u)); }
.gbtn {
  display: inline-flex; align-items: center; gap: .5em; height: 2.6em; padding: 0 1.2em; border-radius: 999px; font-weight: 500; color: #fff;
  background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .12); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
}
.gbtn svg { width: .9em; height: .9em; }
.ov-foot { position: absolute; bottom: calc(36 * var(--u)); left: 0; right: 0; font-size: calc(13 * var(--u)); font-weight: 500; color: var(--on-dusk-3); }

.screen.is-pill .scene .pill { opacity: 1; transform: translate(-50%, 0) scale(1); }
.screen.is-break .desktop { filter: blur(calc(96 * var(--u))) saturate(1.6) brightness(.82); transform: scale(1.1); }
.screen.is-break .caret { animation: none; } /* nothing moves under the blur, so it isn't re-rasterized */
.screen.is-break .scene .pill { opacity: 0; transition-duration: .3s; }
.screen.is-break .overlay { opacity: 1; transition-duration: .6s; }
.screen.is-break .ov-content { opacity: 1; transform: none; transition: transform .7s cubic-bezier(.2, 1.2, .4, 1) .15s, opacity .5s ease .15s; }

/* Small demo (phones): drop text that can't be read, grow the ring. After the base rules so it wins. */
@container screen (max-width: 640px) {
  .scene { --u: calc(100cqw / 860); }
  .ov-sub, .ov-foot, .ov-btns, .sidebar, .menubar > :not(.mb-eye):not(.mb-ico):not(.spacer) { display: none; }
  .window { grid-template-columns: 1fr; top: calc(130 * var(--u)); }
  .scene .pill { font-size: calc(26 * var(--u)); }
  .ov-content .ring { width: calc(300 * var(--u)); --w: calc(13 * var(--u)); font-size: calc(96 * var(--u)); }
  .ov-title { margin-top: calc(32 * var(--u)); font-size: calc(48 * var(--u)); }
}
.demo-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; color: var(--on-dusk-3); font-size: 14px; text-align: left; }
.demo-toggle {
  flex: none; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px 0 12px; border-radius: 999px; cursor: pointer;
  font: 500 14px/1 var(--font); color: var(--on-dusk-2); background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12);
}
.demo-toggle:hover { color: #fff; background: rgba(255, 255, 255, .12); }
.demo-toggle svg { width: 12px; height: 12px; }

/* ---------- 20-20-20 ---------- */
.rule-grid { display: grid; gap: 48px; }
.rule-grid .lede { margin-top: 24px; }
.rule-facts { margin: 0; display: grid; gap: 0; }
.rule-facts div { display: grid; grid-template-columns: 7.5em 1fr; gap: 16px; padding: 18px 0; border-top: 1px solid var(--line); }
.rule-facts div:last-child { border-bottom: 1px solid var(--line); }
.rule-facts dt { font: 600 20px/1.3 var(--round); font-variant-numeric: tabular-nums; }
.rule-facts dd { margin: 0; color: var(--text-2); }
@media (max-width: 520px) { .rule-facts div { grid-template-columns: 1fr; gap: 4px; } }
.try { margin-top: 32px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.try p { color: var(--text-3); font-size: 15px; }
.try .touch { display: none; }
@media (pointer: coarse) { .try .kbd { display: none; } .try .touch { display: inline; } }
@media (min-width: 900px) {
  .rule-grid { grid-template-columns: 1.1fr 1fr; gap: 80px; align-items: start; }
}

/* Rhythm strip: one hour, drawn as a horizon */
.rhythm { margin-top: clamp(56px, 7vw, 88px); }
.rhythm-track { position: relative; height: 72px; }
.rhythm-track::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, var(--line), var(--line)); }
.rhythm-mark { position: absolute; top: 50%; transform: translate(-50%, -50%); }
.rhythm-mark .dot { display: block; width: 14px; height: 14px; border-radius: 50%; background: var(--sky-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky-2) 22%, transparent), 0 0 18px var(--sky-2); }
.rhythm-mark .long { display: block; width: 56px; height: 14px; border-radius: 99px; background: linear-gradient(90deg, var(--dawn-1), var(--dawn-2), var(--dawn-3)); box-shadow: 0 0 18px rgba(255, 154, 110, .7); }
.rhythm-mark .lbl { position: absolute; bottom: calc(100% + 10px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--text); }
.rhythm-mark:last-child { transform: translate(-100%, -50%); }
.rhythm-mark:last-child .lbl { left: auto; right: 0; transform: none; }
.rhythm-axis { display: flex; justify-content: space-between; margin-top: 4px; font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.rhythm-legend { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 20px; font-size: 14px; color: var(--text-2); }
.rhythm-legend span { display: inline-flex; align-items: center; gap: 8px; }
.rhythm-legend i { width: 10px; height: 10px; border-radius: 50%; background: var(--sky-2); }
.rhythm-legend i.d { width: 20px; border-radius: 99px; background: linear-gradient(90deg, var(--dawn-1), var(--dawn-3)); }

/* ---------- Features ---------- */
.features-head { max-width: 40em; }
.features-head .lede { margin-top: 20px; }
.feature { display: grid; gap: 32px; margin-top: clamp(72px, 10vw, 128px); align-items: center; }
.feature-copy h3 { font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; }
.feature-copy p { margin-top: 16px; color: var(--text-2); max-width: 32em; font-size: 18px; }
.feature-copy p strong { color: var(--text); font-weight: 600; }
@media (min-width: 900px) {
  .feature { grid-template-columns: 5fr 7fr; gap: 72px; }
  .feature.flip { grid-template-columns: 7fr 5fr; }
  .feature.flip .feature-copy { order: 2; }
  .feature .stage { min-height: 420px; }
}

.stage {
  position: relative; overflow: hidden; border-radius: clamp(20px, 2.4vw, 32px); min-height: 300px;
  background: linear-gradient(180deg, var(--dusk), var(--dusk-low)); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .1), inset 0 0 0 1px rgba(255, 255, 255, .06), var(--shadow);
}

/* Stage: heads-up pill over a code editor */
.stage-pill { --u: 1px; min-height: 270px; display: grid; justify-items: center; align-content: start; padding-top: 0; background: #1C1E24; }
.stage-pill .notch-bar { width: 100%; height: 30px; background: #24262D; border-bottom: 1px solid #111; position: relative; }
.stage-pill .notch-bar::after { content: ""; position: absolute; top: 0; left: 50%; width: 150px; height: 30px; transform: translateX(-50%); background: #000; border-radius: 0 0 12px 12px; }
.stage-pill .pill { position: relative; z-index: 1; margin-top: 14px; font-size: clamp(14px, 1.6vw, 18px); }
@media (max-width: 480px) {
  .stage-pill .pill { font-size: 13px; gap: .45em; padding: 0 .6em 0 .55em; }
  .stage-pill .pill-btn { padding: .42em .6em; }
}
.stage-pill .code { position: absolute; inset: 30px 0 0; padding-top: 74px; font-size: 13px; opacity: .8; }
.stage-pill::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, #1C1E24 100%); }

/* Stage: smart pause rows (follows page theme — it's a diagram) */
.stage-pause { background: var(--raised); color: var(--text); padding: clamp(24px, 3.4vw, 40px); display: grid; gap: 30px; align-content: center; box-shadow: inset 0 1px 0 var(--rim), var(--shadow); }
.sp-row { display: grid; gap: 10px; }
.sp-head { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.sp-head b { font-weight: 600; }
.sp-head span { color: var(--text-3); text-align: right; }
.sp-track { position: relative; display: flex; align-items: center; height: 30px; }
.sp-work { flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.sp-block { position: relative; height: 30px; border-radius: 10px; display: flex; align-items: center; justify-content: flex-end; padding: 0 12px; font-size: 13px; font-weight: 600; white-space: nowrap; }
.sp-block.busy { flex: 2.2; gap: 6px; background: var(--wash); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.sp-block.busy svg { width: 14px; height: 14px; flex: none; color: var(--text-2); }
.sp-block.away { flex: 1.6; justify-content: center; color: var(--text-2); background: repeating-linear-gradient(135deg, var(--wash) 0 6px, transparent 6px 12px); box-shadow: inset 0 0 0 1px var(--line); }
.sp-due { position: absolute; left: 24%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; border: 2px dashed var(--text-3); background: var(--raised); }
.sp-go { flex: none; width: 14px; height: 14px; margin: 0 4px; border-radius: 50%; background: var(--sky-2); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky-2) 22%, transparent), 0 0 14px var(--sky-2); }
.sp-ok { flex: none; width: 18px; height: 18px; margin: 0 4px; color: var(--ink); }
.sp-legend { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13px; color: var(--text-3); }
.sp-legend span { display: inline-flex; align-items: center; gap: 8px; }
.sp-legend .sp-due, .sp-legend .sp-go { position: static; margin: 0; flex: none; }

/* Stage: long break with breathing orb */
.stage-long { display: grid; justify-items: center; align-content: center; gap: 0; padding: 40px 20px; text-align: center; min-height: 460px; isolation: isolate; }
/* Ember glows: screen-blended so they read as light, not brown smudges */
.stage-long::before, .night::before, .break-dialog::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; mix-blend-mode: screen;
  background: var(--horizon-glow);
}
.orb-wrap { position: relative; width: 220px; height: 220px; display: grid; place-items: center; }
.orb { position: absolute; width: 260px; height: 260px; border-radius: 50%; mix-blend-mode: plus-lighter;
  background: radial-gradient(closest-side, #FFE6C7, rgba(255, 180, 138, .85) 40%, rgba(255, 138, 106, .30) 68%, transparent);
  animation: breathe 10s ease-in-out infinite; }
.orb-ring { position: absolute; inset: 0; border-radius: 50%; border: 1px solid transparent;
  background: linear-gradient(180deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .05)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) padding-box exclude, linear-gradient(#000 0 0); }
@keyframes breathe { 0%, 100% { transform: scale(.72); } 40% { transform: scale(1); } }
.breath { position: relative; height: 30px; width: 100%; margin-top: 28px; font: 600 22px/30px var(--round); }
.breath span { position: absolute; inset: 0; animation: breath-in 10s ease-in-out infinite; }
.breath span + span { animation-name: breath-out; opacity: 0; }
@keyframes breath-in { 0%, 36% { opacity: 1; } 42%, 96% { opacity: 0; } 100% { opacity: 1; } }
@keyframes breath-out { 0%, 38% { opacity: 0; } 44%, 94% { opacity: 1; } 100% { opacity: 0; } }
.long-left { margin-top: 8px; font: 600 17px/1 var(--font); color: var(--on-dusk-2); font-variant-numeric: tabular-nums; }
.tip { display: flex; align-items: center; gap: 14px; max-width: 360px; margin-top: 28px; padding: 14px 18px; border-radius: 20px; text-align: left;
  background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); font-size: 15px; line-height: 1.4; }
.tip svg { flex: none; width: 26px; height: 26px; color: var(--dawn-3); }
.tip b { display: block; font-weight: 600; }
.tip span { color: var(--on-dusk-2); }
.stage-long .gbtn { margin-top: 22px; font-size: 15px; }

/* Stage: menu bar popover */
.stage-pop { --wall: radial-gradient(80% 60% at 75% 100%, rgba(255, 154, 110, .6), transparent 60%), linear-gradient(170deg, #2B5C9E, #6E9FD3 45%, #B9D3EC 75%, #F1D3BE);
  min-height: 430px; background: var(--wall); color: #fff; }
.pop-menubar { height: 28px; display: flex; justify-content: flex-end; align-items: center; gap: 18px; padding: 0 18px; background: rgba(10, 22, 44, .28); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: 13px; font-weight: 500; }
.pop-menubar .on { display: grid; place-items: center; width: 30px; height: 22px; border-radius: 6px; background: rgba(255, 255, 255, .22); }
.pop-menubar svg { width: 18px; height: 18px; }
.pop {
  --p-bg: rgba(250, 251, 253, .82); --p-text: #1D1D1F; --p-2: #6E6E73; --p-line: rgba(0, 0, 0, .1); --p-bar: rgba(0, 0, 0, .14); --p-ink: #1F6FD1; --p-btn: rgba(0, 0, 0, .06); --p-fill: #1F6FD1;
  position: absolute; top: 36px; right: clamp(10px, 4%, 40px); width: min(320px, calc(100% - 20px));
  border-radius: 16px; color: var(--p-text); background: var(--p-bg);
  border: 1px solid rgba(255, 255, 255, .7); box-shadow: 0 0 0 .5px rgba(0, 0, 0, .12), 0 24px 50px -12px rgba(11, 26, 48, .35);
  -webkit-backdrop-filter: blur(30px) saturate(180%); backdrop-filter: blur(30px) saturate(180%);
  font-size: 13px; line-height: 1.3;
}
.pop-sec { padding: 16px; }
.pop-sec + .pop-sec { border-top: 1px solid var(--p-line); }
.pop-head { display: flex; align-items: center; gap: 14px; }
.pop-ring { position: relative; width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; color: var(--p-ink);
  background: conic-gradient(var(--p-ink) 0 .72turn, var(--p-bar) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); mask: radial-gradient(farthest-side, transparent calc(100% - 5px), #000 calc(100% - 4.5px)); }
.pop-ring-wrap { position: relative; flex: none; }
.pop-ring-wrap svg { position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; color: var(--p-ink); }
.pop-cap { color: var(--p-2); font-weight: 500; }
.pop-big { font: 600 28px/1.1 var(--round); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.pop-today { display: flex; align-items: end; justify-content: space-between; }
.pop-today b { font: 600 22px/1 var(--round); margin-right: 4px; }
.pop-today span { color: var(--p-2); }
.bars { display: flex; align-items: end; gap: 5px; height: 30px; }
.bars i { width: 6px; border-radius: 3px; background: var(--p-bar); }
.bars i:last-child { background: var(--p-ink); }
.pop-actions { display: flex; gap: 8px; }
.pop-btn { display: grid; place-items: center; height: 32px; border-radius: 999px; font-weight: 600; font-size: 13px; }
.pop-btn.main { flex: 1; color: #fff; background: var(--p-fill); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25); }
.pop-btn.alt { width: 100px; background: var(--p-btn); display: flex; justify-content: center; gap: 6px; align-items: center; }
.pop-btn.alt svg { width: 10px; height: 10px; }
.pop-note { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 11px; color: var(--p-2); }
.pop-note svg { width: 12px; height: 12px; flex: none; }
.pop-foot { display: flex; justify-content: space-between; padding: 10px 16px; border-top: 1px solid var(--p-line); }
.pop-foot span + span { color: var(--p-2); }
.menu {
  position: absolute; right: 12px; top: 214px; width: 176px; padding: 5px; border-radius: 10px; font-size: 13px;
  background: rgba(246, 247, 250, .97); color: #1D1D1F; border: 1px solid rgba(255, 255, 255, .7);
  box-shadow: 0 0 0 .5px rgba(0, 0, 0, .15), 0 16px 36px -8px rgba(11, 26, 48, .35);
  -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
}
.menu span { display: flex; align-items: center; gap: 6px; height: 24px; padding: 0 8px 0 24px; border-radius: 6px; position: relative; }
.menu span.sel { background: var(--fill); color: #fff; }
.menu span.chk::before { content: "\2713"; position: absolute; left: 8px; font-size: 12px; }
.menu hr { border: 0; height: 1px; margin: 5px 8px; background: rgba(0, 0, 0, .1); }
.menu em { display: block; padding: 2px 8px 4px 24px; font-style: normal; font-size: 11px; color: #6E6E73; }
@media (prefers-color-scheme: dark) {
  .stage-pop { background: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), var(--wall); }
  .pop { --p-bg: rgba(38, 42, 52, .78); --p-text: #F5F5F7; --p-2: #A1A1A6; --p-line: rgba(255, 255, 255, .1); --p-bar: rgba(255, 255, 255, .16); --p-ink: #6AB4FF; --p-btn: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .12); }
  .menu { background: rgba(44, 48, 58, .97); color: #F5F5F7; border-color: rgba(255, 255, 255, .12); }
  .menu hr { background: rgba(255, 255, 255, .12); }
  .menu em { color: #A1A1A6; }
}

/* The small things */
.extras { display: grid; gap: 0 56px; margin-top: clamp(80px, 10vw, 128px); }
.extras div { padding: 24px 0; border-top: 1px solid var(--line); }
.extras h3 { font-size: 19px; letter-spacing: -.01em; }
.extras p { margin-top: 6px; color: var(--text-2); }
@media (min-width: 760px) { .extras { grid-template-columns: 1fr 1fr; } }

/* ---------- Stat band (dusk) ---------- */
.stats { padding-block: clamp(72px, 9vw, 120px); text-align: center; }
.manifesto { max-width: 860px; margin: 0 auto clamp(56px, 7vw, 88px); font: 600 clamp(24px, 3vw, 32px)/1.3 var(--round); letter-spacing: -.01em; color: var(--on-dusk-3); text-wrap: balance; }
.manifesto b { font-weight: 600; color: #fff; }
.stat-row { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; }
@media (min-width: 900px) { .stat-row { grid-template-columns: repeat(3, 1fr); } }
.stat-lead { font: 600 17px/1.2 var(--font); color: var(--on-dusk-3); }
.stat-val { margin-top: 8px; font: 600 clamp(40px, 3.6vw, 52px)/1.05 var(--round); letter-spacing: -.02em; white-space: nowrap; }
.stat-val b { font-weight: 600; }
.stat-cap { max-width: 18em; margin: 10px auto 0; font-size: 15px; color: var(--on-dusk-2); text-wrap: balance; }
.night sup a { color: inherit; }
[data-count] { display: inline-block; min-width: 2ch; text-align: right; }
.settle { animation: settle .6s cubic-bezier(.2, 1.2, .4, 1); }
@keyframes settle { from { transform: scale(1.12); } }

/* ---------- Tour video ---------- */
.tour.night { padding-bottom: 0; background: linear-gradient(180deg, var(--dusk), var(--dusk-low)); box-shadow: none; }
.tour.night::before, .tour.night::after { display: none; }
.tour.night + .night { box-shadow: none; }
.tour .lede { margin-top: 20px; }
.tour .device { max-width: 1080px; margin-top: clamp(32px, 4vw, 48px); }
/* Focus pull: the film sharpens as it scrolls in (browsers without scroll timelines show it still) */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .tour .device { animation: refocus linear both; animation-timeline: view(); animation-range: entry 10% cover 40%; }
    .manifesto { animation: brighten linear both; animation-timeline: view(); animation-range: entry 10% cover 50%; }
  }
}
.tour .device.played { animation: none; }
@keyframes refocus { from { transform: scale(.88); filter: blur(12px); opacity: .6; } }
@keyframes brighten { from { opacity: .35; } }
.tour video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: clamp(8px, 1.3vw, 16px); background: var(--dusk); }

/* ---------- Privacy (always dusk) ---------- */
.night {
  position: relative; isolation: isolate; color: #fff; overflow: hidden; overflow: clip; padding-bottom: clamp(72px, 9vw, 120px);
  /* clip, not hidden: a hidden box is a scroll container, and the film's and manifesto's view() timelines would track it */
  background: linear-gradient(180deg, var(--dusk-low), var(--dusk));
}
.night::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; z-index: -1;
  background: linear-gradient(90deg, transparent, var(--dawn-1) 20%, var(--dawn-3) 50%, var(--dawn-1) 80%, transparent);
  box-shadow: 0 0 24px 2px rgba(255, 159, 122, .55);
}
@media (prefers-color-scheme: dark) { .night { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 -1px 0 rgba(255, 255, 255, .06); } }
.night h2 { max-width: 16em; }
.night .lede { margin-top: 24px; color: var(--on-dusk-2); }
.trust { display: grid; gap: 0 40px; margin: clamp(48px, 6vw, 72px) 0 0; }
.trust div { padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, .14); }
.trust dt { font: 600 20px/1.3 var(--round); }
.trust dd { margin: 8px 0 0; color: var(--on-dusk-2); }
.night .more { display: inline-block; margin-top: 36px; color: var(--sky-2); }
@media (min-width: 760px) and (max-width: 899px) { .trust { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) {
  #privacy .wrap { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: auto 1fr; gap: 0 80px; align-items: start; }
  .trust { grid-column: 2; grid-row: 1 / span 2; margin-top: 6px; }
  #privacy .more { grid-column: 1; grid-row: 2; justify-self: start; }
  .trust div:last-child { border-bottom: 1px solid rgba(255, 255, 255, .14); }
}

/* ---------- Pricing ---------- */
.price-card {
  position: relative; display: grid; gap: 32px; padding: clamp(28px, 5vw, 64px); border-radius: clamp(24px, 3vw, 36px);
  background: var(--raised); box-shadow: inset 0 1px 0 var(--rim), 0 0 0 1px var(--line), var(--shadow); overflow: hidden;
}
.price-card::before { content: ""; position: absolute; inset: auto -20% -60% -20%; height: 90%; z-index: 0; pointer-events: none;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 159, 122, .18), transparent 70%); }
.price-card > * { position: relative; }
.price-card h2 { font-size: clamp(30px, 3.6vw, 44px); }
.price-card h2 span { display: block; }
.price-card h2 .amount { margin-left: -.05em; display: block; font-size: clamp(96px, 14vw, 168px); line-height: .9; letter-spacing: -.05em; margin-bottom: 12px; color: var(--text); font-variant-numeric: tabular-nums; }
.price-vs { margin-top: 16px; color: var(--text-2); max-width: 26em; }
.checks { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.checks li { display: flex; gap: 12px; align-items: baseline; }
.checks svg { flex: none; width: 16px; height: 16px; color: var(--ink); transform: translateY(2px); }
.price-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
@media (max-width: 519px) { .price-ctas .btn { flex: 1 1 100%; } }
.price-card .fine { color: var(--text-3); }
@media (min-width: 900px) { .price-card { grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: end; } }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; gap: 40px; }
.faq-grid .lede { margin-top: 20px; }
@media (min-width: 900px) { .faq-grid { grid-template-columns: 1fr 1.6fr; gap: 80px; } .faq-intro { position: sticky; top: 40px; align-self: start; } }
.faq details { border-top: 1px solid var(--line); }
.faq { border-bottom: 1px solid var(--line); } /* not details:last-child: the last one may be hidden in this mode */
.faq summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 20px 0; cursor: pointer; list-style: none; font-weight: 600; font-size: 18px; letter-spacing: -.01em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; background: linear-gradient(currentColor 0 0) center / 12px 2px no-repeat, linear-gradient(currentColor 0 0) center / 2px 12px no-repeat; color: var(--text-3); transition: transform .25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 0 22px; color: var(--text-2); max-width: 38em; }
.faq details > div p + p { margin-top: 10px; }

/* ---------- Specs ---------- */
.specs { margin: clamp(32px, 4vw, 48px) 0 0; border-bottom: 1px solid var(--line); } /* not div:last-child: it may be hidden in this mode */
.specs > div { display: grid; grid-template-columns: 240px 1fr; gap: 6px 40px; align-items: baseline; padding: 28px 0; border-top: 1px solid var(--line); }
.specs dt { font: 600 21px/1.2 var(--round); letter-spacing: -.01em; }
.specs dd { margin: 0; max-width: 40em; color: var(--text-2); }
.specs ul { margin: 0; padding: 0; list-style: none; }
.specs li + li { margin-top: 6px; }
@media (max-width: 640px) { .specs > div { grid-template-columns: 1fr; padding: 22px 0; } }
.faq ul { margin: 10px 0; padding-left: 1.2em; }
.faq li + li { margin-top: 4px; }

/* ---------- End card (dusk) ---------- */
.end { text-align: center; }
.end-icon { width: 88px; height: 88px; margin: 0 auto 24px; filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .45)); }
.night .end-mark {
  max-width: none; font-size: clamp(72px, 12vw, 160px); line-height: 1.04; letter-spacing: -.035em;
  background: linear-gradient(180deg, #FFFFFF 30%, var(--sky-3)); -webkit-background-clip: text; background-clip: text; color: transparent;
}
@media (forced-colors: active) { .night .end-mark { background: none; color: CanvasText; } }
.end-line { margin-top: 12px; font-size: clamp(19px, 1.8vw, 24px); color: var(--on-dusk-2); }
.end-price { margin-top: clamp(28px, 3vw, 40px); font: 600 clamp(32px, 4vw, 48px)/1 var(--round); font-variant-numeric: tabular-nums; }
.end .ctas { margin-top: 24px; }
.end-try { margin-top: 28px; color: var(--on-dusk-2); background: transparent; border-color: rgba(255, 255, 255, .16); }
.end-try:hover { color: #fff; background: rgba(255, 255, 255, .08); }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 56px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 14px; }
.footer .wrap { display: grid; gap: 24px; }
.footer .brand { color: var(--text); }
.footer nav ul { display: flex; flex-wrap: wrap; gap: 10px 24px; margin: 0; padding: 0; list-style: none; }
.footer nav a { color: var(--text-2); }
.notes { grid-column: 1 / -1; margin: 0; padding: 0 0 24px 1.2em; border-bottom: 1px solid var(--line); font-size: 13px; line-height: 1.5; color: var(--text-3); }
.notes li + li { margin-top: 6px; }
@media (min-width: 760px) { .footer .wrap { grid-template-columns: auto 1fr auto; align-items: center; } .footer nav ul { justify-content: center; } }

/* ---------- Try-a-break dialog ---------- */
.break-dialog {
  width: 100vw; height: 100vh; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0;
  background: linear-gradient(180deg, rgba(11, 26, 48, .9), rgba(28, 46, 74, .84));
  -webkit-backdrop-filter: blur(28px) saturate(1.2); backdrop-filter: blur(28px) saturate(1.2);
  color: #fff; text-align: center; isolation: isolate;
}
.break-dialog::backdrop { background: transparent; }
.break-dialog[open] { display: grid; place-items: center; animation: fade .6s ease; }
.break-dialog[open]::backdrop { animation: fade .6s ease; }
.break-dialog.closing, .break-dialog.closing::backdrop { opacity: 0; transition: opacity .45s ease; }
.break-dialog .inner { display: grid; justify-items: center; padding: 24px; animation: rise .7s cubic-bezier(.2, 1.2, .4, 1) .15s both; }
.break-dialog .ring { width: min(240px, 60vw); --w: 10px; font-size: min(76px, 19vw); }
.break-dialog h2 { margin-top: 40px; font-size: clamp(28px, 5vw, 36px); }
.break-dialog .sub { margin-top: 10px; color: var(--on-dusk-2); min-height: 1.55em; }
.break-dialog .gbtn { margin-top: 44px; font: 500 15px/1 var(--font); cursor: pointer; }
.break-dialog .gbtn:hover { background: rgba(255, 255, 255, .16); }
.break-dialog .foot { position: absolute; bottom: 36px; left: 0; right: 0; font-size: 13px; color: var(--on-dusk-2); }
@media (pointer: coarse) { .break-dialog .foot { display: none; } }
@keyframes fade { from { opacity: 0; } }
@keyframes rise { from { opacity: 0; transform: scale(.96); } }

/* ---------- Simple pages (privacy, activated) ---------- */
.page-top { background: linear-gradient(180deg, #08142A, var(--dusk)); color: #fff; position: relative; }
.page-top::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, var(--dawn-1) 20%, var(--dawn-3) 50%, var(--dawn-1) 80%, transparent); box-shadow: 0 0 20px 1px rgba(255, 159, 122, .5); }
.page-top { padding-top: 52px; }
.page-top .head { padding-block: 48px 64px; }
.page-icon { width: 64px; height: 64px; margin-bottom: 20px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .4)); }
.page-top h1 { font-size: clamp(36px, 5.4vw, 60px); line-height: 1.05; letter-spacing: -.028em; }
.page-top .lede { margin-top: 16px; color: var(--on-dusk-2); }
.doc { padding-block: 64px 112px; }
.doc > * { max-width: 44rem; }
.doc h2 { font-size: clamp(24px, 2.6vw, 30px); margin-top: 48px; }
.doc > h2:first-child, .doc > div > h2:first-child { margin-top: 0; }
.doc p, .doc ul { margin: 14px 0 0; color: var(--text-2); }
.doc ul { padding-left: 1.2em; }
.doc li + li { margin-top: 8px; }
.doc strong { color: var(--text); font-weight: 600; }
.doc .updated { color: var(--text-3); font-size: 15px; }

.keybox { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; padding: 14px 14px 14px 20px; border-radius: 20px; background: var(--raised); box-shadow: inset 0 1px 0 var(--rim), 0 0 0 1px var(--line), var(--shadow); }
.keybox code { flex: 1 1 10em; min-width: 0; font: 500 clamp(15px, 2vw, 19px)/1.4 var(--mono); color: var(--text); overflow-wrap: anywhere; user-select: all; -webkit-user-select: all; }
.steps { margin: 40px 0 0; padding-left: 1.3em; color: var(--text-2); }
.steps li + li { margin-top: 10px; }
.steps li::marker { color: var(--text-3); font-variant-numeric: tabular-nums; }
.status { min-height: 1.5em; margin-top: 12px; font-size: 15px; color: var(--text-3); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .2s !important; animation-iteration-count: 1 !important; }
  .caret { animation: none; }
  .orb { animation: orb-fade 10s ease-in-out infinite !important; transform: scale(.86); }
  .breath span { animation-iteration-count: infinite !important; }
  .screen.is-break .desktop { transform: none; }
  .ov-content, .screen.is-break .ov-content { transform: none; }
  .scene .pill, .screen.is-pill .scene .pill, .nav-pill, .nav-pill.on { transform: translateX(-50%); }
  .break-dialog .inner { animation: fade .2s ease both; }
}
@keyframes orb-fade { 0%, 100% { opacity: .75; } 40% { opacity: 1; } }

/* ---------- Real screenshots ---------- */
.shots .lede { margin-top: 20px; }
.gallery {
  --card: min(1000px, 84vw); --edge: max(var(--gutter), calc((100vw - var(--max)) / 2));
  display: grid; grid-auto-flow: column; grid-auto-columns: var(--card); gap: 24px; margin-top: clamp(32px, 4vw, 48px);
  padding: 4px var(--edge) 28px; scroll-padding-inline: var(--edge); overflow-x: auto; scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain; scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline-offset: -2px; border-radius: 0; }
.gallery figure { margin: 0; scroll-snap-align: start; }
.gallery a { display: block; overflow: hidden; border-radius: clamp(14px, 2vw, 28px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.gallery img { width: 100%; height: auto; aspect-ratio: 16 / 10; background: var(--dusk); }
.gallery figcaption { max-width: 40em; margin-top: 16px; font-size: clamp(15px, 1.4vw, 17px); color: var(--text-3); }
.gallery figcaption b { font-weight: 600; color: var(--text); }
.shots-row { display: grid; gap: 28px 24px; margin-top: clamp(32px, 4vw, 48px); }
.shots-row figure { margin: 0; }
.shots-row a { display: block; overflow: hidden; border-radius: clamp(10px, 1.2vw, 14px); box-shadow: 0 0 0 1px var(--line), var(--shadow); }
.shots-row img { width: 100%; height: auto; aspect-ratio: 16 / 10; background: var(--dusk); transition: transform .4s ease; }
.shots-row a:hover img { transform: scale(1.02); }
.shots-row figcaption { margin-top: 12px; font-size: 15px; color: var(--text-3); }
@media (min-width: 760px) { .shots-row { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Press kit ---------- */
.doc > .shots-row { max-width: none; margin-top: 28px; }
.doc .rule-facts { margin-top: 20px; }
.doc .rule-facts dt { font-size: 17px; }
.press-icons { display: flex; flex-wrap: wrap; gap: 32px 24px; margin-top: 24px; }
.press-icons figure { margin: 0; }
.press-icons img { width: 160px; height: 160px; }
.press-icons figcaption { margin-top: 10px; font-size: 15px; line-height: 1.5; color: var(--text-3); }
.press-icons b { font-weight: 600; color: var(--text); }
.doc video { display: block; width: 100%; height: auto; margin-top: 24px; aspect-ratio: 16 / 9; border-radius: 14px; background: var(--dusk); }

/* ---------- 404 ---------- */
.lost { min-height: calc(100vh - 52px); min-height: calc(100svh - 52px); display: grid; place-content: center; padding-block: 96px; text-align: center; }
.lost .page-icon { margin-inline: auto; }
.lost .lede { margin-inline: auto; text-wrap: balance; }
.lost .ctas { margin-top: 32px; }

/* ---------- Beta: how to open it ---------- */
.open-grid { display: grid; gap: 48px; }
@media (min-width: 900px) { .open-grid { grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; } }
.open-grid .lede { margin-top: 24px; }
.open-steps { display: grid; gap: 16px; margin: 36px 0 0; padding: 0; list-style: none; counter-reset: step; }
.open-steps li { counter-increment: step; position: relative; min-height: 30px; padding: 2px 0 0 46px; color: var(--text-2); }
.open-steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); font: 600 15px/1 var(--round); color: var(--text); font-variant-numeric: tabular-nums;
}
.open-steps b, .open-note b { color: var(--text); font-weight: 600; }
.open-note { margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--text-2); font-size: 16px; }
.open-side { display: grid; gap: 20px; justify-items: center; }
/* Drawn after macOS 15: the alert and the Privacy & Security row, the button to press lit up */
.gk { width: min(100%, 290px); padding: 22px 18px 16px; border-radius: 16px; text-align: center; background: var(--raised); box-shadow: 0 0 0 1px var(--line), 0 28px 60px -24px rgba(11, 26, 48, .5); }
.gk img { width: 56px; height: 56px; margin: 0 auto 12px; }
.gk-title { font-size: 14px; font-weight: 700; }
.gk-text { margin-top: 6px; font-size: 12px; line-height: 1.45; color: var(--text-2); }
.gk-btns { display: grid; gap: 8px; margin-top: 16px; }
.gk-btn { display: block; padding: 6px 12px; border-radius: 8px; font-size: 13px; font-weight: 500; white-space: nowrap; background: var(--wash); box-shadow: inset 0 0 0 1px var(--line); }
.gk-btn.on { background: var(--fill); color: #fff; box-shadow: 0 0 0 4px color-mix(in srgb, var(--sky-2) 35%, transparent), 0 0 18px color-mix(in srgb, var(--sky-2) 60%, transparent); }
.gk-row { display: flex; align-items: center; gap: 16px; width: min(100%, 420px); padding: 14px 16px; border-radius: 14px; background: var(--raised); box-shadow: 0 0 0 1px var(--line), var(--shadow); font-size: 13px; }
.gk-row p { flex: 1; display: grid; gap: 2px; color: var(--text-2); }
.gk-row b { color: var(--text); font-weight: 600; }
.raised .gk, .raised .gk-row, .raised .keybox { background: var(--bg); }
.sha { width: 100%; }
.sha-label { font-size: 15px; font-weight: 600; }
.sha .keybox { margin-top: 10px; padding: 12px 16px; }
.sha code { font-size: 13px; }
.sha-how { margin-top: 10px; font-size: 14px; color: var(--text-3); }
.sha-how code { font: 500 13px/1.4 var(--mono); color: var(--text-2); overflow-wrap: anywhere; }

/* ---------- Beta: waitlist (inside the price card) ---------- */
.waitlist { display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 15px; font-weight: 600; }
.field label span { margin-left: 6px; font-weight: 400; color: var(--text-3); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: 400 17px/1.2 var(--font); box-shadow: inset 0 1px 2px rgba(11, 26, 48, .06);
  -webkit-appearance: none; appearance: none;
}
.field input::placeholder { color: var(--text-3); }
.field input:focus-visible, .field select:focus-visible { outline: 2px solid var(--ink); outline-offset: 0; border-color: transparent; border-radius: 14px; }
.field select { padding-right: 44px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--text-3) 50%), linear-gradient(135deg, var(--text-3) 50%, transparent 50%);
  background-position: calc(100% - 23px) 50%, calc(100% - 17px) 50%; background-size: 6px 6px; background-repeat: no-repeat; }
.field input[aria-invalid="true"] { border-color: var(--dawn-ink); }
.field-err, .status.err { color: var(--dawn-ink); }
.field-err { font-size: 15px; }
.waitlist .btn { width: 100%; margin-top: 4px; }
.waitlist .btn:disabled { opacity: .6; cursor: progress; transform: none; }
.waitlist .status { margin-top: -6px; }
.waitlist .status:empty { display: none; }
.waitlist .fine { margin-top: 0; }
.waitlist .fine a, .wl-done a { white-space: nowrap; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.wl-done { display: grid; justify-items: start; gap: 12px; outline: none; }
.wl-done svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; color: #fff; background: var(--fill); box-shadow: 0 10px 28px -10px rgba(31, 111, 209, .7); }
.wl-done h3 { font-size: clamp(26px, 3vw, 34px); letter-spacing: -.02em; }
.wl-done p { color: var(--text-2); }
.wl-done b { color: var(--text); font-weight: 600; overflow-wrap: anywhere; }
