/* SpendTrack — spendtrack.online
   Mobile first. The base rules are the phone; desktop is layered on
   with min-width queries. Motion is reserved for a few scroll driven
   moments; everything else is composed to simply be there. */

:root {
  --g600: #059669; --g500: #10B981; --g400: #34D399; --g300: #6EE7B7; --g50: #ECFDF5;
  --ink: #0B1220; --ink2: #0F172A;
  --night: #04140E; --night2: #052018;
  --s500: #64748B; --s400: #94A3B8; --s300: #CBD5E1; --s200: #E2E8F0; --s100: #F1F5F9;
  --paper: #FBFCFD;
  --nav-h: 52px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Segoe UI", Roboto, sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dev: min(72vw, 28svh);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font); color: var(--ink); background: var(--paper);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: hidden; line-height: 1.45;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: 700; }
::selection { background: var(--g400); color: var(--night); }

/* ── Type ───────────────────────────────────────────────────── */
h1 { font-size: clamp(2.7rem, 12vw, 5.6rem); line-height: .98; letter-spacing: -.04em; font-weight: 800; }
h2 { font-size: clamp(2rem, 8.4vw, 3.6rem); line-height: 1.04; letter-spacing: -.035em; font-weight: 800; }
h3 { font-size: clamp(1.45rem, 6vw, 2rem); line-height: 1.1; letter-spacing: -.03em; font-weight: 800; }
.lede { font-size: 1.06rem; line-height: 1.55; color: var(--s500); max-width: 34em; }
.lede.light { color: rgba(236, 253, 245, .68); }
.eyebrow { font-family: var(--mono); font-size: .72rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--g600); }
.eyebrow.light { color: var(--g400); }
.note { font-size: .84rem; color: var(--s400); font-weight: 500; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 22px; }
.wrap.center { text-align: center; }

/* ── Grain: a whisper of texture on the dark acts ───────────── */
.grain { position: absolute; inset: 0; pointer-events: none; opacity: .055; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px; }

/* ── Progress + nav ─────────────────────────────────────────── */
.progress { position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 90; background: var(--g400); }
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 80; height: var(--nav-h); color: #fff;
  background: transparent; transition: background .35s, color .35s, box-shadow .35s; }
.nav-in { height: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; display: flex; align-items: center; gap: 14px; }
.brand { display: flex; align-items: center; gap: 9px; min-height: 44px; }
.brand img { width: 26px; height: 26px; border-radius: 7px; box-shadow: 0 2px 6px rgba(0,0,0,.25); }
.brand-t { display: flex; flex-direction: column; line-height: 1.02; }
.brand-n { font-weight: 800; letter-spacing: -.02em; font-size: .92rem; }
.bs { color: currentColor; }
.bt { color: var(--g400); }
.brand-s { display: block; font-style: italic; font-weight: 500; font-size: .54rem; opacity: .62; margin-top: 2px; }
.nav-links { display: none; }
.pill { margin-left: auto; font-size: .78rem; font-weight: 700; padding: 8px 14px; min-height: 36px; display: inline-flex; align-items: center;
  border-radius: 999px; white-space: nowrap; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); transition: background .3s, color .3s, border-color .3s; }
.nav.light { color: var(--ink); background: rgba(255,255,255,.92); box-shadow: 0 1px 0 rgba(15,23,42,.06); }
.nav.light .bt { color: var(--g600); }
.nav.light .pill { color: var(--g600); background: var(--g50); border-color: transparent; }

