:root {
  --ink: #292929; --ink2: #696969; --ink3: #8c8c8c;
  --rule: #dcdcdc; --rule2: #eaeaea; --soft: #f3f3f3;
  --dark: #1b1b1b; --dark2: #242424; --dark3: #343434; --on-dark: #f0f0f0; --on-dark2: #a5a5a5;
  --sage: #66714c; --sage-wash: #e1dfc8;
  --terracotta: #b65a36; --terracotta-wash: #f2d7c8;
  --ocean: #426f86; --ocean-wash: #d8e4e6;
  --violet: #685d78; --violet-wash: #e0d7e2;
  --rose: #a65a67; --rose-wash: #ead1d7;
  --midnight: #26364e; --midnight-wash: #d4d9df;
  --ease: cubic-bezier(.22,.8,.2,1);
  --roll: cubic-bezier(.35,0,.2,1);
  --gutter: clamp(20px, 5.5vw, 88px);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  color: var(--ink);
  background: #fff;
}
* { box-sizing: border-box; }
html { scrollbar-gutter: stable; }
body { margin: 0; background: #fff; overflow-x: clip; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 500; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--ocean); outline-offset: 4px; border-radius: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 200; background: var(--ink); color: #fff; padding: 12px 16px; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.button { display: inline-flex; align-items: center; justify-content: center; padding: 16px 22px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 15px; transition: background .2s, transform .2s var(--ease); }
.button:hover { background: #454545; }
.button.small { padding: 11px 16px; font-size: 14px; }
.button.light { background: #fff; color: var(--ink); }
.button.light:hover { background: #e9e9e9; }
.text-link { display: inline-block; font-size: 15px; padding-bottom: 6px; border-bottom: 1px solid currentColor; }
.text-link:hover { color: var(--ocean); }

/* ── Header ─────────────────────────────────────────── */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; opacity: 0; transform: translateY(-8px); pointer-events: none; transition: opacity .45s ease, transform .45s ease, border-color .3s; }
.site-header.show { opacity: 1; transform: none; pointer-events: auto; }
.site-header.lined { border-color: var(--rule2); }
.site-header:focus-within { opacity: 1; transform: none; pointer-events: auto; }
.nav-inner { height: 88px; padding: 0 var(--gutter); display: flex; align-items: center; gap: clamp(36px, 4vw, 64px); max-width: 1680px; margin: auto; }
.wordmark { font-size: 36px; font-weight: 700; letter-spacing: -.06em; line-height: 1; }
.nav-links { display: flex; gap: clamp(22px, 2.4vw, 36px); font-size: 19px; font-weight: 500; letter-spacing: -.03em; }
.nav-links a, .nav-login { color: var(--ink2); transition: color .2s; }
.nav-links a:hover, .nav-login:hover { color: var(--ink); }
.nav-account { margin-left: auto; display: flex; align-items: center; gap: 28px; font-size: 19px; font-weight: 500; letter-spacing: -.03em; }
.nav-account .button { font-size: 15px; font-weight: 400; letter-spacing: 0; padding: 13px 20px; }
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-menu { display: none; position: relative; width: 40px; height: 40px; margin-right: -8px; }
.nav-menu span { position: absolute; left: 10px; right: 10px; height: 1.5px; background: var(--ink); transition: transform .3s var(--ease), top .3s var(--ease); }
.nav-menu span:first-child { top: 16px; }
.nav-menu span:last-child { top: 23px; }
.nav-menu[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav-menu[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }
.nav-sheet { display: grid; padding: 12px var(--gutter) 28px; background: #fff; border-bottom: 1px solid var(--rule2); }
.nav-sheet a { font-size: 30px; font-weight: 500; letter-spacing: -.045em; padding: 12px 0; border-top: 1px solid var(--rule2); }
.nav-sheet a:first-child { border-top: 0; }
.site-header.menu-open { background: #fff; }

/* ── Hero (kept) ────────────────────────────────────── */
.calm-hero { position: relative; isolation: isolate; display: grid; place-items: center; min-height: max(560px, 100svh); overflow: clip; padding: 110px 5% 150px; background: #fff; }
.hero-plane { position: absolute; z-index: -1; width: 82vw; height: 82vh; right: -42vw; top: 36%; border-radius: 28px; background: linear-gradient(140deg, #fff 9%, var(--sage-wash) 100%); box-shadow: -28px -12px 70px -45px #2929291a; opacity: .55; transform: rotate(-24deg); pointer-events: none; }
.hero-playing .hero-plane { animation: plane-settle 20s cubic-bezier(.22,.68,.2,1) both; }
.calm-hero h1 { width: 100%; text-align: center; font-weight: 500; letter-spacing: -.055em; line-height: 1.12; }
.hero-thought { display: block; font-size: clamp(40px, 5.1vw, 82px); white-space: nowrap; }
.hero-type { display: inline-block; white-space: pre; }
.hero-word-stage { position: relative; display: block; height: 1.25em; margin-top: .07em; font-size: clamp(86px, 9.6vw, 150px); line-height: 1.2; color: var(--ink); }
.hero-word-text { vertical-align: top; }
/* Rolling titles: a mask a little wider and deeper than the line, whole letters inside. */
.roll-layer { position: absolute; top: 0; bottom: -.3em; left: -.3em; right: -.3em; overflow: hidden; pointer-events: none; }
.roll-glyph { position: absolute; display: inline-block; white-space: pre; line-height: inherit; }
.hero-next { position: absolute; bottom: 38px; left: calc(50% - 26px); display: grid; place-items: center; width: 52px; height: 56px; color: var(--ink2); border-radius: 28px; transition: opacity .5s ease, transform .5s ease, color .2s ease; }
.hero-awaiting-life .hero-next { opacity: 0; visibility: hidden; pointer-events: none; transform: translateY(-5px); }
.hero-next:hover { color: var(--ink); }
@keyframes plane-settle { from { transform: translate(30px, 24px) rotate(-26deg); } to { transform: translate(0, 0) rotate(-24deg); } }

/* Hero: a tile opens onto each place, then settles into the app icon beside "life". */
.calm-hero { align-content: center; }
.hero-cta { opacity: 0; transform: translateY(10px); transition: opacity .8s ease, transform .9s var(--ease); }
.hero-cta { display: flex; align-items: center; justify-content: center; gap: 30px; margin-top: 46px; }
.hero-settled .hero-cta { opacity: 1; transform: none; }
.hero-cta .text-link { font-size: 15px; }
html.js .hero-thought { opacity: 0; transform: translateY(8px); transition: opacity .6s ease, transform .8s var(--ease); }
.hero-lined .hero-thought { opacity: 1 !important; transform: none !important; }
.hero-word-stage { padding-left: .98em; }
.hero-icon { display: block; position: absolute; top: .2em; left: 0; width: .8em; height: .8em; border-radius: 28%; overflow: hidden; z-index: 4; box-shadow: 0 30px 60px -40px #00000080; }
.hi-layer { position: absolute; inset: 0; border-radius: 28%; overflow: hidden; background: #fff; }
/* Keep the tiles composited for the whole sequence, so text is not re-rasterized (and nudged) as each animation ends. */
.win-running .hero-icon, .win-running .hi-layer, .win-running .win-card { will-change: transform, opacity; }
.hi-layer svg { display: block; width: 100%; height: 100%; }
.hi-app { box-shadow: inset 0 0 0 1.5px var(--rule); display: grid; place-items: center; }
.hi-app svg { width: 50%; height: 58%; color: var(--ink); }
.hero-word-text { transition: opacity .9s ease .5s; }
.win-running .hero-word-text { opacity: 0; transition: none; }
.win-running .hero-next { opacity: 0; visibility: hidden; }
.hero-caption { position: absolute; left: 0; right: 0; z-index: 5; height: 1.2em; font-size: clamp(28px, 2.8vw, 44px); font-weight: 500; letter-spacing: -.045em; line-height: 1.2; text-align: center; transition: opacity .5s ease; }
html:not(.js) .hero-caption, .win-done .hero-caption { opacity: 0; }
.hc-text { display: inline-block; white-space: pre; vertical-align: top; }
.win-layer { display: grid; place-items: center; }
.win-card { display: block; width: 76%; padding: 1.15em 1.25em 1em; border-radius: .9em; background: #fff; color: var(--ink); text-align: left; letter-spacing: -.01em; box-shadow: 0 .8em 1.6em -1.1em #00000070; }
.win-card p { margin: 0; }
.win-card .wk { display: flex; align-items: center; gap: .45em; font-size: .78em; color: var(--ink2); margin-bottom: .55em; }
.win-card .wt { font-size: 1.3em; font-weight: 500; letter-spacing: -.03em; line-height: 1.2; margin-bottom: .35em; }
.win-card .wm { font-size: .82em; color: var(--ink2); margin-top: .3em; }
.win-card .wr { display: flex; gap: .7em; align-items: baseline; padding: .6em 0; border-top: 1px solid var(--rule2); font-size: .92em; line-height: 1.3; }
.win-card .wr b { margin-left: auto; font-weight: 400; color: var(--ink2); }
.win-card .wr i { width: 5.2em; flex: none; font-style: normal; color: var(--terracotta); font-size: .9em; }
.win-card .wc::before { content: ""; flex: none; width: .95em; height: .95em; margin-top: .12em; border: 1.3px solid var(--ink2); border-radius: .22em; align-self: flex-start; }
.win-card .wc.on { color: var(--ink3); text-decoration: line-through; }
.win-card .wc.on::before { background: var(--terracotta); border-color: var(--terracotta); }
.win-card .wphoto { height: 6.2em; margin: -1.15em -1.25em .9em; border-radius: .9em .9em 0 0; background: center / cover no-repeat; }
.win-card .wp { display: flex; align-items: center; gap: .6em; font-size: 1.3em; font-weight: 500; letter-spacing: -.03em; margin-bottom: .4em; }
.win-card .wp span { width: 1.7em; height: 1.7em; border-radius: 50%; background: var(--rose-wash); color: var(--rose); display: grid; place-items: center; font-size: .75em; }
.win-card .wcovers { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; }
.win-card .wcovers span { aspect-ratio: 2 / 3; border-radius: .35em; background: var(--midnight) center / cover no-repeat; box-shadow: 0 .5em 1em -.6em #00000080; }

/* ── Story stage ────────────────────────────────────── */
.story { position: relative; background: #fff; scroll-margin-top: 62px; }
.story-inner { position: relative; max-width: 1480px; margin: 0 auto; padding: clamp(80px, 9vw, 130px) var(--gutter) 100px; display: flex; flex-direction: column; gap: clamp(44px, 5vw, 72px); }
.story-voice { position: relative; max-width: 1180px; min-height: 3.5em; font-size: clamp(30px, 3.7vw, 60px); }
.story-answer { border-top: 1px solid var(--rule2); scroll-margin-top: 88px; }
.story-answer:focus { outline: none; }
.story-next { position: absolute; left: 50%; bottom: 24px; margin-left: -22px; width: 44px; height: 44px; display: grid; place-items: center; color: var(--ink2); animation: story-next-in .45s ease both; }
.story-next:hover { color: var(--ink); }
@keyframes story-next-in { from { opacity: 0; } to { opacity: 1; } }
.story-answer-inner { max-width: 1480px; margin: 0 auto; padding: 100px var(--gutter) 120px; display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.story-answer .story-voice { min-height: 0; }
.story-answer .asked { position: relative; inset: auto; opacity: 1; transform: none; pointer-events: auto; }
.story-answer .asked-a { margin-top: 24px; }
.story-sources { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.story-sources .card { height: 100%; }
.said, .asked-q { font-size: 1em; line-height: 1.1; letter-spacing: -.045em; font-weight: 500; transition: opacity .5s ease, transform .6s var(--ease); }
.said .c, .asked-q .c { position: relative; visibility: hidden; }
.said .c.on, .asked-q .c.on { visibility: visible; }
.said .c.caret::after, .asked-q .c.caret::after { content: ""; position: absolute; right: -.06em; top: .12em; width: .06em; min-width: 2px; height: .95em; background: var(--ink); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.said .bit { border-radius: .12em; transition: color .5s ease, background-size .7s var(--ease); background-image: linear-gradient(var(--wash), var(--wash)); background-repeat: no-repeat; background-size: 0% 100%; background-position: left; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding: 0 .04em; margin: 0 -.04em; }
.said .bit.lit { color: var(--c); background-size: 100% 100%; }
.said.away { opacity: 0; transform: translateY(-24px); }
.asked { position: absolute; inset: 0 0 auto; opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .6s var(--ease); pointer-events: none; }
.asked.on { opacity: 1; transform: none; }
.asked-q { position: relative; }
.asked-a { display: flex; gap: 18px; margin-top: .55em; max-width: 780px; font-size: clamp(17px, 1.45vw, 22px); line-height: 1.5; color: var(--ink2); letter-spacing: -.01em; }
.asked-a p { opacity: 0; transition: opacity .6s ease; }
.asked-a.on p { opacity: 1; }
.voice-mark { flex: none; width: 22px; height: 26px; margin-top: 3px; color: var(--ink); opacity: 0; transition: opacity .4s ease; }
.asked-a.on .voice-mark { opacity: 1; }
.asked-a .w { opacity: 0; transition: opacity .35s ease; }
.asked-a .w.on { opacity: 1; }

.story-board { position: relative; }
.story-places, .story-cards { display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); gap: 0 clamp(14px, 2vw, 32px); max-width: 1180px; }
.place { display: flex; align-items: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--rule2); }
.place-icon { position: relative; width: 44px; height: 44px; flex: none; color: var(--c); transition: transform .4s var(--ease); }
.place-icon svg { display: block; width: 100%; height: 100%; }
.place-icon.pulse { animation: pulse .55s var(--ease); }
@keyframes pulse { 40% { transform: scale(1.16); } }
.place-label { font-size: 15px; letter-spacing: -.01em; }
.place-count { margin-left: auto; font-size: 13px; color: var(--ink3); opacity: 0; transition: opacity .3s; }
.place.filled .place-count { opacity: 1; }
.story-cards { margin-top: 20px; min-height: 150px; }
.card { position: relative; align-self: start; background: #fff; border: 1px solid var(--rule2); border-radius: 14px; padding: 16px 16px 15px; box-shadow: 0 1px 1px #0000000a, 0 18px 34px -24px #0000003d; opacity: 0; transform: translateY(16px) scale(.97); transition: opacity .55s ease, transform .7s var(--ease), box-shadow .4s ease, border-color .4s ease; }
.card.in { opacity: 1; transform: none; }
.card.dim { opacity: .28; }
.card.source { border-color: var(--c); box-shadow: 0 0 0 1px var(--c), 0 22px 40px -22px #00000055; transform: translateY(-6px); }
.card-kind { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--c); margin-bottom: 10px; }
.card-kind::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.card strong { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.015em; line-height: 1.25; }
.card small { display: block; margin-top: 5px; font-size: 13px; color: var(--ink2); line-height: 1.4; }
.card .person { display: flex; gap: 10px; align-items: center; }
.card .avatar { width: 30px; height: 30px; border-radius: 50%; background: var(--wash); color: var(--c); display: grid; place-items: center; font-size: 14px; font-weight: 500; flex: none; }
.card ul { list-style: none; padding: 0; margin: 8px 0 0; font-size: 14px; }
.card li { display: flex; align-items: center; gap: 8px; padding: 5px 0; border-top: 1px solid var(--rule2); }
.card li::before { content: ""; width: 12px; height: 12px; border: 1.3px solid var(--ink3); border-radius: 50%; }
.card .taskline { display: flex; gap: 10px; }
.card .taskline::before { content: ""; flex: none; width: 16px; height: 16px; margin-top: 1px; border: 1.4px solid var(--ink2); border-radius: 4px; }
.card .due { color: var(--c); }

.flight { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; will-change: transform; }
.flight > span { display: block; padding: 7px 13px; border-radius: 999px; background: var(--c); color: #fff; font-size: 15px; letter-spacing: -.01em; white-space: nowrap; box-shadow: 0 10px 24px -12px #00000080; will-change: transform, opacity; }

.story-links { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; }
.story-links path { fill: none; stroke: var(--ink); stroke-width: 1.2; opacity: .45; transition: opacity .5s ease; }
.story-links circle { fill: var(--ink); opacity: .6; transition: opacity .5s ease; }
.story-links .faded { opacity: .06; }


/* ── Places (the app) ───────────────────────────────── */
.places { position: relative; overflow-x: clip; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 40px; max-width: 1560px; margin: 0 auto; padding: 120px var(--gutter) 150px; min-height: 100svh; }
.places-copy h2, .assist-copy h2, .private h2, .start h2 { font-size: clamp(44px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.058em; font-weight: 500; }
.places-copy p { margin-top: 28px; max-width: 420px; font-size: 19px; line-height: 1.55; color: var(--ink2); letter-spacing: -.01em; }
.p-dock [data-open="browse"] { position: relative; }
#phone .p-dock [data-open="browse"]::before { content: ""; position: absolute; inset: -2px; border-radius: 18px; box-shadow: 0 0 0 2px var(--accent); opacity: 0; animation: tap-pulse 2.6s ease-in-out infinite; pointer-events: none; }
.p-hint { position: absolute; bottom: calc(100% + 12px); left: 50%; translate: -50% 0; padding: 6px 10px; border-radius: 8px; background: var(--ink); color: #fff; font-size: 11.5px; white-space: nowrap; pointer-events: none; animation: hint-bob 2.6s ease-in-out infinite; }
.p-hint::after { content: ""; position: absolute; top: 100%; left: 50%; margin-left: -5px; border: 5px solid transparent; border-top-color: var(--ink); }
.touched .p-hint, .touched .p-dock [data-open="browse"]::before { display: none; }
.p-explore-hint { margin: 0 0 14px; color: var(--ink2); font-size: 12.5px; line-height: 1.4; }
@keyframes tap-pulse { 0%, 100% { opacity: 0; transform: scale(.94); } 50% { opacity: .9; transform: scale(1.04); } }
@keyframes hint-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.p-back { display: grid; place-items: center; width: 26px; height: 34px; margin: 0 2px 0 -8px; color: var(--accent); }
.p-back svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-head { justify-content: flex-start; }
.p-actions { margin-left: auto; }
.p-row { display: flex; gap: 12px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule2); }
.p-row:first-child { border-top: 0; }
.p-row strong { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.015em; }
.p-row small { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 2px; line-height: 1.35; }
.p-glyph { width: 38px; height: 38px; flex: none; color: var(--c); }
.p-glyph svg { display: block; width: 100%; height: 100%; }
.p-group { font-size: 16px; font-weight: 500; color: var(--ink2); padding: 8px 0 2px; }
.p-group:not(:first-child) { margin-top: 14px; }
.p-prow { display: flex; gap: 10px; align-items: flex-start; padding: 13px 0; border-top: 1px solid var(--rule2); }
.p-group + .p-prow { border-top: 0; }
.p-prow > span { flex: 1; min-width: 0; }
.p-prow strong { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.p-prow small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 13.5px; line-height: 1.4; color: var(--ink2); }
.p-prow em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--ink3); }
.p-prow svg { width: 17px; height: 17px; flex: none; margin-top: 3px; fill: none; stroke: var(--ink3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-people i, .sp-alex { width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10.5px; font-style: normal; color: #fff; background: var(--terracotta); }
.p-first { border-top: 0; padding-top: 2px; }
.p-graph { display: block; width: 100%; height: auto; margin-top: 4px; }
.p-graph .edges path { fill: none; stroke: var(--ink3); stroke-width: 1.2; }
.p-graph circle { fill: var(--c); }
.p-graph text { font-size: 12px; text-anchor: middle; fill: var(--ink); font-family: inherit; }
.p-entry { padding: 12px 0 14px; border-top: 1px solid var(--rule2); }
.p-entry:first-child { border-top: 0; }
.p-entry p { font-size: 15px; line-height: 1.45; letter-spacing: -.01em; }
.p-entry em { display: block; margin-top: 6px; font-style: normal; font-size: 12.5px; color: var(--ink2); }
.p-entry small { display: block; margin-top: 6px; font-size: 12px; color: var(--ink3); }
.p-media { display: flex; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--rule2); }
.p-media:first-child { border-top: 0; }
.p-media strong { display: block; font-size: 16px; font-weight: 500; letter-spacing: -.02em; }
.p-media small { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 3px; }
.p-media em { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--ink3); }
.p-cover { width: 58px; height: 84px; flex: none; border-radius: 6px; background: var(--midnight) center / cover no-repeat; box-shadow: 0 8px 16px -10px #00000080; }
.p-tracker { display: grid; gap: 8px; padding: 13px 0; border-top: 1px solid var(--rule2); }
.p-tracker:first-child { border-top: 0; }
.p-tracker strong { font-size: 15px; font-weight: 500; letter-spacing: -.015em; }
.p-tracker small { font-size: 12px; color: var(--ink2); }
.places-scene { position: relative; height: clamp(700px, 88vh, 860px); }
.big-tile { position: absolute; width: var(--size); height: var(--size); border-radius: 28%; overflow: hidden; background: #fff; transition: transform .6s var(--ease), filter .3s; will-change: transform; }
.big-tile:hover { filter: brightness(1.06); }
.tile-art, .tile-art svg { display: block; width: 100%; height: 100%; }
.tile-art svg { color: var(--c); }
.phone-wrap { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 5; display: grid; justify-items: center; gap: 22px; }

.phone { width: 318px; height: 664px; border-radius: 54px; background: #111; padding: 11px; box-shadow: 0 0 0 1.5px #3a3a3a inset, 0 2px 2px #0000001a, 0 40px 80px -30px #00000070, 0 90px 120px -60px #00000040; }
.phone-screen { position: relative; height: 100%; border-radius: 44px; background: #fff; overflow: hidden; display: flex; flex-direction: column; }
.p-status { display: flex; align-items: center; justify-content: space-between; padding: 14px 26px 0 30px; height: 44px; font-size: 13px; font-weight: 600; }
.p-island { width: 92px; height: 26px; border-radius: 20px; background: #111; }
.p-signal { width: 38px; height: 11px; border-radius: 3px; background: linear-gradient(90deg, var(--ink) 0 60%, transparent 60% 68%, var(--ink) 68%); opacity: .85; }
.p-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 8px; }
.p-title-stage { position: relative; display: block; font-size: 29px; font-weight: 700; letter-spacing: -.045em; line-height: 1.2; height: 1.2em; min-width: 120px; overflow: hidden; }
.p-title { display: inline-block; white-space: pre; vertical-align: top; }
.p-actions { display: flex; gap: 14px; color: var(--accent); }
.p-actions svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.p-actions .fill { fill: currentColor; stroke: none; }
.p-body { position: relative; flex: 1; overflow: hidden; padding: 0 20px; }
.p-screen { height: 100%; overflow-y: auto; scrollbar-width: none; padding-bottom: 90px; }
.p-screen.enter { animation: screen-in .28s ease-out both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(5px); } }
.p-date { display: flex; justify-content: space-between; color: var(--ink2); font-size: 14px; padding: 2px 0 12px; }
.p-sec { border-top: 1px solid var(--rule2); padding: 13px 0 6px; }
.p-sec .p-h { display: flex; font-weight: 500; justify-content: space-between; align-items: baseline; font-size: 18px; letter-spacing: -.02em; margin-bottom: 8px; }
.p-link { font-size: 13px; color: var(--accent); font-weight: 400; }
.p-brief { font-size: 14.5px; line-height: 1.45; }
.p-event { display: flex; gap: 12px; padding: 8px 0; font-size: 14.5px; border-top: 1px solid var(--rule2); }
.p-event:first-of-type { border-top: 0; }
.p-when { width: 70px; flex: none; color: var(--accent); font-size: 13px; padding-top: 1px; }
.p-task { display: flex; gap: 12px; align-items: flex-start; padding: 9px 0; border-top: 1px solid var(--rule2); cursor: pointer; font-size: 14.5px; line-height: 1.3; }
.p-task:first-of-type { border-top: 0; }
.p-task input { appearance: none; flex: none; width: 19px; height: 19px; margin: 0; border: 1.25px solid var(--ink3); border-radius: 5px; display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s; }
.p-task input:checked { background: var(--accent); border-color: var(--accent); }
.p-task input:checked::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.p-task small { display: block; color: var(--ink2); font-size: 12.5px; margin-top: 3px; }
.p-due { display: flex !important; align-items: center; gap: 4px; }
.p-due.now { color: var(--accent); }
.p-due.late { color: var(--terracotta); }
.p-clock { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.p-round input { border-radius: 50%; }
.p-tabs { display: flex; gap: 20px; margin: -4px 0 10px; font-size: 16px; font-weight: 500; color: var(--ink2); }
.p-tabs span { padding: 6px 0 8px; }
.p-tabs .on { color: var(--accent); box-shadow: inset 0 -2px var(--accent); }
.p-accent { color: var(--accent); }
.p-sec .p-h i { margin-right: auto; margin-left: 8px; font-style: normal; font-weight: 400; font-size: 14px; color: var(--ink3); }
.p-search { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; padding: 9px 12px; border-radius: 11px; background: var(--soft); font-size: 14px; color: var(--ink3); }
.p-search svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.p-action { margin-top: 14px; width: 100%; padding: 11px; border-radius: 12px; background: var(--accent); color: #fff; font-size: 14px; }
.p-made { margin-top: 14px; padding: 11px 12px; border-radius: 12px; background: var(--accent-wash); color: var(--accent); font-size: 13.5px; animation: screen-in .3s ease-out both; }
.p-event small { display: block; font-size: 12px; color: var(--ink2); margin-top: 2px; }
.p-task input:checked + span { color: var(--ink3); text-decoration: line-through; }
.p-chips { display: flex; gap: 8px; padding: 4px 0 12px; }
.p-chips button { padding: 8px 12px; border-radius: 9px; border: 1px solid var(--rule); font-size: 13.5px; transition: background .2s, color .2s, border-color .2s; }
.p-chips button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.p-recipe { display: flex; gap: 13px; align-items: center; padding: 11px 0; border-top: 1px solid var(--rule2); }
.p-thumb { width: 54px; height: 54px; border-radius: 10px; flex: none; background: center / cover no-repeat; }
.p-thumb-flat { background: var(--t); }
.p-recipe strong { display: block; font-size: 17px; font-weight: 500; letter-spacing: -.02em; line-height: 1.2; }
.p-recipe small { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 3px; }
.p-chat { display: grid; gap: 14px; padding-top: 6px; }
.p-bubble { justify-self: end; max-width: 82%; background: var(--soft); border-radius: 18px 18px 4px 18px; padding: 10px 14px; font-size: 14.5px; line-height: 1.4; }
.p-reply { font-size: 14.5px; line-height: 1.5; }
.p-composer { position: absolute; left: 14px; right: 14px; bottom: 86px; display: flex; align-items: center; gap: 10px; padding: 10px 10px 10px 14px; border: 1px solid var(--rule); border-radius: 20px; background: #fff; font-size: 15px; color: var(--ink3); }
.p-placeholder { flex: 1; }
.p-send { width: 28px; height: 28px; border-radius: 50%; background: var(--accent-wash); color: var(--accent); display: grid; place-items: center; font-size: 14px; }
.p-note { padding: 12px 0; border-top: 1px solid var(--rule2); }
.p-note:first-child { border-top: 0; }
.p-note strong { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; font-weight: 400; line-height: 1.4; }
.p-note small { display: flex; justify-content: space-between; margin-top: 5px; font-size: 12px; color: var(--ink3); }
.p-browse { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 6px; padding-top: 6px; }
.p-browse button { display: grid; justify-items: center; align-content: start; gap: 7px; font-size: 12.5px; line-height: 1.2; text-align: center; }
.p-browse .mini { width: 54px; height: 54px; color: var(--c); transition: transform .3s var(--ease); }
.p-browse button:hover .mini { transform: scale(1.06); }
.p-dock { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; justify-content: space-between; padding: 6px; border-radius: 24px; background: rgba(250,250,250,.9); backdrop-filter: blur(10px); box-shadow: 0 0 0 1px #0000000d, 0 8px 22px -12px #0000003a; }
.p-dock button { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 6px 0 5px; border-radius: 18px; font-size: 10.5px; color: var(--ink2); transition: background .25s, color .25s; }
.p-dock svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.p-dock button[aria-current="page"] { background: var(--accent-wash); color: var(--accent); }
.phone, .phone * { transition-property: background, color, border-color; }

/* ── Everywhere ─────────────────────────────────────── */
.everywhere { max-width: 1560px; margin: 0 auto; padding: 140px var(--gutter) 150px; display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 50px; align-items: center; border-top: 1px solid var(--rule2); }
.ev-copy h2, .share-copy h2, .voices-head h2 { font-size: clamp(44px, 5.2vw, 84px); line-height: 1.02; letter-spacing: -.058em; font-weight: 500; }
.ev-copy p, .share-copy p, .voices-head p { margin-top: 28px; max-width: 430px; font-size: 19px; line-height: 1.55; color: var(--ink2); letter-spacing: -.01em; }
.ev-devices { position: relative; height: 520px; }
.dev { position: absolute; background: #111; box-shadow: 0 0 0 1.5px #3a3a3a inset, 0 40px 80px -40px #00000090; }
.dev-web { left: 13%; top: 0; width: 68%; height: 430px; border-radius: 14px; background: #fff; box-shadow: 0 0 0 1px var(--rule), 0 40px 80px -44px #00000070; overflow: hidden; z-index: 1; }
.web-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: var(--soft); border-bottom: 1px solid var(--rule2); }
.web-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d6d6d6; }
.web-bar em { margin-left: 14px; flex: 1; max-width: 260px; padding: 3px 12px; border-radius: 6px; background: #fff; font-style: normal; font-size: 12px; color: var(--ink3); }
.web-body { display: flex; height: calc(100% - 34px); }
.dev-web .dev-screen { flex: 1; padding: 22px 28px; font-size: 15px; }
.dev-pad { left: 0; bottom: 0; width: 262px; height: 356px; border-radius: 26px; padding: 11px; z-index: 2; }
.dev-phone { right: 3%; bottom: -14px; width: 178px; height: 366px; border-radius: 34px; padding: 9px; z-index: 3; }
.dev-pad .dev-screen, .dev-phone .dev-screen { height: 100%; overflow: hidden; background: #fff; border-radius: 16px; padding: 20px 16px; font-size: 13px; }
.dev-phone .dev-screen { position: relative; border-radius: 26px; padding: 0; font-size: 11px; }
/* Device interfaces in "Wherever you are": iPhone chrome and the iPad sidebar. */
.dv-status { display: flex; align-items: center; justify-content: space-between; height: 30px; padding: 6px 16px 0 20px; font-size: 10px; font-weight: 600; }
.dv-status i { width: 46px; height: 14px; border-radius: 9px; background: #111; }
.dv-signal { width: 20px; height: 7px; border-radius: 2px; background: var(--ink); opacity: .8; }
.dv-nav { height: 26px; padding: 4px 8px 0; color: var(--ocean); }
.dv-nav svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dv-body { padding: 0 12px; }
.dv-dock { position: absolute; left: 6px; right: 6px; bottom: 6px; display: flex; justify-content: space-between; padding: 4px; border-radius: 16px; background: rgba(250,250,250,.94); box-shadow: 0 0 0 1px var(--rule2); }
.dv-dock span { flex: 1; display: grid; justify-items: center; gap: 1px; padding: 4px 0 3px; border-radius: 12px; font-size: 7px; color: var(--ink2); }
.dv-dock span.on { background: var(--ocean-wash); color: var(--ocean); }
.dv-dock svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linejoin: round; stroke-linecap: round; }
.dev-pad .dev-screen { display: flex; padding: 0; }
.dv-side { width: 34%; flex: none; display: flex; flex-direction: column; gap: 1px; padding: 12px 6px 8px; background: var(--soft); font-size: 9.5px; color: var(--ink2); }
.dv-side b { font-size: 15px; letter-spacing: -.06em; color: var(--ink); margin: 0 0 8px 6px; }
.dv-side span { display: flex; align-items: center; gap: 5px; padding: 4px 6px; border-radius: 6px; white-space: nowrap; }
.dv-side span.on { background: var(--ocean); color: #fff; }
.dv-side svg { width: 11px; height: 11px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.dv-side hr { border: 0; border-top: 1px solid var(--rule); margin: 5px 4px; }
.dv-create { margin-top: auto; justify-content: center; border: 1px solid var(--rule); background: #fff; color: var(--ink); }
.dv-main { flex: 1; min-width: 0; padding: 16px 12px; font-size: 11px; }
.pj-title { font-size: 2em; font-weight: 700; letter-spacing: -.055em; line-height: 1.1; }
.pj-meta { font-size: .9em; color: var(--ink2); margin-top: .35em; line-height: 1.4; }
.pj-kind { font-size: .82em; color: var(--ocean); margin: 1.1em 0 .3em; }
.pj-task { display: flex; gap: .7em; align-items: flex-start; width: 100%; padding: .65em .3em; border-top: 1px solid var(--rule2); text-align: left; line-height: 1.3; border-radius: 4px; transition: background .8s ease; }
.pj-task .pbox { flex: none; width: 1.25em; height: 1.25em; margin-top: .02em; border: 1.4px solid var(--ink2); border-radius: .3em; display: grid; place-items: center; transition: background .25s, border-color .25s; }
.pj-task.done .pbox { background: var(--ocean); border-color: var(--ocean); }
.pj-task.done .pbox::after { content: ""; width: .55em; height: .3em; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.pj-task.done > span:last-child { color: var(--ink3); text-decoration: line-through; }
.pj-task small { display: block; font-size: .85em; color: var(--rose); margin-top: .15em; }
.pj-task.synced { background: var(--ocean-wash); transition: none; }

/* ── Sharing ─────────────────────────────────────────── */
.share { max-width: 1560px; margin: 0 auto; padding: 40px var(--gutter) 160px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 70px; align-items: center; }
.share-tabs { display: inline-flex; gap: 4px; margin-top: 34px; padding: 4px; border-radius: 12px; background: var(--soft); }
.share-tabs button { padding: 9px 16px; border-radius: 9px; font-size: 14px; color: var(--ink2); transition: background .25s ease, color .25s ease, box-shadow .25s ease; }
.share-tabs button:hover { color: var(--ink); }
.share-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 3px #0000001f; }
.share-stage { display: grid; place-items: center; height: 620px; padding: clamp(36px, 5vw, 72px); border-radius: 32px; background: #f5f5f3; }
.share-card { grid-area: 1 / 1; width: 100%; max-width: 420px; padding: 24px 24px 14px; border-radius: 22px; background: #fff; box-shadow: 0 1px 1px #0000000a, 0 30px 60px -36px #00000055; transition: opacity .45s ease, transform .7s var(--ease); }
.share-card.enter { opacity: 0; transform: translateY(8px); }
.share-card.leave { opacity: 0; transform: translateY(-4px); transition-duration: .3s; }
@keyframes share-in { from { opacity: 0; transform: translateY(4px); } }
.share-top { display: flex; justify-content: space-between; align-items: center; }
.share-title { font-size: 28px; font-weight: 700; letter-spacing: -.055em; }
.share-people { display: flex; }
.share-people i { width: 30px; height: 30px; margin-left: -6px; border-radius: 50%; background: var(--c, var(--terracotta)); color: #fff; font-style: normal; font-size: 13px; display: grid; place-items: center; box-shadow: 0 0 0 2px #fff; }
.share-meta { font-size: 13px; color: var(--ink2); margin-top: 4px; }
.share-list { list-style: none; padding: 0; margin: 14px 0 0; }
.share-list li { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; padding: 12px 6px; margin: 0 -6px; border-top: 1px solid var(--rule2); border-radius: 6px; font-size: 16px; transition: color .6s ease, background 1.4s ease; }
.share-list .st { flex: 1; min-width: 0; }
.share-list small { display: block; font-size: 12.5px; color: var(--terracotta); margin-top: 2px; }
.share-list .sbox { flex: none; width: 20px; height: 20px; border-radius: 6px; border: 1.4px solid var(--ink2); display: grid; place-items: center; transition: background .5s ease, border-color .5s ease; }
.share-list li.done .st { color: var(--ink3); text-decoration: line-through; }
.share-list li.done .sbox { background: var(--ocean); border-color: var(--ocean); }
.share-list li.done .sbox::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.glow { background: #f7ebe4; }
.share-tag { display: flex; align-items: center; gap: 6px; width: 100%; padding-left: 32px; font-size: 12px; font-style: normal; color: var(--terracotta); animation: share-in .9s ease both; }
.share-tag .sp-alex { width: 16px; height: 16px; font-size: 8.5px; }
.share-list .share-new { max-height: 0; padding-top: 0; padding-bottom: 0; opacity: 0; overflow: hidden; border-top-color: transparent; transition: max-height .9s var(--ease), padding .9s var(--ease), opacity .8s ease .25s, background 1.4s ease; }
.share-list .share-new.in { max-height: 90px; padding-top: 12px; padding-bottom: 12px; opacity: 1; border-top-color: var(--rule2); }
.share-recipes .sr { gap: 14px; }
.sr-thumb { width: 48px; height: 48px; flex: none; border-radius: 9px; object-fit: cover; background: var(--sage-wash); }
.p-thumb { object-fit: cover; }
.sr-shared { display: block; margin-top: 5px; color: var(--sage); font-size: 12px; font-style: normal; }
.share-arrival { opacity: 0; transform: translateY(4px); transition: opacity .6s ease, transform .7s var(--ease); }
.share-arrival.in { opacity: 1; transform: none; }
.share-recipes small { color: var(--ink2); }
.share-note { margin: 10px -24px -14px; padding: 14px 24px; border-radius: 0 0 22px 22px; background: var(--soft); font-size: 14px; color: var(--ink2); opacity: 0; transition: opacity .9s ease, background 1.4s ease; }
.share-note.in { opacity: 1; }
.share-covers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 18px 0 16px; }
.share-covers img { width: 100%; height: auto; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 8px; background: var(--midnight); box-shadow: 0 12px 22px -14px #00000090; }
.share-send { display: flex; align-items: center; gap: 12px; padding: 12px 6px; margin: 0 -6px; border-top: 1px solid var(--rule2); border-radius: 6px; font-size: 15px; opacity: 0; transform: translateY(4px); transition: opacity .9s ease, transform 1s var(--ease), background 1.4s ease; }
.share-send.in { opacity: 1; transform: none; }
.share-send .share-people i { margin-left: 0; }
.share-send small { display: block; font-size: 13px; color: var(--ink2); margin-top: 2px; }

/* ── Whatever's on your mind ────────────────────────── */
.voices { padding: 150px 0 140px; overflow: hidden; }
.voices-head { max-width: 1560px; margin: 0 auto 60px; padding: 0 var(--gutter); }
.marquee { display: flex; gap: 14px; width: max-content; margin-bottom: 14px; will-change: transform; backface-visibility: hidden; }
.voice { display: inline-flex; align-items: center; gap: 12px; padding: 15px 22px; border: 1px solid var(--rule); border-radius: 999px; background: #fff; font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.02em; white-space: nowrap; }
.voice::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.voice em { font-style: normal; font-size: 13px; color: var(--c); letter-spacing: 0; }
.voices-links { max-width: 1560px; margin: 56px auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(3, max-content); gap: 16px 56px; }
.voices-links a { justify-self: start; }
.voices-links a { font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.03em; padding-bottom: 4px; border-bottom: 1px solid var(--rule); }
.voices-links a:hover { border-color: var(--ink); }

/* ── Assistants ─────────────────────────────────────── */
.assist { background: var(--dark); color: var(--on-dark); }
.assist-inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 60px; max-width: 1560px; margin: 0 auto; padding: 150px var(--gutter); }
.assist-copy p { margin-top: 28px; max-width: 440px; font-size: 19px; line-height: 1.55; color: var(--on-dark2); }
/* Agent names share Beckett's type, shape, and neutral palette. */
.agent-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 30px; }
.assist-more { margin-top: 34px; }
.assist-more:hover { color: #fff; border-color: #fff; opacity: .8; }
.agent-pill { display: inline-flex; align-items: center; justify-content: center; padding: 9px 15px; border-radius: 10px; font-size: 14.5px; font-weight: 500; line-height: 1.25; letter-spacing: -.015em; white-space: nowrap; background: #fff; color: var(--ink); }
.agent-pill.a-next { background: transparent; color: var(--on-dark2); box-shadow: inset 0 0 0 1px #555; font-weight: 400; }
/* Assistant examples use the same Beckett demo chrome on every page. */
.am { position: relative; }
.am-tabs { display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 18px; border-radius: 12px; background: #2c2c2c; }
.am-tabs button { padding: 9px 16px; border-radius: 9px; font-size: 14px; color: #a5a5a5; transition: background .25s ease, color .25s ease; }
.am-tabs button:hover { color: #fff; }
.am-tabs button[aria-selected="true"] { background: #fff; color: var(--ink); }
.am-stage { position: relative; }
.am:has(.am-receiver) .am-stage { padding-bottom: 96px; }
.am-window { position: relative; max-width: 600px; height: 480px; display: flex; flex-direction: column; overflow: hidden; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 80px -40px #000; }
.am-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 16px; }
.am-name { font-weight: 500; }
.am-connected { display: flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 7px; background: var(--soft); color: var(--ink2); font-size: 12px; font-weight: 500; }
.am-connected svg { width: 9px; height: 11px; }
.am-thread { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; gap: 14px; padding: 10px 22px 16px; overflow: hidden; }
.am-msg { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .6s var(--ease); }
.am-msg.on { opacity: 1; transform: none; }
.am-msg p { margin: 0; }
.am-msg p + p, .am-msg ul + p { margin-top: .6em; }
.am-msg ul { margin: .5em 0 0; padding-left: 1.2em; }
.am-msg li { margin: .25em 0; }
.am-you { align-self: flex-end; max-width: 88%; padding: 10px 15px; border-radius: 12px; background: var(--soft); font-size: 15px; line-height: 1.45; }
.am-ai { font-size: 15px; line-height: 1.6; }
.am-ai blockquote { margin: .6em 0 0; padding: 12px 14px; border-left: 2px solid var(--rule); background: var(--soft); }
.am-tool, .am-saved { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; color: var(--ink2); }
.am-tool svg, .am-saved svg { width: 10px; height: 12px; flex: none; }
.am-refs { display: inline-flex; flex-wrap: wrap; gap: 6px; margin-left: 2px; }
.am-refs b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 6px; background: var(--soft); color: var(--ink); font-size: 12px; font-weight: 500; line-height: 1.35; }
.am-refs b::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c); }
.am-typing { display: flex; gap: 5px; padding: 6px 0; }
.am-typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink); animation: am-dot 1s ease-in-out infinite; }
.am-typing i:nth-child(2) { animation-delay: .15s; }
.am-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes am-dot { 0%, 80%, 100% { opacity: .25; } 40% { opacity: 1; } }
.am-composer { display: flex; align-items: center; gap: 10px; margin: 0 16px 16px; padding: 10px 10px 10px 16px; border: 1px solid var(--rule); border-radius: 14px; color: var(--ink2); font-size: 15px; }
.am-placeholder { flex: 1; }
.am-send { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 8px; background: var(--ink); color: #fff; font-size: 15px; }
.am-replay { display: inline-block; margin-top: 20px; padding-bottom: 3px; border-bottom: 1px solid #555; font-size: 13px; color: #8d8d8d; }
.am-replay:hover { color: #fff; }
.am-receiver { position: absolute; right: 0; bottom: 0; width: min(320px, 62%); padding: 18px 20px 8px; border-radius: 18px; background: #fff; color: var(--ink); box-shadow: 0 40px 70px -30px #000; }

.bk-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c, var(--rose)); flex: none; }
.bk-row > span { display: block; font-size: 15px; font-weight: 500; letter-spacing: -.01em; }
.bk-row small { display: block; font-size: 12.5px; color: var(--ink2); font-weight: 400; margin-top: 2px; }
.bk-title { font-size: 24px; font-weight: 700; letter-spacing: -.045em; margin-bottom: 8px; }
.bk-row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-top: 1px solid var(--rule2); }
.bk-new { opacity: 0; max-height: 0; padding: 0; overflow: hidden; transition: opacity .4s ease .1s, max-height .5s var(--ease), padding .5s var(--ease); }
.bk-new.on { opacity: 1; max-height: 70px; padding: 11px 0; }

/* ── Private ────────────────────────────────────────── */
.private { max-width: 1560px; margin: 0 auto; padding: 150px var(--gutter) 140px; }
.private-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; margin: 70px 0 56px; }
.private-grid > div { border-top: 1px solid var(--ink); padding-top: 22px; }
.private-grid h3 { font-size: clamp(24px, 2.2vw, 34px); letter-spacing: -.04em; line-height: 1.1; }
.private-grid p { margin-top: 14px; font-size: 16px; line-height: 1.55; color: var(--ink2); max-width: 340px; }

/* ── Start ──────────────────────────────────────────── */
.start { position: relative; overflow: clip; background: var(--ink); color: #fff; }
.start-inner { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 60px; align-items: center; max-width: 1560px; margin: 0 auto; padding: 150px var(--gutter) 0; }
.start-copy { padding-bottom: 150px; }
.start h2 { font-size: clamp(46px, 4.6vw, 80px); }
.start-copy p { margin-top: 30px; font-size: 19px; line-height: 1.55; color: #c9c9c9; }
.start-actions { margin-top: 40px; }
.start-actions .button { padding: 17px 20px; white-space: nowrap; }
.start-device { position: relative; align-self: end; height: 100%; min-height: 560px; --accent: var(--ocean); --accent-wash: var(--ocean-wash); color: var(--ink); }
.st-web { position: absolute; left: 0; right: calc(-1 * var(--gutter) - 40px); bottom: 0; height: 600px; border-radius: 14px 0 0 0; background: #fff; overflow: hidden; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); }
.st-web-body { display: flex; height: calc(100% - 34px); }
.st-screen { flex: 1; max-width: 620px; padding: 30px 40px; overflow: hidden; }
.st-screen .p-browse { grid-template-columns: repeat(4, 1fr); gap: 26px 12px; max-width: 480px; }
.st-screen .p-composer { position: static; margin-top: 30px; }
.start-device .p-task, .start-device .p-ring { cursor: default; pointer-events: none; }
.st-title { font-size: 40px; font-weight: 700; letter-spacing: -.06em; line-height: 1.1; margin-bottom: 14px; }
.st-phone { display: none; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer { padding: 80px var(--gutter) 32px; max-width: 1560px; margin: 0 auto; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 60px; }
.footer-home { display: inline-flex; align-items: center; gap: 14px; }
.app-icon { width: 52px; height: 52px; flex: none; border-radius: 28%; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1.5px var(--rule), 0 12px 24px -16px #00000060; }
.app-icon svg { width: 50%; height: 58%; color: var(--ink); }
.footer-line { margin-top: 22px; font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.045em; line-height: 1.1; max-width: 12em; }
.footer-get { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.button.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--rule); }
.button.ghost:hover { background: var(--soft); }
.site-footer nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; font-size: 15px; }
.site-footer nav div { display: grid; gap: 13px; align-content: start; color: var(--ink2); }
.site-footer nav strong { color: var(--ink); font-weight: 500; margin-bottom: 4px; }
.site-footer nav a:hover { color: var(--ink); }
.footer-legal { display: flex; justify-content: space-between; margin-top: 72px; padding-top: 22px; border-top: 1px solid var(--rule2); font-size: 13.5px; color: var(--ink2); }
.footer-legal span:last-child { display: flex; gap: 24px; }
.footer-legal a:hover { color: var(--ink); }

/* ── Responsive ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .start-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1200px) and (min-width: 901px) {
  .everywhere { grid-template-columns: 1fr; gap: 56px; }
  .ev-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 60px; align-items: end; }
  .ev-copy p { margin-top: 0; }
  .ev-devices { width: 100%; max-width: 900px; margin: 0 auto; }
}
/* Four link columns need the full width until the brand column can sit beside them. */
@media (max-width: 1400px) {
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 900px) {
  .nav-links, .nav-login { display: none; }
  .nav-menu { display: block; }
  .nav-account { gap: 12px; }
  .nav-inner { height: 62px; gap: 20px; }
  .wordmark { font-size: 28px; }
  .calm-hero { padding: 80px 24px 125px; min-height: max(480px, 100svh); }
  .hero-thought { font-size: clamp(34px, 8vw, 60px); }
  .hero-word-stage { font-size: clamp(64px, 15.8vw, 110px); margin-top: .15em; }
  .hero-plane { width: 110vw; right: -72vw; top: 38%; opacity: .5; }
  .hero-cta { flex-direction: column; gap: 18px; margin-top: 30px; }
  .story-inner { padding: 72px 20px; gap: 28px; }
  .story-next { bottom: 14px; }
  .story-answer { scroll-margin-top: 62px; }
  .story-voice { font-size: clamp(25px, 6.6vw, 40px); min-height: 5.6em; }
  .story-answer-inner { padding: 64px 20px 80px; grid-template-columns: 1fr; gap: 34px; }
  .story-answer .asked-q { font-size: clamp(32px, 7.5vw, 46px); }
  .story-sources { max-width: 480px; gap: 12px; }
  .story-places { gap: 0 6px; }
  .place { flex-direction: column; gap: 6px; padding-bottom: 12px; }
  .place-icon { width: 38px; height: 38px; }
  .place-label { font-size: 12.5px; }
  .place-count { display: none; }
  .story-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
  .card { padding: 12px; border-radius: 12px; }
  .card strong { font-size: 14px; }
  .card small { font-size: 12px; }
  .card .card-extra { display: none; }
  /* Lists become one short line on phones, so a card never looks empty. */
  .card ul { display: flex; flex-wrap: wrap; margin-top: 4px; font-size: 13px; color: var(--ink2); }
  .card ul li { padding: 0; border: 0; }
  .card ul li:not(:last-child)::after { content: ','; margin-right: .3em; }
  .card ul li::before { display: none; }
  .story-links { display: none; }
  .asked-a { font-size: 16px; gap: 12px; }
  .places { grid-template-columns: 1fr; padding: 100px 20px 80px; gap: 30px; }
  .places-scene { height: auto; padding: 40px 0 10px; }
  .phone-wrap { position: relative; left: auto; top: auto; transform: none; }
  .big-tile[data-open="notes"], .big-tile[data-open="people"] { display: none; }
  .big-tile[data-open="recipes"] { left: -18% !important; top: 0 !important; }
  .big-tile[data-open="library"] { right: -16% !important; top: 34% !important; }
  .assist-inner { grid-template-columns: 1fr; padding: 110px 20px 90px; gap: 50px; }
  .everywhere, .share { grid-template-columns: 1fr; gap: 40px; padding-left: 20px; padding-right: 20px; }
  .everywhere { padding-top: 100px; padding-bottom: 110px; }
  .share { padding-bottom: 110px; }
  .share-stage { height: 500px; padding: 28px 16px; border-radius: 24px; }
  .share-card { padding: 20px 18px 12px; }
  .share-note { margin: 10px -18px -12px; padding: 14px 18px; }
  .share-title { font-size: 24px; }
  .ev-devices { height: 400px; }
  .dev-web { display: none; }
  .dev-pad { left: 0; width: 60%; height: 360px; }
  .dev-phone { right: 0; width: 44%; height: 340px; }
  .voices { padding: 100px 0; }
  .voices-links { grid-template-columns: 1fr; gap: 14px; }
  .am-window { height: 460px; }
  .am-receiver { width: min(360px, 82%); }
  .am:has(.am-receiver) .am-stage { padding-bottom: 176px; }
  .private { padding: 110px 20px 100px; }
  .private-grid { grid-template-columns: 1fr; gap: 30px; margin: 44px 0 40px; }
  .start-inner { grid-template-columns: 1fr; gap: 50px; padding: 110px 20px 0; }
  .start-copy { padding-bottom: 0; }
  .start-ios { order: -1; }
  .start-device { min-height: 0; height: 420px; }
  .st-web { display: none; }
  .st-phone { display: block; position: absolute; left: 50%; top: 0; translate: -50% 0; -webkit-mask-image: linear-gradient(#000 45%, transparent 92%); mask-image: linear-gradient(#000 45%, transparent 92%); }
  .site-footer { padding-top: 64px; }
  .footer-inner { grid-template-columns: 1fr; gap: 48px; }
  .site-footer nav { grid-template-columns: repeat(2, 1fr); gap: 36px 24px; }
  /* Taller tap targets without changing the look. */
  .site-footer nav div { gap: 2px; }
  .site-footer nav a { padding: 6px 0; }
  .footer-legal a { padding: 6px 0; }
  .footer-legal { flex-direction: column; gap: 12px; }
}
@media (max-width: 420px) {
  .phone { transform: scale(.92); transform-origin: top center; margin-bottom: -50px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-plane { animation: none; }
  .marquee { flex-wrap: wrap; width: auto; padding: 0 var(--gutter); transform: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* List pieces that follow the native app: trackers, receipts, day strips. */
.p-chev { width: 16px; height: 16px; flex: none; fill: none; stroke: var(--ink3); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.p-prow .p-chev { margin-top: 3px; }
.p-more { width: 20px; height: 20px; flex: none; fill: var(--ink2); margin-top: 2px; }
.p-pri { font-weight: 400; color: #a0783a; margin-right: 6px; }
.p-meta { font-size: 13px; font-weight: 400; color: var(--ink2); }
.p-trow { display: flex; align-items: center; gap: 12px; padding: 11px 0; border-top: 1px solid var(--rule2); }
.p-trow:first-of-type { border-top: 0; }
.p-trow > span:first-child { flex: 1; min-width: 0; }
.p-trow strong { display: block; font-size: 15px; font-weight: 400; letter-spacing: -.015em; }
.p-trow small { display: block; font-size: 12.5px; color: var(--ink2); margin-top: 2px; }
.p-ring { width: 24px; height: 24px; flex: none; border-radius: 50%; border: 1.25px solid var(--ink3); display: grid; place-items: center; transition: background .2s, border-color .2s; }
.p-ring[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); }
.p-ring[aria-pressed="true"]::after { content: ""; width: 9px; height: 5px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.p-plus { width: 30px; height: 30px; flex: none; border-radius: 50%; background: var(--soft); display: grid; place-items: center; font-size: 18px; color: var(--ink); }
.p-progress { width: 24px; height: 24px; flex: none; border-radius: 50%; background: conic-gradient(var(--accent) calc(var(--p) * 1%), var(--rule2) 0); -webkit-mask: radial-gradient(circle, transparent 9.5px, #000 10.5px); mask: radial-gradient(circle, transparent 9.5px, #000 10.5px); }
.p-receipts { display: grid; gap: 2px; }
.p-receipt { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--accent); }
.p-receipt .mini { width: 20px; height: 20px; color: var(--c); }
.p-receipt .mini svg { display: block; width: 100%; height: 100%; }
.p-receipt > svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.p-mic { width: 20px; height: 20px; fill: none; stroke: var(--ink2); stroke-width: 1.6; stroke-linecap: round; }
.p-dayhead { display: flex; align-items: center; gap: 6px; font-size: 19px; font-weight: 600; letter-spacing: -.03em; padding: 2px 0 10px; }
.p-dayhead svg { width: 16px; height: 16px; fill: none; stroke: var(--ink2); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.p-strip { display: grid; grid-template-columns: repeat(6, 1fr); gap: 4px; padding: 0 0 12px; text-align: center; font-size: 17px; }
.p-strip span { position: relative; display: grid; gap: 4px; padding: 8px 0 12px; border-radius: 12px; }
.p-strip small { font-size: 11.5px; color: var(--ink2); }
.p-strip .on { background: var(--soft); }
.p-strip .on small { color: var(--ink); }
.p-strip .dot::after { content: ""; position: absolute; left: calc(50% - 2px); bottom: 5px; width: 4px; height: 4px; border-radius: 50%; background: var(--ink); }
.p-note small b, .p-tag { font-weight: 400; margin-right: 8px; }
.p-tag { display: inline-block; padding: 2px 8px; border-radius: 999px; background: var(--soft); color: var(--ink2); }
.p-entry em { margin: 0 0 6px; }
.p-entry small { display: flex; justify-content: space-between; align-items: center; }
/* Desktop sidebar mock, after web/components/Sidebar.tsx. */
.web-side { width: 176px; flex: none; display: flex; flex-direction: column; padding: 0 10px 10px; background: var(--soft); border-right: 1px solid var(--rule2); font-size: 12.5px; color: var(--ink2); overflow: hidden; }
.ws-brand { display: flex; align-items: center; justify-content: space-between; height: 58px; padding: 0 6px 0 8px; }
.ws-brand b { font-size: 21px; letter-spacing: -.06em; color: var(--ink); }
.web-side svg { width: 15px; height: 15px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ws-search { display: flex; align-items: center; gap: 8px; height: 30px; margin-bottom: 12px; padding: 0 9px; border: 1px solid var(--rule); border-radius: 7px; }
.ws-search kbd { margin-left: auto; font-family: inherit; font-size: 11px; }
.ws-group { display: grid; gap: 2px; }
.ws-sep { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--rule); }
.ws-group small { padding: 0 9px 4px; font-size: 11.5px; font-weight: 500; }
.ws-link { display: flex; align-items: center; gap: 9px; padding: 6px 9px; border-radius: 7px; white-space: nowrap; }
.ws-link.on { background: var(--accent, var(--ocean)); color: #fff; font-weight: 500; }
.ws-foot { display: flex; align-items: center; gap: 8px; margin-top: auto; padding: 10px 4px 0; border-top: 1px solid var(--rule); color: var(--ink); }
.ws-av { width: 22px; height: 22px; margin-left: 4px; border-radius: 50%; display: grid; place-items: center; background: var(--ocean-wash); color: var(--ocean); font-size: 11px; font-weight: 500; }
.dev-web .web-side { width: 150px; font-size: 11.5px; }
.ev-actions { display: flex; flex-wrap: wrap; gap: 28px; margin-top: 30px; }
.dv-body .pj-title, .dv-main .pj-title { font-size: 1.6em; }

/* Calls to action: the desktop set (web, Mac, iPhone QR) or the App Store badge on phones and tablets. */
.cta-desktop { display: none; flex-wrap: wrap; align-items: center; gap: 12px; }
.cta-badge { display: inline-block; line-height: 0; }
.cta-badge img { height: 48px; width: auto; }
html:not([data-platform="mac"]) [data-mac-only], html[data-platform="mac"] .mac-alternative { display: none !important; }
html[data-platform="ios"] .cta-desktop, html[data-platform="mobile"] .cta-desktop { display: none; }
html[data-platform="ios"] .cta-badge, html[data-platform="mobile"] .cta-badge { display: inline-block; }
@media (hover: hover) and (pointer: fine) and (min-width: 1025px) {
  .cta-desktop { display: flex; }
  .cta-badge { display: none; }
}
.button.ghost-dark { background: transparent; color: #fff; box-shadow: inset 0 0 0 1px #ffffff59; }
.button.ghost-dark:hover { background: #ffffff14; }
.cta-qr-wrap { position: relative; display: inline-flex; }
.cta-qr { position: absolute; bottom: calc(100% + 12px); left: 50%; translate: -50% 0; z-index: 30; display: grid; justify-items: center; gap: 10px; width: 210px; padding: 18px 18px 16px; border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 0 0 0 1px var(--rule2), 0 24px 48px -24px #00000066; text-align: center; }
.cta-qr[hidden] { display: none; }
.cta-qr-code { display: block; width: 150px; height: 150px; }
.cta-qr-code svg { display: block; width: 100%; height: 100%; }
.cta-qr small { font-size: 12.5px; line-height: 1.4; color: var(--ink2); }
.beta-badge { display: inline-block; margin-bottom: 22px; padding: 5px 12px; border-radius: 999px; box-shadow: inset 0 0 0 1px #ffffff40; font-size: 13px; color: var(--on-dark2); }
/* Small screens: the iPad sidebar collapses to icons (as the iPad app does), and the iPhone tab bar drops its labels. */
@media (max-width: 900px) {
  .dv-side { width: auto; padding: 12px 5px 8px; }
  .dv-side b { display: none; }
  .dv-side span { justify-content: center; padding: 6px; font-size: 0; }
  .dv-side svg { width: 13px; height: 13px; }
  .dv-create::before { content: "+"; font-size: 13px; }
  .dv-dock span { font-size: 0; padding: 6px 0; }
  .dv-dock svg { width: 14px; height: 14px; }
}
