/* Hallmark · shape: the painted day · genre: editorial · theme: custom (palette pinned by the user: the app's own look, fundamentals from the earlier vajra.work/second-brain page) · job: try · idea: "one painting under one veil that stays put while the page walks Meera's day; the light and the header clock move from morning to night as you scroll, back to first light at the close" · vibe: "warm, calm, a colleague who was there"
 * paper: oklch(99.2% 0.006 70) · accent: oklch(52% 0.13 35) persimmon, plum oklch(33% 0.04 340) for the one filled button · display: Creato Display, regular weight, tight · body: Inter · hero: the morning painting under the page veil, the head at left, an arch of three day cards at right, re-ranking with what Bryn learned · nav: fixed, wordmark, the day's clock in the middle, four links and one action · footer: on the painting, the wordmark, three links and the licences · imagery: the product's own paintings (one fixed window, four lights) and the product built (the arch of day cards, a cloud of voices flowing into Bryn, Ask with and without, the evening list handing its big item to a Bot, the kept-window orbit, one Bot learning, offering, working on its own computer and asking) with sample names · signature: the clock and the light that follow the day down the page while the morning's cards keep re-ranking
 * axes: light/grotesk-geometric/warm · posture: Stage · contrast: pass · fold: pass · surface: the app's tokens, inherited from .hallmark/brand-spec.md · v2.0.0 */
/* Hallmark · pre-emit critique: P4 H4 E4 S5 R4 V4 · weakest: P, a memory app could promise the same desire; answered by the Now card on the first screen re-ranking with what Bryn learned, so the page argues "the next thing, ready" rather than "we remember" */
/* Hallmark · dismissed 59 · eleven sections is the user's approved v2 outline, one job each; Proof is already held back until real quotes exist */
/* Hallmark · dismissed 58 · the 19-word hero sentence and the ~900-word page are the user's own copy, written and signed off section by section in the v2 doc */
/* Hallmark · waive 79 · the open band under the hero copy is the painting's lake and hills at 1440x900 · the window is the point, filling it with copy would cover the painting */
/* Hallmark · dismissed 29 · the warm glow on .keep__core is the light inside the kept window on the night painting, the one picture in Privacy, not a shadow standing in for depth */
/* Hallmark · dismissed F4 · at night the same plum button is recoloured light for the night veil, it is not a second recipe */
/* Hallmark · waive 80 · div.voices, six speech cards and their connector lines · it is the product built, Bryn's memory view with sample names and sources, not a drawn illustration */
/* Hallmark · dismissed F7 · the pills are the app's own clock, source chips and status badges, read as tags the app draws that way */
/* Hallmark · waive 39b · .bot__rail buttons, 64px · they are step tabs, a number over a two-word label, not marketing buttons */
/* Hallmark · dismissed 49 · the step tabs wrap on purpose: number over label */
/* Hallmark · dismissed 19 · the owner asked for the line All rights reserved */
/* Hallmark · waive 65 · the app's own paper #FFFCF8 and persimmon #B04A31 from tokens.css · the user chose Bryn's own look, a sans display, not a serif */
@import url("./tokens.css");
@import url("./base.css");

/* ---------- Shared ---------- */
body { font-size: var(--text-md); line-height: 1.6; font-feature-settings: "cv11", "ss01"; background: var(--color-paper); color: var(--page-ink); }
h1, h2, h3 { font-weight: 400; letter-spacing: -0.045em; }
h2 { font-size: clamp(2.25rem, 3.2vw + 1rem, 3.75rem); line-height: 1.04; max-width: 16ch; color: var(--page-ink); transition: color var(--dur-long) var(--ease-out); }
.lede { margin-top: var(--space-lg); max-width: 44ch; font-size: var(--text-lead); line-height: 1.5; color: var(--page-ink-2); transition: color var(--dur-long) var(--ease-out); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-xs); min-height: 48px; padding: 0 var(--space-lg); border: 1px solid var(--color-plum); border-radius: var(--radius-control); background: var(--color-plum); color: var(--color-on-plum); font: 600 var(--text-md)/1 var(--font-body); white-space: nowrap; text-decoration: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.btn:hover { background: var(--color-plum-2); border-color: var(--color-plum-2); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn[aria-busy="true"] { cursor: progress; }
.btn--quiet { background: transparent; color: var(--color-ink); border-color: var(--color-edge); }
.btn--quiet:hover { background: var(--color-paper-2); border-color: var(--color-field); }
.btn--small { min-height: 40px; padding: 0 var(--space-md); font-size: var(--text-sm); }
/* At night the one filled button turns light, except inside the light plan cards */
:root[data-ink="night"] .btn:not(.btn--quiet):not(.plan .btn) { background: var(--color-night-ink); border-color: var(--color-night-ink); color: var(--color-plum-deep); }
:root[data-ink="night"] .btn:not(.btn--quiet):not(.plan .btn):hover { background: var(--color-night-ink-2); border-color: var(--color-night-ink-2); }
:root[data-ink="night"] .btn:focus-visible { outline-color: var(--color-night-ink); }

.textlink { display: inline-flex; align-items: center; min-height: 44px; color: var(--page-ink); font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.25em; border-radius: var(--space-2xs); }
.textlink:hover { text-decoration-thickness: 2px; }
.textlink:active { opacity: 0.8; }
.textlink:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

.skip { position: absolute; left: var(--space-md); top: calc(-1 * var(--space-3xl)); z-index: var(--z-toast); padding: var(--space-xs) var(--space-md); border-radius: var(--radius-control); background: var(--color-plum); color: var(--color-on-plum); }
.skip:focus-visible { top: var(--space-md); }

/* ---------- The painting: one window, fixed, four lights crossfaded by scroll, one veil over all ---------- */
.paint { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.paint__layer { position: absolute; inset: 0; opacity: 0; will-change: opacity; background: var(--hills) center bottom / 100% auto no-repeat, var(--sky) center 70% / cover no-repeat; }
.paint__layer[data-paint="morning"] { opacity: 1; --sky: url("./assets/paint/sky-morning.webp"); --hills: url("./assets/paint/hills-morning.webp"); }
.paint__layer[data-paint="day"] { --sky: url("./assets/paint/sky-day.webp"); --hills: url("./assets/paint/hills-day.webp"); }
.paint__layer[data-paint="evening"] { --sky: url("./assets/paint/sky-evening.webp"); --hills: url("./assets/paint/hills-evening.webp"); }
.paint__layer[data-paint="night"] { --sky: url("./assets/paint/sky-night.webp"); --hills: url("./assets/paint/hills-night.webp"); }
@media (min-resolution: 1.5dppx) {
  .paint__layer[data-paint="morning"] { --sky: url("./assets/paint/sky-morning@2x.webp"); --hills: url("./assets/paint/hills-morning@2x.webp"); }
  .paint__layer[data-paint="day"] { --sky: url("./assets/paint/sky-day@2x.webp"); --hills: url("./assets/paint/hills-day@2x.webp"); }
  .paint__layer[data-paint="evening"] { --sky: url("./assets/paint/sky-evening@2x.webp"); --hills: url("./assets/paint/hills-evening@2x.webp"); }
  .paint__layer[data-paint="night"] { --sky: url("./assets/paint/sky-night@2x.webp"); --hills: url("./assets/paint/hills-night@2x.webp"); }
}
.paint__veil { position: absolute; inset: 0; will-change: opacity; }
.paint__veil[data-veil="day"] { background: var(--veil-day); }
.paint__veil[data-veil="night"] { background: var(--veil-night); opacity: 0; }
.paint::after { content: ""; position: absolute; inset: 0; background: url("./assets/paint/grain.webp") repeat; background-size: 160px 160px; opacity: 0.045; mix-blend-mode: soft-light; }

.band { position: relative; padding-block: var(--section-gap-s); }
.head { max-width: 760px; }
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--space-2xl); align-items: center; }
.split--flip { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
.split--flip > :last-child { order: -1; }

/* ---------- Nav: fixed, with the day's clock in the middle ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: var(--z-sticky-nav); color: var(--page-ink); }
.nav::before { content: ""; position: absolute; inset: 0 0 -24px 0; z-index: -1; background: linear-gradient(180deg, var(--fade-top) 0, var(--fade-top) 55%, transparent 100%); pointer-events: none; }
.nav__row { position: relative; display: flex; align-items: center; gap: var(--space-lg); min-height: 64px; }
.brand { display: inline-flex; align-items: center; min-height: 44px; gap: var(--space-sm); color: var(--page-ink); text-decoration: none; font: 500 var(--text-lg)/1 var(--font-display); letter-spacing: -0.02em; border-radius: var(--radius-control); }
.brand img { border-radius: var(--space-xs); }
.brand:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 4px; }
.clock { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); padding: var(--space-xs) var(--space-sm); border: 1px solid var(--clock-edge); border-radius: var(--radius-pill); background: var(--clock-bg); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); font-size: var(--text-xs); font-weight: 600; line-height: 1; font-variant-numeric: tabular-nums; color: var(--page-ink); }
/* Small-screen menu: the four links in a panel under one button */
.menu { display: none; position: relative; }
.menu summary { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-control); color: var(--page-ink); font-size: var(--text-sm); font-weight: 600; list-style: none; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.menu summary::-webkit-details-marker { display: none; }
.menu summary:hover, .menu[open] summary { background: color-mix(in oklab, var(--page-ink) 8%, transparent); }
.menu summary:active { opacity: 0.8; }
.menu summary:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.menu__icon { width: 16px; height: 10px; border-block: 2px solid currentColor; }
.menu__panel { position: absolute; right: 0; top: calc(100% + var(--space-xs)); display: grid; min-width: 220px; padding: var(--space-xs); border-radius: var(--radius-card); background: var(--card); box-shadow: 0 24px 48px -24px var(--color-shade); }
.menu__panel a { display: flex; align-items: center; min-height: 44px; padding: 0 var(--space-md); border-radius: var(--radius-control); color: var(--color-ink); font-weight: 500; text-decoration: none; }
.menu__panel a:hover { background: var(--color-paper-2); }
.menu__panel a:active { opacity: 0.8; }
.menu__panel a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: -2px; }
.nav__links { display: flex; gap: var(--space-2xs); margin-left: auto; }
.nav__links a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-sm); border-radius: var(--radius-control); color: var(--page-ink); font-size: var(--text-sm); font-weight: 500; text-decoration: none; white-space: nowrap; transition: background-color var(--dur-short) var(--ease-out); }
.nav__links a:hover { background: color-mix(in oklab, var(--page-ink) 8%, transparent); }
.nav__links a:active { opacity: 0.8; }
.nav__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }

