/* Timebank v9 · one stylesheet, one grid, one spacing scale, one type scale.
   System: docs in DESIGN.md. Nothing here hides content; motion is added by js/main.js. */

@font-face { font-family: "Geist"; src: url("../assets/fonts/geist-200_700-normal.woff2") format("woff2"); font-weight: 200 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/geist-mono-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("../assets/fonts/geist-mono-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Fallback"; src: local("Arial"); size-adjust: 104%; ascent-override: 92%; descent-override: 22%; line-gap-override: 0%; }

:root {
  /* palette */
  --paper: #F4F4F2;
  --white: #FFFFFF;
  --ink: #0C0C0D;
  --muted: #62626A;
  --line: rgba(12, 12, 13, .12);
  --night: #0B0C0E;
  --night-2: #141518;
  --d-ink: #F4F4F2;
  --d-muted: #A4A4AC;
  --d-line: rgba(244, 244, 242, .14);
  --accent: #FF5200;
  --accent-ink: #B43A00;
  --bad: #C4202F;

  /* grid */
  --max: 1320px;
  --mx: clamp(20px, 5vw, 72px);
  --gap: clamp(16px, 2vw, 24px);

  /* spacing scale (4px base) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px; --s10: 128px;
  --sec: clamp(80px, 9.5vw, 144px);

  /* type scale (7 sizes) */
  --t-display: clamp(2.625rem, 1.35rem + 4.9vw, 5.75rem);
  --t-h2: clamp(2rem, 1.25rem + 3vw, 4rem);
  --t-h3: clamp(1.25rem, 1.08rem + .7vw, 1.625rem);
  --t-lede: clamp(1.0625rem, 1rem + .3vw, 1.25rem);
  --t-body: 1rem;
  --t-small: .875rem;
  --t-micro: .75rem;

  --sans: "Geist", "Geist Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* shape + motion */
  --r-s: 0; --r-m: 0; --r-l: 0; --r-pill: 0;   /* sharp everywhere (NK 26 Nov); app replicas keep their own corners */
  --ease: cubic-bezier(.16, 1, .3, 1);
  --shadow: 0 1px 2px rgba(12, 12, 13, .04), 0 12px 32px -12px rgba(12, 12, 13, .16);

  /* context (light by default) */
  --bg: var(--paper); --fg: var(--ink); --fg-2: var(--muted); --ln: var(--line);
  --card: var(--white);
  --btn-bg: var(--ink); --btn-fg: var(--white);
  --field: var(--white);
}
.white { --bg: var(--white); --card: var(--paper); --field: var(--paper); }
.dark {
  --bg: var(--night); --fg: var(--d-ink); --fg-2: var(--d-muted); --ln: var(--d-line);
  --card: var(--night-2);
  --btn-bg: var(--d-ink); --btn-fg: var(--ink);
  --field: rgba(244, 244, 242, .07);
  --bad: #FF8E8E;
}

/* ── base ───────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 var(--t-body)/1.55 var(--sans); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, video, canvas, svg { display: block; max-width: 100%; }
img, video { height: auto; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
em, i { font-style: normal; }
b { font-weight: 500; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 0; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: fixed; left: max(var(--mx) - 8px, 8px); top: var(--s3); z-index: 200; display: grid; place-content: center; min-width: 220px; height: 56px; padding: 0 var(--s5); border-radius: var(--r-pill); background: var(--ink); color: var(--white); transform: translateY(-200%); }
.skip:focus { transform: none; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; stroke-linecap: round; }

/* ── grid ───────────────────────────────────────────────────────────────── */
.wrap { width: min(100% - 2 * var(--mx), var(--max)); margin-inline: auto; position: relative; }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.grid > * { grid-column: 1 / -1; min-width: 0; }

.sec { position: relative; padding-block: var(--sec); background: var(--bg); color: var(--fg); }
.sec-head { margin-bottom: var(--s8); row-gap: var(--s5); }

/* ── type ───────────────────────────────────────────────────────────────── */
.display { font-size: var(--t-display); line-height: .98; letter-spacing: -.045em; font-weight: 500; text-wrap: balance; }
.h2 { font-size: var(--t-h2); line-height: 1.02; letter-spacing: -.04em; font-weight: 500; text-wrap: balance; }
.h2-xl { font-size: var(--t-display); line-height: .98; letter-spacing: -.045em; }
.h3 { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; }
.soft { color: var(--fg-2); }
.lede { font-size: var(--t-lede); line-height: 1.5; color: var(--fg-2); max-width: 34em; text-wrap: pretty; }
.fine { display: flex; gap: var(--s2); align-items: flex-start; font-size: var(--t-small); line-height: 1.5; color: var(--fg-2); max-width: 44em; }
.fine .ic { margin-top: .15em; }
.soon { display: inline-block; vertical-align: middle; padding: 3px 9px; border: 1px solid var(--ln); border-radius: var(--r-pill); font: 500 var(--t-micro)/1.4 var(--mono); letter-spacing: .02em; text-transform: uppercase; color: var(--fg-2); white-space: nowrap; }
.ulink { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.link, .trust-next a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat, linear-gradient(var(--ln), var(--ln)) 0 100% / 100% 1.5px no-repeat; transition: background-size .5s var(--ease); }
.link:hover, .trust-next a:hover, .link:focus-visible, .trust-next a:focus-visible { background-size: 100% 1.5px, 100% 1.5px; }
.link { display: inline-flex; align-items: center; gap: var(--s2); min-height: 28px; font-weight: 500; }
.link .ic { transition: transform .4s var(--ease); }
.link:hover .ic { transform: translate(2px, -2px); }

/* line masks written by SplitText */
.split-line { overflow: clip; padding-bottom: .08em; margin-bottom: -.08em; }

/* ── buttons: the sci-fi button (from v1, NK 26 Nov) ─────────────────────
   Chamfered top-left and bottom-right corners, a corner tick, an orange square before the label.
   On hover the orange floods out from where the pointer came in (--fx/--fy, set by js/main.js),
   and drains back toward where it left. Without the script it floods from the centre. */
.btn { --cut: 10px; --fx: 50%; --fy: 50%; position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: var(--s2); height: 52px; padding: 0 var(--s5); border: 0; border-radius: 0; background: var(--btn-bg); color: var(--btn-fg); font-size: .9375rem; font-weight: 500; letter-spacing: -.01em; white-space: nowrap; overflow: hidden;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: color .35s var(--ease), scale .25s var(--ease); }
.btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--accent); clip-path: circle(0% at var(--fx) var(--fy)); transition: clip-path .55s var(--ease); }
.btn::after { content: ""; position: absolute; right: 5px; top: 5px; width: 6px; height: 6px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; opacity: .5; transition: translate .4s var(--ease), opacity .3s var(--ease); }
.btn .inner { display: inline-flex; align-items: center; gap: 10px; }
.btn:hover, .btn:focus-visible, .btn.is-on { color: var(--ink); }
.btn:hover::before, .btn:focus-visible::before, .btn.is-on::before { clip-path: circle(150% at var(--fx) var(--fy)); }
.btn:hover::after, .btn:focus-visible::after, .btn.is-on::after { translate: 2px -2px; opacity: 1; }
.btn:focus-visible { outline: none; }
.btn:active { scale: .97; }
.btn[disabled] { opacity: .6; cursor: progress; }
.btn-sm { --cut: 8px; height: 40px; padding: 0 var(--s4); font-size: var(--t-small); }
.btn-sm::after { right: 4px; top: 4px; width: 5px; height: 5px; }
.btn-line { background: transparent; color: var(--fg); box-shadow: inset 0 0 0 1px var(--ln); }

/* ── nav: a full-width bar. Clear over the hero film, a soft paper bar after ── */
.nav { position: fixed; z-index: 90; inset: 0 0 auto 0; color: var(--ink); }
.nav::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(244, 244, 242, .84); -webkit-backdrop-filter: saturate(1.5) blur(20px); backdrop-filter: saturate(1.5) blur(20px); border-bottom: 1px solid rgba(12, 12, 13, .09); transition: opacity .45s var(--ease); }
.nav.is-clear { color: var(--d-ink); }
.nav.is-clear::before { opacity: 0; }
.nav-in { display: flex; align-items: center; gap: var(--s6); height: 68px; width: min(100% - 2 * var(--mx), var(--max)); margin-inline: auto; transition: color .45s var(--ease); }
.nav-brand, .nf-top > a:first-child { display: flex; align-items: center; height: 40px; margin-right: auto; transition: opacity .3s var(--ease), translate .4s var(--ease); }
.nav-brand:hover, .nf-top > a:first-child:hover { opacity: .7; translate: 2px 0; }
.nav-brand img { width: 138px; }
.nav .logo-white, .nav.is-clear .logo-ink { display: none; }
.nav.is-clear .logo-white { display: block; }
.nav-links { display: none; gap: var(--s6); }
.nav-links a { position: relative; padding: var(--s2) 0; font-size: .9375rem; font-weight: 500; letter-spacing: -.005em; opacity: .7; transition: opacity .3s var(--ease); }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1.5px; background: currentColor; scale: 0 1; transform-origin: 0 50%; transition: scale .45s var(--ease); }
.nav-links a:hover, .nav-links a[aria-current] { opacity: 1; }
.nav-links a:hover::after, .nav-links a[aria-current]::after { scale: 1 1; }
.nav .btn { --btn-bg: var(--ink); --btn-fg: var(--white); height: 42px; padding: 0 var(--s5); }
.nav.is-clear .btn { --btn-bg: var(--d-ink); --btn-fg: var(--ink); }
.nav-menu { display: grid; place-content: center; gap: 6px; width: 42px; height: 42px; margin-right: -9px; border: 0; background: transparent; color: inherit; }
.nav-menu span { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .4s var(--ease); }
.nav-menu[aria-expanded="true"] span:first-child { transform: translateY(3.75px) rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { transform: translateY(-3.75px) rotate(-45deg); }
.nav:has(.nav-menu[aria-expanded="true"]) { color: var(--ink); }
.nav:has(.nav-menu[aria-expanded="true"])::before { opacity: 1; }
.nav:has(.nav-menu[aria-expanded="true"]) .logo-ink { display: block; }
.nav:has(.nav-menu[aria-expanded="true"]) .logo-white { display: none; }
.nav:has(.nav-menu[aria-expanded="true"]) .btn { --btn-bg: var(--ink); --btn-fg: var(--white); }
.menu { background: rgba(244, 244, 242, .97); border-bottom: 1px solid rgba(12, 12, 13, .09); color: var(--ink); }
.menu nav { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--gap); width: min(100% - 2 * var(--mx), var(--max)); margin-inline: auto; padding: var(--s3) 0 var(--s5); }
.menu a { padding: var(--s3) 0; border-bottom: 1px solid rgba(12, 12, 13, .08); font-size: 1.0625rem; font-weight: 500; }
@media (min-width: 1024px) {
  .nav-links { display: flex; margin-right: auto; }
  .nav-menu, .menu { display: none; }
}
@media (max-width: 420px) {
  .nav-in { gap: var(--s3); height: 60px; }
  .nav-brand img { width: 112px; }
  .nav .btn-sm { height: 38px; padding: 0 var(--s4); font-size: .8125rem; }
}

