/* GetFunding landing — tokens mirror apps/getfunding/src/lib/theme.ts. */

:root {
  --bg: #F6F5FB;
  --bg-2: #EEECF8;
  --card: #FFFFFF;
  --card-2: #F9F8FD;
  --ink: #10122A;
  --text: #2A2D45;
  --muted: #6B6F88;
  --faint: #A3A6BD;
  --line: rgba(16, 18, 42, .08);
  --line-2: rgba(16, 18, 42, .14);
  --primary: #5B34F2;
  --primary-deep: #3E1FCB;
  --primary-soft: #ECE7FF;
  --accent: #10B981;
  --accent-soft: #DDF7EC;
  --gold: #F5A524;
  --gold-soft: #FFF1D6;
  --danger: #E5484D;
  --info: #2F80ED;
  --shadow: 0 1px 2px rgba(59, 42, 138, .05), 0 14px 34px -10px rgba(59, 42, 138, .18);
  --shadow-lg: 0 2px 6px rgba(59, 42, 138, .06), 0 40px 80px -24px rgba(59, 42, 138, .34);
  --blob-a: rgba(91, 52, 242, .28);
  --blob-b: rgba(16, 185, 129, .22);
  --blob-c: rgba(245, 165, 36, .20);
  --phone: #0E0F22;
  --grad: linear-gradient(135deg, #5B34F2 0%, #8B5CF6 55%, #10B981 100%);
  --grad-hero: linear-gradient(135deg, #1B1449 0%, #3E1FCB 55%, #5B34F2 100%);
  --r: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B0B17; --bg-2: #12122A; --card: #16172B; --card-2: #1C1D35; --ink: #F3F2FB; --text: #D6D6E6;
    --muted: #9A9CB7; --faint: #5E6080; --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.13);
    --primary: #8465FF; --primary-deep: #6A45FF; --primary-soft: #241D52; --accent: #34D399; --accent-soft: #0F3328;
    --gold: #FBBF4A; --gold-soft: #3A2C0E; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 36px -10px rgba(0,0,0,.6);
    --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 40px 80px -24px rgba(0,0,0,.8); --blob-a: rgba(132,101,255,.24);
    --blob-b: rgba(52,211,153,.16); --blob-c: rgba(251,191,74,.12); --phone: #05050C; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0B0B17; --bg-2: #12122A; --card: #16172B; --card-2: #1C1D35; --ink: #F3F2FB; --text: #D6D6E6;
  --muted: #9A9CB7; --faint: #5E6080; --line: rgba(255,255,255,.07); --line-2: rgba(255,255,255,.13);
  --primary: #8465FF; --primary-deep: #6A45FF; --primary-soft: #241D52; --accent: #34D399; --accent-soft: #0F3328;
  --gold: #FBBF4A; --gold-soft: #3A2C0E; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 16px 36px -10px rgba(0,0,0,.6);
  --shadow-lg: 0 2px 6px rgba(0,0,0,.4), 0 40px 80px -24px rgba(0,0,0,.8); --blob-a: rgba(132,101,255,.24);
  --blob-b: rgba(52,211,153,.16); --blob-c: rgba(251,191,74,.12); --phone: #05050C; color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden;
  font: 400 16px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased; transition: background .3s var(--ease), color .3s var(--ease);
}
h1, h2, h3, h4 { font-family: "Sora", "Inter", sans-serif; color: var(--ink); margin: 0; letter-spacing: -.02em; line-height: 1.15; }
p { margin: 0; }
a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 14px; border-radius: 10px; z-index: 99; }
.skip:focus { left: 16px; }
.wrap { width: min(var(--wrap), calc(100% - 32px)); margin: 0 auto; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 600 12px/1 "Inter"; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--primary-soft); padding: 8px 12px; border-radius: 999px; }
.lead { font-size: clamp(17px, 2vw, 19px); color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }
.icon { width: 20px; height: 20px; flex: none; }