/* ---------- 1. Hero: the morning window ---------- */
.hero { position: relative; display: grid; align-items: center; min-height: max(680px, 100dvh); padding-block: var(--space-3xl) var(--space-lg); }
.hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.hero h1 { font-size: clamp(3rem, 5.4vw + 0.6rem, 5.75rem); line-height: 1; letter-spacing: -0.055em; max-width: 11ch; color: var(--hero-ink); }
.hero__lede { margin-top: var(--space-lg); max-width: 36ch; font-size: var(--text-lead); line-height: 1.45; color: var(--hero-ink-2); }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-sm); margin-top: var(--space-xl); }
.hero__note { margin-top: var(--space-sm); font-size: var(--text-sm); font-weight: 500; color: var(--hero-ink-2); }

/* The Now card: the product built, one glass card on the painting */
.hero__now { margin: 0; max-width: 560px; justify-self: end; width: 100%; }

/* The day: three cards under a glass arch, the way the earlier page set its day of calls */
.day { position: relative; isolation: isolate; padding: var(--space-lg) var(--space-xl) var(--space-md); }
.day::before { content: ""; position: absolute; inset: 0 -2% 0 -4%; z-index: -1; border: 1px solid var(--frame-edge); border-radius: 50% 50% 28px 28px / 22% 22% 28px 28px; background: var(--frame-fill); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); transform: rotate(-1.6deg); }
.day__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--space-md); margin: var(--space-md) var(--space-2xs) var(--space-md); }
.day__title { font: italic 400 clamp(1.5rem, 1.2vw + 1rem, 2rem)/1.1 var(--font-outlier); letter-spacing: -0.01em; color: var(--hero-ink); }
.day__meta { font-size: var(--text-sm); color: var(--hero-ink-2); font-variant-numeric: tabular-nums; }
.day__list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-md); }
.call { position: relative; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: var(--space-md); padding: var(--space-md) var(--space-lg) var(--space-md) var(--space-sm); border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card); color: var(--color-ink); transition: transform var(--dur-long) var(--ease-out), opacity var(--dur-long) var(--ease-out); --tone: var(--tone-1); --wash: var(--tone-1-wash); }
.call[data-tone="2"] { --tone: var(--tone-2); --wash: var(--tone-2-wash); }
.call[data-tone="3"] { --tone: var(--tone-3); --wash: var(--tone-3-wash); }
.call:not(:last-child)::before { content: ""; position: absolute; left: 50%; bottom: -12px; width: 8px; height: 8px; margin-left: calc(-1 * var(--space-2xs)); border: 1px solid var(--tone); border-radius: 50%; background: var(--card); z-index: 1; }
.call::after { content: ""; position: absolute; inset: -1px; border: 1.5px solid var(--tone); border-radius: inherit; opacity: 0; pointer-events: none; transition: opacity 900ms var(--ease-out); }
.call.is-new::after { opacity: 1; transition-duration: 200ms; }
.call__time { font: 400 var(--text-lg)/1.1 var(--font-display); letter-spacing: -0.02em; text-align: center; color: var(--tone); font-variant-numeric: tabular-nums; }
.call__time span { display: block; margin-top: var(--space-2xs); font: 500 var(--text-sm)/1 var(--font-body); letter-spacing: 0.02em; }
.call__tag { font-size: var(--text-md); font-weight: 500; color: var(--tone); }
.call__title { margin-top: var(--space-3xs); font: 400 var(--text-xl)/1.15 var(--font-display); letter-spacing: -0.035em; }
.call__line { margin-top: var(--space-2xs); font-size: var(--text-md); line-height: 1.45; color: var(--color-ink-2); }
.call__meta { display: flex; align-items: center; gap: var(--space-sm); margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--color-ink-2); }
.faces { display: inline-flex; }
.faces span { display: grid; place-items: center; width: 28px; height: 28px; margin-left: calc(-1 * var(--space-xs)); border: 2px solid var(--card); border-radius: 50%; background: var(--wash); color: var(--tone); font-size: var(--text-xs); font-weight: 600; }
.faces span:first-child { margin-left: 0; }
.faces span:last-child { background: var(--color-plum); color: var(--color-on-plum); }
.day__list .call.is-leaving { opacity: 0; transform: translateX(24px) scale(0.98); transition-duration: 320ms; }
.day__list .call.is-entering { opacity: 0; transform: translateY(14px) scale(0.98); }
.day__foot { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); margin-top: var(--space-md); padding-inline: var(--space-xs); }
.day__foot img { border-radius: var(--radius-control); box-shadow: 0 6px 16px -8px var(--color-shade); }
.day__learned { font-size: var(--text-md); line-height: 1.4; color: var(--hero-ink-2); }
.day__learned b { display: block; font-weight: 500; color: var(--hero-ink); }
.day__learned span { display: block; transition: opacity var(--dur-long) var(--ease-out); }
.day__learned span.is-swapping { opacity: 0; transition-duration: 320ms; }
.day .now__pause { border-color: var(--line); color: var(--hero-ink-2); }
.day .now__pause:hover { background: color-mix(in oklab, var(--hero-ink) 8%, transparent); color: var(--hero-ink); }
.now__pause { flex: none; min-height: 44px; min-width: 64px; padding: 0 var(--space-sm); border: 1px solid var(--color-edge); border-radius: var(--radius-control); background: transparent; color: var(--color-ink-2); font-size: var(--text-sm); font-weight: 600; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out), color var(--dur-short) var(--ease-out); }
.now__pause:hover { background: var(--color-paper-2); color: var(--color-ink); }
.now__pause:active { transform: translateY(1px); }
.now__pause:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.now__pause[aria-pressed="true"] { background: var(--color-paper-2); color: var(--color-ink); }

