/* ============================================================
   Spendable — landing styles
   Flowy, premium, aurora-gradient light theme
   ============================================================ */

:root {
  --blue: #1b4eee;
  --blue-deep: #0b2698;
  --blue-light: #4470f8;
  --ink: #0e1422;
  --muted: #545e72;
  --soft: #f5f6fa;
  --line: rgba(14, 20, 34, .1);
  --green: #0e9f6e;
  --amber: #c05f06;
  --red: #d23c3c;
  --mint: #8ff2c4;
  --heading-soft: #667084;
  --radius-lg: 28px;
  --radius-xl: 44px;
  --shadow-soft: 0 18px 45px rgba(14, 20, 34, .08);
  --shadow-float: 0 24px 60px rgba(11, 38, 152, .16);
  --ease-out: cubic-bezier(.22, .8, .3, 1);
  --font-head: Manrope, "DM Sans", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; overflow-x: clip; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button, a, summary, input[type="range"] { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }

:focus-visible {
  outline: 3px solid var(--blue-light);
  outline-offset: 3px;
  border-radius: 6px;
}
.hero :focus-visible, .download-card :focus-visible { outline-color: var(--mint); }

.icon-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon {
  width: 1em; height: 1em;
  fill: none; stroke: currentColor;
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
  flex: none;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------- Reveal on scroll ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  z-index: 40;
  top: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  max-width: 1440px;
  margin: auto;
  padding: 24px 5vw;
  color: #fff;
  transition: padding .35s var(--ease-out), background .35s var(--ease-out), box-shadow .35s;
}
.site-header.is-scrolled {
  padding: 12px 5vw;
  background: rgba(10, 17, 44, .72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 10px 35px rgba(6, 12, 40, .25);
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-head); font-weight: 800;
  letter-spacing: -.03em; font-size: 18px;
}
.brand img { width: 32px; height: 32px; border-radius: 9px; }
.desktop-nav { display: flex; gap: 24px; margin-left: 60px; font-size: 14px; color: rgba(255, 255, 255, .92); }
.desktop-nav a { position: relative; padding: 12px 4px; transition: color .2s; }
.desktop-nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0;
  height: 2px; border-radius: 2px; background: var(--mint);
  transition: right .3s var(--ease-out);
}
.desktop-nav a:hover { color: #fff; }
.desktop-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.lang-switch {
  display: flex;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
}
.lang-switch button {
  padding: 9px 12px;
  border: 0; border-radius: 100px;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  font-size: 12px; font-weight: 700; letter-spacing: .04em;
  transition: background .25s, color .25s;
}
.lang-switch button[aria-pressed="true"] { background: #fff; color: var(--blue); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 100px;
  background: rgba(255, 255, 255, .08);
  font-size: 13px; font-weight: 700;
  transition: background .25s, color .25s, transform .25s;
}
.nav-cta .icon { font-size: 13px; }
.nav-cta:hover { background: #fff; color: var(--blue); transform: translateY(-1px); }

/* ---------- Aurora ---------- */
.aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.blob-a {
  width: 620px; height: 620px; top: -220px; left: -140px;
  background: radial-gradient(circle at 40% 40%, #4d9cff, transparent 65%);
  animation: drift-a 22s ease-in-out infinite alternate;
}
.blob-b {
  width: 540px; height: 540px; right: -160px; top: 15%;
  background: radial-gradient(circle at 55% 45%, #23d3a8, transparent 62%);
  opacity: .35;
  animation: drift-b 26s ease-in-out infinite alternate;
}
.blob-c {
  width: 700px; height: 700px; left: 28%; bottom: -320px;
  background: radial-gradient(circle at 50% 50%, #2b7bff, transparent 60%);
  opacity: .5;
  animation: drift-c 30s ease-in-out infinite alternate;
}
@keyframes drift-a { to { transform: translate(90px, 60px) scale(1.12); } }
@keyframes drift-b { to { transform: translate(-70px, 90px) scale(1.18); } }
@keyframes drift-c { to { transform: translate(-60px, -70px) scale(1.08); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #3f6cf6 0%, #1b4eee 46%, #0a2277 100%);
  isolation: isolate;
  padding-bottom: 120px;
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1; opacity: .1;
  background-image:
    linear-gradient(rgba(255, 255, 255, .35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .35) 1px, transparent 1px);
  background-size: 90px 90px;
  mask-image: radial-gradient(ellipse 90% 70% at 60% 30%, black 20%, transparent 75%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 4vw;
  max-width: 1340px;
  margin: auto;
  padding: 175px 5vw 30px;
}
.eyebrow, .section-number {
  display: flex; align-items: center; gap: 9px;
  letter-spacing: .14em; font-size: 11px; font-weight: 700; text-transform: uppercase;
}
.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: var(--mint);
  box-shadow: 0 0 0 5px rgba(143, 242, 196, .18);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse { 50% { box-shadow: 0 0 0 9px rgba(143, 242, 196, .08); } }
h1 {
  max-width: 620px;
  margin: 25px 0 22px;
  font: 800 clamp(44px, 4.8vw, 74px)/1.02 var(--font-head);
  letter-spacing: -.05em;
}
h1 em {
  font-style: normal;
  background: linear-gradient(105deg, #b9ffd9, #7fe9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-intro { max-width: 480px; color: rgba(255, 255, 255, .92); font-size: 17px; line-height: 1.65; }

/* ---------- Notify forms ---------- */
.notify-form {
  display: flex;
  max-width: 470px;
  margin-top: 28px;
  padding: 6px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 100px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color .25s, box-shadow .25s;
}
.notify-form:focus-within {
  border-color: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .12);
}
.notify-form input {
  min-width: 0; flex: 1;
  padding: 13px 18px;
  border: 0; outline: 0;
  color: #fff; background: transparent;
  font-size: 14px;
}
.notify-form input::placeholder { color: rgba(255, 255, 255, .8); }
.notify-form button {
  padding: 13px 22px;
  border: 0; border-radius: 100px;
  color: var(--blue-deep);
  background: linear-gradient(120deg, #fff, #d8ffe9);
  font-size: 13px; font-weight: 800;
  white-space: nowrap;
  transition: transform .2s var(--ease-out), box-shadow .2s;
}
.notify-form button:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(4, 18, 74, .3); }
.notify-form button:disabled { opacity: .7; cursor: default; transform: none; }
.form-note { margin: 12px 0 0; font-size: 13px; color: rgba(255, 255, 255, .92); }
.form-note.is-error { color: #ffc7c7; }
.success-message {
  margin: 0 !important; max-width: 430px; color: #baffd9;
  font: 700 16px/1.45 var(--font-head); letter-spacing: -.02em;
}

.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.store-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 100px;
  font-size: 12px; font-weight: 700;
  color: #fff;
}
.store-pill .icon { font-size: 15px; }
.hero-proof { display: flex; align-items: center; gap: 12px; color: rgba(255, 255, 255, .92); font-size: 13px; }
.proof-avatars { display: flex; }
.proof-avatars i {
  display: grid; place-items: center;
  width: 25px; height: 25px; margin-left: -5px;
  border: 2px solid var(--blue); border-radius: 50%;
  background: #8ca6ff; color: var(--blue-deep);
  font-size: 9px; font-style: normal; font-weight: 800;
}
.proof-avatars i:first-child { margin-left: 0; background: #ffd5ad; }
.proof-avatars i:last-child { background: #a4e5c3; }

/* ---------- Hero stage ---------- */
.hero-stage { position: relative; height: 660px; }
.stage-glow {
  position: absolute; top: 12%; left: 8%;
  width: 76%; height: 76%; border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  filter: blur(70px);
}
.stage-orbit {
  position: absolute; left: 50%; top: 48%;
  width: 540px; height: 190px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-31deg);
  animation: orbit-breathe 9s ease-in-out infinite;
}
.orbit-two {
  width: 390px; height: 550px;
  transform: translate(-50%, -50%) rotate(32deg);
  border-color: rgba(255, 255, 255, .12);
  animation-delay: -4s;
}
@keyframes orbit-breathe { 50% { opacity: .45; } }

.phone-shell {
  position: absolute; top: 28px; left: 50%;
  width: 272px; height: 600px;
  padding: 14px 18px 0;
  border: 7px solid #132b9d;
  border-radius: 39px;
  background: #f5f6fa; color: var(--ink);
  box-shadow: 30px 40px 70px rgba(3, 18, 83, .35), inset 0 0 0 1px rgba(255, 255, 255, .5);
  transform: translateX(-50%) rotate(6deg);
  transition: transform .4s var(--ease-out);
  overflow: hidden;
}
.phone-top { display: flex; justify-content: space-between; align-items: center; font-size: 8px; font-weight: 700; }
.phone-top i { width: 74px; height: 17px; border-radius: 20px; background: var(--ink); }
.phone-battery { width: 16px; height: 8px; border: 1px solid var(--ink); border-radius: 2px; background: linear-gradient(90deg, var(--ink) 70%, transparent 70%); }
.phone-brand { display: flex; align-items: center; margin-top: 22px; padding: 0 3px; font: 700 13px var(--font-head); }
.phone-hero-card {
  margin-top: 13px; padding: 17px 10px 14px;
  border-radius: 17px; color: #fff;
  background: linear-gradient(135deg, #4470f8, #153ccb);
  text-align: center;
  box-shadow: 0 8px 16px rgba(27, 78, 238, .18);
}
.phone-ring {
  display: flex; align-items: center; justify-content: center;
  width: 182px; height: 182px; margin: 0 auto;
  border: 7px solid rgba(255, 255, 255, .23);
  border-top-color: #fff; border-right-color: #fff;
  border-radius: 50%;
  transform: rotate(-35deg);
}
.phone-ring-content {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: 100%; transform: rotate(35deg); text-align: center;
}
.phone-ring span { color: rgba(255, 255, 255, .88); font-size: 9px; font-weight: 500; white-space: nowrap; }
.phone-ring strong { margin-top: 2px; font: 700 26px/1 var(--font-head); letter-spacing: -.05em; white-space: nowrap; }
.phone-ring small { font: 600 12px "DM Sans"; letter-spacing: 0; }
.phone-hero-card p { margin: 11px 0 8px; color: rgba(255, 255, 255, .9); font-size: 9px; }
.phone-verdict {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px; border-radius: 20px;
  background: rgba(255, 255, 255, .15);
  font-size: 9px; font-weight: 600;
}
.phone-verdict i { width: 6px; height: 6px; border-radius: 50%; background: #9ff4cb; }
.phone-section-head { display: flex; align-items: center; justify-content: space-between; margin: 16px 2px 3px; color: #5f6a7e; font-size: 8px; }
.phone-section-head b { font-size: 10px; font-weight: 700; }
.phone-section-head > span { color: var(--muted); }
.phone-bill {
  display: grid; grid-template-columns: 33px minmax(0, 1fr) 78px;
  align-items: center; gap: 9px;
  min-height: 51px; padding: 7px 0;
  border-bottom: 1px solid #e0e3ea;
  font-size: 10px;
}
.phone-bill span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.phone-bill b { font-size: 10px; white-space: nowrap; }
.phone-bill small { color: #5f6a7e; font-size: 9px; }
.phone-bill strong {
  justify-self: end; min-width: 78px;
  color: var(--ink); font-size: 10px;
  font-variant-numeric: tabular-nums; font-feature-settings: "tnum" 1;
  text-align: right; white-space: nowrap;
}
.phone-bill.income strong { color: var(--green); }
.phone-icon {
  display: grid; place-items: center;
  width: 31px; height: 31px; border-radius: 10px;
  color: var(--muted); background: #eef1f7; font-size: 14px;
}
.phone-bill.income .phone-icon { color: var(--green); background: #e2f8ed; }
.forecast-head { margin-top: 13px; }
.phone-toggle { display: flex; align-items: center; gap: 2px; padding: 3px; border-radius: 9px; background: #e9edf5; color: #5f6a7e !important; }
.phone-toggle i, .phone-toggle strong { padding: 4px 8px; border-radius: 7px; font-size: 8px; font-style: normal; font-weight: 600; }
.phone-toggle strong { color: #fff; background: var(--blue); }
.phone-chart { margin-top: 8px; padding: 10px 9px 7px; border-radius: 13px; background: #fff; }
.phone-chart svg { width: 100%; height: 52px; margin-top: 1px; }
.phone-chart-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 7px; }
.phone-tabbar {
  position: absolute; z-index: 4; right: 0; bottom: 0; left: 0;
  display: grid; grid-template-columns: repeat(2, 1fr) 1.2fr repeat(2, 1fr);
  align-items: center;
  height: 68px; padding: 9px 8px 6px;
  border-top: 1px solid rgba(14, 20, 34, .05);
  border-radius: 25px 25px 0 0;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 -7px 18px rgba(14, 20, 34, .07);
  color: #6d7789; font-size: 7px; text-align: center;
}
.phone-tabbar span { display: flex; flex-direction: column; align-items: center; gap: 3px; }
.phone-tabbar span .icon { font-size: 14px; }
.phone-tabbar .selected { color: var(--blue); }
.phone-tabbar strong {
  display: grid; place-items: center;
  width: 48px; height: 48px; margin: -30px auto 0;
  border: 4px solid #fff; border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #4470f8, #153ccb);
  box-shadow: 0 9px 20px rgba(27, 78, 238, .34);
}
.phone-tabbar strong .icon { font-size: 20px; }

.floating-chip {
  position: absolute; z-index: 3;
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px 12px 11px;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 16px;
  background: rgba(255, 255, 255, .16);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 16px 25px rgba(11, 38, 152, .18);
  color: #fff;
  animation: float 5.5s ease-in-out infinite;
}
.floating-chip small { display: block; margin-bottom: 2px; color: rgba(255, 255, 255, .9); font-size: 9px; }
.floating-chip strong { font: 700 13px var(--font-head); font-variant-numeric: tabular-nums; }
.chip-icon {
  display: grid; place-items: center;
  width: 30px; height: 30px; border-radius: 10px;
  background: rgba(255, 255, 255, .17);
  font-size: 15px;
}
.chip-income { top: 130px; left: -12px; }
.chip-bills { top: 350px; right: -6px; animation-delay: -2s; }
.chip-calm { left: 4px; bottom: 30px; animation-delay: -3.5s; }
.chip-calm .chip-icon { color: var(--mint); }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

.scroll-cue {
  position: relative; z-index: 2;
  display: flex; align-items: center; gap: 14px;
  max-width: 1340px; margin: 10px auto 0; padding: 0 5vw;
  color: rgba(255, 255, 255, .9); font-size: 12px;
  transition: color .2s;
}
.scroll-cue:hover { color: #fff; }
.scroll-line { width: 35px; height: 1px; background: rgba(255, 255, 255, .5); }
.scroll-cue .icon { animation: nudge 2.2s ease-in-out infinite; }
@keyframes nudge { 50% { transform: translateY(4px); } }

.hero-wave {
  position: absolute; left: 0; right: 0; bottom: -1px;
  color: var(--soft);
  line-height: 0;
  pointer-events: none;
}
.hero-wave svg { width: 100%; height: clamp(40px, 8vw, 110px); display: block; }

/* ---------- Trust strip ---------- */
.trust-strip {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 18px;
  max-width: 1240px; min-height: 90px;
  margin: auto; padding: 10px 5vw;
  color: var(--muted); font-size: 13px;
}
.trust-strip p { margin: 0; font-weight: 600; }
.trust-strip div { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip span {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: #fff;
  text-transform: uppercase; letter-spacing: .1em;
  font-size: 11px; font-weight: 700;
  transition: transform .25s var(--ease-out), box-shadow .25s, color .25s;
}
.trust-strip span:hover { transform: translateY(-2px); box-shadow: var(--shadow-soft); color: var(--blue); }

/* ---------- Sections ---------- */
.section { max-width: 1240px; margin: auto; padding: 120px 5vw; }
.section-number { color: var(--blue); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 50px; margin-bottom: 64px; }
.section h2, .download-section h2 {
  margin: 18px 0 0;
  font: 800 clamp(38px, 4.6vw, 64px)/1.04 var(--font-head);
  letter-spacing: -.045em;
}
.section h2 span, .download-section h2 span { color: var(--heading-soft); }
.section-heading p { max-width: 355px; margin: 0 5% 5px 0; color: var(--muted); line-height: 1.7; }

/* ---------- Features ---------- */
.how { position: relative; }
.how::before {
  content: ""; position: absolute; z-index: -1;
  top: -60px; right: -10%;
  width: 620px; height: 620px; border-radius: 50%;
  background: radial-gradient(circle, rgba(68, 112, 248, .09), transparent 65%);
  pointer-events: none;
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature-card {
  position: relative;
  min-height: 330px;
  padding: 32px 30px 36px;
  border: 1px solid rgba(14, 20, 34, .06);
  border-radius: var(--radius-lg);
  background: linear-gradient(170deg, #fff, #fafbff);
  box-shadow: 0 8px 25px rgba(14, 20, 34, .04);
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}
.feature-card::before {
  content: ""; position: absolute; inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #4470f8, #23d3a8);
  opacity: 0;
  transition: opacity .35s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-float); }
.feature-card:hover::before { opacity: 1; }
[data-reveal].is-visible.feature-card { transform: none; }
[data-reveal].is-visible.feature-card:hover { transform: translateY(-6px); }
.card-index { display: block; color: #6d7789; font-size: 11px; font-weight: 700; }
.feature-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; margin-top: 52px;
  border-radius: 18px;
  color: var(--blue);
  background: linear-gradient(140deg, #eaf0ff, #dbe6ff);
  font-size: 26px;
  transition: transform .35s var(--ease-out);
}
.feature-card:hover .feature-icon { transform: scale(1.07) rotate(-4deg); }
.feature-icon.dark { color: var(--ink); background: linear-gradient(140deg, #f1f3f8, #e6eaf2); }
.feature-icon.green { color: var(--green); background: linear-gradient(140deg, #e2f8ed, #d2f3e2); }
.feature-card h3 { margin: 21px 0 8px; font: 700 21px var(--font-head); letter-spacing: -.03em; }
.feature-card p { max-width: 300px; color: var(--muted); font-size: 14px; line-height: 1.65; margin-bottom: 0; }

/* ---------- Insight + interactive demo ---------- */
.insight-section {
  position: relative;
  display: grid; grid-template-columns: 1fr 1fr;
  align-items: center; gap: 6vw;
  padding-top: 90px; padding-bottom: 150px;
}
.insight-section::before {
  content: ""; position: absolute; z-index: -1;
  left: -15%; bottom: -10%;
  width: 700px; height: 700px; border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 211, 168, .08), transparent 65%);
  pointer-events: none;
}
.insight-copy > p { max-width: 420px; margin: 26px 0 30px; color: var(--muted); line-height: 1.7; }

.afford-demo {
  max-width: 440px;
  padding: 22px 24px 20px;
  border: 1px solid rgba(27, 78, 238, .12);
  border-radius: 22px;
  background: linear-gradient(165deg, #fff, #f4f7ff);
  box-shadow: var(--shadow-soft);
}
.afford-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; }
.afford-head label { color: var(--muted); font-size: 13px; font-weight: 600; }
.afford-head output {
  white-space: nowrap;
  font: 800 22px var(--font-head);
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  color: var(--blue-deep);
}
input[type="range"] {
  width: 100%; margin: 18px 0 14px;
  appearance: none; -webkit-appearance: none;
  height: 8px; border-radius: 100px;
  background: linear-gradient(90deg, var(--blue-light) var(--fill, 10%), #e3e8f4 var(--fill, 10%));
  outline-offset: 6px;
}
input[type="range"]::-webkit-slider-thumb {
  appearance: none; -webkit-appearance: none;
  width: 26px; height: 26px; border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(140deg, var(--blue-light), var(--blue-deep));
  box-shadow: 0 6px 16px rgba(27, 78, 238, .4);
  transition: transform .2s var(--ease-out);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.12); }
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px; border-radius: 50%;
  border: 3px solid #fff;
  background: linear-gradient(140deg, var(--blue-light), var(--blue-deep));
  box-shadow: 0 6px 16px rgba(27, 78, 238, .4);
}
.afford-verdict {
  display: flex; align-items: center; gap: 9px;
  margin: 0;
  font-size: 14px; font-weight: 700;
  transition: color .3s;
}
.afford-verdict .icon { font-size: 17px; }
.afford-verdict.is-good { color: var(--green); }
.afford-verdict.is-ok { color: var(--blue); }
.afford-verdict.is-tight { color: var(--amber); }
.afford-verdict.is-over { color: var(--red); }

.text-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 26px;
  color: var(--blue); font-size: 14px; font-weight: 700;
  transition: gap .25s var(--ease-out);
}
.text-cta:hover { gap: 12px; }
.text-cta .icon { font-size: 14px; }

.insight-visual { position: relative; min-height: 460px; }
.demo-ring {
  position: absolute; top: 50%; left: 50%;
  width: min(420px, 100%); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: conic-gradient(var(--ring-color, var(--blue-light)) calc(var(--ring, 12) * 1%), #e6ebf7 0);
  -webkit-mask: radial-gradient(circle, transparent 62%, black 63%, black 78%, transparent 79%);
  mask: radial-gradient(circle, transparent 62%, black 63%, black 78%, transparent 79%);
  filter: drop-shadow(0 14px 30px rgba(27, 78, 238, .16));
  transition: background .4s;
}
.insight-center {
  position: absolute; top: 50%; left: 50%;
  display: flex; flex-direction: column; align-items: center;
  transform: translate(-50%, -50%);
  text-align: center;
}
.insight-center span { color: #6d7789; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.insight-center strong {
  margin: 9px 0 4px;
  font: 800 clamp(30px, 3.6vw, 46px) var(--font-head);
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
}
.insight-center strong.is-negative { color: var(--red); }
.insight-center small { color: var(--muted); font-size: 12px; }
.insight-note {
  position: absolute;
  display: flex; align-items: center; gap: 9px;
  padding: 11px 14px;
  border: 1px solid #e1e6f0; border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 25px rgba(14, 20, 34, .07);
  font-size: 11px;
  animation: float 6s ease-in-out infinite;
}
.insight-note span {
  display: grid; place-items: center;
  width: 26px; height: 26px; border-radius: 9px;
  color: var(--green); background: #e2f8ed;
  font-size: 14px;
}
.note-one { top: 40px; right: 0; }
.note-two { bottom: 40px; left: 0; animation-delay: -3s; }
.note-two span { color: var(--blue); background: #eaf0ff; }

/* ---------- Download ---------- */
.download-section { padding: 30px 5vw 0; max-width: 1340px; margin: auto; }
.download-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-radius: var(--radius-xl);
  color: #fff;
  background: linear-gradient(125deg, #3f6cf6 0%, #1b4eee 48%, #0a2277 100%);
  box-shadow: 0 40px 80px rgba(11, 38, 152, .28);
}
.download-card .blob-a { opacity: .45; }
.download-card .blob-b { opacity: .3; }
.download-inner {
  display: flex; justify-content: space-between; align-items: center;
  gap: 40px;
  max-width: 1140px; min-height: 480px;
  margin: auto; padding: 85px 6vw;
}
.download-section .section-number { color: var(--mint); }
.download-section h2 { margin: 22px 0 18px; }
.download-section p { max-width: 425px; color: rgba(255, 255, 255, .92); }
.download-mark { display: flex; flex-direction: column; align-items: center; transform: rotate(6deg); }
.download-mark img {
  width: 150px; height: 150px; border-radius: 38px;
  box-shadow: 18px 25px 50px rgba(3, 18, 83, .3);
  transition: transform .4s var(--ease-out);
}
.download-mark:hover img { transform: scale(1.05) rotate(-4deg); }
.download-mark span { margin-top: 18px; font: 800 22px var(--font-head); }
.download-mark small { color: rgba(255, 255, 255, .88); font-size: 13px; }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: .6fr 1.4fr; gap: 8vw; padding-top: 110px; padding-bottom: 120px; }
.faq-title span { color: var(--heading-soft); }
.faq-list details {
  margin-bottom: 14px;
  border: 1px solid rgba(14, 20, 34, .07);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(14, 20, 34, .04);
  transition: box-shadow .3s;
}
.faq-list details:hover { box-shadow: var(--shadow-soft); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 22px 24px;
  list-style: none;
  font: 700 18px var(--font-head); letter-spacing: -.02em;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-marker {
  display: grid; place-items: center; flex: none;
  width: 32px; height: 32px; border-radius: 50%;
  color: var(--blue); background: #eaf0ff;
  font-size: 15px;
  transition: transform .3s var(--ease-out), background .3s, color .3s;
}
.faq-list details[open] .faq-marker { transform: rotate(45deg); color: #fff; background: var(--blue); }
.faq-list p { max-width: 600px; margin: 0; padding: 0 24px 22px; color: var(--muted); font-size: 14px; line-height: 1.7; }

/* ---------- Footer ---------- */
.site-footer {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 30px 5vw;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}
.site-footer .brand { color: var(--ink); font-size: 16px; }
.site-footer .brand img { width: 25px; height: 25px; border-radius: 7px; }
.site-footer a:last-child { color: var(--blue); font-weight: 700; }
.site-footer a:hover { color: var(--blue); }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.footer-links a { display: inline-block; padding: 12px 8px; color: var(--muted); transition: color .2s; }
.footer-links a:hover { color: var(--blue); }

/* ---------- Subpages ---------- */
.subpage { min-height: 100vh; background: linear-gradient(180deg, #eef2ff 0%, var(--soft) 28%, #fff 100%); }
.subpage .site-header { position: relative; color: var(--ink); }
.subpage .site-header.is-scrolled { position: relative; padding: 24px 5vw; background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
.subpage .desktop-nav { color: var(--muted); }
.subpage .desktop-nav a:hover { color: var(--blue); }
.subpage .desktop-nav a::after { background: var(--blue); }
.subpage .nav-cta { border-color: rgba(27, 78, 238, .25); background: rgba(27, 78, 238, .04); color: var(--blue); }
.subpage .nav-cta:hover { color: #fff; background: var(--blue); }
.subpage :focus-visible { outline-color: var(--blue-light); }
.page-wrap { max-width: 980px; margin: auto; padding: 85px 5vw 120px; }
.page-kicker { color: var(--blue); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.page-wrap h1 { max-width: 760px; margin: 20px 0 25px; font-size: clamp(42px, 6vw, 74px); }
.page-lead { max-width: 620px; margin-bottom: 60px; color: var(--muted); font-size: 18px; line-height: 1.7; }
.page-content { max-width: 720px; }
.page-content h2 { margin: 46px 0 13px; font: 800 27px/1.1 var(--font-head); letter-spacing: -.04em; }
.page-content h2:first-child { margin-top: 0; }
.page-content h3 { margin: 28px 0 8px; font: 700 18px var(--font-head); }
.page-content p, .page-content li { color: var(--muted); line-height: 1.75; }
.page-content ul { padding-left: 22px; }
.page-content a { color: var(--blue); font-weight: 700; }
.page-content details { border-bottom: 1px solid var(--line); }
.page-content summary { display: flex; justify-content: space-between; padding: 20px 0; font: 700 19px var(--font-head); list-style: none; }
.page-content summary::-webkit-details-marker { display: none; }
.page-content summary span { color: var(--blue); transition: transform .3s var(--ease-out); }
.page-content details[open] summary span { transform: rotate(45deg); }
.page-content details p { margin: 0 0 20px; }
.contact-line {
  display: inline-flex; align-items: center; gap: 10px;
  margin-top: 18px; padding: 14px 18px;
  border-radius: 100px;
  color: #fff !important;
  background: linear-gradient(120deg, var(--blue-light), var(--blue-deep));
  box-shadow: 0 14px 30px rgba(27, 78, 238, .25);
  transition: transform .25s var(--ease-out), box-shadow .25s;
}
.contact-line:hover { transform: translateY(-2px); box-shadow: 0 18px 36px rgba(27, 78, 238, .32); }
.subpage .site-footer { background: #fff; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 30px; padding-top: 150px; }
  .hero-copy { max-width: 620px; }
  .hero-stage { max-width: 560px; margin: 30px auto 0; }
  .desktop-nav { margin-left: 0; gap: 22px; }
  .section { padding: 95px 6vw; }
  .insight-section { grid-template-columns: 1fr; gap: 40px; }
  .insight-visual { margin-top: 20px; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 24px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .feature-icon { margin-top: 32px; }
  .download-inner { flex-direction: column; align-items: flex-start; padding: 70px 8vw; }
  .download-mark { align-self: center; margin-top: 20px; }
  .faq { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 620px) {
  .site-header { padding: 14px 4vw; }
  .site-header.is-scrolled { padding: 8px 4vw; }
  .desktop-nav { display: none; }
  .brand span { display: none; }
  .header-actions { gap: 8px; }
  .lang-switch button { padding: 9px 10px; }
  .nav-cta { padding: 10px 12px; font-size: 12px; }
  .hero-inner { padding: 130px 6vw 20px; }
  .hero-intro { font-size: 15px; }
  .notify-form { flex-direction: column; gap: 8px; padding: 10px; border-radius: 24px; }
  .notify-form input { padding: 12px 14px; text-align: center; }
  .notify-form button { padding: 14px 22px; }
  .hero-stage { height: 600px; transform: scale(.86); transform-origin: top center; margin-bottom: -60px; }
  .chip-income { left: -20px; }
  .chip-bills { right: -18px; }
  .chip-calm { left: -10px; }
  .scroll-cue { display: none; }
  .trust-strip { display: block; padding: 26px 6vw; }
  .trust-strip div { margin-top: 16px; }
  .section { padding: 80px 6vw; }
  .afford-demo { padding: 18px 18px 16px; }
  .insight-visual { min-height: 380px; }
  .note-one { top: 10px; }
  .note-two { bottom: 10px; }
  .download-section { padding: 20px 4vw 0; }
  .download-card { border-radius: 32px; }
  .download-inner { padding: 60px 8vw; min-height: auto; }
  .faq { padding-top: 90px; padding-bottom: 95px; }
  .faq-list summary { font-size: 16px; padding: 18px 18px; }
  .faq-list p { padding: 0 18px 18px; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; gap: 16px; }
  .site-footer .brand { width: 100%; }
  .footer-links { justify-content: flex-start; }
  .site-footer span { order: 3; width: 100%; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}