/* ------------------------------------------------------------ buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 52px; padding: 0 22px; border-radius: 14px; border: 0; font: 600 16px/1 "Inter"; color: #fff; background: var(--primary); box-shadow: 0 10px 24px -8px rgba(91,52,242,.6); transition: transform .25s var(--spring), box-shadow .25s var(--ease), background .2s; text-decoration: none !important; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(91,52,242,.7); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.grad { background: var(--grad); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: var(--shadow); border: 1px solid var(--line); }
.btn.small { height: 40px; padding: 0 16px; font-size: 14px; border-radius: 12px; }
.store { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px 0 16px; border-radius: 14px; background: var(--ink); color: var(--bg); text-decoration: none !important; transition: transform .25s var(--spring); }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; }
.store small { display: block; font-size: 11px; opacity: .7; line-height: 1.1; }
.store b { display: block; font: 600 17px/1.15 "Sora"; }

/* ---------------------------------------------------------------- nav */
.nav { position: sticky; top: 0; z-index: 50; transition: background .3s, box-shadow .3s, backdrop-filter .3s; }
.nav.scrolled { background: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; font: 700 19px/1 "Sora"; color: var(--ink); text-decoration: none !important; }
.brand svg { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 6px; margin-left: auto; }
.nav-links a { color: var(--muted); font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 10px; text-decoration: none; }
.nav-links a:hover { color: var(--ink); background: var(--bg-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; border-radius: 12px; border: 1px solid var(--line); background: var(--card); color: var(--ink); display: grid; place-items: center; }
.icon-btn svg { width: 18px; height: 18px; }
.menu-btn { display: none; }
[data-theme="dark"] .i-moon, :root:not([data-theme="dark"]) .i-sun { display: none; }
@media (max-width: 880px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 16px; right: 16px; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 10px; box-shadow: var(--shadow-lg); }
  .nav.open .nav-links { display: flex; }
  .nav-links a { padding: 12px 14px; }
  .menu-btn { display: grid; }
  .nav-actions .btn { display: none; }
  .nav-actions { margin-left: auto; }
}

/* --------------------------------------------------------------- hero */
.hero { position: relative; padding: 56px 0 72px; overflow: hidden; isolation: isolate; }
.blobs { position: absolute; inset: -20% -10% auto; height: 900px; pointer-events: none; z-index: -1; filter: blur(60px); }
.blobs span { position: absolute; border-radius: 50%; animation: drift 18s var(--ease) infinite alternate; }
.blobs span:nth-child(1) { width: 520px; height: 520px; background: var(--blob-a); left: 50%; top: 5%; }
.blobs span:nth-child(2) { width: 420px; height: 420px; background: var(--blob-b); left: 70%; top: 35%; animation-delay: -6s; }
.blobs span:nth-child(3) { width: 380px; height: 380px; background: var(--blob-c); left: 10%; top: 30%; animation-delay: -12s; }
@keyframes drift { to { transform: translate(-60px, 50px) scale(1.12); } }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); letter-spacing: -.035em; margin: 18px 0 18px; }
.hero .lead { margin-bottom: 28px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 22px; color: var(--muted); font-size: 14px; }
.hero-note span { display: inline-flex; align-items: center; gap: 6px; }
.hero-note svg { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } .stage { margin-top: 12px; } }