@media (prefers-reduced-motion: no-preference) {
  .day::before { animation: arch 900ms var(--ease-out) both; }
  .day .call { animation: rise var(--dur-long) var(--ease-out) both; animation-delay: calc(200ms + var(--n, 0) * 110ms); }
  .day .call:nth-child(2) { --n: 1; } .day .call:nth-child(3) { --n: 2; }
  @keyframes arch { from { opacity: 0; transform: rotate(-1.6deg) translateY(18px); } to { opacity: 1; transform: rotate(-1.6deg); } }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-transparency: reduce) { .day::before, .chat, .speech, .hub, .notice, .clock { background: var(--color-paper); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- 3. Ask: the same question, without and with ---------- */
.pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); align-items: start; }
.chat { display: grid; gap: var(--space-md); padding: var(--space-lg); border-radius: var(--radius-card); background: var(--color-glass); -webkit-backdrop-filter: blur(18px) saturate(140%); backdrop-filter: blur(18px) saturate(140%); box-shadow: var(--shadow-card); color: var(--color-ink); }
.chat--without { background: color-mix(in oklab, var(--color-paper-2) 80%, transparent); box-shadow: none; }
.chat__label { font-size: var(--text-sm); font-weight: 600; color: var(--color-muted); }
.chat--with .chat__label { color: var(--color-accent-text); }
.chat__you { justify-self: end; max-width: 34ch; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card) var(--radius-card) var(--space-2xs) var(--radius-card); background: var(--color-plum); color: var(--color-on-plum); line-height: 1.45; }
.chat__answer, .chat__answer p { line-height: 1.55; }
.chat--without .chat__answer { color: var(--color-ink-2); }
.chat__sources { display: grid; justify-items: start; gap: var(--space-xs); list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.chat__sources li { padding: var(--space-2xs) var(--space-sm); border-radius: var(--radius-pill); background: var(--color-peach); color: var(--color-accent-text); font-size: var(--text-sm); font-weight: 600; }

/* ---------- The edge, under the cloud: the join, the same AI, the answer only you get ---------- */
.tools { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm); list-style: none; margin: var(--space-lg) 0 0; padding: 0; }
.tools li { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 48px; padding: 0 var(--space-lg) 0 var(--space-xs); border: 1px solid var(--frame-edge); border-radius: var(--radius-control); background: var(--card); color: var(--color-ink); font-size: var(--text-md); font-weight: 600; }
.tools__mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: var(--space-xs); background: var(--color-paper-2); color: var(--color-ink); }
.tools__mark svg { display: block; width: 20px; height: 20px; }
.tools li.tools__more { padding-left: var(--space-xs); border: 0; background: none; color: var(--page-ink-2); font-weight: 500; }
/* The edge: what Bryn joined up flows into the same AI as everyone, and back out as an answer only you get */
.flow { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3.4fr) minmax(0, 4.6fr); gap: var(--space-3xl); align-items: center; margin-top: var(--space-2xl); }
.flow__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.flow__lines path { fill: none; stroke-width: 1.5; stroke-dasharray: 4 8; stroke-linecap: round; opacity: 0.85; }
.flow__step { position: relative; z-index: 1; display: grid; gap: var(--space-sm); }
.flow__label { font-size: var(--text-sm); font-weight: 600; color: var(--page-ink-2); }
.facts, .answer { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.facts li, .answer li { --tone: var(--tone-1); --wash: var(--tone-1-wash); }
.facts li[data-tone="2"], .answer li[data-tone="2"] { --tone: var(--tone-2); --wash: var(--tone-2-wash); }
.facts li { display: grid; gap: var(--space-3xs); padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-lg); border: 1px solid var(--frame-edge); border-radius: var(--radius-card) var(--radius-card) var(--space-2xs) var(--radius-card); background: var(--card); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); box-shadow: var(--shadow-card); color: var(--color-ink); position: relative; }
.facts li::before { content: ""; position: absolute; left: var(--space-sm); top: var(--space-md); bottom: var(--space-md); width: 3px; border-radius: var(--radius-pill); background: var(--tone); }
.facts b { font: 400 var(--text-lg)/1.25 var(--font-display); letter-spacing: -0.02em; }
.facts span { font-size: var(--text-sm); color: var(--color-muted); }
.asked { display: grid; gap: var(--space-md); padding: var(--space-lg); border: 1px solid var(--frame-edge); border-radius: var(--radius-panel); background: var(--frame-fill); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.asked__q { justify-self: end; max-width: 100%; padding: var(--space-sm) var(--space-md); border-radius: var(--radius-card) var(--radius-card) var(--space-2xs) var(--radius-card); background: var(--card); color: var(--color-ink); font-size: var(--text-md); line-height: 1.4; box-shadow: var(--shadow-card); }
.models { display: grid; gap: var(--space-xs); list-style: none; margin: 0; padding: 0; }
.models li { display: flex; align-items: center; gap: var(--space-xs); min-height: 44px; padding: 0 var(--space-md); border: 1px solid var(--line); border-radius: var(--radius-control); font-weight: 600; color: var(--page-ink-2); transition: background-color var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out), border-color var(--dur-long) var(--ease-out); }
.models li::after { content: ""; margin-left: auto; width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background-color var(--dur-long) var(--ease-out); }
.models li.is-on { border-color: var(--frame-edge); background: var(--card); color: var(--color-ink); }
.models li.is-on::after { background: var(--color-live); }
.reply { position: relative; border-radius: var(--radius-panel); background: var(--card); box-shadow: 0 30px 60px -30px var(--color-shade), 0 0 0 6px color-mix(in oklab, var(--color-accent) 10%, transparent); color: var(--color-ink); overflow: hidden; }
.reply__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-sm); padding: var(--space-sm) var(--space-md) var(--space-sm) var(--space-lg); border-bottom: 1px solid var(--color-rule); background: var(--color-paper-2); }
.reply__model { display: inline-flex; align-items: center; gap: var(--space-xs); font-weight: 600; transition: opacity var(--dur-short) var(--ease-out); }
.reply__model.is-swapping { opacity: 0; }
.reply__brief { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 30px; padding: 0 var(--space-sm) 0 var(--space-2xs); border-radius: var(--radius-pill); background: var(--color-peach); color: var(--color-accent-text); font-size: var(--text-sm); font-weight: 600; }
.reply__brief img { border-radius: 50%; }
.answer { gap: 0; padding: var(--space-2xs) var(--space-lg); counter-reset: step; }
.answer li { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: var(--space-md); align-items: center; padding-block: var(--space-md); counter-increment: step; }
.answer li + li { border-top: 1px solid var(--color-rule); }
.answer li::before { content: counter(step); align-self: start; font: 400 var(--text-2xl)/1 var(--font-display); color: var(--tone); }
.answer__text { font: 400 var(--text-lg)/1.3 var(--font-display); letter-spacing: -0.015em; }
.answer .faces span:last-child { background: var(--wash); color: var(--tone); }
.answer .faces span[data-tone="3"] { --tone: var(--tone-3); --wash: var(--tone-3-wash); }
.models svg { flex: none; }
@media (prefers-reduced-motion: no-preference) {
  .flow__lines path { animation: route 14s linear infinite; }
  .js .flow .facts li, .js .flow .asked, .js .flow .answer li { transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
  .js .flow:not(.is-in) .facts li { opacity: 0; transform: translateY(-14px); }
  .js .flow:not(.is-in) .asked { opacity: 0; transform: scale(0.96); }
  .js .flow:not(.is-in) .answer li { opacity: 0; transform: translateX(-12px); }
  .js .flow:not(.is-in) .flow__lines { opacity: 0; }
  .js .flow .flow__lines { transition: opacity 900ms var(--ease-out) 900ms; }
  .js .flow .facts li:nth-child(2) { transition-delay: 150ms; }
  .js .flow .facts li:nth-child(3) { transition-delay: 300ms; }
  .js .flow .facts li:nth-child(4) { transition-delay: 450ms; }
  .js .flow .asked { transition-delay: 900ms; }
  .js .flow .answer li:nth-child(1) { transition-delay: 1600ms; }
  .js .flow .answer li:nth-child(2) { transition-delay: 1900ms; }
  .js .flow .answer li:nth-child(3) { transition-delay: 2200ms; }
}

/* ---------- 2. How Bryn learns: the week flows in as voices, into Bryn, and out as the answer ---------- */
.intro { max-width: 820px; margin-inline: auto; text-align: center; }
.intro h2, .intro .edge__title { margin-inline: auto; max-width: 18ch; }
.intro .lede { margin-inline: auto; }
.cloud { position: relative; margin-top: var(--space-2xl); }
.appbar { display: flex; align-items: center; justify-content: space-between; gap: var(--space-md); padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md); border: 1px solid var(--frame-edge); border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card); color: var(--color-ink); }
.appbar__title { display: flex; align-items: center; gap: var(--space-sm); font-size: var(--text-md); color: var(--color-ink); }
.appbar__title img { border-radius: var(--space-xs); }
.appbar__title span::before { content: "/"; margin-right: var(--space-sm); }
.appbar__state { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.appbar__state i { width: 8px; height: 8px; border-radius: 50%; background: var(--color-live); }
.legend { display: flex; justify-content: center; flex-wrap: wrap; gap: var(--space-xs) var(--space-xl); list-style: none; margin: var(--space-md) 0 0; padding: 0; }
.legend li { display: inline-flex; align-items: center; gap: var(--space-xs); font-size: var(--text-sm); font-weight: 500; color: var(--page-ink-2); }
.legend li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tone); }
.legend li, .voice { --tone: var(--tone-1); --wash: var(--tone-1-wash); }
.legend li[data-tone="2"], .voice[data-tone="2"] { --tone: var(--tone-2); --wash: var(--tone-2-wash); }
.legend li[data-tone="3"], .voice[data-tone="3"] { --tone: var(--tone-3); --wash: var(--tone-3-wash); }

