/*
 * becoming.pics
 *
 * The app's own palette (src/theme/schemes.ts), type (Instrument Serif for
 * the voice, Instrument Sans for everything else) and shapes
 * (src/theme/scale.ts): a button is 52 tall with 14 corners and a bold
 * label, a card has 20, a segmented control 14 with a 3 inset, a chip is a
 * pill. The site uses the app's components, measured, not lookalikes. The
 * amber panels are the Play listing's cards (D78), so the site, the store and
 * the app are one thing.
 *
 * Contrast is measured, as in the app: --dim is 0.66 chalk on ink900
 * (7.9:1), --faint is 0.52 (5.2:1). On the amber panels, text is #1E1408
 * (8.5:1 at the gradient's darkest corner, 14.8:1 at its lightest) and the
 * italic #6E3C05 is 4.2:1 at worst, so it is only ever display-sized type,
 * where WCAG's floor is 3:1.
 */

@font-face {
  font-family: "Instrument Sans";
  src: url("fonts/instrument-sans.woff2") format("woff2");
  font-weight: 400 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("fonts/instrument-serif-italic.woff2") format("woff2");
  font-weight: 400; font-style: italic; font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #08090B;
  --ink-2: #0E1013;
  --ink-3: #14171B;
  --ink-4: #1B1F25;
  --chalk: #F4F2ED;
  --dim: rgba(244, 242, 237, 0.66);
  --faint: rgba(244, 242, 237, 0.52);
  --hair: rgba(255, 255, 255, 0.10);
  --hair-2: rgba(255, 255, 255, 0.16);
  --control: rgba(255, 255, 255, 0.34);
  --surface: rgba(255, 255, 255, 0.045);
  --surface-2: rgba(255, 255, 255, 0.075);
  --fill: rgba(255, 255, 255, 0.10);
  --fill-solid: #1E2126;   /* roles.ts fill */
  --canvas: #0B0C0F;       /* roles.ts canvas */
  --amber: #F0B857;
  --amber-light: #F6C56E;
  --amber-pale: #F8D48A;
  --amber-deep: #B9863A;
  --amber-ink: #1A1206;
  --on-amber: #1E1408;
  --on-amber-em: #6E3C05;
  --on-amber-dim: #4A3214;
  --mint: #6FC79A;
  --amber-ground:
    radial-gradient(900px 700px at 8% 0%, rgba(255, 250, 236, 0.55), transparent 58%),
    linear-gradient(143deg, #FBE6BE 0%, #F4C66F 52%, #E8A440 100%);

  --serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", ui-sans-serif, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* scale.ts RADIUS */
  --r-thumb: 8px;
  --r-control: 14px;
  --r-card: 20px;
  --r-sheet: 28px;

  --gutter: max(16px, min(5vw, 40px));
  --max: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  /* Springs (cookbook 26: ζ 0.6 and 0.75): every press settles like the app. */
  --spring: linear(0, .009 1%, .035 2%, .124 4%, .245 6%, .651 12%, .768 14%, .866 16%, .946 18%, 1.006 20%, 1.049 22%, 1.076 24%, 1.094 27%, 1.092 30%, 1.015 43.5%, .993 52%, 1);
  --spring-soft: linear(0, .026 2%, .111 4.5%, .204 6.5%, .563 13.5%, .673 16%, .767 18.5%, .844 21%, .904 23.5%, .949 26%, .987 29%, 1.018 33.5%, 1.028 39%, 1.002 65%, 1);
  /* The header's own row, and the Black Friday line above it while it
     shows (--bar-h, set below). Every offset reads --top-h, so the page
     clears both. */
  --top-row: 68px;
  --bar-h: 0px;
  /* The Black Friday line's height: room for its clock's cells (34px,
     40px from 640px) and 6px above and below. */
  --deal-bar-h: 46px;
  --top-h: calc(var(--top-row) + var(--bar-h));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--top-h) + 16px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--ink);
  color: var(--chalk);
  font: 400 17px/1.6 var(--sans);
  font-feature-settings: "kern", "calt";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--amber-ink); }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }

.sr { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--amber); color: var(--amber-ink); padding: 10px 16px; border-radius: var(--r-control); font-weight: 700; text-decoration: none; transition: top .2s var(--ease); }
.skip:focus { top: 12px; }

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

/* ---------------------------------------------------------------- type */

.eyebrow {
  margin: 0 0 18px;
  font: 600 12px/1.2 var(--sans);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--amber);
}
.display, .h1, .h2 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(52px, 8.6vw, 124px); line-height: 0.92; letter-spacing: -0.03em; }
.br-wide { display: none; }
@media (min-width: 961px) { .br-wide { display: block; } }
.h1 { font-size: clamp(44px, 7.2vw, 96px); line-height: 0.95; }
.h2 { font-size: clamp(40px, 5.4vw, 76px); line-height: 0.98; }
.display em, .h1 em, .h2 em { font-style: italic; color: var(--amber); }
.h1 em, .h2 em { display: block; }
.h3 { font: 600 19px/1.3 var(--sans); letter-spacing: -0.01em; margin: 0 0 8px; }
.lead { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; color: var(--dim); max-width: 32em; margin: 24px 0 0; text-wrap: pretty; }
.dim { color: var(--dim); }
p { text-wrap: pretty; }
.cap { margin: 14px 2px 0; font-size: 13.5px; line-height: 1.5; color: var(--faint); max-width: 46em; }
.cap-center { text-align: center; margin-inline: auto; }
.cap-hint { color: var(--dim); }
.small { font-size: 14.5px; color: var(--faint); max-width: 40em; }
.more { margin: 28px 0 0; color: var(--dim); }
.more a { color: var(--amber); text-underline-offset: 4px; }
.more-center { text-align: center; margin-top: 40px; }

/* ------------------------------------------------- buttons, as the app */

/* Button.tsx: height lg 52 / md 44, RADIUS.control 14, label Instrument
   Sans Bold 17 / 15, primary is a flat amber fill, outline a 1px edge at
   hairlineControl, pressed scales a touch. */
.btn {
  --h: 52px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: var(--h); padding: 8px 24px;
  border-radius: var(--r-control); border: 0;
  font: 700 17px/1.2 var(--sans);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .45s var(--spring), background-color .2s var(--ease);
}
.btn:active { transform: scale(0.95); transition-duration: .12s; }
.btn-amber { background: var(--amber); color: var(--amber-ink); }
.btn-amber:hover { background: var(--amber-light); }
.btn-ghost { background: transparent; color: var(--chalk); box-shadow: 0 0 0 1px var(--control) inset; }
.btn-ghost:hover { background: var(--surface-2); }
.btn-dark { background: var(--ink); color: var(--chalk); }
.btn-dark:hover { background: var(--ink-3); }
.btn-sm { --h: 44px; padding: 8px 20px; font-size: 15px; }
/* The header's button (owner, 5 Nov 2026: "more premium", then "no glow,
   no creativity"). The app's amber lit like a key: a highlight along its
   top, a darker lip along its foot. Under it an amber glow breathes; across
   it a glint runs every few seconds, as light catches a key; on hover it
   lifts, the glow comes up and the arrow steps on. Every moving part is
   opacity or transform, so the compositor runs it, and none moves for
   anyone who asks for less motion. */
.top-cta { position: relative; gap: 6px; padding: 0 16px 0 20px; letter-spacing: -0.005em;
  background: linear-gradient(180deg, var(--amber-light), var(--amber) 55%, color-mix(in oklab, var(--amber), var(--amber-ink) 12%));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(90, 50, 0, 0.35), 0 1px 2px rgba(0, 0, 0, 0.45);
  transition: transform .45s var(--spring), translate .25s var(--ease); }
.top-cta:hover { background: linear-gradient(180deg, var(--amber-light), var(--amber-light) 40%, var(--amber)); translate: 0 -1px; }
/* The glow: behind the button (the header is its stacking context). */
.top-cta::before { content: ""; position: absolute; inset: -6px -3px; z-index: -1; border-radius: 22px; pointer-events: none;
  background: var(--amber); filter: blur(16px); opacity: 0.5; transition: opacity .3s var(--ease); }
/* Hover: a touch more glow, held close (owner: "cool but too much"). */
.top-cta:hover::before { opacity: 0.6; scale: 1; }
/* The glint, clipped to the button's own shape; the words sit above it. */
.cta-shine { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; pointer-events: none; }
.cta-shine::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 40%; translate: -110% 0;
  background: linear-gradient(105deg, transparent 10%, rgba(255, 255, 255, 0.65) 50%, transparent 90%); }
.top-cta > :not(.cta-shine) { position: relative; }
.top-cta .i { width: 16px; height: 16px; transition: translate .25s var(--ease); }
.top-cta .cta-short { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .top-cta:not(:hover)::before { animation: cta-breathe 3.2s ease-in-out infinite alternate; }
  .cta-shine::before { animation: cta-glint 6s cubic-bezier(.4, 0, .2, 1) 1.5s infinite; }
  .top-cta:hover .i { translate: 3px 0; }
}
@keyframes cta-breathe { from { opacity: 0.3; scale: 0.95; } to { opacity: 0.6; scale: 1.02; } }
@keyframes cta-glint { 0% { translate: -110% 0; } 18%, 100% { translate: 260% 0; } }
/* A small phone says it shorter, so the logo keeps its size. */
@media (max-width: 440px) { .top-cta .cta-long { display: none; } .top-cta .cta-short { display: inline; } }
.btn svg { width: 18px; height: 18px; flex: none; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 36px 0 0; align-items: center; }

/* Chip.tsx: a pill on the fill colour. */
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; list-style: none; }
.chips-center { justify-content: center; margin-top: 28px; }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 4px 16px; border-radius: 999px; background: var(--fill-solid); font: 700 15px/20px var(--sans); color: var(--chalk); }
.chip .i { width: 16px; height: 16px; color: var(--amber); }
.i { width: 22px; height: 22px; flex: none; }

/* ------------------------------------------------------------- header */

.top { position: fixed; inset: var(--bar-h) 0 auto 0; z-index: 50; view-transition-name: top; transition: background-color .3s var(--ease), box-shadow .3s var(--ease); }
.top.is-scrolled, .menu-open .top { background: rgba(8, 9, 11, 0.8); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--hair); }
.top-in { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); height: var(--top-row); display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; border-radius: 8px; }
/* The logo takes the free room, so the menu keeps the right edge even where
   the download button is hidden (an iPhone). */
.top-in > .brand { margin-right: auto; }
.lockup { height: 30px; width: auto; }
.top-nav { display: flex; gap: 28px; margin-left: auto; }
.top-nav a, .foot-col a { text-decoration: none; color: var(--dim); font-size: 15px; transition: color .2s var(--ease); }
.top-nav a:hover, .top-nav a[aria-current="page"], .foot-col a:hover, .foot-col a[aria-current="page"] { color: var(--chalk); }
.menu { display: none; }
.sheet { display: none; }

@media (max-width: 880px) {
  .top-nav { display: none; }
  .top-in { gap: 12px; }
  .top-cta { --h: 44px; padding: 0 12px 0 15px; font-size: 14px; flex: none; }
  .menu { flex: none; display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: var(--r-control); border: 0; background: var(--fill); cursor: pointer; }
  .menu-bars, .menu-bars::before, .menu-bars::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: var(--chalk); transition: transform .3s var(--ease); }
  .menu-bars { position: relative; }
  .menu-bars::before, .menu-bars::after { content: ""; position: absolute; left: 0; }
  .menu-bars::before { top: -6px; }
  .menu-bars::after { top: 6px; }
  .menu[aria-expanded="true"] .menu-bars { background: transparent; }
  .menu[aria-expanded="true"] .menu-bars::before { transform: translateY(6px) rotate(45deg); }
  .menu[aria-expanded="true"] .menu-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .sheet:not([hidden]) { display: block; height: calc(100dvh - var(--top-h)); overflow: auto; padding: 12px var(--gutter) 40px; }
  .sheet nav { display: grid; gap: 4px; }
  .sheet nav > a:not(.btn):not(.ios-soon) { font: 400 40px/1.15 var(--serif); text-decoration: none; padding: 10px 0; border-bottom: 1px solid var(--hair); color: var(--chalk); }
  .sheet .btn { margin-top: 28px; }
  .sheet .ios-soon { margin-top: 28px; justify-content: center; }
  .sheet .ios-note { justify-content: center; }
  .menu-open body { overflow: hidden; }
}

/* ------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--hair); padding: 72px 0 40px; background: var(--ink); }
.foot-in { display: grid; grid-template-columns: 1.4fr repeat(5, 1fr); gap: 40px; }
.foot-brand p { color: var(--dim); max-width: 26em; margin: 18px 0 0; font-size: 15px; }
.foot-col { display: flex; flex-direction: column; gap: 12px; }
.foot-col h2 { font: 600 12px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin: 6px 0; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--hair); color: var(--faint); font-size: 14px; }
.foot-base p { margin: 0; }
.foot-base a { color: var(--dim); }
@media (max-width: 1180px) { .foot-in { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 40px 28px; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 880px) { .foot-in { grid-template-columns: 1fr 1fr; gap: 32px 24px; } .foot-brand { grid-column: 1 / -1; } }
.foot { overflow: hidden; }

/* --------------------------------------------------- page transitions */

main { view-transition-name: main; display: block; }
::view-transition-old(main) { animation: vt-out .18s var(--ease) both; }
::view-transition-new(main) { animation: vt-in .42s var(--ease) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; transform: translateY(14px); } }

[data-reveal] { transition: opacity .8s var(--ease), transform .8s var(--ease); }
[data-reveal].is-pre { opacity: 0; transform: translateY(28px); }

/* ------------------------------------------------------------- bands */

/* A jump to a section (the nav, #how) lands its heading just under the
   header, not a band's padding further down. */
.band { --band-pad: clamp(64px, 7vw, 104px); position: relative; padding-block: var(--band-pad); scroll-margin-top: calc(24px - var(--band-pad)); }
.band + .band { border-top: 1px solid var(--hair); }
[data-page="home"] .band + .band { border-top: 0; }
.band-tight { padding-block: clamp(56px, 7vw, 104px); }
.head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.head .lead { margin-top: 20px; }
.head-center { margin-inline: auto; text-align: center; }
.head-center .lead { margin-inline: auto; }
@media (max-width: 640px) { .band { --band-pad: 56px; } .band-tight { padding-block: 48px; } }

/* -------------------------------------------------------------- hero */

/* 1se.co's composition: the words and the stage down the middle, the wall
   of days all round them. */
.hero { position: relative; overflow: clip; padding: calc(var(--top-h) + clamp(20px, 4vh, 44px)) 0 clamp(48px, 6vw, 88px); }
.hero-glow { position: absolute; inset: 0; pointer-events: none; z-index: 1; background: radial-gradient(34% 30% at 50% 22%, rgba(8, 9, 11, 0.94), rgba(8, 9, 11, 0.6) 55%, transparent 100%), radial-gradient(30% 38% at 50% 66%, rgba(240, 184, 87, 0.16), transparent 70%); }
.hero-in { position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.hero-copy { display: grid; justify-items: center; }
.hero .display { font-size: clamp(44px, 5vw, 76px); }
.hero-copy .lead { max-width: 34em; margin-top: 18px; text-wrap: balance; }
@media (max-width: 560px) { .hero-copy .lead { font-size: 16.5px; } }
.hero-copy .actions { justify-content: center; margin-top: 20px; }
.facts-under { margin-top: 14px; }
@media (max-width: 480px) { .facts-under li:first-child { display: none; } .facts-under li:nth-child(2)::before { display: none; } .facts-under { font-size: 13.5px; gap: 6px 14px; } }
.facts { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; list-style: none; padding: 0; margin: 22px 0 0; color: var(--faint); font-size: 14.5px; }
.facts li { display: inline-flex; align-items: center; gap: 18px; }
.facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--amber-deep); margin-left: -12px; margin-right: -6px; }
.hero-media { position: relative; margin: clamp(22px, 3vh, 36px) 0 0; text-align: left; display: grid; justify-items: center; }
/* The hero's phone: the amaryllis plays full screen, the strip to drag along
   floats over its foot like a player's, under a status bar and above the
   gesture bar. */
/* Two classes, or .phone (further down) wins and it is always 300. Sized from
   the screen's height, so its strip is in the first screen of a laptop too. */
.hero-media .hero-device { --w: clamp(224px, calc((100svh - 450px) / 1.96), 300px); }
.hero-device .phone-glass { aspect-ratio: 9 / 19.5; }
.hero-device .scrub { position: absolute; inset: 0; }
.hero-media .hero-device .scrub .scrub-stage { position: absolute; inset: 0; aspect-ratio: auto; border: 0; border-radius: 0; box-shadow: none; background: #0C0607; }
.hero-device .scrub-strip { position: absolute; left: 7%; right: 7%; bottom: 6.5%; z-index: 4; margin: 0; gap: 3px; padding: 4px; border-radius: calc(var(--w) * 0.05); background: rgba(14, 16, 19, 0.5); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset; }
.hero-device .scrub-thumb { border-radius: calc(var(--w) * 0.018); }
.hero-device .scrub-tag { left: 9%; bottom: calc(6.5% + var(--w) * 0.21); }
.device-status { position: absolute; z-index: 6; top: calc(var(--w) * 0.034); left: 9%; right: 9%; margin: 0; display: flex; justify-content: space-between; align-items: center; font: 600 calc(var(--w) * 0.046)/1 var(--sans); color: #fff; pointer-events: none; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4); }
.device-icons { display: inline-flex; gap: calc(var(--w) * 0.014); }
.device-icons .i { width: calc(var(--w) * 0.052); height: calc(var(--w) * 0.052); stroke-width: 2.2; }
.device-home { position: absolute; z-index: 6; bottom: calc(var(--w) * 0.024); left: 50%; translate: -50% 0; width: 34%; height: calc(var(--w) * 0.012); border-radius: 99px; background: rgba(255, 255, 255, 0.72); pointer-events: none; }
.hero-media .scrub-frame { object-position: 50% 40%; }
.hero-media .cap { text-align: center; }
.hero-phone { display: grid; justify-items: center; }
.hero-phone .phone { --w: min(320px, 72vw); }
.hero-phone .cap { text-align: center; }

/* The wall, as 1se.co moves it (motion-study.md §1a, from its code): every
   tile slides 100 px leftward, linear, fading in to the halfway point and
   out again, over 4.5 to 5.5 s, each on its own phase, so half the wall is
   lit at any moment and no image ever needs swapping. Tiles are 110, 180 or
   240 px with 17% corners, under a wash that keeps them below the stage.
   One change from 1SE: the phases start negative, so the wall is never
   empty on arrival (theirs is, for up to 3 s). JS adds the gather (--g, 0
   to 1 as the hero scrolls away): every tile drifts toward the stage and
   fades, the days collecting into the one film. */
.wall { --g: 0; position: absolute; inset: 0 0 auto 0; height: clamp(720px, 100svh, 1000px); z-index: 0; pointer-events: none; opacity: calc(1 - var(--g) * 0.85); }
.tile-day {
  --s: clamp(72px, 7.6vw, 110px); --dur: 5s; --delay: 0s;
  position: absolute; margin: 0; width: var(--s); aspect-ratio: 1; border-radius: 17%; overflow: hidden;
  container-type: inline-size; background: var(--ink-3); opacity: 0;
  /* the gather (--g) plus a little depth from the pointer (--px, --py): bigger tiles are nearer and move more */
  transform: translate(calc(var(--dx, 0) * var(--g) * 1px + var(--px, 0) * var(--depth, 8) * 1px), calc(var(--dy, 0) * var(--g) * 1px + var(--py, 0) * var(--depth, 8) * 1px)) scale(calc(1 - var(--g) * 0.4));
  transition: transform .9s cubic-bezier(0.16, 1, 0.3, 1);
  animation: slide-fade var(--dur) linear var(--delay) infinite both;
}
.tile-day img { width: 100%; height: 100%; object-fit: cover; }
.tile-day::before { content: ""; position: absolute; inset: 0; background: rgba(12, 14, 18, 0.2); pointer-events: none; }
.tile-day:has(.tile-stamp)::before { background: linear-gradient(160deg, rgba(0, 0, 0, 0.55), rgba(12, 14, 18, 0.2) 48%); }
.tile-day::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 1px var(--hair) inset; pointer-events: none; }
/* 1SE's stamp: a thin word over a heavy number, top left, each line about a
   tenth of the tile tall. Ours says the app's own word, Day. */
.tile-stamp { position: absolute; z-index: 1; left: 10%; top: 9%; display: grid; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45); line-height: 1; }
.tile-stamp span { font: 400 14.5cqi/1 var(--sans); letter-spacing: 0.02em; text-transform: uppercase; }
.tile-stamp b { font: 700 15cqi/1.12 var(--sans); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
@keyframes slide-fade {
  0%   { translate: 100px 0; opacity: 0; }
  50%  { translate: 50px 0;  opacity: 1; }
  100% { translate: 0 0;     opacity: 0; }
}
.ws2, .ws4, .ws7, .ws8, .ws17, .ws18 { --s: clamp(110px, 12.5vw, 180px); --depth: 16; }
.ws1, .ws3, .ws11, .ws12 { --s: clamp(140px, 16.7vw, 240px); --depth: 26; }
.ws1  { left: 3%;   top: 13%; --dur: 4.62s; --delay: -1.39s; }
.ws2  { left: 76%;  top: 10%; --dur: 5.31s; --delay: -1.14s; }
.ws3  { left: 80%;  top: 40%; --dur: 4.95s; --delay: -3.15s; }
.ws4  { left: 2%;   top: 60%; --dur: 5.12s; --delay: -0.94s; }
.ws5  { left: 19%;  top: 36%; --dur: 4.51s; --delay: -2.4s; }
.ws6  { left: 70%;  top: 30%; --dur: 5.44s; --delay: -2.71s; }
.ws7  { left: 68%;  top: 74%; --dur: 4.78s; --delay: -1.57s; }
.ws8  { left: 13%;  top: 80%; --dur: 5.06s; --delay: -4.67s; }
.ws9  { left: 1%;   top: 38%; --dur: 4.88s; --delay: -4.28s; }
.ws10 { left: 92%;  top: 25%; --dur: 5.21s; --delay: -5.02s; }
.ws11 { left: 83%;  top: 70%; --dur: 4.69s; --delay: -0.26s; }
.ws12 { left: 2%;   top: 80%; --dur: 5.37s; --delay: -3.91s; }
.ws13 { left: 27%;  top: 86%; --dur: 4.57s; --delay: -1.29s; }
.ws14 { left: 63%;  top: 52%; --dur: 5.02s; --delay: -4.55s; }
.ws15 { left: 63%;  top: 15%;  --dur: 4.83s; --delay: -1.31s; }
.ws16 { left: 25%;  top: 8%;  --dur: 5.26s; --delay: -4.67s; }
.ws17 { left: 55%;  top: 86%; --dur: 4.74s; --delay: -2.78s; }
.ws18 { left: 31%;  top: 85%; --dur: 5.15s; --delay: -0.91s; }
.wall-rows { --g: 0; display: none; }

/* Two of the app's notifications, arriving by the stage (Flighty's hero). */
.note {
  position: absolute; z-index: 3; width: 268px; margin: 0; display: flex; gap: 12px; align-items: center; text-align: left;
  padding: 12px 14px; border-radius: var(--r-card); background: rgba(30, 33, 38, 0.74);
  -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px);
  box-shadow: 0 0 0 1px var(--hair-2) inset, 0 24px 50px -20px rgba(0, 0, 0, 0.8);
  opacity: 0; transform: translateY(12px) scale(0.96);
  animation: note-in .7s var(--ease) var(--in, 1.4s) forwards, note-bob 6s var(--ease-in-out) calc(var(--in, 1.4s) + .7s) infinite alternate;
}
.note-b { left: calc(100% + 40px); top: 34%; --in: 2.4s; }
.note-icon img { width: 38px; height: 38px; border-radius: 9px; }
.note-text { display: grid; gap: 2px; font-size: 13.5px; line-height: 1.35; color: var(--dim); }
.note-text b { color: var(--chalk); font-weight: 700; font-size: 14.5px; }
@keyframes note-in { to { opacity: 1; transform: none; } }
@keyframes note-bob { from { translate: 0 0; } to { translate: 0 -8px; } }