/* ── the page grid, drawn as light (dark sections only) ─────────────────── */
.lines { position: absolute; inset: 0; overflow: hidden; pointer-events: none; --lx: 72%; --ly: 28%; }
.lines::before { content: ""; position: absolute; inset: 0 auto 0 50%; width: min(100% - 2 * var(--mx), var(--max)); translate: -50% 0; border-right: 1px solid rgba(244, 244, 242, .1);
  background: linear-gradient(to right, rgba(244, 244, 242, .1) 1px, transparent 1px) 0 0 / calc((100% + var(--gap)) / 12) 100%;
  -webkit-mask-image: radial-gradient(460px circle at var(--lx) var(--ly), #000, transparent 100%); mask-image: radial-gradient(460px circle at var(--lx) var(--ly), #000, transparent 100%); }
.lines::after { content: ""; position: absolute; inset: 0; background: radial-gradient(520px circle at var(--lx) var(--ly), rgba(150, 175, 215, .13), transparent 70%); }
.dark > .wrap, .band > :not(.lines) { position: relative; z-index: 1; }

/* ── join (the one form, four places) ───────────────────────────────────── */
.join { display: grid; gap: var(--s3); max-width: 520px; }
.wl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--s2); padding: 6px; border-radius: var(--r-pill); background: var(--field); box-shadow: inset 0 0 0 1px var(--ln); transition: box-shadow .3s var(--ease); }
.wl:focus-within { box-shadow: inset 0 0 0 1.5px var(--fg); }
.wl input[type="email"] { min-width: 0; height: 52px; padding: 0 var(--s2) 0 var(--s5); border: 0; background: transparent; color: var(--fg); font-size: 1rem; outline: 0; }
.wl input[type="email"]:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; border-radius: var(--r-pill); }
.wl input::placeholder { color: var(--fg-2); opacity: 1; }
.wl .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.wl .msg { grid-column: 1 / -1; padding: 0 var(--s5); font-size: var(--t-small); color: var(--fg-2); }
.wl .msg:empty { display: none; }
.wl .msg[data-err] { color: var(--bad); padding-bottom: var(--s2); }
.wl-done { display: none; padding: var(--s4) var(--s5); border-radius: var(--r-m); background: var(--field); box-shadow: inset 0 0 0 1px var(--ln); font-weight: 500; }
.wl-done.on { display: block; }
.wl-done::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: var(--s3); border-radius: 50%; background: #30A46C; }
.join-note, .seats, .joined-row { display: flex; align-items: center; gap: var(--s2); padding-left: var(--s2); font-size: var(--t-small); color: var(--fg-2); }
.join-note b, .joined-row b { color: var(--fg); }
.seats { flex-wrap: wrap; }
.seats b { color: var(--fg); }
.seats-dot { width: 7px; height: 7px; margin: 0 5px 0 4px; border-radius: 0; background: var(--accent); box-shadow: 0 0 0 0 rgba(255, 82, 0, .5); animation: pulse 2.4s var(--ease) infinite; }
.seats-bar { flex-basis: 100%; height: 3px; margin-top: var(--s1); border-radius: 2px; background: var(--ln); overflow: hidden; }
.seats-bar i { display: block; height: 100%; background: var(--accent); }
@keyframes pulse { 70%, 100% { box-shadow: 0 0 0 9px rgba(255, 82, 0, 0); } }
@media (max-width: 479px) {
  .wl { grid-template-columns: 1fr; border-radius: var(--r-l); }
  .wl input[type="email"] { padding-left: var(--s4); }
  .wl .btn { width: 100%; }
}

/* ── 1 · hero: the film fills the screen, the words sit on its dark side ──── */
.hero { position: relative; isolation: isolate; overflow: hidden; display: grid; min-height: 100svh; padding: calc(68px + var(--s7)) 0 var(--s6); background: var(--night); color: var(--fg); }
.hero-film { position: absolute; inset: 0; z-index: -1; }
.film-poster, .film-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 42%; }
.film-video { opacity: 0; transition: opacity .9s var(--ease); }
.film-video.on { opacity: 1; }
.hero-film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11, 12, 14, .96) 0%, rgba(11, 12, 14, .9) 40%, rgba(11, 12, 14, .28) 72%, rgba(11, 12, 14, .34) 100%), linear-gradient(0deg, rgba(11, 12, 14, .92) 0%, rgba(11, 12, 14, 0) 34%), linear-gradient(180deg, rgba(11, 12, 14, .55) 0%, rgba(11, 12, 14, 0) 22%); }
.hero-grid { grid-template-rows: 1fr auto; row-gap: var(--s7); }
.hero-copy { display: grid; gap: var(--s6); align-content: center; }
.h1-a, .h1-b { display: block; }
.h1-b { color: var(--fg-2); }
.hero-lede { max-width: 31em; color: #C3C3CA; }
.trust { display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); padding-top: var(--s5); border-top: 1px solid var(--ln); font-size: var(--t-small); color: #C3C3CA; }
.trust li { display: flex; align-items: center; gap: var(--s2); }
.trust-next { margin-left: auto; }
.trust-next a { min-height: 28px; display: inline-flex; align-items: center; gap: var(--s2); color: var(--fg); font-weight: 500; }
.trust-next .ic { transition: transform .4s var(--ease); }
.trust-next a:hover .ic { transform: translateY(3px); }
@media (min-width: 1024px) {
  .hero-copy { grid-column: 1 / span 7; }
}
@media (max-width: 1023px) {
  .hero { padding-top: calc(68px + var(--s6)); }
  .hero-film::after { background: linear-gradient(180deg, rgba(11, 12, 14, .82) 0%, rgba(11, 12, 14, .7) 55%, rgba(11, 12, 14, .94) 100%); }
  .trust-next { margin-left: 0; flex-basis: 100%; }
}

/* ── 2 · the year ───────────────────────────────────────────────────────── */
.yearcard { row-gap: var(--s6); align-items: end; padding: clamp(24px, 4vw, 56px); border-radius: var(--r-l); background: var(--white); }
.yearcard-n { display: grid; gap: var(--s4); }
.yearcard-big { display: grid; gap: var(--s2); }
.yearcard-big b { font-size: clamp(5rem, 2.5rem + 9vw, 10rem); line-height: .8; letter-spacing: -.06em; font-weight: 500; font-variant-numeric: tabular-nums; }
.yearcard-big > span { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; max-width: 11em; }
.yearcard-left { color: var(--fg-2); }
.yearcard-left b { color: var(--accent-ink); font-variant-numeric: tabular-nums; }
.legend { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s5); margin-top: var(--s3); font: 400 var(--t-micro)/1.5 var(--mono); color: var(--fg-2); }
.legend li { display: flex; align-items: center; gap: var(--s2); }
.legend li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.lg-gone::before { box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .4); }
.lg-today::before { background: var(--accent); }
.lg-left::before { background: var(--ink); }
.dots { display: grid; gap: var(--s4); }
.dots canvas { width: 100%; height: auto; aspect-ratio: 31 / 13; }
.dots figcaption { display: flex; justify-content: space-between; gap: var(--s4); min-height: 1.5em; font-size: var(--t-small); color: var(--fg-2); }
.dots-hover { font: 400 var(--t-small)/1.5 var(--mono); color: var(--fg); white-space: nowrap; }
.year-lower { margin-top: var(--s8); row-gap: var(--s7); align-items: stretch; }
.stats { display: grid; grid-auto-rows: 1fr; }
.stat { display: grid; gap: var(--s3); align-content: center; padding: var(--s5) 0; border-top: 1px solid var(--ln); }
.stat:last-child { border-bottom: 1px solid var(--ln); }
.stat-n { font-size: var(--t-h2); line-height: 1; letter-spacing: -.04em; font-weight: 500; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat > div { display: grid; gap: var(--s2); align-content: start; }
.stat-t { max-width: 24em; }
.stat-s { font: 400 var(--t-micro)/1.5 var(--mono); color: var(--fg-2); }
.yours { display: grid; gap: var(--s5); padding: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--white); }
.born { display: grid; gap: var(--s2); }
.born label { font-size: var(--t-small); color: var(--fg-2); }
.born-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.born input { width: 132px; height: 52px; padding: 0 var(--s5); border: 0; border-radius: var(--r-pill); background: var(--paper); box-shadow: inset 0 0 0 1px var(--ln); font-size: 1.125rem; font-variant-numeric: tabular-nums; outline-offset: 2px; }
.born-out div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s4); padding: var(--s4) 0; border-top: 1px solid var(--ln); }
.born-out div:last-child { border-bottom: 1px solid var(--ln); }
.born-out dt { color: var(--fg-2); }
.born-out dd { font-size: var(--t-h3); font-weight: 500; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
@media (hover: none) { .dots-hover { display: none; } }
@media (min-width: 640px) {
  .stat { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--gap); align-items: center; }
}
@media (min-width: 768px) {
  .sec-head .h2 { grid-column: 1 / span 10; }
  .sec-head .lede { grid-column: 1 / span 7; }
}
@media (min-width: 1024px) {
  .sec-head .h2 { grid-column: 1 / span 9; }
  .sec-head .lede { grid-column: 1 / span 6; }
  .yearcard-n { grid-column: 1 / span 4; }
  .yearcard .dots { grid-column: 5 / -1; }
  .stats { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; column-gap: var(--gap); }
  .stats .stat { grid-template-columns: 1fr; align-content: start; gap: var(--s4); padding: var(--s5) 0 0; border-bottom: 0; }
}

/* ── 3 · one day (js/day.js) ────────────────────────────────────────────────
   Without the pinned story (phones, reduced motion, no script) this is plain
   content: the finished ring, the day as a list, the dinner opened four ways.
   App values: text #282828 / #525252 / #7A7A7A (the grey is darkened to #6B6B6B on the site for AA contrast), cards white radius 20, page #F0F0F0. */