.voices { position: relative; height: 560px; margin-top: var(--space-lg); }
.voices__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.voices__lines path { fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-dasharray: 4 8; opacity: 0.75; }
.voice { position: absolute; left: var(--x); top: var(--y); z-index: 2; display: flex; align-items: flex-end; gap: var(--space-xs); width: 28%; margin: 0; }
.voice--flip { flex-direction: row-reverse; }
.speech { flex: 1; display: grid; gap: var(--space-xs); margin: 0; padding: var(--space-md) var(--space-lg); border: 1px solid var(--frame-edge); border-radius: var(--radius-card) var(--radius-card) var(--space-2xs) var(--radius-card); background: var(--card); -webkit-backdrop-filter: blur(15px); backdrop-filter: blur(15px); box-shadow: var(--shadow-card); color: var(--color-ink); }
.voice--flip .speech { border-radius: var(--radius-card) var(--radius-card) var(--radius-card) var(--space-2xs); }
.speech__meta { font-size: var(--text-sm); font-weight: 500; color: var(--tone); }
.speech__said { font: 400 var(--text-xl)/1.25 var(--font-display); letter-spacing: -0.025em; }
.speech figcaption { font-size: var(--text-sm); color: var(--color-muted); }
.face { position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: -20px; border: 3px solid var(--card); border-radius: 50%; background: var(--wash); color: var(--tone); font: 400 var(--text-xl)/1 var(--font-display); box-shadow: 0 6px 18px -6px var(--color-shade); }
.talk { position: absolute; right: -8px; bottom: -4px; display: flex; align-items: center; justify-content: center; gap: var(--space-3xs); width: 26px; height: 22px; border: 2px solid var(--card); border-radius: var(--radius-pill); background: var(--tone); }
.talk b { width: 2px; height: 6px; border-radius: 1px; background: var(--color-on-plum); }
.talk b:nth-child(2) { height: 11px; }
.hub { position: absolute; left: 50%; bottom: 0; z-index: 3; transform: translateX(-50%); display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 52px; padding: 0 var(--space-lg) 0 var(--space-md); border: 1px solid var(--frame-edge); border-radius: var(--radius-pill); background: var(--card); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); box-shadow: var(--shadow-card); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.hub img { border-radius: 6px; }
.wave { display: flex; align-items: center; gap: var(--space-2xs); height: 18px; }
.wave i { width: 2px; height: 7px; border-radius: 1px; background: var(--color-accent); }
.wave i:nth-child(3n) { height: 18px; }
.wave i:nth-child(2n) { height: 12px; }
.cloud .sources { margin: var(--space-xl) auto 0; max-width: 60ch; text-align: center; font: 400 var(--text-lg)/1.4 var(--font-display); letter-spacing: -0.01em; color: var(--page-ink-2); }
.thread { display: grid; justify-items: center; height: 120px; margin-top: var(--space-lg); }
.thread span { position: relative; width: 1px; height: 100%; background: linear-gradient(180deg, transparent, var(--color-accent)); }
.thread span::after { content: ""; position: absolute; left: -4px; bottom: 0; width: 8px; height: 8px; border-right: 1px solid var(--color-accent); border-bottom: 1px solid var(--color-accent); transform: rotate(45deg); }
.edge { margin-top: var(--space-lg); }
.edge__title { font-size: clamp(2.25rem, 3.2vw + 1rem, 3.75rem); line-height: 1.04; color: var(--page-ink); }

