@font-face { font-family: "Instrument Sans"; src: url("assets/fonts/InstrumentSans-latin-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-latin.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "JB Mono"; src: url("assets/fonts/JetBrainsMono-latin-var.woff2") format("woff2"); font-weight: 100 800; font-display: swap; }

/* dark first; the theme button flips to light */
:root {
  --bg: #0c0a14; --bg-2: #15121f; --ink: #f4f2fb; --ink-2: #c9c4dc; --muted: #8d87a3; --line: rgba(255,255,255,.08);
  --card: #13101d; --accent: #8b5cf6; --accent-2: #a78bfa; --accent-ink: #c4b5fd; --accent-soft: rgba(139,92,246,.16);
  --droid: #3ddc84;
  --glow-a: rgba(139,92,246,.45); --glow-b: rgba(91,75,234,.35);
  --shadow: 0 1px 1px rgba(0,0,0,.4), 0 10px 30px -10px rgba(0,0,0,.6), 0 50px 90px -40px rgba(20,8,60,.8);
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-io: cubic-bezier(.77, 0, .175, 1);
  color-scheme: dark;
}
[data-theme="light"] {
  --bg: #fbfaff; --bg-2: #f1eefb; --ink: #15111f; --ink-2: #3e3854; --muted: #6f6886; --line: rgba(21,17,31,.09);
  --card: #ffffff; --accent: #7c3aed; --accent-2: #8b5cf6; --accent-ink: #6d28d9; --accent-soft: rgba(124,58,237,.1);
  --droid: #16a34a;
  --glow-a: rgba(167,139,250,.45); --glow-b: rgba(196,181,253,.5);
  --shadow: 0 1px 1px rgba(21,17,31,.04), 0 10px 26px -10px rgba(40,20,90,.18), 0 50px 90px -40px rgba(60,30,140,.3);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.6 "Instrument Sans", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; transition: background-color .3s var(--ease-out), color .3s var(--ease-out); }
::selection { background: var(--accent); color: #fff; }
a { color: inherit; text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 30%, transparent); text-underline-offset: 3px; transition: color .16s var(--ease-out); }
a:hover { color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 8px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { text-wrap: balance; margin: 0; letter-spacing: -.025em; }
p { text-wrap: pretty; }
em { font-family: "Instrument Serif", Georgia, serif; font-style: italic; font-weight: 400; letter-spacing: -.01em; }
kbd { font: 600 .82em "JB Mono", monospace; padding: .15em .5em; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); border-bottom-width: 2px; }
.mono { font-family: "JB Mono", ui-monospace, monospace; letter-spacing: .04em; }
.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.center { text-align: center; }

/* header */
.top { position: sticky; top: 0; z-index: 30; background: color-mix(in srgb, var(--bg) 78%, transparent); backdrop-filter: saturate(1.6) blur(14px); -webkit-backdrop-filter: saturate(1.6) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s var(--ease-out); }
.top.scrolled { border-bottom-color: var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 650; font-size: 17px; text-decoration: none; }
.brand img { border-radius: 9px; }
.top nav { display: flex; align-items: center; gap: 4px; font-size: 14.5px; }
.top nav > a { text-decoration: none; color: var(--ink-2); padding: 7px 11px; border-radius: 9px; display: inline-flex; align-items: center; gap: 7px; transition: background-color .16s var(--ease-out), color .16s var(--ease-out); }
.top nav > a:hover { background: var(--bg-2); color: var(--ink); }
.gh svg { width: 16px; height: 16px; fill: currentColor; }
.theme { width: 36px; height: 36px; margin-left: 4px; border-radius: 10px; border: 0; background: var(--bg-2); color: var(--ink); display: grid; place-items: center; cursor: pointer; transition: transform .16s var(--ease-out); }
.theme:active { transform: scale(.94); }
.theme svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; grid-area: 1 / 1; transition: transform .3s var(--ease-out), opacity .2s var(--ease-out); }
.theme .moon { fill: currentColor; stroke: none; opacity: 0; transform: rotate(60deg) scale(.6); }
.theme .sun { opacity: 1; }
[data-theme="light"] .theme .moon { opacity: 1; transform: none; }
[data-theme="light"] .theme .sun { opacity: 0; transform: rotate(-60deg) scale(.6); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 20px; border-radius: 13px; border: 0; font: 600 15.5px "Instrument Sans", sans-serif; text-decoration: none; cursor: pointer; transition: transform .16s var(--ease-out), background-color .2s var(--ease-out), box-shadow .2s var(--ease-out), color .2s var(--ease-out); }
.btn svg { width: 18px; height: 18px; fill: currentColor; }
.btn:active { transform: scale(.97); }
.btn.primary { background: var(--accent); color: #fff; box-shadow: 0 1px 0 rgba(255,255,255,.25) inset, 0 10px 26px -8px var(--accent); }
.btn.primary:hover { background: color-mix(in srgb, var(--accent) 85%, #fff); color: #fff; }
.btn.android { background: var(--ink); color: var(--bg); }
.btn.android:hover { background: var(--droid); color: #06210f; }
.btn.ghost { background: var(--bg-2); color: var(--ink); box-shadow: 0 0 0 1px var(--line) inset; }
.btn.ghost:hover { color: var(--ink); background: color-mix(in srgb, var(--bg-2) 80%, var(--accent) 20%); }

/* hero */
.hero { position: relative; padding: clamp(56px, 10vw, 120px) 0 40px; overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto; height: 120%; pointer-events: none; background: radial-gradient(40% 50% at 30% 30%, var(--glow-a), transparent 70%), radial-gradient(35% 45% at 75% 20%, var(--glow-b), transparent 70%); filter: blur(30px); opacity: .7; z-index: 0; }
.hero-in { position: relative; z-index: 1; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 6px 12px 6px 10px; border-radius: 99px; background: var(--accent-soft); color: var(--accent-ink); font-size: 12px; }
.rec { width: 8px; height: 8px; border-radius: 50%; background: #f43f5e; box-shadow: 0 0 0 0 rgba(244,63,94,.6); animation: rec 1.6s var(--ease-out) infinite; }
@keyframes rec { 70% { box-shadow: 0 0 0 8px rgba(244,63,94,0); } 100% { box-shadow: 0 0 0 0 rgba(244,63,94,0); } }
.yap { position: relative; font-size: clamp(46px, 9.5vw, 128px); line-height: .98; font-weight: 650; min-height: 2.1em; max-width: 12ch; }
.yap .raw { display: block; font-size: .42em; line-height: 1.35; font-weight: 500; color: var(--ink-2); max-width: 24ch; letter-spacing: -.01em; }
.yap .raw .w { display: inline-block; white-space: pre; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), filter .35s var(--ease-out), max-width .45s var(--ease-io); max-width: 12ch; overflow: hidden; vertical-align: bottom; }
.yap .raw .w.filler { color: var(--accent-ink); text-decoration: line-through; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.yap .raw .w.gone { opacity: 0; transform: translateY(-6px) scale(.9); filter: blur(4px); max-width: 0; }
.yap .raw.leave { transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); opacity: 0; transform: translateY(-10px); }
.yap .clean { position: absolute; left: 0; top: 0; opacity: 0; transform: translateY(14px); filter: blur(8px); transition: opacity .6s var(--ease-out), transform .6s var(--ease-out), filter .6s var(--ease-out); }
.yap .clean em { color: var(--accent-ink); font-size: 1.08em; }
.yap.done .clean { animation: cleanIn .7s var(--ease-out) forwards; }
@keyframes cleanIn { from { opacity: 0; transform: translateY(14px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
.caret-in { display: inline-block; width: .08em; height: .9em; background: var(--accent-2); vertical-align: -.1em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.lede { font-size: clamp(17px, 2vw, 20px); color: var(--ink-2); max-width: 54ch; margin: 26px 0 30px; }
.lede b { color: var(--ink); font-weight: 600; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.fine { font-size: 13.5px; color: var(--muted); margin: 16px 0 0; }
.hero-yappy { position: absolute; right: max(16px, calc((100% - 1120px) / 2)); bottom: 30px; width: clamp(140px, 22vw, 260px); z-index: 1; filter: drop-shadow(0 20px 40px rgba(60,20,140,.45)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; margin-top: 30px; background: var(--line); border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.stat { background: var(--bg); padding: 22px 20px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 4px; }
.stat b { font-size: clamp(26px, 3.2vw, 38px); font-weight: 650; letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.stat small { font-size: 16px; color: var(--muted); font-weight: 500; }
.stat span { flex-basis: 100%; font-size: 13.5px; color: var(--muted); }

/* sections */
section.how, section.clean-sec, section.get, section.meet, section.faq { padding: clamp(80px, 11vw, 140px) 0 0; }
.kicker { font-size: 12px; color: var(--accent-ink); margin: 0 0 14px; }
h2 { font-size: clamp(34px, 5.4vw, 64px); line-height: 1.02; font-weight: 650; }
h2 em { color: var(--accent-ink); }
.sub { color: var(--ink-2); font-size: 17.5px; max-width: 60ch; margin: 18px 0 0; }

/* devices */
.devices { display: grid; grid-template-columns: 1.5fr 1fr; gap: 20px; margin-top: 44px; align-items: stretch; }
.device { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 16px; }
.device figcaption { color: var(--ink-2); font-size: 15px; padding: 0 6px 4px; }
.device figcaption b { color: var(--ink); }

.win-screen { position: relative; flex: 1; min-height: 300px; display: flex; flex-direction: column; justify-content: center; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg, #2a1f5c, #4c2a8a 50%, #1b1640); padding: 74px 22px 22px; }
[data-theme="light"] .win-screen { background: linear-gradient(135deg, #c7b8ff, #e5dbff 50%, #b9c3ff); }
.win-app { background: #1d1b24; border-radius: 10px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); overflow: hidden; color: #e9e7f2; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #16141c; font-size: 12px; }
.win-bar span { width: 10px; height: 10px; border-radius: 50%; background: #3a3744; }
.win-bar em { font: 500 12px "JB Mono", monospace; color: #8d89a0; margin-left: 8px; font-style: normal; }
.win-chat { padding: 14px 16px 18px; font-size: 14.5px; min-height: 130px; }
.msg { margin: 0 0 10px; }
.msg b { display: block; font-size: 12.5px; color: #a78bfa; }
.msg.them b { color: #7dd3fc; }
.typed { white-space: pre-wrap; }
.caret { display: inline-block; width: 2px; height: 1.05em; background: #c4b5fd; vertical-align: -.15em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.win-bubble { position: absolute; top: 16px; left: 50%; transform: translate(-50%, -140%); display: flex; align-items: center; gap: 10px; padding: 7px 14px 7px 7px; border-radius: 16px; background: rgba(20,18,28,.92); border: 1px solid rgba(255,255,255,.12); color: #fff; box-shadow: 0 12px 30px -8px rgba(0,0,0,.6); transition: transform .45s var(--ease-out), opacity .3s var(--ease-out); opacity: 0; }
.win-bubble.show { transform: translate(-50%, 0); opacity: 1; }
.wb-face { width: 38px; height: 38px; }
.wb-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 92px; }
.wb-text b { font-size: 13.5px; font-weight: 600; }
.wb-sub { font: 500 11.5px "JB Mono", monospace; color: #c4b5fd; white-space: nowrap; }
.wb-wave { display: flex; align-items: center; gap: 3px; height: 22px; }
.wb-wave i { width: 3px; height: 30%; border-radius: 3px; background: #a78bfa; transition: height .12s var(--ease-out); }
.win-key { position: absolute; bottom: 12px; right: 14px; font-size: 13px; }
.win-key kbd { background: rgba(0,0,0,.35); color: #fff; border-color: rgba(255,255,255,.15); transition: transform .12s var(--ease-out), background-color .12s; display: inline-block; }
.win-key kbd.press { transform: translateY(2px); background: var(--accent); }

.droid { align-items: center; }
.phone { position: relative; width: 250px; height: 500px; border-radius: 36px; background: #0b0a10; padding: 12px; box-shadow: 0 0 0 2px #2a2735, 0 30px 60px -20px rgba(0,0,0,.7); flex: none; overflow: hidden; }
.notch { position: absolute; top: 18px; left: 50%; width: 12px; height: 12px; border-radius: 50%; background: #000; transform: translateX(-50%); z-index: 3; }
.ph-app { height: 100%; border-radius: 26px; overflow: hidden; background: #121018; display: flex; flex-direction: column; color: #ece9f6; }
.ph-head { display: flex; align-items: center; gap: 9px; padding: 38px 14px 10px; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 14px; }
.ph-av { width: 28px; height: 28px; border-radius: 50%; background: #7dd3fc; color: #062033; display: grid; place-items: center; font-weight: 700; font-size: 13px; }
.ph-chat { flex: 1; padding: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 12.5px; }
.bub { margin: 0; padding: 8px 11px; border-radius: 14px; max-width: 85%; line-height: 1.35; }
.bub.them { background: #26232f; align-self: flex-start; border-bottom-left-radius: 4px; }
.bub.me { background: #7c3aed; align-self: flex-end; border-bottom-right-radius: 4px; opacity: 0; transform: translateY(8px) scale(.96); transform-origin: bottom right; transition: opacity .3s var(--ease-out), transform .3s var(--ease-out); }
.bub.me.show { opacity: 1; transform: none; }
.ph-input { padding: 8px 10px; }
.ph-field { display: block; padding: 8px 12px; border-radius: 99px; background: #1f1c27; color: #7e7891; font-size: 12px; transition: box-shadow .2s; }
.ph-field.focus { box-shadow: 0 0 0 1.5px #a78bfa inset; color: #ece9f6; }
.ph-kb { background: #1a1822; padding: 8px 6px 14px; transform: translateY(100%); transition: transform .4s var(--ease-out); }
.ph-kb.up { transform: none; }
.ph-chip { display: flex; align-items: center; gap: 6px; margin: 0 4px 8px; padding: 6px 10px; border-radius: 10px; background: #2b2836; font-size: 11px; color: #d8d3ea; opacity: 0; transform: translateY(4px); transition: opacity .25s var(--ease-out), transform .25s var(--ease-out), background-color .15s; white-space: nowrap; overflow: hidden; }
.ph-chip.show { opacity: 1; transform: none; }
.ph-chip.tap { background: #7c3aed; }
.ph-chip svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; flex: none; }
.chip-text { overflow: hidden; text-overflow: ellipsis; }
.ph-keys { display: flex; gap: 4px; justify-content: center; margin-bottom: 5px; }
.ph-keys i { width: 18px; height: 24px; border-radius: 4px; background: #2e2b38; }
.ph-tab { position: absolute; right: 2px; top: 150px; display: flex; align-items: center; gap: 0; padding: 4px; border-radius: 12px; background: rgba(20,18,26,.95); border: 1px solid rgba(255,255,255,.16); box-shadow: 0 10px 24px -6px rgba(0,0,0,.6); color: #fff; z-index: 4; transition: right .4s var(--ease-out); max-width: 226px; }
.pt-face { width: 34px; height: 34px; flex: none; }
.pt-info, .pt-btn { display: none; }
.ph-tab.open { right: 18px; gap: 6px; padding-right: 6px; }
.ph-tab.open .pt-info { display: flex; flex-direction: column; line-height: 1.15; padding: 0 6px 0 4px; min-width: 80px; }
.pt-info b { font-size: 12.5px; font-weight: 600; }
.pt-info span { font: 500 10.5px "JB Mono", monospace; color: #c4b5fd; }
.ph-tab.open.listening .pt-btn { display: grid; }
.pt-btn { width: 26px; height: 26px; border-radius: 50%; place-items: center; font-size: 12px; background: rgba(255,255,255,.14); }
.pt-btn.ok { background: #8b5cf6; transition: transform .12s var(--ease-out); }
.pt-btn.ok.press { transform: scale(.85); }
.ph-toast { position: absolute; bottom: 160px; left: 50%; transform: translate(-50%, 8px); padding: 6px 12px; border-radius: 99px; background: #e9e6f5; color: #15111f; font-size: 11.5px; font-weight: 600; opacity: 0; transition: opacity .25s var(--ease-out), transform .25s var(--ease-out); z-index: 5; }
.ph-toast.show { opacity: 1; transform: translate(-50%, 0); }
.touch { position: absolute; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.35); border: 2px solid rgba(255,255,255,.8); pointer-events: none; z-index: 6; transform: translate(-50%, -50%) scale(.4); opacity: 0; }
.touch.go { animation: touch .5s var(--ease-out); }
@keyframes touch { 30% { opacity: 1; transform: translate(-50%, -50%) scale(1); } 100% { opacity: 0; transform: translate(-50%, -50%) scale(1.3); } }

/* cleanup playground */
.play { margin-top: 40px; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.play-tabs { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--bg-2); margin-bottom: 16px; }
.play-tabs button, .styles button { border: 0; background: transparent; color: var(--ink-2); font: 600 14px "Instrument Sans", sans-serif; padding: 8px 14px; border-radius: 9px; cursor: pointer; transition: background-color .2s var(--ease-out), color .2s var(--ease-out), transform .16s var(--ease-out); }
.play-tabs button:active, .styles button:active { transform: scale(.96); }
.play-tabs button[aria-selected="true"] { background: var(--card); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.play-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 14px; }
.pane { border-radius: 16px; padding: 20px; min-height: 260px; }
.pane .label { font-size: 11.5px; color: var(--muted); margin: 0 0 12px; }
.said { background: var(--bg-2); }
.said-text { margin: 0; font-size: 16px; color: var(--ink-2); line-height: 1.65; }
.said-text .f { color: var(--accent-ink); text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--accent) 70%, transparent); }
.got { background: linear-gradient(160deg, var(--accent-soft), transparent 60%); border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent); }
.styles { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 16px; }
.styles button { background: var(--bg-2); }
.styles button.on { background: var(--accent); color: #fff; }
.got-text { margin: 0; font-size: 17px; line-height: 1.6; white-space: pre-line; color: var(--ink); transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); }
.got-text.swap { opacity: 0; transform: translateY(6px); }
.got-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }

/* download cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 12px; box-shadow: var(--shadow); transition: transform .3s var(--ease-out), border-color .3s var(--ease-out); }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--accent) 40%, transparent); }
.card-top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--muted); }
.pill { font: 600 11px "JB Mono", monospace; padding: 4px 9px; border-radius: 99px; background: var(--bg-2); color: var(--ink-2); }
.pill.new { background: color-mix(in srgb, var(--droid) 18%, transparent); color: var(--droid); }
.pill.broke { background: rgba(244,63,94,.14); color: #fb7185; }
.card > img { border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
.card h3 { font-size: 22px; font-weight: 650; }
.card p { margin: 0; color: var(--ink-2); font-size: 15px; }
.card-ctas { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 6px; }
.card-ctas .btn { height: 42px; font-size: 14.5px; padding: 0 16px; }
.mini-phone { aspect-ratio: 16 / 10; border-radius: 12px; background: radial-gradient(60% 80% at 70% 30%, rgba(139,92,246,.35), transparent), linear-gradient(160deg, #1b1630, #0f0c18); border: 1px solid var(--line); position: relative; overflow: hidden; }
.mp-tab { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); display: flex; align-items: center; gap: 8px; padding: 5px 8px 5px 5px; border-radius: 14px; background: rgba(20,18,26,.95); border: 1px solid rgba(255,255,255,.14); color: #fff; font-size: 13px; }
.mp-tab img { width: 40px; height: 40px; }
.mp-tab span { font: 500 11px "JB Mono", monospace; color: #c4b5fd; }
.mp-tab i { font-style: normal; width: 28px; height: 28px; border-radius: 50%; background: #8b5cf6; display: grid; place-items: center; margin-left: 6px; }
.mac-fund { aspect-ratio: 16 / 10; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--ink) 25%, transparent); display: flex; flex-direction: column; justify-content: center; padding: 22px; gap: 10px; }
.mac-fund .label { font-size: 11px; color: var(--muted); margin: 0; }
.bar { height: 10px; border-radius: 99px; background: var(--bg-2); overflow: hidden; }
.bar span { display: block; height: 100%; width: .6%; background: #fb7185; border-radius: 99px; }
.fund-num { margin: 0; font-size: 26px; font-weight: 700; letter-spacing: -.02em; }
.fund-num span { font-size: 14px; color: var(--muted); font-weight: 500; }
.c-mac h3, .c-mac > p { opacity: .85; }
.mac-btn { text-decoration: line-through; text-decoration-color: #fb7185; text-decoration-thickness: 2px; }
.mac-btn.shake { animation: shake .4s var(--ease-out); }
@keyframes shake { 20% { transform: translateX(-6px) rotate(-1deg); } 40% { transform: translateX(6px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.mac-msg { margin: 0; font-size: 12px; color: #fb7185; min-height: 1.4em; }

/* moods */
.moods { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-top: 40px; }
.moods figure { margin: 0; background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 14px 10px 12px; text-align: center; transition: transform .3s var(--ease-out); }
.moods figure:hover { transform: translateY(-6px) rotate(-1.5deg); }
.moods img { width: 100%; max-width: 150px; margin: 0 auto; filter: drop-shadow(0 10px 18px rgba(60,20,140,.35)); }
.moods figcaption { font-family: "Instrument Serif", serif; font-style: italic; font-size: 19px; color: var(--ink-2); margin-top: 4px; }

/* faq */
.qs { margin-top: 32px; border-top: 1px solid var(--line); max-width: 820px; }
details { border-bottom: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; padding: 20px 4px; font-size: 19px; font-weight: 600; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 24px/1 "JB Mono", monospace; color: var(--accent-ink); transition: transform .25s var(--ease-out); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 4px 22px; color: var(--ink-2); font-size: 16.5px; max-width: 64ch; }

/* end */
.end { position: relative; overflow: hidden; margin-top: clamp(90px, 12vw, 150px); padding: 90px 0; border-top: 1px solid var(--line); }
.end .glow { inset: 0; height: 100%; opacity: .55; }
.end-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; }
.end h2 { font-size: clamp(40px, 7vw, 92px); }

.foot { border-top: 1px solid var(--line); padding: 26px 0 40px; font-size: 14px; color: var(--muted); }
.foot-in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; }
.foot p { margin: 0; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(4), .stat:nth-child(5) { grid-column: span 1; }
  .devices { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .moods { grid-template-columns: repeat(3, 1fr); }
  .play-grid { grid-template-columns: 1fr; }
  .pane { min-height: 0; }
}
@media (max-width: 640px) {
  .hide-sm { display: none !important; }
  .hero { padding-top: 44px; padding-bottom: 150px; }
  .hero-yappy { bottom: 0; right: 10px; width: 140px; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:first-child { grid-column: span 2; }
  .ctas .btn { flex: 1 1 100%; }
  .win-screen { padding: 70px 12px 40px; min-height: 300px; }
  .wb-wave { display: none; }
  .moods { grid-template-columns: repeat(2, 1fr); }
  .moods figure:last-child { grid-column: span 2; }
  .end { padding: 70px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .yap.done .clean { opacity: 1; transform: none; filter: none; }
}

/* calmer pass */
.moods figure { background: none; border: 0; padding: 0; }
.moods figure:hover { transform: translateY(-6px); }
.mac-empty { aspect-ratio: 16 / 10; border-radius: 12px; border: 1px dashed color-mix(in srgb, var(--ink) 22%, transparent); display: grid; place-items: center; font-size: 64px; font-weight: 650; letter-spacing: -.04em; color: var(--muted); }
.card { gap: 10px; }
.hero { padding-top: clamp(64px, 12vw, 140px); }
.said-text { font-size: 17px; }
