:root {
  --bg: #0a0a0b;
  --bg-2: #111113;
  --bg-3: #19191c;
  --line: #24242a;
  --ivory: #f3efe6;
  --text: #f3efe6;
  --muted: #8e8a82;
  --dim: #5e5b56;
  --gold: #d6bf8f;
  --ink: #141312;
  --ink-muted: #6d675e;
  --serif: "Instrument Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
[hidden] { display: none !important; }
h1, h2, h3, p { margin: 0; font-weight: 400; }
h2 { font: 400 clamp(36px, 4.4vw, 60px)/1.05 var(--serif); letter-spacing: -0.01em; }
h2 em { font-style: italic; color: var(--gold); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
::selection { background: var(--gold); color: var(--ink); }

.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 32px; }
.wrap.narrow { max-width: 780px; }
.label { font: 500 12px/1 var(--sans); letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.muted { color: var(--muted); }
kbd {
  display: inline-grid; place-items: center; min-width: 1.9em; height: 1.75em; padding: 0 0.45em; margin: 0 0.1em;
  border: 1px solid var(--line); border-radius: 5px; background: var(--bg-3); color: var(--text);
  font: 500 0.78em/1 var(--sans); vertical-align: 0.08em;
}

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--text); font: 500 15px var(--sans); text-decoration: none; cursor: pointer;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease);
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--ivory); color: var(--ink); border-color: var(--ivory); }
.btn.primary:hover { background: #fff; }
.btn.small { padding: 9px 18px; font-size: 14px; }
.btn:disabled { opacity: 0.6; cursor: default; }

/* ------------------------------------------------------------ nav */
.nav { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 80%, transparent); backdrop-filter: blur(14px) saturate(1.2); border-bottom: 1px solid color-mix(in srgb, var(--line) 60%, transparent); }
.nav-inner { display: flex; align-items: center; gap: 36px; height: 68px; }
.wordmark { font: 400 26px/1 var(--serif); color: var(--text); text-decoration: none; }
.wordmark em { color: var(--gold); }
.wordmark.small { font-size: 20px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { color: var(--muted); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: 96px 0 120px; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -20% 0 auto; height: 70%; background: radial-gradient(closest-side, #d6bf8f12, transparent); pointer-events: none; }
.hero-head { text-align: center; }
.eyebrow { font: 500 12px/1 var(--sans); letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.eyebrow span { margin: 0 8px; color: var(--dim); }
.headline { margin-top: 30px; display: grid; justify-items: center; font: 400 clamp(44px, 7vw, 100px)/1.02 var(--serif); letter-spacing: -0.015em; }
.headline .row { display: flex; justify-content: center; align-items: baseline; gap: 0.25em; white-space: nowrap; }
.headline .every { color: var(--muted); }
/* A fixed-width slot (set from the longest phrase) so "Every" never moves while typing. */
.phrase { display: inline-flex; align-items: baseline; min-height: 1.05em; white-space: nowrap; text-align: left; }
.caret { display: inline-block; width: 0.06em; height: 0.82em; margin-left: 0.04em; background: var(--gold); transform: translateY(0.1em); animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.headline .sign { margin-top: 10px; font-style: italic; color: var(--gold); }

/* the film frame: a 960x600 desktop scaled to fit */
.frame { position: relative; margin-top: 64px; width: 100%; aspect-ratio: 16 / 10; border-radius: 22px; padding: 0; background: #000; box-shadow: 0 0 0 1px var(--line), 0 60px 120px -40px #000, 0 0 120px -40px #d6bf8f30; overflow: hidden; }
.screen { position: absolute; left: 0; top: 0; width: 960px; height: 600px; transform-origin: 0 0; overflow: hidden;
  background: radial-gradient(120% 90% at 20% 0%, #2a2620 0%, #151413 45%, #0c0c0d 100%); font-family: var(--sans); color: var(--ink); }
.os-bar { position: absolute; inset: 0 0 auto; height: 28px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; font: 500 12px var(--sans); color: #d9d3c6; background: #00000055; backdrop-filter: blur(8px); z-index: 5; }
.os-app { font: 400 15px var(--serif); }
.os-app em { color: var(--gold); }
.os-right { display: inline-flex; align-items: center; gap: 8px; }
.os-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

.scene { position: absolute; inset: 28px 0 0; opacity: 0; transition: opacity 0.5s var(--ease); pointer-events: none; }
.scene.on { opacity: 1; }

.win { position: absolute; background: #fbf9f4; border-radius: 12px; box-shadow: 0 30px 60px -20px #000c, 0 0 0 1px #00000014; overflow: hidden; }
.win-bar { height: 34px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #efebe2; border-bottom: 1px solid #e2ddd1; font-size: 12px; color: #7a746a; }
.win-bar i { width: 11px; height: 11px; border-radius: 50%; background: #d8d2c5; }
.win-bar i:first-child { background: #e7766a; } .win-bar i:nth-child(2) { background: #e9c25c; } .win-bar i:nth-child(3) { background: #7cc28a; }
.win-bar span { margin-left: 10px; }

/* mail */
.mail { left: 150px; top: 40px; width: 660px; height: 440px; }
.mail-in { padding: 30px 40px; }
.mail-subject { font: 400 30px var(--serif); color: var(--ink); }
.mail-from { display: flex; align-items: center; gap: 10px; margin: 14px 0 22px; font-size: 14px; font-weight: 600; }
.mail-from small { font-weight: 400; color: #8b8478; }
.av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #6c63ff; color: #fff; font-size: 11px; }
.mail-body { font-size: 20px; line-height: 1.7; color: #2b2925; }
.mail-body .w { border-radius: 3px; transition: background 0.1s, color 0.2s; }
.mail-body .w.sel { background: #b9d4ff; }
.mail-body .w.done { color: #2b2925; }
.mail-body.reading .w { color: #a8a195; }
.mail-body.reading .w.done { color: #2b2925; }
.mail-body.reading .w.now { color: #8a6d36; background: #d6bf8f40; }
.mail-sign { margin-top: 22px; color: #6d675e; font-size: 15px; }

/* clone: record a passage, the checks pass, the voice is ready */
.clone { left: 150px; top: 30px; width: 660px; height: 490px; }
.clone-in { position: absolute; inset: 34px 0 0; padding: 32px 44px 30px; display: grid; grid-template-rows: 1fr auto; gap: 20px; }
.clone-rec, .clone-check { grid-area: 1 / 1; transition: opacity 0.35s var(--ease), transform 0.4s var(--ease), visibility 0.35s; }
.clone-check { opacity: 0; visibility: hidden; transform: translateY(8px); }
.clone-in.check .clone-rec { opacity: 0; visibility: hidden; transform: translateY(-8px); }
.clone-in.check .clone-check { opacity: 1; visibility: visible; transform: none; }
.clone-label { margin-bottom: 16px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8b8478; }
.clone-passage { font: 400 27px/1.5 var(--serif); color: #b0a99c; }
.clone-passage .w { transition: color 0.2s; }
.clone-passage .w.done { color: var(--ink); }
.mic { margin-top: 28px; display: flex; align-items: center; gap: 14px; }
.rec-dot { width: 12px; height: 12px; border-radius: 50%; background: #e0503d; animation: blink 1s steps(1) infinite; }
.mic time { font: 500 13px var(--mono); color: #5b554c; }
.clone-check ul { list-style: none; padding: 0; display: grid; gap: 14px; }
.clone-check li { display: flex; align-items: center; gap: 14px; font-size: 19px; color: #2b2925; opacity: 0; transform: translateY(6px); transition: opacity 0.3s, transform 0.3s var(--ease); }
.clone-check li::before { content: "✓"; flex: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #7cc28a; color: #fff; font-size: 14px; }
.clone-check li.ok { opacity: 1; transform: none; }
.clone-check li small { margin-left: auto; font-size: 14px; color: #8b8478; }
.clone-ready { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--ink); color: var(--ivory); opacity: 0; transform: translateY(10px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.clone-ready.on { opacity: 1; transform: none; }
.clone-ready strong { display: block; font-size: 17px; }
.clone-ready small { font-size: 13px; color: #b8b1a3; }
.you-badge { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: var(--ink); font: 400 20px var(--serif); }
.clone-ready .play-btn { margin-left: auto; background: var(--ivory); color: var(--ink); }

/* book: the audiobook's chapters */
.drop-busy small { display: block; margin-top: 12px; font-size: 12px; color: #8b8478; }
.chapters { width: 100%; list-style: none; padding: 0; display: grid; gap: 4px; text-align: left; }
.chapters li { display: flex; align-items: center; gap: 12px; padding: 8px 12px; border-radius: 10px; font-size: 14px; color: #5b554c; }
.chapters li span, .chapters li time { font: 500 12px var(--mono); color: #a8a195; }
.chapters li time { margin-left: auto; }
.chapters li.now { background: #14131210; color: var(--ink); font-weight: 500; }

/* lang: one document in three languages */
.lang { left: 140px; top: 36px; width: 680px; height: 450px; }
.lang-in { position: absolute; inset: 34px 0 0; padding: 40px 46px; display: grid; gap: 26px; align-content: start; }
.lang-in p { display: flex; align-items: baseline; gap: 16px; font-size: 21px; line-height: 1.55; color: #2b2925; }
.lang-tag { flex: none; padding: 3px 8px; border-radius: 6px; background: #efebe2; font: 600 12px var(--mono); color: #8b8478; transform: translateY(-2px); transition: background 0.3s, color 0.3s; }
.lang-text .w { border-radius: 3px; transition: background 0.1s, color 0.2s; }
.lang-in.sel .lang-text { background: #b9d4ff; }
.lang-in.playing .w { color: #a8a195; }
.lang-in.playing .w.done { color: #2b2925; }
.lang-in.playing .w.now { color: #8a6d36; background: #d6bf8f40; }
.lang-in p.now .lang-tag { background: var(--gold); color: var(--ink); }

/* screen: a paused lecture video, its slide read with Ctrl Alt O */
.video { left: 120px; top: 36px; width: 720px; height: 450px; background: #111; }
.video .win-bar { background: #1c1c1e; border-color: #2a2a2d; color: #8b8780; }
.slide { position: absolute; inset: 58px 24px 62px; border-radius: 6px; padding: 46px 50px; overflow: hidden; color: #fff; background: linear-gradient(160deg, #1d3a63, #3d76b3 60%, #86bde8); }
.slide::after { content: ""; position: absolute; right: -50px; top: -50px; width: 190px; height: 190px; border-radius: 50%; background: radial-gradient(#fff7cf, #ffd86b 55%, transparent 70%); }
.slide-title { position: relative; font: 400 38px var(--serif); }
.slide-body { position: relative; max-width: 520px; margin-top: 18px; font-size: 21px; line-height: 1.6; color: #eaf3ff; }
.slide .w { border-radius: 3px; transition: background 0.1s, color 0.2s; }
.slide.reading .w { color: #ffffff80; }
.slide.reading .w.done { color: #fff; }
.slide.reading .w.now { color: #fff; background: #ffffff38; }
.video-ui { position: absolute; left: 24px; right: 24px; bottom: 20px; display: flex; align-items: center; gap: 14px; font: 12px var(--mono); color: #cfc9bd; }
.v-track { flex: 1; height: 4px; border-radius: 2px; background: #ffffff26; }
.v-track span { display: block; width: 25%; height: 100%; border-radius: 2px; background: var(--gold); }
/* The snipping overlay: the screen dims around the box being dragged. */
.snip { position: absolute; left: 0; top: 0; width: 0; height: 0; z-index: 5; border: 1.5px solid #fff; box-shadow: 0 0 0 2000px #000000a6; opacity: 0; transition: opacity 0.3s, box-shadow 0.5s; pointer-events: none; }
.snip.on { opacity: 1; }
.snip.lit { box-shadow: 0 0 0 2000px #0000; border-color: var(--gold); }
.snip .scan { position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: 0; background: linear-gradient(90deg, transparent, var(--gold), transparent); box-shadow: 0 0 18px var(--gold); }
.snip.scanning .scan { opacity: 1; animation: scan 0.8s ease-in-out 2 alternate; }
@keyframes scan { to { top: calc(100% - 3px); } }

/* script: each speaker gets a voice */
.script-app { left: 170px; top: 30px; width: 620px; height: 490px; }
.script-in { position: absolute; inset: 34px 0 0; padding: 26px 32px 24px; display: grid; grid-template-rows: 1fr auto auto; gap: 18px; }
.script p { margin: 0 -10px 6px; padding: 6px 10px; border-radius: 8px; font-size: 20px; line-height: 1.5; color: #2b2925; transition: background 0.25s, color 0.25s; animation: up 0.3s var(--ease) both; }
.script b { font-weight: 600; margin-right: 4px; }
.script [data-who="narrator"] b { color: #8a6d36; }
.script [data-who="pirate"] b { color: #b5452f; }
.script [data-who="robot"] b { color: #2f6db5; }
.script.playing p { color: #a8a195; }
.script.playing p.done { color: #2b2925; }
.script.playing p.now { color: #2b2925; background: #d6bf8f33; }
.cast { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 16px; border-top: 1px solid #e6e0d4; opacity: 0; transform: translateY(8px); transition: opacity 0.4s, transform 0.4s var(--ease); }
.cast.on { opacity: 1; transform: none; }
.cast-label { margin-right: 4px; font-size: 11px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #8b8478; }
.cast-chip { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 5px; border-radius: 999px; background: #efebe2; font-size: 13px; color: #2b2925; transition: background 0.25s, color 0.25s; }
.cast-chip i { padding: 3px 9px; border-radius: 999px; background: #fff; font-size: 12px; font-style: normal; font-weight: 600; transition: background 0.25s; }
.cast-chip.now { background: var(--ink); color: var(--ivory); }
.cast-chip.now i { background: var(--gold); color: var(--ink); }
.player { display: flex; align-items: center; gap: 16px; }
.play-btn { flex: none; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-size: 16px; }

/* chat */
.chat { left: 200px; top: 30px; width: 560px; height: 480px; display: flex; flex-direction: column; }
.chat-thread { flex: 1; padding: 22px 22px 8px; display: flex; flex-direction: column; justify-content: flex-end; gap: 12px; }
.c-msg { display: flex; gap: 10px; align-items: flex-end; animation: up 0.4s var(--ease) both; }
.c-msg .av { background: #ff7a59; }
.c-bubble { max-width: 75%; padding: 10px 14px; border-radius: 16px 16px 16px 4px; background: #ebe6db; font-size: 15px; line-height: 1.45; }
.c-bubble small { display: block; font-size: 11px; color: #8b8478; margin-bottom: 2px; }
.c-msg.me { justify-content: flex-end; }
.c-msg.me .c-bubble { background: var(--ink); color: var(--ivory); border-radius: 16px 16px 4px 16px; display: flex; align-items: center; gap: 10px; }
.chat-composer { display: flex; gap: 10px; align-items: center; padding: 12px 16px 16px; }
.composer-box { position: relative; flex: 1; min-height: 46px; padding: 12px 14px; border: 1px solid #ddd7ca; border-radius: 12px; background: #fff; font-size: 15px; line-height: 1.4; color: #2b2925; }
.composer-box .sel { background: #b9d4ff; }
.type-caret { display: inline-block; width: 1.5px; height: 1.1em; background: #2b2925; vertical-align: -0.2em; animation: blink 1s steps(1) infinite; }
.composer-box.selected .type-caret, .composer-box.voiced .type-caret { display: none; }
.ch { display: inline-block; white-space: pre; transition: transform 0.7s var(--ease), opacity 0.6s var(--ease), filter 0.6s; }
.composer-box.dissolve .ch { transform: translate(var(--dx), var(--dy)) scale(0.4) rotate(var(--r)); opacity: 0; filter: blur(3px); }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 999px; background: var(--ink); color: var(--ivory); animation: pop 0.45s cubic-bezier(.2,.9,.3,1.4) both; }
.chip .p { width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); display: grid; place-items: center; font-size: 10px; }
.chip time, .c-bubble time { font: 500 11px var(--mono); color: #b8b1a3; }
.send { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--ivory); font-size: 16px; }

/* pdf */
.desk-file { position: absolute; left: 70px; top: 150px; width: 110px; display: grid; justify-items: center; gap: 6px; font-size: 12px; color: #e9e3d6; text-align: center; z-index: 3; transition: transform 1.1s var(--ease), opacity 0.4s; }
.desk-file svg { filter: drop-shadow(0 8px 14px #0008); transition: transform 0.25s var(--ease); }
.desk-file.lifted svg { transform: scale(1.1) rotate(-4deg); }
.desk-file.gone { opacity: 0; }
.app { left: 400px; top: 50px; width: 500px; height: 440px; }
.drop { position: absolute; inset: 54px 24px 24px; border: 2px dashed #d3ccbd; border-radius: 14px; display: grid; place-items: center; text-align: center; transition: border-color 0.3s, background 0.3s; }
.drop.hover { border-color: var(--gold); background: #d6bf8f1f; }
.drop > div { grid-area: 1 / 1; transition: opacity 0.25s var(--ease), transform 0.35s var(--ease), visibility 0.25s; }
.drop-idle p { font: 400 24px var(--serif); color: var(--ink); margin-top: 8px; }
.drop-idle small { color: #8b8478; }
.drop-icon { font-size: 34px; color: #b5ab97; }
.drop-busy, .drop-done { opacity: 0; transform: translateY(8px); }
.drop.busy .drop-idle, .drop.done .drop-idle, .drop.done .drop-busy { opacity: 0; visibility: hidden; transform: translateY(-8px); }
.drop.busy .drop-busy, .drop.done .drop-done { opacity: 1; transform: none; }
.drop.done { border-style: solid; border-color: #e6e0d4; }
.drop-busy p { font-size: 15px; color: #5b554c; }
.bar { width: 300px; height: 6px; margin: 14px auto 0; border-radius: 3px; background: #e6e0d4; overflow: hidden; }
.bar span { display: block; height: 100%; width: 0; background: var(--ink); border-radius: 3px; }
.drop-done { width: 100%; padding: 0 28px; display: grid; gap: 18px; justify-items: center; }
.mp3 { display: flex; align-items: center; gap: 14px; text-align: left; }
.mp3 strong { display: block; font-size: 17px; }
.mp3 small { color: #8b8478; }
.mp3-icon { width: 52px; height: 52px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: var(--gold); font-size: 24px; animation: pop 0.5s cubic-bezier(.2,.9,.3,1.4) both; }
.pdf-line { font: 400 18px/1.5 var(--serif); color: #5b554c; }

/* terminal */
.term { left: 110px; top: 40px; width: 740px; height: 440px; background: #121212; }
.term .win-bar { background: #1c1c1e; border-color: #2a2a2d; color: #8b8780; }
.term-body { padding: 20px 24px; font: 14px/1.9 var(--mono); color: #d8d3c8; }
.term-body p { white-space: pre-wrap; animation: up 0.3s var(--ease) both; }
.t-prompt { color: var(--gold); margin-right: 10px; }
.t-dim { color: #77736b; }
.t-ok { color: #9fd8b8; }
.notif { position: absolute; right: 22px; top: 18px; width: 290px; display: flex; gap: 12px; align-items: center; padding: 14px 16px; border-radius: 14px; background: #f3efe6ee; backdrop-filter: blur(10px); box-shadow: 0 20px 40px -10px #000a; transform: translateX(340px); transition: transform 0.6s var(--ease); z-index: 4; }
.notif.on { transform: none; }
.notif strong { display: block; font-size: 14px; }
.notif small { color: #6d675e; }
.n-icon { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #d97757; color: #fff; font-size: 18px; }

/* overlays */
.keys-overlay { position: absolute; left: 50%; bottom: 34px; display: flex; gap: 10px; transform: translate(-50%, 30px); opacity: 0; transition: opacity 0.3s, transform 0.4s var(--ease); z-index: 6; }
.keys-overlay.on { opacity: 1; transform: translate(-50%, 0); }
.keys-overlay kbd { min-width: 64px; height: 56px; font-size: 18px; border-radius: 12px; border: 1px solid #3a3833; border-bottom-width: 5px; background: linear-gradient(#2b2925, #1b1a18); color: var(--ivory); transition: transform 0.08s, border-bottom-width 0.08s, background 0.2s, color 0.2s; }
.keys-overlay kbd.down { transform: translateY(4px); border-bottom-width: 1px; background: var(--gold); color: var(--ink); border-color: var(--gold); }
.toast { position: absolute; left: 50%; top: 44px; display: flex; align-items: center; gap: 12px; padding: 12px 20px 12px 16px; border-radius: 999px; background: #0d0d0ee6; color: var(--ivory); font-size: 14px; box-shadow: 0 0 0 1px #ffffff14, 0 20px 40px -10px #000; transform: translate(-50%, -14px); opacity: 0; transition: opacity 0.35s, transform 0.45s var(--ease); z-index: 6; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
.eq { display: inline-flex; align-items: center; gap: 3px; height: 18px; }
.eq i { width: 3px; height: 4px; border-radius: 2px; background: var(--gold); animation: eq 0.9s ease-in-out infinite; }
.eq i:nth-child(2) { animation-delay: -0.3s; } .eq i:nth-child(3) { animation-delay: -0.6s; } .eq i:nth-child(4) { animation-delay: -0.15s; } .eq i:nth-child(5) { animation-delay: -0.45s; }
@keyframes eq { 0%, 100% { height: 4px; } 50% { height: 18px; } }
.cursor { position: absolute; left: 0; top: 0; z-index: 10; transform: translate(760px, 470px); transition: transform 0.8s var(--ease); filter: drop-shadow(0 3px 4px #0008); }
.cursor.press path { transform: scale(0.85); transform-origin: 4px 3px; }
.ripple { position: absolute; z-index: 9; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--gold); animation: ripple 0.6s ease-out forwards; pointer-events: none; }
@keyframes ripple { from { transform: scale(0.3); opacity: 1; } to { transform: scale(1.6); opacity: 0; } }

.bars { display: inline-flex; align-items: center; gap: 2px; height: 24px; }
.bars i { width: 2px; border-radius: 2px; background: #ffffff40; transition: background 0.1s; }
.bars i.on { background: var(--gold); }
.bars.big { height: 46px; gap: 3px; }
.bars.big i { width: 3px; background: #14131226; }
.bars.big i.on { background: var(--ink); }

@keyframes up { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }

/* sound + story tabs */
.sound { position: absolute; right: 16px; bottom: 16px; z-index: 12; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px 9px 12px; border-radius: 999px; border: 1px solid #ffffff22; background: #000000a6; backdrop-filter: blur(8px); color: var(--ivory); font: 500 13px var(--sans); cursor: pointer; transition: background 0.3s; }
.sound:hover { background: #000000d0; }
.sound[aria-pressed="true"] { border-color: var(--gold); }
.sound:not([aria-pressed="true"]) { animation: nudge 2.4s ease-in-out 3s infinite; }
@keyframes nudge { 0%, 85%, 100% { transform: none; } 90% { transform: translateY(-3px); } 95% { transform: translateY(1px); } }
.story { margin-top: 22px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 14px; }
.story-tab { position: relative; padding: 16px 0 0; border: 0; background: none; color: var(--dim); text-align: left; font: inherit; cursor: pointer; display: grid; gap: 2px; }
.story-tab::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2px; background: var(--line); border-radius: 2px; }
.story-tab .fill { position: absolute; left: 0; top: 0; height: 2px; width: 0; background: var(--gold); border-radius: 2px; }
.story-tab .t { font-size: 15px; font-weight: 500; transition: color 0.3s; }
.story-tab .k { font-size: 12px; letter-spacing: 0.04em; }
.story-tab[aria-selected="true"] .t { color: var(--text); }
.story-tab[aria-selected="true"] .k { color: var(--muted); }
.story-tab:hover .t { color: var(--text); }
.film-note { margin-top: 18px; font-size: 13px; color: var(--dim); text-align: center; }
.hero-cta { margin-top: 44px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px; }

/* ------------------------------------------------------------ sections */
.section { padding: 140px 0; border-top: 1px solid var(--line); }

.index { margin-top: 48px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.index article { padding: 36px 28px 36px 0; display: grid; gap: 12px; align-content: start; }
.index article + article { padding-left: 28px; border-left: 1px solid var(--line); }
/* Two rows of four: each row starts flush left, with a line between the rows. */
.index article:nth-child(4n + 1) { padding-left: 0; border-left: 0; }
.index article:nth-child(n + 5) { border-top: 1px solid var(--line); }
.i-num { font: 500 13px var(--mono); color: var(--gold); }
.index h3 { font: 400 28px/1.15 var(--serif); }
.index p { color: var(--muted); font-size: 15px; }

/* voice dial */
.dial-section { padding-bottom: 120px; }
.dial-head { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: end; }
.dial { margin-top: 56px; display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(32px, calc((100vw - 1200px) / 2 + 32px)) 28px; scrollbar-width: none; cursor: grab; }
.dial::-webkit-scrollbar { display: none; }
.dial.dragging { cursor: grabbing; scroll-snap-type: none; }
.dial-card {
  flex: none; width: 260px; height: 320px; scroll-snap-align: center; position: relative;
  display: grid; align-content: end; gap: 8px; padding: 26px; text-align: left;
  border: 1px solid var(--line); border-radius: 22px; background: linear-gradient(160deg, var(--bg-3), var(--bg-2));
  color: var(--text); font: inherit; cursor: pointer; transition: transform 0.4s var(--ease), border-color 0.3s;
}
.dial-card:hover { transform: translateY(-6px); border-color: #3a3833; }
.dial-card.you { background: linear-gradient(160deg, #2a2418, #15130f); border-color: #d6bf8f55; cursor: default; }
.d-kind { position: absolute; top: 24px; left: 26px; font: 500 11px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.dial-card.you .d-kind { color: var(--gold); }
.d-name { font: 400 38px/1 var(--serif); }
.dial-card.you .d-name { font-style: italic; color: var(--gold); }
.d-desc { color: var(--muted); font-size: 14px; }
.d-play { position: absolute; top: 18px; right: 18px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); font-size: 11px; color: var(--muted); transition: all 0.3s var(--ease); }
.dial-card:hover .d-play { border-color: var(--gold); color: var(--gold); }
.dial-card.playing { border-color: var(--gold); }
.dial-card.playing .d-play { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.dial-card.playing .d-name { font-style: italic; color: var(--gold); }

/* privacy */
.statement { background: var(--ivory); color: var(--ink); padding: 140px 0; }
.label.dark { color: var(--ink-muted); }
.big-quote { margin-top: 26px; font: 400 clamp(40px, 5.4vw, 76px)/1.05 var(--serif); letter-spacing: -0.01em; }
.big-quote em { font-style: italic; color: #8a6d36; }
.facts { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.facts p { color: var(--ink-muted); border-top: 1px solid #14131226; padding-top: 20px; }
.facts strong { color: var(--ink); font-weight: 600; }

/* offer */
.offer { display: grid; grid-template-columns: 1.1fr 1fr; gap: 90px; align-items: end; padding: 64px; border: 1px solid var(--line); border-radius: 28px; background: linear-gradient(160deg, #16150f, var(--bg) 60%); }
.offer h2 { margin-top: 22px; }
.price { margin-top: 44px; display: flex; align-items: flex-end; gap: 22px; color: var(--muted); }
.price .amount { font: 400 96px/0.85 var(--serif); color: var(--text); }
.fine { font-size: 13px; color: var(--dim); }
.fine a { color: var(--muted); }
.buy { display: grid; gap: 14px; justify-items: start; }
.buy .btn { min-width: 280px; justify-content: center; }
/* download: only the visitor's system (html[data-os], set in index.html), and a link to the other */
.also { display: none; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.also:hover { color: var(--text); }
html[data-os="windows"] .btn[data-os="mac"], html[data-os="mac"] .btn[data-os="windows"] { display: none; }
html[data-os="windows"] .also[data-os="mac"], html[data-os="mac"] .also[data-os="windows"] { display: inline; }
.faq details a { color: var(--gold); }

/* faq */
.faq .label { margin-bottom: 36px; }
details { border-top: 1px solid var(--line); padding: 24px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; font: 400 26px/1.2 var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-family: var(--sans); font-weight: 300; color: var(--muted); transition: transform 0.3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 14px; color: var(--muted); max-width: 640px; }

.footer { padding: 40px 0 56px; border-top: 1px solid var(--line); color: var(--dim); font-size: 13px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; }

/* ------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .index { grid-template-columns: 1fr 1fr; }
  .index article:nth-child(odd) { padding-left: 0; border-left: 0; }
  .index article:nth-child(even) { padding-left: 28px; border-left: 1px solid var(--line); }
  .index article:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .dial-head, .offer { grid-template-columns: 1fr; gap: 32px; }
  .offer { padding: 40px; }
  .facts { grid-template-columns: 1fr; gap: 24px; }
  .story { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-inner { justify-content: space-between; }
  .hero { padding: 64px 0 88px; }
  .headline { font-size: clamp(34px, 10vw, 48px); }
  .headline .row { flex-direction: column; align-items: center; gap: 0; }
  .phrase { justify-content: center; }
  .frame { border-radius: 14px; margin-top: 40px; }
  .sound { right: 8px; bottom: 8px; padding: 6px 12px 6px 9px; font-size: 12px; }
  .section, .statement { padding: 96px 0; }
  .index { grid-template-columns: 1fr; }
  .index article, .index article + article, .index article:nth-child(n) { padding: 28px 0; border-left: 0; border-top: 0; border-bottom: 1px solid var(--line); }
  .offer { padding: 28px 20px; }
  .buy .btn { min-width: 0; width: 100%; }
  .price .amount { font-size: 72px; }
  .dial-card { width: 220px; height: 280px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .caret, .type-caret, .sound { animation: none !important; }
}