@media (prefers-reduced-motion: no-preference) {
  .voice { animation: float 7s var(--ease-in-out) infinite; animation-delay: var(--d, 0s); }
  .voice:hover { animation-play-state: paused; z-index: 4; }
  @keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
  .talk b, .wave i { animation: speak 0.9s var(--ease-in-out) infinite alternate; }
  .talk b:nth-child(2), .wave i:nth-child(2n) { animation-delay: -0.3s; }
  .talk b:nth-child(3), .wave i:nth-child(3n) { animation-delay: -0.6s; }
  @keyframes speak { from { transform: scaleY(0.4); } to { transform: scaleY(1); } }
  .voices__lines path { animation: route 18s linear infinite; }
  @keyframes route { to { stroke-dashoffset: -240; } }
  .js .cloud:not(.is-in) .voice { opacity: 0; }
  .js .cloud .voice { transition: opacity 600ms var(--ease-out); transition-delay: calc(var(--n, 0) * 120ms); }
  .js .cloud:not(.is-in) .voices__lines { opacity: 0; }
  .js .cloud .voices__lines { transition: opacity 900ms var(--ease-out) 700ms; }
}

/* ---------- 5. Evening: two small things get done, the big one goes to a Bot ---------- */
@media (min-width: 60.01rem) { .evening { display: grid; align-content: center; min-height: 100dvh; } }
.tonight { width: 100%; max-width: 520px; justify-self: start; }
.tonight__head { display: flex; align-items: baseline; gap: var(--space-sm); margin-bottom: var(--space-md); color: var(--page-ink-2); font-size: var(--text-sm); font-variant-numeric: tabular-nums; }
.tonight__head b { font: italic 400 var(--text-2xl)/1 var(--font-outlier); color: var(--page-ink); }
.tonight__list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-sm); }
.todo { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); padding: var(--space-sm) var(--space-sm) var(--space-sm) var(--space-md); border-radius: var(--radius-card); background: var(--card); box-shadow: var(--shadow-card); color: var(--color-ink); transform-origin: left center; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.todo p { font-size: var(--text-md); line-height: 1.4; }
.todo__tick { position: relative; width: 22px; height: 22px; border: 1.5px solid var(--color-field); border-radius: 50%; transition: background-color var(--dur-short) var(--ease-out), border-color var(--dur-short) var(--ease-out); }
.todo__tick::after { content: ""; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid var(--color-on-plum); border-width: 0 2px 2px 0; transform: rotate(45deg) scale(0); transition: transform var(--dur-short) var(--ease-out); }
.todo__do, .todo__done { display: inline-flex; align-items: center; min-height: 36px; padding: 0 var(--space-md); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; }
.todo__do { background: var(--color-peach); color: var(--color-accent-text); transition: transform var(--dur-micro) var(--ease-out); }
.todo__done { display: none; color: var(--color-live-ink); }
.todo.is-pressing .todo__do { transform: scale(0.92); }
.todo.is-done { opacity: 0.62; transform: scale(0.96); }
.todo.is-done .todo__tick { background: var(--color-live-ink); border-color: var(--color-live-ink); }
.todo.is-done .todo__tick::after { transform: rotate(45deg) scale(1); }
.todo.is-done p { text-decoration: line-through; text-decoration-thickness: 1px; color: var(--color-ink-2); }
.todo.is-done .todo__do { display: none; }
.todo.is-done .todo__done { display: inline-flex; }
.todo--big { position: relative; grid-template-columns: minmax(0, 1fr); gap: var(--space-xs); margin-top: var(--space-xs); padding: var(--space-xl); border: 1.5px solid transparent; transition: border-color var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.todo .todo__title { font: 400 var(--text-2xl)/1.15 var(--font-display); letter-spacing: -0.035em; }
.todo .todo__line { color: var(--color-ink-2); }
.todo__bot { position: relative; justify-self: start; display: inline-flex; align-items: center; min-height: 48px; margin-top: var(--space-md); padding: 0 var(--space-lg); border-radius: var(--radius-control); background: var(--color-peach); color: var(--color-accent-text); font-weight: 600; text-decoration: none; transition: background-color var(--dur-long) var(--ease-out), color var(--dur-long) var(--ease-out), transform var(--dur-micro) var(--ease-out); }
.todo__bot::after { content: ""; position: absolute; inset: -6px; border: 2px solid var(--color-accent); border-radius: calc(var(--radius-control) + 6px); opacity: 0; pointer-events: none; }
.todo__bot:hover { background: var(--color-accent-text); color: var(--color-accent-ink); }
.todo__bot:active { transform: translateY(1px); }
.todo__bot:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 3px; }
.todo--big.is-ready { border-color: var(--color-accent); transform: scale(1.02); }
.todo--big.is-ready .todo__bot { background: var(--color-accent); color: var(--color-accent-ink); }
.todo--big.is-ready .todo__bot::after { opacity: 0.5; }
@media (prefers-reduced-motion: no-preference) {
  .todo--big.is-ready .todo__bot::after { animation: halo 1.8s var(--ease-out) infinite; }
  @keyframes halo { from { opacity: 0.6; transform: scale(0.96); } to { opacity: 0; transform: scale(1.12); } }
}

