/* Zakira website, shared stylesheet. Review copy v1, 23 October 2026.
   Colours are DESIGN.md section 4 and video/zakira_launch_film/src/brand.ts,
   character for character. Gold is a fill or a material, never text. */

:root {
  --paper: #F5F0E8;
  --surface: #FFFFFF;
  --ink: #2D2418;
  --muted: #6F6152;
  --accent: #6B2236;
  --on-accent: #FFFFFF;
  --line: #E4D9C8;
  --gold: #C9A227;
  --gold-deep: #8A6018;
  --stage: #1A1512;
  --stage-2: #241E1A;
  --stage-ink: #F0EAE0;
  --stage-muted: #A89684;
  --qa: #B0402F; --qb: #4F7049; --qc: #8A6018; --qd: #456A87;
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --text: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --radius-s: 12px;
  --radius-l: 16px;
  --measure: 62ch;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1A1512; --surface: #241E1A; --ink: #F0EAE0; --muted: #A89684;
    --accent: #D98AA0; --on-accent: #1A1512; --line: #3A302A; --gold: #E0C158;
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
    --paper: #1A1512; --surface: #241E1A; --ink: #F0EAE0; --muted: #A89684;
    --accent: #D98AA0; --on-accent: #1A1512; --line: #3A302A; --gold: #E0C158;
    color-scheme: dark;
}
:root[data-theme="dark"] .change { background: #5A4A14; color: #FFE89A; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
section[id], main[id] { scroll-margin-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.55 var(--text);
  font-feature-settings: 'ss01' 0;
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: var(--accent); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px;
}
h1, h2, h3 { font-family: var(--display); font-weight: 500; margin: 0; text-wrap: balance; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.6rem, 6.5vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); line-height: 1.12; }
h3 { font-size: 1.35rem; line-height: 1.25; }
p { margin: 0; max-width: var(--measure); }
p + p { margin-top: 1em; }
.lede { font-size: 1.2rem; color: var(--muted); }
.wrap { width: min(1120px, 100% - 2 * 20px); margin-inline: auto; }
.wrap-narrow { width: min(760px, 100% - 2 * 20px); margin-inline: auto; }

/* Review bar: delete the whole <div id="review-bar"> before publishing. */
#review-bar {
  background: var(--gold-deep); color: #fff; font-size: 14px; padding: 10px 20px;
  text-align: center; line-height: 1.4;
}
#review-bar b { font-weight: 600; }

/* Header and navigation: one shared block, copied into each page. */
.site-head { border-bottom: 1px solid var(--line); background: var(--paper); position: sticky; top: 0; z-index: 20; }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-size: 1.5rem; font-weight: 500; }
.brand img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; background: var(--surface); border: 1px solid var(--line); }
.nav { display: flex; gap: 4px; }
.nav a { text-decoration: none; color: var(--ink); padding: 10px 14px; border-radius: var(--radius-s); font-weight: 500; font-size: 15px; }
.nav a:hover { background: var(--surface); }
.nav a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px 0 var(--accent); border-radius: 0; }
@media (max-width: 560px) {
  .nav a { padding: 10px 10px; font-size: 14px; }
  .brand span { display: none; }
}