@media (max-width: 960px) {
  .hero { padding-top: calc(var(--top-h) + 28px); padding-bottom: 32px; }
  .hero-copy, .hero-copy .actions { width: 100%; }
  .wall { display: none; }
  .hero-glow { background: radial-gradient(60% 40% at 50% 62%, rgba(240, 184, 87, 0.14), transparent 70%); }
  /* The two drifting strips are replaced by the wall round the phone below. */
  .wall-rows { display: none; }
  .wall-row { position: absolute; left: 0; right: 0; top: calc(var(--top-h) + 14px); overflow: hidden; z-index: 0; }
  .wall-row-back { top: auto; bottom: 26px; }
  .wall-run { display: flex; gap: 10px; width: max-content; animation: drift 70s linear infinite; }
  .wall-row-back .wall-run { animation-direction: reverse; animation-duration: 84s; }
  .wall-run .tile-day { position: relative; --s: 88px; flex: none; }
  .wall-run .tile-day { animation: none; opacity: 0.62; }
  /* Sized from the screen's height, so the whole strip is in the first
     screen (the phone sits about 400 px down; the strip ends 0.93 of the
     way down a phone 2.11 times as tall as it is wide). Two classes: a
     lone .hero-device loses to .phone, further down. */
  .hero-media .hero-device { --w: clamp(180px, calc((100svh - 330px) / 1.96), min(260px, 66vw)); }
}
@keyframes drift { to { transform: translateX(-50%); } }
@keyframes peek { 0%, 40% { opacity: 0.15; } 100% { opacity: 1; } }
@media (max-width: 640px) {
  /* Both buttons in one row, so the phone and its strip keep the first screen. */
  .hero .hero-copy .actions { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 10px; }
  .hero .hero-copy .actions .btn { flex: 1 1 0; width: auto; min-width: 0; padding-inline: 12px; font-size: 16px; }
  .hero .hero-copy .actions .btn .i { display: none; }
  .soon-what { display: none; }
  .hero-copy .lead { margin-top: 12px; }
  .hero-copy .actions { margin-top: 18px; }
  .hero-media { margin-top: 18px; }
}

/* ------------------------------------------------------------- phone */

/* A real phone, in CSS: a machined aluminium frame (its brushed band, a
   polished chamfer catching the light at the top), a black bezel round the
   glass, the power key and the volume rocker on the right edge, a punch-hole
   camera with a lens glint, and a sheen across the glass. One device for
   every phone on the site. */
.phone {
  --w: 300px;
  position: relative; margin: 0; width: var(--w); max-width: 100%;
  padding: calc(var(--w) * 0.024);
  border-radius: calc(var(--w) * 0.15);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0) 7%, rgba(255, 255, 255, 0) 93%, rgba(255, 255, 255, 0.10)),
    linear-gradient(90deg, #4a4e56, #24272c 4%, #131417 14%, #0e0f12 50%, #131417 86%, #24272c 96%, #4a4e56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    inset 0 1.5px 0 rgba(255, 255, 255, 0.34),
    inset 0 -1px 0 rgba(0, 0, 0, 0.7),
    0 0 0 1px #000,
    0 70px 110px -40px rgba(0, 0, 0, 0.9),
    0 34px 80px -46px rgba(240, 184, 87, 0.36);
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .6s var(--ease);
}
.phone::before, .phone::after {
  content: ""; position: absolute; right: calc(var(--w) * -0.012); width: calc(var(--w) * 0.014);
  border-radius: 0 calc(var(--w) * 0.01) calc(var(--w) * 0.01) 0;
  background: linear-gradient(90deg, #0b0c0e, #43474f 55%, #1b1d21);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}
.phone::before { top: 20%; height: 6.5%; }
.phone::after { top: 30%; height: 13%; }
.phone-glass {
  position: relative; overflow: hidden; isolation: isolate;
  border-radius: calc(var(--w) * 0.128); background: #000; aspect-ratio: 576 / 1280;
  box-shadow: 0 0 0 calc(var(--w) * 0.007) #000, 0 0 0 calc(var(--w) * 0.009) rgba(255, 255, 255, 0.05);
}
/* The glass: a soft sheen from the top left, over everything on the screen. */
.phone-glass::before { content: ""; position: absolute; inset: 0; z-index: 7; pointer-events: none; border-radius: inherit;
  background: linear-gradient(118deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.03) 24%, rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, 0) 78%, rgba(255, 255, 255, 0.05) 100%); }
/* The punch-hole camera. */
.phone-glass::after { content: ""; position: absolute; z-index: 8; top: calc(var(--w) * 0.03); left: 50%; translate: -50% 0;
  width: calc(var(--w) * 0.038); aspect-ratio: 1; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 36% 34%, #5a6f96 0 7%, #1a2232 18%, #05070b 46%, #000 70%);
  box-shadow: 0 0 0 calc(var(--w) * 0.004) #0a0a0c, 0 0 0 calc(var(--w) * 0.007) rgba(255, 255, 255, 0.06); }
.phone-screen { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.clip-play { position: absolute; inset: auto 50% 46% auto; transform: translate(50%, 50%); display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; border: 0; cursor: pointer; background: rgba(14, 16, 19, 0.72); color: var(--chalk); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px var(--hair-2) inset; }
.clip-play svg { width: 24px; height: 24px; margin-left: 3px; }
.clip-play[hidden] { display: none; }

/* ---------------------------------------------------------- scrubber */

.scrub { position: relative; user-select: none; -webkit-user-select: none; }
.scrub-stage { position: relative; overflow: hidden; border-radius: var(--r-card); background: var(--ink-3); touch-action: pan-y; cursor: ew-resize; box-shadow: 0 0 0 1px var(--hair) inset; }
.scrub-portrait .scrub-stage { aspect-ratio: 540 / 960; }
.scrub-landscape .scrub-stage { aspect-ratio: 16 / 9; }
.scrub-square .scrub-stage { aspect-ratio: 1 / 1; }
.scrub-four .scrub-stage { aspect-ratio: 4 / 3; }
.scrub-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; will-change: opacity; }
.scrub img, .wipe img, .lineup img { -webkit-user-drag: none; user-select: none; -webkit-user-select: none; }
.scrub-frame:first-child { opacity: 1; }
html:not(.js) .scrub-frame:last-of-type { opacity: 1; }
.scrub-tag { position: absolute; left: 20px; bottom: 18px; z-index: 5; margin: 0; display: flex; flex-direction: column; gap: 2px; pointer-events: none; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.scrub-tag [data-day] { font: 400 clamp(30px, 3.4vw, 44px)/1 var(--serif); color: #fff; font-variant-numeric: lining-nums tabular-nums; }
.scrub-date { font: 600 11px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.82); }
.scrub-date:empty { display: none; }
.scrub-strip { position: relative; display: flex; gap: 4px; margin-top: 10px; padding: 4px; border-radius: var(--r-control); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; }
.scrub-thumb { flex: 1; min-width: 0; padding: 0; border: 0; background: none; border-radius: var(--r-thumb); overflow: hidden; opacity: 0.5; transition: opacity .25s var(--ease); }
.scrub-thumb img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.scrub-square .scrub-thumb img { aspect-ratio: 1 / 1; }
.scrub-four .scrub-thumb img { aspect-ratio: 4 / 3; }
.scrub-thumb.is-on { opacity: 1; }
.scrub-head { position: absolute; top: -3px; bottom: -3px; left: 0; width: 3px; margin-left: -1.5px; border-radius: 3px; background: var(--amber); box-shadow: 0 0 0 3px rgba(240, 184, 87, 0.25), 0 0 18px rgba(240, 184, 87, 0.6); pointer-events: none; }
.scrub-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; touch-action: pan-y; }
.scrub-range-bare { position: static; height: 44px; opacity: 1; }
.scrub-strip:has(.scrub-range:focus-visible) { outline: 2px solid var(--amber); outline-offset: 3px; }
html:not(.js) .scrub-head, html:not(.js) .scrub-range { display: none; }

/* -------------------------------------------------------------- wipe */

.wipe { --x: 50%; position: relative; overflow: hidden; border-radius: var(--r-card); touch-action: pan-y; cursor: ew-resize; user-select: none; -webkit-user-select: none; }
.wipe-img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.wipe > .wipe-img { position: absolute; inset: 0; }
.wipe-top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.wipe-line { position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px; background: rgba(255, 255, 255, 0.92); box-shadow: 0 0 20px rgba(0, 0, 0, 0.35); pointer-events: none; }
.wipe-knob { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: var(--chalk); color: var(--amber-ink); box-shadow: 0 0 0 1px rgba(14, 16, 19, 0.4); transition: transform .25s var(--ease); }
.wipe-knob .i { width: 14px; height: 14px; }
.wipe.is-dragging .wipe-knob { transform: translate(-50%, -50%) scale(1.12); }
/* Topaz's handle that asks to be held: three pulses, until it is touched. */
@media (prefers-reduced-motion: no-preference) {
  .wipe:not(.is-touched) .wipe-knob { animation: knob-pulse 1.5s 1.2s 3; }
  .wipe.is-dragging .wipe-img { scale: 1.025; }
  .wipe-img { transition: scale .5s cubic-bezier(0, 0.25, 0.5, 1); }
}
@keyframes knob-pulse { 0% { box-shadow: 0 0 0 0 rgba(244, 242, 237, 0.4); } 50% { scale: 1.1; } 100% { box-shadow: 0 0 0 16px rgba(244, 242, 237, 0); } }
.wipe-tag { position: absolute; bottom: 12px; padding: 4px 12px; border-radius: 999px; background: rgba(14, 16, 19, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 400 12px/16px var(--sans); color: #fff; pointer-events: none; }
.wipe-tag-l { left: 12px; }
.wipe-tag-r { right: 12px; }
.wipe-range { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.wipe:has(.wipe-range:focus-visible) { outline: 2px solid var(--amber); outline-offset: 4px; }

/* ----------------------------------------------- the line-up (signature) */

.band-lineup .head { position: relative; z-index: 8; }

/* WalkthroughArt's AlignPanel, in proportion to its 230-wide card: arrive
   offsets, a 1s settle after 350ms on bezier(.3,0,.2,1), the raw photo
   giving way over the settle's second half, the dots and ring over its last
   30%, the corners 18 outside with 22 arms. */
.band-lineup { overflow: clip; }
.lineup { position: relative; }
.lu-stage { position: relative; width: min(600px, 74%); aspect-ratio: 4 / 3; margin: 150px auto 40px; }
.lu-stage::before { content: ""; position: absolute; left: -15%; top: 50%; width: 130%; aspect-ratio: 1; transform: translateY(-50%); pointer-events: none; background: radial-gradient(closest-side, rgba(240, 184, 87, 0.16), transparent 70%); }
.lu-card, .lu-play { position: absolute; inset: 0; margin: 0; border-radius: var(--r-control); overflow: hidden; }
.lu-card { background: var(--ink-3); box-shadow: 0 0 0 1px var(--hair-2) inset; transition: transform 1s cubic-bezier(0.3, 0, 0.2, 1) .35s, opacity 1s cubic-bezier(0.3, 0, 0.2, 1) .35s; }
.lu-card img, .lu-play img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lu-a { transform: translate(-35.2%, -28.4%) rotate(-18deg); z-index: 1; }
.lu-b { transform: translate(32.6%, 30.1%) rotate(16deg); z-index: 2; }
.lu-front { transform: rotate(-4deg); z-index: 3; }
.lu-raw { transition: opacity .55s linear .8s; }
.lineup.is-settled .lu-card { transform: none; }
.lineup.is-settled .lu-a, .lineup.is-settled .lu-b { opacity: 0.35; }
.lineup.is-settled .lu-raw { opacity: 0; }
.lu-ring { position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 2px var(--amber); opacity: 0; transition: opacity .3s linear 1.05s; z-index: 2; }
.lineup.is-settled .lu-ring { opacity: 1; }
.lu-play { z-index: 4; opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
.lu-frame { opacity: 0; z-index: 0; }
.lu-frame.is-under { opacity: 1; z-index: 0; }
.lu-frame.is-on { opacity: 1; z-index: 1; transition: opacity 140ms linear; }
@starting-style { .lu-frame.is-on { opacity: 0; } }
.lineup.is-playing .lu-play { opacity: 1; }
.lu-dots { position: absolute; inset: 0; z-index: 5; pointer-events: none; }
.lu-dot { position: absolute; width: 3.9%; aspect-ratio: 1; margin: -1.95% 0 0 -1.95%; border-radius: 50%; background: var(--amber); opacity: 0; transition: opacity .3s linear 1.05s, transform .4s var(--ease), background-color .4s var(--ease), box-shadow .4s var(--ease); }
.lineup.is-settled .lu-dot { opacity: 1; }
/* While his month plays, the dots stay as rings: the eyes never leave them. */
.lineup.is-playing .lu-dot { background: transparent; transform: scale(1.6); box-shadow: inset 0 0 0 2px var(--amber), 0 0 12px rgba(240, 184, 87, 0.45); transition-delay: 0s; }
.lu-brackets { position: absolute; left: -7.83%; top: -10.43%; width: 115.65%; height: 120.87%; max-width: none; z-index: 6; pointer-events: none; overflow: visible; }
.lu-brackets path { fill: none; stroke: rgba(244, 242, 237, 0.72); stroke-width: 3; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.lu-day { position: absolute; left: 18px; bottom: 14px; z-index: 6; margin: 0; font: 400 clamp(32px, 4vw, 52px)/1 var(--serif); color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5); opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); font-variant-numeric: lining-nums tabular-nums; }
.lineup.is-playing .lu-day { opacity: 1; transform: none; }
.lu-again { position: absolute; right: 12px; bottom: 12px; z-index: 7; display: inline-flex; align-items: center; gap: 6px; margin: 0; min-height: 36px; padding: 8px 12px; border: 0; border-radius: var(--r-control); background: rgba(14, 16, 19, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--chalk); font: 700 15px/20px var(--sans); cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s var(--ease); }
.lu-again .i { width: 16px; height: 16px; }
.lineup.is-done .lu-again, .lineup.is-still .lu-again { opacity: 1; pointer-events: auto; }

/* Replaying starts from the scatter at once, not by un-settling. */
.lineup.is-reset .lu-card, .lineup.is-reset .lu-raw, .lineup.is-reset .lu-ring, .lineup.is-reset .lu-dot, .lineup.is-still * { transition: none !important; }
/* Without the script: the lined-up stack, still. */
html:not(.js) .lu-card { transform: none; }
html:not(.js) .lu-a, html:not(.js) .lu-b { opacity: 0.35; }
html:not(.js) .lu-raw { opacity: 0; }
html:not(.js) .lu-again, html:not(.js) .lu-dots { display: none; }
@media (max-width: 640px) {
  .lu-stage { width: 86%; margin: 44px auto 28px; }
  .lu-a { transform: translate(-14%, -16%) rotate(-12deg); }
  .lu-b { transform: translate(14%, 16%) rotate(11deg); }
}

/* ------------------------------------------------- the amber band */

.amber { color: var(--on-amber); background: var(--amber-ground); }
.band.amber, .band.amber + .band { border-top: 0; }
.amber .eyebrow { color: var(--on-amber-em); }
.amber .h2 em { color: var(--on-amber-em); }
.amber p, .amber .lead { color: var(--on-amber-dim); }
.amber ::selection { background: var(--on-amber); color: #FBE6BE; }
.amber .phone { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset, 0 56px 100px -30px rgba(90, 50, 5, 0.5), 0 14px 34px -10px rgba(90, 50, 5, 0.3); }

/* ------------------------------------------------- how it works story */

.steps { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); }
/* The phone is held in the middle of the visible area (site.js sets --stick
   from the header and the phone's height), and each step is as tall as the
   phone, so every step's text arrives level with it. */
.steps-stage { position: sticky; top: var(--stick, calc(var(--top-h) + 32px)); align-self: start; display: grid; justify-items: center; }
/* A length, never a percentage: the device's corners and keys are worked
   out from --w, and a percentage radius would bend into an ellipse. */
.steps-phone { --pw: min(330px, calc((100svh - var(--top-h) - 48px) * 0.45)); position: relative; width: var(--pw); }
.steps-phone .phone { --w: var(--pw); }
.steps-screen { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.steps-screen + .steps-screen { position: absolute; inset: 0; }
.steps-screen:not(.is-on) { opacity: 0; transform: translateY(10px) scale(0.985); }
.steps-list { list-style: none; margin: 0; padding: 0; }
.step { min-height: var(--step-h, 46vh); display: flex; flex-direction: column; justify-content: center; padding: 24px 0; transition: opacity .5s var(--ease); }
.js .step:not(.is-on) { opacity: 0.38; }
.step-bar { display: flex; gap: 4px; width: 96px; margin-bottom: 22px; }
.step-bar i { flex: 1; height: 4px; border-radius: 999px; background: rgba(30, 20, 8, 0.3); }
.step-bar i.on { background: var(--on-amber); }
.step-title { font: 400 clamp(32px, 3.4vw, 46px)/1.04 var(--serif); letter-spacing: -0.015em; margin: 0 0 14px; color: var(--on-amber); text-wrap: balance; }
.step p { font-size: 18px; max-width: 26em; margin: 0; }
.step-notes { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.step-notes li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--on-amber); }
.step-notes .i { width: 20px; height: 20px; color: var(--on-amber-em); }
.step-notes a { display: inline-flex; align-items: center; min-height: 48px; color: var(--on-amber); text-decoration: underline; text-decoration-color: var(--on-amber-em); text-underline-offset: 4px; }
.step-phone { display: none; }
.step-band { display: none; }
@media (prefers-reduced-motion: no-preference) { .band-run { animation: drift 30s linear infinite; } .band-reverse .band-run { animation-direction: reverse; animation-duration: 36s; } }

/* Each step's world, around the real recording (desktop). */
.steps-stage { isolation: isolate; }
.ctx { position: absolute; inset: -6% -18%; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .6s var(--ease); }
.ctx.is-on { opacity: 1; }
.ctx-day { z-index: 3; }
/* 1: a camera roll drifting past on a tilted plane; his photos are picked. */
.roll-plane { position: absolute; left: -6%; top: 2%; width: 82%; height: 96%; perspective: 1100px; overflow: clip; -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent); mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent); }
.roll-run { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; width: 100%; transform: rotateX(42deg) rotateZ(-14deg) translateZ(-40px); transform-origin: 50% 0; }
.roll-cell { position: relative; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: rgba(30, 20, 8, 0.2); }
.roll-cell img { width: 100%; height: 100%; object-fit: cover; }
.roll-cell.is-pick { box-shadow: 0 0 0 3px var(--on-amber); }
.roll-cell.is-pick i { position: absolute; right: 5px; top: 5px; width: 18px; height: 18px; border-radius: 50%; background: var(--on-amber); }
.roll-cell.is-pick i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid var(--amber); border-width: 0 2px 2px 0; rotate: 45deg; }
@media (prefers-reduced-motion: no-preference) {
  .ctx-roll.is-on .roll-run { animation: roll-up 26s linear infinite; }
}
@keyframes roll-up { from { translate: 0 0; } to { translate: 0 -50%; } }
/* 2: what the app decides, named from its code, settling on springs. */
.ctx-chip { position: absolute; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--ink); color: var(--chalk); font: 700 14px/1.2 var(--sans); white-space: nowrap; box-shadow: 0 18px 36px -16px rgba(60, 30, 0, 0.6); opacity: 0; scale: 0.6; transition: opacity .3s var(--ease), scale .6s var(--spring); }
.ctx-chip .i { width: 16px; height: 16px; color: var(--amber); }
.ctx.is-on .ctx-chip { opacity: 1; scale: 1; }
.ctx-chips .c1 { right: calc(50% + 175px); top: 16%; } .ctx-chips .c2 { left: calc(50% + 175px); top: 30%; transition-delay: .08s; }
.ctx-chips .c3 { right: calc(50% + 175px); top: 62%; transition-delay: .16s; } .ctx-chips .c4 { left: calc(50% + 175px); top: 74%; transition-delay: .24s; }
@media (prefers-reduced-motion: no-preference) { .ctx-chips.is-on .ctx-chip { animation: note-bob 5s var(--ease-in-out) infinite alternate; } .ctx-chips.is-on .c2, .ctx-chips.is-on .c4 { animation-delay: -2.5s; } }
/* 3: the reminder arrives, and so does the next day. */
.note.note-step { position: absolute; left: 50%; top: 24%; translate: -6% 0; width: 300px; z-index: 3; animation: none; opacity: 0; transform: translateY(-16px) scale(0.96); transition: opacity .4s var(--ease), transform .7s var(--spring); }
.ctx-day.is-on .note-step { opacity: 1; transform: none; }
.ctx-next { right: 2%; bottom: 14%; }
@property --next { syntax: '<integer>'; inherits: false; initial-value: 27; }
.next-day { counter-reset: nd var(--next); }
.next-day::after { content: "Day " counter(nd); }
@media (prefers-reduced-motion: no-preference) { .ctx-day.is-on .next-day { animation: next-day 1.2s steps(1) .9s both; } }
@keyframes next-day { from { --next: 26; } to { --next: 27; } }
@media (max-width: 959px) {
  .steps { grid-template-columns: 1fr; }
  .steps-stage { display: none; }
  .steps-list { display: grid; grid-auto-flow: column; grid-auto-columns: 84%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .steps-list::-webkit-scrollbar { display: none; }
  .step, .js .step:not(.is-on) { min-height: 0; padding: 0; opacity: 1; scroll-snap-align: start; }
  /* The next card, peeking in from the right, is a ghost rather than words
     cut off mid-letter, and comes up as it slides in. */
  @supports (animation-timeline: view(inline)) {
    .step > :not(.step-phone) { animation: peek linear both; animation-timeline: view(inline); animation-range: entry 0% entry 100%; }
  }
  .step-phone { display: grid; justify-items: start; order: -1; margin: 0 0 16px; }
  .step-band { display: flex; order: -2; margin: 0 0 14px; }
  .band-roll { overflow: clip; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
  .band-run { display: flex; gap: 6px; width: max-content; }
  .band-run .roll-cell { width: 56px; flex: none; }
  .band-chips { flex-wrap: wrap; gap: 8px; }
  .band-chips .ctx-chip { position: static; opacity: 1; scale: 1; font-size: 13px; padding: 7px 12px; }
  .step-phone .phone { --w: min(240px, 62vw); }
}

/* Segmented.tsx: RADIUS.control 14 on the fill, an inset 3 thumb. */
.tab-note { color: var(--faint); font-size: 14.5px; margin: 0 0 10px; }
.subjects { list-style: none; padding: 0; margin: 0; display: grid; }
.subjects li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 2px; border-bottom: 1px solid var(--hair); }
.subject-name { font-weight: 600; }
.subject-prompt { font: italic 400 20px/1.2 var(--serif); color: var(--amber); text-align: right; }
.tab-foot { margin: 28px 0 0; color: var(--faint); font-size: 14.5px; }


/* ---------------------------------------------------------- privacy */

/* mymind's NO list: five true lines from the privacy policy, in the display
   serif, each lighting as it crosses the middle of the screen (where the
   browser has scroll timelines; elsewhere they are simply all lit). */
.eyebrow-center { text-align: center; }
.nolist { display: grid; justify-items: center; gap: 0.04em; margin: 0 0 clamp(44px, 6vw, 80px); font: 400 clamp(48px, 7vw, 108px)/0.96 var(--serif); letter-spacing: -0.03em; text-align: center; }
.nolist em { font-style: italic; color: var(--amber); }
/* v3's focus pull: each line comes sharp as the camera finds it, and now
   stays sharp (it used to blur again, leaving every screenshot out of focus). */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .nolist span { animation: no-lit linear both; animation-timeline: view(); animation-range: cover 10% cover 45%; }
  }
}
@keyframes no-lit { 0% { opacity: 0.2; filter: blur(8px); } 100% { opacity: 1; filter: blur(0); } }
.nolist[data-reveal].is-pre { opacity: 1; transform: none; }
.nolist span { transition: opacity .6s var(--ease), translate .7s var(--ease); }
.nolist.is-pre span { opacity: 0; translate: 0 12px; }
.nolist span:nth-child(2) { transition-delay: 70ms; } .nolist span:nth-child(3) { transition-delay: 140ms; }
.nolist span:nth-child(4) { transition-delay: 210ms; } .nolist span:nth-child(5) { transition-delay: 280ms; }

