/* NeverL8 marketing site — the redesign.

   The look is taken from the app, not from a web template:
     type     the system font, bold, with tabular numerals: the overlay's own
              countdown face. Monospace appears only inside the depicted
              text editor.
     colour   white page, black type. The overlay's ring colours carry the
              same meaning here as in the app: yellow is the heads-up (and
              the page's one accent), red means late.
     shape    solid rules and flat bands, no cards. Shadows and round corners
              only on things that are windows, banners or hardware.
   The page only goes dark when NeverL8 fires.

   Three modes, switched by classes the inline head script sets on <html>:
     .js.story-on      the scroll story runs on a pinned stage
     .js (only)        reduced motion: the story is a static timeline, the
                       demos and the live overlay still work
     (neither)         no JavaScript: static timeline, a still of the overlay,
                       demos shown in their end state

   Contents: tokens · base · controls · menu bar · hero · story (static, then
   live) · overlay · sections · desk demo · tables · try it ·
   privacy · pricing · closing · footer · toast · legal pages · responsive */

:root {
  --bg: #ffffff;
  --bg-2: #f1f1f1;              /* the desktop, and flat bands */
  --ink: #0a0a0a;
  --ink-2: #555555;
  --ink-3: #8a8a8a;
  --hair: rgba(0, 0, 0, 0.15);

  /* The overlay's palette, from ReminderOverlayView.swift. takeover.js sets
     the ring colour to these by name, so do not rename them. */
  --ring-yellow: #ffd60a;
  --ring-orange: #ff9f0a;
  --ring-red: #ff453a;
  /* The page borrows the same three colours. */
  --yellow: var(--ring-yellow);
  --orange: var(--ring-orange);
  --red: var(--ring-red);
  --red-ink: #d4281c;           /* the red, darkened to pass contrast as small text */

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

  --bar-h: 32px;
  --gutter: clamp(20px, 4.5vw, 56px);
  --maxw: 1200px;
}