.day { --a-ink: #282828; --a-2: #525252; --a-3: #6B6B6B; --a-bg: #F0F0F0; }
.day-grid { row-gap: var(--s7); align-items: center; }
.day-copy { display: grid; gap: var(--s6); align-content: start; }
.day-title { display: grid; gap: var(--s5); }
.day-list { display: grid; gap: var(--s5); }
.moments { display: grid; border-top: 1px solid var(--ln); }
.moments li { display: grid; grid-template-columns: 28px 5.6em minmax(0, 1fr) auto; align-items: center; gap: var(--s3); min-height: 48px; padding: 0 var(--s2); border-bottom: 1px solid var(--ln); border-radius: 0; transition: opacity .5s var(--ease), background-color .5s var(--ease); }
.m-ic { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--c); }
.m-ic svg { width: 15px; height: 15px; }
.moments time { font: 400 var(--t-small)/1 var(--mono); color: var(--fg-2); white-space: nowrap; }
.moments span { font-weight: 500; min-width: 0; }
.moments em { font-size: var(--t-small); font-style: normal; color: var(--fg-2); text-align: right; }
.moments.is-live li { opacity: .45; }
.moments.is-live li.on { opacity: 1; }
.moments.is-live li.now { background: var(--a-bg); border-bottom-color: transparent; }
.day-out { font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; max-width: 20em; text-wrap: balance; }
@media (max-width: 559px) {
  .moments li { grid-template: auto auto / 28px 4.9em minmax(0, 1fr); grid-template-areas: "ic t s" "ic t e"; row-gap: 2px; padding-block: 9px; }
  .moments li > .m-ic { grid-area: ic; } .moments time { grid-area: t; } .moments span { grid-area: s; } .moments em { grid-area: e; text-align: left; }
}

/* the dinner, opened: a heading and a line per step, then what the app keeps with it */
.day-steps { display: grid; gap: var(--s8); }
.day-step { display: grid; gap: var(--s5); }
.ds-txt { display: grid; gap: var(--s4); }
.ds-h { font-size: var(--t-h2); line-height: 1.04; letter-spacing: -.035em; font-weight: 500; text-wrap: balance; }
.ds-line { font-size: var(--t-lede); line-height: 1.55; color: var(--fg-2); max-width: 30em; text-wrap: pretty; }
.day-end { display: grid; gap: var(--s4); }
.day-kept { display: block; }
.dk-ic { display: inline-grid; place-items: center; width: .74em; height: .74em; margin-right: .22em; border-radius: 50%; background: var(--c); vertical-align: -.06em; }
.dk-ic svg { width: 52%; height: 52%; }
.day-kept > span { min-width: 0; }