/* ---------- 6. Bryn Bots ---------- */
.bots .split { align-items: start; }
.signup { margin-top: var(--space-xl); max-width: 520px; }
.signup label { display: block; margin-bottom: var(--space-sm); font-weight: 600; color: var(--page-ink); }
.signup__row { display: flex; gap: var(--space-xs); }
.signup input { flex: 1; min-width: 0; min-height: 48px; padding: 0 var(--space-md); border: 1px solid var(--page-ink-2); border-radius: var(--radius-control); background: color-mix(in oklab, var(--page-ink) 8%, transparent); color: var(--page-ink); outline: 2px solid transparent; outline-offset: 2px; }
.signup input::placeholder { color: var(--page-ink-2); opacity: 0.85; }
.signup input:hover { border-color: var(--page-ink); }
.signup input:focus-visible { outline-color: var(--page-ink); }
.signup input[aria-invalid] { border-color: var(--color-ember); }
.signup__help { min-height: 1lh; margin-top: var(--space-xs); font-size: var(--text-sm); color: var(--page-ink-2); }
/* Bots: one Bot, four moments. It learns by watching you, spots the work, does it on its own computer, and asks before it sends */
.bot { display: grid; gap: var(--space-md); }
.bot__rail { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-xs); list-style: none; margin: 0; padding: 0; }
.bot__rail button { position: relative; display: grid; align-content: start; gap: var(--space-2xs); width: 100%; min-height: 64px; padding: var(--space-sm) var(--space-2xs) var(--space-xs); border: 0; border-top: 2px solid var(--line); background: none; color: var(--page-ink-2); font: 500 var(--text-sm)/1.3 var(--font-body); text-align: left; cursor: pointer; transition: color var(--dur-short) var(--ease-out); }
.bot__rail button::after { content: ""; position: absolute; left: 0; right: 0; top: -2px; height: 2px; background: var(--page-ink); transform: scaleX(0); transform-origin: left; }
.bot__rail button:hover { color: var(--page-ink); }
.bot__rail button:active { transform: translateY(1px); }
.bot__rail button:focus-visible { outline: 2px solid var(--page-ink); outline-offset: 2px; }
.bot__rail button[aria-pressed="true"] { color: var(--page-ink); }
.bot__rail button[aria-pressed="true"]::after { transform: none; }
.bot__n { font: 400 var(--text-lg)/1 var(--font-display); }
.bot__stage { position: relative; padding: var(--space-lg) var(--space-lg) var(--space-3xl); border-radius: var(--radius-panel); background: var(--card); box-shadow: 0 40px 80px -40px var(--color-shade); color: var(--color-ink); }
.bot__who { display: flex; align-items: center; gap: var(--space-sm); padding-bottom: var(--space-md); border-bottom: 1px solid var(--color-rule); }
.bot__who img { border-radius: var(--space-xs); }
.bot__who b { font: 500 var(--text-lg)/1.2 var(--font-display); }
.bot__state { margin-left: auto; display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 32px; padding: 0 var(--space-sm); border-radius: var(--radius-pill); background: var(--color-paper-2); font-size: var(--text-sm); font-weight: 500; color: var(--color-ink-2); }
.bot__state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-live); }
.bot__screens { position: relative; display: grid; margin-top: var(--space-md); }
.screen { grid-area: 1 / 1; display: grid; align-content: start; gap: var(--space-sm); opacity: 0; visibility: hidden; transition: opacity var(--dur-long) var(--ease-out), visibility 0s linear var(--dur-long); }
.bot[data-scene="0"] .screen--you, .bot[data-scene="1"] .screen--offer, .bot[data-scene="2"] .screen--bot, .bot[data-scene="3"] .screen--bot { opacity: 1; visibility: visible; transition-delay: 0s; }
.screen__where { font-size: var(--text-sm); color: var(--color-muted); }
.screen__rows { list-style: none; margin: 0; padding: 0; }
.screen__rows li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: var(--space-md); min-height: 52px; padding: 0 var(--space-sm); border-top: 1px solid var(--color-rule); border-radius: var(--space-xs); font-size: var(--text-md); transition: background-color var(--dur-long) var(--ease-out); }
.screen__rows span { font-size: var(--text-sm); font-weight: 600; color: var(--color-live-ink); white-space: nowrap; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .screen__rows li:not(.is-done) span { opacity: 0; transform: translateX(-6px); }
.screen--you .screen__rows span { color: var(--tone-3); }
.screen__rows li.is-wait span { color: var(--color-accent-text); }
.bot[data-scene="3"] .screen__rows li.is-wait { background: var(--color-peach); }
.offer { max-width: 34ch; padding: var(--space-md) var(--space-lg); border-radius: var(--radius-card) var(--radius-card) var(--radius-card) var(--space-2xs); background: var(--color-paper-2); font: 400 var(--text-xl)/1.3 var(--font-display); letter-spacing: -0.02em; }
.offer__acts { display: flex; gap: var(--space-xs); }
.offer__acts span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 var(--space-md); border: 1px solid var(--color-edge); border-radius: var(--radius-control); font-size: var(--text-sm); font-weight: 600; color: var(--color-ink-2); }
.offer__acts .offer__yes { border-color: var(--color-accent); background: var(--color-accent); color: var(--color-accent-ink); transition: transform var(--dur-micro) var(--ease-out); }
.offer__yes.is-pressing { transform: scale(0.94); }
.pointer { display: none; position: absolute; left: 0; top: 0; z-index: 2; pointer-events: none; transform: translate(var(--px, 70%), var(--py, 80%)); transition: transform 700ms var(--ease-in-out); }
.js .pointer { display: block; }
.pointer svg { display: block; fill: var(--color-accent); stroke: var(--color-on-plum); stroke-width: 1.2; filter: drop-shadow(0 2px 3px var(--color-shade)); }
.pointer i { position: absolute; left: 14px; top: 16px; padding: var(--space-3xs) var(--space-xs); border-radius: var(--space-2xs); background: var(--color-accent); color: var(--color-accent-ink); font: 600 var(--text-xs)/1.3 var(--font-body); font-style: normal; white-space: nowrap; }
.pointer[data-who="you"] svg { fill: var(--tone-3); }
.pointer[data-who="you"] i { background: var(--tone-3); color: var(--color-on-plum); }
.notice { position: relative; z-index: 3; justify-self: end; margin: calc(-1 * var(--space-2xl)) calc(-1 * var(--space-lg)) 0 0; display: grid; gap: var(--space-2xs); max-width: 300px; padding: var(--space-md) var(--space-lg); border: 1px solid var(--frame-edge); border-radius: var(--radius-card); background: var(--color-glass); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); box-shadow: var(--shadow-card); color: var(--color-ink); line-height: 1.4; transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js .bot:not([data-scene="3"]) .notice { opacity: 0; transform: translateY(12px); }
.notice b { font: 500 var(--text-lg)/1.2 var(--font-display); }
.notice__acts { display: flex; gap: var(--space-xs); margin-top: var(--space-xs); }
.notice__acts span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 var(--space-sm); border-radius: var(--radius-control); background: var(--color-paper-2); font-size: var(--text-sm); font-weight: 600; }
.notice__acts span:first-child { background: var(--color-plum); color: var(--color-on-plum); }
@media (prefers-reduced-motion: no-preference) {
  .bot.is-playing .bot__rail button[aria-pressed="true"]::after { animation: fill var(--scene, 5200ms) linear both; }
  @keyframes fill { from { transform: scaleX(0); } to { transform: none; } }
}