/* ── Buttons ────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; letter-spacing: -.01em; transition: transform .25s var(--ease), box-shadow .25s; }
.btn.primary { background: var(--g500); color: var(--night); box-shadow: 0 10px 28px rgba(16,185,129,.32); }
.btn.primary:active { transform: scale(.98); }

/* ── Hero (pinned, scrubbed) ────────────────────────────────── */
.hero { position: relative; height: 190svh; background: var(--night); color: #fff; }
.hero-pin { position: sticky; top: 0; height: 100svh; overflow: hidden;
  background: radial-gradient(110% 70% at 50% 0%, var(--night2) 0%, var(--night) 62%); }
.marks { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  mask-image: radial-gradient(62% 58% at 50% 48%, transparent 0%, transparent 40%, #000 82%);
  -webkit-mask-image: radial-gradient(62% 58% at 50% 48%, transparent 0%, transparent 40%, #000 82%); }
.mk { position: absolute; color: var(--g300); opacity: .085; display: flex; align-items: center; justify-content: center; font-style: normal; }
.mk svg { width: 100%; height: 100%; }
.mk.cur { font-weight: 800; letter-spacing: -.02em; opacity: .1; }
.stage { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; padding: 0 22px; text-align: center; }
.beat { position: absolute; left: 22px; right: 22px; font-size: clamp(2.2rem, 10.5vw, 5rem); font-weight: 800; letter-spacing: -.04em; line-height: 1.02;
  opacity: 0; will-change: transform, opacity, filter; }
.payoff { position: absolute; left: 22px; right: 22px; display: flex; flex-direction: column; align-items: center; opacity: 0; will-change: transform, opacity; }
.payoff-icon { width: 78px; height: 78px; border-radius: 22px; margin-bottom: 22px; box-shadow: 0 22px 50px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06); will-change: transform, opacity; }
.payoff h1 { background: linear-gradient(180deg, #fff, #C7F5E4); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.payoff .lede { color: rgba(255,255,255,.72); margin: 18px auto 26px; max-width: 30em; }
.payoff .note { color: rgba(255,255,255,.5); margin-top: 16px; }
.cue { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.5); font-family: var(--mono); font-size: .64rem; letter-spacing: .2em; text-transform: uppercase; transition: opacity .4s; }
.cue i { width: 1px; height: 30px; background: rgba(255,255,255,.28); position: relative; overflow: hidden; display: block; }
.cue i::after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 40%; background: var(--g400); animation: cueRun 2s cubic-bezier(.6,0,.2,1) infinite; }
@keyframes cueRun { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(340%); } }

/* ── Film (pinned, scrubbed) ────────────────────────────────── */
.film { position: relative; height: 460svh; background: var(--paper); }
.film-pin { position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  padding: var(--nav-h) 22px 0; overflow: hidden; }
.captions { position: relative; width: 100%; max-width: 15em; height: clamp(3.2rem, 14vw, 4.6rem); }
.cap { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  font-size: clamp(1.3rem, 6.2vw, 2rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.14; color: var(--ink);
  opacity: 0; transform: translateY(12px); transition: opacity .2s var(--ease), transform .2s var(--ease); }
/* The outgoing caption leaves fast; the incoming waits a beat, so two
   lines never sit on top of each other during a quick scrub. */
.cap.on { opacity: 1; transform: none; transition: opacity .42s var(--ease) .14s, transform .42s var(--ease) .14s; }
.cap[data-s="2"], .cap[data-s="3"] { color: var(--g600); }
.device-wrap { perspective: 1400px; }
.device { width: var(--dev); font-size: calc(var(--dev) / 30); will-change: transform; transform-style: preserve-3d; }
.d-frame { position: relative; width: 100%; aspect-ratio: 9 / 19.4; border-radius: 15.5%; background: linear-gradient(160deg, #1a1c22, #08090c 40%, #101217);
  padding: 3.2%; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.09), 0 34px 70px rgba(2,6,23,.34), 0 10px 22px rgba(2,6,23,.22); }
.d-frame::before, .d-frame::after { content: ''; position: absolute; width: 1.4%; border-radius: 2px; background: #15171c; }
.d-frame::before { left: -1.4%; top: 22%; height: 7%; box-shadow: 0 11% 0 0 #15171c; }
.d-frame::after { right: -1.4%; top: 27%; height: 12%; }
.d-screen { position: relative; width: 100%; height: 100%; border-radius: 13%; overflow: hidden;
  background: linear-gradient(180deg, #F2FAF6 0%, #FCFDFD 45%); }
.d-island { position: absolute; top: 2.6%; left: 50%; transform: translateX(-50%); width: 30%; height: 3.3%; background: #08090c; border-radius: 999px; z-index: 5; }
.d-status { display: flex; justify-content: space-between; align-items: center; padding: 3.6% 9% 0; font-size: 1em; font-weight: 700; }
.d-sig { display: flex; gap: .2em; align-items: flex-end; }
.d-sig i { width: .32em; background: var(--ink); border-radius: .1em; }
.d-sig i:nth-child(1) { height: .5em; } .d-sig i:nth-child(2) { height: .75em; } .d-sig i:nth-child(3) { height: 1em; }
.d-app { padding: 4.5% 7% 0; display: flex; flex-direction: column; gap: 1em; }
.d-greet { display: flex; flex-direction: column; }
.d-month { font-family: var(--mono); font-size: .68em; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--g600); }
.d-hello { font-size: 1.35em; font-weight: 800; letter-spacing: -.02em; }
.d-ring { position: relative; width: 46%; margin: .2em auto 0; }
.d-ring svg { width: 100%; transform: rotate(-90deg); display: block; }
.d-track { fill: none; stroke: var(--s100); stroke-width: 10; }
.d-fill { fill: none; stroke: var(--g500); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 314.2; stroke-dashoffset: 314.2; will-change: stroke-dashoffset; }
.d-ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.d-ring-in b { font-size: 2.1em; letter-spacing: -.03em; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1; }
.d-ring-in span { font-size: .7em; font-weight: 600; color: var(--s400); margin-top: .2em; }
.d-safe { align-self: center; display: inline-flex; align-items: center; gap: .5em; font-size: .82em; font-weight: 700; color: var(--g600); background: var(--g50);
  padding: .55em 1em; border-radius: 999px; opacity: 0; transform: translateY(.6em); will-change: transform, opacity; }
.d-safe i { width: .55em; height: .55em; border-radius: 50%; background: var(--g500); }
.d-list { display: flex; flex-direction: column; gap: .6em; }
.d-row { display: flex; align-items: center; gap: .75em; background: #fff; border-radius: 1em; padding: .8em .9em; box-shadow: 0 .15em .7em rgba(15,23,42,.05); }
.d-row.new { position: relative; opacity: 0; transform: translateY(-1.2em) scale(.97); will-change: transform, opacity; background: var(--g50); }
.d-ic { width: 2.1em; height: 2.1em; border-radius: .6em; display: flex; align-items: center; justify-content: center; font-size: .78em; font-weight: 800; color: #fff; flex-shrink: 0; }
.d-rb { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.d-rb b { font-size: .92em; letter-spacing: -.01em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-rb em { font-style: normal; font-size: .72em; color: var(--s400); font-weight: 600; }
.d-amt { font-size: .92em; font-weight: 800; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.d-home { position: absolute; bottom: 2%; left: 50%; transform: translateX(-50%); width: 36%; height: 1.1%; background: #0a0b0f; border-radius: 999px; opacity: .8; z-index: 5; }
.d-sheen { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(112deg, rgba(255,255,255,.22) 0%, rgba(255,255,255,0) 30%); }
.d-banner { position: absolute; z-index: 6; top: 6.5%; left: 6%; right: 6%; display: flex; align-items: center; gap: .7em; padding: .85em .95em;
  background: rgba(255,255,255,.9); border-radius: 1.4em; box-shadow: 0 1.2em 2.6em rgba(2,6,23,.22), inset 0 0 0 1px rgba(255,255,255,.6);
  opacity: 0; transform: translateY(-160%); will-change: transform, opacity; }
.d-banner img { width: 2.2em; height: 2.2em; border-radius: .6em; }
.d-bt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.d-bt b { font-size: .86em; letter-spacing: -.01em; }
.d-bt span { font-size: .78em; color: var(--s500); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-banner em { font-style: normal; font-size: .7em; color: var(--s400); font-weight: 600; }

/* ── Features: moments ──────────────────────────────────────── */
.features { padding: 72px 0 40px; }
.sec-head { margin-bottom: 36px; }
.sec-head h2 { margin-top: 12px; }
.moment { display: flex; flex-direction: column; gap: 22px; padding: 28px 0 40px; }
.copy h3 { margin: 10px 0 12px; }
.copy p:last-child { color: var(--s500); font-size: 1rem; line-height: 1.55; }
.panel { position: relative; width: 100%; min-height: 200px; border-radius: 22px; background: #fff; box-shadow: 0 2px 4px rgba(15,23,42,.04), 0 18px 40px rgba(15,23,42,.06);
  padding: 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; overflow: hidden;
  opacity: 0; transform: translateY(14px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.moment.in .panel { opacity: 1; transform: none; }
.chip { font-size: .72rem; font-weight: 700; padding: 5px 11px; border-radius: 999px; font-style: normal; }
.c-dining { background: #FFF7ED; color: #EA580C; } .c-groc { background: var(--g50); color: var(--g600); }
.c-trans { background: #EEF2FF; color: #4F46E5; } .c-subs { background: #FCE7F3; color: #DB2777; } .c-work { background: #EEF2FF; color: #4F46E5; }

/* setup */
.v-setup { gap: 18px; }
.toggle-row { width: 100%; max-width: 320px; display: flex; align-items: center; justify-content: space-between; background: var(--s100); border-radius: 16px; padding: 14px 16px; }
.toggle-lab { font-weight: 650; font-size: .96rem; }
.tg { width: 52px; height: 32px; border-radius: 999px; background: var(--s300); position: relative; transition: background .35s var(--ease); flex-shrink: 0; }
.tg i { position: absolute; top: 3px; left: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); transition: transform .38s cubic-bezier(.34,1.4,.64,1); }
.moment.in .tg { background: var(--g500); transition-delay: .35s; }
.moment.in .tg i { transform: translateX(20px); transition-delay: .35s; }
.setup-done { display: flex; align-items: center; gap: 10px; color: var(--g600); font-weight: 650; font-size: .92rem; opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease) .85s, transform .4s var(--ease) .85s; }
.setup-done svg { width: 20px; height: 20px; }
.moment.in .setup-done { opacity: 1; transform: none; }

/* sort */
.v-sort { gap: 9px; align-items: stretch; }
.srow { display: flex; align-items: center; justify-content: space-between; background: var(--paper); border: 1px solid var(--s100); border-radius: 14px; padding: 12px 14px; font-weight: 650; font-size: .95rem; }
.srow .chip { opacity: 0; transform: scale(.7); transition: opacity .4s var(--ease), transform .45s cubic-bezier(.34,1.5,.64,1); }
.moment.in .srow:nth-child(1) .chip { opacity: 1; transform: none; transition-delay: .25s; }
.moment.in .srow:nth-child(2) .chip { opacity: 1; transform: none; transition-delay: .4s; }
.moment.in .srow:nth-child(3) .chip { opacity: 1; transform: none; transition-delay: .55s; }
.moment.in .srow:nth-child(4) .chip { opacity: 1; transform: none; transition-delay: .7s; }

/* subscriptions */
.alert { position: relative; width: 100%; max-width: 340px; display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--s100); border-radius: 18px; padding: 16px; }
.alert .d-ic { width: 38px; height: 38px; border-radius: 11px; }
.alert-b { flex: 1; display: flex; flex-direction: column; }
.alert-b b { font-size: .96rem; letter-spacing: -.01em; }
.alert-b span { font-size: .78rem; color: var(--s400); font-weight: 500; }
.found { font-family: var(--mono); font-size: .64rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--g600); background: var(--g50); padding: 6px 10px; border-radius: 999px; font-style: normal; }
.ping { position: absolute; top: 14px; right: 14px; width: 12px; height: 12px; border-radius: 50%; background: var(--g400); }
.moment.in .ping { animation: ping 2.4s cubic-bezier(0,0,.2,1) infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(52,211,153,.55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(52,211,153,0); } }

/* cards */
.v-cards { min-height: 250px; }
.card { position: absolute; width: 230px; height: 140px; border-radius: 18px; padding: 18px; color: #fff; box-shadow: 0 20px 44px rgba(2,6,23,.22);
  display: flex; flex-direction: column; justify-content: space-between; opacity: 0; transition: opacity .6s var(--ease), transform .8s var(--ease); }
.card b { font-size: .9rem; letter-spacing: -.02em; display: flex; align-items: center; gap: 6px; }
.card b::before { content: ''; width: 20px; height: 14px; border-radius: 4px; background: rgba(255,255,255,.3); }
.card i { position: absolute; top: 18px; right: 18px; font-style: normal; font-family: var(--mono); font-size: .7rem; font-weight: 600; opacity: .85; }
.card span { font-family: var(--mono); font-size: .8rem; letter-spacing: .06em; opacity: .9; }
.k1 { background: linear-gradient(135deg, #059669, #10B981); transform: translate(-58px, 4px) rotate(-9deg); z-index: 1; }
.k2 { background: linear-gradient(135deg, #0F172A, #334155); transform: translate(-18px, 46px) rotate(1deg); z-index: 2; }
.k3 { background: linear-gradient(135deg, #047857, #065F46); transform: translate(22px, 92px) rotate(9deg); z-index: 3; }
.v-cards .card { transform: translateY(40px) rotate(0); }
.moment.in .k1 { opacity: 1; transform: translate(-58px, -40px) rotate(-9deg); }
.moment.in .k2 { opacity: 1; transform: translate(-18px, 2px) rotate(1deg); transition-delay: .1s; }
.moment.in .k3 { opacity: 1; transform: translate(22px, 46px) rotate(9deg); transition-delay: .2s; }

/* refund */
.v-refund { align-items: stretch; gap: 14px; }
.rrow { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--s100); border-radius: 16px; padding: 14px 16px; }
.rrow .d-ic { width: 36px; height: 36px; border-radius: 10px; }
.rrow b { flex: 1; font-size: .92rem; letter-spacing: -.01em; }
.rrow em { font-style: normal; font-family: var(--mono); font-weight: 600; font-size: .92rem; }
.track { display: flex; align-items: center; gap: 10px; padding: 0 4px; }
.st { font-size: .7rem; font-weight: 700; padding: 6px 11px; border-radius: 999px; white-space: nowrap; }
.st.wait { background: #FFF7ED; color: #EA580C; }
.st.done { background: var(--g50); color: var(--g600); opacity: .35; transition: opacity .5s var(--ease) 1.1s; }
.moment.in .st.done { opacity: 1; }
.line { flex: 1; height: 2px; background: var(--s200); border-radius: 2px; position: relative; overflow: hidden; }
.line i { position: absolute; inset: 0; background: var(--g400); transform: translateX(-100%); transition: transform 1s var(--ease) .4s; }
.moment.in .line i { transform: none; }

/* work */
.v-work { align-items: stretch; gap: 12px; }
.seg { display: flex; background: var(--s100); border-radius: 12px; padding: 4px; }
.seg span { flex: 1; text-align: center; font-size: .84rem; font-weight: 700; padding: 8px; border-radius: 9px; color: var(--s500); }
.seg .on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(15,23,42,.08); }
.wrow { display: flex; align-items: center; gap: 12px; background: var(--paper); border: 1px solid var(--s100); border-radius: 16px; padding: 14px 16px; }
.wrow .d-ic { width: 36px; height: 36px; border-radius: 10px; }
.wb { flex: 1; display: flex; flex-direction: column; }
.wb b { font-size: .92rem; } .wb span { font-size: .74rem; color: var(--s400); font-weight: 600; }
.wrow .chip { opacity: 0; transform: scale(.7); transition: opacity .4s var(--ease) .5s, transform .45s cubic-bezier(.34,1.5,.64,1) .5s; }
.moment.in .wrow .chip { opacity: 1; transform: none; }
.wnote { text-align: center; font-family: var(--mono); font-size: .68rem; letter-spacing: .04em; color: var(--g600); opacity: 0; transition: opacity .4s .9s; }
.moment.in .wnote { opacity: 1; }

/* import */
.v-import { flex-direction: row; gap: 26px; }
.doc { width: 86px; height: 110px; background: var(--paper); border: 1px solid var(--s100); border-radius: 12px; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; }
.doc span { height: 7px; border-radius: 4px; background: var(--s100); position: relative; overflow: hidden; }
.doc span:first-child { width: 60%; background: var(--g400); }
.doc span::after { content: ''; position: absolute; inset: 0; background: var(--g400); border-radius: 4px; transform: translateX(-101%); transition: transform .8s var(--ease); }
.moment.in .doc span:nth-child(2)::after { transform: none; transition-delay: .3s; }
.moment.in .doc span:nth-child(3)::after { transform: none; transition-delay: .5s; }
.moment.in .doc span:nth-child(4)::after { transform: none; transition-delay: .7s; }
.imp { display: flex; flex-direction: column; }
.imp b { font-size: 3rem; letter-spacing: -.04em; line-height: 1; color: var(--g600); font-variant-numeric: tabular-nums; }
.imp span { font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--s400); margin-top: 6px; }

/* income */
.v-income { gap: 18px; }
.bars { display: flex; align-items: flex-end; gap: 30px; height: 150px; }
.bar { width: 62px; border-radius: 10px 10px 0 0; height: 0; position: relative; transition: height 1s var(--ease); }
.bar span { position: absolute; top: 100%; left: 50%; transform: translateX(-50%); margin-top: 8px; font-family: var(--mono); font-size: .68rem; letter-spacing: .06em; text-transform: uppercase; color: var(--s400); white-space: nowrap; }
.b-in { background: linear-gradient(180deg, var(--g400), var(--g600)); }
.b-out { background: linear-gradient(180deg, #334155, #0F172A); }
.moment.in .b-in { height: 100%; }
.moment.in .b-out { height: 62%; transition-delay: .15s; }
.delta { text-align: center; margin-top: 18px; }
.delta span { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--s400); }
.delta b { display: block; font-size: 2.1rem; letter-spacing: -.04em; color: var(--g600); font-variant-numeric: tabular-nums; margin-top: 4px; }

/* export */
.v-export { align-items: stretch; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { font-family: var(--mono); font-size: .66rem; font-weight: 600; padding: 6px 10px; border-radius: 999px; background: var(--g50); color: var(--g600); }
.sheet { border-radius: 14px; overflow: hidden; border: 1px solid var(--s100); }
.sh { display: grid; grid-template-columns: .7fr 1.1fr 1fr .7fr; gap: 6px; padding: 10px 12px; font-size: .72rem; font-weight: 550; border-top: 1px solid var(--s100);
  opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.sh.head { background: var(--s100); font-family: var(--mono); font-weight: 600; color: var(--s500); border-top: 0; opacity: 1; transform: none; }
.sh span:last-child { font-family: var(--mono); font-weight: 600; text-align: right; }
.moment.in .sh { opacity: 1; transform: none; }
.moment.in .sh:nth-child(2) { transition-delay: .25s; } .moment.in .sh:nth-child(3) { transition-delay: .37s; }
.moment.in .sh:nth-child(4) { transition-delay: .49s; } .moment.in .sh:nth-child(5) { transition-delay: .61s; }

/* ── Privacy ────────────────────────────────────────────────── */
.privacy { position: relative; background: radial-gradient(110% 70% at 80% 0%, rgba(16,185,129,.12), transparent 55%), var(--night); color: #fff; padding: 88px 0; overflow: hidden; }
.privacy .wrap { position: relative; z-index: 1; }
.privacy h2 { margin: 12px 0 16px; }
.privacy h2 br { display: none; }
.proofs { list-style: none; margin-top: 40px; display: flex; flex-direction: column; gap: 14px; }
.proofs li { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); border-radius: 20px; padding: 20px; }
.proofs b { display: block; font-size: 1.02rem; letter-spacing: -.015em; margin-bottom: 4px; }
.proofs p { font-size: .92rem; line-height: 1.5; color: rgba(236,253,245,.6); }
.proof-ic { width: 42px; height: 42px; border-radius: 13px; background: rgba(52,211,153,.14); color: var(--g400); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.proof-ic svg { width: 22px; height: 22px; }
.air { width: 26px; height: 15px; border-radius: 999px; background: var(--g400); position: relative; transition: background .35s; display: block; }
.air i { position: absolute; top: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: #fff; transition: transform .35s cubic-bezier(.4,0,.2,1); display: block; }
.air.off { background: rgba(255,255,255,.25); } .air.off i { transform: translateX(-11px); }

/* ── Sprout ─────────────────────────────────────────────────── */
.sprout { padding: 84px 0; }
.sprout-in { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 30px; }
.mascot { position: relative; width: min(160px, 42vw); }
.mascot-glow { position: absolute; inset: 6%; background: radial-gradient(closest-side, rgba(52,211,153,.32), transparent 70%); filter: blur(24px); }
.mascot img { position: relative; z-index: 1; width: 100%; aspect-ratio: 3 / 4; object-fit: contain; filter: drop-shadow(0 20px 34px rgba(5,150,105,.22)); transition: opacity .2s; }
.sprout-copy h2 { margin: 12px 0 16px; }
.sprout-copy .lede { margin: 0 auto; }
.chat { width: 100%; max-width: 440px; margin: 28px auto 0; min-height: 228px; display: flex; flex-direction: column; gap: 10px; text-align: left; }
.bubble { display: block; padding: 13px 17px; border-radius: 20px; font-size: .96rem; font-weight: 500; line-height: 1.45; max-width: 88%;
  opacity: 0; transform: translateY(8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.bubble.show { opacity: 1; transform: none; }
.bubble.user { background: var(--g600); color: #fff; align-self: flex-end; border-bottom-right-radius: 6px; }
.bubble.sprout { background: var(--s100); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 6px; }
.bubble.sprout:not(.typing) { width: 100%; }
.bubble.typing { display: flex; gap: 5px; padding: 16px 18px; width: fit-content; }
.tp { width: 7px; height: 7px; border-radius: 50%; background: var(--s400); animation: tp 1.2s ease-in-out infinite; }
.tp:nth-child(2) { animation-delay: .15s; } .tp:nth-child(3) { animation-delay: .3s; }
@keyframes tp { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-5px); opacity: 1; } }

/* ── Get ────────────────────────────────────────────────────── */
.get { position: relative; overflow: hidden; background: radial-gradient(120% 80% at 50% 100%, var(--night2), var(--night)); color: #fff; padding: 96px 0; }
.get .wrap { position: relative; z-index: 1; }
.get-icon { width: 88px; height: 88px; border-radius: 24px; margin: 0 auto 24px; box-shadow: 0 22px 50px rgba(0,0,0,.4); }
.get h2 { margin-bottom: 14px; }
.get .lede { margin: 0 auto 26px; }
.soon { display: inline-flex; align-items: center; gap: 10px; background: rgba(16,185,129,.14); border: 1px solid rgba(52,211,153,.3); color: var(--g300); font-weight: 700; font-size: .96rem; padding: 13px 22px; border-radius: 999px; }
.soon i { width: 9px; height: 9px; border-radius: 50%; background: var(--g400); animation: ping 2.2s cubic-bezier(0,0,.2,1) infinite; }
.get .note { color: rgba(255,255,255,.5); margin-top: 16px; }

/* ── Footer ─────────────────────────────────────────────────── */
footer { background: #030b08; color: var(--s400); padding: 56px 0 28px; }
.foot { display: flex; flex-direction: column; gap: 28px; margin-bottom: 36px; }
.foot-brand { display: flex; gap: 14px; }
.foot-brand img { width: 42px; height: 42px; border-radius: 12px; }
.foot-brand .brand-n { font-size: 1.05rem; color: #fff; display: block; }
.foot-brand .brand-s { font-size: .64rem; }
.foot-brand p { margin-top: 10px; font-size: .88rem; line-height: 1.6; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.foot-links a { font-size: .9rem; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }
.foot-line { padding-top: 22px; border-top: 1px solid rgba(148,163,184,.14); display: flex; justify-content: space-between; font-family: var(--mono); font-size: .76rem; }

/* ── Desktop ────────────────────────────────────────────────── */
@media (min-width: 900px) {
  :root { --nav-h: 60px; --dev: min(320px, 34svh); }
  .nav-in { padding: 0 26px; gap: 30px; }
  .brand img { width: 32px; height: 32px; border-radius: 9px; }
  .brand-n { font-size: 1.06rem; } .brand-s { font-size: .6rem; }
  .nav-links { display: flex; gap: 26px; margin-left: auto; }
  .nav-links a { font-size: .92rem; font-weight: 550; opacity: .75; transition: opacity .2s; }
  .nav-links a:hover { opacity: 1; }
  .pill { margin-left: 0; font-size: .86rem; padding: 9px 18px; }
  .hero { height: 200svh; }
  .beat { font-size: clamp(3rem, 7vw, 5.6rem); }
  .payoff-icon { width: 96px; height: 96px; border-radius: 26px; }
  .film { height: 520svh; }
  .film-pin { gap: 26px; }
  .cap { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
  .features { padding: 110px 0 60px; }
  .sec-head { margin-bottom: 30px; max-width: 34em; }
  .moment { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; padding: 54px 0; }
  .moment:nth-child(even) .panel { order: 2; }
  .panel { min-height: 300px; padding: 30px; }
  .copy p:last-child { font-size: 1.08rem; }
  .privacy { padding: 130px 0; }
  .privacy h2 br { display: inline; }
  .proofs { flex-direction: row; gap: 18px; }
  .proofs li { flex: 1; flex-direction: column; gap: 18px; padding: 28px; }
  .sprout { padding: 130px 0; }
  .sprout-in { flex-direction: row; text-align: left; gap: 60px; }
  .mascot { width: min(300px, 26vw); flex-shrink: 0; }
  .sprout-copy .lede { margin: 0; }
  .chat { margin: 30px 0 0; }
  .get { padding: 140px 0; }
  .foot { flex-direction: row; justify-content: space-between; }
  .foot-links { flex-direction: column; gap: 6px; }
  .btn:hover { transform: translateY(-2px); }
}

/* ── Reduced motion ─────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .panel, .cap, .bubble { opacity: 1 !important; transform: none !important; }
  .hero { height: 100svh; } .film { height: 100svh; }
}