/* hero stage: phone + floating chips */
.stage { position: relative; height: 600px; display: grid; place-items: center; perspective: 1400px; }
.phone { position: relative; width: 290px; height: 590px; border-radius: 46px; background: var(--phone); padding: 12px; box-shadow: var(--shadow-lg), inset 0 0 0 2px rgba(255,255,255,.06); transform: rotateY(-12deg) rotateX(4deg); transition: transform .6s var(--ease); }
.phone::before { content: ""; position: absolute; top: 20px; left: 50%; width: 90px; height: 24px; margin-left: -45px; background: #000; border-radius: 14px; z-index: 3; }
.screen { position: relative; width: 100%; height: 100%; border-radius: 36px; background: var(--bg); overflow: hidden; }
.chip { position: absolute; display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 16px; background: var(--card); box-shadow: var(--shadow-lg); border: 1px solid var(--line); font-size: 13px; color: var(--ink); white-space: nowrap; animation: float 5s ease-in-out infinite; z-index: 4; }
.chip b { font-weight: 600; }
.chip small { display: block; color: var(--muted); font-size: 11.5px; }
.chip .dot { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; color: #fff; flex: none; }
.chip .dot svg { width: 18px; height: 18px; }
.chip.c1 { top: 70px; left: -10px; }
.chip.c2 { top: 250px; right: -24px; animation-delay: -1.6s; }
.chip.c3 { bottom: 70px; left: 0; animation-delay: -3.2s; }
@keyframes float { 50% { transform: translateY(-12px); } }
@media (max-width: 520px) { .chip.c1 { left: -4px; } .chip.c2 { right: -4px; } .stage { height: 560px; } .phone { transform: none; width: 270px; height: 550px; } }

/* in-phone mini UI */
.ui { padding: 50px 14px 14px; display: flex; flex-direction: column; gap: 10px; font-size: 12px; }
.ui-hero { background: var(--grad-hero); color: #fff; border-radius: 20px; padding: 14px; position: relative; overflow: hidden; }
.ui-hero small { opacity: .7; font-size: 9.5px; letter-spacing: .08em; text-transform: uppercase; font-weight: 600; }
.ui-hero h4 { color: #fff; font-size: 18px; margin: 2px 0 4px; }
.ui-hero p { font-size: 11px; opacity: .82; }
.ui-hero .bars { position: absolute; right: 12px; bottom: 12px; display: flex; gap: 4px; align-items: flex-end; height: 44px; }
.ui-hero .bars i { width: 8px; border-radius: 3px; background: rgba(255,255,255,.85); transform-origin: bottom; animation: grow 1.2s var(--spring) both; }
.ui-hero .bars i:last-child { background: #34D399; }
@keyframes grow { from { transform: scaleY(0); } }
.ui-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.ui-stat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 8px; }
.ui-stat b { display: block; font: 700 16px/1.2 "Sora"; color: var(--ink); }
.ui-stat span { color: var(--muted); font-size: 9.5px; }
.ui-card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px; display: flex; gap: 10px; align-items: center; }
.mono { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font: 700 13px/1 "Sora"; flex: none; }
.ui-card b { display: block; color: var(--ink); font-size: 12.5px; }
.ui-card span { color: var(--muted); font-size: 10.5px; display: block; line-height: 1.3; }
.ui-card em { margin-left: auto; font-style: normal; color: var(--primary); font-weight: 700; font-size: 11.5px; }
.ui-toast { position: absolute; left: 12px; right: 12px; top: 46px; background: var(--ink); color: var(--bg); border-radius: 14px; padding: 10px 12px; display: flex; gap: 8px; align-items: center; font-size: 11px; z-index: 2; animation: toast 7s var(--ease) infinite; }
.ui-toast svg { width: 16px; height: 16px; color: #34D399; flex: none; }
@keyframes toast { 0%, 8% { transform: translateY(-120%); opacity: 0; } 14%, 48% { transform: none; opacity: 1; } 56%, 100% { transform: translateY(-120%); opacity: 0; } }
.ui-tabs { position: absolute; bottom: 0; left: 0; right: 0; height: 58px; background: var(--card); border-top: 1px solid var(--line); display: flex; justify-content: space-around; align-items: center; }
.ui-tabs i { width: 36px; height: 24px; border-radius: 9px; }
.ui-tabs i:first-child { background: var(--primary-soft); }
.ui-tabs i::after { content: ""; display: block; width: 16px; height: 16px; margin: 4px auto; border-radius: 5px; background: var(--faint); }
.ui-tabs i:first-child::after { background: var(--primary); }

/* ------------------------------------------------------------- stats */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 8px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.stat b { display: block; font: 700 clamp(28px, 4vw, 40px)/1.1 "Sora"; color: var(--ink); letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: 14px; }
.stat .live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent); font-weight: 600; margin-top: 6px; }
.stat .live[hidden] { display: none; }
.stat .live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 currentColor; } 70%, 100% { box-shadow: 0 0 0 8px transparent; } }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------ sections */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head.center { text-align: center; margin-left: auto; margin-right: auto; }
.section-head.center .lead { margin: 0 auto; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 48px); letter-spacing: -.03em; margin: 16px 0 14px; }
@media (max-width: 640px) { .section { padding: 72px 0; } }