/* ---------- 7. Privacy: a short list beside a kept light ---------- */
.privacy { padding-block: var(--section-gap); }
.privacy__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--space-2xl); align-items: center; }
.privacy h2 { max-width: 12ch; }
.privacy .lede { max-width: 38ch; }
.vows { list-style: none; margin: var(--space-xl) 0 var(--space-lg); padding: 0; display: grid; gap: var(--space-md); }
.vows li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: var(--space-md); align-items: center; max-width: 46ch; font-size: var(--text-md); line-height: 1.45; color: var(--page-ink); }
.vows__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-control); background: color-mix(in oklab, var(--page-ink) 10%, transparent); border: 1px solid var(--line); }
.vows__icon svg { width: 20px; height: 20px; fill: none; stroke: var(--page-ink); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.privacy .textlink { min-height: 44px; }

.keep { display: grid; justify-items: center; gap: var(--space-lg); }
.keep__sky { position: relative; display: grid; place-items: center; aspect-ratio: 1; width: min(100%, 540px); container-type: inline-size; }
.keep__ring { position: absolute; inset: 0; border: 1px solid color-mix(in oklab, var(--page-ink) 18%, transparent); border-radius: 50%; }
.keep__ring:nth-child(1) { border-style: dashed; }
.keep__ring:nth-child(2) { inset: 18%; border-color: color-mix(in oklab, var(--page-ink) 34%, transparent); }
.keep__ring:nth-child(3) { inset: 32%; border-color: color-mix(in oklab, var(--page-ink) 24%, transparent); }
.orbit { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.orbit li { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform: rotate(var(--am, var(--a))) translateX(var(--r)) rotate(calc(-1 * var(--am, var(--a)))); }
.orbit--out { --r: 50cqw; }
.orbit--in { --r: 32cqw; }
.orbit li > span { display: block; }
.orbit b { display: inline-flex; align-items: center; gap: var(--space-xs); min-height: 34px; padding: 0 var(--space-md); border-radius: var(--radius-pill); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; transform: translate(-50%, -50%); }
.orbit--in b { background: var(--card); color: var(--color-ink); box-shadow: 0 0 0 1px var(--frame-edge), 0 10px 30px -10px var(--glow-2); }
.orbit--in b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-live); }
.orbit--out b { border: 1px dashed color-mix(in oklab, var(--page-ink) 40%, transparent); color: var(--page-ink-2); background: color-mix(in oklab, var(--page-ink) 6%, transparent); text-decoration: line-through; text-decoration-thickness: 1px; }
.keep__core { position: relative; z-index: 1; display: grid; place-items: center; width: 34%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 50% 40%, var(--glow) 0%, color-mix(in oklab, var(--glow) 70%, transparent) 45%, transparent 72%); box-shadow: 0 0 120px 30px var(--glow-2); transition: opacity var(--dur-long) var(--ease-out), filter var(--dur-long) var(--ease-out); }
.keep__core img { width: 38%; height: auto; border-radius: 22%; box-shadow: 0 8px 24px -8px var(--color-shade); }
.keep__legend { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-xs) var(--space-lg); font-size: var(--text-sm); color: var(--page-ink-2); }
.keep__legend span { display: inline-flex; align-items: center; gap: var(--space-xs); }
.keep__in::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--color-live); }
.keep__out::before { content: ""; width: 14px; height: 10px; border: 1px dashed var(--page-ink-2); border-radius: var(--radius-pill); }
.switch { display: inline-flex; align-items: center; gap: var(--space-sm); min-height: 44px; padding: 0 var(--space-md) 0 var(--space-xs); border: 1px solid var(--line); border-radius: var(--radius-pill); background: color-mix(in oklab, var(--page-ink) 6%, transparent); color: var(--page-ink); font-size: var(--text-sm); font-weight: 600; white-space: nowrap; cursor: pointer; transition: background-color var(--dur-short) var(--ease-out); }
.switch:hover { background: color-mix(in oklab, var(--page-ink) 12%, transparent); }
.switch:active { transform: translateY(1px); }
.switch:focus-visible { outline: 2px solid var(--page-ink); outline-offset: 3px; }
.switch__track { position: relative; width: 40px; height: 24px; border-radius: var(--radius-pill); background: var(--color-live-ink); transition: background-color var(--dur-short) var(--ease-out); }
.switch__knob { position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: var(--color-on-plum); transform: translateX(16px); transition: transform var(--dur-short) var(--ease-out); }
.switch[aria-pressed="true"] .switch__track { background: var(--color-field); }
.switch[aria-pressed="true"] .switch__knob { transform: none; }
.keep.is-paused .keep__core { opacity: 0.35; filter: grayscale(1); }
.keep.is-paused .orbit--in b { opacity: 0.4; }
.keep.is-paused .orbit, .keep.is-paused .orbit li > span { animation-play-state: paused; }
@media (prefers-reduced-motion: no-preference) {
  .orbit { animation: spin 90s linear infinite; }
  .orbit--in { animation-duration: 60s; animation-direction: reverse; }
  .orbit li > span { animation: spin 90s linear infinite reverse; }
  .orbit--in li > span { animation-duration: 60s; animation-direction: normal; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .keep__core { animation: glow 5s var(--ease-in-out) infinite; }
  @keyframes glow { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
}

/* ---------- 9. Pricing: two plans ---------- */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap-columns); margin-top: var(--space-2xl); align-items: stretch; max-width: 1040px; }
.plan { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--space-md); padding: var(--space-xl); border-radius: var(--radius-card); background: var(--color-surface); box-shadow: var(--shadow-card); color: var(--color-ink); }
.plan--main { background: var(--color-peach); }
.plan h3 { font-size: var(--text-xl); line-height: 1.1; letter-spacing: -0.02em; }
.plan__price { color: var(--color-ink-2); }
.plan__price b { font: 400 var(--text-3xl)/1 var(--font-display); letter-spacing: -0.03em; color: var(--color-ink); font-variant-numeric: tabular-nums; }
.plan__what { max-width: 40ch; color: var(--color-ink-2); }
.plan__act { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-sm) var(--space-md); }
.plan__act p { font-size: var(--text-sm); color: var(--color-ink-2); }
.plans__teams { margin-top: var(--space-xl); max-width: 1040px; padding-top: var(--space-lg); border-top: 1px solid var(--line); color: var(--page-ink-2); }
.plans__teams b { color: var(--page-ink); font-weight: 600; }