/* Hero: the dark stage from the film's Hook scene. */
.hero { position: relative; background: var(--stage); color: var(--stage-ink); overflow: hidden; isolation: isolate; }
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero .wrap { padding-block: 72px 56px; display: grid; gap: 40px; }
.hero h1 { color: var(--stage-ink); max-width: 14ch; }
.hero h1 em { font-style: italic; font-weight: 400; color: var(--stage-muted); }
.hero .lede { color: var(--stage-muted); font-size: 1.25rem; max-width: 46ch; }
.hero-copy { display: grid; gap: 22px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.film { position: relative; border-radius: var(--radius-l); overflow: hidden; background: #000; box-shadow: 0 40px 90px rgba(0,0,0,.55); border: 1px solid rgba(255,255,255,.08); }
.film video { width: 100%; aspect-ratio: 16 / 9; }
.film-note { color: var(--stage-muted); font-size: 14px; margin-top: 12px; }
@media (min-width: 900px) {
  .hero .wrap { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; padding-block: 88px 72px; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: var(--radius-s);
  font: 500 15px/1 var(--text); text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, background .15s ease; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; opacity: .9; }
.btn-ghost:hover { opacity: 1; background: rgba(255,255,255,.06); }
.btn svg { width: 18px; height: 18px; }

/* Store badges: placeholders until the listings exist. */
.badges { display: flex; flex-wrap: wrap; gap: 12px; }
.badge { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 18px; border-radius: var(--radius-s);
  background: var(--stage); color: var(--stage-ink); text-decoration: none; border: 1px solid rgba(255,255,255,.14); font-size: 14px; line-height: 1.15; }
.badge small { display: block; font-size: 11px; opacity: .75; }
.badge b { font-weight: 600; font-size: 15px; }
.badge[aria-disabled="true"] { opacity: .55; cursor: default; }
.hero .badge { background: rgba(255,255,255,.06); }

/* Sections */
.section { padding-block: 88px; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }

/* The capture demo: the memorable element. A phone frame with a working recorder. */
.demo { display: grid; gap: 40px; align-items: start; }
@media (min-width: 900px) { .demo { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; } }
.demo-copy { display: grid; gap: 18px; }
.demo-copy ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 8px; }
.phone { width: min(360px, 100%); margin-inline: auto; background: #2A211B; border-radius: 44px; padding: 12px; box-shadow: 0 30px 60px rgba(45,36,24,.28), inset 0 0 0 2px #4A3B30; }
.screen { background: #F5F0E8; color: #2D2418; border-radius: 34px; min-height: 600px; display: flex; flex-direction: column; overflow: hidden; position: relative; }
.screen::before { content: ""; position: absolute; top: 12px; left: 50%; width: 92px; height: 26px; transform: translateX(-50%); background: #1A1512; border-radius: 14px; }
.screen-body { flex: 1; padding: 56px 20px 16px; display: flex; flex-direction: column; gap: 14px; }
.rec-state { text-align: center; display: grid; gap: 6px; justify-items: center; min-height: 118px; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #6B2236; opacity: 0; }
.rec-dot.on { opacity: 1; animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .rec-dot.on { animation: none; } }
.rec-timer { font: 400 48px/1 var(--display); font-variant-numeric: tabular-nums; color: #2D2418; }
.rec-status { font-size: 15px; font-weight: 500; color: #2D2418; }
.rec-note { font-size: 13px; color: #6F6152; max-width: 30ch; }
.wave { height: 56px; width: 100%; }
.rows { display: grid; gap: 8px; max-height: 200px; overflow: auto; }
.rows-title { font-size: 13px; color: #6F6152; margin-top: 4px; }
.row { background: #FFFFFF; border: 1px solid #E4D9C8; border-radius: 16px; padding: 10px 12px; display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; font-size: 14px; color: #2D2418; }
.row .num { font-family: var(--display); font-size: 18px; font-variant-numeric: tabular-nums; }
.row .meta { display: grid; gap: 4px; }
.row .stars { display: inline-flex; gap: 2px; }
.row .stars button { all: unset; cursor: pointer; width: 22px; height: 22px; display: grid; place-items: center; color: #C9A227; }
.row .stars button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.row .stars button[aria-pressed="true"] svg { fill: currentColor; }
.row .quad { display: inline-flex; gap: 4px; }
.row .quad button { all: unset; cursor: pointer; width: 24px; height: 24px; border-radius: 6px; display: grid; place-items: center; font: 600 12px/1 var(--text); color: #fff; opacity: .4; }
.row .quad button[aria-pressed="true"] { opacity: 1; }
.row .play { all: unset; cursor: pointer; width: 40px; height: 40px; border-radius: 50%; background: #6B2236; color: #fff; display: grid; place-items: center; }
.row .play svg { width: 16px; height: 16px; fill: currentColor; }
.screen-foot { padding: 12px 20px 18px; display: grid; gap: 12px; }
.capture { all: unset; cursor: pointer; display: grid; place-items: center; min-height: 64px; width: 100%; border-radius: 12px; background: #6B2236; color: #fff; font: 500 17px/1 var(--text); box-sizing: border-box; }
.capture[data-recording="true"] { background: #2D2418; }
.capture:focus-visible { outline: 3px solid #2D2418; outline-offset: 3px; }
.tabs { display: grid; grid-template-columns: repeat(5, 1fr); font-size: 11px; color: #6F6152; text-align: center; border-top: 1px solid #E4D9C8; padding-top: 8px; }
.tabs span { display: grid; gap: 3px; justify-items: center; }
.tabs svg { width: 18px; height: 18px; stroke: currentColor; fill: none; stroke-width: 2; }
.tabs .on { color: #6B2236; }
.demo-msg { font-size: 14px; color: var(--muted); min-height: 1.4em; }

/* The storyboard steps: a real sequence, so numbered. */
.steps { display: grid; gap: 28px; counter-reset: step; }
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { display: grid; gap: 14px; counter-increment: step; }
.step img { border-radius: var(--radius-l); border: 1px solid var(--line); aspect-ratio: 16/9; object-fit: cover; }
.step h3::before { content: counter(step) ". "; color: var(--accent); font-family: var(--display); }
.step p { color: var(--muted); font-size: 15.5px; }

/* Quadrant board, in the app's grid order: A, B on top; C, D beneath. */
.board-wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .board-wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }
.board { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.q { border-radius: var(--radius-l); padding: 22px 20px; color: #fff; min-height: 150px; display: grid; align-content: space-between; gap: 18px; }
.q b { font-family: var(--display); font-size: 2.2rem; font-weight: 500; line-height: 1; }
.q span { display: block; font-weight: 600; font-size: 1.05rem; }
.q small { display: block; opacity: .85; font-size: 13px; margin-top: 2px; }
.q-a { background: var(--qa); } .q-b { background: var(--qb); } .q-c { background: var(--qc); } .q-d { background: var(--qd); }
.board-copy { display: grid; gap: 16px; }
.board-copy p { color: var(--muted); }

/* Quotes */
.quote-block { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 40px clamp(20px, 5vw, 56px); display: grid; gap: 22px; position: relative; overflow: hidden; }
.quote-block blockquote { margin: 0; font: italic 400 clamp(1.5rem, 3vw, 2.2rem)/1.3 var(--display); max-width: 28ch; min-height: 2.6em; }
.quote-block cite { font-style: normal; color: var(--muted); font-size: 15px; }
.quote-block .btn { justify-self: start; }
.medallion { position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%;
  background: conic-gradient(from 210deg, #8A6018, #E0C158, #C9A227, #8A6018, #E0C158, #8A6018); opacity: .18; pointer-events: none; }

/* Privacy promise */
.promise { display: grid; gap: 28px; }
@media (min-width: 720px) { .promise { grid-template-columns: repeat(3, 1fr); } }
.promise div { display: grid; gap: 10px; padding-top: 18px; border-top: 2px solid var(--accent); }
.promise p { color: var(--muted); font-size: 15.5px; }
.promise svg { width: 26px; height: 26px; stroke: var(--accent); fill: none; stroke-width: 1.8; }

/* End card */
.endcard { background: var(--stage); color: var(--stage-ink); }
.endcard .wrap { display: grid; gap: 32px; align-items: center; padding-block: 72px; }
@media (min-width: 800px) { .endcard .wrap { grid-template-columns: 300px 1fr; gap: 56px; } }
.mascot-card { width: 260px; margin-inline: auto; background: #F5F0E8; border-radius: 22px; padding: 26px; box-shadow: 0 30px 60px rgba(0,0,0,.5); position: relative; }
.mascot-card::before { content: ""; position: absolute; inset: -22px; border-radius: 50%; z-index: -1;
  background: conic-gradient(from 0deg, #6B2236, #C9A227, #6B2236, #8A6018, #6B2236); opacity: .9; filter: blur(1px); }
.endcard h2 { font-size: clamp(2.6rem, 6vw, 4.5rem); color: var(--stage-ink); }
.endcard .tag { font: italic 400 1.35rem/1.3 var(--display); color: #D98AA0; }
.endcard p { color: var(--stage-muted); }
.endcard-copy { display: grid; gap: 18px; }

/* Content pages (privacy, support, faq) */
.page { padding-block: 64px 96px; }
.page header { display: grid; gap: 14px; margin-bottom: 40px; }
.page .meta { color: var(--muted); font-size: 15px; }
.prose { display: grid; gap: 18px; }
.prose h2 { font-size: 1.6rem; margin-top: 22px; }
.prose h3 { font-size: 1.15rem; font-family: var(--text); font-weight: 600; margin-top: 8px; }
.prose ul { margin: 0; padding-left: 22px; display: grid; gap: 8px; }
.prose li { max-width: var(--measure); }
.callout { background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: var(--radius-s); padding: 16px 18px; color: var(--muted); font-size: 15.5px; }
details { border-top: 1px solid var(--line); padding: 6px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; padding: 14px 0; font-weight: 500; font-size: 1.05rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--display); font-size: 1.5rem; color: var(--accent); line-height: 1; }
details[open] summary::after { content: "–"; }
details p { padding-bottom: 16px; color: var(--muted); }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 36px 48px; font-size: 14px; color: var(--muted); }
.site-foot .wrap { display: grid; gap: 14px; }
.site-foot nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-foot a { color: var(--muted); }
.change { background: #FFF2B8; color: #5A3E00; padding: 1px 6px; border-radius: 4px; font-size: .92em; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .change { background: #5A4A14; color: #FFE89A; } }

/* v2, 13 November 2026: the story sections (ZAKIRA_STORY_AND_MARKETING_PLAN_12Nov2026.md). */
.nav { overflow-x: auto; }
.nav a { white-space: nowrap; }
.loss { text-align: center; }
.loss .wrap-narrow { display: grid; gap: 22px; justify-items: center; }
.loss h2 em { font-style: italic; font-weight: 400; color: var(--muted); }
.seedline { font: italic 400 1.5rem/1.3 var(--display); color: var(--accent); }
.chain-wrap { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .chain-wrap { grid-template-columns: 1fr 1fr; gap: 64px; } }
.chain-copy { display: grid; gap: 16px; }
.chain-copy p:not(.lede) { color: var(--muted); }
.chain { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.chain li { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 16px 18px; }
.chain li + li { margin-top: 34px; margin-inline-start: 28px; }
.chain li + li::before { content: ""; position: absolute; inset-inline-start: -15px; top: -35px; width: 14px; height: 60px;
  border-inline-start: 2px solid var(--accent); border-bottom: 2px solid var(--accent); border-end-start-radius: 12px; }
.chain li + li + li { margin-inline-start: 56px; }
.chain b { font: 500 1.3rem/1.2 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.chain span { display: block; font-weight: 600; }
.chain small { display: block; color: var(--muted); font-size: 14px; margin-top: 4px; }
.pains { margin: 0; display: grid; gap: 0; }
.pains > div { display: grid; gap: 6px 40px; padding: 22px 0; border-top: 1px solid var(--line); }
.pains > div:last-child { border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .pains > div { grid-template-columns: 1fr 1fr; align-items: baseline; } }
.pains dt { font: italic 400 1.3rem/1.3 var(--display); }
.pains dd { margin: 0; color: var(--muted); }
.price { display: grid; gap: 16px; }

/* v2, 13 November 2026: appearance switch, and the passing thoughts in the loss section. */
.site-head { background: color-mix(in srgb, var(--paper) 84%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.site-head .wrap { flex-wrap: wrap; row-gap: 0; }
.theme { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 3px; gap: 2px; background: var(--surface); }
.theme button { all: unset; box-sizing: border-box; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px;
  border-radius: 999px; font: 500 13px/1 var(--text); color: var(--muted); }
.theme button svg { width: 16px; height: 16px; }
.theme button[aria-pressed="true"] { background: var(--accent); color: var(--on-accent); }
.theme button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (max-width: 860px) {
  .theme button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .theme button { padding: 0 10px; min-width: 38px; justify-content: center; }
}
@media (max-width: 560px) { .site-head .wrap { padding-block: 8px; } .nav { order: 3; width: 100%; } }
::view-transition-old(root) { animation: none; }
::view-transition-new(root) { animation: zk-open .55s cubic-bezier(.6, 0, .3, 1); }
@keyframes zk-open { from { clip-path: circle(0 at var(--vx, 50%) var(--vy, 0)); } to { clip-path: circle(150vmax at var(--vx, 50%) var(--vy, 0)); } }

.drift-wrap { width: min(1120px, 100% - 2 * 20px); margin: 34px auto 26px; }
.drift { position: relative; height: 220px; overflow: hidden; border-block: 1px solid var(--line); }
.passing { position: absolute; left: 0; margin: 0; cursor: pointer; white-space: nowrap;
  font: italic 400 clamp(1.05rem, 2.4vw, 1.5rem)/1.2 var(--display); color: var(--ink);
  background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 10px 18px; }
.passing:hover { border-color: var(--accent); color: var(--accent); }
.drift.still { height: auto; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; padding-block: 24px; }
.drift.still .passing { position: static; }
.drift-kept { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.drift-kept li { background: var(--accent); color: var(--on-accent); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.drift-kept b { font-family: var(--display); font-weight: 500; font-variant-numeric: tabular-nums; }
.drift-tally { color: var(--muted); min-height: 1.6em; }
.loss .drift-pause { min-height: 40px; font-size: 14px; }

/* v3, 25 November 2026: the app's screens on a 3D deck, and sections that rise in as they are reached.
   Without script the deck is a row that scrolls sideways. Motion stops for prefers-reduced-motion. */
.inside { overflow: hidden; }
.deck-stage { display: flex; gap: 20px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 auto; width: 230px; margin: 0; scroll-snap-align: center; }
.shot-frame { border-radius: 34px; padding: 9px; background: #1A1512; box-shadow: 0 22px 44px rgba(45,36,24,.22), 0 4px 10px rgba(45,36,24,.14); }
.shot-frame img { display: block; width: 100%; height: auto; border-radius: 26px; }
.shot figcaption { margin-top: 12px; font-size: .92rem; color: var(--muted); }
.shot figcaption b { color: var(--ink); }
.deck-bar { display: none; }
.deck.is-3d .deck-stage { display: block; position: relative; height: 560px; overflow: visible; padding: 0; perspective: 1500px; scroll-snap-type: none; }
.deck.is-3d .deck-tilt { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .25s ease-out; }
.deck.is-3d .shot { position: absolute; left: 50%; top: 14px; width: 246px; margin-left: -123px; cursor: pointer;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), opacity .6s ease, filter .6s ease; will-change: transform; }
.deck.is-3d .shot figcaption { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.deck.is-3d .shot[aria-hidden="true"] { pointer-events: auto; }
.deck.is-3d .shot.is-on { cursor: default; }
.deck.is-3d .shot.is-on .shot-frame { box-shadow: 0 40px 70px rgba(45,36,24,.3), 0 8px 18px rgba(45,36,24,.18), 0 0 0 2px var(--gold); }
.deck.is-3d .deck-bar { display: grid; grid-template-columns: 52px minmax(0, 1fr) 52px; align-items: center; gap: 16px; max-width: 640px; margin: 22px auto 0; }
.deck-btn { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid var(--accent); background: var(--surface); color: var(--accent);
  display: grid; place-items: center; cursor: pointer; }
.deck-btn:hover { background: var(--accent); color: var(--on-accent); }
.deck-btn:focus-visible, .shot:focus-visible { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.deck-btn svg { width: 22px; height: 22px; }
.deck-caption { text-align: center; min-height: 5.2em; }
.deck-caption b { display: block; font-family: var(--display); font-size: 1.35rem; color: var(--ink); margin-bottom: 4px; }
.deck-caption span { color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 44px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.facts li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); padding: 20px 22px; }
.facts b { display: block; color: var(--accent); margin-bottom: 4px; }
.facts span { color: var(--muted); }
.js-reveal .reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
@media (max-width: 620px) {
  .deck.is-3d .deck-stage { height: 470px; }
  .deck.is-3d .shot { width: 200px; margin-left: -100px; }
}
@media (prefers-reduced-motion: reduce) {
  .deck.is-3d .shot, .deck.is-3d .deck-tilt { transition: none; }
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
}

/* v4, 25 November 2026: the loop section and the quote card. */
.loop-grid { display: grid; gap: 36px; align-items: center; }
@media (min-width: 900px) { .loop-grid { grid-template-columns: 1.35fr 1fr; gap: 48px; } }
.film-light { box-shadow: 0 24px 60px rgba(45,36,24,.18); border: 1px solid var(--line); background: #F5F0E8; }
.loop-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; counter-reset: loop; }
.loop-steps li { counter-increment: loop; display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 16px 18px;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-l); }
.loop-steps li::before { content: counter(loop); grid-row: 1 / span 2; align-self: center; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--accent); color: var(--on-accent); font: 500 1.25rem/1 var(--display); }
.loop-steps b { font: 500 1.35rem/1.2 var(--display); }
.loop-steps span { color: var(--muted); font-size: 15.5px; }
.quote-block h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
.qcard { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: 20px; align-items: center; max-width: 520px;
  padding: 18px; border-radius: var(--radius-l); background: #B0402F; color: #fff; box-shadow: 0 18px 40px rgba(45,36,24,.2); }
.qcard svg { width: 112px; height: 112px; border-radius: 14px; }
.qcard figcaption { display: grid; gap: 8px; }
.qcard b { font: 600 1.4rem/1.2 var(--text); }
.qcard span { font-size: 15px; }
.qcard-note, .quote-also { color: var(--muted); font-size: 15px; margin: 0; }
.quote-block blockquote { font-size: clamp(1.2rem, 2.2vw, 1.6rem); }

/* v4 polish, 25 November 2026: one look with the two films. Warm paper with a fine grain, a faint gold ring
   (Zakira's medallion), and the one emphasised phrase of a heading in italic accent, as the films' captions do. */
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .55 0 0 0 0 .47 0 0 0 0 .36 0 0 0 .22 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E"); }
:root[data-theme="dark"] body::before { opacity: .0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { opacity: 0; } }
.section h2 em { font-style: italic; font-weight: 400; color: var(--accent); }
.loop, .inside { position: relative; }
.loop::before { content: ""; position: absolute; right: -420px; top: -260px; width: 1100px; height: 1100px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle closest-side, transparent 0 82.8%, color-mix(in srgb, var(--gold) 30%, transparent) 83%, color-mix(in srgb, var(--gold) 6%, transparent) 83.4% 99.4%, color-mix(in srgb, var(--gold) 28%, transparent) 99.7%, transparent 100%); }
.loop { overflow: hidden; }
.loop .wrap { position: relative; }
.film-light { box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 45%, transparent), 0 30px 70px rgba(45,36,24,.2); border: 0; }
.hero .film { box-shadow: 0 0 0 2px rgba(201,162,39,.4), 0 40px 90px rgba(0,0,0,.55); border: 0; }
.loop-steps li { transition: border-color .2s ease, transform .2s ease; }
.loop-steps li:hover { border-color: var(--accent); transform: translateX(4px); }
.loop-steps::after { content: "…and round again."; font: italic 400 1.1rem/1.3 var(--display); color: var(--accent); padding-left: 76px; }
.qcard { grid-template-columns: 124px 1fr; padding: 16px 20px 16px 16px; max-width: 600px; }
.qcard svg { width: 124px; height: 124px; border: 5px solid #fff; border-radius: 12px; background: #f5ead8; }
.qcard b { font: 500 1.55rem/1.15 var(--display); letter-spacing: -0.005em; }
.qcard span { font-size: 15px; font-weight: 600; letter-spacing: .02em; }
.step img { box-shadow: 0 14px 34px rgba(45,36,24,.12); }
@media (prefers-reduced-motion: reduce) { .loop-steps li { transition: none; } .loop-steps li:hover { transform: none; } }
.qcard { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-inline-start: 10px solid var(--accent); box-shadow: 0 18px 40px rgba(45,36,24,.14); }
.qcard svg { border: 0; }
.qcard span { color: var(--accent); }
.hero h1 em { display: block; }
@media (max-width: 560px) { .qcard { grid-template-columns: 88px 1fr; gap: 14px; } .qcard svg { width: 88px; height: 88px; } .qcard b { font-size: 1.25rem; } }

/* v5, 26 November 2026: the app's own screens in "Caught. Kept. Grown.", the real quote card, a calmer hero title. */
.hero h1 { max-width: none; font-size: clamp(2.5rem, 4.4vw, 3.9rem); line-height: 1.04; text-wrap: balance; }
@media (min-width: 960px) { .hero .wrap { grid-template-columns: minmax(0, 6fr) minmax(0, 7fr); } }
.step-shot { position: relative; aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius-l); border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, #FBF6EC 0%, #EFE6D6 100%); box-shadow: 0 14px 34px rgba(45,36,24,.12); }
.step-shot::after { content: ""; position: absolute; inset: auto 0 0 0; height: 34%; pointer-events: none;
  background: linear-gradient(to bottom, rgba(239,230,214,0), rgba(239,230,214,.96)); }
.step .step-shot img { position: absolute; left: 50%; top: -48%; width: 56%; height: auto; aspect-ratio: auto; object-fit: contain; transform: translateX(-50%);
  border-radius: 22px; border: 5px solid #2D2418; box-shadow: 0 18px 40px rgba(45,36,24,.28); }
.step .step-shot-top img { top: 9%; }
.qshot { margin: 0; max-width: 340px; }
.qshot img { display: block; width: 100%; height: auto; border-radius: 22px; box-shadow: 0 0 0 2px color-mix(in srgb, var(--gold) 45%, transparent), 0 24px 54px rgba(45,36,24,.22); }


/* 2 December 2026: say the category first. "voice notes" beside the logo, and a line above the home headline.
   Gold stays a fill, never text; the line uses the rose the end card uses on the dark stage. */
.brand-tag { font: 500 0.8rem/1 var(--text); color: var(--muted); margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line); letter-spacing: 0.01em; }
.hero .eyebrow { margin: 0 0 -10px; font: 600 0.82rem/1.3 var(--text); letter-spacing: 0.09em; text-transform: uppercase; color: #D98AA0; }


/* v6 polish, 2 December 2026.
   1. Phone navigation: every link shows. The row no longer scrolls sideways (it was cut off at "Privac");
      it spreads across the width and wraps on the narrowest screens. */
@media (max-width: 560px) {
  .nav { overflow-x: visible; flex-wrap: wrap; justify-content: space-between; gap: 0; }
  .nav a { padding: 10px 7px; }
}
/* 2. The app's own welcome line, above the passing thoughts it describes. */
.catchline { margin: 30px auto 0; max-width: none; padding-inline: 20px; text-align: center; font: italic 400 1.4rem/1.3 var(--display); color: var(--ink); }
.catchline span { display: block; margin-top: 4px; font: 400 15px/1.4 var(--text); color: var(--muted); }
.catchline + .drift-wrap { margin-top: 18px; }
/* 3. App screens beside the steps on How it works, and a pair on the brain dump page. */
.how-step { display: grid; gap: 22px; margin-top: 22px; }
.how-text { display: grid; gap: 18px; align-content: start; }
.how-text h2 { margin-top: 0; }
.how-shot { margin: 0 auto; width: 200px; }
.how-shot .shot-frame { border-radius: 28px; padding: 7px; }
.how-shot .shot-frame img { border-radius: 22px; }
.how-shot figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
@media (min-width: 720px) {
  .how-step { grid-template-columns: minmax(0, 1fr) 190px; gap: 36px; align-items: start; }
  .how-shot { width: 190px; }
}
.shot-pair { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-block: 8px; }
.shot-pair .how-shot { margin: 0; width: min(200px, 44%); }
/* 4. The page a wrong address lands on. */
.notfound { text-align: center; }
.notfound header, .notfound .prose { justify-items: center; }
/* 5. Found in the check: the phone frame needs an edge on the dark page, and footer links need room for a thumb. */
.how-shot .shot-frame { outline: 1px solid var(--line); }
.site-foot nav a { display: inline-block; padding-block: 5px; }