/* reveal on scroll */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.d1 { transition-delay: .08s; } .js .reveal.d2 { transition-delay: .16s; } .js .reveal.d3 { transition-delay: .24s; } .js .reveal.d4 { transition-delay: .32s; }

/* ------------------------------------------------------- how it works */
.switch { display: inline-flex; position: relative; background: var(--bg-2); border-radius: 16px; padding: 5px; margin-bottom: 36px; }
.switch button { position: relative; z-index: 1; border: 0; background: none; padding: 12px 22px; font-weight: 600; color: var(--muted); border-radius: 12px; transition: color .25s; }
.switch button[aria-selected="true"] { color: var(--ink); }
.switch .pill { position: absolute; top: 5px; bottom: 5px; left: 5px; border-radius: 12px; background: var(--card); box-shadow: var(--shadow); transition: transform .45s var(--spring), width .45s var(--spring); }
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flow[hidden] { display: none; }
.step { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); transition: transform .35s var(--spring), box-shadow .35s; }
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.step .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; font: 700 16px/1 "Sora"; color: #fff; background: var(--grad); margin-bottom: 18px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 15px; }
.flow.anim .step { animation: pop .6s var(--spring) both; }
.flow.anim .step:nth-child(2) { animation-delay: .07s; } .flow.anim .step:nth-child(3) { animation-delay: .14s; } .flow.anim .step:nth-child(4) { animation-delay: .21s; }
@keyframes pop { from { opacity: 0; transform: translateY(20px) scale(.96); } }
@media (max-width: 960px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- verification */
.verify { background: linear-gradient(180deg, transparent, var(--bg-2) 20%, var(--bg-2) 80%, transparent); }
.verify-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 960px) { .verify-grid { grid-template-columns: 1fr; } }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: 28px; padding: 28px; box-shadow: var(--shadow-lg); }
.panel h3 { font-size: 20px; margin-bottom: 4px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { font-size: 13px; font-weight: 500; color: var(--muted); }
.field input { height: 50px; border-radius: 14px; border: 1.5px solid var(--line-2); background: var(--card-2); color: var(--ink); padding: 0 14px; font: 400 16px "Inter"; transition: border-color .2s, box-shadow .2s; }
.field input:focus { outline: 0; border-color: var(--primary); box-shadow: 0 0 0 4px color-mix(in srgb, var(--primary) 18%, transparent); }
.toggles { display: grid; gap: 10px; margin-top: 16px; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; border: 1.5px solid var(--line-2); cursor: pointer; transition: border-color .2s, background .2s; user-select: none; }
.toggle input { position: absolute; opacity: 0; pointer-events: none; }
.toggle .box { width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--faint); display: grid; place-items: center; transition: all .25s var(--spring); flex: none; }
.toggle .box svg { width: 14px; height: 14px; color: #fff; transform: scale(0); transition: transform .25s var(--spring); }
.toggle:has(input:checked) { border-color: var(--accent); background: var(--accent-soft); }
.toggle input:checked + .box { background: var(--accent); border-color: var(--accent); }
.toggle input:checked + .box svg { transform: scale(1); }
.toggle input:focus-visible + .box { outline: 3px solid var(--primary); outline-offset: 2px; }
.toggle span.t { font-size: 14.5px; color: var(--ink); }
.toggle span.p { margin-left: auto; font: 600 13px "Inter"; color: var(--accent); }
.meter { margin-top: 22px; }
.meter-top { display: flex; justify-content: space-between; align-items: baseline; }
.meter-top b { font: 700 40px/1 "Sora"; color: var(--ink); letter-spacing: -.03em; }
.meter-top span { font-weight: 600; font-size: 14px; }
.bar { height: 12px; border-radius: 6px; background: var(--bg-2); overflow: hidden; margin-top: 10px; }
.bar i { display: block; height: 100%; width: 4%; border-radius: 6px; background: var(--danger); transition: width .7s var(--ease), background .4s; }
.signal { display: flex; align-items: flex-start; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: 14px; background: var(--bg-2); transition: background .3s; }
.signal svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.signal.ok { background: var(--accent-soft); } .signal.ok svg { color: var(--accent); }
.signal.warn { background: var(--gold-soft); } .signal.warn svg { color: var(--gold); }
.layers { display: grid; gap: 12px; }
.layer { display: flex; gap: 16px; padding: 18px; border-radius: 20px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); transition: transform .3s var(--spring); }
.layer:hover { transform: translateX(6px); }
.layer .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; flex: none; background: var(--primary-soft); color: var(--primary); }
.layer .ic svg { width: 22px; height: 22px; }
.layer h4 { font-size: 16px; margin-bottom: 4px; }
.layer p { color: var(--muted); font-size: 14.5px; }

