/* Nimbu — Obsidian Lime site styles.
   Dark is the canonical identity (app prototype tokens); light is derived. */

@font-face {
  font-family: "Unbounded";
  src: url("../fonts/unbounded.woff2") format("woff2");
  font-weight: 200 900;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

/* ── Tokens ───────────────────────────────────────────────────────────── */
:root {
  color-scheme: dark;
  --bg: #070708;
  --bg-2: #0b0c0e;
  --surface: #131418;
  --surface-2: #1b1d23;
  --line: #262932;
  --text: #f3f4ee;
  --muted: #8b8e82;
  --faint: #5d5f57;
  --lime: #cbf24a;
  --lime-text: #cbf24a;
  --lime-grad-top: #def96a;
  --lime-grad-bottom: #b6e22f;
  --on-lime: #10130a;
  --income: #8ce01e;
  --expense: #ff6b57;
  --blue: #3b82f6;
  --amber: #f5b33c;
  --purple: #a78bfa;
  --teal: #2dd4bf;
  --pink: #f472b6;
  --green: #8ce01e;
  --indigo: #6366f1;
  --hero-ink: #0d0e10;
  --tile-top: #232630;
  --tile-bottom: #14151a;
  --card-glow: rgba(203, 242, 74, 0.08);
  --shadow: 0 30px 80px -30px rgba(0, 0, 0, 0.8);
  --grid-line: rgba(255, 255, 255, 0.035);
  --nav-bg: rgba(7, 7, 8, 0.72);

  --display: "Unbounded", ui-sans-serif, system-ui, sans-serif;
  --body: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 12px;
  --r: 20px;
  --r-lg: 28px;
  --max: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --bg: #f6f7f1;
    --bg-2: #eff1e8;
    --surface: #ffffff;
    --surface-2: #eef0e6;
    --line: #e2e4d8;
    --text: #14150f;
    --muted: #6c6f62;
    --faint: #9a9c8e;
    --lime-text: #5e7a12;
    --income: #4c9a0f;
    --expense: #e5493a;
    --tile-top: #ffffff;
    --tile-bottom: #eef0e6;
    --card-glow: rgba(94, 122, 18, 0.07);
    --shadow: 0 30px 70px -34px rgba(40, 48, 20, 0.35);
    --grid-line: rgba(20, 21, 15, 0.045);
    --nav-bg: rgba(246, 247, 241, 0.78);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f7f1;
  --bg-2: #eff1e8;
  --surface: #ffffff;
  --surface-2: #eef0e6;
  --line: #e2e4d8;
  --text: #14150f;
  --muted: #6c6f62;
  --faint: #9a9c8e;
  --lime-text: #5e7a12;
  --income: #4c9a0f;
  --expense: #e5493a;
  --tile-top: #ffffff;
  --tile-bottom: #eef0e6;
  --card-glow: rgba(94, 122, 18, 0.07);
  --shadow: 0 30px 70px -34px rgba(40, 48, 20, 0.35);
  --grid-line: rgba(20, 21, 15, 0.045);
  --nav-bg: rgba(246, 247, 241, 0.78);
}

/* ── Base ─────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color .4s var(--ease), color .4s var(--ease);
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--lime); color: var(--on-lime); }

.icon { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.num { font-variant-numeric: tabular-nums; font-feature-settings: "tnum"; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin: 0; }
h2 { font-size: clamp(30px, 4.6vw, 54px); }
h3 { font-size: clamp(18px, 1.7vw, 21px); letter-spacing: -0.02em; line-height: 1.25; }
p { margin: 0; }
.lede { color: var(--muted); font-size: clamp(16px, 1.5vw, 19px); max-width: 60ch; }
.accent { color: var(--lime-text); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--lime-text);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }

.section { position: relative; padding: clamp(80px, 11vw, 150px) 0; }
.section-head { display: grid; gap: 18px; margin-bottom: clamp(40px, 6vw, 72px); max-width: 760px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; justify-items: center; }

/* Ambient backdrop */
.backdrop { position: fixed; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; }
.backdrop::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; will-change: transform; }
.blob.b1 { width: 620px; height: 620px; left: -160px; top: -220px; background: radial-gradient(circle, rgba(203,242,74,.30), transparent 65%); animation: drift1 22s var(--ease-in-out) infinite alternate; }
.blob.b2 { width: 520px; height: 520px; right: -180px; top: 120px; background: radial-gradient(circle, rgba(140,224,30,.18), transparent 65%); animation: drift2 26s var(--ease-in-out) infinite alternate; }
:root[data-theme="light"] .blob { opacity: .55; }
@keyframes drift1 { to { transform: translate(120px, 80px) scale(1.1); } }
@keyframes drift2 { to { transform: translate(-100px, 140px) scale(.92); } }