/* Base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 17px/1.5 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { background: var(--yellow); text-decoration: none; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}
h1, h2, h3 { font-weight: 700; }
p { margin: 0; }
img { max-width: 100%; }
button { font: inherit; color: inherit; }

.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

/* Controls ---------------------------------------------------------------- */
/* Page buttons: one plain shape. Yellow with a black edge is the Join button's
   colour; capsules are left to the overlay, where the app really uses them. */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px;
  border: 1.5px solid var(--ink); border-radius: 8px;
  background: var(--yellow); color: #000;
  font-weight: 650; font-size: 16.5px; line-height: 1.2; text-align: center; text-decoration: none;
  cursor: pointer;
}
.btn:hover { background: var(--ink); color: var(--yellow); }
.btn.is-plain { background: var(--bg); }
.btn.is-plain:hover { background: var(--ink); color: #fff; }
.btn.is-ink { background: var(--ink); color: #fff; }
.btn.is-ink:hover { background: #fff; color: #000; }
.btn.is-line { background: transparent; }
.btn.is-line:hover { background: var(--ink); color: #fff; }

/* Demo controls, drawn like the macOS controls they stand in for. */
.push {
  height: 30px; padding: 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.24); border-radius: 6px;
  background: #fff; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
  font-size: 14px; font-weight: 500; white-space: nowrap; cursor: pointer;
}
.push:hover:not(:disabled) { background: var(--bg-2); }
.push:disabled { opacity: 0.4; cursor: default; }
.push.is-primary { background: var(--yellow); border-color: var(--ink); font-weight: 650; }
.push.is-primary:hover:not(:disabled) { background: var(--ink); color: var(--yellow); }

.stepper { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; }
.stepper-keys { display: inline-flex; }
.stepper-keys .push { width: 30px; padding: 0; font-size: 16px; line-height: 1; }
.stepper-keys .push:first-child { border-radius: 6px 0 0 6px; }
.stepper-keys .push:last-child { border-radius: 0 6px 6px 0; margin-left: -1px; }
.stepper output { font-variant-numeric: tabular-nums; min-width: 9ch; }

.switch {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 0; border: 0; background: none;
  font-size: 14px; font-weight: 500; cursor: pointer;
}
/* Off is --ink-3, not macOS's pale grey: the track and the knob on it both
   need 3:1 against what is behind them to be seen. */
.switch-track { position: relative; width: 38px; height: 22px; border-radius: 11px; background: var(--ink-3); transition: background 0.15s ease; }
.switch-knob { position: absolute; top: 2px; left: 2px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.3); transition: transform 0.15s ease; }
.switch[aria-checked="true"] .switch-track { background: var(--ink); }
.switch[aria-checked="true"] .switch-knob { transform: translateX(16px); }

.check { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; cursor: pointer; }
.check input { width: 15px; height: 15px; margin: 0; accent-color: var(--ink); }
html:not(.js) .check { display: none; }

/* Menu bar ---------------------------------------------------------------- */
/* The site nav is a macOS menu bar: app name in bold, menu titles, status
   items on the right. The clock is the story's clock. */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  height: var(--bar-h);
  display: flex; align-items: center; gap: 18px;
  padding: 0 10px 0 14px;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: 0 0.5px 0 rgba(0, 0, 0, 0.22);
  font-size: 13px;
}
.bar a { text-decoration: none; }
.bar a:hover { background: none; }
/* When the bar runs out of room (a narrow screen with the reader's own text
   spacing), the brand and the Buy link keep their size and the status items,
   which are decoration, give way from the left. */
.bar-brand { display: flex; align-items: center; gap: 7px; font-weight: 700; flex: none; }
.bar-brand img { width: 16px; height: 16px; border-radius: 4px; }
.bar-links { display: flex; gap: 18px; }
.bar-links a:hover { text-decoration: underline; }

.bar-status {
  margin-left: auto;
  display: flex; align-items: center; justify-content: flex-end; gap: 13px;
  min-width: 0; overflow-x: clip;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.bar-status svg { width: 14px; height: 14px; display: block; }
/* The app's own menu-bar item: absent on the first run of the afternoon,
   there on the second. It carries a badge while a "try it" meeting is pending. */
.bar-app { position: relative; width: 0; margin-left: -13px; opacity: 0; transition: width 0.2s ease, margin 0.2s ease, opacity 0.2s ease; }
.bar.has-app .bar-app, .bar.is-armed .bar-app { width: 14px; margin-left: 0; opacity: 1; }
.bar.is-armed .bar-app::after {
  content: ""; position: absolute; top: -2px; right: -3px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--red); box-shadow: 0 0 0 1.5px #fff;
}
/* The call to action is drawn as the highlighted menu title. */
.bar-cta { flex: none; padding: 3px 9px; border-radius: 5px; background: var(--yellow); color: #000; font-weight: 600; white-space: nowrap; }
.bar .bar-cta:hover { background: var(--ink); color: var(--yellow); }
.bar-links + .bar-cta { margin-left: auto; }   /* legal pages: no status block */

/* Scene 1 — hero ---------------------------------------------------------- */
.hero {
  min-height: 100vh; min-height: 100svh;
  max-width: var(--maxw); margin: 0 auto;
  padding: calc(var(--bar-h) + clamp(28px, 7vh, 76px)) var(--gutter) clamp(24px, 5vh, 44px);
  display: flex; flex-direction: column;
}
.hero-icon { width: 64px; height: 64px; border-radius: 14px; margin-bottom: clamp(18px, 3.4vh, 30px); }
.hero h1 {
  margin: 0;
  font-size: clamp(46px, 9.2vw, 128px); line-height: 0.96; letter-spacing: -0.045em;
  padding-bottom: clamp(24px, 4vh, 40px);   /* keeps the rule off the last line on short screens */
  text-wrap: balance;
}
.hero-row {
  margin-top: auto;
  padding-top: clamp(20px, 3.4vh, 30px);
  border-top: 2px solid var(--ink);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(28px, 6vw, 96px); align-items: start;
}
.hero-sub { font-size: clamp(17px, 1.55vw, 20px); line-height: 1.45; max-width: 46ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hero-fine { margin-top: 16px; font-size: 14px; color: var(--ink-2); }

/* The premise: what time it is, and what's coming. */
.premise-clock {
  font-weight: 700; font-size: clamp(56px, 7.4vw, 100px); line-height: 0.86; letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
}
/* The colon blinks twice and then holds: blinking that runs past five seconds
   needs a way to stop it. The same goes for the editor's caret, below. */
.premise-clock i { font-style: normal; animation: colon 2s steps(1) 2; }
@keyframes colon { 50% { opacity: 0.18; } }
.premise-clock span { margin-left: 0.25em; font-size: 0.26em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.premise-copy { margin-top: 16px; font-size: 16.5px; color: var(--ink-2); max-width: 40ch; }
.premise-copy strong { color: var(--ink); font-weight: 650; }
.premise-foot { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 14px; }
html:not(.story-on) .premise-skip { display: none; }

/* Scenes 2–4 — static mode (the default) ----------------------------------- */
.story { position: relative; }
/* Keep anchor jumps clear of the fixed bar. (In story mode the stage sits
   under the bar on purpose, so the story itself is exempt there.) */
.sec, .tryit, .cta, .story { scroll-margin-top: var(--bar-h); }
.story-on .story { scroll-margin-top: 0; }
.stage { display: none; }

.story-text {
  list-style: none; margin: 0 auto; padding: 8px var(--gutter) 40px;
  max-width: var(--maxw);
}
.story-text li {
  display: grid; grid-template-columns: minmax(150px, 3fr) minmax(0, 9fr); gap: 8px 32px;
  border-top: 1px solid var(--hair); padding: 20px 0;
}
.story-text li:first-child { border-top: 2px solid var(--ink); }
.story-text .when { font-weight: 700; font-variant-numeric: tabular-nums; }
.story-text p { font-size: clamp(19px, 2vw, 24px); line-height: 1.35; color: var(--ink-2); max-width: 44ch; }
.story-text .is-now p { color: var(--ink); }
/* With JS but no motion, the overlay is a button away. */
.story-fire { display: none; margin-top: 16px; padding: 10px 18px; font-size: 15px; }
.js:not(.story-on) .story-fire { display: inline-flex; }

/* Scene 4 — the overlay --------------------------------------------------- */
/* A copy of the app's overlay. Nothing in this block is page styling, and it
   does not follow the page's look: when the page is restyled, leave it alone.
   Default: a still picture in the page (no JavaScript). */
.takeover {
  --ring: min(400px, 36vh, 72vw);
  --ring-c: var(--ring-yellow);
  --f: 1;
  position: relative;
  display: grid; place-items: center;
  margin: 0 auto 72px; padding: 48px 20px;
  width: min(1120px, calc(100% - 2 * var(--gutter)));
  border-radius: 22px;
  background: radial-gradient(90% 70% at 50% 20%, #2a2520, #0c0b0a 70%);
  color: #fff;
  font-family: var(--sans);
}
@supports (height: 1svh) { .takeover { --ring: min(400px, 36svh, 72vw); } }

.tk-col { display: flex; flex-direction: column; align-items: center; gap: 28px; width: 100%; }

.tk-ring { position: relative; width: var(--ring); height: var(--ring); flex: none; }
.tk-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; display: block; }
.tk-track { fill: none; stroke: rgba(255, 255, 255, 0.09); stroke-width: 14; }
.tk-arc {
  fill: none; stroke: var(--ring-c); stroke-width: 14; stroke-linecap: round;
  stroke-dasharray: 1 1;
  stroke-dashoffset: calc(1 - var(--f));
  /* --step is set by takeover.js: one tick while counting down, so the ring
     moves without pause. */
  transition: stroke-dashoffset var(--step, 0.25s) linear, stroke 0.4s ease;
  filter: drop-shadow(0 0 12px color-mix(in srgb, var(--ring-c) 50%, transparent));
}
.tk-center {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: calc(var(--ring) * 0.02);
}
.tk-cap {
  font-weight: 700; font-size: clamp(12px, calc(var(--ring) * 0.035), 14px); line-height: 1;
  letter-spacing: 0.29em; margin-right: -0.29em;
  text-transform: uppercase; color: var(--ring-c);
  transition: color 0.4s ease;
}
.tk-clock {
  font-weight: 700; font-size: calc(var(--ring) * 0.27); line-height: 1;
  letter-spacing: -0.025em; font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.takeover.is-worded .tk-clock { font-size: calc(var(--ring) * 0.15); letter-spacing: -0.01em; }

.tk-card {
  width: min(672px, 100%);
  padding: 22px 26px;
  border-radius: 20px;
  background: rgba(26, 24, 22, 0.66);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.5);
  text-align: left;
}
.tk-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.tk-title { font-size: 21px; font-weight: 600; letter-spacing: -0.014em; line-height: 1.25; }
.tk-meta { margin-top: 5px; font-size: 15px; color: rgba(255, 255, 255, 0.6); font-variant-numeric: tabular-nums; }
.tk-meta i { font-style: normal; color: rgba(255, 255, 255, 0.35); margin: 0 2px; }
.tk-org { font-size: 13px; color: rgba(255, 255, 255, 0.42); text-align: right; white-space: nowrap; }
.tk-org:empty { display: none; }
.tk-desc {
  margin-top: 14px; padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 14px; line-height: 1.5; color: rgba(255, 255, 255, 0.55);
}

.tk-actions { display: flex; flex-direction: column; align-items: center; gap: 14px; width: 100%; }
.tk-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.tk-join, .tk-glass {
  height: 56px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  cursor: pointer; white-space: nowrap;
}
.tk-join {
  gap: 10px; padding: 0 40px; border: 0;
  background: var(--ring-c); color: #150f08;
  font-weight: 700; font-size: 18px;
  box-shadow: 0 10px 28px color-mix(in srgb, var(--ring-c) 50%, transparent);
  transition: background 0.4s ease, box-shadow 0.4s ease, transform 0.12s ease;
}
.tk-join svg { width: 22px; height: 22px; }
.tk-glass {
  gap: 7px; padding: 0 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff; font-weight: 600; font-size: 17px;
  transition: background 0.15s ease, transform 0.12s ease;
}
.tk-glass svg { width: 12px; height: 12px; opacity: 0.7; }
.tk-glass:hover { background: rgba(255, 255, 255, 0.14); }
.tk-join:active, .tk-glass:active { transform: scale(0.97); }
.takeover :focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 999px; }
.tk-hint { font-size: 13px; letter-spacing: 0.015em; color: rgba(255, 255, 255, 0.34); }
.takeover[inert] .tk-join, .takeover[inert] .tk-glass { cursor: default; }

/* With JavaScript: live, over everything, menu bar included, as on the Mac. */
.js .takeover {
  position: fixed; inset: 0; z-index: 100;
  width: auto; margin: 0; border-radius: 0;
  padding: 44px 20px;
  overflow: auto;
  /* The app dims and blurs the desktop behind it; so does this. */
  background: radial-gradient(90% 75% at 50% 32%, rgba(22, 19, 16, 0.84), rgba(5, 4, 3, 0.95));
  -webkit-backdrop-filter: blur(28px) saturate(1.3);
  backdrop-filter: blur(28px) saturate(1.3);
  opacity: 0; visibility: hidden;
  transition: opacity 0.26s ease, visibility 0s 0.26s;
}
.js .takeover.is-on { opacity: 1; visibility: visible; transition: opacity 0.16s ease; }
.js .takeover.is-on .tk-ring { animation: tk-pop 0.55s cubic-bezier(0.2, 0.9, 0.25, 1.2) both; }
.js .takeover.is-on .tk-card { animation: tk-rise 0.5s 0.08s ease-out both; }
.js .takeover.is-on .tk-actions { animation: tk-rise 0.5s 0.16s ease-out both; }
@keyframes tk-pop { from { opacity: 0; transform: scale(0.86); } }
@keyframes tk-rise { from { opacity: 0; transform: translateY(18px); } }

/* Scenes 2–4 — story mode -------------------------------------------------- */
/* The story is one screen tall plus its scrolling distance. story.js owns the
   pacing and sets --story-travel (in vh); the number here is the same total,
   so the page is the right length before the script runs. */
.story-on .story { height: calc(100vh + var(--story-travel, 672) * 1vh); }

.story-on .story-text {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip-path: inset(50%); border: 0;
}

/* The stage is a desktop: flat grey, one window. */
.story-on .stage {
  display: block;
  position: sticky; top: 0;
  height: 100vh; height: 100svh;
  overflow: hidden;
  background: var(--bg-2);
}
.desk { position: absolute; inset: 0; pointer-events: none; }

/* The work window, drawn as a macOS window. */
.win {
  --indent: 18px;
  position: absolute; left: 50%;
  top: calc(var(--bar-h) + (100% - var(--bar-h)) * 0.47);
  width: min(700px, calc(100% - 32px));
  min-height: 316px;
  transform: translate(-50%, -50%);
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.3), 0 24px 60px rgba(0, 0, 0, 0.24);
  overflow: hidden;
  will-change: transform, opacity;
}
.win-bar {
  height: 36px; display: flex; align-items: center; gap: 8px; padding: 0 13px;
  background: #ececec; border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}
.win-bar i { width: 12px; height: 12px; border-radius: 50%; }
.win-bar i:nth-child(1) { background: #ff5f57; }
.win-bar i:nth-child(2) { background: #febc2e; }
.win-bar i:nth-child(3) { background: #28c840; }
.win-bar span {
  position: absolute; left: 0; right: 0; text-align: center;
  font-size: 13px; font-weight: 600; color: #4d4d4d;
}
.win-body { padding: 18px 22px 22px; font: 400 14px/1.9 var(--mono); color: #111; }
.ln { min-height: 1.9em; padding-left: calc(var(--d) * var(--indent)); }
.ln-pre { color: var(--ink-3); visibility: hidden; }
.ln.has-text .ln-pre { visibility: visible; }
.ln.is-caret::after {
  content: ""; display: inline-block; vertical-align: -0.18em;
  width: 2px; height: 1.15em; margin-left: 1px;
  background: var(--ink);
  animation: caret 1.05s steps(1) 4;   /* restarts on each new line, then holds */
}
@keyframes caret { 50% { opacity: 0; } }

/* Narration under the window. */
.cap {
  position: absolute; left: 0; right: 0; bottom: clamp(18px, 6vh, 58px);
  padding: 0 var(--gutter);
  text-align: center;
  font-size: clamp(18px, 2vw, 24px); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink-2);
  opacity: 0;
}

/* The banner. True to size, and gone in four seconds. */
.banner, .ghost {
  position: absolute; top: calc(var(--bar-h) + 10px); right: 12px;
  width: 344px; max-width: calc(100% - 24px);
  border-radius: 18px;
}
.banner {
  display: flex; align-items: center; gap: 11px;
  padding: 11px 14px;
  background: rgba(246, 246, 246, 0.9);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.18);
  font-size: 13px; line-height: 1.3;
  transform: translateX(calc(100% + 28px));
  transition: transform 0.45s cubic-bezier(0.5, 0, 0.9, 0.4);
}
.banner.is-in { transform: none; transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.banner-icon {
  flex: none; width: 36px; height: 36px; border-radius: 9px;
  background: #fff; box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25);
  display: grid; grid-template-rows: 11px 1fr; overflow: hidden; text-align: center;
}
.banner-icon b { background: #ff3b30; color: #fff; font: 700 7px/11px var(--sans); letter-spacing: 0.06em; }
.banner-icon i { font: 400 18px/24px var(--sans); font-style: normal; color: #000; }
.banner-text { display: grid; flex: 1; min-width: 0; }
.banner-text strong { font-weight: 600; }
.banner-text span { color: #3c3c3c; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.banner-when { align-self: flex-start; font-size: 11.5px; color: var(--ink-3); }

/* Where the banner was. Red, because by now you're late. */
.ghost { height: 60px; opacity: 0; border: 1.5px dashed var(--red-ink); }
.ghost span {
  position: absolute; top: calc(100% + 8px); right: 2px;
  font-size: 13px; font-weight: 600; color: var(--red-ink); text-align: right;
}

/* The reveal and the rewind share one big clock, set like the countdown.
   It is red while you are late and goes black as the rewind passes 3:00. */
.tell {
  position: absolute; inset: var(--bar-h) 0 0 0;
  display: grid; place-content: center; justify-items: center;
  text-align: center; gap: clamp(10px, 2.4vh, 24px);
  padding: 0 var(--gutter);
  opacity: 0;
}
.bigtime {
  font-weight: 700; font-size: clamp(104px, 21vw, 280px); line-height: 0.86; letter-spacing: -0.055em;
  font-variant-numeric: tabular-nums;
  transition: color 0.2s ease;
}
.tell.is-late .bigtime { color: var(--red); }
.bigtime small { margin-left: 0.5em; font-size: clamp(14px, 1.6vw, 20px); font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.says { display: grid; justify-items: center; }
.say {
  grid-area: 1 / 1;
  font-size: clamp(24px, 3.5vw, 46px); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em;
  max-width: 22ch; text-wrap: balance;
  opacity: 0;
}
.say small {
  display: block; margin: 14px auto 0; max-width: 40ch;
  font-size: clamp(15px, 1.25vw, 17px); font-weight: 400; line-height: 1.5; letter-spacing: 0; color: var(--ink-2);
}

/* "are you joining?" */
.ping {
  position: absolute; right: clamp(12px, 4vw, 52px); bottom: clamp(16px, 7vh, 60px);
  width: min(320px, calc(100% - 24px));
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px;
  background: #fff; border-radius: 10px;
  box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.25), 0 12px 34px rgba(0, 0, 0, 0.18);
  font-size: 14.5px; line-height: 1.35;
  opacity: 0;
}
.ping-av {
  flex: none; width: 32px; height: 32px; border-radius: 7px;
  background: #3a3a3a; color: #fff; font-weight: 700; font-size: 14px;
  display: grid; place-items: center;
}
.ping-who { font-weight: 700; }
.ping-who span { font-weight: 400; font-size: 12px; color: var(--ink-3); margin-left: 5px; }

.pill {
  position: absolute; left: 50%; top: calc(var(--bar-h) + 16px);
  transform: translateX(-50%);
  padding: 7px 12px; border-radius: 6px;
  background: var(--ink); color: #fff;
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  opacity: 0; transition: opacity 0.2s ease;
}
.pill.is-on { opacity: 1; }

/* What happened after the visitor answered. */
.outcome {
  position: absolute; inset: var(--bar-h) 0 0 0;
  display: grid; place-content: center; justify-items: center;
  text-align: center; gap: 14px;
  padding: 0 var(--gutter);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s 0.25s;
}
.outcome.is-on { opacity: 1; visibility: visible; transition: opacity 0.35s 0.1s ease; }
.outcome-when { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--ink-2); }
.outcome h2 {
  margin: 0;
  font-size: clamp(40px, 6.6vw, 96px); line-height: 0.98; letter-spacing: -0.045em;
  max-width: 16ch; text-wrap: balance;
}
.outcome h2 span { display: block; }
.outcome p:not(.outcome-when) { max-width: 42ch; font-size: clamp(16px, 1.4vw, 19px); color: var(--ink-2); }
.outcome .btn { margin-top: 8px; padding: 10px 18px; font-size: 15px; }

/* Sections after the story -------------------------------------------------- */
.sec {
  max-width: var(--maxw); margin: 0 auto;
  padding: clamp(52px, 9vh, 104px) var(--gutter);
}
/* A section opens with a rule; heading on the left, the gist on the right. */
.sec-head {
  border-top: 2px solid var(--ink); padding-top: 20px;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 16px clamp(24px, 5vw, 72px); align-items: start;
}
.sec-head h2 {
  margin: 0;
  font-size: clamp(32px, 4.7vw, 64px); line-height: 1.02; letter-spacing: -0.04em;
  text-wrap: balance;
}
.sec-head h2:only-child { grid-column: 1 / -1; }   /* a heading with nothing beside it gets the full width */
.sec-head > p { padding-top: 0.45em; font-size: clamp(17px, 1.45vw, 19px); color: var(--ink-2); max-width: 46ch; }

.demo-controls { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
html:not(.js) .demo-controls { display: none; }

/* Scene 5 — one desk -------------------------------------------------------- */
/* The desk sits in a full-width grey band; the hardware stands on its edge. */
.desk-band {
  width: 100vw; margin: clamp(32px, 6vh, 64px) 0 0 calc(50% - 50vw);
  padding: clamp(36px, 7vh, 76px) var(--gutter) 0;
  background: var(--bg-2);
  border-bottom: 2px solid var(--ink);
}
.demo-visual { container-type: inline-size; max-width: 1080px; margin: 0 auto; }
/* Every size is in cqw, so the whole desk scales as one. */
.desk-demo { display: flex; align-items: flex-end; justify-content: center; gap: 3cqw; min-height: 33.5cqw; }
.scr { display: flex; flex-direction: column; align-items: center; flex: none; }
.scr-glass {
  position: relative; width: 100%; overflow: hidden;
  container-type: inline-size;       /* what's on a screen scales with that screen */
  background: #fff;
  border: max(3px, 0.6cqw) solid #1b1b1b;
  border-radius: 1.3cqw;
  box-shadow: 0 1.4cqw 3.4cqw rgba(0, 0, 0, 0.2);
}
.scr-laptop { width: 26cqw; }
.scr-laptop .scr-glass { aspect-ratio: 16 / 10; border-radius: 1.3cqw 1.3cqw 0.3cqw 0.3cqw; }
.scr-main { width: 42cqw; }
.scr-main .scr-glass { aspect-ratio: 16 / 9; background: #d6d6d6; }
.scr-tall { width: 15cqw; }
.scr-tall .scr-glass { aspect-ratio: 9 / 15; }
.scr-base { width: 116%; height: max(4px, 1cqw); background: linear-gradient(#d0d0d0, #b4b4b4); border-radius: 0.2cqw 0.2cqw 1cqw 1cqw; }
.scr-neck { width: 11%; height: 2.6cqw; background: #c6c6c6; }
.scr-foot { width: 36%; height: max(3px, 0.8cqw); background: linear-gradient(#d0d0d0, #b4b4b4); border-radius: 0.8cqw 0.8cqw 0 0; }
.scr-tall .scr-neck { width: 24%; height: 2.1cqw; }
.scr-tall .scr-foot { width: 70%; }

.desk-demo[data-count="1"] .scr-main, .desk-demo[data-count="1"] .scr-tall, .desk-demo[data-count="2"] .scr-tall { display: none; }
.desk-demo[data-count="1"] .scr-laptop { width: 48cqw; }
.desk-demo[data-count="2"] .scr-laptop { width: 32cqw; }
.desk-demo[data-count="2"] .scr-main { width: 52cqw; }

/* On each screen: a thin menu bar, and whatever you were doing. */
.scr-bar {
  position: absolute; inset: 0 0 auto 0; height: max(5px, 3.6cqw);
  display: flex; align-items: center; justify-content: flex-end; gap: 1.6cqw;
  padding: 0 2cqw;
  background: rgba(255, 255, 255, 0.7);
  font-size: 2.2cqw; font-variant-numeric: tabular-nums; white-space: nowrap; color: #222;
}
.scr-status { display: none; align-items: center; gap: 1.6cqw; }
.scr-moon { width: 2.4cqw; color: #b0b0b0; }
.scr-moon svg { display: block; width: 100%; }
.desk-demo[data-focus="on"] .scr-moon { color: #000; }
.scr-moon.is-gulp { animation: gulp 0.4s 0.45s ease; }
@keyframes gulp { 50% { transform: scale(1.8); } }
/* Status items and banners belong to the primary display: the big monitor
   if there is one, otherwise the laptop. */
.desk-demo[data-count="1"] .scr-laptop .scr-status,
.desk-demo:not([data-count="1"]) .scr-main .scr-status { display: flex; }

.scr-work { position: absolute; inset: max(5px, 3.6cqw) 0 0 0; padding: 8% 9%; display: flex; flex-direction: column; gap: 7%; }
.scr-work i { display: block; flex: none; width: var(--w); height: 5.5%; min-height: 2px; background: rgba(0, 0, 0, 0.13); }
.scr-work i:first-child { background: rgba(0, 0, 0, 0.45); margin-bottom: 3%; }
.scr-tall .scr-work { gap: 4%; padding: 10% 12%; }
.scr-tall .scr-work i { height: 2.4%; }

/* The big monitor shows the same editor as the story. */
.mwin {
  position: absolute; left: 7%; top: 15%; width: 64%; height: 70%;
  background: #fff; border-radius: 1.5cqw; overflow: hidden;
  box-shadow: 0 0 0 0.15cqw rgba(0, 0, 0, 0.25), 0 2cqw 5cqw rgba(0, 0, 0, 0.22);
}
.mwin-bar { height: 5.2cqw; display: flex; align-items: center; gap: 1.1cqw; padding: 0 1.8cqw; background: #ececec; }
.mwin-bar i { width: 1.7cqw; height: 1.7cqw; border-radius: 50%; }
.mwin-bar i:nth-child(1) { background: #ff5f57; }
.mwin-bar i:nth-child(2) { background: #febc2e; }
.mwin-bar i:nth-child(3) { background: #28c840; }
.mwin-body { margin: 0; padding: 2.6cqw 3cqw; font: 400 2.15cqw/1.8 var(--mono); color: #111; white-space: pre; }

/* A notification on the primary display. */
.scr-note {
  position: absolute; top: calc(max(5px, 3.6cqw) + 1.6cqw); right: 1.6cqw; width: 45%;
  display: none; align-items: center; gap: 1.8cqw;
  padding: 1.7cqw 2cqw; border-radius: 2.8cqw;
  background: rgba(246, 246, 246, 0.96);
  box-shadow: 0 0 0 0.12cqw rgba(0, 0, 0, 0.22), 0 1.4cqw 4cqw rgba(0, 0, 0, 0.22);
  font-size: 2.25cqw; line-height: 1.3;
  transform: translateX(125%); transform-origin: 86% 0;
}
.desk-demo[data-count="1"] .scr-laptop .scr-note,
.desk-demo:not([data-count="1"]) .scr-main .scr-note { display: flex; }
.scr-note .banner-icon { width: 6.4cqw; height: 6.4cqw; border-radius: 1.5cqw; grid-template-rows: 30% 1fr; }
.scr-note .banner-icon b { font-size: 0; }
.scr-note .banner-icon i { font-size: 3.2cqw; line-height: 4.4cqw; }
.scr-note.is-show { animation: note-show 3.2s cubic-bezier(0.3, 0.8, 0.3, 1) both; }
.scr-note.is-eaten { animation: note-eaten 0.8s cubic-bezier(0.4, 0, 0.6, 1) both; }
@keyframes note-show {
  0% { transform: translateX(125%); }
  12%, 84% { transform: none; }
  100% { transform: translateX(125%); }
}
/* With Focus on, the banner barely arrives before the moon swallows it. */
@keyframes note-eaten {
  0% { transform: translateX(125%); opacity: 1; }
  42% { transform: translateX(38%); opacity: 1; }
  100% { transform: translate(22%, -90%) scale(0.05); opacity: 0; }
}

/* The overlay, in miniature. Every screen shows it in the same instant. */
.mini {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%;
  background: radial-gradient(90% 75% at 50% 32%, #27221d, #0a0908);   /* matches the real overlay */
  opacity: 0; transition: opacity 0.16s ease;
}
[data-fired="true"] .mini { opacity: 1; }
.mini-ring { position: relative; height: 48%; aspect-ratio: 1; container-type: inline-size; }
.scr-tall .mini-ring { height: auto; width: 64%; }
.mini-ring svg { display: block; width: 100%; height: 100%; transform: rotate(-90deg); }
.mini-track { fill: none; stroke: rgba(255, 255, 255, 0.1); stroke-width: 7; }
.mini-arc {
  fill: none; stroke: var(--yellow); stroke-width: 7; stroke-linecap: round;
  stroke-dasharray: 1 1; stroke-dashoffset: 0.03;
  filter: drop-shadow(0 0 3px rgba(255, 214, 10, 0.5));
}
.mini-time {
  position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-weight: 700; font-size: 25cqw; letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.mini-card { width: 56%; height: 9%; border-radius: 1.6cqw; background: rgba(255, 255, 255, 0.1); flex: none; }
.mini-join { width: 26%; height: 8%; border-radius: 99px; background: var(--yellow); flex: none; }
.scr-tall .mini-card { width: 74%; height: 5%; }
.scr-tall .mini-join { width: 44%; height: 4.5%; }

/* Two things to say about the desk, each with its own controls. */
.desk-notes {
  display: grid; grid-template-columns: 1fr 1fr; gap: 28px clamp(24px, 5vw, 72px);
  padding-top: 26px;
}
.desk-notes h3 { margin: 0; font-size: clamp(21px, 2.1vw, 27px); line-height: 1.12; letter-spacing: -0.025em; }
.desk-notes p { margin-top: 8px; color: var(--ink-2); max-width: 44ch; }
.silenced { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }

/* Tables: the questions --------------------------------------- */
.sheet { margin: 0; border-top: 2px solid var(--ink); }
.sheet > div {
  display: grid; grid-template-columns: minmax(110px, 3fr) minmax(0, 9fr); gap: 4px 32px;
  padding: 13px 0; border-bottom: 1px solid var(--hair);
}
.sheet dt { font-weight: 650; }
.sheet dd { margin: 0; color: var(--ink-2); max-width: 62ch; }
.sheet-qa > div { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); padding: 20px 0; }
.sheet-qa dt { font-size: clamp(18px, 1.7vw, 21px); line-height: 1.25; letter-spacing: -0.015em; }
.faq .sheet { margin-top: clamp(24px, 4vh, 40px); border-top: 1px solid var(--hair); }

/* Scene 6 — try it on yourself: the one yellow band ------------------------------ */
.tryit { background: var(--yellow); color: #000; }
html:not(.js) .tryit { display: none; }
.tryit-in { max-width: var(--maxw); margin: 0 auto; padding: clamp(56px, 11vh, 124px) var(--gutter); }
.tryit h2 {
  margin: 0;
  font-size: clamp(36px, 6vw, 84px); line-height: 0.98; letter-spacing: -0.045em;
  max-width: 17ch; text-wrap: balance;
}
.tryit-in > p:not(.tryit-status) { margin-top: 20px; max-width: 52ch; font-size: clamp(17px, 1.45vw, 19px); }
.tryit-row { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 14px 22px; align-items: center; }
.tryit-status { margin-top: 14px; min-height: 1.5em; font-weight: 650; }

/* Scene 7 — the quiet part -------------------------------------------------- */
/* What NeverL8 reads and why, set beside the section heading. */
.data { padding-top: 0.5em; }
.data p { margin: 0 0 12px; line-height: 1.55; color: var(--ink-2); }
.data p:last-child { margin-bottom: 0; }
.data strong { color: var(--ink); font-weight: 650; }
.data ul { margin: 0 0 12px; padding-left: 20px; display: grid; gap: 7px; }
.data li { line-height: 1.5; color: var(--ink-2); }

/* Scene 8 — pricing: two rows, the figures set like the countdown ------------------ */
.prices { margin-top: clamp(24px, 4vh, 40px); border-top: 1px solid var(--hair); }
.price {
  display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr) 160px;
  gap: 14px clamp(20px, 4vw, 56px); align-items: center;
  padding: clamp(20px, 3.4vh, 30px) 0; border-bottom: 1px solid var(--hair);
}
.price-fig {
  font-weight: 700; font-size: clamp(50px, 7.4vw, 100px); line-height: 0.86; letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums; white-space: nowrap;
}
.price-fig span { margin-left: 0.3em; font-size: 0.24em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.price h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.price p:not(.price-fig) { color: var(--ink-2); max-width: 46ch; }
.price .btn { justify-self: end; padding: 11px 18px; font-size: 15.5px; white-space: nowrap; }
.price-note { margin-top: 18px; max-width: 64ch; font-size: 14.5px; color: var(--ink-2); }

.faq { padding-top: 0; }

/* Closing -------------------------------------------------------------------- */
.closing { padding-top: 0; }
.cta {
  border-top: 2px solid var(--ink); padding-top: 26px;
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px clamp(20px, 3.4vw, 44px); align-items: start;
}
.cta-icon { width: clamp(72px, 9vw, 120px); height: auto; aspect-ratio: 1; border-radius: 22%; }
.cta-body { display: grid; gap: 16px; justify-items: start; }
.cta h2 { margin: 0; font-size: clamp(40px, 7.4vw, 104px); line-height: 0.96; letter-spacing: -0.045em; max-width: 13ch; text-wrap: balance; }
.cta-lede { font-size: clamp(17px, 1.5vw, 20px); max-width: 44ch; }
.cta .btn { padding: 15px 26px; font-size: 17.5px; }
.cta-fine { font-size: 14px; color: var(--ink-2); }

/* Footer --------------------------------------------------------------------- */
.foot {
  max-width: var(--maxw); margin: 0 auto;
  padding: 20px var(--gutter) 40px;
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center;
  border-top: 1px solid var(--hair);
  font-size: 13.5px; color: var(--ink-2);
}
.foot-brand { display: flex; align-items: center; gap: 8px; }
.foot-brand img { width: 18px; height: 18px; border-radius: 5px; }
.foot-links { display: flex; gap: 18px; flex-wrap: wrap; }

/* Toast: where the "try it" demo reports back, since it can fire anywhere. */
.toast {
  position: fixed; left: 50%; bottom: 20px; z-index: 60;
  width: max-content; max-width: min(580px, calc(100% - 32px));
  padding: 12px 16px; border-radius: 8px;
  background: var(--ink); color: #fff;
  font-size: 15px; font-weight: 500; line-height: 1.4; text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  opacity: 0; visibility: hidden; transform: translateX(-50%);
  transition: opacity 0.2s ease, visibility 0s 0.2s;
}
.toast.is-on { opacity: 1; visibility: visible; transition: opacity 0.2s ease; }

/* Legal / long-form pages (privacy.html) -------------------------------------- */
.legal { max-width: 760px; margin: 0 auto; padding: calc(var(--bar-h) + clamp(40px, 8vh, 84px)) var(--gutter) 72px; }
.legal h1 { margin: 0 0 12px; font-size: clamp(40px, 6.4vw, 76px); line-height: 0.98; letter-spacing: -0.045em; }
.legal .updated { margin: 0 0 32px; padding-bottom: 20px; border-bottom: 2px solid var(--ink); font-weight: 650; color: var(--ink-2); }
.legal h2 { margin: 44px 0 10px; font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; letter-spacing: -0.025em; }
.legal h3 { margin: 26px 0 6px; font-size: 18px; }
.legal p { margin: 0 0 14px; color: var(--ink-2); line-height: 1.6; }
.legal strong { color: var(--ink); font-weight: 650; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { margin: 8px 0; color: var(--ink-2); line-height: 1.55; }
.legal code { font: 400 13.5px var(--mono); background: var(--bg-2); padding: 1px 5px; color: var(--ink); }
.legal .callout { margin: 24px 0; padding: 16px 18px; background: var(--bg-2); border-left: 3px solid var(--ink); }
.legal .callout p { margin: 0; }

/* Responsive ------------------------------------------------------------------ */
@media (max-width: 860px) {
  .hero-row, .sec-head, .desk-notes { grid-template-columns: 1fr; }
  .sec-head > p, .sec-head .data { padding-top: 0; }
  .story-text li, .sheet > div, .sheet-qa > div { grid-template-columns: 1fr; }
  .price { grid-template-columns: 1fr; justify-items: start; }
  .price .btn { justify-self: start; }
  .cta { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* A menu bar you can hit with a thumb. */
  :root { --bar-h: 44px; }
  .bar { gap: 12px; padding: 0 10px 0 12px; font-size: 14px; }
  .bar-links { display: none; }
  .bar-brand img { width: 20px; height: 20px; border-radius: 5px; }
  .bar-cta { padding: 6px 11px; border-radius: 6px; }
}

@media (max-width: 640px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .story-on .story { height: calc(100vh + var(--story-travel, 672) * 0.87vh); }   /* a little shorter on a phone */

  .win { --indent: 8px; min-height: 300px; }
  .win-body { padding: 14px 14px 18px; font-size: 12.5px; }

  /* On a phone, banners drop from the top. */
  .banner, .ghost { left: 10px; right: 10px; width: auto; max-width: none; top: calc(var(--bar-h) + 8px); }
  .banner { transform: translateY(calc(-100% - var(--bar-h) - 20px)); }
  .ghost span { left: 2px; right: 2px; text-align: center; }
  .ping { left: 12px; right: 12px; width: auto; bottom: 14px; }

  .takeover { padding: 32px 16px; }
  .js .takeover { padding: 28px 16px; }
  .tk-col { gap: 22px; }
  .tk-card { padding: 18px 18px; }
  .tk-card-top { flex-direction: column; gap: 4px; }
  .tk-org { text-align: left; }
  .tk-title { font-size: 19px; }
  .tk-meta { font-size: 14px; }
  .tk-btns { width: 100%; }
  .tk-join { flex: 1 1 100%; height: 52px; }
  .tk-glass { flex: 1 1 0; height: 52px; padding: 0 16px; }

  .mini-time { display: none; }
  .desk-demo[data-count="1"] .mini-time { display: grid; }
}

/* Key hints mean nothing without a keyboard. */
@media (hover: none) { .tk-hint { display: none; } }

@media (prefers-reduced-motion: reduce) {
  /* Transitions are off outright, not shortened to a token 0.01ms. Every
     element's default is `transition-property: all`, so any duration above
     zero makes inherited changes transition too: the overlay's buttons stayed
     `visibility: hidden` for a frame after it opened, and focus could not
     move into it. Nothing here listens for transitionend. */
  * { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0s !important; transition-delay: 0s !important; }
  .premise-clock i { animation: none; }
}
