/* Duit Tracker landing page. Tokens and components follow the app's design
   system (docs/duit-ui-revamp/01-design-system.md). Legal pages keep style.css. */

:root {
  --bg: #F4F5F8;
  --surface: #FFFFFF;
  --surface-2: #EEF0F4;
  --line: #E2E5EB;
  --ink: #0E1426;
  --ink-2: #4E5568;
  --ink-3: #6B7285;
  --navy: #14287A;
  --navy-2: #1F3FA6;
  --navy-soft: #E9EDFA;
  --navy-ink: #1F3FA6;
  --on-navy: #FFFFFF;
  --on-navy-2: #BAC5EE;
  --yellow: #F5B91E;
  --on-yellow: #231A00;
  --yellow-soft: #FFF4D4;
  --yellow-ink: #7A5600;
  --red: #C9222C;
  --red-soft: #FCEBEC;
  --green: #147A52;
  --green-soft: #E3F3EB;
  --dock: #0E1D5A;
  --deep: #0C1A52;
  --c1: #2F4FC0; --c2: #D99A00; --c3: #D9343C; --c4: #3E8FE0; --c5: #9A6400; --c6: #A3AAC0;

  --display: "Sora", system-ui, sans-serif;
  --body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.45, .55, 1);
  --wrap: 1180px;
  --gutter: 16px;
  color-scheme: light;
}
:root[data-theme="dark"] {
    --bg: #0F1013;
    --surface: #18191D;
    --surface-2: #222328;
    --line: #2B2D33;
    --ink: #F2F3F5;
    --ink-2: #AEB1BA;
    --ink-3: #8B8F99;
    --navy: #1A3592;
    --navy-2: #2A4BBE;
    --navy-soft: #1F2333;
    --navy-ink: #9FB4FF;
    --on-navy-2: #C0CBF2;
    --yellow: #F7C23A;
    --yellow-soft: #2A2414;
    --yellow-ink: #F7C95A;
    --red: #FF6B72;
    --red-soft: #33191C;
    --green: #45CC92;
    --green-soft: #132A20;
    --dock: #1A3080;
    --deep: #0A1338;
    --c1: #5E7EF0; --c2: #C9921A; --c3: #E8545A; --c4: #2C9AD4; --c5: #B07818; --c6: #6A7080;
    color-scheme: dark;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0F1013;
    --surface: #18191D;
    --surface-2: #222328;
    --line: #2B2D33;
    --ink: #F2F3F5;
    --ink-2: #AEB1BA;
    --ink-3: #8B8F99;
    --navy: #1A3592;
    --navy-2: #2A4BBE;
    --navy-soft: #1F2333;
    --navy-ink: #9FB4FF;
    --on-navy-2: #C0CBF2;
    --yellow: #F7C23A;
    --yellow-soft: #2A2414;
    --yellow-ink: #F7C95A;
    --red: #FF6B72;
    --red-soft: #33191C;
    --green: #45CC92;
    --green-soft: #132A20;
    --dock: #1A3080;
    --deep: #0A1338;
    --c1: #5E7EF0; --c2: #C9921A; --c3: #E8545A; --c4: #2C9AD4; --c5: #B07818; --c6: #6A7080;
    color-scheme: dark;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h, 66px); -webkit-text-size-adjust: 100%; overflow-x: hidden; overflow-x: clip; }
body, main { max-width: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 16px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-x: clip;
  transition: background-color .3s;
}
img { display: block; max-width: 100%; }
a { color: var(--navy-ink); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; text-wrap: balance; }
.sec-lede, .lede, .final p { text-wrap: pretty; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.num { font-variant-numeric: tabular-nums; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 max(var(--gutter), env(safe-area-inset-left)); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 8px; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--yellow); color: var(--on-yellow); padding: 10px 16px; border-radius: 12px; font-weight: 800; text-decoration: none; }
.skip:focus { top: 12px; }
@media (min-width: 720px) { :root { --gutter: 28px; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: 16px; border: 0;
  font: 800 15px/1.2 var(--body); text-decoration: none; cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s;
}
.btn:active { transform: scale(.96); }
.btn .i { width: 18px; height: 18px; }
.btn-lg { padding: 16px 24px; font-size: 16px; border-radius: 18px; }
.btn-sm { padding: 9px 15px; font-size: 13.5px; border-radius: 13px; }
.btn-yellow { background: var(--yellow); color: var(--on-yellow); box-shadow: 0 10px 24px -8px rgba(201,140,0,.6); }
.btn-yellow:hover { box-shadow: 0 14px 30px -8px rgba(201,140,0,.75); transform: translateY(-1px); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-2); }
.btn-ghost-on-navy { background: rgba(255,255,255,.1); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); }
.btn-ghost-on-navy:hover { background: rgba(255,255,255,.16); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-top: env(safe-area-inset-top);
  background: color-mix(in srgb, var(--deep) 94%, transparent);
  backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4);
  transition: box-shadow .3s;
}
.nav-in { max-width: var(--wrap); margin: 0 auto; padding: 12px var(--gutter); display: flex; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; font: 700 17px var(--display); letter-spacing: -.01em; }
.brand img { width: 34px; height: 34px; border-radius: 10px; }
.nav-links { display: flex; gap: 4px; margin-left: auto; }
.nav-links a { color: rgba(255,255,255,.82); text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 12px; border-radius: 10px; transition: background .2s, color .2s; }
.nav-links a:hover { color: #fff; background: rgba(255,255,255,.1); }
.nav.solid { box-shadow: 0 1px 0 rgba(255,255,255,.08), 0 10px 30px -10px rgba(5,10,32,.5); }
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 12px; border: 0; background: rgba(255,255,255,.1); cursor: pointer; position: relative; }
.nav-toggle span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: transform .25s var(--ease); }
.nav-toggle span:first-child { top: 16px; }
.nav-toggle span:last-child { top: 24px; }
.nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
@media (max-width: 899px) {
  .nav-in > .btn { margin-left: auto; }
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; left: 12px; right: 12px; top: calc(100% + 4px);
    flex-direction: column; gap: 2px; padding: 8px;
    background: var(--deep); border-radius: 20px; box-shadow: 0 20px 40px rgba(5,10,32,.4);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; visibility: hidden;
    transition: opacity .2s, transform .25s var(--ease), visibility 0s .25s;
  }
  .nav-links.open { opacity: 1; transform: none; pointer-events: auto; visibility: visible; transition: opacity .2s, transform .25s var(--ease); }
  .nav-links a { padding: 13px 14px; font-size: 16px; }
}
.nav-links .nav-cta-m { display: none; }
@media (max-width: 420px) {
  .nav-in > .btn { display: none; }
  .nav-toggle { margin-left: auto; }
  .nav-links .nav-cta-m { display: block; margin-top: 6px; text-align: center; background: var(--yellow); color: var(--on-yellow); font-weight: 800; }
}