/* The vault: the phone keeps the photos; two questions travel out along the
   lines to the two companies; a photo heads for the edge and turns back. */
.vault { --h: 440px; position: relative; display: grid; grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.26fr) minmax(0, 0.3fr); align-items: center; min-height: var(--h); max-width: 1080px; margin: 0 auto; container-type: inline-size; }
.vault-phone { grid-column: 1; justify-self: end; width: min(340px, 100%); padding: 22px 20px 24px; border-radius: 40px; background: linear-gradient(180deg, #121418, #0B0C0F); box-shadow: 0 0 0 1px rgba(240, 184, 87, 0.32) inset, 0 0 0 8px rgba(240, 184, 87, 0.05), 0 40px 80px -30px rgba(0, 0, 0, 0.8); position: relative; z-index: 2; }
.vault-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; font: 600 12px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.vault-title .i { width: 16px; height: 16px; }
.vault-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-radius: 16px; overflow: hidden; }
.vault-grid span { aspect-ratio: 1; overflow: hidden; }
.vault-grid img { width: 100%; height: 100%; object-fit: cover; }
.vault-list { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 6px; font: 500 14.5px/1.35 var(--sans); }
.vault-list li { display: flex; gap: 8px; }
.vault-list li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 0.55em; border-radius: 50%; background: var(--amber); }
.vault-out { grid-column: 3; display: grid; gap: calc(var(--h) * 0.28); }
.vault-dest { position: relative; z-index: 4; margin: 0; padding: 16px 18px; border-radius: var(--r-card); background: var(--ink-3); box-shadow: 0 0 0 1px var(--hair) inset; display: grid; gap: 4px; }
.vault-dest b { font-weight: 700; font-size: 15px; }
.vault-dest span { color: var(--dim); font-size: 14px; line-height: 1.45; }
.vault-lines { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; overflow: visible; }
.vault-lines path { fill: none; stroke: rgba(240, 184, 87, 0.35); stroke-width: 1.4; stroke-dasharray: 3 5; vector-effect: non-scaling-stroke; }
.packet { position: absolute; left: 44%; top: 50%; z-index: 3; animation: pk-x 3.6s linear infinite; }
.packet i { display: block; translate: 0 -50%; padding: 5px 11px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font: 700 12.5px/1.2 var(--sans); font-style: normal; white-space: nowrap; box-shadow: 0 6px 18px -6px rgba(240, 184, 87, 0.7); animation: pk-up 3.6s cubic-bezier(0.55, 0, 0.45, 1) infinite; }
.packet-b { animation-delay: -1.8s; }
.packet-b i { animation-name: pk-down; animation-delay: -1.8s; }
@keyframes pk-x { 0% { translate: 0 0; opacity: 0; } 12% { opacity: 1; } 74% { opacity: 1; } 86%, 100% { translate: 18cqi 0; opacity: 0; } }
@keyframes pk-v { 0% { translate: -50% 0; opacity: 0; } 12% { opacity: 1; } 80% { opacity: 1; } 92%, 100% { translate: calc(-50% + var(--dx)) 64px; opacity: 0; } }
.vault-fork { display: contents; }
.vl-tall { display: none; }
@keyframes pk-up { from { margin-top: 0; } to { margin-top: calc(var(--h) * -0.28); } }
@keyframes pk-down { from { margin-top: 0; } to { margin-top: calc(var(--h) * 0.28); } }
/* On a phone the picture stands up: the phone, a fork, the two companies
   side by side, and the two questions riding down the fork to them. */
@media (max-width: 860px) {
  .vault { --h: auto; grid-template-columns: 1fr; gap: 0; min-height: 0; }
  .vault-phone { justify-self: stretch; width: auto; padding: 16px; border-radius: 26px; }
  .vault-grid { grid-template-columns: repeat(5, 1fr); border-radius: 12px; }
  .vault-grid span:nth-child(n + 6) { display: none; }
  .vault-list { grid-template-columns: 1fr 1fr; gap: 6px 12px; font-size: 13.5px; }
  .vault-fork { display: block; position: relative; height: 72px; }
  .vl-wide { display: none; }
  .vl-tall { display: inline; }
  .vault-out { grid-column: 1; grid-template-columns: 1fr 1fr; gap: 10px; }
  .vault-dest { padding: 12px 14px; }
  .vault-dest span { font-size: 13px; }
  .packet { left: 50%; top: 0; animation-name: pk-v; animation-timing-function: ease-in-out; }
  .packet-a { --dx: -25cqi; }
  .packet-b { --dx: 25cqi; }
  .packet i, .packet-b i { animation: none; translate: none; padding: 4px 9px; font-size: 11.5px; }
}
@media (max-width: 760px) { .flow { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ bento */

.bento { display: grid; gap: 16px; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-areas: "pact post backup" "end end rest"; }
.tile { position: relative; overflow: hidden; border-radius: var(--r-card); background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: 0 0 0 1px var(--hair) inset; padding: 28px; display: flex; flex-direction: column; gap: 22px; }
.tile-title { font: 400 clamp(28px, 2.4vw, 34px)/1.05 var(--serif); letter-spacing: -0.01em; margin: 0 0 8px; text-wrap: balance; }
.tile-title em { font-style: italic; color: var(--amber); }
.tile p { color: var(--dim); margin: 0; font-size: 15.5px; max-width: 30em; }
/* Linear's spotlight: a soft amber light follows the pointer across a card,
   and its edge catches it (desktop; site.js sets --mx and --my). */
.tile::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(460px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 184, 87, 0.16), transparent 62%); z-index: 0;
  box-shadow: 0 0 0 1px rgba(240, 184, 87, 0.0) inset; }
.tile.is-lit::after { opacity: 1; }
.tile::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; opacity: 0; transition: opacity .4s var(--ease);
  background: radial-gradient(300px circle at var(--mx, 50%) var(--my, 50%), rgba(246, 197, 110, 0.95), transparent 70%); z-index: 2;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.tile.is-lit::before { opacity: 1; }
.tile-phone { display: grid; justify-items: center; align-items: start; margin: auto -28px -28px; padding-top: 4px; height: 300px; overflow: hidden; }
.tile-phone .phone { --w: 260px; }
.t-pact { grid-area: pact; }
/* A pact: two people, two projects, one count. The day under each is one
   number counting in CSS (a registered integer), so the two never differ. */
@property --day { syntax: '<integer>'; inherits: false; initial-value: 12; }
.pact-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.pact-one { display: grid; gap: 10px; justify-items: center; }
.pact-one .strip { width: 100%; border-radius: var(--r-control); }
.pact-who { font: 600 11px/1.2 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); text-align: center; }
.pact-day { counter-reset: day var(--day); padding: 4px 12px; border-radius: 999px; background: var(--fill-solid); font: 700 13px/1.4 var(--sans); font-variant-numeric: tabular-nums; }
.pact-day::after { content: "Day " counter(day) " of 30"; }
@media (prefers-reduced-motion: no-preference) {
  .pact-day { animation: pact-count 21s linear infinite; }
  .t-pact.is-off .pact-day { animation-play-state: paused; }
}
@keyframes pact-count { from { --day: 1; } to { --day: 30; } }
.t-post { grid-area: post; }
.t-backup { grid-area: backup; }
.t-end { grid-area: end; flex-direction: row; align-items: flex-end; gap: 28px; }
.t-end .endcard { flex: 1.3; align-self: stretch; aspect-ratio: auto; min-height: 180px; }
.t-end .tile-copy { flex: 1; }
.t-rest { grid-area: rest; justify-content: space-between; }
.endcard { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-control); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: radial-gradient(70% 90% at 50% 100%, rgba(240, 184, 87, 0.14), transparent 70%), #0A0B0D; box-shadow: 0 0 0 1px var(--hair-2) inset; }
.endcard-day { font: 400 clamp(40px, 4vw, 58px)/1 var(--serif); letter-spacing: -0.02em; }
.endcard-line { font: 500 14px/1.3 var(--sans); color: var(--dim); }
/* The Progress calendar (CaptureCalendar): a kept day is its photo, a missed day a hairline cell. */
.month { display: grid; grid-template-columns: repeat(7, minmax(0, 45px)); gap: 4px; }
.month span { aspect-ratio: 1; border-radius: 7px; overflow: hidden; }
.month .kept { background: var(--fill-solid); }
.month .kept img { width: 100%; height: 100%; object-fit: cover; }
.month .missed { box-shadow: inset 0 0 0 1px var(--hair-2); }
@media (max-width: 1000px) {
  .bento { grid-template-columns: 1fr 1fr; grid-template-areas: "pact post" "backup rest" "end end"; }
}
/* Phones: the five tiles are a row of cards to swipe, like How it works,
   not four screens of stacking (owner, 13 Oct 2026). */
@media (max-width: 680px) {
  .bento { grid-template-columns: none; grid-template-areas: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter); }
  .bento::-webkit-scrollbar { display: none; }
  .bento .tile { grid-area: auto; scroll-snap-align: start; padding: 22px; height: 440px; gap: 14px; }
  .bento .tile > :not(.tile-copy) { margin-top: auto; }
  .bento .tile-phone { flex: 1 1 auto; min-height: 0; }
  .bento .t-post { order: 1; } .bento .t-end { order: 2; } .bento .t-rest { order: 3; } .bento .t-backup { order: 4; }
  .bento [data-reveal].is-pre { opacity: 1; transform: none; }
  .bento .tile-phone { height: auto; margin: 0 -22px -22px; }
  .t-end { flex-direction: column; align-items: stretch; }
  .t-end .endcard { aspect-ratio: 16 / 9; min-height: 0; }
  @supports (animation-timeline: view(inline)) {
    .bento .tile > .tile-copy { animation: peek linear both; animation-timeline: view(inline); animation-range: entry 0% entry 100%; }
  }
}

/* ----------------------------------------------------- free and plus */

