:root {
  /* The app's light palette (shared/.../SwiftlyApp.kt LightPalette); body text darkened to 7:1. */
  --paper: #FAF8F4; --paper-deep: #F2EFE9; --ink: #20201E; --muted: #4E4C48; --faint: #6A6864; --line: #E2DED7;
  --olive: #6E7337; --olive-deep: #555A28; --olive-soft: #E6E6D1; --coral: #C4452F; --coral-soft: #FFDDD4;
  --gut: 20px; --head: 60px;
  /* Motion: strong curves, not the built-in ones (Emil Kowalski; Ionic's iOS drawer). */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 8px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 18px/1.55 -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  accent-color: var(--olive); caret-color: var(--olive);
}
::selection { background: var(--olive-soft); color: var(--ink); }
:focus-visible { outline: 2px solid var(--olive); outline-offset: 3px; border-radius: 6px; }
img, video { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3 { font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -0.03em; font-weight: 700; }
p { margin: 0; }
a { color: inherit; }
.wrap { width: min(100% - 2 * var(--gut), 1200px); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }

/* Buttons: one filled, one quiet; feedback on press, hover only for fine pointers. */
.btn, .btn-quiet {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px;
  border-radius: 14px; border: 0; font-weight: 600; font-size: 16px; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease;
}
.btn { background: var(--olive); color: #fff; box-shadow: 0 1px 2px rgb(32 32 30 / 0.08); }
.btn-quiet { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.btn:active, .btn-quiet:active { transform: scale(0.97); }
.link-btn { background: none; border: 0; padding: 8px 6px; min-height: 32px; color: var(--muted); font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; border-radius: 8px; transition: color 160ms ease; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--olive-deep); box-shadow: 0 6px 16px -6px rgb(32 32 30 / 0.3); }
  .btn-quiet:hover { background: var(--paper-deep); }
  .link-btn:hover { color: var(--ink); }
}
.text-link { display: inline-block; margin-top: 24px; color: var(--olive-deep); font-weight: 600; text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size 260ms var(--ease-out); padding-bottom: 2px; }
@media (hover: hover) and (pointer: fine) { .text-link:hover { background-size: 100% 1.5px; } }

/* Header: the closing section's soft olive gradient, frosted so the page shows through as it scrolls under. */
.site-head { position: sticky; top: 0; z-index: 30; height: var(--head); color: var(--ink); background: linear-gradient(90deg, rgb(230 230 209 / 0.9), rgb(217 219 180 / 0.9));
  -webkit-backdrop-filter: blur(16px) saturate(150%); backdrop-filter: blur(16px) saturate(150%); box-shadow: 0 1px 0 rgb(85 90 40 / 0.14); }
.nav-row { display: flex; align-items: center; gap: 24px; height: 100%; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; text-decoration: none; letter-spacing: -0.01em; color: inherit; }
.brand img { border-radius: 8px; }
.head-links { display: flex; gap: 4px; margin-left: auto; }
.head-links a { padding: 8px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; text-decoration: none; color: var(--olive-deep); transition: color 160ms ease, background-color 160ms ease; }
.head-cta { display: inline-flex; align-items: center; min-height: 40px; margin-left: auto; padding: 0 16px; border-radius: 12px; background: var(--olive); color: #fff; font-size: 15px; font-weight: 650; text-decoration: none; white-space: nowrap; transition: transform 160ms var(--ease-out), background-color 200ms ease; }
.head-links + .head-cta { margin-left: 0; }
.head-cta:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .head-links a:hover { color: var(--ink); background: rgb(255 255 255 / 0.45); } .head-cta:hover { background: var(--olive-deep); } }
@media (prefers-reduced-transparency: reduce) { .site-head { background: linear-gradient(90deg, var(--olive-soft), #D9DBB4); -webkit-backdrop-filter: none; backdrop-filter: none; } }

/* ---------- The stage: a title screen, then the game in the same place ---------- */
.stage { position: relative; min-height: calc(100svh - var(--head)); scroll-margin-top: var(--head); display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); align-items: center; gap: 24px;
  padding: 24px max(var(--gut), calc((100vw - 1200px) / 2)); overflow: clip; }
.title-copy h1 { font-size: clamp(3.2rem, 7.5vw, 6.4rem); line-height: 0.95; letter-spacing: -0.045em; margin-top: 18px; }
.logo { border-radius: 18px; box-shadow: 0 10px 24px -12px rgb(32 32 30 / 0.4); }
.lede { margin-top: 18px; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: var(--muted); max-width: 25rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-start { min-width: 148px; font-size: 18px; font-weight: 700; box-shadow: 0 10px 24px -10px rgb(32 32 30 / 0.35); }
.fact { margin-top: 22px; font-size: 15px; font-weight: 600; color: var(--olive-deep); }

.scene { position: relative; height: min(92svh, 900px); display: grid; place-items: center; perspective: 1400px; }
/* A soft pool of light under the phone; it travels with the scene. */
.scene::before { content: ""; position: absolute; inset: 8% 4%; border-radius: 50%; background: radial-gradient(closest-side, #EAE9DA, transparent); pointer-events: none; }
.stage[data-mode="title"] .scene { cursor: pointer; }
.rig { position: relative; width: min(31svh, 290px); aspect-ratio: 1320 / 2868; transform-style: preserve-3d; transform: rotateY(-22deg) rotateX(10deg); }
/* The saved links wait around the phone at different depths, like a deck about to be dealt. */
.stack { position: absolute; inset: 0; transform-style: preserve-3d; pointer-events: none; }
.tile { position: absolute; left: 50%; top: 50%; width: 78%; transform: var(--t); background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 24px 40px -20px rgb(32 32 30 / 0.45); font-size: 13px; line-height: 1.3; }
/* Positions live here: the site's CSP blocks inline style attributes. */
.tile:nth-child(1) { --t: translate(-40%, -145%) translateZ(-80px) rotate(6deg); }
.tile:nth-child(2) { --t: translate(-170%, -90%) translateZ(-160px) rotate(-8deg); }
.tile:nth-child(3) { --t: translate(-45%, -20%) translateZ(120px) rotate(-4deg); }
.tile:nth-child(4) { --t: translate(-120%, 330%) translateZ(60px) rotate(7deg); }
.tile img { width: 100%; height: auto; aspect-ratio: 240 / 125; object-fit: cover; }
.tile b { display: block; padding: 10px 12px 12px; }
.tile-pill { display: flex; align-items: center; gap: 10px; width: max-content; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.tile-pill img { width: 30px; height: 30px; border-radius: 8px; }
.tile-pill b { padding: 0; }
.phone { position: absolute; inset: 0; border-radius: clamp(28px, 3vw, 44px); padding: clamp(5px, 0.55vw, 8px); background: var(--ink); container-type: inline-size;
  box-shadow: 0 40px 80px -30px rgb(32 32 30 / 0.5), 0 2px 6px rgb(32 32 30 / 0.12); }

/* Game mode: one big phone in the middle, one line of guidance above it. */
.stage[data-mode="game"] { grid-template-columns: minmax(0, 1fr); padding-block: 16px; }
.stage[data-mode="game"] .title-copy, .stage[data-mode="game"] .stack { display: none; }
.stage[data-mode="game"] .scene { height: auto; min-height: calc(100svh - var(--head) - 32px); grid-template-rows: auto 1fr auto; gap: 16px; align-content: center; }
.stage[data-mode="game"] .rig { --w: min(400px, calc((100svh - var(--head) - 220px) * 0.46)); width: var(--w); transform: none; }
.quest { position: relative; z-index: 2; display: grid; justify-items: center; gap: 10px; text-align: center; width: min(100%, 40rem); }
.quest-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; font-size: 13px; font-weight: 600; color: var(--faint); }
.quest-steps li { padding: 4px 10px; border-radius: 999px; transition: background-color 240ms ease, color 240ms ease; }
.quest-steps li.is-done { color: var(--olive-deep); }
.quest-steps li.is-done::before { content: "✓ "; }
.quest-steps li[aria-current="step"] { background: var(--ink); color: #fff; }
.quest-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px 16px; min-height: 48px; }
.quest-hint { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 650; letter-spacing: -0.01em; text-wrap: balance; max-width: 30rem; }
.quest-actions { display: flex; gap: 8px; align-items: center; }
.quest-actions .btn, .quest-actions .btn-quiet { min-height: 40px; padding: 0 16px; font-size: 15px; }
.game-meta { display: flex; gap: 12px; justify-content: center; position: relative; z-index: 2; }

/* ---------- Inside the phone: a small copy of the app, sized in cqi so it follows the phone ---------- */
.screen { --top: 12cqi; --tabs: 17cqi; position: relative; width: 100%; height: 100%; border-radius: clamp(23px, 2.5vw, 37px); background: var(--paper); overflow: clip; font-size: 4.6cqi; line-height: 1.35; }
.stage[data-mode="title"] .screen { pointer-events: none; }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 4.5cqi 8cqi 0; font-weight: 600; font-size: 4.4cqi; height: 12cqi; }
.sb-island { width: 30cqi; height: 8.5cqi; border-radius: 99px; background: var(--ink); }
.sb-icons { display: flex; gap: 1.2cqi; } .sb-icons i { width: 4.4cqi; height: 3cqi; border-radius: 1cqi; background: var(--ink); }
.app-head { position: relative; text-align: center; font-weight: 650; padding: 2cqi 0 4cqi; }
.app-head small { display: block; font-size: 3.6cqi; font-weight: 400; color: var(--faint); margin-top: 0.5cqi; }
.scr { position: absolute; inset: var(--top) 0 var(--tabs); padding: 0 5cqi 4cqi; display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  opacity: 0; transform: scale(0.97); visibility: hidden; transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s 300ms; }
.scr::-webkit-scrollbar { display: none; }
.scr-share { bottom: 0; padding: 0; overflow: hidden; }
.screen[data-screen="share"] .scr-share, .screen[data-screen="inbox"] .scr-inbox, .screen[data-screen="saved"] [data-scr="saved"],
.screen[data-screen="item"] .scr-item, .screen[data-screen="profile"] [data-scr="profile"], .screen[data-screen="journey"] [data-scr="journey"] {
  opacity: 1; transform: none; visibility: visible; transition: opacity 300ms var(--ease-out), transform 300ms var(--ease-out), visibility 0s; }
/* Opening an item pushes in from the right, like a navigation push. */
.scr-item { transform: translateX(12cqi); }

/* Hints: a ring that breathes three times around the next thing to press, then stays quiet. */
.hintable { position: relative; }
.is-hinted::after { content: ""; position: absolute; inset: -1.2cqi; border-radius: inherit; border: 0.6cqi solid var(--olive); pointer-events: none; opacity: 0;
  animation: ring 1.6s var(--ease-out) 900ms 3; }
.who.is-hinted::after { inset: 0; }
@keyframes ring { 0% { opacity: 0.9; transform: scale(0.97); } 100% { opacity: 0; transform: scale(1.12); } }

/* Share: a page, the share sheet rising, the extension saying it saved. */
.web { padding: 2cqi 5cqi 0; }
.web-bar { text-align: center; font-size: 3.8cqi; color: var(--faint); background: var(--paper-deep); border-radius: 99px; padding: 1.6cqi 0; margin-bottom: 4cqi; }
.web-media { width: 100%; height: auto; aspect-ratio: 440 / 230; object-fit: cover; border-radius: 3cqi; }
.web-title { font-weight: 650; margin-top: 3.5cqi; }
.web-meta { color: var(--faint); font-size: 4cqi; margin-top: 1cqi; }
.web-actions { display: flex; gap: 2cqi; margin-top: 5cqi; }
.web-chip, .share-btn { display: inline-flex; align-items: center; gap: 1.6cqi; padding: 2cqi 4cqi; border-radius: 99px; background: var(--paper-deep); font-weight: 600; font-size: 4cqi; }
.web-chip { color: var(--faint); }
.share-btn { border: 0; color: var(--ink); cursor: pointer; transition: transform 140ms var(--ease-out), background-color 160ms ease; }
.share-btn:active { transform: scale(0.94); background: var(--line); }
.share-btn svg { width: 4.6cqi; height: 4.6cqi; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.web-lines { display: grid; gap: 2.4cqi; margin-top: 7cqi; }
.web-lines i { height: 3cqi; border-radius: 2cqi; background: var(--paper-deep); }
.web-lines i:nth-child(2n) { width: 70%; }
.sheet { position: absolute; left: 0; right: 0; bottom: 0; padding: 3cqi 5cqi 10cqi; background: #fff; border-radius: 7cqi 7cqi 0 0; box-shadow: 0 -10px 30px -12px rgb(32 32 30 / 0.3);
  transform: translateY(105%); transition: transform 460ms var(--ease-drawer); }
.sheet.is-open { transform: translateY(0); }
.sheet-grab { width: 11cqi; height: 1.3cqi; border-radius: 9px; background: var(--line); margin: 0 auto 4cqi; }
.sheet-link { display: flex; gap: 3cqi; align-items: center; font-weight: 600; font-size: 4cqi; padding-bottom: 4cqi; border-bottom: 1px solid var(--line); }
.sheet-link img { width: 14cqi; height: 14cqi; object-fit: cover; border-radius: 2.4cqi; }
.sheet-link em, .saved-row em, .stop em { display: block; font-style: normal; font-weight: 400; color: var(--faint); font-size: 3.5cqi; }
.sheet-apps { display: flex; justify-content: space-between; padding: 5cqi 0 4cqi; }
.app { display: grid; justify-items: center; gap: 1.5cqi; font-size: 3.2cqi; color: var(--muted); width: 19cqi; background: none; border: 0; padding: 0; border-radius: 4cqi; }
.app i, .app img { width: 15cqi; height: 15cqi; border-radius: 4cqi; background: var(--paper-deep); }
.app-swiftly { cursor: pointer; color: var(--ink); font-weight: 600; }
.app-swiftly img { transition: transform 160ms var(--ease-out); }
.app-swiftly:active img { transform: scale(0.9); }
.sheet-row { padding: 3.2cqi 4cqi; background: var(--paper); border-radius: 3cqi; margin-top: 2cqi; font-size: 4cqi; }
.ext { position: absolute; left: 12cqi; right: 12cqi; top: 34%; display: grid; justify-items: center; gap: 1.5cqi; padding: 7cqi 5cqi; text-align: center; background: #fff; border-radius: 6cqi;
  box-shadow: 0 30px 60px -20px rgb(32 32 30 / 0.45); opacity: 0; transform: scale(0.9); transition: opacity 220ms var(--ease-out), transform 300ms var(--ease-out); pointer-events: none; }
.ext img { width: 15cqi; height: 15cqi; border-radius: 4cqi; margin-bottom: 1.5cqi; }
.ext span { color: var(--muted); font-size: 4cqi; }
.ext.is-shown { opacity: 1; transform: none; }

/* Inbox: the deck. Cards are moved by script, transform only. */
.hints { display: flex; justify-content: space-between; font-weight: 600; font-size: 3.8cqi; margin-bottom: 2.5cqi; }
.hint-archive { color: var(--coral); } .hint-keep { color: var(--olive-deep); }
.deck { position: relative; flex: 1 1 auto; min-height: 70cqi; max-height: 104cqi; }
.card { position: absolute; inset: 0; background: #fff; border-radius: 5cqi; box-shadow: 0 1px 0 var(--line), 0 12px 28px -18px rgb(32 32 30 / 0.45); overflow: hidden; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; }
.card:active { cursor: grabbing; }
.card:focus-visible { outline-offset: 2px; border-radius: 5cqi; }
.card img { width: 100%; height: auto; aspect-ratio: 440 / 230; object-fit: cover; pointer-events: none; }
.card-body { padding: 4cqi; }
.card-title { font-weight: 650; font-size: 4.8cqi; line-height: 1.25; }
.card-meta { color: var(--faint); font-size: 3.8cqi; margin-top: 1.5cqi; }
.card-action { margin-top: 4cqi; padding: 2.6cqi 0; text-align: center; color: #fff; background: var(--coral); border-radius: 3cqi; font-weight: 600; font-size: 4cqi; }
.card-note { margin-top: 3cqi; padding: 3cqi; border: 1px solid var(--line); border-radius: 3cqi; color: var(--faint); font-size: 3.8cqi; }
.stamp { position: absolute; top: 5cqi; padding: 1.2cqi 3cqi; border: 0.8cqi solid currentColor; border-radius: 2cqi; background: rgb(255 255 255 / 0.85); font-weight: 800; font-size: 5cqi; letter-spacing: 0.04em; opacity: 0; }
.stamp-keep { left: 5cqi; color: var(--olive); transform: rotate(-10deg); }
.stamp-archive { right: 5cqi; color: var(--coral); transform: rotate(10deg); }
.card.is-behind { transform: translateY(3cqi) scale(0.95); }
.triage { display: flex; gap: 3cqi; margin-top: 4cqi; }
.tri { flex: 1; border: 0; border-radius: 3cqi; padding: 2.6cqi 0; min-height: 24px; font-weight: 650; font-size: 4cqi; cursor: pointer; transition: transform 140ms var(--ease-out); }
.tri:active { transform: scale(0.96); }
.tri-archive { background: var(--coral-soft); color: #8E2E1E; }
.tri-keep { background: var(--olive-soft); color: var(--olive-deep); }
.left { text-align: center; color: var(--faint); font-size: 3.6cqi; margin-top: 3cqi; }
.clear, .saved-empty { display: none; margin: auto 0; text-align: center; gap: 1.5cqi; justify-items: center; padding: 8cqi 2cqi; }
.clear b, .saved-empty b { font-size: 5.4cqi; }
.clear span, .saved-empty span { color: var(--muted); font-size: 4cqi; }
.review { margin-top: 3cqi; border: 0; border-radius: 99px; padding: 2.2cqi 5cqi; background: var(--paper-deep); font-weight: 650; font-size: 4cqi; cursor: pointer; }
.scr-inbox.is-clear .clear { display: grid; }
.scr-inbox.is-clear :is(.hints, .deck, .triage, .left) { display: none; }
.scr-inbox:not(.has-archived) .review { display: none; }
.toast { position: absolute; left: 5cqi; right: 5cqi; bottom: 4cqi; display: flex; justify-content: space-between; align-items: center; gap: 2cqi; padding: 3cqi 4cqi; background: var(--ink); color: #fff; border-radius: 3cqi; font-size: 3.8cqi;
  transform: translateY(140%); opacity: 0; visibility: hidden; transition: transform 300ms var(--ease-out), opacity 200ms var(--ease-out), visibility 0s 300ms; pointer-events: none; }
/* Hidden means out of the Tab order too, so a faded Undo can't be pressed by accident. */
.toast.is-shown { transform: none; opacity: 1; visibility: visible; transition-delay: 0s; pointer-events: auto; }
.toast-undo { background: none; border: 0; color: #fff; font-weight: 700; cursor: pointer; padding: 1.5cqi 2cqi; min-height: 24px; }

/* Saved: the links you kept, newest first. */
.saved-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 3cqi; }
.scr.is-empty .saved-empty { display: grid; }
.saved-row { display: flex; gap: 3cqi; align-items: center; width: 100%; text-align: left; border: 0; background: #fff; border-radius: 3.5cqi; padding: 2.4cqi; box-shadow: 0 1px 0 var(--line);
  font-weight: 600; font-size: 4cqi; line-height: 1.3; cursor: pointer; transition: transform 140ms var(--ease-out); }
.saved-row:active { transform: scale(0.98); }
.saved-row img { width: 22cqi; height: 15cqi; object-fit: cover; border-radius: 2cqi; flex: none; }

/* Saved item and its Digest. */
.back { position: absolute; left: 0; top: 1.4cqi; border: 0; background: none; color: var(--olive-deep); font-weight: 600; font-size: 4cqi; padding: 0.6cqi 1cqi; cursor: pointer; min-height: 24px; }
.item-media { width: 100%; height: auto; aspect-ratio: 440 / 230; object-fit: cover; border-radius: 3cqi; flex: none; }
.item-title { font-weight: 700; font-size: 5.4cqi; line-height: 1.25; margin-top: 3cqi; }
.item-meta { color: var(--faint); font-size: 3.8cqi; margin: 1cqi 0 3.5cqi; }
.digest-card { position: relative; overflow: hidden; background: var(--paper-deep); border-radius: 4cqi; padding: 4cqi; flex: none; }
.digest-label { font-weight: 700; font-size: 4.2cqi; margin-bottom: 1.5cqi; }
.digest-intro { font-size: 3.8cqi; color: var(--muted); }
.digest-btn { margin-top: 3cqi; border: 0; border-radius: 99px; padding: 2.2cqi 5cqi; background: var(--olive); color: #fff; font-weight: 650; font-size: 4cqi; cursor: pointer; transition: transform 140ms var(--ease-out); }
.digest-btn:active { transform: scale(0.96); }
.digest-card.is-busy .digest-btn { display: none; }
.digest-card.is-done .digest-intro, .digest-card.is-done .digest-btn { display: none; }
.digest-sum { font-size: 4cqi; }
.digest-why { margin-top: 2.4cqi; font-size: 3.5cqi; color: var(--muted); }
.digest-by { margin-top: 2cqi; font-size: 3.3cqi; font-weight: 650; color: var(--olive-deep); }
.digest-shimmer { position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgb(255 255 255 / 0.75) 50%, transparent 70%); transform: translateX(-100%); pointer-events: none; }

/* Profile: Who thinks. */
.group-label { font-size: 3.6cqi; font-weight: 650; color: var(--faint); margin: 0 1cqi 2cqi; }
.who { background: #fff; border-radius: 5cqi; box-shadow: 0 1px 0 var(--line); overflow: hidden; flex: none; }
.who-row { display: flex; gap: 3.5cqi; align-items: center; width: 100%; text-align: left; background: none; border: 0; padding: 4cqi; cursor: pointer; font-weight: 600; font-size: 4.3cqi; transition: background-color 200ms ease; }
.who-row + .who-row, .who-detail + .who-row { border-top: 1px solid var(--line); }
.who-row:active { background: var(--paper-deep); }
.who-row:focus-visible { outline-offset: -3px; }
.who-row em { display: block; font-style: normal; font-weight: 400; color: var(--faint); font-size: 3.4cqi; margin-top: 0.6cqi; }
.who-row i { flex: none; width: 5.4cqi; height: 5.4cqi; border-radius: 50%; box-shadow: inset 0 0 0 0.5cqi var(--faint); transition: box-shadow 220ms var(--ease-out); }
.who-row[aria-checked="true"] i { box-shadow: inset 0 0 0 0.5cqi var(--olive), inset 0 0 0 1.6cqi #fff, inset 0 0 0 5cqi var(--olive); }
.who-detail { display: grid; grid-template-rows: 0fr; transition: grid-template-rows 320ms var(--ease-out); }
.who-detail > div { overflow: hidden; padding: 0 4cqi; }
.who-detail.is-open { grid-template-rows: 1fr; }
.who-detail.is-open > div { padding-bottom: 4cqi; }
.chips { display: flex; gap: 2cqi; flex-wrap: wrap; }
.chip { border: 0; border-radius: 99px; padding: 1.8cqi 3.4cqi; min-height: 24px; font-size: 3.6cqi; font-weight: 600; background: var(--paper-deep); cursor: pointer; transition: background-color 200ms ease, color 200ms ease, transform 140ms var(--ease-out); }
.chip:active { transform: scale(0.95); }
.chip[aria-pressed="true"] { background: var(--olive); color: #fff; }
.key-field { margin-top: 3cqi; padding: 3cqi; border: 1px solid var(--line); border-radius: 3cqi; font-size: 3.6cqi; font-weight: 600; display: flex; justify-content: space-between; }
.key-field span { font-weight: 400; color: var(--faint); }
.who-sends { margin: 3.5cqi 1cqi 0; font-size: 3.6cqi; color: var(--muted); }

/* Journey: this month, then today's trail built from what you did. */
.j-head { font-weight: 700; font-size: 5.6cqi; line-height: 1.2; }
.j-month { color: var(--faint); font-size: 3.6cqi; margin: 1cqi 0 2.5cqi; }
.j-grid { display: grid; grid-template-columns: repeat(7, 5.6cqi); gap: 1.2cqi; margin-bottom: 4cqi; }
.j-grid span { aspect-ratio: 1; border-radius: 1.2cqi; background: var(--paper-deep); }
.j-grid span.blank { background: none; }
.j-grid span.on { background: var(--olive); }
.j-day { font-weight: 650; margin-bottom: 2.5cqi; }
.trail-wrap { position: relative; flex: none; }
.trail-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.trail-path path { fill: none; stroke: var(--olive); stroke-width: 2.6; stroke-linecap: round; stroke-dasharray: 0 7; opacity: 0.75; }
.trail { position: relative; list-style: none; margin: 0; padding: 0 0 2cqi; display: grid; gap: 7cqi; }
.stop { display: flex; gap: 2.8cqi; align-items: flex-start; max-width: 86%; font-weight: 650; font-size: 3.9cqi; line-height: 1.3; }
.stop:nth-child(even) { justify-self: end; flex-direction: row-reverse; text-align: right; }
.stop i { flex: none; display: grid; place-items: center; width: 9.5cqi; height: 9.5cqi; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 0.6cqi var(--olive); }
.stop i svg, .moment svg { fill: none; stroke: var(--olive-deep); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.stop i svg { width: 4.8cqi; height: 4.8cqi; }
.stop > div { background: var(--paper); padding: 0 1cqi 1cqi; border-radius: 1.5cqi; }
.moment { display: inline-flex; align-items: center; gap: 1.2cqi; margin-top: 1.4cqi; padding: 0.8cqi 2.4cqi; border-radius: 99px; background: var(--paper-deep); color: var(--ink); font-size: 3.2cqi; font-weight: 650; }
.moment svg { width: 3.4cqi; height: 3.4cqi; stroke: var(--ink); }
.stop-sum { margin-top: 1.6cqi; padding: 2cqi 2.6cqi; border-radius: 3cqi; background: var(--paper-deep); font-weight: 400; font-size: 3.4cqi; color: var(--muted); text-align: left; }
.stop.is-faded .t { color: var(--faint); font-weight: 500; }
.stop.is-faded i { box-shadow: inset 0 0 0 0.6cqi var(--line); }
.stop-now { align-items: center; }
.stop-now i { width: 5cqi; height: 5cqi; margin: 0 2.25cqi; box-shadow: inset 0 0 0 0.6cqi var(--olive); }
.stop-now .t { color: var(--olive-deep); }

/* Tab bar: tabs unlock as the visitor reaches them. */
.tabs { position: absolute; left: 4cqi; right: 4cqi; bottom: 3cqi; height: 13cqi; display: flex; justify-content: space-around; align-items: center; padding: 0 1.5cqi; background: rgb(255 255 255 / 0.94);
  border-radius: 99px; box-shadow: 0 1px 0 var(--line), 0 8px 20px -12px rgb(32 32 30 / 0.35); transition: transform 380ms var(--ease-drawer), opacity 240ms ease; }
.screen[data-screen="share"] .tabs { transform: translateY(140%); opacity: 0; }
.tab { flex: 1; display: grid; justify-items: center; gap: 0.4cqi; height: 10.5cqi; align-content: center; border: 0; border-radius: 99px; background: none; font-size: 2.9cqi; font-weight: 600; color: var(--muted); cursor: pointer;
  transition: background-color 200ms ease, color 200ms ease, opacity 200ms ease, transform 140ms var(--ease-out); }
.tab svg { width: 5cqi; height: 5cqi; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tab:active { transform: scale(0.94); }
.tab[aria-current="page"] { background: var(--paper-deep); color: var(--olive-deep); }
.tab[aria-disabled="true"] { opacity: 0.35; cursor: default; }

/* ---------- Below the game: sections in the app's look, real recordings in device frames ---------- */
.how, .private { padding: 72px 0; }
/* Tinted sections carry their own side inset, so content never meets their edge. */
.extras, .thinks, .phones { padding: 72px var(--gut); }
:is(.extras, .thinks, .phones) > .wrap { width: min(100%, 1200px); }
.extras, .phones { background: var(--paper-deep); }
.sec-head { max-width: 46rem; margin: 0 auto 32px; text-align: center; }
.eyebrow { font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--olive-deep); margin-bottom: 10px; }
.sub { margin-top: 16px; color: var(--muted); font-size: clamp(1.12rem, 1.5vw, 1.3rem); }
h3 { font-size: 1.5rem; line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }

/* The platform switch rides along while you read the steps. */
.pf-bar { position: sticky; top: calc(var(--head) + 12px); z-index: 5; display: flex; justify-content: center; margin-bottom: 8px; pointer-events: none; }
.platform { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; background: rgb(255 255 255 / 0.92); box-shadow: 0 1px 0 var(--line), 0 10px 24px -14px rgb(32 32 30 / 0.4); pointer-events: auto; }
.pf { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 0 18px; border: 0; border-radius: 999px; background: none; font-size: 15px; font-weight: 650; color: var(--muted); cursor: pointer; transition: color 220ms ease, transform 140ms var(--ease-out); }
.pf:active { transform: scale(0.96); }
.pf svg { width: 17px; height: 17px; fill: currentColor; }
.pf[aria-pressed="true"] { color: #fff; background-color: var(--ink); transition: color 220ms ease, background-color 0s 420ms; } /* the pill slides first, then the button holds the ink itself */
.pf-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--ink); transition: transform 420ms var(--ease-drawer); }
html[data-pf="android"] .pf-pill { transform: translateX(100%); }

/* How it works: the steps sit on a dotted trail that draws as you scroll, like the Journey tab. */
.trail-steps { position: relative; }
.steps { position: relative; list-style: none; margin: 0; padding: 0; }
.steps-path { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.steps-path path { fill: none; stroke: #CFCAC0; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 0 12; }
.steps-fill path { stroke: var(--olive); stroke-width: 4; }
.steps-now { position: absolute; left: 0; top: 0; z-index: 2; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; background: var(--olive); box-shadow: 0 0 0 4px var(--paper), 0 2px 6px rgb(32 32 30 / 0.3); opacity: 0; transition: opacity 200ms ease; pointer-events: none; }
.trail-steps.is-moving .steps-now { opacity: 1; }
.step-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; padding: 28px 0; }
.step-row:nth-child(even) .step-copy { order: 2; }
.step-copy { position: relative; padding: 36px 0 0 84px; }
.step-dot { position: absolute; left: 0; top: 28px; z-index: 1; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 0 0 3px #CFCAC0; transition: background-color 300ms ease, box-shadow 300ms ease; }
.step-dot svg { width: 26px; height: 26px; fill: none; stroke: var(--faint); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: stroke 300ms ease; }
.is-reached .step-dot { background: var(--olive); box-shadow: inset 0 0 0 3px var(--olive), 0 8px 18px -10px rgb(32 32 30 / 0.45); animation: dot-pop 520ms var(--ease-out); }
.is-reached .step-dot svg { stroke: #fff; }
@keyframes dot-pop { 0% { transform: scale(0.86); } 55% { transform: scale(1.08); } 100% { transform: none; } }
.moments { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 14px; }
.moment-chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 9px; border-radius: 999px; background: var(--olive-soft); color: var(--olive-deep); font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; }
.moment-chip svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.moment-archive { background: var(--coral-soft); color: #8E2E1E; }
.moment-now { background: var(--olive); color: #fff; }
.moment-now svg { fill: currentColor; }
.step-text h3 { font-size: clamp(2rem, 3.4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
.step-text > p:last-child { margin-top: 16px; color: var(--muted); font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.5; max-width: 30rem; }
.step-stage { display: grid; place-items: center; padding: 28px 20px; border-radius: 28px; background: radial-gradient(60% 55% at 50% 45%, var(--olive-soft), var(--paper-deep) 78%); }
.device { position: relative; margin: 0; width: min(250px, 62vw); }
.device-sm { width: min(210px, 52vw); }
.frame { position: relative; aspect-ratio: 600 / 1304; border-radius: 38px; padding: 7px; background: var(--ink); box-shadow: 0 30px 60px -28px rgb(32 32 30 / 0.5), 0 2px 6px rgb(32 32 30 / 0.12); transition: border-radius 300ms var(--ease-out); }
.frame video { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 31px; background: var(--paper); transition: border-radius 300ms var(--ease-out); }
/* Android: a slimmer, squarer phone with a punch-hole camera. */
.device.is-android .frame { aspect-ratio: 600 / 1334; border-radius: 30px; padding: 6px; }
.device.is-android .frame video { border-radius: 24px; }
.device.is-android .frame::after { content: ""; position: absolute; top: 15px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: var(--ink); }
.vid-toggle { position: absolute; right: -10px; bottom: 18px; min-height: 32px; padding: 0 12px; border: 0; border-radius: 999px; background: rgb(250 248 244 / 0.94); color: var(--ink); font-size: 13px; font-weight: 650; cursor: pointer; box-shadow: 0 2px 10px rgb(32 32 30 / 0.2); transition: transform 140ms var(--ease-out); }
.vid-toggle:active { transform: scale(0.95); }

/* Bento: small pieces of the app drawn in HTML. */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.b-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 24px; background: var(--paper); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.b-wide { grid-column: span 2; }
.b-card > p { color: var(--muted); font-size: 17px; max-width: 32rem; }
.mini { margin-top: auto; padding-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; }
.m-field { flex: 1 1 100%; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 12px; background: #fff; }
.m-field svg { width: 17px; height: 17px; fill: none; stroke: var(--faint); stroke-width: 2; stroke-linecap: round; }
.m-typed { font-weight: 600; }
.m-caret { width: 2px; height: 17px; background: var(--olive); animation: caret 1s steps(1) 6; }
@keyframes caret { 50% { opacity: 0; } }
.m-chips { display: flex; gap: 6px; }
.m-chips span, .m-pill, .m-tag { padding: 6px 12px; border-radius: 999px; background: var(--paper-deep); font-weight: 600; font-size: 13px; color: var(--muted); }
.m-chips .on { background: var(--olive); color: #fff; }
.m-row { flex: 1 1 100%; display: flex; gap: 12px; align-items: center; padding: 8px; border-radius: 14px; background: #fff; font-weight: 650; }
.m-row img { width: 76px; height: 46px; object-fit: cover; border-radius: 8px; }
.m-row em { display: block; font-style: normal; font-weight: 400; color: var(--faint); font-size: 13px; }
.m-note { flex: 1; display: flex; justify-content: space-between; align-items: center; padding: 14px; border-radius: 12px; background: #fff; color: var(--faint); }
.m-mic { display: inline-flex; gap: 3px; align-items: center; height: 20px; }
.m-mic i { width: 3px; height: 8px; border-radius: 2px; background: var(--olive); transform-origin: center; animation: wave 900ms var(--ease-in-out) 5 alternate; }
.m-mic i:nth-child(2) { animation-delay: 120ms; } .m-mic i:nth-child(3) { animation-delay: 240ms; } .m-mic i:nth-child(4) { animation-delay: 360ms; } .m-mic i:nth-child(5) { animation-delay: 480ms; }
@keyframes wave { to { transform: scaleY(2.4); } }
.m-tag { background: var(--olive-soft); color: var(--olive-deep); }
.m-said { flex: 1 1 100%; padding: 10px 14px; border-radius: 12px 12px 12px 4px; background: var(--olive-soft); color: var(--olive-deep); font-weight: 600; }
.m-sug { background: transparent; box-shadow: inset 0 0 0 1.5px var(--olive-soft); }
.m-hi { background: var(--coral-soft); color: #8E2E1E; }
.m-bubble { padding: 9px 14px; border-radius: 16px; font-weight: 600; }
.m-you { background: var(--ink); color: #fff; border-bottom-right-radius: 4px; margin-left: auto; }
.m-ok { background: #fff; box-shadow: inset 0 0 0 1px var(--line); border-bottom-left-radius: 4px; }
.m-toast { display: flex; gap: 28px; padding: 10px 14px; border-radius: 12px; background: var(--ink); color: #fff; }
.m-done { background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); }

/* Who thinks. */
.think-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.thinks { padding-top: 104px; padding-bottom: 104px; }
.thinks .sec-head { margin-bottom: 56px; }
/* Your AI gets the wide column so its four choices sit on one row. */
@media (min-width: 1100px) { .think-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.75fr) minmax(0, 1fr); } }
/* Who thinks: a light wash of the app's olive, with cards of frosted paper on it. */
.thinks { background: linear-gradient(180deg, rgb(110 115 55 / 0.1), rgb(110 115 55 / 0.2)); }
.t-card { display: flex; flex-direction: column; gap: 18px; padding: 32px; border-radius: 24px; background: rgb(255 255 255 / 0.6); box-shadow: inset 0 0 0 1px rgb(85 90 40 / 0.12); }
.t-card > p:not([class]) { color: var(--muted); font-size: 17px; }
.t-name { font-weight: 700; font-size: 1.35rem; letter-spacing: -0.01em; }
/* Each model by its own mark in the colour the app gives it, like the app's provider chips. */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.t-marks { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.t-mark { display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 6px 12px 6px 10px; border: 0; border-radius: 12px; background: rgb(255 255 255 / 0.8); box-shadow: inset 0 0 0 1px rgb(85 90 40 / 0.14); color: var(--ink); font: inherit; font-size: 15px; font-weight: 650; }
.t-mark small { font-size: 13px; font-weight: 600; color: var(--faint); }
/* Only the AIs you can pick look like buttons; the rest are plain labels. */
li.t-mark { min-height: 28px; padding: 0; margin-right: 12px; background: none; box-shadow: none; }
.t-card svg[class^="m-"] { width: 18px; height: 18px; flex: none; fill: currentColor; stroke: none; }
.m-openai, .m-apple, .m-server { color: var(--ink); }
.m-claude { color: #D97757; }
.m-gemini { color: #8E75B2; }
.m-topics { color: var(--olive-deep); }
button.t-mark { cursor: pointer; transition: transform 160ms var(--ease-out), background-color 200ms ease, box-shadow 200ms ease; }
button.t-mark:active { transform: scale(0.97); }
button.t-mark[aria-pressed="true"] { background: var(--olive-soft); box-shadow: inset 0 0 0 2px var(--olive); color: var(--olive-deep); }
@media (hover: hover) and (pointer: fine) { button.t-mark[aria-pressed="false"]:hover { background: #fff; box-shadow: inset 0 0 0 1px rgb(85 90 40 / 0.3); } }
/* Where the words go: read here, then sent somewhere or nowhere. */
.t-route { display: grid; gap: 20px; margin: auto 0 0; padding: 24px 0 0; list-style: none; border-top: 1px solid rgb(85 90 40 / 0.14); }
.t-route li { position: relative; display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.t-route p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.4; }
.t-route b { display: block; color: var(--olive-deep); font-size: 15px; font-weight: 700; }
.r-ico { position: relative; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--olive-soft); color: var(--olive-deep); }
.r-ico > svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.t-bill { display: block; margin-top: 6px; color: var(--olive-deep); font-size: 14px; font-weight: 600; }
/* The dotted wire from the phone to the AI draws in, and redraws when another AI is chosen. */
.r-wire { position: absolute; left: 16px; top: 40px; bottom: -18px; border-left: 2px dotted var(--olive); transform-origin: top; transition: transform 700ms var(--ease-out) 450ms; }
html.js .t-yours:not(.is-in) .r-wire { transform: scaleY(0); }
.r-dest { background: #fff; box-shadow: inset 0 0 0 1px rgb(85 90 40 / 0.18); }
.t-card .r-dest svg { position: absolute; opacity: 0; transform: scale(0.5); filter: blur(4px); transition: opacity 200ms ease, transform 300ms var(--ease-out), filter 200ms ease; }
.t-yours[data-ai="openai"] .r-dest .m-openai, .t-yours[data-ai="anthropic"] .r-dest .m-claude,
.t-yours[data-ai="gemini"] .r-dest .m-gemini, .t-yours[data-ai="server"] .r-dest .m-server { opacity: 1; transform: none; filter: none; }

/* Where it runs. */
.phone-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.p-card { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: end; padding: 28px 28px 0; border-radius: 28px; background: var(--paper); box-shadow: 0 1px 0 var(--line); overflow: hidden; }
.p-text { align-self: start; }
.p-text h3 { display: flex; align-items: center; gap: 8px; }
.p-text h3 svg { width: 22px; height: 22px; fill: currentColor; }
.p-text p { margin-top: 8px; color: var(--muted); }
.p-card .device { margin-bottom: -60px; }
.p-card .vid-toggle { bottom: 76px; }

/* Privacy and closing. */
.facts { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.facts li { padding: 22px; border-radius: 20px; background: var(--olive-soft); color: #45482A; }
.facts b { display: block; color: var(--ink); margin-bottom: 4px; }
.private .wrap > .text-link { display: table; margin: 24px auto 0; }
.private { padding-bottom: 56px; }
.footer { padding: 0; }
.closing { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; padding: 64px 24px; border-radius: 32px; background: linear-gradient(180deg, var(--olive-soft) 0%, #D9DBB4 100%); }
.closing h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.closing p { color: #45482A; max-width: 34rem; }
.closing .closing-fine { font-size: 14px; }
.closing-icon { border-radius: 20px; box-shadow: 0 10px 24px -12px rgb(32 32 30 / 0.4); }
.footer-row { display: flex; justify-content: space-between; align-items: center; min-height: 72px; padding-top: 12px; padding-bottom: 12px; color: var(--muted); font-size: 15px; }
.footer-row a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .footer-row a:hover { color: var(--ink); } .b-card, .t-card { transition: transform 300ms var(--ease-out); } .b-card:hover, .t-card:hover { transform: translateY(-3px); } }

/* Sections settle in as they arrive, once. Only with scripting, so nothing hides if it fails. */
html.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
html.js .reveal.is-in { opacity: 1; transform: none; }

.policy { max-width: 44rem; padding-top: 64px; padding-bottom: 96px; }
.policy h1 { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.05; letter-spacing: -0.03em; }
.policy .updated { margin-top: 12px; color: var(--muted); }
.policy h2 { font-size: 1.5rem; margin-top: 44px; margin-bottom: 12px; }
.policy p, .policy li { color: #3b3a37; }
.policy p + p { margin-top: 14px; }
.policy > p:first-of-type { margin-top: 28px; }
.policy ul { padding-left: 20px; display: grid; gap: 12px; margin: 0; }
.policy a { color: var(--olive-deep); text-underline-offset: 3px; }

/* ---------- Narrow screens: title above a small stack; in the game the app fills the screen ---------- */
@media (max-width: 760px) {
  .stage { grid-template-columns: 1fr; align-content: start; gap: 0; padding-top: 24px; }
  .title-copy h1 { font-size: 3.4rem; margin-top: 12px; }
  .logo { width: 56px; height: 56px; border-radius: 14px; }
  .actions { margin-top: 22px; }
  .actions .btn, .actions .btn-quiet { flex: 1 1 auto; }
  .fact { margin-top: 16px; }
  .scene { height: 52svh; min-height: 340px; }
  .rig { width: min(24svh, 180px); }
  .tile { font-size: 11px; }
  .tile b { padding: 7px 9px 9px; }
  .facts, .bento, .think-grid, .phone-grid { grid-template-columns: 1fr; }
  .b-wide { grid-column: auto; }
  .how, .private { padding: 52px 0; }
  .extras, .thinks, .phones { padding: 52px var(--gut); }
  .thinks .sec-head { margin-bottom: 36px; }
  .head-links { display: none; }
  :root { --head: 56px; }
  .sec-head { margin-bottom: 28px; }
  .step-row { grid-template-columns: 1fr; gap: 16px; padding: 8px 0 28px; }
  .step-row:nth-child(even) .step-copy { order: 0; }
  .step-copy { padding: 4px 0 0 64px; }
  .step-dot { top: 0; width: 46px; height: 46px; }
  .step-dot svg { width: 21px; height: 21px; }
  .step-text h3 { font-size: 1.9rem; }
  .step-stage { margin-left: 64px; padding: 20px 12px; }
  html:has(.stage[data-mode="game"]) .site-head { display: none; }
  .p-card { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .p-text h3 { justify-content: center; }
  .closing { padding: 56px 20px; }
  .stage[data-mode="game"] { padding: 0; }
  .stage[data-mode="game"] .scene { display: block; min-height: 0; height: 100svh; }
  .stage[data-mode="game"] .rig { width: 100%; height: 100svh; aspect-ratio: auto; }
  .stage[data-mode="game"] .phone { padding: 0; border-radius: 0; box-shadow: none; }
  .stage[data-mode="game"] .screen { --top: calc(var(--quest-h, 96px) + 2cqi); border-radius: 0; }
  .stage[data-mode="game"] .sb { display: none; }
  .stage[data-mode="game"] .scene::before { display: none; }
  .quest { position: absolute; left: 0; right: 0; top: 0; width: auto; padding: 10px 14px; gap: 6px; background: rgb(250 248 244 / 0.96); border-bottom: 1px solid var(--line); }
  .quest-steps { font-size: 11px; gap: 2px; flex-wrap: nowrap; }
  .quest-steps li { padding: 2px 6px; white-space: nowrap; }
  .quest-steps li.is-done::before { content: none; }
  .tile:nth-child(4) { --t: translate(-70%, 400%) translateZ(60px) rotate(7deg); }
  .quest-row { min-height: 0; gap: 6px 12px; }
  .quest-hint { font-size: 15px; line-height: 1.35; }
  .quest-actions .btn, .quest-actions .btn-quiet { min-height: 36px; padding: 0 12px; font-size: 14px; }
  .game-meta { display: none; }
}

/* Reduced motion: no deal-in, no travel; short cross-fades only. Hints stay as a still ring. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
  .scr { transition: opacity 200ms ease, visibility 0s !important; transform: none !important; }
  .is-hinted::after { opacity: 1; }
  html.js .reveal { opacity: 1; transform: none; }
  .steps-now { display: none; }
}