/* ── Buttons ──────────────────────────────────────────────────────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 54px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; white-space: nowrap;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background-color .3s, border-color .3s;
}
.btn .icon { font-size: 20px; }
.btn-primary {
  background: linear-gradient(180deg, var(--lime-grad-top), var(--lime-grad-bottom));
  color: var(--on-lime);
  box-shadow: 0 10px 30px -10px rgba(203, 242, 74, .55), inset 0 1px 0 rgba(255,255,255,.5);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 44px -12px rgba(203, 242, 74, .7), inset 0 1px 0 rgba(255,255,255,.5); }
.btn-ghost { border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); }
.btn-ghost:hover { border-color: color-mix(in srgb, var(--lime) 50%, var(--line)); transform: translateY(-2px); }

.play-badge { height: 60px; padding: 0 22px 0 18px; gap: 12px; text-align: left; }
.play-badge .pb-text { display: grid; line-height: 1.1; }
.play-badge .pb-small { font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; opacity: .72; }
.play-badge .pb-big { font-family: var(--display); font-size: 16px; font-weight: 600; letter-spacing: -.01em; }
.play-badge .icon { font-size: 26px; stroke-width: 1.5; }

/* ── Nav ──────────────────────────────────────────────────────────────── */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background-color .35s, border-color .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--nav-bg); backdrop-filter: saturate(160%) blur(18px); -webkit-backdrop-filter: saturate(160%) blur(18px); border-color: var(--line); }
.nav-inner { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--display); font-weight: 600; font-size: 21px; letter-spacing: -.03em; }
.brand-mark { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; background: linear-gradient(160deg, var(--lime-grad-top), var(--lime-grad-bottom)); box-shadow: 0 6px 18px -6px rgba(203,242,74,.6), inset 0 1px 0 rgba(255,255,255,.55); }
.brand-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-weight: 600; font-size: 15px; transition: color .25s, background-color .25s; }
.nav-links a:hover { color: var(--text); background: var(--surface); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 70%, transparent); transition: border-color .25s, transform .25s var(--ease); }
.icon-btn:hover { border-color: color-mix(in srgb, var(--lime) 45%, var(--line)); }
.icon-btn .icon { font-size: 19px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) .theme-toggle .i-sun { display: block; }
  :root:not([data-theme="dark"]) .theme-toggle .i-moon { display: none; }
}
.nav-cta { height: 42px; padding: 0 18px; font-size: 14px; }
.menu-btn { display: none; }
.mobile-menu {
  position: fixed; inset: 72px 0 auto 0; z-index: 49;
  background: var(--nav-bg); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--line);
  padding: 8px var(--gutter) 22px;
  display: grid; gap: 4px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .35s var(--ease), opacity .3s, visibility 0s .35s;
}
.mobile-menu.open { transform: none; opacity: 1; visibility: visible; transition: transform .35s var(--ease), opacity .3s; }
.mobile-menu a { padding: 14px 4px; font-family: var(--display); font-size: 20px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-menu a:last-child { border: 0; }

/* ── Hero ─────────────────────────────────────────────────────────────── */
.hero { position: relative; overflow-x: clip; padding: clamp(120px, 16vw, 170px) 0 clamp(60px, 8vw, 110px); }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 26px; justify-items: start; }
.pill {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid var(--line); background: color-mix(in srgb, var(--surface) 75%, transparent);
  font-size: 14px; font-weight: 600; color: var(--muted);
}
.pill b { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: var(--lime); color: var(--on-lime); font-size: 12px; letter-spacing: .03em; }
.pulse-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--on-lime); position: relative; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--on-lime); animation: ping 1.8s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(2.6); opacity: 0; } }

.hero h1 { font-size: clamp(38px, 5.4vw, 70px); letter-spacing: -0.045em; line-height: 1.02; }
.hero h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero h1 .line > span { display: inline-block; transform: translateY(105%); animation: rise 1s var(--ease) forwards; }
.hero h1 .line:nth-child(2) > span { animation-delay: .1s; }
.hero h1 .line:nth-child(3) > span { animation-delay: .2s; }
@keyframes rise { to { transform: none; } }
.hl {
  position: relative; color: var(--on-lime); padding: 0 .12em; margin: 0 -.04em; white-space: nowrap;
  background: linear-gradient(180deg, var(--lime-grad-top), var(--lime-grad-bottom)) no-repeat;
  background-size: 0% 100%; border-radius: .14em;
  animation: hl-sweep .9s .75s var(--ease) forwards;
  color: var(--text);
}
@keyframes hl-sweep { to { background-size: 100% 100%; color: var(--on-lime); } }
.hero .lede { font-size: clamp(17px, 1.6vw, 20px); }
.fade-up { opacity: 0; transform: translateY(18px); animation: fadeUp .9s var(--ease) forwards; }
.d1 { animation-delay: .35s; } .d2 { animation-delay: .5s; } .d3 { animation-delay: .65s; } .d4 { animation-delay: .8s; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 14px; font-weight: 600; }
.trust span { display: inline-flex; align-items: center; gap: 8px; }
.trust .icon { color: var(--lime-text); font-size: 17px; }