.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.plan { padding: clamp(28px, 3.4vw, 44px); border-radius: var(--r-card); background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: 0 0 0 1px var(--hair) inset; display: flex; flex-direction: column; }
.plan-name { font: 400 clamp(32px, 3vw, 42px)/1.05 var(--serif); margin: 0; letter-spacing: -0.01em; }
.plan-kicker { margin: 8px 0 24px; font: 600 12.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.plan-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 13px; }
.plan-list li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 12px; font-size: 16.5px; }
.plan-list .i { width: 20px; height: 20px; color: var(--mint); margin-top: 2px; }
.plan-also { margin: auto 0 0; padding-top: 24px; color: var(--faint); font-size: 14.5px; }
.plan-also strong { color: var(--dim); font-weight: 600; }
.plan-plus { color: var(--on-amber); background: var(--amber-ground); }
.plan-plus .plan-kicker { color: var(--on-amber-em); }
.plan-plus .plan-list { margin-bottom: 24px; }
.plan-plus .plan-list li { font-weight: 500; }
.plan-plus .plan-list .i { color: var(--on-amber-em); }
.plan-how { margin: auto 0 0; padding-top: 22px; border-top: 1px solid rgba(30, 20, 8, 0.16); color: var(--on-amber-dim); font-size: 14.5px; }
.plan-how strong { color: var(--on-amber); }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.ladder { margin-top: 16px; padding: clamp(26px, 3.4vw, 40px); border-radius: var(--r-card); background: #131416; box-shadow: 0 0 0 1px var(--hair) inset; display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 2fr); gap: 24px 48px; align-items: center; }
.ladder-copy p { color: var(--dim); margin: 0; font-size: 15.5px; }
.ladder-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.ladder-steps::before { content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 1px; background: linear-gradient(90deg, var(--amber-deep), rgba(240, 184, 87, 0.15)); }
.rung { position: relative; display: grid; gap: 4px; padding-right: 8px; }
.rung-at { font: 400 44px/1 var(--serif); color: var(--amber); background: #131416; justify-self: start; padding-right: 10px; position: relative; font-variant-numeric: lining-nums; }
.rung-name { font-weight: 600; font-size: 15px; margin-top: 10px; }
.rung-kind { font-size: 13px; color: var(--faint); }
@media (max-width: 960px) { .ladder { grid-template-columns: 1fr; } .ladder-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 24px; } .ladder-steps::before { display: none; } }

/* -------------------------------------------------------------- faq */

.faq-wrap { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.faq-wrap .head { position: sticky; top: calc(var(--top-h) + 32px); margin-bottom: 0; }
.faq { border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 20px 2px; font: 600 18px/1.35 var(--sans); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: var(--amber-light); }
.faq-sign { position: relative; flex: none; width: 28px; height: 28px; }
.faq-sign::before, .faq-sign::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; margin: -0.75px 0 0 -6px; background: currentColor; transition: transform .3s var(--ease); }
.faq-sign::after { transform: rotate(90deg); }
.faq-item[open] .faq-sign::after { transform: rotate(0deg); }
.faq-a { padding: 0 48px 24px 2px; color: var(--dim); }
.faq-a p { margin: 0 0 12px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a strong { color: var(--chalk); font-weight: 600; }
.faq-a code { font: 0.9em ui-monospace, Menlo, monospace; color: var(--chalk); }
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq-item::details-content { height: 0; overflow: clip; transition: height .35s var(--ease), content-visibility .35s allow-discrete; }
  .faq-item[open]::details-content { height: auto; }
}
.faq-more { display: none; }
@media (max-width: 960px) { .faq-wrap { grid-template-columns: 1fr; } .faq-wrap .head { position: static; } .faq-wrap .head .more { display: none; } .faq-more { display: block; margin: 20px 0 0; } }

/* ----------------------------------------------------------- finale */

.finale { position: relative; overflow: clip; text-align: center; color: var(--on-amber); padding: 0 0 clamp(88px, 11vw, 150px); background: var(--amber-ground); }
/* Two rows of the same days, sliding against each other as the finale
   scrolls by (Kino's rows, motion-study F7): the page opens on a wall of
   days and closes on them. Without scroll timelines, the first row drifts. */
.finale-rows { display: grid; gap: 12px; padding: 24px 0 0; margin-bottom: clamp(52px, 7vw, 96px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.finale-row { display: flex; gap: 12px; width: max-content; }
.finale-row-b { margin-left: calc(-4 * (clamp(110px, 12vw, 170px) * 1.5 + 12px)); }
.finale-row figure { position: relative; margin: 0; flex: none; }
.finale-row img { height: clamp(110px, 12vw, 170px); width: auto; border-radius: var(--r-control); box-shadow: 0 20px 40px -20px rgba(90, 50, 5, 0.45); }
.finale-row .tile-stamp { left: 7%; top: 9%; }
.finale-row figure:has(.tile-stamp)::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-control); background: linear-gradient(160deg, rgba(0, 0, 0, 0.55), transparent 42%); pointer-events: none; }
.finale-row .tile-stamp span { font-size: clamp(12px, 1.3vw, 18px); }
.finale-row .tile-stamp b { font-size: clamp(14px, 1.45vw, 20px); }
@media (prefers-reduced-motion: no-preference) {
  .finale-row:first-child { animation: film 80s linear infinite; }
  @supports (animation-timeline: view()) {
    .finale-row { animation: row-a linear both !important; animation-timeline: view() !important; }
    .finale-row-b { animation-name: row-b !important; }
  }
}
@keyframes film { to { transform: translateX(-50%); } }
@keyframes row-a { from { translate: 6% 0; } to { translate: -8% 0; } }
@keyframes row-b { from { translate: -6% 0; } to { translate: 8% 0; } }
.finale .h2 { max-width: 13em; margin-inline: auto; }
.finale .h2 em { color: var(--on-amber-em); }
.finale .actions { justify-content: center; }
.finale-why { margin: 18px auto 0; max-width: 30em; color: var(--on-amber); font-size: 16px; line-height: 1.5; }
.finale-facts { margin: 12px 0 0; color: var(--on-amber-dim); font-size: 14.5px; }
.finale + .foot { border-top: 0; }

/* -------------------------------------------------------------- beta */

.join-steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.join-step, .join-ask { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 24px; padding: clamp(24px, 3vw, 36px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; }
.join-step .step-bar { margin: 10px 0 0; }
.join-step .step-bar i { background: var(--control); }
.join-step .step-bar i.on { background: var(--amber); }
.join-step .step-title, .join-ask .step-title { color: var(--chalk); font-size: clamp(28px, 2.8vw, 36px); margin-bottom: 10px; }
.join-step p, .join-ask p { color: var(--dim); margin: 0; }
.join-step .actions, .join-ask .actions { margin-top: 22px; }
.join-done { margin: 28px 0 0; color: var(--dim); font: 500 17px/1.5 var(--sans); }
.join-ask { grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr); gap: 40px; align-items: center; background: linear-gradient(180deg, rgba(240, 184, 87, 0.10), rgba(240, 184, 87, 0.02)); box-shadow: 0 0 0 1px rgba(240, 184, 87, 0.3) inset; }
.join-later { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.join-later li { position: relative; padding-left: 28px; min-height: 28px; color: var(--dim); font-size: 15.5px; }
.join-later span { position: absolute; left: 0; top: 1px; font: 700 15px/1.4 var(--sans); color: var(--amber); }
.join-later strong { color: var(--chalk); }
@media (max-width: 760px) { .join-ask { grid-template-columns: 1fr; } .join-step { grid-template-columns: 1fr; } }
.hero-beta .hero-in { grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr); }
/* Beside the phone, the words read from one left edge and sit in the middle
   of its height, not spread down it (validator, 13 Oct 2026). */
@media (min-width: 961px) {
  .hero-beta .hero-in { align-items: center; }
  .hero-beta .hero-copy { align-content: center; justify-items: start; text-align: left; }
  .hero-beta .hero-copy .actions, .hero-beta .facts { justify-content: flex-start; }
}
.display-beta { font-size: clamp(46px, 6vw, 88px); }
@media (max-width: 960px) { .hero-beta .hero-in { grid-template-columns: 1fr; } .hero-beta .hero-media { display: none; } }
.deal { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 760px) { .deal { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 4px 0 0; display: grid; gap: 16px; }
.ticks li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 14px; color: var(--dim); }
.ticks .i { color: var(--amber); margin-top: 2px; }
.ticks strong { color: var(--chalk); font-weight: 600; }

/* ----------------------------------------------------------- support */

.page-head { padding-block: calc(var(--top-h) + clamp(56px, 9vw, 120px)) clamp(36px, 5vw, 64px); }
.page-head .lead { margin-top: 24px; }
.tiles { list-style: none; padding: 0; margin: 0 0 clamp(40px, 6vw, 72px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tile-link { display: grid; gap: 4px; height: 100%; padding: 22px; border-radius: var(--r-card); text-decoration: none; background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; transition: background-color .2s var(--ease), transform .25s var(--ease); }
.tile-link:hover { background: var(--surface-2); transform: translateY(-2px); }
.tile-link .i { color: var(--amber); margin-bottom: 14px; }
.tile-link-title { font-weight: 600; }
.tile-link-sub { color: var(--faint); font-size: 14.5px; }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .tiles { grid-template-columns: 1fr; } }
.guide { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.guide > header { position: sticky; top: calc(var(--top-h) + 32px); }
.guide .prose h3 { font: 600 13px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 40px; }
.numbered { list-style: none; counter-reset: n; padding: 0; display: grid; gap: 18px; }
.numbered li { counter-increment: n; position: relative; padding-left: 28px; margin: 0; }
.numbered li::before { content: counter(n); position: absolute; left: 0; top: 2px; font: 700 15px/1.5 var(--sans); color: var(--amber); }
@media (max-width: 960px) { .guide { grid-template-columns: 1fr; } .guide > header { position: static; } }
[data-page="support"] .page-head { padding-bottom: 40px; }
[data-page="support"] .band:first-of-type { border-top: 1px solid var(--hair); }
.h3s { font: 400 clamp(28px, 2.6vw, 36px)/1.08 var(--serif); letter-spacing: -0.01em; margin: 0 0 12px; text-wrap: balance; }

/* ------------------------------------------------------------- legal */

.legal { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 32px 72px; padding-top: calc(var(--top-h) + clamp(56px, 8vw, 110px)); padding-bottom: 120px; }
.legal-head { grid-column: 1 / -1; padding-bottom: 32px; border-bottom: 1px solid var(--hair); }
.legal-toc { position: sticky; top: calc(var(--top-h) + 32px); align-self: start; max-height: calc(100vh - var(--top-h) - 64px); overflow: auto; }
.legal-toc-title { margin: 0 0 14px; font: 600 12px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.legal-toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.legal-toc a { color: var(--dim); text-decoration: none; font-size: 14.5px; line-height: 1.35; display: block; }
.legal-toc a:hover { color: var(--chalk); }
@media (max-width: 960px) { .legal { grid-template-columns: 1fr; } .legal-toc { position: static; max-height: none; padding: 20px 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; } }
.prose { max-width: 42em; }
.prose > :first-child { margin-top: 0; }
.prose h2 { font: 400 clamp(28px, 3.2vw, 38px)/1.1 var(--serif); letter-spacing: -0.01em; margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--hair); }
.prose h3 { font: 600 18px/1.35 var(--sans); margin: 36px 0 10px; }
.prose p, .prose li { color: var(--dim); }
.prose strong { color: var(--chalk); font-weight: 600; }
.prose em { color: var(--chalk); }
.prose a { color: var(--amber); text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose a:hover { text-decoration-thickness: 2px; }
.prose ul { padding-left: 1.1em; }
.prose li { margin: 10px 0; }
.prose li::marker { color: var(--amber-deep); }
.prose code { font: 0.9em/1 ui-monospace, Menlo, monospace; color: var(--chalk); background: var(--surface-2); padding: 2px 6px; border-radius: 6px; }
.prose > p:first-child strong { color: var(--amber); font-weight: 600; }

/* ----------------------------------------------------------- credits */

.credits-page { padding-bottom: 120px; }
.credit-list { list-style: none; padding: 0; margin: 0 0 40px; border-top: 1px solid var(--hair); }
.credit-list li { padding: 22px 2px; border-bottom: 1px solid var(--hair); color: var(--dim); }
.credit-list a { color: var(--chalk); text-underline-offset: 3px; }
.credit-what { display: block; font: 400 28px/1.2 var(--serif); color: var(--chalk); margin-bottom: 6px; }
.credit-list cite { font-style: italic; }

.credits-names { font-size: 17px; line-height: 1.7; color: var(--dim); max-width: 44em; }
.credits-names a { color: var(--chalk); text-underline-offset: 3px; }
/* The camera roll's credits: short lines, two columns. */
.credit-group { font: 400 28px/1.1 var(--serif); margin: 48px 0 12px; }
.credit-roll { list-style: none; padding: 0; margin: 0; columns: 2 260px; column-gap: 32px; font-size: 14px; color: var(--dim); }
.credit-roll li { break-inside: avoid; padding: 5px 0; border-bottom: 1px solid var(--hair); }
.credit-roll .credit-what { display: block; color: var(--chalk); font-weight: 600; text-transform: capitalize; }
.credit-roll a { color: var(--dim); }

/* --------------------------------------------------------------- 404 */

.lost { min-height: 92vh; display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; padding-top: calc(var(--top-h) + 48px); padding-bottom: 96px; }
.lost-frames { margin: 0; }
.lost-frames img { width: 100%; border-radius: var(--r-card); }
@media (max-width: 760px) { .lost { grid-template-columns: 1fr; } .lost-frames { max-width: 260px; } }

/* ------------------------------------------------- a year, one a day */

/* Opal's number that changes while the section holds still, over a year
   that fills: the number steps 1, 30, 365 and then how long the year takes
   to watch; the cells light as it goes, and a playhead runs through them. */
.year { position: relative; height: 220vh; }
.year-pin { position: sticky; top: 0; height: 100svh; padding-top: var(--top-h); box-sizing: border-box; display: grid; align-items: center; overflow: clip; }
.year-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(200px, 290px) auto; gap: clamp(24px, 3.4vw, 56px); align-items: center; }
/* One oak turning through the seasons as the year fills: each frame is a
   real visit, stamped with its month and year. */
.year-oak { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--r-card); overflow: clip; background: var(--ink-3); box-shadow: 0 0 0 1px var(--hair) inset, 0 40px 80px -30px rgba(0, 0, 0, 0.8); }
.oak-frame { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .18s linear; }
.oak-frame.is-on { opacity: 1; }
.oak-when { position: absolute; left: 14px; bottom: 12px; padding: 5px 12px; border-radius: 999px; background: rgba(14, 16, 19, 0.66); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font: 700 13px/1.3 var(--sans); color: var(--chalk); font-variant-numeric: tabular-nums; }
html:not(.js) .oak-frame:last-of-type, .year.is-static .oak-frame:last-of-type { opacity: 1; }
.year-stats { list-style: none; margin: 0; padding: 0; display: grid; }
/* While it runs, one live number counts the lit days; the four stats stay
   in the page for screen readers and come back whole without motion. */
.year-live { display: none; margin: 0; }
.js .year:not(.is-static) .year-live { display: grid; gap: 10px; }
.js .year:not(.is-static) .year-stats { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.year-live b { font: 400 clamp(110px, 13vw, 200px)/0.82 var(--serif); letter-spacing: -0.04em; font-variant-numeric: lining-nums tabular-nums; }
.year-live span { font: 500 clamp(18px, 1.7vw, 23px)/1.3 var(--sans); color: var(--dim); max-width: 19em; }
.year[data-stage="3"] .year-live b { color: var(--amber); font-style: italic; }
.year-stat { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; opacity: 0; transform: translateY(48px); transition: opacity .45s var(--ease), transform .8s var(--ease); }
.year-stat.is-on { opacity: 1; transform: none; }
.year-stat.is-past { opacity: 0; transform: translateY(-48px); }
.year-stat b { font: 400 clamp(110px, 13vw, 200px)/0.82 var(--serif); letter-spacing: -0.04em; color: var(--chalk); font-variant-numeric: lining-nums; }
.year-stat:last-child b { color: var(--amber); font-style: italic; }
/* The milestone the app sends at thirty, arriving with the 30. */
.note.note-year { position: relative; margin-top: 28px; width: min(300px, 100%); animation: none; opacity: 0; transform: translateY(14px) scale(0.96); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.year.is-thirty .note.note-year { opacity: 1; transform: none; }
html:not(.js) .note.note-year, .year.is-static .note.note-year { display: none; }
.year-stat span { font: 500 clamp(18px, 1.7vw, 23px)/1.3 var(--sans); color: var(--dim); max-width: 19em; }
.year-grid { --c: clamp(7px, 0.8vw, 12px); display: grid; grid-template-columns: repeat(4, auto); gap: 22px 26px; justify-content: end; }
.ym-name { display: block; font: 600 11px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-bottom: 8px; }
.ym-days { display: grid; grid-template-columns: repeat(7, var(--c)); gap: calc(var(--c) * 0.34); }
.ym-days i { width: var(--c); aspect-ratio: 1; border-radius: calc(var(--c) * 0.26); background: var(--fill-solid); transition: background-color .3s var(--ease); }
.ym-days i.on { background: var(--amber); }
.year.is-playing .ym-days i.on { animation: playhead 2.4s linear infinite; animation-delay: calc(var(--d, 0) * 6.5ms); }
@keyframes playhead { 0%, 5% { background: #FFF6E2; box-shadow: 0 0 12px rgba(255, 236, 196, 0.7); } 14%, 100% { background: var(--amber); box-shadow: none; } }
html:not(.js) .year, .year.is-static { height: auto; }
html:not(.js) .year-pin, .year.is-static .year-pin { position: static; height: auto; padding-block: clamp(80px, 10vw, 140px); }
html:not(.js) .year-stats, .year.is-static .year-stats { grid-template-columns: 1fr; gap: 14px; justify-content: start; }
html:not(.js) .year-stat, .year.is-static .year-stat { grid-area: auto; opacity: 1; transform: none; }
html:not(.js) .year-stat, .year.is-static .year-stat { grid-template-columns: auto 1fr; align-items: baseline; gap: 12px; }
html:not(.js) .year-stat b, .year.is-static .year-stat b { font-size: clamp(44px, 4.4vw, 64px); }
html:not(.js) .year-stat span, .year.is-static .year-stat span { font-size: 16px; }
html:not(.js) .ym-days i, .year.is-static .ym-days i { background: var(--amber); }
@media (max-width: 860px) {
  /* The fill plays over 0.5 of a screen of scrolling on a phone, not 1.3. */
  .year { height: 150svh; }
  .year-in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 20px 18px; align-content: center; }
  .year-oak { grid-row: 1; grid-column: 2; }
  .year-copy { grid-row: 1; grid-column: 1; }
  .year-grid { grid-column: 1 / -1; }
  .year-grid { --c: clamp(6px, 1.9vw, 9px); justify-content: start; gap: 14px 16px; }
  .year-stat b, .year-live b { font-size: clamp(104px, 30vw, 160px); }
}

/* -------------------------------------------- what you can track */

/* Cosmos's list: every subject in the display serif, dim until it crosses
   the middle of the screen; the panel beside it is held still and shows
   that subject. */
.subjects { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.subj-list { list-style: none; margin: 0; padding: 2vh 0 8vh; }
.subj-item { font: 400 clamp(40px, 5vw, 76px)/1.0 var(--serif); letter-spacing: -0.03em; color: rgba(244, 242, 237, 0.3); transition: color .35s var(--ease), transform .5s var(--ease); transform-origin: left center; }
.subj-item.is-on { color: var(--chalk); transform: translateX(10px); }
html:not(.js) .subj-item { color: var(--chalk); }
.subj-stage { position: sticky; top: var(--stick, calc(50vh - min(34vw, 520px) * 0.375 - 24px)); width: min(100%, 560px); justify-self: end; aspect-ratio: 4 / 3; }
.subj-panel { position: absolute; inset: 0 0 auto 0; margin: 0; display: grid; gap: 14px; opacity: 0; transform: scale(0.97); transition: opacity .45s var(--ease), transform .6s var(--ease); pointer-events: none; }
.subj-panel.is-on { opacity: 1; transform: none; pointer-events: auto; }
html:not(.js) .subj-panel { position: static; opacity: 1; transform: none; }
html:not(.js) .subj-stage { position: static; aspect-ratio: auto; max-height: none; display: grid; gap: 24px; }
.subj-panel figcaption { display: flex; gap: 10px; align-items: baseline; justify-content: space-between; }
.subj-panel figcaption b { font: 400 26px/1.1 var(--serif); }
.subj-panel figcaption span { color: var(--dim); font-size: 15px; }
.subj-panel > :first-child { aspect-ratio: 4 / 3; }
.subj-wipe { aspect-ratio: 4 / 3; }
.subj-mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; align-content: center; }
.subj-mosaic .strip { border-radius: var(--r-control); }
/* Two builds: the site big, the house picture-in-picture. */
.subj-pair { position: relative; }
.subj-pair > .strip:first-child { position: absolute; inset: 0; }
.subj-pair > .strip + .strip { position: absolute; right: 12px; bottom: 12px; width: 38%; border-radius: var(--r-control); box-shadow: 0 0 0 2px var(--chalk), 0 16px 34px -12px rgba(0, 0, 0, 0.9); }
.subj-pair > .strip + .strip .strip-days { font-size: 18px; left: 10px; bottom: 6px; }
.subj-sheet { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(3, 1fr); gap: 6px; }
.subj-sheet figure { position: relative; margin: 0; overflow: hidden; border-radius: 10px; }
.subj-sheet img { width: 100%; height: 100%; object-fit: cover; }
.subj-sheet figcaption { position: absolute; left: 8px; top: 6px; font: 700 12px/1 var(--sans); color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.7); }
/* No series for this subject: the app's own prompt, in the camera's corners. */
.subj-prompt { position: relative; display: grid; place-content: center; gap: 14px; padding: 12%; text-align: center; border-radius: var(--r-card); background: radial-gradient(70% 60% at 50% 45%, rgba(240, 184, 87, 0.12), transparent 70%), #0B0C0F; box-shadow: 0 0 0 1px var(--hair) inset; }
.subj-prompt p { margin: 0; font: 400 clamp(30px, 3.2vw, 48px)/1.05 var(--serif); font-style: italic; color: var(--chalk); text-wrap: balance; }
.subj-lines { font: 600 15px/1.3 var(--sans); color: var(--amber); }
.subj-note { position: absolute; left: 12px; top: 12px; z-index: 3; padding: 4px 10px; border-radius: 999px; background: rgba(14, 16, 19, 0.7); font: 600 11px/1.3 var(--sans); color: var(--dim); }
.subj-hint { font: 600 11px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.subj-corners { position: absolute; inset: 9%; pointer-events: none; background:
  linear-gradient(var(--chalk), var(--chalk)) top left / 26px 2px no-repeat, linear-gradient(var(--chalk), var(--chalk)) top left / 2px 26px no-repeat,
  linear-gradient(var(--chalk), var(--chalk)) top right / 26px 2px no-repeat, linear-gradient(var(--chalk), var(--chalk)) top right / 2px 26px no-repeat,
  linear-gradient(var(--chalk), var(--chalk)) bottom left / 26px 2px no-repeat, linear-gradient(var(--chalk), var(--chalk)) bottom left / 2px 26px no-repeat,
  linear-gradient(var(--chalk), var(--chalk)) bottom right / 26px 2px no-repeat, linear-gradient(var(--chalk), var(--chalk)) bottom right / 2px 26px no-repeat; opacity: 0.7; }
@media (max-width: 860px) {
  .subjects { grid-template-columns: 1fr; gap: 0; }
  .subj-stage { order: -1; top: calc(var(--top-h) + 8px); z-index: 2; width: 100%; justify-self: stretch; background: var(--ink); box-shadow: 0 12px 0 var(--ink); }
  .subj-list { padding: 6vh 0 32vh; }
  .subj-item { font-size: clamp(40px, 11vw, 60px); }
  .subj-panel figcaption { display: none; }
}

/* ------------------------------------------- small motions, borrowed */

/* 1SE's Smart-Fill timing (motion-study F2): each kept day's photo grows
   from 35% over 180 ms, staggered by its day number, so the empty days read
   as time passing; missed days stay hairline. */
.month .kept img { transition: transform .18s var(--ease), opacity .12s linear; transition-delay: calc(var(--day, 0) * 34ms); }
.month.is-wait .kept img { transform: scale(0.35); opacity: 0; }

/* The earned ladder lights rung by rung, its line drawn first. */
.ladder-steps::before { transform-origin: left; transition: transform 1.2s var(--ease); }
.rung { transition: opacity .5s var(--ease), transform .6s var(--ease); transition-delay: calc(0.25s + var(--i, 0) * 120ms); }
.ladder.is-wait .ladder-steps::before { transform: scaleX(0); }
.ladder.is-wait .rung { opacity: 0.18; transform: translateY(10px); }


/* ---------------------------------------------------- living strips */

/* parts.mjs strip(): the image is every frame side by side; steps(n) slides
   it one frame at a time and the day labels slide with it. */
.strip { --n: 1; --dwell: .7s; position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--r-card); background: #050506; isolation: isolate; }
.strip > img { position: absolute; inset: 0 auto 0 0; height: 100%; width: auto; max-width: none; }
.strip-days { position: absolute; left: 14px; bottom: 12px; z-index: 2; height: 1.1em; margin: 0; padding: 0; list-style: none; overflow: hidden; font: 400 28px/1.1 var(--serif); color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }
.strip-days li { height: 1.1em; }
.js .strip.is-playing > img { animation: strip-play calc(var(--n) * var(--dwell)) steps(var(--n)) infinite; }
.js .strip.is-playing .strip-days { animation: none; }
.js .strip.is-playing .strip-days li:first-child { animation: strip-days calc(var(--n) * var(--dwell)) steps(var(--n)) infinite; }
@keyframes strip-play { to { transform: translateX(-100%); } }
@keyframes strip-days { to { margin-top: calc(var(--n) * -1.1em); } }

/* ------------------------------------------------- warmth and finish */

/* The finale's trail: each frame flies from where the pointer was to where
   it is, then shrinks away (Codrops: 0.4 s power1, then power3 out). */
.finale > .trail { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: clip; }
.trail-frame { position: absolute; left: 0; top: 0; width: clamp(90px, 9vw, 130px); height: auto; aspect-ratio: 9 / 16; object-fit: cover; border-radius: 12px; box-shadow: 0 18px 40px -14px rgba(90, 50, 5, 0.55); translate: -50% -50%; animation: trail-fly .4s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards, trail-out .9s cubic-bezier(0.215, 0.61, 0.355, 1) .45s forwards; }
@keyframes trail-fly { from { transform: translate(var(--x0), var(--y0)); } to { transform: translate(var(--x1), var(--y1)); } }
@keyframes trail-out { from { transform: translate(var(--x1), var(--y1)); opacity: 1; scale: 1; } to { transform: translate(var(--x1), var(--y1)); opacity: 0; scale: 0.2; } }

/* Today, from this phone's own clock, its digits rolling in. */
.foot-today { color: var(--dim); }
.foot-base .foot-today { margin-left: auto; } /* the right of the row, where it always sat (owner, 6 Nov) */
.odo-num { display: inline-flex; vertical-align: bottom; }
.odo { display: inline-block; height: 1.25em; overflow: hidden; }
.odo-run { display: flex; flex-direction: column; line-height: 1.25em; font-variant-numeric: tabular-nums; color: var(--amber); font-weight: 700; transform: translateY(0); transition: transform 1.4s var(--spring-soft); }
.foot-today.is-in .odo-run { transform: translateY(calc(var(--d) * -1.25em)); }
.foot-today.is-in .odo:nth-child(2) .odo-run { transition-delay: .12s; }
.foot-today.is-in .odo:nth-child(3) .odo-run { transition-delay: .24s; }

/* A living photo as a word (Cosmos and Mobbin set pictures inside their
   headlines): a pill in the line that is a seedling growing. */
.pill-strip { display: inline-block; vertical-align: -0.08em; width: 1.12em; height: 0.84em; aspect-ratio: auto; border-radius: 0.3em; margin: 0 0.04em; box-shadow: 0 0 0 0.04em rgba(30, 20, 8, 0.25); }
.finale-title { max-width: 14em; }

/* Film grain and a warm light leak on the finale (cookbook 17): the amber
   panel looks printed, not flat. The grain is an SVG noise tile; only its
   position moves. */
.finale { isolation: isolate; }
.finale::before { content: ""; position: absolute; inset: -25%; z-index: -1; pointer-events: none; mix-blend-mode: screen; opacity: 0.55;
  background: radial-gradient(32% 42% at 16% 30%, rgba(255, 236, 196, 0.85), transparent 70%), radial-gradient(26% 36% at 84% 72%, rgba(255, 170, 90, 0.5), transparent 70%); }
.finale::after { content: ""; position: absolute; inset: -60px; z-index: 0; pointer-events: none; opacity: 0.12; mix-blend-mode: multiply;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.3 0 0 0 0 0.2 0 0 0 0 0.05 0 0 0 1.2 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.finale > * { position: relative; z-index: 1; }
@media (prefers-reduced-motion: no-preference) {
  .finale::before { animation: leak 11s ease-in-out infinite alternate; }
  .finale::after { animation: grain .9s steps(1) infinite; }
  .finale.is-off::before, .finale.is-off::after { animation-play-state: paused; }
}
@keyframes leak { to { translate: 9% -7%; opacity: 0.35; } }
@keyframes grain { 0% { translate: 0 0; } 25% { translate: -30px 20px; } 50% { translate: 20px -30px; } 75% { translate: -10px -10px; } }

/* The comet round Google's badge, in the hero and here (owner, 5 Nov 2026:
   it ran round the finale's button before the badge came, "put it on
   both", then "it should be stuck to it"). A 2 px light running right along
   the badge's own edge (its corners are 6 px), with a soft bloom: the badge
   itself is never drawn on. The compositor version (cookbook 4): an
   oversized conic disc turning inside a ring-shaped mask; the bloom is a
   filter on the ring's holder, so the mask does not cut it. Its own
   `data-live` rests it off screen. */
.play-badge-orbit { position: relative; }
.play-orbit { position: absolute; inset: -2px; border-radius: 8px; pointer-events: none; filter: drop-shadow(0 0 5px rgba(240, 184, 87, 0.75)); }
.play-orbit i { position: absolute; inset: 0; border-radius: inherit; padding: 2px; overflow: clip;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.play-orbit i::before { content: ""; position: absolute; left: 50%; top: 50%; width: 300%; aspect-ratio: 1; translate: -50% -50%;
  background: conic-gradient(from 0deg, transparent 0 60%, rgba(240, 184, 87, 0.5) 76%, #fff3d6 88%, transparent 96%); }
/* On the finale's amber the comet is white, or it would vanish into it. */
.finale .play-orbit { filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.85)); }
.finale .play-orbit i::before { background: conic-gradient(from 0deg, transparent 0 60%, rgba(255, 255, 255, 0.55) 76%, #fff 88%, transparent 96%); }
@media (prefers-reduced-motion: no-preference) {
  .play-orbit i::before { animation: orbit 3.6s linear infinite; }
  .play-orbit.is-off i::before { animation-play-state: paused; }
}
/* Still, a comet is only a smudge: without motion it goes. */
@media (prefers-reduced-motion: reduce) { .play-orbit { display: none; } }
@keyframes orbit { to { rotate: 1turn; } }

/* Off screen, every loop inside rests (site.js `live`). */
[data-live].is-off, [data-live].is-off * { animation-play-state: paused !important; }

/* --------------------------------------------- reduced motion, print */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .phone { transform: none !important; }
  .tile-day { animation: none !important; opacity: 0.5; }
  .packet { display: none; }
  .strip > img { transform: translateX(calc(-100% + 100% / var(--n))) !important; }
  .strip-days li:first-child { margin-top: calc((var(--n) - 1) * -1.1em) !important; }
}
@media print {
  .top, .foot, .skip, .hero-glow, video, .finale-rows, .wall, .wall-rows { display: none !important; }
  body { background: #fff; color: #000; }
  .prose p, .prose li { color: #000; }
}
.join-pass { margin: 18px 0 0; text-align: center; max-width: none; }
.join-later li strong { color: var(--chalk); font-weight: 600; }
/* On a phone the hero's two buttons stack full width, as the app's action bar does. */
@media (max-width: 480px) {
  .hero .actions, .join .actions, [data-page="support"] .page-head .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn, .join .actions .btn, [data-page="support"] .page-head .actions .btn { width: 100%; }
}


/* ======================================================= selling (D91) */

/* Android only (D91): on an iPhone the beta and Buy buttons become one quiet
   pill, so nobody meets a dead button or buys a key they cannot use. */
.chip-ios { background: var(--fill-solid); color: var(--dim); font-weight: 600; }
[data-ios][hidden] { display: none; }
html.is-ios [data-android] { display: none !important; }
html.is-ios [data-ios][hidden] { display: inline-flex; }
html.is-ios p[data-ios][hidden] { display: block; }
.chip-ios { white-space: nowrap; }
/* The iPhone, with the Apple mark (layout.mjs APPLE; owner, 5 Nov 2026).
   - iosSoon, on an iPhone in the badge's place: a soft round pill of its
     height, two lines, the iPhone visitor's only way in;
   - iosNote, on a computer: one light line, the last of each download block,
     under its line of facts; no box, no border, no shadow (owner: "below the
     three… in a lightweight way"). Also the Plus card and the menu.
   Never on Android. [href] outranks a page's own link colour (.prose a). */
.ios-soon[hidden], .ios-note[hidden] { display: none; }
html.is-ios .ios-soon[hidden] { display: inline-flex; }
html.is-desk .ios-note[hidden] { display: flex; }
.apple { flex: none; }
.ios-soon { flex: none; align-self: center; align-items: center; gap: 12px; box-sizing: border-box; height: 52px; padding: 0 26px 0 22px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07) inset; text-align: left; transition: translate .2s var(--ease), background-color .2s var(--ease); }
.ios-soon[href] { color: var(--chalk); text-decoration: none; }
.ios-soon:hover { background: rgba(255, 255, 255, 0.11); translate: 0 -2px; }
.ios-soon:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.ios-soon .apple { width: 22px; height: 22px; margin-top: -3px; }
.ios-soon span { display: grid; gap: 1px; }
.ios-soon small { font: 500 12px/1.2 var(--sans); color: var(--dim); white-space: nowrap; }
.ios-soon b { font: 700 16px/1.2 var(--sans); white-space: nowrap; }
/* In the Plus card, on an iPhone: the card's width, in Buy's place. */
.pc-actions .ios-soon { width: 100%; justify-content: center; }
/* The computer's line. */
.ios-note { align-items: center; gap: 8px; margin: 16px 0 0; color: var(--dim); font: 400 14.5px/1.4 var(--sans); }
.ios-note .apple { width: 14px; height: 14px; margin-top: -2px; color: var(--chalk); }
.ios-mail[href] { color: var(--chalk); font-weight: 600; text-decoration: none; white-space: nowrap; }
.ios-mail .i { display: inline-block; width: 14px; height: 14px; margin-left: 4px; vertical-align: -2px; transition: translate .25s var(--ease); }
.ios-mail[href]:hover { text-decoration: underline; text-underline-offset: 3px; }
.ios-mail:hover .i { translate: 2px 0; }
.ios-mail:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 2px; }
.hero-copy .ios-note { margin-top: 18px; }
/* On the finale's amber, in the page's ink. */
.finale .ios-soon[href] { color: var(--amber-ink); background: rgba(26, 18, 6, 0.08); box-shadow: 0 0 0 1px rgba(26, 18, 6, 0.14) inset; }
.finale .ios-soon small { color: var(--on-amber-dim); }
.finale .ios-soon:hover { background: rgba(26, 18, 6, 0.13); }
.finale .ios-note { justify-content: center; color: var(--on-amber-dim); }
.finale .ios-note .apple, .finale .ios-mail[href] { color: var(--amber-ink); }
/* The header's chip on a wide iPhone screen (an iPad): it opens the box too. */
a.chip-ios { text-decoration: none; transition: color .2s var(--ease); }
a.chip-ios:hover { color: var(--chalk); }
.chip-ios .apple { width: 14px; height: 14px; margin-top: -2px; color: var(--chalk); }

/* THE iPHONE BOX (layout.mjs IBOX, site.js openBox): "Keep me posted" opens
   it. A card of the site's dark, the app's sheet radius, the page dimmed and
   blurred behind it. On a phone it hangs from the top, so the field stays
   above the keyboard. */
html.ibox-open body { overflow: hidden; }
.ibox { width: min(440px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; border: 0; overflow: auto; overscroll-behavior: contain;
  border-radius: var(--r-sheet); background: var(--ink-3); color: var(--chalk);
  box-shadow: 0 0 0 1px var(--hair-2) inset, 0 30px 90px rgba(0, 0, 0, 0.6); }
.ibox::backdrop { background: rgba(4, 5, 6, 0.64); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ibox-in { position: relative; padding: 36px 30px 26px; }
.ibox-x { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--dim); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.ibox-x:hover { background: var(--surface-2); color: var(--chalk); }
.ibox-x .i { width: 20px; height: 20px; }
.ibox-form, .ibox-done { display: grid; }
.ibox-form[hidden], .ibox-done[hidden], .ibox-err[hidden] { display: none; }
.ibox-mark { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--fill-solid); box-shadow: 0 0 0 1px var(--hair) inset; }
.ibox-mark .apple { width: 24px; height: 24px; margin-top: -3px; color: var(--chalk); }
.ibox-title { margin: 18px 0 0; padding-right: 28px; font: 400 34px/1.05 var(--serif); letter-spacing: -0.01em; text-wrap: balance; }
.ibox-lead { margin: 10px 0 0; color: var(--dim); font-size: 16px; line-height: 1.5; text-wrap: pretty; }
.ibox-label { display: block; margin: 24px 0 8px; padding: 0; font: 600 14px/1.2 var(--sans); color: var(--chalk); }
.ibox-label span { margin-left: 4px; font-weight: 400; color: var(--faint); }
/* 17 px: iOS zooms into any field set smaller than 16. */
.ibox-input { width: 100%; min-height: 52px; padding: 0 16px; border: 0; border-radius: var(--r-control); background: var(--surface-2); box-shadow: 0 0 0 1px var(--hair-2) inset; color: var(--chalk); font: 500 17px/1.2 var(--sans); transition: box-shadow .2s var(--ease); }
.ibox-input::placeholder { color: var(--faint); }
.ibox-input:focus { outline: none; box-shadow: 0 0 0 2px var(--amber) inset; }
.ibox-input[aria-invalid="true"] { box-shadow: 0 0 0 2px var(--amber-deep) inset; }
.ibox-films { min-width: 0; margin: 0; padding: 0; border: 0; }
/* A legend floated is an ordinary block, so its margins behave. */
.ibox-films legend { float: left; width: 100%; }
.ibox-chips { clear: both; display: flex; flex-wrap: wrap; gap: 8px; }
.ibox-chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--fill-solid); box-shadow: 0 0 0 1px var(--hair) inset; color: var(--dim); font: 600 15px/1 var(--sans); cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.ibox-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.ibox-chip:hover { color: var(--chalk); }
.ibox-chip:has(input:checked) { background: var(--chalk); color: var(--amber-ink); box-shadow: none; }
.ibox-chip:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
/* The robot trap: there for a script, never seen or reached by a person. */
.ibox-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.ibox-go { width: 100%; margin-top: 28px; }
.ibox-go:disabled { cursor: progress; opacity: 0.75; }
.ibox-err { margin: 12px 0 0; color: var(--amber); font-size: 14.5px; line-height: 1.45; }
.ibox-err a { color: var(--chalk); font-weight: 600; }
.ibox-fine { margin: 12px 0 0; text-align: center; color: var(--faint); font-size: 13.5px; line-height: 1.4; }
.ibox-done { justify-items: center; padding: 14px 0 4px; text-align: center; }
.ibox-done .ibox-title { padding-right: 0; }
.ibox-tick { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--mint); color: var(--ink); }
.ibox-tick .i { width: 30px; height: 30px; }
.ibox-ok { min-width: 160px; margin-top: 26px; }
@media (max-width: 560px) {
  .ibox { width: calc(100% - 24px); max-height: calc(100dvh - 24px); margin: max(12px, env(safe-area-inset-top)) auto auto; }
  .ibox-in { padding: 30px 22px 22px; }
  .ibox-title { font-size: 30px; }
}
@media (prefers-reduced-motion: no-preference) {
  .ibox[open] { animation: ibox-in .5s var(--spring-soft); }
  .ibox[open]::backdrop { animation: ibox-dim .3s var(--ease); }
  .ibox-done:not([hidden]) .ibox-tick { animation: ibox-pop .55s var(--spring); }
}
@keyframes ibox-in { from { opacity: 0; translate: 0 18px; scale: 0.98; } }
@keyframes ibox-dim { from { opacity: 0; } }
@keyframes ibox-pop { from { scale: 0.4; opacity: 0; } }
/* Google's "Get it on Google Play" badge (layout.mjs playBadge), as supplied:
   never stretched by a flex row or a full-width column, never recoloured,
   and a quarter of its height clear round it (13 px at 52, hence the gap). */
.play-badge { flex: none; align-self: center; display: inline-flex; border-radius: 7px; line-height: 0; transition: translate .2s var(--ease); }
.play-badge img { display: block; width: auto; height: 52px; }
.play-badge-sm img { height: 40px; }
.play-badge:hover { translate: 0 -2px; }
.play-badge:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }
.actions:has(> .play-badge) { column-gap: 14px; row-gap: 14px; }
/* A badge with the comet keeps its clear space from the comet's edge. */
.actions:has(> .play-badge-orbit) { column-gap: 16px; row-gap: 16px; }
/* On a phone the hero's two keep one row while both fit whole; on a small
   phone "Get Plus" goes under the badge rather than squeeze its words out. */
@media (max-width: 640px) {
  .hero .hero-copy .actions:has(> .play-badge) { flex-wrap: wrap; justify-content: center; column-gap: 14px; row-gap: 14px; }
  .hero .hero-copy .actions:has(> .play-badge-orbit) { column-gap: 16px; row-gap: 16px; }
}
/* The hero's way to Plus (home.mjs heroGetPlus / heroPlus). On a phone, a
   line under the badge; wider, the outlined button beside it, the badge's
   height, one line, and the line under the badge goes (Gratly's hero: one
   row of two buttons, then one quiet line, facts-top). The button is the
   badge's exact size, 52 px tall and as wide as the badge's 564x168 image
   at that height (owner, 6 Nov: it was wider than the badge), so its words
   are centred and carry no arrow (an arrow would not fit at 175 px). */
.hero-plus { margin: 18px 0 0; color: var(--dim); font-size: 15px; line-height: 1.5; }
.hero-plus a { display: inline-flex; align-items: center; gap: 4px; color: var(--chalk); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--control); white-space: nowrap; }
.hero-plus a:hover { text-decoration-color: var(--amber); }
.hero-plus .i { width: 16px; height: 16px; transition: translate .25s var(--ease); }
.hero-plus a:hover .i { translate: 3px 0; }
.hero-get-plus { display: none; }
@media (min-width: 641px) {
  .hero-plus { display: none; }
  .hero-get-plus { display: inline-flex; flex: none; justify-content: center; width: calc(52px * 564 / 168); height: 52px; min-height: 52px; padding: 0; border-radius: 8px; font: 600 16px/1 var(--sans); }
}
.foot-brand .foot-badge { margin-top: 20px; }
/* On a phone the header keeps its "Plus" link; the page itself says Android. */
@media (max-width: 880px) { html.is-ios .top-ios[data-ios][hidden] { display: none; } }

/* --------------------------------------------- the hero's films (chips) */

.film[hidden] { display: none; }
.film-chips { display: flex; justify-content: center; gap: 8px; margin: 20px 0 0; }
.film-chip { min-height: 48px; padding: 0 20px; border: 0; border-radius: 999px; background: var(--fill-solid); color: var(--dim); font: 600 15px/1 var(--sans); cursor: pointer; box-shadow: 0 0 0 1px var(--hair) inset; transition: background-color .2s var(--ease), color .2s var(--ease); }
.film-chip:hover { color: var(--chalk); }
.film-chip[aria-pressed="true"] { background: var(--chalk); color: var(--amber-ink); box-shadow: none; }
.film-chip:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
html:not(.js) .film-chips { display: none; }
.hero-media .film-chips + .cap { margin-top: 10px; }
/* A landscape film plays letterboxed, as a landscape video does on a phone. */
.hero-media .hero-device .scrub-fit .scrub-stage { background: #000; }
.hero-media .scrub-fit .scrub-frame { object-fit: contain; object-position: 50% 44%; }

/* ------------------------------------------ step 2: the mark comes off */

/* The export, on the phone: the free frame is a page over the clean one,
   and it turns over by itself (MarkPeel, D66): the page is cut back at the
   fold, its paper back lies over what is left of it, and the fold throws a
   shadow on the clean frame. Fold position f runs 100% → 0; the flap spans
   f − 0.85·(100% − f) to f, which is linear in f, so the three move in step
   on one timing curve. */
.phone-export .phone-glass { background: #000; }
.xp { position: absolute; inset: 0; }
.xp-frame { position: absolute; inset: 0; overflow: hidden; }
.xp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 18% 50%; }
.xp-page { position: absolute; inset: 0; clip-path: polygon(0 0, 116% 0, 96% 100%, 0 100%); }
/* The fold leans 10% of the width either way of its middle, as a page taken
   from its bottom corner does: at rest that corner is dog-eared, as the
   app's is. skewX(-5.14deg) is that lean on the glass (height 2.22 widths). */
.xp-flap { position: absolute; top: 0; bottom: 0; left: 102.6%; right: -6%; transform: skewX(-5.14deg); background: linear-gradient(90deg, #C9C1AF 0%, #E9E3D6 22%, #FAF7F0 62%, #E2DBCB 86%, #A99F8A 100%); box-shadow: -8px 0 18px rgba(0, 0, 0, 0.4); }
.xp-shade { position: absolute; top: 0; bottom: 0; left: 106%; width: 12%; transform: skewX(-5.14deg); background: linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent); }
/* Where the mark is, before the page takes it (it is small, as it is on a phone). */
.xp-ring { position: absolute; left: 9%; top: 71.3%; width: 45%; height: 4.2%; border: 1.5px solid var(--amber); border-radius: 6px; opacity: 0; }
/* The app's chrome over the film: a title at the top, the state at the foot. */
.phone-export .xp-bar { position: absolute; z-index: 3; top: calc(var(--w) * 0.11); left: calc(var(--w) * 0.05); right: calc(var(--w) * 0.05); margin: 0; display: flex; align-items: center; gap: calc(var(--w) * 0.02); font: 600 calc(var(--w) * 0.056)/1 var(--sans); color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5); }
.xp-bar .i { width: calc(var(--w) * 0.07); height: calc(var(--w) * 0.07); }
.phone-export .xp-tags { position: absolute; z-index: 3; left: 0; right: 0; bottom: calc(var(--w) * 0.1); margin: 0 auto; width: max-content; min-width: 62%; height: calc(var(--w) * 0.11); border-radius: 999px; background: rgba(14, 16, 19, 0.62); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14) inset; font: 600 calc(var(--w) * 0.048)/1 var(--sans); }
.xp-tags span { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: .35em; padding: 0 1em; white-space: nowrap; }
.xp-free { color: var(--chalk); }
.xp-plus { color: var(--amber); opacity: 0; }
.xp-plus .i { width: 1.1em; height: 1.1em; }
@media (prefers-reduced-motion: no-preference) {
  .xp-page { animation: xp-page 8s var(--ease-in-out) infinite; }
  .xp-flap { animation: xp-flap 8s var(--ease-in-out) infinite; }
  .xp-shade { animation: xp-shade 8s var(--ease-in-out) infinite; }
  .xp-free { animation: xp-free 8s linear infinite; }
  .xp-ring { animation: xp-ring 8s linear infinite; }
  .xp-plus { animation: xp-plus 8s linear infinite; }
  /* On a wide screen the export starts from the top each time step 2 arrives. */
  .steps-screen:not(.is-on) .xp * { animation: none; }
}
/* Rest, the mark ringed; the corner lifts a little and falls back (the
   gesture shown, as the app does on arrival); the page turns; the clean
   frame rests; the page comes back. Fold f (its middle) runs 106% → 99% →
   106% → −10%: the page is cut at f ± 10%, the flap spans
   f − 0.85·(110% − f) to f, the shadow starts at f. */
@keyframes xp-page {
  0%, 18%, 30%, 40% { clip-path: polygon(0 0, 116% 0, 96% 100%, 0 100%); }
  24% { clip-path: polygon(0 0, 109% 0, 89% 100%, 0 100%); }
  62%, 88% { clip-path: polygon(0 0, 0% 0, -20% 100%, 0 100%); opacity: 1; }
  88.5% { clip-path: polygon(0 0, 116% 0, 96% 100%, 0 100%); opacity: 0; }
  96%, 100% { clip-path: polygon(0 0, 116% 0, 96% 100%, 0 100%); opacity: 1; }
}
@keyframes xp-flap {
  0%, 18%, 30%, 40%, 88.5%, 100% { left: 102.6%; right: -6%; }
  24% { left: 89.65%; right: 1%; }
  62%, 88% { left: -112%; right: 110%; }
}
@keyframes xp-shade {
  0%, 18%, 30%, 40%, 88.5%, 100% { left: 106%; opacity: 1; }
  24% { left: 99%; opacity: 1; }
  62%, 88% { left: -10%; opacity: 0; }
}
@keyframes xp-ring { 0%, 4% { opacity: 0; scale: 1.25; } 10%, 86% { opacity: 1; scale: 1; } 88%, 100% { opacity: 0; scale: 1; } }
@keyframes xp-free { 0%, 52% { opacity: 1; } 56%, 90% { opacity: 0; } 95%, 100% { opacity: 1; } }
@keyframes xp-plus { 0%, 54% { opacity: 0; } 58%, 88% { opacity: 1; } 92%, 100% { opacity: 0; } }

/* ------------------------------------------------------ the Plus card */

/* One card, three parts (Notion, Superhuman): what it is, the choice and
   the button, what it adds. Side by side on a wide screen, stacked on a phone. */
.pc { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); max-width: 980px; margin: 0 auto; overflow: hidden; border-radius: var(--r-sheet); background: linear-gradient(180deg, var(--ink-2), var(--ink)); box-shadow: 0 0 0 1px var(--hair-2) inset, 0 40px 90px -50px rgba(240, 184, 87, 0.35); }
.pc-buy { padding: clamp(28px, 4vw, 48px); }
.pc-adds { padding: clamp(28px, 4vw, 48px); background: var(--surface); box-shadow: 1px 0 0 var(--hair) inset; }
.pc-name { margin: 0; font: 700 13px/1.2 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--amber); }
.pc-line { margin: 12px 0 0; font: 400 clamp(36px, 3.8vw, 52px)/1.02 var(--serif); letter-spacing: -0.015em; text-wrap: balance; }
.pc-line em { font-style: italic; color: var(--amber); }
.pc-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 28px 0 0; padding: 4px; border: 0; border-radius: 18px; background: var(--fill-solid); }
.pc-opt { position: relative; display: grid; align-content: center; gap: 3px; min-height: 68px; padding: 10px 14px; border-radius: 14px; cursor: pointer; transition: background-color .2s var(--ease), box-shadow .2s var(--ease); }
.pc-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pc-opt-name { font: 600 14px/1.2 var(--sans); color: var(--dim); }
.pc-opt-price { font-size: 13.5px; color: var(--dim); white-space: nowrap; }
.pc-opt-price b { font: 700 20px/1.1 var(--sans); color: var(--chalk); font-variant-numeric: tabular-nums; }
.pc-opt:has(input:checked) { background: var(--chalk); color: var(--ink); }
.pc-opt:has(input:checked) .pc-opt-name { color: var(--amber-ink); }
.pc-opt:has(input:checked) .pc-opt-price, .pc-opt:has(input:checked) .pc-opt-price b { color: var(--ink); }
.pc-opt:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.pc-actions { display: grid; margin: 16px 0 0; }
.pc-go { width: 100%; }
.pc-go-yearly { display: none; }
.pc:has(input[value="yearly"]:checked) .pc-go-forever { display: none; }
.pc:has(input[value="yearly"]:checked) .pc-go-yearly { display: inline-flex; }
@supports not selector(:has(*)) { .pc-go-yearly { display: inline-flex; margin-top: 10px; } }
.pc-safe { display: flex; align-items: center; gap: 8px; margin: 14px 0 0; color: var(--dim); font: 600 14.5px/1.4 var(--sans); }
.pc-safe .i { width: 18px; height: 18px; color: var(--mint); }
.pc-fine { margin: 6px 0 0; color: var(--faint); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
.pc-adds-title { margin: 0 0 20px; font: 600 17px/1.3 var(--sans); color: var(--chalk); }
.pc-list { list-style: none; display: grid; gap: 14px; margin: 0; padding: 0; }
.pc-list li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 12px; font-size: 16px; line-height: 1.4; color: var(--dim); }
.pc-list b { color: var(--chalk); font-weight: 600; }
.pc-list .i { width: 20px; height: 20px; margin-top: 1px; color: var(--amber); }
.pc-free { margin: 22px 0 0; text-align: center; color: var(--dim); font-size: 15px; }
#plus { padding-bottom: clamp(32px, 4vw, 56px); }
.pc-free a { color: var(--amber); text-underline-offset: 4px; }
@media (max-width: 860px) {
  .pc { grid-template-columns: 1fr; max-width: 560px; }
  .pc-adds { box-shadow: 0 1px 0 var(--hair) inset; }
}

/* ------------------------------------------- closed pages (D91) */

/* Pages the app opens: no way out to the shop, by structure. */
.top-closed .brand { cursor: default; }
.foot-closed { padding: 40px 0 32px; }
.foot-closed .foot-base { margin-top: 0; border-top: 0; padding-top: 0; }

/* ============================================ the reset, second pass */

/* -------------------------------------------- hero, words left (laptops) */

/* Words left, the phone right, all in the first screen (design advice,
   13 Oct 2026; gentler.app's container, 1se.co's tile-free headline band).
   Below 1100 wide or 660 tall the hero stays stacked. */
.facts-top { display: none; }
/* Wider than a phone the hero's one quiet line sits under its buttons,
   Gratly's middots, and the list under the phone goes. */
@media (min-width: 641px) {
  .facts-top { display: flex; gap: 4px 0; font-size: 15px; }
  .facts-top li { gap: 0; }
  .facts-top li + li::before { content: "·"; width: auto; height: auto; border-radius: 0; background: none; margin: 0 9px; }
  .facts-under { display: none; }
}
@media (min-width: 1100px) and (min-height: 660px) {
  .hero { min-height: 100svh; padding: var(--top-h) 0 0; display: grid; align-items: center; }
  .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr); column-gap: 64px; align-items: center; justify-items: start; text-align: left; min-height: calc(100svh - var(--top-h)); padding-block: 32px; }
  .hero-copy { grid-row: 1 / span 2; align-self: center; max-width: 600px; justify-items: start; }
  .hero-copy .actions { justify-content: flex-start; margin-top: 32px; }
  .hero .display { font-size: clamp(60px, 6vw, 100px); line-height: 0.95; }
  .hero-copy .lead { font-size: 20px; margin-top: 20px; }
  .facts-top { display: flex; justify-content: flex-start; margin-top: 20px; }
  .facts-under { display: none; }
  .hero-media { grid-column: 2; grid-row: 1 / span 2; justify-self: center; margin: 0; }
  .hero-media .hero-device { --w: clamp(230px, calc((100svh - var(--top-h) - 126px) / 2.11), 360px); }
  .hero-media .film-chips { margin-top: 14px; }
  .hero-media .cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .hero-glow { background: radial-gradient(34% 42% at 27% 50%, rgba(8, 9, 11, 0.92), transparent), radial-gradient(30% 38% at 73% 52%, rgba(240, 184, 87, 0.16), transparent 70%); }

  /* The wall around them: fixed sizes, a 24 px slide (100 would carry tiles
     onto the phone), shallow depth, slots that keep clear of the words and
     the phone at every width from 1100 up. */
  .wall { left: 0; right: 0; height: 100svh; max-width: 1920px; margin-inline: auto; }
  .wall .tile-day { --s: 110px; --depth: 8; animation-name: slide-fade-sm; }
  .wall .ws1, .wall .ws7, .wall .ws12, .wall .ws16 { --s: 180px; --depth: 12; }
  .wall .ws3, .wall .ws14 { --s: 240px; --depth: 12; }
  .wall .ws2, .wall .ws5, .wall .ws9 { --peak: 0.55; }
  .ws1  { left: -5%;   top: max(10%, calc(var(--top-h) + 16px)); }
  .ws2  { left: -0.5%; top: 40%; }
  .ws3  { left: -5%;   top: 78%; }
  .ws4  { left: 15%;   top: max(10%, calc(var(--top-h) + 16px)); }
  .ws5  { left: 28%;   top: max(10%, calc(var(--top-h) + 16px)); }
  .ws6  { left: 14.5%; top: 83%; }
  .ws7  { left: 27.5%; top: 79%; }
  .ws8  { left: 49%;   top: max(11%, calc(var(--top-h) + 16px)); }
  .ws9  { left: 47.5%; top: 44%; }
  .ws11 { left: 90%;   top: max(10%, calc(var(--top-h) + 16px)); }
  .ws12 { left: 87.5%; top: 27%; }
  .ws13 { left: 93%;   top: 55%; }
  .ws14 { left: 87%;   top: 72%; }
  .ws15 { left: 82%;   top: 50%; }
  .ws16 { left: 43.5%; top: 85%; }
  .ws17 { left: 7%;    top: 53%; }
  .ws10, .ws15, .ws17, .ws18 { display: none; }
}
@media (min-width: 1680px) and (min-height: 660px) { .ws15, .ws17 { display: block; } }
@media (min-width: 1100px) and (max-width: 1399px) and (min-height: 660px) {
  .wall .tile-day { display: none; }
  .wall .ws4, .wall .ws6, .wall .ws8, .wall .ws9, .wall .ws11, .wall .ws13 { display: block; }
}
@media (min-width: 1100px) and (max-width: 1279px) and (min-height: 660px) {
  .wall .ws9, .wall .ws11 { display: none; }
}
/* A short window leaves no room above and below the words. */
@media (min-width: 1100px) and (min-height: 660px) and (max-height: 760px) { .wall .ws4, .wall .ws6 { display: none; } }
@keyframes slide-fade-sm {
  0%   { translate: 24px 0; opacity: 0; }
  50%  { translate: 12px 0; opacity: var(--peak, 0.9); }
  100% { translate: 0 0;    opacity: 0; }
}

/* --------------------------------------------------- the year, phones */

@media (max-width: 640px) {
  .year-copy { display: contents; }
  .year-copy > .eyebrow { grid-column: 1 / -1; grid-row: 1; margin: 0; }
  .year-copy > .year-live, .year-copy > .year-stats { grid-column: 1; grid-row: 2; }
  .year-in .year-oak { grid-column: 2; grid-row: 2; }
  .year-copy > .note-year { grid-column: 1 / -1; grid-row: 3; margin-top: 0; }
  .year-in .year-grid { grid-row: 4; }
}

/* ------------------------------------------------ private by design */

/* One card, the five lines beside the picture of what leaves (gentler.app,
   obsidian.md): under one screen, the travelling questions kept. */
.priv-card { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 56px; align-items: center; }
.priv-card .vault-dest { position: relative; z-index: 4; background: var(--ink-3); }
.priv-copy .eyebrow { margin: 0 0 18px; }
.priv-card .nolist { justify-items: start; text-align: left; margin: 0 0 22px; font-size: clamp(34px, 3.3vw, 48px); line-height: 1.04; }
.priv-card .more { margin: 0; }
.priv-card .vault { max-width: none; margin: 0; }
@media (min-width: 861px) {
  .priv-card .vault { --h: 340px; grid-template-columns: minmax(0, 0.44fr) minmax(0, 0.2fr) minmax(0, 0.36fr); }
  .priv-card .vault-phone { width: min(260px, 100%); padding: 18px; border-radius: 32px; }
  .priv-card .vault-list { font-size: 13.5px; }
  .priv-card .vault-dest { padding: 14px 16px; }
  .priv-card .vault-dest span { font-size: 13.5px; }
}
@media (max-width: 860px) {
  .priv-card { grid-template-columns: 1fr; gap: 26px; }
  .priv-card .nolist { font-size: 32px; line-height: 1.06; margin-bottom: 16px; }
}

/* ------------------------------------------------ anything that changes */

/* The list's hairline rule (.subjects li) must not reach the strips' day
   counters inside the panels: it padded each counter row past its window. */
.subjects .strip-days li { display: block; padding: 0; border: 0; }
/* The subjects without real pictures: one line under the list, never under
   the panel. Wide: the list's column; a phone: after the rows. */
.subj-more { margin: 24px 0 0; max-width: 34em; color: var(--dim); font-size: 16px; line-height: 1.55; }
.subj-more b { color: var(--chalk); font-weight: 600; }
@media (min-width: 861px) {
  .subjects { grid-template-rows: auto 1fr; row-gap: 0; }
  .subjects .subj-list { padding-bottom: 0; }
  .subjects .subj-stage { grid-column: 2; grid-row: 1 / span 2; }
  .subj-more { grid-column: 1; align-self: start; }
}
@media (max-width: 860px) {
  .subjects .subj-list { padding-bottom: 18vh; }
  .subj-more { margin-top: 0; font-size: 15px; }
}

/* ------------------------------------- the tiles that breathe, elsewhere */

/* The wall's breathing, kept still (design advice §5): the vault's photos,
   the room's contact sheet and the finale's rows ease down and back on their
   own clocks, never emptying. Paused off screen ([data-live]). */
@keyframes breathe { from { opacity: 1; } to { opacity: var(--low, 0.55); } }
@media (prefers-reduced-motion: no-preference) {
  .vault-grid span, .subj-sheet figure, .finale-row figure { animation: breathe 5s ease-in-out infinite alternate; }
  .subj-sheet figure { --low: 0.35; }
  .vault-grid span:nth-child(3n + 1), .subj-sheet figure:nth-child(3n + 1), .finale-row figure:nth-child(3n + 1) { animation-duration: 4.6s; animation-delay: -1.3s; }
  .vault-grid span:nth-child(3n + 2), .subj-sheet figure:nth-child(3n + 2), .finale-row figure:nth-child(3n + 2) { animation-duration: 5.4s; animation-delay: -3.1s; }
  .vault-grid span:nth-child(4), .subj-sheet figure:nth-child(5), .finale-row figure:nth-child(4n) { animation-delay: -2.2s; }
}

/* ------------------------------------------- pass 2 (two reviews) */

/* The camera roll fades out beside the phone instead of stopping on a hard edge. */
.roll-plane { -webkit-mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent), linear-gradient(90deg, #000 72%, transparent); -webkit-mask-composite: source-in; mask-image: linear-gradient(180deg, transparent, #000 18%, #000 78%, transparent), linear-gradient(90deg, #000 72%, transparent); mask-composite: intersect; }
/* The header stays ink over the amber bands (it went olive through the blur). */
.top.is-scrolled, .menu-open .top { background: rgba(8, 9, 11, 0.94); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); }
/* The year on a phone starts at the top of its hold, not after a band of black. */
@media (max-width: 640px) { .year-pin { align-items: start; padding-top: calc(var(--top-h) + 28px); } }

/* ------------------------------------------ Plus, said boldly; not yet on sale */

/* "Coming soon" (checkout.mjs OPEN = false): plainly a button that is not one
   yet. No hover, no press; readable, never mistaken for the amber action. */
.btn-soon { background: transparent; color: var(--dim); box-shadow: 0 0 0 1px var(--hair-2) inset; cursor: default; }
.btn-soon:active { transform: none; }
.amber .btn-soon, .finale .btn-soon { color: var(--on-amber-dim); box-shadow: 0 0 0 1px rgba(30, 20, 8, 0.3) inset; }
.pc-lead { font-size: clamp(18px, 1.6vw, 22px); }
.pc-lead b { color: var(--amber); font-weight: 600; }
.pc-switch { margin-top: 0; }
.pc-opt { min-height: 104px; gap: 6px; padding: 14px 18px; }
.pc-opt-price { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pc-opt-price b { font: 400 clamp(34px, 3.4vw, 46px)/1 var(--serif); letter-spacing: -0.01em; }
.pc-go-soon { width: 100%; }
@media (max-width: 420px) { .pc-opt { padding: 12px 14px; } .pc-opt-price b { font-size: 32px; } }

/* Black Friday (checkout.mjs DEAL, site.js deal): hidden as built. In the
   window the new price takes the large place, on a line of its own at any
   width, and the old one sits under it by "once", small and struck through.
   One line under the button says the dates or the code. It is Forever's, so
   it goes when Yearly is chosen. */
.pc-now[hidden], .pc-deal[hidden], .pc-deal [hidden] { display: none; }
.pc.is-deal .pc-now { flex-basis: 100%; }
.pc.is-deal .pc-now + b { font: 600 15px/1.2 var(--sans); letter-spacing: 0; text-decoration: line-through; text-decoration-thickness: 1.5px; opacity: .6; }
.pc-deal { display: flex; align-items: flex-start; gap: 8px; margin: 14px 0 0; color: var(--amber); font: 600 14.5px/1.4 var(--sans); text-wrap: balance; }
.pc-deal .i { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.pc-deal b { color: var(--chalk); font-weight: 700; letter-spacing: .04em; }
.pc-deal:not([hidden]) + .pc-safe { margin-top: 8px; }
.pc:has(input[value="yearly"]:checked) .pc-deal { display: none; }
.pc:has(input[value="yearly"]:checked) .pc-deal + .pc-safe { margin-top: 14px; }

/* ------------------------------------- the hero's phone: the app's editor */

/* The film plays inside the app's own "Your video" screen (app/preview.tsx:
   the close, the title, Export; the video at its shape with its burn-in; the
   play bar; the frames with their trim handles; the tabs, Look open, Text
   carrying the Plus lock), so the hero shows the product, not a player.
   Only the inside of the phone; everything round it is as it was. */
.hero-device .ed { position: absolute; inset: 0; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto auto auto auto; row-gap: calc(var(--w) * 0.03); padding: calc(var(--w) * 0.135) calc(var(--w) * 0.05) calc(var(--w) * 0.07); background: #0B0C0F; color: var(--chalk); font-family: var(--sans); }
.hero-device .ed .film:not([hidden]), .hero-device .ed .scrub { display: contents; }
.ed-bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin: 0; font: 700 calc(var(--w) * 0.05)/1 var(--sans); }
.ed-bar .i { width: calc(var(--w) * 0.066); height: calc(var(--w) * 0.066); stroke-width: 2.2; }
.ed-export { justify-self: end; padding: calc(var(--w) * 0.022) calc(var(--w) * 0.045); border-radius: 999px; background: var(--amber); color: var(--amber-ink); font-size: calc(var(--w) * 0.044); }
/* The video, at its own shape, as the editor holds it. */
.hero-media .hero-device .ed .scrub .scrub-stage { position: relative; inset: auto; align-self: center; justify-self: center; border-radius: calc(var(--w) * 0.04); background: #000; overflow: hidden; }
.hero-device .ed .ed-9x16 .scrub-stage, .hero-device .ed .ed-4x5 .scrub-stage { height: 100%; max-width: 100%; }
.hero-device .ed .ed-9x16 .scrub-stage { aspect-ratio: 9 / 16; }
.hero-device .ed .ed-4x5 .scrub-stage { aspect-ratio: 4 / 5; }
.hero-device .ed .ed-16x9 .scrub-stage { width: 100%; aspect-ratio: 16 / 9; }
.hero-device .ed .scrub-frame { object-fit: cover; object-position: 50% 45%; }
/* Its burn-in, as a free export carries it: the scrim, the day, the mark. */
.hero-device .ed .scrub-stage::after { content: ""; position: absolute; inset: auto 0 0 0; z-index: 4; height: 34%; background: linear-gradient(rgba(8, 9, 11, 0), rgba(8, 9, 11, 0.78)); pointer-events: none; }
.hero-device .ed .scrub-tag { left: 7%; bottom: 6%; gap: 1px; text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45); }
.hero-device .ed .scrub-tag [data-day] { font: 400 calc(var(--w) * 0.05)/1.1 var(--serif); }
.hero-device .ed .scrub-tag::after { content: "BECOMING.PICS"; font: 400 calc(var(--w) * 0.03)/1.3 var(--sans); letter-spacing: 0.02em; color: rgba(244, 242, 237, 0.66); }
.hero-device .ed .scrub-date { display: none; }
/* The play bar: where the film is, and how long it runs (timing.ts, Auto). */
.ed-time { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: calc(var(--w) * 0.03); margin: 0; font: 500 calc(var(--w) * 0.038)/1 var(--sans); color: var(--dim); font-variant-numeric: tabular-nums; }
.ed-track { height: calc(var(--w) * 0.012); border-radius: 99px; background: rgba(255, 255, 255, 0.16); overflow: hidden; }
.ed-track b { display: block; width: calc(var(--p, 0) * 100%); height: 100%; background: var(--amber); }
.ed-sum { margin: 0; font: 500 calc(var(--w) * 0.036)/1.2 var(--sans); color: var(--dim); }
/* The frames, between the editor's two trim handles. */
.hero-device .ed .scrub-strip { position: relative; inset: auto; margin: 0; padding: calc(var(--w) * 0.012) calc(var(--w) * 0.056); gap: calc(var(--w) * 0.008); border-radius: calc(var(--w) * 0.022); background: none; -webkit-backdrop-filter: none; backdrop-filter: none; box-shadow: none; }
.hero-device .ed .scrub-strip::before, .hero-device .ed .scrub-strip::after { content: ""; position: absolute; top: 0; bottom: 0; width: calc(var(--w) * 0.044); background: linear-gradient(90deg, transparent 38%, rgba(11, 12, 15, 0.7) 38% 46%, transparent 46% 54%, rgba(11, 12, 15, 0.7) 54% 62%, transparent 62%) center / 100% 30% no-repeat, #F4F2ED; pointer-events: none; }
.hero-device .ed .scrub-strip::before { left: 0; border-radius: calc(var(--w) * 0.02) calc(var(--w) * 0.008) calc(var(--w) * 0.008) calc(var(--w) * 0.02); }
.hero-device .ed .scrub-strip::after { right: 0; border-radius: calc(var(--w) * 0.008) calc(var(--w) * 0.02) calc(var(--w) * 0.02) calc(var(--w) * 0.008); }
.hero-device .ed .scrub-thumb { opacity: 1; border-radius: calc(var(--w) * 0.014); }
.hero-device .ed .scrub-thumb.is-on { outline: 2px solid var(--amber); outline-offset: -2px; }
.ed-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 0; padding-top: calc(var(--w) * 0.03); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.ed-tabs span { position: relative; display: grid; justify-items: center; gap: calc(var(--w) * 0.016); padding-bottom: calc(var(--w) * 0.024); font: 500 calc(var(--w) * 0.034)/1 var(--sans); color: var(--faint); }
.ed-tabs .i { width: calc(var(--w) * 0.066); height: calc(var(--w) * 0.066); }
.ed-tabs .is-on { color: var(--amber); }
.ed-tabs .is-on::after { content: ""; position: absolute; left: 22%; right: 22%; bottom: 0; height: 2px; border-radius: 2px; background: var(--amber); }
.ed-lock { position: absolute; top: calc(var(--w) * -0.012); left: 56%; display: grid; place-items: center; width: calc(var(--w) * 0.042); height: calc(var(--w) * 0.042); border-radius: 50%; background: var(--amber); color: var(--amber-ink); }
.ed-lock .i { width: 70%; height: 70%; stroke-width: 2.6; }
/* The playhead runs between the handles, not over them (site.js sets its
   left as a share of the whole strip). */
.hero-device .ed .scrub-head { left: calc(var(--w) * 0.056 + (100% - var(--w) * 0.112) * var(--p, 0)) !important; }

/* ------------------------------------- on a phone: the wall across the hero */

/* The wide wall's breathing tiles, on a phone spread over the whole hero,
   under the header to the line before the year: dim and small beside the
   words, brighter and bigger half behind the phone. Tops are shares of the
   hero for the dim four, shares of the phone's box for the bright ten;
   tiles may run off the screen's edge (negative --in), which the hero clips.
   The words and the phone sit above them. */
.phone-wall { display: none; }
@media (max-width: 960px) {
  .phone-wall { display: block; position: absolute; inset: 0; z-index: 0; pointer-events: none; }
  /* The bright ones hang from the phone's box (home.mjs phoneWallNear), from
     the words' last line (the box's top margin) down, the screen's width,
     behind the phone and the words. */
  .phone-wall-near { inset: calc(-1 * clamp(22px, 3vh, 36px)) auto 0 50%; width: 100vw; margin-left: -50vw; z-index: -1; }
  .phone-wall .tile-day { --depth: 0; animation-name: slide-fade-sm; }
  .phone-wall .tile-stamp span { font-size: 13cqi; }
  .phone-wall .pw-l { left: var(--in); }
  .phone-wall .pw-r { right: var(--in); }
  /* A dark pool behind the headline, so a tile drifting near it never fights it. */
  .hero-glow { background: radial-gradient(80% 17% at 50% 16%, rgba(8, 9, 11, 0.92), transparent 100%), radial-gradient(60% 40% at 50% 62%, rgba(240, 184, 87, 0.14), transparent 70%); }
}
/* The phone's box sits 18 px under the words on a phone (the ≤640 margin). */
@media (max-width: 640px) { .phone-wall-near { top: -18px; } }
/* pw1–pw4: shares of the hero. pw5–pw14: shares of the phone's box (the
   390 × 844 layout of 13 Oct, re-measured 5 Nov, so it looks the same there). */
@media (max-width: 960px) {
  .phone-wall .pw1 { top: 7%; --s: 74px; --in: -16px; --peak: 0.5; --dur: 4.7s; --delay: -1.2s; }
  .phone-wall .pw2 { top: 6%; --s: 86px; --in: -22px; --peak: 0.5; --dur: 5.3s; --delay: -3.4s; }
  .phone-wall .pw3 { top: 17%; --s: 62px; --in: -30px; --peak: 0.32; --dur: 5.0s; --delay: -0.4s; }
  .phone-wall .pw4 { top: 19%; --s: 68px; --in: -28px; --peak: 0.32; --dur: 4.6s; --delay: -2.6s; }
  .phone-wall .pw5 { top: 0.8%; --s: 92px; --in: 14px; --peak: 0.8; --dur: 5.4s; --delay: -4.1s; }
  .phone-wall .pw6 { top: 5.6%; --s: 108px; --in: 6px; --peak: 0.8; --dur: 4.9s; --delay: -1.9s; }
  .phone-wall .pw7 { top: 21.7%; --s: 116px; --in: 4px; --peak: 0.8; --dur: 5.2s; --delay: -3.0s; }
  .phone-wall .pw8 { top: 29.7%; --s: 96px; --in: 16px; --peak: 0.8; --dur: 4.8s; --delay: -0.9s; }
  .phone-wall .pw9 { top: 44.1%; --s: 100px; --in: 12px; --peak: 0.8; --dur: 4.6s; --delay: -2.2s; }
  .phone-wall .pw10 { top: 52.1%; --s: 116px; --in: 4px; --peak: 0.8; --dur: 5.1s; --delay: -4.4s; }
  .phone-wall .pw11 { top: 65%; --s: 92px; --in: 8px; --peak: 0.8; --dur: 4.9s; --delay: -1.6s; }
  .phone-wall .pw12 { top: 71.5%; --s: 96px; --in: 14px; --peak: 0.8; --dur: 5.3s; --delay: -3.7s; }
  .phone-wall .pw13 { top: 85.9%; --s: 78px; --in: -28px; --peak: 0.4; --dur: 5.0s; --delay: -2.9s; }
  .phone-wall .pw14 { top: 98.8%; --s: 72px; --in: -24px; --peak: 0.4; --dur: 4.7s; --delay: -0.6s; }
}

/* ------------------------------------------------------------ the tools
   /tools/before-after (tools/site/pages/tool-before-after.mjs). The maker
   is the app's own controls: a segmented control is the Plus card's switch
   (14 corners, a 4 inset, the chosen side in chalk), a field is a control
   at 44, a button is a button. On a computer the preview stays in view
   beside the panel; on a phone the photos come first, then the preview,
   then the panel. */
.band-tool { padding-top: calc(var(--top-h) + clamp(20px, 3.5vw, 48px)); }
.tool-head { margin-bottom: clamp(24px, 3vw, 36px); }
.tool-title { margin: 0; font: 400 clamp(40px, 5vw, 68px)/0.98 var(--serif); letter-spacing: -0.02em; text-wrap: balance; }
.tool-title em { font-style: italic; color: var(--amber); }
.tool-head .lead { margin-top: 16px; max-width: 36em; }

.tool { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); grid-template-areas: "stage slots" "stage panel"; grid-template-rows: auto 1fr; gap: 20px clamp(24px, 4vw, 56px); align-items: start; }
.tool-slots { grid-area: slots; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 10px; align-items: stretch; }
.tool-stage { grid-area: stage; position: sticky; top: calc(var(--top-h) + 20px); display: grid; justify-items: center; gap: 14px; padding: clamp(12px, 2vw, 20px); border-radius: var(--r-sheet); background: var(--ink-2); box-shadow: 0 0 0 1px var(--hair) inset; }
.tool-stage.is-over { box-shadow: 0 0 0 2px var(--amber) inset; }
.tool-stage .tool-group { width: min(100%, 320px); }
.tool-panel { grid-area: panel; display: grid; gap: 22px; }

.tool-canvas { display: block; width: auto; height: auto; max-width: 100%; max-height: clamp(320px, calc(100svh - var(--top-h) - 250px), 720px); border-radius: var(--r-thumb); background: var(--ink-3); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.tool-canvas:active { cursor: grabbing; }
.tool-canvas:focus-visible { outline: 2px solid var(--amber); outline-offset: 4px; }

.tool-slot { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 12px; min-height: 72px; padding: 10px 12px; border-radius: var(--r-control); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; cursor: pointer; transition: box-shadow .2s var(--ease), background-color .2s var(--ease); }
.tool-slot:hover { background: var(--surface-2); }
.tool-slot input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.tool-slot:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.tool-slot.is-over, .tool-slot.is-active { box-shadow: 0 0 0 2px var(--amber) inset; }
.tool-thumb { position: relative; display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; border-radius: var(--r-thumb); background: var(--fill-solid); color: var(--amber); }
.tool-thumb canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; }
.tool-slot.has-photo .tool-thumb canvas { opacity: 1; }
.tool-slot.has-photo .tool-thumb .i { visibility: hidden; }
.tool-slot-text { display: grid; gap: 3px; min-width: 0; }
.tool-slot-name { font: 700 15px/1.2 var(--sans); }
.tool-slot-sub { font-size: 13.5px; line-height: 1.3; color: var(--faint); }
.tool-swap { align-self: center; padding-inline: 14px; }
.tool-swap:disabled, .tool-reset:disabled, .tool-save .btn:disabled { opacity: 0.42; cursor: default; transform: none; }

.tool-group { display: grid; gap: 10px; min-width: 0; margin: 0; padding: 0; border: 0; }
.tool-label { padding: 0; margin: 0 0 10px; font: 600 12.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 18px; background: var(--fill-solid); }
.seg-opt { position: relative; display: grid; place-items: center; align-content: center; gap: 1px; min-height: 44px; padding: 6px 8px; border-radius: var(--r-control); font: 600 14.5px/1.15 var(--sans); color: var(--dim); text-align: center; cursor: pointer; transition: background-color .2s var(--ease), color .2s var(--ease); }
.seg-opt small { font: 400 12px/1.2 var(--sans); color: var(--faint); }
.seg-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.seg-opt:has(input:checked) { background: var(--chalk); color: var(--ink); }
.seg-opt:has(input:checked) small { color: var(--on-amber-dim); }
.seg-opt:has(input:disabled) { opacity: 0.38; cursor: default; }
.seg-opt:has(input:disabled) input { cursor: default; }
.seg-opt:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }

.tool-ranges { display: grid; gap: 12px; }
.tool-range { display: grid; grid-template-columns: 88px minmax(0, 1fr) 56px; align-items: center; gap: 12px; min-height: 44px; font-size: 14.5px; color: var(--dim); }
.tool-range input { width: 100%; min-height: 32px; margin: 0; accent-color: var(--amber); }
.tool-range input:disabled { opacity: 0.4; }
.tool-range output { text-align: right; font-variant-numeric: tabular-nums; color: var(--chalk); }
.tool-reset { justify-self: start; }
.tool-lineup { display: none; width: min(100%, 420px); gap: 8px; }
.tool[data-view="lineup"] .tool-lineup { display: grid; }
.tool[data-view="lineup"] .tool-hint-result { display: none; }
.tool-hint { margin: 0; max-width: 34em; text-align: center; font-size: 13.5px; line-height: 1.5; color: var(--faint); text-wrap: pretty; }

.tool-texts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; margin-top: -10px; }
.tool-input { width: 100%; min-height: 44px; padding: 8px 14px; border: 0; border-radius: var(--r-control); background: var(--surface-2); box-shadow: 0 0 0 1px var(--hair) inset; color: var(--chalk); font: 600 15px/1.2 var(--sans); }
.tool-input:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.tool-save { display: flex; flex-wrap: wrap; gap: 10px; }
.tool-save .btn { flex: 1 1 auto; }
.tool-note { margin: 0; color: var(--dim); font-size: 15px; }
.tool-note a, .faq-a a { color: var(--amber); text-underline-offset: 3px; }
.tool-private { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: var(--faint); font-size: 13.5px; line-height: 1.5; }
.tool-private .i { width: 18px; height: 18px; margin-top: 1px; color: var(--mint); }

.tool-app { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 40px clamp(32px, 5vw, 80px); align-items: center; }
.tool-app .lead { max-width: 30em; }
.tool-app-cap { margin-top: 14px; }
.tool-app-phone { margin: 0; display: grid; justify-items: center; }
.tool-app-phone .phone { --w: min(280px, 70vw); }
.tool-app-phone .cap { text-align: center; }

@media (max-width: 900px) {
  .tool { grid-template-columns: minmax(0, 1fr); grid-template-areas: "slots" "stage" "panel"; grid-template-rows: none; }
  .tool-stage { position: static; }
  .tool-app { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) {
  .tool-slots { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .tool-swap { grid-column: 1 / -1; justify-self: center; }
  .tool-slot { grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 10px; }
  .tool-thumb { width: 44px; height: 44px; }
  .tool-range { grid-template-columns: 76px minmax(0, 1fr) 52px; }
  .seg-opt { font-size: 14px; padding-inline: 4px; }
}

/* ------------------------------------------------------------ guides */

/* An article (pages/guides.mjs): one reading column, the first picture a
   little wider on a laptop. Everything is centred in .wrap's gutters. */
.art { --col: calc(44rem + 2 * var(--gutter)); --wide: calc(60rem + 2 * var(--gutter)); padding: calc(var(--top-h) + clamp(48px, 7vw, 96px)) 0 clamp(72px, 9vw, 120px); }
.art-head, .art-body, .art-more { max-width: var(--col); }
.art-head .eyebrow a { color: inherit; text-decoration: none; }
.art-head .eyebrow a:hover { text-decoration: underline; text-underline-offset: 3px; }
.art-title { font: 400 clamp(40px, 6.4vw, 72px)/1 var(--serif); letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
.art-title em { font-style: italic; color: var(--amber); }
.art-lede { max-width: none; }
.art-meta { margin: 20px 0 0; font-size: 14px; line-height: 1.5; color: var(--faint); }
.art-hero { max-width: var(--wide); margin-top: clamp(36px, 5vw, 64px); }
.art-body { margin-top: clamp(16px, 3vw, 32px); }
.art-body p, .art-body li { font-size: 17.5px; line-height: 1.7; }
.art-body .cap { font-size: 13.5px; line-height: 1.5; }
.art-body .art-note { margin-top: 8px; font-size: 14px; color: var(--faint); }
.art-body .art-credit { margin-top: 12px; }
.prose .btn { text-decoration: none; }
.prose .btn-amber { color: var(--amber-ink); }
.art-steps { padding-left: 1.3em; }
.art-steps li { margin: 14px 0; }
.art-steps li::marker { color: var(--amber); font-weight: 600; }
.art-code { margin: 20px 0 0; padding: 16px 18px; border-radius: var(--r-control); background: var(--surface-2); box-shadow: 0 0 0 1px var(--hair) inset; overflow-x: auto; }
.art-code code { padding: 0; background: none; font-size: 13.5px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }

/* Figures. A pair sits side by side, and stacks on a phone. */
.art-fig { margin: 36px 0; }
.art-fig-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.art-fig-pair figcaption { grid-column: 1 / -1; margin-top: 4px; }
.art-pic { position: relative; overflow: hidden; border-radius: var(--r-control); background: var(--ink-3); box-shadow: 0 0 0 1px var(--hair) inset; }
.art-pic img { display: block; width: 100%; height: auto; }
.art-tag { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; background: rgba(8, 9, 11, 0.74); color: var(--chalk); font: 600 12px/1.3 var(--sans); letter-spacing: 0.04em; }
.art-fig-phone { display: grid; justify-items: center; }
.art-fig-phone .art-pic { width: min(280px, 72vw); border-radius: 26px; }
.art-fig-phone .phone { --w: min(280px, 72vw); }
.art-fig-phone .cap { text-align: center; }
@media (max-width: 560px) { .art-fig-pair { grid-template-columns: 1fr; } }

/* The first picture: never a person (RUNBOOK A0.4). */
.art-hero-fig { margin: 0; display: grid; justify-items: center; }
.art-hero-fig .phone { --w: min(300px, 72vw); }
.art-hero-fig .cap { text-align: center; }
.art-hero-month { margin: 0; }
/* A licensed series as the first picture: a place or a plant, credited under it. */
.art-hero-photo { margin: 0; display: grid; justify-items: center; gap: 12px; }
.art-hero-photo .art-pic { width: min(100%, 52rem); }
.art-hero-square .art-pic { width: min(100%, 34rem); }
.art-hero-photo .cap { max-width: 44rem; text-align: center; }
.art-month { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: clamp(16px, 3vw, 36px); align-items: center; padding: clamp(14px, 3vw, 28px); border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; }
.month-dots .kept { background: var(--amber); }
@media (max-width: 700px) { .art-month { grid-template-columns: minmax(0, 1fr); justify-items: center; } .art-month .endcard { width: 100%; } }

.art-scrub { max-width: 340px; margin: 28px auto 0; }
.art-wipe { aspect-ratio: 4 / 3; margin-top: 28px; }

/* The comparison: a table on a laptop, a card per question on a phone. */
.art-table-wrap { margin: 28px 0 0; }
.art-table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.5; }
.art-table th, .art-table td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--hair); }
.art-table thead th { font: 600 12px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); }
.art-table thead th:last-child { color: var(--amber); }
.art-table tbody th { width: 22%; color: var(--chalk); font-weight: 600; }
.art-table td { color: var(--dim); }
.art-table td:last-child { color: var(--chalk); background: var(--surface); }
@media (max-width: 720px) {
  .art-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .art-table, .art-table tbody, .art-table tr, .art-table th, .art-table td { display: block; width: auto; }
  .art-table tr { padding: 16px 0; border-bottom: 1px solid var(--hair); }
  .art-table th, .art-table td { padding: 0; border: 0; }
  .art-table tbody th { width: auto; margin-bottom: 10px; font: 600 12px/1.3 var(--sans); letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber); }
  .art-table td + td { margin-top: 10px; }
  .art-table td::before { content: attr(data-label); display: block; font-size: 13.5px; font-weight: 600; color: var(--chalk); }
  .art-table td:last-child { padding: 10px 12px; border-radius: var(--r-control); }
}