.ds-art { display: grid; gap: 8px; max-width: 420px; font-family: var(--sans); color: var(--a-ink); }
.ds-card { background: #fff; border-radius: 20px; box-shadow: inset 0 0 0 1px #F0F0F0, 0 1px 2px rgba(0, 0, 0, .03), 0 10px 24px -14px rgba(0, 0, 0, .18); }
/* the picked activity: a white, fully rounded list card (TBListCard, 48 pt tile) */
.ds-act { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #F0F0F0, 0 10px 24px -14px rgba(0, 0, 0, .2); }
.ds-act-ic, .ds-tl, .ds-call-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 999px; background: var(--c); }
.ds-act-ic svg, .ds-tl svg, .ds-call-ic svg { width: 22px; height: 22px; }
.ds-act span, .ds-person > span:not(.ds-face), .ds-call span { display: grid; gap: 4px; min-width: 0; }
.ds-act b, .ds-person b, .ds-call b { font-size: 17px; line-height: 1.2; font-weight: 600; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-act small, .ds-person small, .ds-call small { font-size: 14px; line-height: 1.25; color: var(--a-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ds-act i, .ds-call i { font-style: normal; }
/* TBAverageHRCard */
.ds-hr { display: grid; gap: 4px; padding: 12px; }
.ds-hr-t { font-size: 17px; font-weight: 600; color: var(--a-2); }
.ds-hr-v { display: flex; align-items: center; gap: 8px; }
.ds-hr-v b { font-size: 22px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ds-chip { display: inline-grid; place-items: center; height: 24px; padding: 0 12px; border-radius: 8px; background: #F0F0F0; color: var(--a-2); font-size: 12px; font-weight: 600; }
.ds-hr-s { font-size: 15px; color: var(--a-2); }
.ds-plot { margin-top: 8px; padding: 12px 12px 6px; border-radius: 8px; background: rgba(0, 0, 0, .05); }
.ds-plot svg { display: block; width: 100%; height: 118px; overflow: visible; }
.ds-plot text { font: 500 11px var(--sans); fill: var(--a-3); }
/* TBDataCard, small */
.ds-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.ds-data { display: grid; gap: 8px; padding: 16px; }
.ds-data-h { display: flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 500; color: var(--a-3); white-space: nowrap; }
.ds-data-h svg { width: 13px; height: 13px; }
.ds-data-h svg [fill="#fff"] { fill: var(--a-3); }
.ds-data-v b { font-size: 20px; font-weight: 700; font-variant-numeric: tabular-nums; }
.ds-data-v small { font-size: 13px; color: var(--a-3); }
/* people: separated, fully rounded cards (TBUserListCard, 48 pt avatar, bond badge) */
.ds-sub { padding: 8px 8px 0; font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--a-2); }
.ds-cards { display: grid; gap: 8px; }
.ds-person { display: flex; align-items: center; gap: 14px; padding: 12px 16px 12px 12px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #F0F0F0, 0 10px 24px -14px rgba(0, 0, 0, .18); }
.ds-person > span:not(.ds-face) { flex: 1; }
.ds-face { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.ds-face-i { display: grid; place-items: center; background: #F0F0F0; color: var(--a-2); font-size: 20px; font-weight: 600; }
.ds-badge, .ds-tag { flex: none; display: inline-grid; place-items: center; height: 28px; padding: 0 14px; border-radius: 8px; background: #E7F8F0; color: #2A8E5E; font: 600 12px var(--sans); font-style: normal; }
.ds-tag { background: #F0F0F0; color: var(--a-2); }
.ds-chain .is-this { box-shadow: inset 0 0 0 1.5px rgba(0, 0, 0, .85); }
.ds-chain .is-this .ds-tag { background: #282828; color: #fff; }
/* the place: a light map, the app's place pin with its rotating time ring, and the callout card */
.ds-map { position: relative; overflow: hidden; aspect-ratio: 2 / 1; }
.ds-map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ds-pin { position: absolute; left: 50%; top: 55.5%; display: grid; place-items: center; width: 24px; height: 24px; margin: -12px 0 0 -12px; border-radius: 50%; background: var(--c); box-shadow: 0 0 0 1px #fff, 0 1px 3px rgba(0, 0, 0, .3); }
.ds-pin svg { width: 12px; height: 12px; }
.ds-ring-t { position: absolute; left: 50%; top: 55.5%; width: 80px; height: 80px; margin: -40px 0 0 -40px; overflow: visible; animation: ds-turn 30s linear infinite; }
.ds-ring-t text { font: 600 9px var(--sans); letter-spacing: .6px; fill: var(--a-2); }
@keyframes ds-turn { to { transform: rotate(360deg); } }
.ds-credit { position: absolute; left: 10px; bottom: 6px; font-size: 9px; line-height: 1; color: rgba(40, 40, 40, .55); }
.ds-call { display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #F0F0F0, 0 10px 24px -14px rgba(0, 0, 0, .2); }

/* the Time Logs ring, and (story only) the Activities screen it settles into */
.day-stage { position: relative; display: grid; justify-items: center; }
.ring { position: relative; margin: 0; }
.ring svg { display: block; width: 100%; max-width: 316px; height: auto; margin-inline: auto; overflow: visible; font-family: var(--sans); }
.tl-labels text { font-size: 12px; font-weight: 600; text-anchor: middle; dominant-baseline: central; font-variant-numeric: tabular-nums; }
.ip, .day-art:empty { display: none; }

@media (min-width: 1024px) {
  .day-copy { grid-column: 1 / span 5; }
  .day-stage { grid-column: 7 / -1; align-self: start; position: sticky; top: 112px; }
}
/* the pinned story (NK's sketch, 24 Nov): one title place on the left that updates step by step; on the right a
   contained grey panel holding the chart, the data above it, and at the end the iPhone on a soft glow */
.day-glow { display: none; }
@media (min-width: 1024px) and (min-height: 640px) {
  .day.is-story { height: 100svh; padding-block: 92px 28px; overflow: clip; }
  .day.is-story .day-grid { height: 100%; align-content: center; align-items: start; }
  .day.is-story .day-copy { position: relative; align-self: start; display: block; margin-top: clamp(8px, 4%, 40px); }
  .day.is-story .day-titles { display: grid; }
  .day.is-story .day-titles > * { grid-area: 1 / 1; align-self: start; }
  .day.is-story .day-list { position: absolute; left: 0; right: 0; top: calc(100% + var(--s5)); }
  .day.is-story .day-steps, .day.is-story .day-out { display: none; }
  .day.is-story .day-stage { grid-column: 7 / -1; position: relative; top: auto; align-self: start; width: 100%; aspect-ratio: 4 / 3; max-height: 100%; display: block; border-radius: 0; background: #F0F0F0; overflow: hidden; isolation: isolate; }
  .day.is-story .day-glow { display: block; position: absolute; inset: 0; z-index: 0; background: radial-gradient(60% 50% at 25% 20%, rgba(234, 52, 142, .16), transparent 70%), radial-gradient(55% 45% at 80% 35%, rgba(44, 114, 241, .16), transparent 70%), radial-gradient(60% 50% at 50% 95%, rgba(104, 42, 243, .14), transparent 70%), #F3F2F7; }
  .day.is-story .ring { position: absolute; left: 50%; top: 50%; width: 316px; height: 348px; margin: -174px 0 0 -158px; z-index: 2; }
  .day.is-story .day-art { position: absolute; left: 50%; z-index: 3; display: block; translate: -50% 0; }
  .day.is-story .day-art .ds-art { position: absolute; inset: 0 0 auto; max-width: none; }
  .day.is-story .day-fine { position: absolute; left: 0; bottom: 0; }
  .day.is-story .ip { display: block; position: absolute; left: 50%; top: 50%; width: 417px; height: 876px; margin: -438px 0 0 -208.5px; z-index: 1; }
}
/* the body step as sketched: the activity across the top, the heart rate card, two tiles beside it */
.ds-body { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); align-items: stretch; }
.ds-body .ds-act { grid-column: 1 / -1; }
.ds-body .ds-tiles { grid-template-columns: 1fr; align-content: stretch; }
.ds-body .ds-data { align-content: space-between; }
@media (min-width: 1024px) and (max-height: 820px) {
  .day-copy { gap: var(--s4); }
  .moments li { min-height: 40px; }
  .day .h2, .ds-h { font-size: clamp(2rem, 1rem + 2.6vw, 3.25rem); }
  .day .lede, .ds-line { font-size: 1rem; }
}

/* the iPhone and its Activities screen (393 x 852 pt screen in a 12 pt bezel) */
.ip-frame { position: absolute; inset: 0; border-radius: 66px; background: #1C1C1E; box-shadow: inset 0 0 0 2px #3A3A3C, 0 50px 90px -40px rgba(12, 12, 13, .45); }
.ip-screen { position: absolute; inset: 12px; border-radius: 54px; overflow: hidden; background: #F0F0F0; font-family: var(--sans); color: #282828; }
.ip-status { position: absolute; inset: 0 0 auto; height: 54px; display: flex; align-items: center; justify-content: space-between; padding: 6px 34px 0 46px; }
.ip-status b { font-size: 17px; font-weight: 600; }
.ip-clock::before { content: "11:02"; }   /* the iOS status bar shows no AM / PM; kept out of the copy */
.ip-island { position: absolute; left: 50%; top: 11px; width: 124px; height: 36px; margin-left: -62px; border-radius: 20px; background: #000; }
.ip-bars { display: flex; gap: 3px; align-items: flex-end; }
.ip-bars i { width: 4px; border-radius: 1px; background: #282828; }
.ip-bars i:nth-child(1) { height: 6px; } .ip-bars i:nth-child(2) { height: 9px; } .ip-bars i:nth-child(3) { height: 12px; }
.ip-top { position: absolute; left: 16px; right: 16px; top: 64px; display: flex; align-items: center; gap: 4px; }
.ip-top b { font-size: 20px; font-weight: 600; letter-spacing: -.01em; }
.ip-top svg { width: 20px; height: 20px; fill: none; stroke: #282828; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.ip-week { position: absolute; left: 16px; right: 16px; top: 106px; display: flex; justify-content: space-between; }
.ip-week span { display: grid; justify-items: center; align-content: start; gap: 6px; width: 48px; height: 56px; padding-top: 7px; border-radius: 14px; background: #fff; }
.ip-week span.off { background: rgba(0, 0, 0, .05); }
.ip-week span.on { box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .75); }
.ip-week b { font-size: 11px; font-weight: 500; }
.ip-week i { width: 20px; height: 20px; border-radius: 50%; border: 2.5px solid #E0E0E0; border-top-color: #2C72F1; border-right-color: #EA348E; }
.ip-week span.off i { border-color: rgba(0, 0, 0, .08); }
.ip-ringcard { position: absolute; left: 16px; right: 16px; top: 178px; height: 372px; border-radius: 20px; background: #fff; box-shadow: inset 0 0 0 1px #F0F0F0; }
.ip-ctrl { position: absolute; left: 12px; right: 12px; bottom: 12px; display: flex; gap: 8px; }
.ip-ctrl i { width: 40px; height: 40px; border-radius: 8px; box-shadow: inset 0 0 0 1px #E0E0E0; }
.ip-ctrl i:first-child { margin-right: auto; }
.ip-ctrl i.off { opacity: .35; }
.ip-list { position: absolute; left: 16px; right: 16px; top: 566px; border-radius: 20px; background: #fff; }
.ip-list li { display: flex; align-items: center; gap: 12px; padding: 12px; }
.ip-ic { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 8px; background: var(--c); }
.ip-ic svg { width: 22px; height: 22px; }
.ip-list span { display: grid; gap: 4px; }
.ip-list b { font-size: 17px; font-weight: 600; }
.ip-list small { font-size: 14px; color: #6B6B6B; }

/* ── 4 · your book ──────────────────────────────────────────────────────── */
.book-grid { row-gap: var(--s6); align-items: center; }
.book-tabs { display: grid; border-top: 1px solid var(--ln); }
.book-tabs li { border-bottom: 1px solid var(--ln); }
.book-tab { position: relative; display: grid; grid-template-columns: clamp(64px, 7vw, 96px) minmax(0, 1fr); align-items: center; gap: var(--s5); width: 100%; padding: var(--s5) var(--s4); border: 0; border-radius: 0; background: transparent; color: inherit; text-align: left; transition: background-color .5s var(--ease); }
.book-tab:hover { background: rgba(255, 255, 255, .55); }
.book-tab.on { background: var(--white); }
.book-art { display: flex; align-items: center; justify-content: center; height: clamp(64px, 7vw, 96px); transition: scale .6s var(--ease), rotate .6s var(--ease); }
.book-art svg { flex: none; width: auto; height: 100%; overflow: visible; }
.book-tab:hover .book-art, .book-tab.on .book-art { scale: 1.08; rotate: -3deg; }
.book-txt { display: grid; gap: var(--s1); }
.book-txt b { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.02em; }
.book-txt > span { color: var(--fg-2); max-width: 28em; }
.book-txt > em { margin-top: var(--s1); font: 400 var(--t-micro)/1.5 var(--mono); color: var(--fg-2); }
.book-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; overflow: hidden; }
.book-bar i { display: block; height: 100%; background: var(--ink); transform: scaleX(0); transform-origin: 0 50%; }
.book-tab.on .book-bar i { transform: scaleX(1); }
.shot { border-radius: var(--r-l); overflow: hidden; background: var(--card); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.book-stage { position: relative; aspect-ratio: 4 / 3; }
.book-stage img { position: absolute; inset: 0; opacity: 0; scale: 1.06; transition: opacity .8s var(--ease), scale 1.6s var(--ease); }
.book-stage img.on { opacity: 1; scale: 1; }
@media (min-width: 1024px) {
  .book-tabs { grid-column: 1 / span 5; }
  .book-stage { grid-column: 7 / -1; }
}
@media (max-width: 1023px) {
  .book-stage { order: -1; }
}

/* ── 2 · automatic: the app's own day list (TBTimeline / TBListCard, light) ─── */
.auto-grid { row-gap: var(--s7); align-items: center; }
.auto-copy { display: grid; gap: var(--s5); }
.saved { display: grid; gap: var(--s4); }
.tl { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); }
.tl::before { content: ""; position: absolute; inset: 0; border-radius: 0; background: var(--white); box-shadow: 0 1px 2px rgba(12, 12, 13, .04), 0 24px 48px -28px rgba(12, 12, 13, .22); }
.tl li { display: contents; }
.tl-you { display: none; }
.tl-row { position: relative; z-index: 1; grid-column: -2 / -1; display: flex; align-items: flex-start; gap: 14px; padding: 14px 18px 14px 14px; }
.tl li + li .tl-row::before { content: ""; position: absolute; left: 76px; right: 14px; top: 0; height: 1px; background: #EFEFEF; }
.tl li:not(:last-child) .tl-row::after { content: ""; position: absolute; left: 37.25px; top: 62px; bottom: -14px; width: 1.5px; background: #EFEFEF; }
.tl-ic { position: relative; z-index: 1; flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 6px; background: var(--c); }
.tl-ic svg { width: 22px; height: 22px; }
.tl-txt { display: grid; gap: 4px; align-self: center; min-width: 0; }
.tl-txt b { font-size: 1.0625rem; line-height: 1.3; font-weight: 600; letter-spacing: -.012em; color: #282828; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-txt span { font-size: .875rem; line-height: 1.35; letter-spacing: -.01em; color: #6B6B6B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-fine { justify-self: end; }
@media (min-width: 1024px) {
  .auto-copy { grid-column: 1 / span 5; }
  .saved { grid-column: 7 / -1; }
}

/* ── 6 · private ────────────────────────────────────────────────────────── */
.private-grid { row-gap: var(--s7); align-items: stretch; }
.vows { display: grid; gap: var(--s6); align-content: space-between; }
.vow-list li { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: var(--s1) var(--s4); padding: var(--s5) 0; border-top: 1px solid var(--ln); }
.vow-list li:last-child { border-bottom: 1px solid var(--ln); }
.vow-list .ic { width: 20px; height: 20px; margin-top: 2px; }
.vow-list h3 { font-size: 1.0625rem; font-weight: 500; letter-spacing: -.01em; }
.vow-list p { grid-column: 2; font-size: .9375rem; color: var(--fg-2); }
.vow-line { padding-left: var(--s4); border-left: 2px solid var(--accent); color: var(--fg-2); }
.vow-line b { color: var(--fg); }
.vow-cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s5); }
@media (min-width: 1024px) {
  .vows { grid-column: 9 / -1; }
}

/* ── 7, 8, 10, 11 · split sections with a mockup slot ───────────────────── */
.split { row-gap: var(--s7); align-items: center; }
.split-copy { display: grid; gap: var(--s5); }
.split-copy .lede { margin-bottom: var(--s2); }
.tag { margin-bottom: calc(var(--s2) * -1); }
.facts li { display: grid; align-content: start; gap: var(--s1); padding: var(--s4) 0; border-top: 1px solid var(--ln); }
.facts li:last-child { border-bottom: 1px solid var(--ln); }
.facts span { font-size: .9375rem; color: var(--fg-2); }
@media (min-width: 640px) {
  .facts:not(.facts-2) li { grid-template-columns: 11em minmax(0, 1fr); gap: var(--s5); }
  .facts-2 { display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--gap); }
  .facts-2 li:nth-last-child(2) { border-bottom: 1px solid var(--ln); }
}
.legs { position: relative; display: grid; }
.legs li { position: relative; display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 0 var(--s5); padding: var(--s3) 0 var(--s3) var(--s5); }
.legs li::before { content: ""; position: absolute; left: 0; top: 1.25em; width: 9px; height: 9px; border-radius: 0; background: var(--bg); box-shadow: inset 0 0 0 2px var(--fg); }
.legs li::after { content: ""; position: absolute; left: 4px; top: calc(1.25em + 13px); bottom: calc(-1.25em + 4px); width: 1px; background: var(--ln); }
.legs li:last-child::after { display: none; }
.legs li:last-child::before { background: var(--fg); }
.legs time { grid-row: span 2; font: 400 var(--t-small)/1.7 var(--mono); color: var(--fg-2); }
.legs span { font-size: .9375rem; color: var(--fg-2); }

.ph { position: relative; aspect-ratio: 4 / 5; max-height: 720px; width: 100%; border-radius: var(--r-l); background: var(--card); overflow: hidden; display: grid; place-items: center; }
.ph-screen { position: relative; height: 80%; aspect-ratio: 9 / 19.2; border-radius: 13% / 6.2%; box-shadow: 0 0 0 5px #121214, 0 0 0 6px #3a3a3e, 0 40px 60px -30px rgba(12, 12, 13, .45);
  background:
    radial-gradient(90% 55% at 18% 8%, color-mix(in srgb, var(--a) 62%, white), transparent 70%),
    radial-gradient(95% 60% at 92% 96%, color-mix(in srgb, var(--b) 70%, white), transparent 68%),
    radial-gradient(60% 40% at 80% 30%, color-mix(in srgb, var(--a) 22%, white), transparent 70%),
    #F4F4F2;
  background-size: 140% 140%; animation: drift 14s ease-in-out infinite alternate; }
.ph-screen::before { content: ""; position: absolute; top: 2.6%; left: 50%; width: 30%; height: 3.6%; translate: -50% 0; border-radius: 999px; background: #121214; }
.ph-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
@keyframes drift { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
.ph-duo .ph-screen { grid-area: 1 / 1; translate: 22% 4%; }
.ph-duo .ph-back { translate: -24% -4%; scale: .94; filter: saturate(.7); animation-delay: -6s; }
.ph figcaption { position: absolute; inset: 0; pointer-events: none; }
.chip { position: absolute; display: grid; grid-template-columns: auto auto; justify-content: start; align-items: center; gap: 0 var(--s2); padding: var(--s3) var(--s4); border-radius: 0; background: rgba(255, 255, 255, .96); color: var(--ink); box-shadow: var(--shadow); }
.chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.chip b { font-size: var(--t-small); letter-spacing: -.01em; white-space: nowrap; }
.chip em { grid-column: 1 / -1; font: 400 var(--t-micro)/1.5 var(--mono); color: var(--muted); white-space: nowrap; }
.chip-a { left: 6%; top: 13%; }
.chip-b { right: 6%; top: 46%; }
.chip-c { left: 9%; bottom: 13%; }
@media (min-width: 1024px) {
  .split-copy { grid-column: 1 / span 6; }
  .split .ph { grid-column: 8 / -1; }
  .split-flip .split-copy { grid-column: 7 / -1; order: 2; }
  .split-flip .ph { grid-column: 1 / span 5; order: 1; }
}
@media (max-width: 1023px) {
  .ph { aspect-ratio: 1; max-height: 620px; }
}
@media (max-width: 479px) {
  .ph { aspect-ratio: 4 / 5; }
  .chip-a { left: 4%; } .chip-b { right: 4%; } .chip-c { left: 4%; }
}
/* sections of the same ground sit closer together */
.trips, .together { padding-top: 0; }

/* ── 9 · mid-page join ──────────────────────────────────────────────────── */
.start { padding-top: 0; }
.band { position: relative; overflow: hidden; row-gap: var(--s7); align-items: end; padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 80px); border-radius: var(--r-l); background: var(--bg); color: var(--fg); }
.band-copy { display: grid; gap: var(--s5); }
@media (min-width: 1024px) {
  .band-copy { grid-column: 1 / span 7; }
  .band-join { grid-column: 8 / -1; justify-self: end; width: 100%; }
}

/* ── 12 · offer ─────────────────────────────────────────────────────────── */
.offer-grid { row-gap: var(--s7); align-items: center; }
.offer-copy { display: grid; gap: var(--s5); }
.offer-copy .join { margin-top: var(--s3); }
.offer-card { display: grid; gap: var(--s6); padding: clamp(24px, 4vw, 48px); border-radius: var(--r-l); background: var(--white); }
.offer-big { display: flex; align-items: flex-end; gap: var(--s5); }
.offer-big b { font-size: clamp(6rem, 3rem + 11vw, 11rem); line-height: .78; letter-spacing: -.06em; font-weight: 500; color: var(--accent); }
.offer-big span { padding-bottom: .2em; font-size: var(--t-h3); line-height: 1.15; letter-spacing: -.02em; font-weight: 500; }
.gets li { position: relative; padding: var(--s3) 0 var(--s3) var(--s6); border-top: 1px solid var(--ln); }
.gets li::before { content: ""; position: absolute; left: 2px; top: 50%; width: 12px; height: 7px; translate: 0 -70%; rotate: -45deg; border-left: 1.6px solid var(--ink); border-bottom: 1.6px solid var(--ink); }
@media (min-width: 1024px) {
  .offer-copy { grid-column: 1 / span 6; }
  .offer-card { grid-column: 8 / -1; }
}

/* ── 13 · questions ─────────────────────────────────────────────────────── */
.faq-grid { row-gap: var(--s7); align-items: start; }
.faq-head { display: grid; gap: var(--s5); }
.faq-more { color: var(--fg-2); max-width: 24em; }
.qa { border-bottom: 1px solid var(--ln); }
.qa details { border-top: 1px solid var(--ln); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: var(--s5); padding: var(--s5) 0; font-size: var(--t-h3); line-height: 1.25; letter-spacing: -.02em; font-weight: 500; cursor: pointer; list-style: none; transition: color .3s var(--ease); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; flex: none; width: 36px; height: 36px; border-radius: 0; box-shadow: inset 0 0 0 1px var(--ln);
  background: linear-gradient(var(--ink), var(--ink)) center / 12px 1.5px no-repeat, linear-gradient(var(--ink), var(--ink)) center / 1.5px 12px no-repeat; transition: rotate .5s var(--ease), background-color .3s var(--ease); }
.qa summary:hover::after { background-color: rgba(12, 12, 13, .06); }
.qa details[open] summary::after { rotate: 45deg; }
.qa details p { max-width: 38em; padding-bottom: var(--s5); color: var(--fg-2); font-size: 1.0625rem; }
@supports (interpolate-size: allow-keywords) {
  .qa { interpolate-size: allow-keywords; }
  .qa details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
  .qa details[open]::details-content { block-size: auto; }
}
@media (min-width: 1024px) {
  .faq-head { grid-column: 1 / span 4; position: sticky; top: 112px; }
  .qa { grid-column: 6 / -1; }
}

/* ── 14 · join ──────────────────────────────────────────────────────────── */
.final-grid { row-gap: var(--s7); align-items: center; }
.final-copy { display: grid; gap: var(--s6); }
.final-art { display: grid; justify-items: center; gap: var(--s4); }
.final-page { width: min(300px, 64%); aspect-ratio: 102.5 / 116; }
.final-page svg { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 30px 50px rgba(120, 150, 200, .22)); }
.final-art figcaption { font: 400 var(--t-small)/1.5 var(--mono); color: var(--fg-2); text-align: center; }
@media (min-width: 1024px) {
  .final-copy { grid-column: 1 / span 7; }
  .final-art { grid-column: 9 / -1; }
}

/* ── footer ─────────────────────────────────────────────────────────────── */
.foot { position: relative; padding: var(--s9) 0 var(--s6); background: var(--bg); color: var(--fg); border-top: 1px solid var(--ln); }
.foot-grid { row-gap: var(--s7); }
.foot-line { font-size: var(--t-h3); line-height: 1.2; letter-spacing: -.02em; font-weight: 500; max-width: 16em; }
.foot-nav { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s6) var(--gap); }
.foot-nav div { display: grid; align-content: start; gap: var(--s2); }
.foot-nav p { margin-bottom: var(--s2); font: 400 var(--t-micro)/1.5 var(--mono); text-transform: uppercase; letter-spacing: .02em; color: var(--fg-2); }
.foot-nav a { width: fit-content; min-width: 24px; min-height: 24px; color: var(--fg-2); transition: color .3s var(--ease); }
.foot-nav a:hover { color: var(--fg); }
.foot-mark { margin: var(--s9) 0 var(--s6); overflow: hidden; }
.foot-mark img { width: 100%; }
.foot-base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s4) var(--s6); padding-top: var(--s5); border-top: 1px solid var(--ln); font-size: var(--t-small); color: var(--fg-2); }
.foot-tv { display: inline-flex; align-items: center; gap: var(--s3); min-height: 24px; }
.foot-tv img { width: 168px; opacity: .8; transition: opacity .3s var(--ease); }
.foot-tv:hover img { opacity: 1; }
@media (min-width: 1024px) {
  .foot-line { grid-column: 1 / span 5; }
  .foot-nav { grid-column: 7 / -1; }
}

/* ── phone dock ─────────────────────────────────────────────────────────── */
.dock { position: fixed; z-index: 80; left: var(--s3); right: var(--s3); bottom: calc(var(--s3) + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: var(--s4); padding: 6px var(--s5) 6px 6px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: inset 0 0 0 1px rgba(12, 12, 13, .08), 0 16px 32px -16px rgba(12, 12, 13, .4); font-size: var(--t-small); font-weight: 500; translate: 0 140%; transition: translate .6s var(--ease); }
.dock.on { translate: 0 0; }
.dock .btn { height: 44px; flex: none; }
.dock span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .8125rem; }
@media (min-width: 768px) { .dock { display: none; } }
.joined .dock { display: none; }

/* ── cursor: a dot on the pointer and a hairline ring that follows with weight (js/main.js).
   Over anything you can press the ring wraps it as a sharp frame; over a field the dot becomes a caret.
   It adds to the native cursor, never replaces it. Mouse and trackpad only. */
.cursor { position: fixed; z-index: 120; inset: 0 auto auto 0; pointer-events: none; opacity: 0; transition: opacity .3s linear; mix-blend-mode: difference; }
.cur-ring { position: fixed; left: 0; top: 0; width: 34px; height: 34px; border: 1px solid rgba(255, 255, 255, .9); border-radius: 50%; transition: border-radius .4s var(--ease), border-color .3s linear, scale .3s var(--ease), opacity .25s linear; }
.cur-dot { position: fixed; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), border-radius .3s var(--ease), opacity .25s linear; }
.cursor.is-lock .cur-ring { border-radius: 0; border-color: #fff; }
.cursor.is-lock .cur-dot { opacity: 0; }
.cursor.is-text .cur-ring { opacity: 0; }
.cursor.is-text .cur-dot { width: 2px; height: 22px; margin: -11px 0 0 -1px; border-radius: 1px; }
.cursor.is-down .cur-ring { scale: .86; }
.cur-label { position: fixed; left: 0; top: 0; opacity: 0; }
.has-cursor .cursor { opacity: 1; }
.cursor.is-idle { opacity: 0 !important; }

/* ── insights: the six Journal Page cards (js/insights.js) ───────────────────
   Each card is drawn in its 366 x 280 reference and scales with its width:
   --u is one reference point. Values are the app's (JournalCardMetrics). */
.ins-row { display: grid; grid-template-columns: repeat(1, minmax(0, 1fr)); gap: var(--s7) var(--gap); }
.ins-item { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s4); align-content: start; min-width: 0; }
.ins-cap { display: grid; gap: var(--s1); }
.ins-cap b { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2) var(--s3); }
.ins-cap span { color: var(--fg-2); }
.jc { position: relative; width: 100%; container-type: inline-size; aspect-ratio: 366 / 280; }
.jc-card { --u: calc(100cqw / 366); position: absolute; inset: 0; overflow: hidden; border-radius: calc(24 * var(--u)); color: #fff; background: var(--fb); box-shadow: 0 calc(18 * var(--u)) calc(40 * var(--u)) calc(-22 * var(--u)) rgba(12, 12, 13, .35); transition: translate .6s var(--ease), box-shadow .6s var(--ease); }
.jc:hover .jc-card { translate: 0 calc(-4 * var(--u)); box-shadow: 0 calc(28 * var(--u)) calc(50 * var(--u)) calc(-24 * var(--u)) rgba(12, 12, 13, .45); }
.jc-time { --fb: #1F9D50; } .jc-body { --fb: #B77BF7; } .jc-personal { --fb: #F58A2A; } .jc-work { --fb: #2A93FF; } .jc-people { --fb: #5A5AF8; } .jc-journey { --fb: #EFEEEA; }
.jc-bg, .jc-fill { position: absolute; inset: 0; }
.jc-bg svg, .jc-fill svg { width: 100%; height: 100%; }
.jc-in { position: absolute; inset: 0; display: flex; flex-direction: column; padding: calc(20 * var(--u)); }
.jc-gap { gap: calc(24 * var(--u)); }
.jc-head { flex: none; height: calc(22 * var(--u)); }
.jc-title { font-size: calc(16 * var(--u)); line-height: calc(22 * var(--u)); font-weight: 700; letter-spacing: -.01em; }
.jc-arrow { position: absolute; top: calc(8 * var(--u)); right: calc(8 * var(--u)); display: grid; place-items: center; width: calc(40 * var(--u)); height: calc(40 * var(--u)); border-radius: 50%; background: rgba(255, 255, 255, .15); box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(255, 255, 255, .28); transition: rotate .6s var(--ease), background-color .4s var(--ease); }
.jc-arrow svg { width: calc(18 * var(--u)); height: calc(18 * var(--u)); fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
.jc:hover .jc-arrow { rotate: 45deg; background: rgba(255, 255, 255, .28); }
.jc-grow { flex: 1 1 0; min-height: 0; display: flex; align-items: center; }
.jc-num { font-size: calc(72 * var(--u)); line-height: calc(48 * var(--u)); font-weight: 200; letter-spacing: -.073em; white-space: nowrap; font-variant-numeric: normal; }
.jc-num-plain { letter-spacing: 0; }
.jc-sub { font-size: calc(12 * var(--u)); line-height: calc(16 * var(--u)); font-weight: 500; color: rgba(255, 255, 255, .6); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; line-clamp: 3; overflow: hidden; }
.jc-sub b { font-weight: 500; color: rgba(255, 255, 255, .95); }
.jc-foot { flex: none; display: flex; align-items: flex-start; gap: calc(29 * var(--u)); }
.jc-foot > .jc-sub { flex: 1 1 0; }
.jc-foot-end { align-items: flex-end; gap: calc(12 * var(--u)); justify-content: space-between; }
.jc-grids { display: flex; gap: calc(16 * var(--u)); }
.jc-grid { display: grid; gap: calc(3 * var(--u)); width: calc(51 * var(--u)); }
.jc-grid > span:first-child { height: calc(12 * var(--u)); margin-bottom: calc(2 * var(--u)); font-size: calc(10 * var(--u)); line-height: calc(12 * var(--u)); font-weight: 500; color: rgba(255, 255, 255, .6); }
.jc-dots { display: flex; gap: calc(var(--gap) * var(--u)); }
.jc-dots i { width: calc(6 * var(--u)); height: calc(6 * var(--u)); border-radius: 50%; background: #fff; opacity: var(--o); }
/* body */
.jc-center { align-items: center; justify-content: space-between; text-align: center; }
.jc-center .jc-head { align-self: stretch; text-align: left; }
.jc-score { display: grid; justify-items: center; }
.jc-score .jc-num { height: calc(48 * var(--u)); }
.jc-zone { margin-top: calc(16 * var(--u)); font-size: calc(16 * var(--u)); line-height: calc(22 * var(--u)); font-weight: 700; }
.jc-line { margin-top: calc(4 * var(--u)); width: calc(157 * var(--u)); font-size: calc(12 * var(--u)); line-height: calc(16 * var(--u)); font-weight: 500; color: rgba(255, 255, 255, .95); }
.jc-axis { align-self: stretch; display: grid; grid-template-columns: 1fr 1fr 1fr; height: calc(12 * var(--u)); font-size: calc(11 * var(--u)); line-height: calc(12 * var(--u)); font-weight: 500; color: rgba(255, 255, 255, .95); }
.jc-axis span:first-child { text-align: left; } .jc-axis span:last-child { text-align: right; }
/* personal */
.jc-hex { position: absolute; width: calc(201.4 * var(--u)); height: calc(206.8 * var(--u)); right: calc(15 * var(--u)); top: calc(14.6 * var(--u)); }
.jc-chart svg { display: block; width: 100%; height: 100%; overflow: visible; font-family: var(--sans); }
.jc-status { flex: none; display: grid; gap: calc(4 * var(--u)); }
.jc-status > p:first-child { display: flex; align-items: baseline; gap: calc(8 * var(--u)); padding-bottom: calc(2 * var(--u)); white-space: nowrap; }
.jc-status > p:first-child b { font-size: calc(14 * var(--u)); line-height: calc(20 * var(--u)); font-weight: 600; }
.jc-status > p:first-child span { font-size: calc(12 * var(--u)); color: rgba(255, 255, 255, .95); }
.jc-status .jc-sub { -webkit-line-clamp: 2; line-clamp: 2; }
/* work */
.jc-overlap { position: absolute; left: calc(20 * var(--u)); top: calc(59 * var(--u)); width: calc(326 * var(--u)); height: calc(120 * var(--u)); }
.jc-status-w { width: calc(190 * var(--u)); }
.jc-status-w .jc-sub { width: calc(157 * var(--u)); }
.jc-status > p:first-child .jc-b16 { font-size: calc(16 * var(--u)); line-height: calc(22 * var(--u)); font-weight: 700; }
.jc-num-64 { height: calc(64 * var(--u)); line-height: calc(64 * var(--u)); }
/* people */
.jc-people { flex: 1 1 0; min-height: 0; display: flex; flex-direction: column; gap: calc(16 * var(--u)); }
.jc-people-top { display: grid; gap: calc(8 * var(--u)); }
.jc-numrow { display: flex; align-items: flex-end; gap: calc(8 * var(--u)); }
.jc-num-58 { height: calc(58 * var(--u)); line-height: calc(58 * var(--u)); }
.jc-numrow b { padding-bottom: calc(4 * var(--u)); font-size: calc(14 * var(--u)); line-height: calc(20 * var(--u)); font-weight: 600; }
.jc-people-top .jc-sub { -webkit-line-clamp: 2; line-clamp: 2; }
.jc-people-low { flex: 1 1 0; min-height: 0; display: flex; align-items: flex-end; gap: calc(16 * var(--u)); }
.jc-circles { flex: none; display: grid; gap: calc(8 * var(--u)); width: calc(118 * var(--u)); }
.jc-circles li { display: grid; grid-template-columns: calc(32 * var(--u)) 1fr auto; align-items: center; gap: calc(5 * var(--u)); height: calc(12 * var(--u)); font-size: calc(10 * var(--u)); line-height: calc(12 * var(--u)); font-weight: 500; color: rgba(255, 255, 255, .6); }
.jc-bubbles { position: relative; flex: 1 1 0; align-self: stretch; -webkit-mask-image: linear-gradient(to right, transparent, #000 22%, #000 86%, transparent); mask-image: linear-gradient(to right, transparent, #000 22%, #000 86%, transparent); }
.jc-bubble { position: absolute; left: 0; top: 0; display: grid; place-items: center; height: calc(var(--d) * 100%); aspect-ratio: 1; border-radius: 50%; will-change: transform;
  background: radial-gradient(circle at 42% 36%, transparent 50%, rgba(0, 0, 0, .28) 100%), var(--tint);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55), 0 3px 8px rgba(0, 0, 0, .18); }
.jc-bubble::before { content: ""; position: absolute; left: 11%; top: 6%; width: 46%; height: 26%; border-radius: 50%; rotate: -28deg; background: linear-gradient(rgba(255, 255, 255, .75), rgba(255, 255, 255, 0)); filter: blur(.5px); }
.jc-bubble b { font-size: calc(11 * var(--u)); font-weight: 600; color: rgba(12, 12, 13, .72); }
.jc-bubble img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 50%; z-index: -1; }
.jc-bubble:has(img) b { display: none; }
.jc-bubble { isolation: isolate; }
.jc-bubble:has(img) { background: radial-gradient(circle at 42% 36%, transparent 50%, rgba(0, 0, 0, .28) 100%); }
/* journey: the only light card (JournalJourneyMapCard, light) */
.jc-journey .jc-card { color: #282828; box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(0, 0, 0, .15), 0 calc(18 * var(--u)) calc(40 * var(--u)) calc(-22 * var(--u)) rgba(12, 12, 13, .35); }
.jc-journey .jc-bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jc-journey .jc-bg svg { position: absolute; inset: 0; font-family: var(--sans); }
.jc-pin { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.jc-osm { position: absolute; left: calc(8 * var(--u)); bottom: calc(6 * var(--u)); font-size: calc(7 * var(--u)); line-height: 1; color: rgba(40, 40, 40, .55); }
.jc-journey .jc-in::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 32%; background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); }
.jc-journey .jc-head { position: relative; }
.jc-journey .jc-arrow { background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); box-shadow: inset 0 0 0 calc(1 * var(--u)) rgba(12, 12, 13, .08), 0 calc(4 * var(--u)) calc(12 * var(--u)) rgba(12, 12, 13, .1); }
@media (max-width: 639px) {
  .ins-row { display: flex; gap: var(--s4); margin: calc(var(--s5) * -1) calc(var(--mx) * -1); padding: var(--s5) var(--mx) var(--s6); overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--mx); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .ins-row::-webkit-scrollbar { display: none; }
  .ins-item { flex: 0 0 88%; scroll-snap-align: start; }
}
@media (min-width: 640px) { .ins-row { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .ins-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* the scroll stage: one screen tall, words left, the queue of cards right */
.ins-shade { display: none; }
.ins-panel { display: none; }
/* the stage (js/insights.js stageInsights): words on the left, one diagonal queue of cards on the right */
.insights.is-stage { padding-block: 0; overflow: clip; }
.insights.is-stage > .wrap { position: relative; max-width: none; height: 100svh; padding: 0; }
.insights.is-stage .sec-head, .insights.is-stage .ins-panel { position: absolute; z-index: 1200; left: max(var(--mx), (100% - var(--max)) / 2 + var(--mx)); top: 50%; translate: 0 -50%; width: min(34vw, 500px); margin: 0; }
.insights.is-stage .sec-head { display: block; }
.insights.is-stage .sec-head .lede { margin-top: var(--s5); }
.insights.is-stage .sec-head .h2 { font-size: clamp(2.5rem, 1rem + 3.2vw, 4.5rem); line-height: 1.02; }
.insights.is-stage .ins-row { position: absolute; inset: 0; display: block; margin: 0; padding: 0; overflow: visible; }
.insights.is-stage .ins-item { position: absolute; left: 70%; top: 54%; display: block; width: var(--cw, 300px); will-change: transform; }
.insights.is-stage .ins-cap { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.insights.is-stage .jc-card { box-shadow: 0 calc(30 * var(--u)) calc(60 * var(--u)) calc(-18 * var(--u)) rgba(0, 0, 0, .7); }
.insights.is-stage .jc:hover .jc-card { translate: none; }
.insights.is-stage .ins-shade { display: block; position: absolute; inset: 0; border-radius: calc(24 * 100cqw / 366); background: #050506; opacity: 0; pointer-events: none; }
.insights.is-stage .ins-panel { display: grid; gap: var(--s4); align-content: start; }
.ins-count { display: flex; gap: var(--s2); align-items: baseline; font: 400 var(--t-small)/1 var(--mono); color: var(--fg-2); }
.ins-count b { color: var(--fg); font-weight: 500; }
.ins-name { font-size: clamp(2.5rem, 1rem + 3.2vw, 4.5rem); line-height: 1; letter-spacing: -.045em; font-weight: 500; }
.ins-line { min-height: 3em; font-size: clamp(1.125rem, 1rem + .5vw, 1.5rem); line-height: 1.4; color: var(--fg-2); max-width: 18em; text-wrap: pretty; }
.ins-ticks { display: flex; gap: 6px; margin-top: var(--s2); }
.ins-ticks li { width: 28px; height: 2px; border-radius: 1px; background: var(--ln); transition: background-color .4s var(--ease); }
.ins-ticks li.on { background: var(--fg); }

/* ── motion preferences ─────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .hero .w { animation: none; }
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .cursor { display: none; }
}
@media print { .nav, .dock, .cursor, .lines { display: none; } }

/* ── hero intro: plain CSS, so it never waits on a script ───────────────── */
.h1-a, .h1-b { overflow: clip; padding-bottom: .1em; margin-bottom: -.1em; }
.up { display: block; animation: up 1.1s var(--ease) both; }
.h1-b .up { animation-delay: .09s; }
/* round 6: word by word, each rising with a small turn (still plain CSS) */
.hero .up { animation: none; }
.hero .w { display: inline-block; transform-origin: 0 100%; animation: wup .9s var(--ease) both; animation-delay: calc(.03s + var(--i) * .045s); }
@keyframes wup { from { transform: translateY(112%) rotate(7deg); } }
.hero-lede, .hero .join, .trust { animation: rise .9s var(--ease) both; }
.hero-lede { animation-delay: .22s; } .hero .join { animation-delay: .3s; } .trust { animation-delay: .3s; }
@keyframes up { from { transform: translateY(108%); } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } }
@keyframes pop { from { opacity: 0; scale: .9; translate: 0 16px; } }

/* phones: the light stays, the column lines go (twelve lines in 335px read as noise) */
@media (max-width: 767px) { .lines::before { display: none; } }

/* short laptop screens (1280x720): the whole hero, trust row included, stays in one screen */
@media (min-width: 1024px) and (max-height: 820px) {
  .hero { padding: calc(68px + var(--s5)) 0 var(--s5); }
  .hero .display { font-size: clamp(2.625rem, 10.2vh, 5.75rem); }
  .hero-grid { row-gap: var(--s5); }
  .hero-copy { gap: var(--s5); }
  .trust { padding-top: var(--s4); }
}

/* phones and tablets: the ring sits right under the intro, then the day, then the dinner opened */
@media (max-width: 1023px) {
  .day-grid { row-gap: var(--s6); }
  .day-copy { display: contents; }
  .day-copy > * { grid-column: 1 / -1; min-width: 0; }
  .day-title { order: 1; } .day-stage { order: 2; grid-column: 1 / -1; } .day-list { order: 3; } .day-steps { order: 4; } .day-end { order: 5; } .day-fine { order: 6; grid-column: 1 / -1; }
}

@media (max-width: 479px) { .foot-nav { grid-template-columns: 1fr 1fr; } }
/* the reserve band sits between two sections of its own, so it brings its own space */
.reserve { padding-top: 0; }

/* ── waitlist page (waitlist.html, js/join.js): the app's "Welcome to Timeverse" card ──────────
   PaywallSuccessScreen: page #F0F0F0, white TBSciFiCard, 164 pt disc turning once a minute,
   title 22 bold #282828, sub 20 semibold #525252, body 15 #525252, lines arriving 0.6 s apart. */
.tv-body { background: #F0F0F0; }
.tv { min-height: 100svh; display: grid; grid-template-rows: auto 1fr auto; color: #282828; }
.tv-top { display: flex; align-items: center; justify-content: space-between; padding-block: var(--s5); }
.tv-top img { width: 132px; }
.tv-back { font-size: var(--t-small); font-weight: 500; color: #525252; border-bottom: 1px solid rgba(0, 0, 0, .2); padding-bottom: 2px; }
.tv-back:hover { color: #282828; border-color: #282828; }
.tv-main { display: grid; place-items: center; padding: var(--s8) 20px; }
.tv-card { position: relative; isolation: isolate; width: min(100%, 440px); }
.tv-shape { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .05)); }
.tv-in { display: grid; justify-items: center; text-align: center; padding: 48px 32px 40px; }
.tv-disc { position: relative; width: 164px; height: 164px; margin-bottom: 20px; }
.tv-spin { width: 100%; height: 100%; animation: tv-turn 60s linear infinite; }
.tv-chars text { font: 600 10px var(--sans); letter-spacing: 1px; fill: #525252; text-anchor: middle; }
.tv-mark { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 104px; height: 104px; margin: -52px 0 0 -52px; border-radius: 50%; background: #282828; }
.tv-mark img { width: 52px; height: 52px; }
@keyframes tv-turn { to { transform: rotate(360deg); } }
.tv-h { font-size: 22px; line-height: 1.25; font-weight: 700; letter-spacing: -.01em; }
.tv-sub { margin-top: 8px; font-size: 20px; line-height: 1.3; font-weight: 600; color: #525252; max-width: 15em; text-wrap: balance; }
.tv-p { margin-top: 8px; font-size: 15px; line-height: 1.5; color: #525252; max-width: 26em; text-wrap: pretty; }
.tv-h, .tv-sub, .tv-p, .tv-form, .tv-note { animation: tv-in .7s var(--ease) both; }
.tv-sub { animation-delay: .6s; } .tv-p { animation-delay: 1.2s; } .tv-form { animation-delay: 1.6s; } .tv-note { animation-delay: 1.8s; }
@keyframes tv-in { from { opacity: 0; transform: translateY(10px); } }
.tv-form { margin-top: 28px; width: 100%; --field: #F0F0F0; --btn-bg: #282828; --btn-fg: #fff; --fg: #282828; --fg-2: #636363; --ln: rgba(0, 0, 0, .1); }
.tv-in .wl-done { margin-top: 16px; color: #2A8E5E; font-weight: 500; }
.tv-note { margin-top: 14px; font-size: 13px; color: #636363; }
.tv-foot { padding-block: var(--s5); font-size: var(--t-micro); color: #636363; text-align: center; }
/* light rays: four hairlines above the top notch and below the bottom one, each with a light moving toward the card */
.tv-rays i { position: absolute; z-index: -2; left: 50%; width: 1px; height: 160px; background: rgba(0, 0, 0, .1); overflow: hidden; }
.tv-rays i::after { content: ""; position: absolute; left: 0; width: 1px; height: 56px; background: linear-gradient(transparent, #fff 50%, transparent); animation: tv-ray 2.4s linear infinite; }
.tv-rays i:nth-child(-n+4) { bottom: calc(100% - 16px); }
.tv-rays i:nth-child(-n+4)::after { top: -56px; }
.tv-rays i:nth-child(n+5) { top: calc(100% - 16px); }
.tv-rays i:nth-child(n+5)::after { bottom: -56px; animation-name: tv-ray-up; }
.tv-rays i:nth-child(1) { margin-left: calc(var(--tn, 160px) * -.375); } .tv-rays i:nth-child(2) { margin-left: calc(var(--tn, 160px) * -.125); } .tv-rays i:nth-child(3) { margin-left: calc(var(--tn, 160px) * .125); } .tv-rays i:nth-child(4) { margin-left: calc(var(--tn, 160px) * .375); }
.tv-rays i:nth-child(5) { margin-left: calc(var(--bn, 120px) * -.375); } .tv-rays i:nth-child(6) { margin-left: calc(var(--bn, 120px) * -.125); } .tv-rays i:nth-child(7) { margin-left: calc(var(--bn, 120px) * .125); } .tv-rays i:nth-child(8) { margin-left: calc(var(--bn, 120px) * .375); }
.tv-rays i:nth-child(4n+2)::after { animation-duration: 3.3s; animation-delay: 1.2s; } .tv-rays i:nth-child(4n+3)::after { animation-duration: 2s; animation-delay: .5s; } .tv-rays i:nth-child(4n+4)::after { animation-duration: 2.9s; animation-delay: 1.8s; }
.tv-rays i:nth-child(n+5) { background: linear-gradient(rgba(0, 0, 0, .1), transparent); }
.tv-rays i:nth-child(-n+4) { background: linear-gradient(transparent, rgba(0, 0, 0, .1)); }
@keyframes tv-ray { to { transform: translateY(216px); } }
@keyframes tv-ray-up { to { transform: translateY(-216px); } }
@media (prefers-reduced-motion: reduce) { .tv-spin, .tv-rays i::after { animation: none; } .tv-rays i::after { display: none; } }
@media (max-width: 479px) {
  .ds-person, .ds-act { border-radius: 28px; }
  .ds-person small, .ds-act small { white-space: normal; }
}

/* ══ Round 6 · sharp system (NK 26 Nov) ════════════════════════════════════
   Fields pair with the button: a hairline box with its bottom-left corner cut, the cut drawn as a hairline too. */
.born input:focus-visible { outline: 0; box-shadow: inset 0 0 0 1.5px var(--fg); }
.wl-done::before, .chip i { border-radius: 0; }

/* ── Private: the ASCII lock (js/lock.js) ─────────────────────────────────── */
.lock { position: relative; display: grid; justify-items: center; gap: var(--s3); margin-top: var(--s5); }
.lock::before { content: ""; position: absolute; left: 50%; top: 58%; width: 46%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 82, 0, .16), transparent); opacity: .35; transition: opacity 1s var(--ease), scale 1.2s var(--ease); pointer-events: none; }
.lock.is-open::before { opacity: 1; scale: 1.25; }
.lock-ascii { position: relative; margin: 0; font: 500 clamp(7px, 2vw, 10px)/1 var(--mono); letter-spacing: .02em; white-space: pre; color: transparent; user-select: none;
  background: radial-gradient(120% 90% at 38% 30%, #FFFFFF 0%, #C9C9D0 38%, #6E6E78 78%, #3A3A42 100%); -webkit-background-clip: text; background-clip: text; }
@media (min-width: 1024px) {
  .private-head .h2 { grid-column: 1 / span 7; }
  .private-head .lede { grid-column: 1 / span 6; }
  .private-head .lock { grid-column: 8 / -1; grid-row: 1 / span 2; align-self: center; justify-self: end; margin: 0; }
  .lock-ascii { font-size: clamp(9px, .92vw, 14px); }
}

/* ── your own numbers (its own band before Join, NK 26 Nov) ──────────────── */
.numbers-grid { row-gap: var(--s7); align-items: end; }
.numbers-copy { display: grid; gap: var(--s6); align-content: start; }
.numbers .born-out dd { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem); line-height: 1; letter-spacing: -.045em; }
.numbers .born-out div { align-items: center; padding: var(--s5) 0; }
@media (min-width: 1024px) {
  .numbers-copy { grid-column: 1 / span 5; }
  .numbers .born-out { grid-column: 7 / -1; }
}

/* ══ Round 6 · space, nav glass, labels, veils (NK 26 Nov) ═══════════════════ */


/* the nav: clear over the top of the hero, dark glass once the hero starts to move */
.nav.is-clear.is-scrolled::before { opacity: 1; background: rgba(11, 12, 14, .58); border-bottom-color: rgba(244, 244, 242, .08); }

/* section labels: a number and a word, in mono; they decode as they arrive */
.eyebrow { display: flex; align-items: center; gap: var(--s3); margin: 0; font: 500 var(--t-micro)/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--fg-2); }
.eyebrow::before { content: ""; width: 6px; height: 6px; flex: none; background: var(--accent); }
.eyebrow b { font-weight: 500; color: var(--fg); }
.eyebrow::after { content: ""; flex: 0 1 64px; height: 1px; background: var(--ln); }

@media (min-width: 1024px) { .private-head { grid-template-rows: auto auto 1fr; } .private-head .lock { grid-row: 1 / span 3; } .private-head .eyebrow { grid-column: 1 / span 7; } .private-head .lede { align-self: start; } }

/* pictures uncover from a veil the colour of their section (added and moved by js/main.js) */
.veil { position: absolute; inset: 0; z-index: 3; background: var(--bg); transform-origin: 50% 0; pointer-events: none; }

/* ── round 7 (NK 26 Nov): Private without the sealed page ─────────────────
   The three promises run across the page, the line and the join below them. The lock has its own button. */
.vows { align-content: start; }
@media (min-width: 1024px) {
  .private-grid .vows { grid-column: 1 / -1; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
  .vow-list { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
  .vow-list li, .vow-list li:last-child { border-bottom: 1px solid var(--ln); }
  .vow-line { grid-column: 1 / span 6; align-self: center; }
  .vow-cta { grid-column: 7 / -1; justify-content: flex-end; }
}
.lock-ascii { cursor: pointer; }

/* ── round 8 (NK 30 Nov): the mockup slots hold NK's own screen recordings ──
   Dark app screens at the recording's own shape; the still shows until the video plays. */
.ph-screen.has-shot { aspect-ratio: 1284 / 2778; background: #000; animation: none; overflow: hidden; }
.ph-screen.has-shot::before { z-index: 2; }
.ph-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ph-duo .ph-screen.has-shot { height: 78%; }
.ph-duo .ph-back.has-shot { filter: brightness(.82) saturate(.85); }
.chip-img { display: block; width: clamp(180px, 46%, 300px); padding: 0; background: none; box-shadow: 0 1px 2px rgba(12, 12, 13, .1), 0 28px 48px -22px rgba(12, 12, 13, .55); }
.chip-img img { display: block; width: 100%; height: auto; }
.ph .chip-img.chip-c { left: 5%; bottom: 8%; }
.ph .chip-img.chip-a { left: 5%; top: 8%; width: clamp(190px, 42%, 270px); }
@media (max-width: 479px) { .chip-img { width: 58%; } .ph .chip-img.chip-a { width: 44%; } }

/* ── round 9 (NK 30 Nov): mockup cards cropped and semi rounded ───────────── */
.chip-img { border-radius: 14px; overflow: hidden; }
.ph .chip-img.chip-a { left: 5%; top: 8%; width: clamp(200px, 46%, 300px); }
.ph .chip-img.chip-c { left: 5%; bottom: 8%; width: clamp(200px, 48%, 320px); }
[data-mockup="people"] .chip-img.chip-c { width: clamp(150px, 34%, 220px); }

/* ── 3 · the assistant (js/ai.js, assets/mascot/mascot.js) ────────────────
   One calm screen, Apple-plain: a big two-line title, one line under it, the form right there.
   The whole astronaut stands on the right on a soft lime floor light. Words never compete with it. */
.ai { --lime: #D0F458; display: grid; align-items: center; min-height: min(100svh, 980px); overflow: clip; }
.ai-grid { row-gap: var(--s7); align-items: center; }
.ai-copy { display: grid; gap: var(--s6); align-content: center; }
.ai-title { font-size: clamp(2.25rem, .8rem + 3.6vw, 4.25rem); line-height: 1.02; letter-spacing: -.045em; font-weight: 500; }
.ai-l { display: block; }
@media (min-width: 600px) { .ai-l { white-space: nowrap; } }
.ai-lede { max-width: 27em; }
.ai-join { max-width: 480px; margin-top: var(--s2); }
.ai-stage { position: relative; margin: 0; display: grid; place-items: end center; }
.ai-stage::before { content: ""; position: absolute; left: 50%; bottom: 4%; width: 78%; height: 16%; translate: -50% 0; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(208, 244, 88, .16), rgba(208, 244, 88, 0)); pointer-events: none; }
.ai-mascot { position: relative; width: min(100%, 600px); aspect-ratio: var(--ai-aspect, 600 / 720); max-height: min(82svh, 760px); }
.ai-mascot > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ai-still { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.ai.is-live .ai-still { display: none; }
@media (min-width: 1024px) {
  .ai-copy { grid-column: 1 / span 7; }
  .ai-stage { grid-column: 8 / -1; }
}
@media (max-width: 1023px) {
  .ai { min-height: 0; }
  .ai-mascot { width: min(78%, 420px); max-height: 56svh; }
}
.ph .chip-img.chip-d { right: 5%; bottom: 8%; width: clamp(200px, 48%, 320px); }

/* ── One tap bento (NK 30 Nov): Lock Screen and Control Center side by side, the hangout below.
   The shortcuts sit in a real device frame, zoomed in so the three controls lead. ─────────── */
.bento { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.tile { position: relative; margin: 0; display: grid; grid-template-rows: auto 1fr; overflow: hidden; background: var(--card); }
.tile-cap { display: grid; gap: var(--s2); padding: var(--s6) var(--s6) 0; }
.tile-cap b { font-size: var(--t-h3); font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.tile-cap span { color: var(--fg-2); max-width: 30em; }
.tile-vis { position: relative; aspect-ratio: 5 / 4; overflow: hidden; }
.zp { position: absolute; left: 50%; width: 68%; translate: -50% 0; aspect-ratio: 1284 / 2778; border-radius: 13% / 6.2%; overflow: hidden; background: #000;
  box-shadow: 0 0 0 5px #121214, 0 0 0 6px #3a3a3e, 0 40px 60px -30px rgba(12, 12, 13, .45); }
.zp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.zp-bottom { bottom: 9%; }
.zp-top { top: 9%; }
.zp-top::before { content: ""; position: absolute; z-index: 1; top: 2.6%; left: 50%; width: 30%; height: 3.6%; translate: -50% 0; border-radius: 999px; background: #121214; }
.tile-wide { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; }
.tile-copy { display: grid; gap: var(--s6); align-content: center; padding-bottom: var(--s6); }
.tile-copy .facts { padding: 0 var(--s6); }
.tile-phone { position: relative; display: grid; place-items: center; height: 100%; min-height: 560px; padding: var(--s7) 0; }
.tile-phone .ph-screen { height: min(100%, 600px); }
@media (max-width: 767px) {
  .bento { grid-template-columns: minmax(0, 1fr); }
  .tile-wide { grid-template-columns: minmax(0, 1fr); }
  .tile-cap { padding: var(--s5) var(--s5) 0; }
  .tile-copy .facts { padding: 0 var(--s5); }
  .tile-phone { min-height: 0; height: auto; padding: var(--s5) 0 var(--s6); }
  .tile-phone .ph-screen { height: 480px; }
}

.tile-vis { margin-top: var(--s5); }
.tile-vis:has(.zp-bottom) { -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 30%); mask-image: linear-gradient(to bottom, transparent 0, #000 30%); }

/* ── One tap, second pass (NK 30 Nov): copy on the left as before, the bento on the right.
   The hangout is the big tile; the two small tiles above only show the Lock Screen and Control Center. */
.bento-r { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-self: center; }
.bento-r .tile { display: block; }
.tile-sm .tile-vis { margin: 0; aspect-ratio: 1 / 1; }
.tile-sm .zp { width: 74%; }
.tile-sm .zp-bottom { bottom: 10%; }
.tile-sm .zp-top { top: 10%; }
.tile-big { grid-column: 1 / -1; display: grid !important; place-items: center; padding: var(--s7) 0; }
.tile-big .ph-screen { height: min(64svh, 560px); }
@media (min-width: 1024px) { .split .bento-r { grid-column: 7 / -1; } }
@media (max-width: 767px) { .tile-big .ph-screen { height: 460px; } }
/* One tap, third pass (NK 30 Nov): the bento's top and bottom line up with the words on the left.
   It takes the copy's height; the hangout fills the left of it, the two small tiles stack on the right. */
@media (min-width: 1024px) {
  #people .split { align-items: stretch; }
  #people .split-copy { align-self: start; }
  .bento-r { align-self: stretch; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); grid-template-rows: 1fr 1fr; min-height: 0; }
  .bento-r .tile-big { grid-column: 1; grid-row: 1 / 3; order: -1; padding: 0; min-height: 0; }
  .bento-r .tile-big { position: relative; overflow: hidden; }
  .bento-r .tile-big .ph-screen { position: absolute; top: 6%; left: 50%; height: 88%; width: auto; translate: -50% 0; }
  .bento-r .tile-sm { grid-column: 2; min-height: 0; position: relative; }
  .bento-r .tile-sm .tile-vis { position: absolute; inset: 0; aspect-ratio: auto; }
  .bento-r .tile-sm .zp { width: 64%; }
}
/* waitlist page: the logo answers the pointer like the home page's */
.tv-body a[aria-label="Timebank home"] { display: inline-flex; align-items: center; min-height: 44px; transition: opacity .3s var(--ease), translate .4s var(--ease); }
.tv-body a[aria-label="Timebank home"]:hover { opacity: .7; translate: 2px 0; }

/* jury round (30 Nov): small launch fixes */
.nav-links a:focus-visible, .menu a:focus-visible { outline-offset: 4px; }
.btn-line { clip-path: none; }                                   /* the hairline outline can't follow a cut corner */
@media (max-width: 767px) {
  .foot { padding-bottom: calc(var(--s6) + 76px); }               /* the phone join bar never covers the last lines */
  html:has(.dock.on) .nav-cta { opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); }   /* one join button at a time */
}