/* ---------- 10. FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: var(--space-2xl) var(--gap-columns); align-items: start; }
.faq h2 { max-width: 10ch; }
.faq__list details { border-top: 1px solid var(--line); }
.faq__list details:last-child { border-bottom: 1px solid var(--line); }
.faq__list summary { position: relative; display: flex; align-items: center; min-height: 64px; padding: var(--space-md) var(--space-2xl) var(--space-md) 0; list-style: none; cursor: pointer; font: 400 var(--text-title)/1.3 var(--font-display); letter-spacing: -0.02em; color: var(--page-ink); border-radius: var(--space-2xs); transition: opacity var(--dur-short) var(--ease-out); }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary::before, .faq__list summary::after { content: ""; position: absolute; right: var(--space-sm); top: 50%; width: 16px; height: 2px; background: currentColor; transition: transform var(--dur-short) var(--ease-out); }
.faq__list summary::after { transform: rotate(90deg); }
.faq__list details[open] summary::after { transform: rotate(0deg); }
.faq__list summary:hover { opacity: 0.78; }
.faq__list summary:active { opacity: 0.65; }
.faq__list summary:focus-visible { outline: 2px solid var(--page-ink); outline-offset: 4px; }
.faq__list details:not([open]) > p { display: none; }
.faq__list details p { max-width: 60ch; padding-bottom: var(--space-lg); color: var(--page-ink-2); }

/* ---------- 11. Close: first light, the line set huge ---------- */
.close { position: relative; display: grid; align-items: center; min-height: max(640px, 92dvh); padding-block: var(--section-gap) var(--space-3xl); }
.close h2 { font-size: clamp(3.25rem, 8.4vw, 9rem); line-height: 0.92; letter-spacing: -0.05em; max-width: 13ch; color: var(--page-ink); }
.close__note { margin-top: var(--space-md); font-size: var(--text-sm); color: var(--page-ink-2); }
.close__lede { margin-top: var(--space-xl); font-size: var(--text-lead); line-height: 1.5; color: var(--page-ink-2); }

/* ---------- Footer: on the painting ---------- */
.foot { padding-block: var(--space-lg) var(--space-xl); }
.foot__row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-md) var(--space-xl); padding-top: var(--space-lg); border-top: 1px solid var(--line); }
.brand--foot { font-size: var(--text-md); }
.foot__links { display: flex; gap: var(--space-2xs); }
.foot__links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-sm); border-radius: var(--radius-control); color: var(--page-ink-2); font-size: var(--text-sm); text-decoration: none; }
.foot__links a:hover { color: var(--page-ink); background: color-mix(in oklab, var(--page-ink) 8%, transparent); }
.foot__links a:active { opacity: 0.8; }
.foot__links a:focus-visible { outline: 2px solid var(--color-focus); outline-offset: 2px; }
.foot__fine { margin-left: auto; max-width: 52ch; font-size: var(--text-sm); color: var(--page-ink-2); }

/* ---------- One reveal, visible by default ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur-long) var(--ease-out), transform var(--dur-long) var(--ease-out); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .todo, .nav__links a, .faq__list summary::after, h2, .lede { transition: none; }
}

/* ---------- Smaller screens ---------- */
@media (max-width: 60rem) {
  .nav__links { display: none; }
  .menu { display: block; }
  .brand { margin-right: auto; }
  .paint__veil[data-veil="day"] { background: var(--veil-narrow); }
  .paint__veil[data-veil="night"] { background: var(--veil-night); }
  .hero { min-height: 0; padding-block: calc(var(--space-3xl) + var(--space-md)) var(--space-3xl); }
  .hero__grid, .split, .split--flip, .faq__grid, .privacy__grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-xl); }
  .split--flip > :last-child { order: 0; }
  .hero__now { justify-self: stretch; max-width: 560px; }
  .pair, .plans, .flow { grid-template-columns: minmax(0, 1fr); }
  .flow { gap: var(--space-xl); }
  .flow__lines { display: none; }
  .voices { height: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-xl) var(--space-md); padding-bottom: var(--space-3xl); }
  .voice { position: relative; left: auto; top: auto; width: auto; }
  .voices__lines { display: none; }
  .speech__said { font-size: var(--text-lg); }
  .keep__sky { width: min(100%, 340px); }
  .orbit--out { --r: 38cqw; }
  .orbit--in { --r: 27cqw; }
  .orbit b { min-height: 28px; padding: 0 var(--space-sm); font-size: var(--text-xs); }
  .notice { margin-right: 0; }
  .foot__fine { margin-left: 0; }
}
@media (max-width: 72rem) { .clock { display: none; } }
@media (max-width: 40rem) {
  .nav__row { gap: var(--space-xs); }
  .menu__label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .day { padding: var(--space-md) var(--space-md) var(--space-sm); }
  .day__head { margin-inline: 0; }
  .call { grid-template-columns: minmax(0, 1fr); gap: var(--space-2xs); padding: var(--space-md) var(--space-lg); }
  .call__time { display: flex; align-items: baseline; gap: var(--space-2xs); text-align: left; font-size: var(--text-md); }
  .call__time span { display: inline; margin: 0; }
  .tools { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tools li { flex-direction: column; justify-content: center; gap: var(--space-xs); min-height: 88px; padding: var(--space-sm) var(--space-2xs); font-size: var(--text-sm); }
  .tools li.tools__more { grid-column: 1 / -1; min-height: 0; align-items: flex-start; padding: 0; }
  .bot__stage { padding: var(--space-md) var(--space-md) var(--space-2xl); }
  .bot__who { flex-wrap: wrap; }
  .bot__who b { white-space: nowrap; }
  .bot__state { white-space: nowrap; }
  .screen__rows li { padding-inline: var(--space-2xs); }
  .orbit--out { --r: 44cqw; }
  .orbit--out li:nth-child(1) { --am: 232deg; }
  .orbit--out li:nth-child(2) { --am: 308deg; }
  .orbit--out li:nth-child(3) { --am: 90deg; }
  .orbit--out, .orbit--out li > span { animation: none !important; }
  .close { min-height: 0; padding-block: var(--space-3xl) var(--space-2xl); }
  .bot__rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .notice { justify-self: stretch; max-width: none; margin-top: calc(-1 * var(--space-xl)); }
  .actions .btn { flex: 1 1 100%; }
  .voices { grid-template-columns: minmax(0, 1fr); }
  .appbar__state { display: none; }
  .signup__row { flex-direction: column; }
  .plan { padding: var(--space-lg); }
}
@media (prefers-color-scheme: dark) {
  .btn:not(.btn--quiet):not(.plan .btn) { background: var(--color-night-ink); border-color: var(--color-night-ink); color: var(--color-plum-deep); }
}