/* The download button inside an article: small, in the flow, never a prompt. */
.art-cta { margin: 44px 0; padding: clamp(20px, 3vw, 32px); border-radius: var(--r-card); background: radial-gradient(80% 120% at 0% 0%, rgba(240, 184, 87, 0.10), transparent 60%), var(--surface); box-shadow: 0 0 0 1px var(--hair-2) inset; }
.art-body .art-cta-title { margin: 0; font: 400 clamp(26px, 3vw, 34px)/1.1 var(--serif); color: var(--chalk); }
.art-body .art-cta-line { margin: 10px 0 0; }
.art-cta .actions { margin-top: 20px; }
.art-cta .cap { margin-top: 12px; }

/* Read next, and the guides' index. */
.art-more { margin-top: clamp(48px, 7vw, 80px); }
.art-more-title { margin: 0 0 14px; font: 600 12px/1.2 var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.art-more-list, .guides-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.art-more-card, .guide-card { display: grid; align-content: start; gap: 8px; height: 100%; padding: 20px 22px; border-radius: var(--r-card); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; color: var(--chalk); text-decoration: none; transition: background .2s var(--ease); }
.art-more-card:hover, .guide-card:hover { background: var(--surface-2); }
.art-more-name { font: 400 24px/1.15 var(--serif); }
.art-more-name em { font-style: italic; color: var(--amber); }
.art-more-line, .guide-card-line { font-size: 14.5px; line-height: 1.55; color: var(--dim); }
.band-guides { padding-top: calc(var(--top-h) + clamp(48px, 7vw, 96px)); }
.guides-head { max-width: 820px; margin-bottom: clamp(36px, 5vw, 56px); }
.guides-also { max-width: 44em; margin: clamp(28px, 4vw, 40px) 0 0; color: var(--dim); font-size: 15px; line-height: 1.6; }
.guides-also a { color: var(--chalk); }
.guides-list { gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.guide-card { gap: 12px; padding: clamp(22px, 3vw, 30px); min-height: 220px; }
.guide-card-eyebrow { font: 600 12px/1.3 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); }
.guide-card-title { font: 400 clamp(26px, 2.6vw, 32px)/1.1 var(--serif); text-wrap: balance; }
.guide-card-tool { box-shadow: 0 0 0 1px var(--hair-2) inset; background: radial-gradient(90% 120% at 100% 0%, rgba(240, 184, 87, 0.08), transparent 60%), var(--surface); }

/* THE TIMELAPSE LENGTH CALCULATOR
   /tools/timelapse-calculator (tools/site/pages/tool-timelapse-calculator.mjs).
   The before & after maker's controls (seg, tool-label), then one answer:
   the length big, the sentence under it, and every pace as a row, the
   refused ones dimmed with the app's own reason. On a computer the controls
   sit beside the answer; on a phone above it. */
.tl { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 24px clamp(24px, 4vw, 56px); align-items: start; }
.tl-controls { display: grid; gap: 22px; }
.tl .seg { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); } /* two by two: "Every other day" never breaks */
.tl-long { display: grid; gap: 0; }
.tl-long-row { display: grid; grid-template-columns: minmax(0, 1fr) 96px; align-items: center; gap: 12px; min-height: 44px; }
.tl-long-row input { width: 100%; min-height: 32px; margin: 0; accent-color: var(--amber); }
.tl-long-row output { text-align: right; font: 600 15px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--chalk); }
.tl-note { margin: 0; }
.tl-answer { display: grid; gap: 10px; padding: clamp(18px, 2.4vw, 28px); border-radius: var(--r-sheet); background: var(--ink-2); box-shadow: 0 0 0 1px var(--hair) inset; }
.tl-eyebrow { margin: 0; font: 600 12.5px/1.2 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); }
.tl-big { margin: 0; font: 400 clamp(56px, 8vw, 96px)/0.95 var(--serif); letter-spacing: -0.02em; color: var(--amber); font-variant-numeric: tabular-nums; }
.tl-range { margin: 2px 0 0; font: 500 16px/1.4 var(--sans); color: var(--chalk); }
.tl-line { margin: 0 0 6px; max-width: 34em; color: var(--dim); font-size: 15px; line-height: 1.5; text-wrap: pretty; }
.tl-parts { margin: -2px 0 6px; max-width: 40em; color: var(--dim); font-size: 13.5px; line-height: 1.5; text-wrap: pretty; }
.tl-range[hidden], .tl-parts[hidden] { display: none; }
.tl-paces { display: grid; gap: 4px; margin: 0; padding: 0; list-style: none; }
.tl-pace { display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: baseline; gap: 4px 14px; min-height: 44px; padding: 10px 12px; border-radius: var(--r-control); background: var(--surface); }
.tl-pace-name { font: 700 15px/1.2 var(--sans); color: var(--chalk); }
.tl-pace-desc { font-size: 13.5px; line-height: 1.4; color: var(--faint); text-wrap: pretty; }
.tl-pace-len { font: 600 15px/1.2 var(--sans); font-variant-numeric: tabular-nums; color: var(--chalk); text-align: right; white-space: nowrap; }
.tl-pace-each { display: block; margin-top: 3px; font: 400 12.5px/1.2 var(--sans); color: var(--faint); }
.tl-pace.is-no { background: transparent; box-shadow: 0 0 0 1px var(--hair) inset; }
.tl-pace.is-no .tl-pace-name { color: var(--dim); }