/* ------------------------------------------------------ who sees what */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.tier { position: relative; border-radius: 28px; padding: 28px; background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; }
.tier .lock { width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 18px; }
.tier .lock svg { width: 28px; height: 28px; }
.tier h3 { font-size: 19px; margin-bottom: 6px; }
.tier ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 8px; }
.tier li { display: flex; gap: 8px; align-items: center; font-size: 14.5px; }
.tier li svg { width: 16px; height: 16px; color: var(--accent); flex: none; }
.tier.t2 { background: var(--grad-hero); color: rgba(255,255,255,.86); border: 0; }
.tier.t2 h3 { color: #fff; } .tier.t2 .muted { color: rgba(255,255,255,.7); } .tier.t2 li svg { color: #34D399; }
.tier.t2 .lock { animation: wobble 4s ease-in-out infinite; }
@keyframes wobble { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } 95% { transform: rotate(-4deg); } }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; } }

/* -------------------------------------------------------- encyclopaedia */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.filters button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--card); color: var(--text); font-size: 14px; font-weight: 500; transition: all .25s var(--ease); }
.filters button:hover { border-color: var(--primary); }
.filters button[aria-pressed="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 960px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.pcard { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 14px; transition: transform .35s var(--spring), box-shadow .35s, opacity .35s; }
.pcard:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.pcard.enter { animation: pop .5s var(--spring) both; }
.pcard .top { display: flex; gap: 12px; align-items: flex-start; }
.pcard .mono { width: 48px; height: 48px; border-radius: 15px; font-size: 18px; }
.pcard h3 { font-size: 17px; }
.pcard p { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.tag { display: inline-flex; align-items: center; height: 26px; padding: 0 10px; border-radius: 999px; background: var(--bg-2); color: var(--muted); font-size: 12.5px; font-weight: 500; }
.tag.ask { margin-left: auto; background: var(--primary-soft); color: var(--primary); font-weight: 600; }
.locked { margin-top: auto; display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 12px; background: var(--card-2); border: 1px dashed var(--line-2); color: var(--muted); font-size: 13px; }
.locked svg { width: 16px; height: 16px; }
.source { margin-top: 18px; color: var(--muted); font-size: 13px; text-align: center; }

/* --------------------------------------------------------------- art */
.art { position: relative; width: 100%; max-width: 360px; aspect-ratio: 1; margin: 0 auto; }
.art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.float { animation: float 4.5s ease-in-out infinite; }
.float.slow { animation-duration: 6s; }
.twinkle { transform-box: fill-box; transform-origin: center; animation: twinkle 1.8s ease-in-out infinite alternate; }
.twinkle.b { animation-delay: -.6s; } .twinkle.c { animation-delay: -1.2s; }
@keyframes twinkle { from { opacity: .25; transform: scale(.7); } }
.flame { transform-box: fill-box; transform-origin: top center; animation: flame .18s ease-in-out infinite alternate; }
@keyframes flame { to { transform: scaleY(.72) scaleX(1.12); } }
.ring { transform-box: fill-box; transform-origin: center; animation: ring 2.6s ease-out infinite; }
.ring.b { animation-delay: -.87s; } .ring.c { animation-delay: -1.73s; }
@keyframes ring { from { transform: scale(.6); opacity: .6; } to { transform: scale(1.35); opacity: 0; } }

/* ------------------------------------------------------------ screens */
.shot-img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gallery-nav { display: flex; gap: 8px; justify-content: flex-end; margin-top: -24px; margin-bottom: 20px; }
.gallery { display: flex; gap: 28px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 12px max(16px, calc((100vw - var(--wrap)) / 2)) 36px; scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery::-webkit-scrollbar { display: none; }
.gallery:focus-visible { outline-offset: -3px; }
.shot { flex: 0 0 min(250px, 68vw); margin: 0; scroll-snap-align: center; }
.shot .frame { border-radius: 36px; padding: 9px; background: var(--phone); box-shadow: var(--shadow-lg); transition: transform .45s var(--spring); }
.shot .frame img { display: block; width: 100%; height: auto; border-radius: 28px; }
.shot:hover .frame { transform: translateY(-8px) rotate(-1deg); }
.shot figcaption { margin-top: 16px; text-align: center; }
.shot figcaption b { display: block; font: 600 16px/1.3 "Sora"; color: var(--ink); }
.shot figcaption span { font-size: 14px; color: var(--muted); }
.js .shot { opacity: 0; transform: translateY(30px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .shot.in { opacity: 1; transform: none; }

/* --------------------------------------------------------------- faq */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 0 22px; box-shadow: var(--shadow); transition: background .2s; }
.faq summary { list-style: none; cursor: pointer; padding: 20px 0; font: 600 17px/1.4 "Sora"; color: var(--ink); display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 26px/1 "Inter"; color: var(--primary); transition: transform .3s var(--spring); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 20px; color: var(--muted); }

/* --------------------------------------------------------- download */
.cta-band { position: relative; overflow: hidden; border-radius: 36px; padding: clamp(32px, 6vw, 64px); background: var(--grad-hero); color: rgba(255,255,255,.85); display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px; align-items: center; }
.cta-band h2 { color: #fff; font-size: clamp(28px, 4vw, 44px); margin-bottom: 12px; }
.cta-band .store { background: #fff; color: #10122A; }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cta-band .soon { display: inline-block; font-size: 12px; margin-top: 14px; opacity: .7; }
.cta-band::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; border-radius: 50%; background: rgba(255,255,255,.07); }
.cta-band::after { content: ""; position: absolute; width: 320px; height: 320px; right: 120px; bottom: -220px; border-radius: 50%; background: rgba(16,185,129,.22); }
@media (max-width: 820px) { .cta-band { grid-template-columns: 1fr; } .cta-band .art { max-width: 240px; } }

/* ------------------------------------------------------------ footer */
.footer { padding: 56px 0 40px; margin-top: 80px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.footer nav { display: flex; flex-wrap: wrap; gap: 18px; }
.footer a { color: var(--muted); }

/* ------------------------------------------------------------ legal */
.legal { max-width: 760px; margin: 0 auto; padding: 48px 0 24px; }
.legal h1 { font-size: clamp(32px, 5vw, 44px); margin-bottom: 8px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; }
.legal p, .legal li { color: var(--text); margin-bottom: 10px; }
.legal ul { padding-left: 20px; }
.legal .updated { color: var(--muted); margin-bottom: 28px; }
.legal .card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--shadow); margin: 20px 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}