/* Hero stage */
.stage { position: relative; display: grid; place-items: center; min-height: 640px; perspective: 1400px; }
.stage-glow { position: absolute; width: 90%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(203,242,74,.28), rgba(203,242,74,.06) 45%, transparent 68%); filter: blur(10px); animation: breathe 6s var(--ease-in-out) infinite; }
@keyframes breathe { 50% { transform: scale(1.07); opacity: .8; } }
.ring { position: absolute; border-radius: 50%; border: 1px dashed color-mix(in srgb, var(--lime) 22%, transparent); }
.ring.r1 { width: 104%; aspect-ratio: 1; animation: spin 60s linear infinite; }
.ring.r2 { width: 78%; aspect-ratio: 1; border-style: solid; border-color: color-mix(in srgb, var(--lime) 10%, transparent); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Phone frame ──────────────────────────────────────────────────────── */
.phone {
  --pw: 318px;
  position: relative; width: var(--pw); aspect-ratio: 9 / 19.5;
  border-radius: calc(var(--pw) * .15);
  padding: calc(var(--pw) * .032);
  background: linear-gradient(145deg, #2a2d35, #0c0d10 40%, #1e2026);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), inset 0 0 0 1px rgba(255,255,255,.05), 0 50px 100px -30px rgba(0,0,0,.75), 0 30px 60px -40px rgba(203,242,74,.35);
}
.phone::before { /* side button */
  content: ""; position: absolute; right: -3px; top: 22%; width: 3px; height: 9%; border-radius: 0 3px 3px 0; background: #25272e;
}
.screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .12); overflow: hidden; background: #070708; isolation: isolate; }
.screen img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.cam { position: absolute; top: 2.1%; left: 50%; width: 3.4%; aspect-ratio: 1; transform: translateX(-50%); border-radius: 50%; background: #000; box-shadow: 0 0 0 2px #111; z-index: 20; }

/* The live app mock inside the hero phone — always the dark app look */
.app {
  --a-bg: #070708; --a-surface: #131418; --a-surface2: #1b1d23; --a-line: #262932; --a-text: #f3f4ee; --a-muted: #8b8e82;
  position: absolute; inset: 0; color: var(--a-text); background: var(--a-bg);
  font-family: var(--body); font-size: 12px; line-height: 1.35;
  padding: 44px 14px 0; display: flex; flex-direction: column; gap: 10px;
}
.app > * { flex-shrink: 0; }
.app-status { position: absolute; top: 0; left: 0; right: 0; height: 36px; padding: 0 22px; display: flex; align-items: center; justify-content: space-between; font-size: 11px; font-weight: 700; }
.app-status .sb-icons { display: flex; gap: 5px; align-items: center; }
.app-status .icon { font-size: 13px; }
.app-head { display: flex; align-items: center; justify-content: space-between; }
.app-head small { display: block; color: var(--a-muted); font-size: 10.5px; font-weight: 600; }
.app-head strong { font-family: var(--display); font-size: 15px; font-weight: 600; letter-spacing: -.02em; }
.app-avatar { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 13px; color: #10130a; background: linear-gradient(160deg, #def96a, #a9ce2a); }
.app-hero {
  position: relative; overflow: hidden; border-radius: 20px; padding: 14px 14px 16px;
  background: radial-gradient(120% 90% at 100% 0%, rgba(203,242,74,.35), transparent 55%), #0d0e10;
  border: 1px solid rgba(203,242,74,.18);
}
.app-hero .ah-top { display: flex; justify-content: space-between; align-items: center; }
.app-hero .ah-label { font-size: 9.5px; font-weight: 800; letter-spacing: .12em; color: rgba(243,244,238,.6); }
.app-seg { display: flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255,255,255,.07); font-size: 9px; font-weight: 800; }
.app-seg span { padding: 3px 7px; border-radius: 999px; color: rgba(243,244,238,.55); }
.app-seg span.on { background: #cbf24a; color: #10130a; }
.app-hero .ah-amt { font-family: var(--display); font-weight: 600; font-size: 28px; letter-spacing: -.03em; margin-top: 8px; color: #cbf24a; }
.app-hero .ah-sub { font-size: 10px; color: rgba(243,244,238,.55); margin-top: 2px; }
.app-hero .ah-sub b { color: #8ce01e; }
.app-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.app-tile { border-radius: 16px; background: var(--a-surface); padding: 10px 11px; border: 1px solid var(--a-line); }
.app-tile small { display: block; font-size: 9.5px; color: var(--a-muted); font-weight: 700; }
.app-tile strong { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: -.02em; }
.app-tile.inc strong { color: #8ce01e; }
.app-section { display: flex; justify-content: space-between; align-items: baseline; margin-top: 2px; }
.app-section b { font-family: var(--display); font-weight: 600; font-size: 12.5px; }
.app-section span { color: #cbf24a; font-size: 10.5px; font-weight: 700; }
.app-list { border-radius: 18px; background: var(--a-surface); border: 1px solid var(--a-line); padding: 2px 10px; }
.row-wrap { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .6s var(--ease); }
.row-wrap.entering { grid-template-rows: 0fr; }
.row-wrap.leaving { grid-template-rows: 0fr; }
.row-wrap > .app-row { overflow: hidden; min-height: 0; }
.app-row { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--a-line); transition: background-color .8s, opacity .5s; }
.row-wrap:last-child .app-row { border-bottom: 0; }
.row-wrap.leaving .app-row { opacity: 0; }
.row-wrap.fresh .app-row { animation: rowFlash 1.8s var(--ease); }
@keyframes rowFlash { 0%, 30% { background: rgba(203,242,74,.10); } 100% { background: transparent; } }
.app-row .meta { flex: 1; min-width: 0; }
.app-row .meta b { display: block; font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-row .meta small { display: flex; align-items: center; gap: 5px; color: var(--a-muted); font-size: 10px; margin-top: 2px; }
.app-row .amt { text-align: right; font-family: var(--display); font-weight: 600; font-size: 12px; letter-spacing: -.02em; }
.app-row .amt small { display: block; font-family: var(--body); color: var(--a-muted); font-size: 9.5px; font-weight: 600; letter-spacing: 0; margin-top: 2px; }
.amt.exp { color: var(--a-text); }
.amt.inc { color: #8ce01e; }
.auto-badge { display: inline-flex; align-items: center; gap: 3px; padding: 1px 5px; border-radius: 6px; background: rgba(203,242,74,.14); color: #cbf24a; font-size: 8.5px; font-weight: 800; letter-spacing: .04em; }
.auto-badge .icon { font-size: 9px; stroke-width: 2.2; }
.app-nav { margin-top: auto; height: 58px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; border-top: 1px solid var(--a-line); background: #070708; margin-left: -14px; margin-right: -14px; padding: 0 6px 6px; }
.app-nav span { display: grid; justify-items: center; gap: 2px; color: #5d5f57; font-size: 8.5px; font-weight: 700; }
.app-nav span.on { color: #cbf24a; }
.app-nav .icon { font-size: 16px; }
.app-nav .fab { width: 40px; height: 40px; border-radius: 14px; place-items: center; place-self: center; color: #10130a; background: linear-gradient(180deg, #def96a, #b6e22f); box-shadow: 0 8px 20px -6px rgba(203,242,74,.7); transform: translateY(-10px); }
.app-nav .fab .icon { font-size: 20px; stroke-width: 2.2; }

/* SMS notification that drops in */
.notif {
  position: absolute; left: 10px; right: 10px; top: 34px; z-index: 10;
  border-radius: 18px; padding: 10px 12px;
  background: rgba(38, 41, 50, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 16px 36px -12px rgba(0,0,0,.8);
  color: #f3f4ee; font-size: 11px; line-height: 1.4;
  transform: translateY(-140%); opacity: 0;
}
.notif.show { animation: notifIn .7s var(--ease) forwards; }
.notif.absorb { animation: notifOut .7s var(--ease-in-out) forwards; }
@keyframes notifIn { from { transform: translateY(-140%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes notifOut { 0% { transform: none; opacity: 1; filter: none; } 100% { transform: translateY(var(--absorb-y, 240px)) scale(.6); opacity: 0; filter: blur(4px); } }
.notif-head { display: flex; align-items: center; gap: 7px; font-size: 10px; color: rgba(243,244,238,.62); font-weight: 700; margin-bottom: 3px; }
.notif-app { width: 16px; height: 16px; border-radius: 5px; display: grid; place-items: center; background: #3b82f6; color: #fff; }
.notif-app .icon { font-size: 10px; stroke-width: 2.2; }
.notif-head time { margin-left: auto; font-weight: 600; }
.notif b { font-weight: 800; }
.notif .body { color: rgba(243,244,238,.86); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.scan-line { position: absolute; left: 0; right: 0; height: 2px; top: 0; background: linear-gradient(90deg, transparent, #cbf24a, transparent); opacity: 0; box-shadow: 0 0 12px #cbf24a; }
.notif.scanning .scan-line { animation: scan 0.9s var(--ease-in-out) forwards; }
@keyframes scan { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 100%; opacity: 0; } }
.notif .tok { border-radius: 4px; transition: background-color .3s, color .3s, box-shadow .3s; }
.notif.scanning .tok.t-amt { background: rgba(203,242,74,.22); color: #cbf24a; box-shadow: 0 0 0 2px rgba(203,242,74,.22); }
.notif.scanning .tok.t-acc { background: rgba(59,130,246,.25); color: #9cc2ff; box-shadow: 0 0 0 2px rgba(59,130,246,.25); transition-delay: .2s; }
.notif.scanning .tok.t-who { background: rgba(245,179,60,.25); color: #ffd48a; box-shadow: 0 0 0 2px rgba(245,179,60,.25); transition-delay: .4s; }

/* Glossy candy tile (app GlossyTile) */
.tile {
  --t: var(--lime); --s: 38px;
  position: relative; flex: none; width: var(--s); height: var(--s); border-radius: calc(var(--s) * .33);
  display: grid; place-items: center; color: #fff; overflow: hidden;
  background: linear-gradient(135deg, color-mix(in srgb, var(--t) 62%, #101116), color-mix(in srgb, var(--t) 20%, #101116));
  box-shadow: 0 5px 16px -5px color-mix(in srgb, var(--t) 70%, transparent);
}
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.22), transparent 50%, rgba(0,0,0,.22)); }
.tile .icon { position: relative; z-index: 1; font-size: calc(var(--s) * .48); }
.tile.sm { --s: 30px; }
.tile.lg { --s: 50px; }
.tile.xl { --s: 60px; }

/* Floating chips around the hero phone */
.float {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px 10px 10px; border-radius: 18px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  font-size: 13px; font-weight: 600; white-space: nowrap;
  opacity: 0; animation: fadeUp .9s var(--ease) forwards;
}
.float small { display: block; color: var(--muted); font-size: 11px; font-weight: 600; }
.float b { font-weight: 800; }
.float-inner { display: flex; align-items: center; gap: 10px; animation: bob 6s var(--ease-in-out) infinite; }
@keyframes bob { 50% { transform: translateY(-8px); } }
.float.f1 { top: 3%; left: calc(50% - 310px); animation-delay: 1.1s; }
.float.f2 { top: 78%; left: calc(50% + 110px); animation-delay: 1.3s; }
.float.f2 .float-inner { animation-delay: -2s; }
.float.f3 { top: 50%; left: calc(50% - 330px); animation-delay: 1.5s; }
.float.f3 .float-inner { animation-delay: -4s; }
.mini-donut { width: 38px; height: 38px; }

/* ── Bank marquee ─────────────────────────────────────────────────────── */
.banks { padding: 10px 0 30px; }
.banks-label { text-align: center; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 22px; }
.banks-label b { color: var(--lime-text); }
.marquee { position: relative; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee.rev .marquee-track { animation-direction: reverse; animation-duration: 70s; }
.marquee + .marquee { margin-top: 12px; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.bank-chip { display: inline-flex; align-items: center; gap: 10px; padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-weight: 700; font-size: 15px; color: var(--muted); white-space: nowrap; }
.bank-chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--lime); opacity: .8; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ── Reveal on scroll ─────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--delay, 0s); }
.reveal.in { opacity: 1; transform: none; }
.reveal.scale { transform: translateY(24px) scale(.96); }
.reveal.scale.in { transform: none; }

/* ── Cards ────────────────────────────────────────────────────────────── */
.card {
  position: relative; overflow: hidden; border-radius: var(--r-lg);
  background: var(--surface); border: 1px solid var(--line);
  transition: border-color .4s, transform .5s var(--ease), box-shadow .5s var(--ease);
}
.card::before { /* cursor spotlight */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity .4s;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), var(--card-glow), transparent 60%);
}
.card:hover::before { opacity: 1; }
.card:hover { border-color: color-mix(in srgb, var(--lime) 28%, var(--line)); }

/* ── How it works ─────────────────────────────────────────────────────── */
.steps { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.steps-line { position: absolute; left: 8%; right: 8%; top: 50px; height: 2px; z-index: 0; }
.steps-line svg { width: 100%; height: 2px; overflow: visible; }
.steps-line .base { stroke: var(--line); }
.steps-line .prog { stroke: var(--lime); stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p, 0)); filter: drop-shadow(0 0 6px var(--lime)); }
.step { position: relative; z-index: 1; padding: 26px; display: grid; gap: 16px; align-content: start; }
.step-num { width: 48px; height: 48px; border-radius: 16px; display: grid; place-items: center; font-family: var(--display); font-weight: 700; font-size: 18px; color: var(--muted); background: var(--surface-2); border: 1px solid var(--line); transition: background .5s var(--ease), color .5s, box-shadow .5s, border-color .5s; }
.step.lit .step-num { background: linear-gradient(180deg, var(--lime-grad-top), var(--lime-grad-bottom)); color: var(--on-lime); border-color: transparent; box-shadow: 0 10px 26px -8px rgba(203,242,74,.6); }
.step p { color: var(--muted); font-size: 15.5px; }
.step-visual { margin-top: 6px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px; min-height: 150px; display: grid; align-content: center; gap: 10px; font-size: 13px; }
.sms-bubble { border-radius: 16px 16px 16px 4px; background: var(--surface-2); padding: 11px 13px; line-height: 1.45; color: var(--text); }
.sms-from { display: flex; align-items: center; gap: 7px; font-size: 11.5px; color: var(--muted); font-weight: 700; }
.sms-from .icon { color: var(--lime-text); }
.parse-text { line-height: 1.9; }
.parse-text mark { background: transparent; color: inherit; border-radius: 5px; padding: 1px 3px; transition: background-color .45s var(--ease), color .45s; }
.step.lit .parse-text mark.m1 { background: color-mix(in srgb, var(--lime) 26%, transparent); color: var(--lime-text); transition-delay: .3s; }
.step.lit .parse-text mark.m2 { background: color-mix(in srgb, var(--blue) 24%, transparent); color: color-mix(in srgb, var(--blue) 70%, var(--text)); transition-delay: .6s; }
.step.lit .parse-text mark.m3 { background: color-mix(in srgb, var(--amber) 26%, transparent); color: color-mix(in srgb, var(--amber) 60%, var(--text)); transition-delay: .9s; }
.step.lit .parse-text mark.m4 { background: color-mix(in srgb, var(--purple) 26%, transparent); color: color-mix(in srgb, var(--purple) 60%, var(--text)); transition-delay: 1.2s; }
.parse-legend { display: flex; flex-wrap: wrap; gap: 6px; }
.parse-legend span { font-size: 11px; font-weight: 700; padding: 3px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.result-row { display: flex; align-items: center; gap: 12px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); padding: 10px 12px; }
.result-row .meta { flex: 1; min-width: 0; }
.result-row .meta b { display: block; font-weight: 700; font-size: 14px; }
.result-row .meta small { color: var(--muted); font-size: 12px; }
.result-row .amt { font-family: var(--display); font-weight: 600; font-size: 14px; }
.tagrow { display: flex; flex-wrap: wrap; gap: 6px; }
.tagpill { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; color: var(--lime-text); background: color-mix(in srgb, var(--lime) 14%, transparent); }
.tagpill .icon { font-size: 12px; }
.step:not(.lit) .pop { opacity: 0; transform: translateY(8px) scale(.96); }
.pop { transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--pd, .3s); }

/* ── Features bento ───────────────────────────────────────────────────── */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.feat { padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 320px; }
.feat.w3 { grid-column: span 3; }
.feat.w2 { grid-column: span 2; }
.feat.w4 { grid-column: span 4; }
.feat p { color: var(--muted); font-size: 15.5px; max-width: 46ch; }
.feat-head { display: flex; align-items: center; gap: 14px; }
.feat-visual { margin-top: auto; position: relative; }

/* review notification visual */
.rv-card { display: grid; gap: 12px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); padding: 16px; }
.rv-top { display: flex; align-items: center; gap: 12px; }
.rv-top .meta { flex: 1; }
.rv-top b { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -.02em; }
.rv-top small { display: block; color: var(--muted); font-size: 12.5px; }
.countdown { position: relative; width: 50px; height: 50px; flex: none; }
.countdown svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.countdown circle { fill: none; stroke-width: 4; }
.countdown .track { stroke: var(--surface-2); }
.countdown .bar { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: 126; stroke-dashoffset: 0; }
.countdown.run .bar { animation: countdown 8s linear infinite; }
@keyframes countdown { to { stroke-dashoffset: 126; } }
.countdown span { position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 800; }
.rv-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.chipbtn { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; font-size: 13px; font-weight: 700; background: var(--surface); border: 1px solid var(--line); transition: transform .3s var(--ease), background-color .3s, border-color .3s, color .3s; }
.chipbtn .icon { font-size: 15px; }
.chipbtn.pick { background: var(--lime); color: var(--on-lime); border-color: transparent; transform: scale(1.04); }
.chipbtn.ghost { color: var(--muted); }

/* voice visual */
.voice { display: grid; gap: 14px; border-radius: 20px; background: var(--bg-2); border: 1px solid var(--line); padding: 16px; }
.voice-top { display: flex; align-items: center; gap: 12px; }
.mic-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, var(--lime-grad-top), var(--lime-grad-bottom)); color: var(--on-lime); flex: none; }
.mic-btn .icon { font-size: 22px; }
.mic-btn::before, .mic-btn::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--lime); animation: ripple 2.4s var(--ease) infinite; opacity: 0; }
.mic-btn::after { animation-delay: 1.2s; }
@keyframes ripple { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }
.wave { display: flex; align-items: center; gap: 3px; height: 34px; flex: 1; }
.wave i { flex: 1; max-width: 4px; border-radius: 3px; background: var(--lime); height: 20%; animation: wave 1.1s var(--ease-in-out) infinite; animation-delay: calc(var(--i) * -0.09s); opacity: .85; }
@keyframes wave { 0%, 100% { height: 18%; } 50% { height: 100%; } }
.voice-text { font-family: var(--display); font-weight: 500; font-size: 15px; letter-spacing: -.01em; min-height: 2.6em; }
.voice-text .caret { display: inline-block; width: 2px; height: 1.05em; background: var(--lime); vertical-align: -3px; margin-left: 2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.voice-out { display: flex; flex-wrap: wrap; gap: 6px; }
.voice-out span { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); opacity: 0; transform: translateY(6px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.voice-out span.on { opacity: 1; transform: none; }
.voice-out span em { font-style: normal; color: var(--muted); font-weight: 600; margin-right: 4px; }

/* budgets visual */
.bud { display: grid; gap: 14px; }
.bud-row { display: grid; gap: 7px; }
.bud-row .top { display: flex; justify-content: space-between; font-size: 13.5px; font-weight: 700; }
.bud-row .top span:last-child { color: var(--muted); font-weight: 600; }
.track { height: 9px; border-radius: 99px; background: var(--surface-2); overflow: hidden; }
.track i { display: block; height: 100%; width: 0; border-radius: inherit; background: var(--c, var(--lime)); transition: width 1.4s var(--ease); transition-delay: var(--delay, 0s); box-shadow: 0 0 14px -2px var(--c, var(--lime)); }
.in .track i { width: var(--w); }

/* recurring list */
.rec { display: grid; gap: 2px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: 6px 12px; }
.rec-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.rec-row:last-child { border: 0; }
.rec-row .meta { flex: 1; min-width: 0; }
.rec-row b { display: block; font-size: 14px; }
.rec-row small { color: var(--muted); font-size: 12px; }
.rec-row .amt { font-family: var(--display); font-weight: 600; font-size: 13.5px; }
.due-chip { font-size: 10.5px; font-weight: 800; padding: 2px 7px; border-radius: 6px; background: color-mix(in srgb, var(--amber) 18%, transparent); color: color-mix(in srgb, var(--amber) 75%, var(--text)); margin-left: 6px; }

/* investments visual */
.inv { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; align-items: stretch; }
.inv-chart { border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: 16px; display: grid; gap: 4px; align-content: start; }
.inv-chart small { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.inv-chart strong { font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
.inv-chart .gain { color: var(--income); font-weight: 800; font-size: 13px; }
.inv-chart svg { width: 100%; height: 110px; margin-top: 8px; overflow: visible; }
.inv-line { fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 2s var(--ease); }
.inv-area { fill: url(#invGrad); opacity: 0; transition: opacity 1.2s .8s var(--ease); }
.in .inv-line { stroke-dashoffset: 0; }
.in .inv-area { opacity: 1; }
.holdings { display: grid; gap: 8px; }
.hold { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line); }
.hold .meta { flex: 1; min-width: 0; }
.hold b { display: block; font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hold small { color: var(--muted); font-size: 11.5px; }
.hold .amt { text-align: right; font-family: var(--display); font-weight: 600; font-size: 13px; }
.hold .amt small { display: block; font-family: var(--body); font-weight: 700; color: var(--income); }
.src { display: inline-block; font-size: 9.5px; font-weight: 800; letter-spacing: .06em; padding: 2px 6px; border-radius: 5px; margin-left: 5px; vertical-align: 1px; }
.src-nav { background: color-mix(in srgb, var(--lime) 16%, transparent); color: var(--lime-text); }
.src-live { background: color-mix(in srgb, var(--blue) 18%, transparent); color: color-mix(in srgb, var(--blue) 75%, var(--text)); }
.src-man { background: var(--surface-2); color: var(--muted); }

/* lending visual */
.lend { display: grid; gap: 10px; }
.lend-card { display: flex; align-items: center; gap: 12px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); padding: 14px; }
.lend-card .meta { flex: 1; }
.lend-card b { display: block; font-size: 14.5px; }
.lend-card small { color: var(--muted); font-size: 12.5px; }
.lend-card .amt { font-family: var(--display); font-weight: 600; color: var(--amber); }
.bell { color: var(--amber); transform-origin: 50% 10%; }
.in .bell { animation: ring 2.8s 1s var(--ease-in-out) infinite; }
@keyframes ring { 0%, 60%, 100% { transform: rotate(0); } 10% { transform: rotate(16deg); } 20% { transform: rotate(-14deg); } 30% { transform: rotate(10deg); } 40% { transform: rotate(-6deg); } 50% { transform: rotate(2deg); } }

/* widgets visual */
.widgets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.wdg { border-radius: 20px; padding: 14px; background: #0d0e10; border: 1px solid #262932; color: #f3f4ee; display: grid; gap: 4px; }
.wdg small { font-size: 10.5px; font-weight: 800; letter-spacing: .1em; color: #8b8e82; }
.wdg strong { font-family: var(--display); font-size: 18px; font-weight: 600; letter-spacing: -.03em; }
.wdg.lime strong { color: #cbf24a; }
.wdg.red strong { color: #ff6b57; }
.wdg.cats { grid-column: span 2; grid-template-columns: auto 1fr; align-items: center; gap: 16px; }
.wdg.cats svg { width: 74px; height: 74px; }
.wdg-legend { display: grid; gap: 5px; font-size: 12px; }
.wdg-legend div { display: flex; align-items: center; gap: 7px; }
.wdg-legend i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.wdg-legend span { margin-left: auto; color: #8b8e82; font-weight: 700; }

/* export visual */
.exports { display: flex; flex-wrap: wrap; gap: 10px; }
.file { display: grid; justify-items: center; gap: 8px; width: 88px; padding: 16px 8px 12px; border-radius: 18px; background: var(--bg-2); border: 1px solid var(--line); font-size: 12px; font-weight: 800; transition: transform .5s var(--ease); }
.file:hover { transform: translateY(-6px) rotate(-2deg); }
.file-ic { width: 40px; height: 48px; border-radius: 8px 14px 8px 8px; display: grid; place-items: end center; padding-bottom: 6px; font-size: 10px; font-weight: 900; color: #fff; background: var(--c); box-shadow: 0 10px 20px -10px var(--c); }

/* ── Insights showcase ────────────────────────────────────────────────── */
.insights { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.tabs { display: grid; gap: 10px; margin-top: 30px; }
.tab { display: grid; grid-template-columns: auto 1fr; gap: 4px 14px; text-align: left; padding: 16px 18px; border-radius: 20px; border: 1px solid transparent; transition: background-color .35s, border-color .35s; position: relative; overflow: hidden; }
.tab .tile { grid-row: span 2; }
.tab b { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.tab > span:not(.tile) { color: var(--muted); font-size: 14.5px; }
.tab[aria-selected="true"] { background: var(--surface); border-color: var(--line); }
.tab .prog { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--lime); }
.tab[aria-selected="true"] .prog.run { animation: tabprog var(--dur, 5s) linear forwards; }
@keyframes tabprog { to { width: 100%; } }
.chart-card { padding: clamp(18px, 3vw, 30px); display: grid; gap: 18px; min-height: 470px; align-content: start; }
.chart-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.chart-top small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.chart-top strong { font-family: var(--display); font-size: clamp(24px, 3vw, 32px); font-weight: 600; letter-spacing: -.03em; }
.delta { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 13px; font-weight: 800; background: color-mix(in srgb, var(--income) 16%, transparent); color: var(--income); }
.delta.bad { background: color-mix(in srgb, var(--expense) 16%, transparent); color: var(--expense); }
.chart-area { position: relative; min-height: 260px; }
.chart-pane { position: absolute; inset: 0; opacity: 0; transform: translateY(12px) scale(.985); transition: opacity .5s var(--ease), transform .6s var(--ease); pointer-events: none; }
.chart-pane.on { position: relative; opacity: 1; transform: none; pointer-events: auto; }
.chart-pane svg { width: 100%; height: auto; overflow: visible; }
.chart-pane text { font-family: var(--body); font-size: 10px; font-weight: 700; fill: var(--muted); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--muted); font-weight: 600; }
.legend span { display: inline-flex; align-items: center; gap: 7px; }
.legend i { width: 9px; height: 9px; border-radius: 3px; background: var(--c); }
.donut-wrap { display: grid; grid-template-columns: 200px 1fr; gap: 26px; align-items: center; }
.cat-list { display: grid; gap: 12px; }
.cat-row { display: grid; gap: 6px; }
.cat-row .top { display: flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 700; }
.cat-row .top i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.cat-row .top span { margin-left: auto; font-family: var(--display); font-weight: 600; font-size: 12.5px; }
.cat-row .top em { font-style: normal; color: var(--muted); font-size: 12px; font-weight: 700; }
.cat-row .track { height: 6px; }
.note {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px; border-radius: 16px; background: var(--bg-2); border: 1px solid var(--line);
  font-size: 14.5px; color: var(--muted);
}
.note .icon { font-size: 20px; color: var(--lime-text); margin-top: 1px; }
.note b { color: var(--income); }

/* ── Screens gallery ──────────────────────────────────────────────────── */
.gallery-wrap { position: relative; }
.gallery {
  display: flex; gap: clamp(18px, 3vw, 36px);
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 40px max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))) 50px;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gallery::-webkit-scrollbar { display: none; }
.shot { flex: none; scroll-snap-align: center; display: grid; gap: 18px; justify-items: center; }
.shot .phone { --pw: clamp(230px, 24vw, 280px); transition: transform .6s var(--ease); }
.shot figcaption { text-align: center; display: grid; gap: 2px; max-width: 250px; }
.shot figcaption b { font-family: var(--display); font-weight: 600; font-size: 15px; letter-spacing: -.02em; }
.shot figcaption span { color: var(--muted); font-size: 14px; }
.gallery-ctrl { display: flex; justify-content: center; gap: 10px; }
.gallery-ctrl .icon-btn { width: 48px; height: 48px; border-radius: 50%; }
.back-icon { transform: rotate(180deg); }

/* ── Privacy ──────────────────────────────────────────────────────────── */
.privacy { overflow-x: clip; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.vault { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; margin: 0 auto; display: grid; place-items: center; }
.vault .orbit { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.vault .o1 { inset: 0; }
.vault .o2 { inset: 14%; border-style: dashed; border-color: color-mix(in srgb, var(--lime) 25%, var(--line)); animation: spin 40s linear infinite; }
.vault .o3 { inset: 28%; }
.vault .sat { position: absolute; top: -21px; left: 50%; margin-left: -21px; }
.vault .spin { position: absolute; inset: 0; animation: spin 28s linear infinite; }
.vault .spin.s2 { inset: 14%; animation-duration: 36s; animation-direction: reverse; }
.vault .spin .sat .tile { animation: spin 28s linear infinite reverse; }
.vault .spin.s2 .sat .tile { animation: spin 36s linear infinite; }
.vault .spin.s2 .sat { top: auto; bottom: -19px; }
.vault-core { position: relative; width: 34%; aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; color: var(--on-lime); background: linear-gradient(160deg, var(--lime-grad-top), var(--lime-grad-bottom)); box-shadow: 0 0 0 10px color-mix(in srgb, var(--lime) 10%, transparent), 0 0 80px -10px rgba(203,242,74,.6), inset 0 2px 0 rgba(255,255,255,.5); }
.vault-core .icon { width: 44%; height: 44%; stroke-width: 1.6; }
.vault-core::after { content: ""; position: absolute; inset: -10px; border-radius: 34%; border: 2px solid var(--lime); opacity: 0; animation: ping-soft 3s var(--ease) infinite; }
@keyframes ping-soft { 0% { transform: scale(.9); opacity: .6; } 100% { transform: scale(1.5); opacity: 0; } }
.priv-list { display: grid; gap: 14px; margin-top: 34px; }
.priv { display: grid; grid-template-columns: auto 1fr; gap: 3px 16px; padding: 18px; border-radius: 20px; }
.priv .tile { grid-row: span 2; }
.priv b { font-family: var(--display); font-weight: 600; font-size: 16px; letter-spacing: -.02em; }
.priv > span:not(.tile) { color: var(--muted); font-size: 15px; }

/* ── Stats strip ──────────────────────────────────────────────────────── */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stat { padding: 26px; display: grid; gap: 6px; }
.stat strong { font-family: var(--display); font-weight: 600; font-size: clamp(32px, 4vw, 46px); letter-spacing: -.04em; line-height: 1; color: var(--lime-text); }
.stat span { color: var(--muted); font-size: 15px; font-weight: 600; }

/* ── FAQ ──────────────────────────────────────────────────────────────── */
.faq { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.qa { border-radius: 22px; }
.qa summary { list-style: none; cursor: pointer; padding: 22px 24px; display: flex; align-items: center; gap: 16px; font-family: var(--display); font-weight: 500; font-size: clamp(16px, 1.6vw, 18px); letter-spacing: -.015em; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .pm { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); flex: none; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.qa[open] summary .pm { transform: rotate(45deg); background: var(--lime); color: var(--on-lime); }
.qa .ans { display: grid; grid-template-rows: 1fr; transition: grid-template-rows .45s var(--ease); }
.qa.pre .ans, .qa.closing .ans { grid-template-rows: 0fr; }
.qa.closing summary .pm { transform: none; background: var(--surface-2); color: inherit; }
.qa .ans > div { overflow: hidden; }
.qa .ans p { padding: 0 24px 22px; color: var(--muted); font-size: 16px; max-width: 70ch; }
.qa .ans a { color: var(--lime-text); font-weight: 700; }

/* ── Final CTA ────────────────────────────────────────────────────────── */
.cta {
  position: relative; overflow: hidden; border-radius: 36px; padding: clamp(40px, 7vw, 90px) clamp(22px, 5vw, 70px);
  background: radial-gradient(90% 120% at 100% 0%, rgba(203,242,74,.35), transparent 55%), radial-gradient(70% 90% at 0% 100%, rgba(140,224,30,.15), transparent 60%), #0d0e10;
  border: 1px solid rgba(203,242,74,.22);
  color: #f3f4ee; display: grid; grid-template-columns: 1.2fr .8fr; gap: 30px; align-items: center;
}
.cta h2 { font-size: clamp(30px, 4.6vw, 56px); }
.cta p { color: rgba(243,244,238,.7); font-size: clamp(16px, 1.5vw, 18px); margin-top: 16px; max-width: 48ch; }
.cta .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.cta .btn-ghost { color: #f3f4ee; border-color: rgba(255,255,255,.16); background: rgba(255,255,255,.04); }
.cta-mark { justify-self: center; width: min(240px, 60vw); aspect-ratio: 1; border-radius: 30%; display: grid; place-items: center; background: linear-gradient(160deg, #def96a, #b6e22f); box-shadow: 0 40px 100px -20px rgba(203,242,74,.55), inset 0 3px 0 rgba(255,255,255,.55); transform: rotate(-8deg); animation: floaty 7s var(--ease-in-out) infinite; }
.cta-mark svg { width: 58%; height: 58%; }
.cta-mark .rs path { stroke-dasharray: 1; stroke-dashoffset: 1; }
.in .cta-mark .rs path { animation: draw .7s var(--ease) forwards; }
.in .cta-mark .rs path:nth-child(2) { animation-delay: .25s; }
.in .cta-mark .rs path:nth-child(3) { animation-delay: .5s; }
.in .cta-mark .rs path:nth-child(4) { animation-delay: .75s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes floaty { 50% { transform: rotate(-4deg) translateY(-12px); } }

/* ── Footer ───────────────────────────────────────────────────────────── */
.footer { padding: 50px 0 40px; border-top: 1px solid var(--line); margin-top: clamp(60px, 9vw, 120px); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.footer p { color: var(--muted); font-size: 14px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.footer-links a:hover { color: var(--text); }

/* ── Legal (privacy page) ─────────────────────────────────────────────── */
.legal { padding: 130px 0 40px; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: clamp(34px, 5vw, 56px); letter-spacing: -.04em; margin: 16px 0 14px; }
.legal .meta-line { color: var(--muted); font-size: 15px; }
.legal .summary { margin: 34px 0 10px; padding: 22px 24px; display: grid; gap: 12px; }
.legal .summary li { color: var(--text); }
.legal h2 { font-size: clamp(21px, 2.4vw, 26px); letter-spacing: -.025em; margin: 50px 0 14px; }
.legal h3 { font-size: 17px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--muted); font-size: 16.5px; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; display: grid; gap: 8px; margin: 12px 0; }
.legal li::marker { color: var(--lime-text); }
.legal strong { color: var(--text); }
.legal a { color: var(--lime-text); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.legal table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.legal th, .legal td { text-align: left; padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--muted); }
.legal th { color: var(--text); font-weight: 700; }
.table-scroll { overflow-x: auto; }

/* ── Responsive ───────────────────────────────────────────────────────── */
@media (max-width: 1080px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .feat.w2, .feat.w3, .feat.w4 { grid-column: span 1; }
  .feat.wide-md { grid-column: span 2; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 920px) {
  .nav-links, .nav-cta { display: none; }
  .menu-btn { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { justify-items: center; text-align: center; }
  .hero .lede { margin: 0 auto; }
  .hero-ctas, .trust { justify-content: center; }
  .stage { min-height: 0; padding: 30px 0 10px; }
  .steps { grid-template-columns: 1fr; }
  .steps-line { display: none; }
  .insights { grid-template-columns: 1fr; }
  .privacy { grid-template-columns: 1fr; }
  .vault { max-width: 380px; order: -1; }
  .cta { grid-template-columns: 1fr; text-align: center; }
  .cta p { margin-left: auto; margin-right: auto; }
  .cta .ctas { justify-content: center; }
  .cta-mark { order: -1; width: 150px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-inner { height: 64px; }
  .mobile-menu { top: 64px; }
  .bento { grid-template-columns: 1fr; }
  .feat.wide-md { grid-column: span 1; }
  .feat { padding: 22px; min-height: 0; }
  .inv { grid-template-columns: 1fr; }
  .donut-wrap { grid-template-columns: 1fr; justify-items: center; }
  .donut-wrap svg { max-width: 190px; }
  .cat-list { width: 100%; }
  .float { display: none; }
  .phone { --pw: min(290px, 78vw); }
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 20px; }
  .chart-card { min-height: 0; }
  .chart-area { min-height: 0; }
  .chart-pane text { font-size: 14px; }
  .tab { padding: 14px; }
  .qa summary { padding: 18px 18px; }
  .qa .ans p { padding: 0 18px 18px; }
  .btn { height: 52px; }
  .hero-ctas .btn { width: 100%; }
  .play-badge { justify-content: center; }
  .cta .ctas .btn { width: 100%; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .hero h1 { font-size: 36px; }
  .stats { grid-template-columns: 1fr; }
  .widgets { grid-template-columns: 1fr; }
  .wdg.cats { grid-column: span 1; }
}

/* ── Reduced motion: everything lands in its final state ─────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal, .fade-up, .float { opacity: 1 !important; transform: none !important; }
  .hero h1 .line > span { transform: none; }
  .marquee-track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

.legal code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88em; padding: 2px 6px; border-radius: 6px; background: var(--surface-2); color: var(--text); overflow-wrap: anywhere; }

/* Two-column hero gets too tight for the floating chips between these widths. */
@media (min-width: 921px) and (max-width: 1100px) { .float { display: none; } }