.tl-table-wrap { overflow-x: auto; border-radius: var(--r-sheet); box-shadow: 0 0 0 1px var(--hair) inset; }
.tl-table-wrap:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.tl-table { width: 100%; min-width: 520px; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.tl-table th, .tl-table td { padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--hair); }
.tl-table thead th { font: 600 12.5px/1.2 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--faint); }
.tl-table tbody th { font: 600 14.5px/1.2 var(--sans); color: var(--dim); white-space: nowrap; }
.tl-table td { font: 600 15px/1.2 var(--sans); color: var(--chalk); }
.tl-table td small { display: block; margin-top: 2px; font: 400 12px/1.2 var(--sans); color: var(--faint); white-space: nowrap; }
.tl-table td.is-no { font-weight: 400; color: var(--faint); }
.tl-table tbody tr:last-child th, .tl-table tbody tr:last-child td { border-bottom: 0; }

@media (max-width: 900px) {
  .tl { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 520px) {
  .tl-pace { grid-template-columns: minmax(0, 1fr) auto; }
  .tl-pace-desc { grid-column: 1 / -1; grid-row: 2; }
}

/* THE WEEK-BY-WEEK PROGRESS GRID
   /tools/progress-grid (tools/site/pages/tool-progress-grid.mjs). The before
   & after maker's frame (.tool, its stage, slot, ranges and seg), with one
   add button in place of the two slots, a strip of the photos in order, and
   the chosen photo's own controls. Six kinds of label sit three by two. */
.pg .tool-slots { grid-template-columns: minmax(0, 1fr); }
.pg-pick.is-full { opacity: 0.6; cursor: default; }
.pg-pick.is-full input { cursor: default; }
.pg-order { display: grid; gap: 0; }
.pg-strip { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.pg-strip:empty { display: none; }
.pg-thumb { position: relative; display: block; width: 100%; aspect-ratio: 1; padding: 0; overflow: hidden; border: 0; border-radius: var(--r-thumb); background: var(--fill-solid); cursor: pointer; }
.pg-thumb canvas { display: block; width: 100%; height: 100%; }
.pg-thumb-n { position: absolute; left: 4px; bottom: 4px; min-width: 20px; padding: 2px 5px; border-radius: 999px; background: rgba(8, 9, 11, 0.7); font: 700 12px/1.2 var(--sans); color: var(--chalk); text-align: center; font-variant-numeric: tabular-nums; }
.pg-thumb[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--amber) inset, 0 0 0 2px var(--amber); }
.pg-thumb:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }
.pg-two { margin: 10px 0 0; color: var(--dim); font-size: 14.5px; line-height: 1.45; }
.pg-two a { color: var(--amber); text-underline-offset: 3px; }
.pg-photo { display: grid; gap: 12px; padding: 14px; border-radius: var(--r-control); background: var(--surface); box-shadow: 0 0 0 1px var(--hair) inset; }
.pg-photo-name { margin: 0; font: 600 14.5px/1.35 var(--sans); color: var(--dim); }
.pg-photo-tools { display: grid; gap: 12px; }
.pg-photo-tools[hidden] { display: none; }
.pg-photo-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-photo-actions .btn { flex: 1 1 auto; }
.pg-photo-actions .btn:disabled { opacity: 0.42; cursor: default; transform: none; }
.pg-labels { display: grid; gap: 10px; }
.pg-labels .seg { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pg-first { display: grid; grid-template-columns: auto 96px; align-items: center; justify-content: start; gap: 12px; font-size: 14.5px; color: var(--dim); }
.pg-first .tool-input { font-variant-numeric: tabular-nums; }
.pg-first:has(input:disabled) { opacity: 0.42; }

/* ---------------------------------------------------- Black Friday line */
/* home.mjs dealBar: one line fixed above the header, only while site.js
   `deal` shows it (the window, by the visitor's clock), never on an iPhone
   (data-android). One line at any width: below 760px it drops the old price and
   "See the deal". While it shows, --bar-h moves the header and every
   offset down by its height. */
.deal-bar { position: fixed; inset: 0 0 auto 0; z-index: 51; display: flex; align-items: center; justify-content: center; gap: 6px;
  height: var(--deal-bar-h); padding: 0 var(--gutter); background: #17130d; border-bottom: 1px solid rgba(240, 184, 87, .22);
  color: var(--dim); font: 500 14px/20px var(--sans); text-decoration: none; white-space: nowrap; overflow: hidden; }
.deal-bar[hidden] { display: none; }
.deal-bar s { color: var(--dim); text-decoration-thickness: 1.5px; }
.deal-bar b { color: var(--chalk); font-weight: 700; }
.deal-bar-more { color: var(--dim); }
.deal-bar .i { width: 16px; height: 16px; color: var(--amber); transition: translate .25s var(--ease); }
.deal-bar:hover .i { translate: 3px 0; }
.deal-bar-go { color: var(--amber); font-weight: 600; }
.deal-bar:hover .deal-bar-go { color: var(--chalk); }
@media (max-width: 760px) { .deal-bar-more { display: none; } }
@media (min-width: 640px) { :root { --deal-bar-h: 52px; } }
:root:not(.is-ios):has(.deal-bar:not([hidden])) { --bar-h: var(--deal-bar-h); }
.deal-bar-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.deal-bar-go { margin-left: 4px; }
@media (max-width: 400px) { .deal-bar-name { display: none; } }
/* TrimLink's banner clock (CountdownClock.tsx; owner, 26 Nov 2026): four
   inset cells, each a two-digit number and its unit, darker than the line
   so it reads at a glance; the same sizes, here by the page's width. */
.deal-clock { display: flex; flex: none; gap: 4px; margin-left: 2px; }
.deal-clock:empty { display: none; }
.deal-cell { display: flex; align-items: baseline; justify-content: center; gap: 3px; height: 34px; min-width: 38px; padding: 7px 4px 0;
  border-radius: 4px; background: #0b0905; box-shadow: inset 0 0 0 1px rgba(240, 184, 87, .26);
  color: var(--amber-pale); font: 600 12px/1 var(--sans); }
.deal-cell b { color: var(--chalk); font: 700 20px/1 var(--sans); font-variant-numeric: tabular-nums; }
@media (min-width: 380px) { .deal-cell { min-width: 44px; padding: 7px 6px 0; } .deal-cell b { font-size: 21px; } }
@media (min-width: 640px) { .deal-clock { gap: 6px; } .deal-cell { height: 40px; min-width: 52px; padding: 8px 8px 0; font-size: 13px; } .deal-cell b { font-size: 26px; } }
.deal-swap s { text-decoration-thickness: 1.5px; opacity: .6; }
/* Black Friday, louder (owner, 20 Nov 2026), all only in the window: the
   "-40%" tag (checkout.mjs DEAL_OFF) on the top line, as a sticker on the
   hero's button and as Forever's corner ribbon; the time left (site.js
   `dealLeft`); a warmer card; a light sweep across Forever's button. */
.deal-pct { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font: 700 12px/1 var(--sans); letter-spacing: .02em; font-variant-numeric: tabular-nums; white-space: nowrap; }
.deal-left { font-variant-numeric: tabular-nums; }
.hero-get-plus { position: relative; }
.hero-get-plus .deal-pct { position: absolute; top: -11px; right: -12px; rotate: 6deg; box-shadow: 0 6px 16px -6px rgba(240, 184, 87, .8); }
.pc-ribbon { position: absolute; top: -10px; right: 10px; z-index: 1; padding: 4px 9px; border-radius: 999px; background: var(--amber); color: var(--amber-ink); font: 700 11.5px/1 var(--sans); letter-spacing: .02em; white-space: nowrap; rotate: 3deg; box-shadow: 0 6px 16px -6px rgba(240, 184, 87, .8); pointer-events: none; }
.pc-ribbon[hidden] { display: none; }
/* The line under the button is a flex row with an 8px gap; pull the time
   left in so "1 Dec · 3d 14h left" reads as one phrase. */
/* The card's clock: the line on top's clock (TrimLink's banner clock; owner,
   26 Nov 2026), on its own row under "Black Friday, until 1 Dec", in line
   with the words (the tag icon is 18px, the gap 8px). */
.pc-deal:has(.pc-clock:not([hidden])) { flex-wrap: wrap; row-gap: 10px; }
.pc-clock { display: flex; flex-basis: 100%; padding-left: 26px; }
.pc-clock[hidden] { display: none; }
.pc-clock .deal-clock { margin-left: 0; }
.pc.is-deal { box-shadow: 0 0 0 1px rgba(240, 184, 87, .45) inset, 0 40px 100px -40px rgba(240, 184, 87, .6); }
.pc.is-deal .pc-go-forever { position: relative; overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .pc.is-deal .pc-go-forever::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255, 255, 255, .5) 50%, transparent 70%); translate: -100% 0; animation: deal-shine 3.2s var(--ease) 1s infinite; pointer-events: none; }
}
@keyframes deal-shine { 0% { translate: -100% 0; } 40%, 100% { translate: 100% 0; } }