/* ---------- Shared bits ---------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font: 800 12px/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--navy-ink); }
.eyebrow-on-navy { color: var(--on-navy-2); }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(245,185,30,.2); }
.hl-yellow { color: var(--yellow); }
.sec-head { max-width: 760px; margin: 0 auto 48px; text-align: center; display: grid; gap: 16px; justify-items: center; }
.sec-head.left { text-align: left; justify-items: start; margin: 0; }
.sec-head h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
.sec-head h2 em { font-style: normal; color: var(--navy-ink); }
.sec-lede { font-size: clamp(16px, 1.6vw, 19px); color: var(--ink-2); max-width: 600px; }
section { position: relative; overflow-x: clip; }
.tile { width: 40px; height: 40px; border-radius: 13px; background: var(--surface-2); color: var(--ink-2); display: grid; place-items: center; flex: none; }
.tile .i { width: 20px; height: 20px; }
.tile-navy { background: var(--navy-soft); color: var(--navy-ink); }
.tile-yellow { background: var(--yellow-soft); color: var(--yellow-ink); }
.tile-yellow-fill { background: var(--yellow); color: var(--on-yellow); box-shadow: 0 10px 24px -6px rgba(201,140,0,.55); }
.tile-lg { width: 52px; height: 52px; border-radius: 17px; }
.tile-lg .i { width: 24px; height: 24px; }
.pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px; border-radius: 999px; font: 800 11px/1.4 var(--body); white-space: nowrap; }
.pill .i { width: 12px; height: 12px; stroke-width: 2.2; }
.pill.ok { background: var(--green-soft); color: var(--green); }
.pill.warn { background: var(--yellow-soft); color: var(--yellow-ink); }
.pill.over { background: var(--red-soft); color: var(--red); }
.pill.mute { background: var(--surface-2); color: var(--ink-2); }
.ticks { display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
.ticks .i { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: var(--green-soft); color: var(--green); stroke-width: 2.4; margin-top: 1px; }

/* ---------- Phone (mirrors the app at 342 pt wide) ---------- */
.phone {
  --pw: 330px;
  width: var(--pw); aspect-ratio: 330 / 690; flex: none;
  padding: 9px; border-radius: 48px;
  background: linear-gradient(160deg, #1d2236, #0b0e19 60%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.08) inset, 0 50px 90px -30px rgba(5,10,32,.7), 0 18px 40px -20px rgba(5,10,32,.5);
  position: relative;
}
[data-theme="dark"] .phone { box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 0 0 1px rgba(159,180,255,.12), 0 50px 90px -30px rgba(0,0,0,.8); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .phone { box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset, 0 0 0 1px rgba(159,180,255,.12), 0 50px 90px -30px rgba(0,0,0,.8); }
}
.screen {
  position: relative; height: 100%; border-radius: 40px; overflow: hidden;
  background: var(--bg); color: var(--ink);
  font-size: 13px; line-height: 1.4;
  isolation: isolate;
}
.sbar { display: flex; justify-content: space-between; align-items: center; padding: 12px 24px 4px; font-size: 12px; }
.sbar-r { display: flex; gap: 5px; }
.sbar-r i { display: block; width: 14px; height: 9px; border-radius: 2px; background: currentColor; }
.sbar-r i:first-child { width: 10px; clip-path: polygon(100% 0, 100% 100%, 0 100%); border-radius: 0; }
.app-top { display: flex; align-items: flex-end; justify-content: space-between; padding: 6px 16px 12px; }
.greet { display: block; font-weight: 700; font-size: 11.5px; color: var(--ink-3); }
.app-top .title { font: 700 23px/1.3 var(--display); letter-spacing: -.02em; }
.ibs { display: flex; gap: 8px; }
.ib { width: 36px; height: 36px; border-radius: 12px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); display: grid; place-items: center; position: relative; }
.ib .i { width: 18px; height: 18px; }
.ib[data-badge]::after { content: attr(data-badge); position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 9px; background: var(--yellow); color: var(--on-yellow); font: 800 10px/18px var(--body); text-align: center; border: 2px solid var(--bg); }
.hcard {
  margin: 0 14px; padding: 14px 16px 16px; border-radius: 24px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(120% 90% at 0 0, rgba(255,255,255,.1), transparent 50%), linear-gradient(150deg, var(--navy-2), var(--navy) 62%);
}
.hcard-flag { position: absolute; top: 0; right: 0; width: 96px; height: 68px; }
.hl { font-weight: 600; font-size: 11.5px; color: var(--on-navy-2); }
.big { font: 700 30px/1.15 var(--display); letter-spacing: -.03em; margin: 2px 0 10px; }
.big small { font-size: 16px; font-weight: 600; opacity: .75; margin-right: 4px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.split > div { background: rgba(255,255,255,.1); border-radius: 13px; padding: 8px 10px; }
.split .lab { display: flex; align-items: center; gap: 5px; font-size: 10.5px; color: var(--on-navy-2); font-weight: 600; }
.split .lab i { width: 6px; height: 6px; border-radius: 50%; }
.split .lab i.g { background: #5BE0A5; }
.split .lab i.r { background: #FF7C82; }
.split b { font-size: 13px; }
.meter { height: 6px; border-radius: 3px; background: rgba(255,255,255,.16); margin: 12px 0 6px; overflow: hidden; }
.meter span { display: block; height: 100%; background: var(--yellow); border-radius: 3px; transition: width .8s var(--ease); }
.meter-lab { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--on-navy-2); font-weight: 600; }
.screen .sec { display: flex; justify-content: space-between; padding: 14px 20px 6px; font-weight: 700; font-size: 11.5px; color: var(--ink-3); }
.screen .list { margin: 0 14px; background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tx { display: flex; align-items: center; gap: 11px; padding: 10px 12px; position: relative; }
.tx + .tx { box-shadow: inset 0 1px 0 var(--line); }
.tx .tile { width: 36px; height: 36px; border-radius: 12px; }
.tx .tile .i { width: 18px; height: 18px; }
.mid { flex: 1; min-width: 0; display: grid; }
.mid b { font-weight: 700; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mid small { font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.amt { display: grid; justify-items: end; gap: 2px; }
.amt b { font-weight: 700; font-size: 13px; white-space: nowrap; }
.amt .pill { font-size: 9.5px; padding: 1px 7px; }
.tx.fx-new { animation: fxIn .5s var(--ease) both, fxRow 2.2s ease-out both; }
@keyframes fxIn { from { opacity: 0; transform: translateY(-10px) scale(.97); } }
@keyframes fxRow { from { background: color-mix(in srgb, var(--green) 28%, var(--surface)); } to { background: var(--surface); } }
.fab { position: absolute; right: 16px; bottom: 86px; width: 50px; height: 50px; border-radius: 18px; background: var(--yellow); color: var(--on-yellow); display: grid; place-items: center; box-shadow: 0 10px 24px -6px rgba(201,140,0,.55); z-index: 3; }
.fab .i { width: 24px; height: 24px; stroke-width: 2.2; }
.dock { position: absolute; left: 10px; right: 10px; bottom: 12px; display: flex; justify-content: space-between; padding: 6px; border-radius: 24px; background: var(--dock); box-shadow: 0 12px 30px rgba(5,10,32,.35); z-index: 3; }
.dock span { flex: 1; display: grid; justify-items: center; gap: 2px; padding: 6px 0; border-radius: 16px; font-size: 9px; font-weight: 600; color: #A3AED8; }
.dock span .i { width: 18px; height: 18px; }
.dock span.on { color: var(--navy); background: #fff; font-weight: 800; }
.phone-hero .screen::after { content: ""; position: absolute; inset: auto 0 0; height: 80px; background: linear-gradient(transparent, var(--bg) 70%); z-index: 2; pointer-events: none; }

/* Heads-up alert and notification cards */
.bank-tile { width: 20px; height: 20px; border-radius: 6px; background: #FFC72C; color: #1a1300; display: grid; place-items: center; font: 800 6.5px/1 var(--body); letter-spacing: -.02em; flex: none; }
.bt-cimb { background: #ED1C24; color: #fff; font-size: 6px; }
.bt-tng { background: #005ABB; color: #fff; }
.bt-grab { background: #00B14F; color: #fff; font-size: 6px; }
.headsup, .notif {
  background: color-mix(in srgb, var(--surface) 94%, transparent);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-radius: 20px; padding: 10px 12px 11px;
  box-shadow: 0 14px 34px -8px rgba(13,21,49,.38), inset 0 0 0 1px var(--line);
}
.headsup { position: absolute; left: 10px; right: 10px; top: 32px; z-index: 6; transform: translateY(-140%); opacity: 0; }
.headsup.show { animation: huIn .5s cubic-bezier(.2,.9,.25,1.08) forwards; }
.headsup.leave { animation: huOut .55s cubic-bezier(.5,0,.75,0) forwards; }
@keyframes huIn { from { transform: translateY(-140%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes huOut { from { transform: none; opacity: 1; } to { transform: translateY(120px) scale(.85); opacity: 0; } }
.hu-top { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--ink-3); margin-bottom: 4px; }
.hu-app { font-weight: 700; color: var(--ink-2); }
.hu-time::before { content: "· "; }
.hu-title { display: block; font-size: 12.5px; font-weight: 700; }
.hu-text { font-size: 12px; color: var(--ink-2); line-height: 1.4; }
.notif-flat { box-shadow: none; background: var(--surface-2); backdrop-filter: none; }

/* ---------- Hero ---------- */
.hero {
  color: #fff; overflow: hidden;
  padding: calc(110px + env(safe-area-inset-top)) 0 72px;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(63,98,224,.45), transparent 70%),
    radial-gradient(50% 60% at 0% 0%, rgba(255,255,255,.08), transparent 60%),
    linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 45%, var(--deep) 100%);
}
.hero-flag { position: absolute; top: 0; right: 0; width: min(56vw, 700px); height: auto; aspect-ratio: 118 / 84; opacity: .96; pointer-events: none; }
.hero-grid { display: grid; gap: 48px; align-items: center; position: relative; }
.hero-copy { display: grid; gap: 22px; max-width: 620px; }
.hero h1 { font-size: clamp(42px, 6.6vw, 82px); line-height: 1.0; letter-spacing: -.045em; }
.lede { font-size: clamp(17px, 1.7vw, 20px); color: #D5DCF5; max-width: 540px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.trust { display: flex; flex-wrap: wrap; gap: 10px 20px; font-size: 14px; color: var(--on-navy-2); font-weight: 600; }
.trust li { display: inline-flex; align-items: center; gap: 7px; }
.trust .i { width: 16px; height: 16px; color: var(--yellow); }
.hero-stage { display: grid; justify-items: center; gap: 14px; position: relative; }
.hero-stage::before { content: ""; position: absolute; inset: -10% 0; background: radial-gradient(closest-side, rgba(245,185,30,.18), transparent 70%); z-index: -1; }
.phone-hero { transform: rotate(-2deg); }
.stage-foot { display: flex; align-items: center; gap: 12px; max-width: 360px; }
.stage-note { font-size: 12px; color: var(--on-navy-2); opacity: .85; line-height: 1.45; }
.pp { flex: none; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 0; cursor: pointer; background: rgba(255,255,255,.12); color: #fff; font-size: 12.5px; font-weight: 700; }
.pp .i { width: 14px; height: 14px; }
.pp:hover { background: rgba(255,255,255,.2); }
@media (min-width: 960px) {
  .hero { padding-bottom: 96px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .phone-hero { --pw: 340px; }
}
@media (max-width: 400px) { .phone { zoom: .9; } }

/* ---------- Banks ---------- */
.banks { padding: 56px 0 48px; background: var(--surface); border-bottom: 1px solid var(--line); }
.banks-title { text-align: center; font: 700 14px/1.4 var(--body); color: var(--ink-3); letter-spacing: .02em; margin-bottom: 24px; }
.marquee { display: grid; gap: 12px; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-row { display: flex; gap: 12px; width: max-content; animation: marquee 60s linear infinite; }
.marquee-row.rev { animation-direction: reverse; animation-duration: 70s; }
.marquee:hover .marquee-row { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
.chip-bank { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); font-weight: 700; font-size: 14px; white-space: nowrap; color: var(--ink-2); }
.chip-bank i { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; font: 800 8.5px/1 var(--body); font-style: normal; color: #fff; letter-spacing: -.02em; }
.banks-note { text-align: center; color: var(--ink-3); font-size: 14.5px; margin-top: 24px; }

/* ---------- How it works ---------- */
.how { padding: 112px 0 96px; }
.story { display: grid; gap: 40px; align-items: start; }
.story-stage { display: grid; justify-items: center; position: relative; }
.story-stage::before { content: ""; position: absolute; inset: 0; background: radial-gradient(closest-side, color-mix(in srgb, var(--navy-2) 22%, transparent), transparent 70%); z-index: -1; pointer-events: none; }
.phone-story { --pw: 320px; aspect-ratio: 330 / 600; }
.scene { position: absolute; inset: 30px 0 0; opacity: 0; visibility: hidden; transition: opacity .45s var(--ease), visibility 0s .45s; }
.scene.on { opacity: 1; visibility: visible; transition: opacity .45s var(--ease); }
.scene-pad { padding: 12px 14px; display: grid; gap: 10px; align-content: start; }
.scene-k { font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); padding: 2px 4px 0; }
.lock { position: absolute; inset: -30px 0 0; padding: 60px 14px 0; text-align: center; color: #fff; background: radial-gradient(80% 50% at 50% 0%, #3654c9, transparent), linear-gradient(170deg, #1F3FA6, #0C1A52); }
.lock-time { display: block; font: 600 54px/1 var(--display); letter-spacing: -.04em; }
.lock > small { display: block; margin-top: 6px; font-weight: 600; color: var(--on-navy-2); }
.qr-pay { margin: 28px auto 0; width: 190px; padding: 16px; border-radius: 22px; background: rgba(255,255,255,.1); display: grid; gap: 4px; justify-items: center; box-shadow: inset 0 0 0 1px rgba(255,255,255,.15); }
.qr { width: 92px; height: 92px; border-radius: 12px; margin-bottom: 8px; background:
  conic-gradient(from 90deg at 30% 30%, #fff 0 25%, transparent 0) 0 0 / 18px 18px,
  repeating-linear-gradient(90deg, #fff 0 6px, transparent 6px 12px),
  #fff; background-blend-mode: normal; border: 8px solid #fff; filter: contrast(1); position: relative; overflow: hidden; }
.qr::before { content: ""; position: absolute; inset: 0; background:
  linear-gradient(#0C1A52 0 0) 0 0 / 22px 22px no-repeat,
  linear-gradient(#0C1A52 0 0) 100% 0 / 22px 22px no-repeat,
  linear-gradient(#0C1A52 0 0) 0 100% / 22px 22px no-repeat,
  repeating-conic-gradient(#0C1A52 0 25%, #fff 0 50%) 0 0 / 12px 12px; }
.qr-pay b { font-size: 13px; }
.qr-pay small { font-size: 10.5px; color: var(--on-navy-2); }
.qr-amt { font: 700 20px var(--display); margin-top: 4px; }
.lock .notif { text-align: left; color: var(--ink); margin-top: 24px; }
.scene.on .notif-in { animation: huIn .6s .5s cubic-bezier(.2,.9,.25,1.08) both; }
.arrow-down { justify-self: center; width: 30px; height: 30px; border-radius: 50%; background: var(--navy-soft); color: var(--navy-ink); display: grid; place-items: center; }
.arrow-down .i { width: 16px; height: 16px; }
mark { background: transparent; color: inherit; border-radius: 4px; padding: 0 2px; margin: 0 -2px; transition: background .4s; }
.scene.on mark.m1 { animation: markOn .5s .5s both; }
.scene.on mark.m2 { animation: markOn .5s .9s both; }
@keyframes markOn { to { background: color-mix(in srgb, var(--yellow) 45%, transparent); } }
.fields { background: var(--surface); border-radius: 18px; box-shadow: inset 0 0 0 1px var(--line); }
.f { display: flex; justify-content: space-between; align-items: center; padding: 10px 14px; gap: 10px; }
.f + .f { box-shadow: inset 0 1px 0 var(--line); }
.f span { font-size: 11px; font-weight: 700; color: var(--ink-3); }
.f b { font-size: 13px; display: inline-flex; align-items: center; gap: 6px; }
.scene.on .f b { animation: fxIn .45s var(--ease) both; }
.scene.on .f1 { animation-delay: .9s; } .scene.on .f2 { animation-delay: 1.15s; } .scene.on .f3 { animation-delay: 1.4s; } .scene.on .f4 { animation-delay: 1.65s; }
.bt { width: 18px; height: 18px; border-radius: 6px; display: grid; place-items: center; font: 800 9px/1 var(--body); font-style: normal; }
.bt-mae { background: #FFC72C; color: #1a1300; }
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 4px 4px 2px; }
.dlg-head b { font: 700 16px var(--display); }
.dlg-x { width: 30px; height: 30px; border-radius: 10px; background: var(--surface-2); display: grid; place-items: center; }
.dlg-x .i { width: 16px; height: 16px; }
.cap { background: var(--surface); border-radius: 20px; padding: 10px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 10px; }
.cap-row { display: flex; align-items: center; gap: 10px; padding: 0 2px; }
.cap-row > b { font-size: 13px; white-space: nowrap; }
.cap-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cap-btns span { padding: 9px; border-radius: 12px; text-align: center; font-weight: 800; font-size: 12.5px; }
.cap-btns .b1 { background: var(--navy); color: #fff; }
.cap-btns .b2 { background: var(--surface-2); }
.scene.on .tap { animation: tap 1.6s 1.2s both; }
@keyframes tap { 0%, 60% { transform: none; box-shadow: 0 0 0 0 rgba(31,63,166,.5); } 70% { transform: scale(.94); box-shadow: 0 0 0 0 rgba(31,63,166,.5); } 100% { transform: none; box-shadow: 0 0 0 16px rgba(31,63,166,0); } }
.scene.on .cap { animation: capOut .5s 2.6s var(--ease) forwards; }
@keyframes capOut { to { opacity: 0; transform: translateX(-14px) scale(.97); } }
.saved { position: absolute; left: 0; right: 0; top: 150px; display: grid; justify-items: center; gap: 12px; opacity: 0; }
.scene.on .saved { animation: popIn .5s 3s cubic-bezier(.2,.9,.3,1.2) forwards; }
@keyframes popIn { from { opacity: 0; transform: scale(.8); } to { opacity: 1; transform: none; } }
.saved-ring { width: 72px; height: 72px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; box-shadow: 0 0 0 10px color-mix(in srgb, var(--green) 18%, transparent); }
.saved-ring .i { width: 34px; height: 34px; stroke-width: 2.6; }
.saved b { font: 700 15px var(--display); }
.learn-row, .rule { display: flex; align-items: center; gap: 10px; background: var(--surface); border-radius: 18px; padding: 10px 12px; box-shadow: inset 0 0 0 1px var(--line); }
.scene.on .learn-row { animation: fxIn .5s .6s var(--ease) both; }
.learn-glow { border-radius: 4px; }
.learn-row .mid small, .rule .mid small { white-space: normal; }
.scene.on .learn-glow { animation: markGreen 1.6s 1.1s both; }
@keyframes markGreen { 0% { background: transparent; } 30%, 70% { background: var(--green-soft); color: var(--green); } 100% { background: transparent; } }
.scene.on .rule { animation: fxIn .5s 1.6s var(--ease) both; }
.steps { display: grid; gap: 10px; counter-reset: s; }
.step { border-radius: 22px; background: transparent; transition: background .3s, box-shadow .3s; }
.step > button { width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 18px 20px; border: 0; background: none; cursor: pointer; font: 700 clamp(18px, 2vw, 22px)/1.25 var(--display); letter-spacing: -.02em; color: var(--ink-3); transition: color .3s; }
.step-n { width: 36px; height: 36px; border-radius: 12px; flex: none; display: grid; place-items: center; font: 800 15px var(--body); background: var(--surface-2); color: var(--ink-3); transition: background .3s, color .3s; }
.step-body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease); }
.step-body > p { overflow: hidden; padding: 0 20px 0 70px; color: var(--ink-2); font-size: 16px; }
.step.on { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line), 0 20px 40px -24px rgba(13,21,49,.25); }
.step.on > button { color: var(--ink); }
.step.on .step-n { background: var(--navy); color: #fff; }
.step.on .step-body { grid-template-rows: 1fr; }
.step.on .step-body > p { padding-bottom: 20px; }
@media (min-width: 960px) {
  .how { padding-top: 140px; }
  .story { grid-template-columns: 1fr 1fr; gap: 64px; }
  .story-stage { position: sticky; top: 100px; }
  .steps { padding-top: 40px; }
  .step { min-height: 0; }
}
@media (max-width: 959px) {
  .story { gap: 24px; }
  .phone-story { zoom: .72; }
}

/* ---------- Try it ---------- */
.try { padding: 96px 0; background: linear-gradient(180deg, var(--bg), color-mix(in srgb, var(--navy-soft) 60%, var(--bg))); }
.try-grid { display: grid; gap: 20px; max-width: 980px; margin: 0 auto; align-items: start; }
@media (min-width: 860px) { .try-grid { grid-template-columns: 1.15fr .85fr; gap: 28px; } .ledger { position: sticky; top: 96px; } }
.inbox, .ledger { background: var(--surface); border-radius: 28px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -30px rgba(13,21,49,.3); }
.inbox { display: grid; grid-template-rows: auto 1fr auto; overflow: hidden; }
.inbox-head, .ledger-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 20px 20px 12px; }
.inbox-head h3, .ledger-head h3 { font-size: 19px; }
.count-badge { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 14px; background: var(--yellow); color: var(--on-yellow); font: 800 13px/28px var(--body); text-align: center; transition: transform .3s var(--spring); }
.count-badge.bump { transform: scale(1.25); }
.inbox-list { padding: 4px 16px 16px; display: grid; gap: 12px; min-height: 280px; align-content: start; }
.inbox-foot { padding: 12px 16px 16px; border-top: 1px solid var(--line); text-align: center; }
.link-btn { border: 0; background: none; cursor: pointer; font: 800 15px var(--body); color: var(--navy-ink); padding: 8px 14px; border-radius: 12px; }
.link-btn:hover { background: var(--navy-soft); }
.link-btn:disabled { opacity: .4; cursor: default; background: none; }
.card-cap { border-radius: 22px; padding: 12px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 12px; background: var(--surface); transition: box-shadow .3s, background .3s; }
.card-cap .notif { box-shadow: none; background: var(--surface-2); backdrop-filter: none; border-radius: 16px; }
.card-cap .cap-row .mid b { font-size: 14px; }
.card-cap .cap-row .mid small { font-size: 12px; white-space: normal; }
.card-cap .cap-row > b { font-size: 14px; }
.cc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-btns button { padding: 11px; border-radius: 14px; border: 0; cursor: pointer; font: 800 14px var(--body); transition: transform .15s, background .2s; }
.cc-btns button:active { transform: scale(.96); }
.cc-review { background: var(--surface-2); color: var(--ink); }
.cc-review:hover { background: var(--line); }
.cc-confirm { background: var(--navy); color: #fff; }
.cc-confirm:hover { background: var(--navy-2); }
.cc-confirm:disabled { opacity: .45; cursor: default; }
.cats { display: flex; flex-wrap: wrap; gap: 6px; }
.cats[hidden] { display: none; }
.cats button { padding: 7px 12px; border-radius: 999px; border: 0; cursor: pointer; font: 600 12.5px var(--body); color: var(--ink-2); background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.cats button[aria-pressed="true"] { background: var(--navy-soft); color: var(--navy-ink); box-shadow: inset 0 0 0 1.5px var(--navy-2); }
.wait { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: var(--navy-soft); color: var(--navy-ink); font-weight: 700; font-size: 13px; }
.wait.done { background: var(--green-soft); color: var(--green); }
.ring { --p: 1; width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; font: 800 11px var(--body);
  background: radial-gradient(closest-side, var(--navy-soft) 78%, transparent 80%), conic-gradient(var(--navy-2) calc(var(--p) * 360deg), color-mix(in srgb, var(--navy-2) 20%, transparent) 0); }
.wait.done .ring { background: var(--green); color: #fff; }
.wait.done .ring .i { width: 16px; height: 16px; stroke-width: 2.6; }
.wait small { display: block; font-weight: 600; font-size: 11.5px; opacity: .85; }
.card-cap.ok { box-shadow: inset 0 0 0 1.5px var(--green); background: var(--green-soft); }
.card-cap.fold { animation: fold .5s var(--ease) forwards; }
@keyframes fold { 40% { opacity: 0; transform: translateX(-14px) scale(.97); } to { opacity: 0; transform: translateX(-14px) scale(.97); margin-top: -12px; height: 0; padding: 0; } }
.notif.arrive { animation: fxIn .5s var(--ease) both; }
.inbox-empty { display: grid; justify-items: center; text-align: center; gap: 10px; padding: 40px 16px; border-radius: 22px; border: 1.5px dashed var(--line); animation: fxIn .45s var(--ease) both; }
.inbox-empty .tile { width: 52px; height: 52px; border-radius: 17px; background: var(--green-soft); color: var(--green); }
.inbox-empty b { font-size: 16px; }
.inbox-empty p { color: var(--ink-3); font-size: 14px; max-width: 280px; }
.ledger { padding-bottom: 16px; }
.ledger-sub { font-size: 13px; color: var(--ink-3); }
.ledger-total { font: 700 26px var(--display); letter-spacing: -.02em; transition: color .3s; }
.ledger-total.tick { color: var(--red); }
.ledger-list { margin: 0 16px; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.ledger-list .tx { padding: 12px 14px; }
.ledger-list .tile { width: 40px; height: 40px; border-radius: 13px; }
.ledger-list .mid b, .ledger-list .amt b { font-size: 14px; }
.ledger-list .mid small { font-size: 12px; }
.tx.xfer .amt b { color: var(--ink-2); }
@media (max-width: 859px) {
  .ledger { position: sticky; top: 74px; z-index: 5; order: -1; padding-bottom: 12px; box-shadow: inset 0 0 0 1px var(--line), 0 18px 40px -18px rgba(13,21,49,.45); }
  .ledger-head { padding: 14px 16px 10px; }
  .ledger-total { font-size: 22px; }
  .ledger-list { margin: 0 12px; }
  .ledger-list .tx:not(:first-child), .ledger .reset { display: none; }
}
.reset { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 14px 16px 0; width: calc(100% - 32px); padding: 12px; border-radius: 14px; border: 1.5px dashed var(--line); background: none; cursor: pointer; font-weight: 700; font-size: 13.5px; color: var(--ink-2); }
.reset .i { width: 16px; height: 16px; }
.reset:hover { background: var(--surface-2); }

/* ---------- Sieve ---------- */
.sieve { padding: 104px 0; background: var(--surface); border-block: 1px solid var(--line); overflow: hidden; }
.sieve-grid { display: grid; gap: 48px; align-items: center; }
.sieve-copy { display: grid; gap: 18px; }
.sieve-copy h2 { font-size: clamp(32px, 4.4vw, 50px); line-height: 1.06; letter-spacing: -.035em; }
.sieve-copy .ticks .i { background: var(--navy-soft); color: var(--navy-ink); }
@media (min-width: 960px) { .sieve-grid { grid-template-columns: .9fr 1.1fr; gap: 72px; } }
.sieve-stage { display: grid; grid-template-columns: 1.25fr .9fr; gap: 16px; padding: 18px; border-radius: 30px; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); min-height: 440px; }
.sieve-k { font: 800 10.5px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 2px 4px 12px; }
.sieve-feed, .sieve-kept ul { display: grid; gap: 8px; align-content: start; }
.sieve-kept { border-radius: 22px; padding: 12px; background: color-mix(in srgb, var(--green-soft) 60%, transparent); box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--green) 30%, transparent); margin: -4px; }
.sieve-kept .sieve-k { color: var(--green); }
.sv { border-radius: 16px; padding: 9px 11px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); font-size: 12px; line-height: 1.35; position: relative; animation: svIn .45s var(--ease) both; transition: opacity .4s, filter .4s, transform .4s; }
.sv .hu-top { margin-bottom: 2px; font-size: 10.5px; }
.sv .bank-tile { width: 16px; height: 16px; border-radius: 5px; font-size: 5.5px; }
.sv p { color: var(--ink-2); }
.sv .verdict { position: absolute; right: 8px; top: 7px; font-size: 9.5px; padding: 1px 7px; animation: fxIn .3s var(--ease) both; }
.sv.sv-skip { opacity: .45; filter: grayscale(1); }
.sv.sv-skip p { text-decoration: line-through; text-decoration-color: color-mix(in srgb, var(--ink-3) 60%, transparent); }
.sv.sv-keep { box-shadow: inset 0 0 0 1.5px var(--green); }
.sv.gone { opacity: 0; transform: translateY(-8px) scale(.96); }
.kept-row { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); animation: fxIn .5s var(--ease) both; }
.kept-row .tile { width: 30px; height: 30px; border-radius: 10px; }
.kept-row .tile .i { width: 15px; height: 15px; }
.kept-row .mid b { font-size: 12px; }
.kept-row .mid small { font-size: 10.5px; }
.kept-row > b { font-size: 12px; white-space: nowrap; }
@keyframes svIn { from { opacity: 0; transform: translateY(-14px); } }
@media (max-width: 560px) {
  .sieve-stage { grid-template-columns: 1fr; min-height: 0; }
  .sieve-feed { min-height: 250px; }
  .sieve-kept { margin: 0; }
  .sieve-kept ul { min-height: 120px; }
}

/* ---------- Bento ---------- */
.clarity { padding: 112px 0; }
.bento { display: grid; gap: 16px; grid-template-columns: 1fr; }
.card { background: var(--surface); border-radius: 28px; padding: 24px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 14px; align-content: start; }
.card h3 { font-size: 22px; letter-spacing: -.02em; line-height: 1.2; }
.card p { color: var(--ink-2); }
.card-k { font-weight: 700; font-size: 13.5px; color: var(--ink-3) !important; }
.card-big { font: 700 40px/1.05 var(--display); letter-spacing: -.035em; color: var(--ink) !important; }
.card-big small { font-size: 20px; font-weight: 600; opacity: .7; margin-right: 6px; }
@media (min-width: 720px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-spend { grid-column: 1 / -1; }
}
@media (min-width: 1040px) {
  .bento { grid-template-columns: repeat(6, 1fr); }
  .b-spend { grid-column: 1 / 4; grid-row: 1 / 3; grid-template-rows: auto auto 1fr; }
  .bento .b-spend .bars { height: auto; min-height: 280px; }
  .b-where, .b-budget { grid-column: 4 / 7; }
  .b-bills, .b-receipt, .b-cash { grid-column: span 2; }
}
.bars { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 220px; align-items: end; margin-top: 8px; padding-top: 10px; background: linear-gradient(var(--line), var(--line)) 0 calc(100% - 24px) / 100% 1px no-repeat; }
.b-spend .bars { height: clamp(220px, 28vw, 340px); }
.bar { height: 100%; display: grid; grid-template-rows: 1fr auto; gap: 8px; justify-items: center; }
.bar span { width: 100%; max-width: 56px; align-self: end; height: calc(var(--h) * 100%); border-radius: 10px 10px 4px 4px; background: color-mix(in srgb, var(--navy-2) 25%, var(--surface)); transform-origin: bottom; transform: scaleY(.04); transition: transform 1s var(--ease); }
.bar.now span { background: var(--navy-2); }
.bar small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.in .bar span { transform: none; }
.in .bar:nth-child(2) span { transition-delay: .06s; } .in .bar:nth-child(3) span { transition-delay: .12s; } .in .bar:nth-child(4) span { transition-delay: .18s; } .in .bar:nth-child(5) span { transition-delay: .24s; } .in .bar:nth-child(6) span { transition-delay: .36s; }
.donut-wrap { position: relative; width: min(220px, 100%); margin: 4px auto; }
.donut { width: 100%; display: block; transform: rotate(-90deg); }
.d-track { fill: none; stroke: var(--surface-2); stroke-width: 16; }
.d-seg { fill: none; stroke: var(--c); stroke-width: 16; stroke-dasharray: 0 289.03; stroke-dashoffset: calc(var(--o) * -2.8903); transition: stroke-dasharray 1.1s var(--ease); }
.in .d-seg { stroke-dasharray: calc(var(--v) * 2.8903 - 2) 289.03; }
.donut-mid { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-mid b { font: 700 28px var(--display); letter-spacing: -.02em; }
.donut-mid small { font-size: 12px; color: var(--ink-3); font-weight: 600; }
.legend { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; font-size: 13px; color: var(--ink-2); font-weight: 600; }
.legend li { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }
@media (min-width: 1040px) { .b-where { grid-template-columns: auto 1fr; align-items: center; column-gap: 24px; } .b-where .card-k { grid-column: 1 / -1; } .b-where .legend { flex-direction: column; justify-content: start; } .donut-wrap { width: 180px; } }
.payday { display: grid; gap: 8px; padding: 14px 16px; border-radius: 18px; background: var(--surface-2); }
.payday label { font-size: 12px; font-weight: 700; color: var(--ink-3); }
.payday-ctl { display: flex; align-items: center; gap: 14px; }
.payday output { min-width: 44px; height: 36px; border-radius: 11px; background: var(--surface); display: grid; place-items: center; font: 700 18px var(--display); box-shadow: inset 0 0 0 1px var(--line); }
.payday-range { font-weight: 800; color: var(--navy-ink) !important; font-size: 15px; }
input[type="range"] { flex: 1; -webkit-appearance: none; appearance: none; height: 6px; border-radius: 3px; background: linear-gradient(var(--navy-2), var(--navy-2)) 0 / var(--fill, 88%) 100% no-repeat, var(--line); cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(13,21,49,.3), inset 0 0 0 6px var(--navy-2); }
input[type="range"]::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 2px 6px rgba(13,21,49,.3), inset 0 0 0 6px var(--navy-2); }
.budget-row { display: grid; gap: 8px; }
.br-top { display: flex; align-items: center; gap: 10px; }
.br-top .tile { width: 34px; height: 34px; border-radius: 11px; }
.br-top .tile .i { width: 17px; height: 17px; }
.br-top b { flex: 1; font-size: 15px; }
.pbar { height: 8px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.pbar span { display: block; height: 100%; width: 100%; border-radius: 4px; background: var(--navy-2); transform-origin: left; transform: scaleX(0); transition: transform 1.1s var(--ease) .2s; }
.pbar span.warn { background: var(--yellow); }
.in .pbar span { transform: scaleX(var(--p)); }
.br-foot { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-3); }
.bills { display: grid; border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.bills li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.bills li + li { box-shadow: inset 0 1px 0 var(--line); }
.bills .mid b { font-size: 14px; }
.bills .mid small { font-size: 12px; }
.bills li > b { font-size: 14px; }
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].in { opacity: 1; transform: none; }

/* ---------- Privacy ---------- */
.privacy { padding: 120px 0; color: #fff; overflow: hidden; background: radial-gradient(60% 50% at 100% 0%, rgba(63,98,224,.35), transparent 70%), linear-gradient(170deg, var(--navy) 0%, var(--deep) 70%); }
.privacy-flag { position: absolute; top: 0; right: 0; width: min(40vw, 420px); aspect-ratio: 118 / 84; opacity: .9; }
.sec-head.on-navy h2 { color: #fff; }
.priv-grid { display: grid; gap: 40px; align-items: start; }
@media (min-width: 960px) { .priv-grid { grid-template-columns: 1fr 1fr; gap: 64px; } }
.priv-points { display: grid; gap: 28px; }
.pp-item { display: flex; gap: 16px; }
.tile-glass { width: 48px; height: 48px; border-radius: 15px; background: rgba(255,255,255,.1); color: var(--yellow); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14); }
.tile-glass .i { width: 22px; height: 22px; }
.pp-item h3 { font-size: 19px; margin-bottom: 4px; letter-spacing: -.01em; }
.pp-item p { color: #C7D0F0; }
.redact { background: rgba(255,255,255,.06); border-radius: 30px; padding: 24px; display: grid; gap: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.redact-head h3 { font-size: 20px; margin-bottom: 6px; }
.redact-head p { color: #C7D0F0; font-size: 15px; }
.seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border-radius: 15px; background: rgba(255,255,255,.1); }
.seg button { position: relative; z-index: 1; padding: 10px 6px; border-radius: 11px; border: 0; background: none; cursor: pointer; font-weight: 700; font-size: 14px; color: var(--on-navy-2); transition: color .3s; }
.seg button[aria-checked="true"] { color: var(--navy); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 6px); border-radius: 11px; background: #fff; box-shadow: 0 1px 3px rgba(13,21,49,.12); transition: transform .34s cubic-bezier(.3,.8,.25,1); }
.seg[data-v="1"] .seg-pill { transform: translateX(calc(100% + 4px)); }
.redact-card { background: var(--surface); color: var(--ink); border-radius: 20px; padding: 14px 16px; display: grid; gap: 6px; }
.redact-card .bank-tile { width: 22px; height: 22px; }
.redact-text { font-size: 15px; line-height: 1.6; }
.r { display: inline-block; border-radius: 6px; transition: background .35s, color .35s; position: relative; }
.redacted .r { color: transparent; background: var(--ink); min-width: 3.2ch; }
.redacted .r::after { content: attr(data-r); position: absolute; inset: 0; display: grid; place-items: center; color: var(--surface); letter-spacing: .1em; font-weight: 800; }
.redact-foot { font-size: 12.5px; font-weight: 700; color: var(--ink-3); }
.redacted .redact-foot { color: var(--green); }
.redact-note { font-size: 13.5px; color: var(--on-navy-2); }

/* ---------- Pricing ---------- */
.pricing { padding: 112px 0; }
.plans { display: grid; gap: 20px; max-width: 920px; margin: 0 auto; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; } }
.plan { background: var(--surface); border-radius: 30px; padding: 30px 28px; box-shadow: inset 0 0 0 1px var(--line); display: grid; gap: 20px; align-content: start; position: relative; overflow: hidden; }
.plan h3 { font-size: 22px; }
.plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; }
.plan-price b { font: 700 44px/1 var(--display); letter-spacing: -.035em; }
.plan-price span { color: var(--ink-3); font-weight: 600; }
.plan .btn { margin-top: 6px; }
.plan-pro { background: radial-gradient(100% 60% at 100% 0%, rgba(245,185,30,.16), transparent 60%), var(--surface); box-shadow: inset 0 0 0 2px var(--yellow); }
.plan-pro .ticks .i { background: var(--yellow-soft); color: var(--yellow-ink); }
.pro-chip { position: absolute; top: 26px; right: 24px; display: inline-flex; align-items: center; gap: 5px; padding: 5px 11px; border-radius: 999px; background: var(--navy); color: var(--yellow); font: 800 12px var(--body); letter-spacing: .06em; }
.pro-chip .i { width: 14px; height: 14px; }
.plan-fine { font-size: 13px; color: var(--ink-3); }

/* ---------- FAQ ---------- */
.faq { padding: 40px 0 120px; }
.faq-grid { display: grid; gap: 40px; }
@media (min-width: 960px) { .faq-grid { grid-template-columns: .8fr 1.2fr; gap: 72px; } .faq .sec-head { position: sticky; top: 110px; align-self: start; } }
.qa { display: grid; gap: 10px; }
details { background: var(--surface); border-radius: 22px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .25s; }
details[open] { box-shadow: inset 0 0 0 1.5px var(--navy-2); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 700; font-size: 17px; }
summary::-webkit-details-marker { display: none; }
summary .i { width: 22px; height: 22px; color: var(--navy-ink); transition: transform .3s var(--ease); }
details[open] summary .i { transform: rotate(45deg); }
details p { padding: 0 22px 20px; color: var(--ink-2); }

/* ---------- Final CTA ---------- */
.final { padding: 112px 0 120px; color: #fff; text-align: center; overflow: hidden; background: radial-gradient(70% 80% at 50% 110%, rgba(245,185,30,.25), transparent 60%), linear-gradient(160deg, var(--navy-2), var(--navy) 50%, var(--deep)); }
.final-flag { position: absolute; top: 0; right: 0; width: min(46vw, 520px); aspect-ratio: 118 / 84; }
.final-in { display: grid; justify-items: center; gap: 20px; position: relative; }
.final-icon { width: 72px; height: 72px; border-radius: 20px; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); }
.final h2 { font-size: clamp(36px, 5.6vw, 66px); line-height: 1.04; letter-spacing: -.04em; max-width: 760px; }
.final p { color: #D5DCF5; font-size: 18px; max-width: 560px; }
.final .final-fine { font-size: 14px; color: var(--on-navy-2); }

/* ---------- Footer ---------- */
.foot { padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); background: var(--deep); color: var(--on-navy-2); font-size: 14px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.foot .brand { font-size: 15px; }
.foot .brand img { width: 28px; height: 28px; border-radius: 8px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 20px; }
.foot nav a { color: var(--on-navy-2); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: #fff; text-decoration: underline; }
.foot p { margin-left: auto; }
@media (max-width: 720px) { .foot p { margin-left: 0; width: 100%; } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .marquee-row { animation: none !important; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee { mask-image: none; -webkit-mask-image: none; padding: 0 16px; }
  .marquee-row.rev { display: none; }
  .phone-hero { transform: none; }
}

/* ---------- Theme toggle ---------- */
.theme-btn { width: 42px; height: 42px; flex: none; border-radius: 12px; border: 0; cursor: pointer; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff; transition: background .2s; }
.theme-btn:hover { background: rgba(255,255,255,.18); }
.theme-btn .i { grid-area: 1 / 1; transition: transform .45s var(--ease), opacity .3s; }
.theme-btn .i-sun { opacity: 0; transform: rotate(-90deg) scale(.6); }
[data-theme="dark"] .theme-btn .i-sun { opacity: 1; transform: none; }
[data-theme="dark"] .theme-btn .i-moon { opacity: 0; transform: rotate(90deg) scale(.6); }
@media (min-width: 900px) { .theme-btn { order: 3; } .nav-in > .btn { order: 4; } }
@media (max-width: 899px) { .nav-in { gap: 8px; } }
@media (max-width: 420px) { .theme-btn { margin-left: auto; } .nav-in .nav-toggle { margin-left: 0; } }
.theme-anim, .theme-anim *, .theme-anim *::before, .theme-anim *::after { transition: background-color .35s, color .35s, border-color .35s, box-shadow .35s, fill .35s !important; }

/* ---------- Store badge (not live yet, so dimmed and stamped) ---------- */
.store-badge { position: relative; display: inline-flex; align-items: center; gap: 10px; padding: 9px 18px 9px 14px; border-radius: 16px; background: #0b0d14; color: #fff; text-decoration: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); opacity: .78; filter: grayscale(.4); transition: opacity .2s, filter .2s; }
.store-badge:hover { opacity: 1; filter: none; }
.store-badge > .i { width: 22px; height: 22px; fill: currentColor; stroke: none; }
.store-badge span { display: grid; line-height: 1.1; text-align: left; }
.store-badge small { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; opacity: .75; }
.store-badge b { font: 600 17px/1.15 var(--display); letter-spacing: -.01em; }
.stamp { position: absolute; top: -10px; right: -12px; padding: 3px 8px; border-radius: 7px; font: 800 9.5px/1.2 var(--body); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--yellow); background: rgba(11,13,20,.92); border: 1.5px solid var(--yellow); transform: rotate(8deg); box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.store-badge-lg { padding: 11px 22px 11px 16px; pointer-events: none; }
.store-badge-lg b { font-size: 19px; }

/* ---------- Hero extras ---------- */
.cta-row { align-items: center; gap: 14px 18px; }
.watch { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 15px; width: fit-content; }
.watch-ic { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); box-shadow: 0 0 0 6px rgba(255,255,255,.06); transition: transform .2s var(--ease); }
.watch-ic .i { width: 14px; height: 14px; fill: currentColor; stroke: none; margin-left: 2px; }
.watch:hover .watch-ic { transform: scale(1.08); }
.stage-note { white-space: nowrap; }
@media (max-width: 560px) {
  .hero { padding-top: calc(92px + env(safe-area-inset-top)); padding-bottom: 56px; }
  .hero-copy { gap: 18px; }
  .hero h1 { font-size: clamp(40px, 12vw, 52px); }
  .cta-row .btn-lg { width: 100%; }
  .cta-row .store-badge { margin: 4px auto 0; }
  .watch { margin: 0 auto; }
  .trust { justify-content: center; font-size: 13px; gap: 8px 16px; }
  .hero-grid { gap: 36px; }
}

/* ---------- Story segments (video-style progress) ---------- */
.segs { display: flex; gap: 6px; width: min(var(--pw, 320px), 100%); max-width: 320px; margin-bottom: 14px; }
.segs span { flex: 1; height: 4px; border-radius: 2px; background: color-mix(in srgb, var(--ink-3) 25%, transparent); overflow: hidden; cursor: pointer; }
.segs i { display: block; height: 100%; background: var(--navy-2); transform-origin: left; transform: scaleX(0); }
.segs span.done i { transform: none; }
.step > button { padding: 14px 18px; }
.step-body > p { padding-left: 68px; font-size: 15px; }
.step.on .step-body > p { padding-bottom: 16px; }
@media (max-width: 959px) {
  .how { padding: 80px 0 72px; }
  .story-stage { width: 100%; }
  .segs { max-width: 232px; }
  .steps { gap: 6px; }
}

/* ---------- Mobile tightening ---------- */
@media (max-width: 560px) {
  .sec-head { margin-bottom: 32px; gap: 12px; }
  .sec-head h2 { font-size: clamp(30px, 8.6vw, 38px); }
  .try, .sieve, .clarity, .tax, .pricing { padding: 72px 0; }
  .privacy { padding: 80px 0; }
  .faq { padding: 24px 0 80px; }
  .banks { padding: 40px 0 32px; }
  .card { padding: 20px; border-radius: 24px; }
  .card-big { font-size: 34px; }
  .plan { padding: 24px 22px; }
  .plan-price b { font-size: 38px; }
  summary { padding: 18px; font-size: 16px; }
  details p { padding: 0 18px 18px; }
  .redact { padding: 18px; border-radius: 24px; }
  .sieve-copy .ticks li { font-size: 15px; }
}

/* ---------- Tax relief ---------- */
.tax { padding: 104px 0; background: var(--surface); border-block: 1px solid var(--line); }
.tax-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 960px) { .tax-grid { grid-template-columns: 1fr 1fr; gap: 72px; } }
.tax-copy { display: grid; gap: 18px; justify-items: start; }
.tax-copy h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1.06; letter-spacing: -.035em; }
.tax-steps { display: grid; gap: 10px; width: 100%; max-width: 360px; margin-top: 4px; }
.tax-steps li { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 16px; }
.tax-steps .tile { width: 36px; height: 36px; border-radius: 12px; }
.tax-steps .tile .i { width: 18px; height: 18px; }
.tax-card { background: var(--bg); border-radius: 30px; padding: 16px; box-shadow: inset 0 0 0 1px var(--line), 0 30px 60px -34px rgba(13,21,49,.35); display: grid; gap: 12px; max-width: 460px; width: 100%; justify-self: center; }
.tax-years { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 4px; border-radius: 15px; background: var(--surface-2); }
.tax-years span { text-align: center; padding: 7px 4px; border-radius: 11px; font-weight: 700; font-size: 13px; color: var(--ink-3); }
.tax-years .on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(13,21,49,.12); }
.tax-hero { border-radius: 22px; padding: 16px 18px; color: #fff; display: grid; gap: 4px; justify-items: start; background: radial-gradient(120% 90% at 0 0, rgba(255,255,255,.1), transparent 50%), linear-gradient(150deg, var(--navy-2), var(--navy) 62%); }
.tax-hero b { font: 700 30px/1.15 var(--display); letter-spacing: -.03em; }
.tax-hero b small { font-size: 16px; font-weight: 600; opacity: .75; margin-right: 4px; }
.tax-pill { display: inline-flex; align-items: center; gap: 5px; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--on-yellow); font-weight: 800; font-size: 11.5px; }
.tax-pill .i { width: 13px; height: 13px; }
.tax-rows { background: var(--surface); border-radius: 20px; box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; }
.tax-rows li { display: flex; align-items: center; gap: 12px; padding: 12px 14px; }
.tax-rows li + li { box-shadow: inset 0 1px 0 var(--line); }
.tax-rows .mid { gap: 7px; }
.tax-rows .mid b { font-size: 14px; }
.tax-rows .pbar { height: 5px; }
.tax-rows .amt b { font-size: 13.5px; }
.tax-rows .amt small { display: inline-flex; align-items: center; gap: 3px; font-size: 11px; font-weight: 700; }
.tax-rows .amt small .i { width: 12px; height: 12px; }
.tax-rows small.ok { color: var(--green); }
.tax-rows small.add { color: var(--yellow-ink); background: var(--yellow-soft); padding: 1px 7px; border-radius: 999px; }

/* ---------- Final CTA: one full screen ---------- */
.final { min-height: calc(100vh - var(--nav-h, 66px)); min-height: calc(100svh - var(--nav-h, 66px)); display: grid; align-items: center; padding: 56px 0 64px; }
.final-in { gap: 18px; }
.get-steps { display: flex; gap: 8px 18px; flex-wrap: wrap; justify-content: center; color: #D5DCF5; font-weight: 700; font-size: 14px; }
.get-steps li { display: inline-flex; align-items: center; gap: 8px; }
.get-steps span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.14); color: var(--yellow); font-size: 12px; font-weight: 800; }
.final .store-badge { margin-top: 8px; }
@media (max-width: 560px) {
  .final h2 { font-size: clamp(34px, 10vw, 44px); }
  .final p { font-size: 16px; }
  .final .btn-lg { width: 100%; }
  .final-icon { width: 60px; height: 60px; border-radius: 17px; }
}

/* ---------- Back to top ---------- */
.to-top { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40; width: 48px; height: 48px; border-radius: 16px; border: 0; cursor: pointer; display: grid; place-items: center; background: var(--yellow); color: var(--on-yellow); box-shadow: 0 10px 24px -6px rgba(201,140,0,.6), 0 2px 6px rgba(5,10,32,.25); opacity: 0; transform: translateY(16px) scale(.9); pointer-events: none; transition: opacity .25s, transform .3s var(--ease); }
.to-top .i { width: 22px; height: 22px; stroke-width: 2.2; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:active { transform: scale(.94); }

@media (prefers-reduced-motion: reduce) {
  .theme-btn .i, .to-top { transition: none !important; }
}