/* ------------------------------------------------- the 75-second tour -- */
/* home.mjs TOUR, site.js tour: our poster, then YouTube's player on tap. */
.tour-band { overflow: clip; }
.tour-band .head { margin-bottom: clamp(28px, 4vw, 48px); }
.tour { position: relative; max-width: 1040px; margin: 0 auto; aspect-ratio: 16 / 9; border-radius: var(--r-sheet); overflow: hidden; background: var(--ink-3);
  box-shadow: 0 0 0 1px var(--hair-2) inset, 0 50px 140px -50px rgba(240, 184, 87, 0.55), 0 30px 70px -30px rgba(0, 0, 0, 0.85); }
.tour-poster, .tour-frame { position: absolute; inset: 0; display: block; width: 100%; height: 100%; border: 0; object-fit: cover; }
.tour-frame { z-index: 2; background: #000; }
.tour-play { position: absolute; inset: 0; display: grid; place-items: center; color: var(--amber-ink); text-decoration: none; background: radial-gradient(closest-side, rgba(8, 9, 11, 0.28), transparent); cursor: pointer; }
.tour.is-playing .tour-play { display: none; }
.tour-btn { position: relative; display: grid; place-items: center; width: clamp(72px, 9vw, 108px); aspect-ratio: 1; border-radius: 50%; background: var(--amber); box-shadow: 0 16px 44px -10px rgba(240, 184, 87, 0.75); transition: transform .5s var(--spring); }
.tour-btn::before, .tour-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(240, 184, 87, 0.7); animation: tour-ring 2.6s var(--ease) infinite; }
.tour-btn::after { animation-delay: 1.3s; }
.tour-btn .i { width: 36%; height: 36%; margin-left: 7%; fill: currentColor; stroke: currentColor; }
.tour-play:hover .tour-btn, .tour-play:focus-visible .tour-btn { transform: scale(1.07); }
.tour-play:focus-visible { outline: 2px solid var(--amber); outline-offset: -4px; border-radius: inherit; }
.tour-len { position: absolute; right: 16px; bottom: 14px; padding: 7px 11px; border-radius: 999px; background: rgba(14, 16, 19, 0.74); color: var(--chalk); font: 600 13px/1 var(--sans); letter-spacing: 0.02em; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.tour-note { margin: 14px 0 0; text-align: center; color: var(--faint); font-size: 13.5px; }
@keyframes tour-ring { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .tour-btn::before, .tour-btn::after { animation: none; opacity: 0; } }
