/* ==========================================================================
   Save Correct with Lisa — Multi-Page Site Styles
   Premium palette: deeper aubergine #1A0F38 • champagne gold #C9A24A • ivory #FBF8F2 • black footer
   ========================================================================== */

/* ---------- Design tokens (premium refined) ---------- */
:root {
  --purple-950: #0F0824;
  --purple-900: #1A0F38;
  --purple-850: #221447;
  --purple-800: #2D1B4E;
  --purple-700: #4A3298;
  --purple-600: #5D44B8;
  --purple-100: #ECE6F6;
  --purple-50:  #F7F4FC;
  --gold:       #C9A24A;
  --gold-dark:  #9A7726;
  --gold-light: #E0C275;
  --gold-pale:  #FAF1D7;
  --gold-glow:  rgba(201, 162, 74, .35);
  --ivory:      #FBF8F2;
  --ivory-deep: #F4EFE3;
  --ink:        #0F0A1E;
  --ink-soft:   #5C5470;
  --ink-faint:  #8B84A0;
  --line:       #E9E4F2;
  --bg:         #FFFFFF;
  --bg-soft:    #F8F6FC;
  --bg-warm:    #FBF8F2;
  --green:      #12A36B;
  --green-soft: #E2F6EC;
  --red:        #E24C4B;
  --red-soft:   #FBE9E9;
  --blue:       #3B82F6;
  --blue-soft:  #E5EEFD;
  --whatsapp:   #25D366;
  --whatsapp-dark: #128C7E;
  --shadow-sm: 0 2px 10px rgba(26, 15, 56, .08);
  --shadow-md: 0 16px 36px rgba(26, 15, 56, .12);
  --shadow-lg: 0 30px 74px rgba(26, 15, 56, .22);
  --shadow-gold: 0 14px 38px rgba(201, 162, 74, .35);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --font-head: 'Sora', system-ui, -apple-system, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-script: 'Great Vibes', 'Segoe Script', cursive;
  --nav-h: 78px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 14px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
svg { display: block; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -.01em; }

.container { width: min(1180px, 100% - 44px); margin-inline: auto; }

::selection { background: var(--gold); color: var(--purple-950); }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 999px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .3s, color .3s, border-color .3s;
  will-change: transform;
  white-space: nowrap;
}
.btn svg { width: 17px; height: 17px; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, #C29A2F 100%);
  color: var(--purple-950);
  box-shadow: 0 10px 26px rgba(212, 169, 61, .38);
}
.btn-gold:hover { box-shadow: 0 16px 34px rgba(212, 169, 61, .5); }

.btn-ghost {
  background: rgba(45, 27, 78, .05);
  color: var(--purple-900);
  border: 1.5px solid rgba(45, 27, 78, .16);
}
.btn-ghost:hover { background: rgba(45, 27, 78, .09); border-color: rgba(45, 27, 78, .34); }

.btn-outline {
  background: transparent; color: var(--purple-900);
  border: 1.8px solid rgba(45, 27, 78, .22);
}
.btn-outline:hover { border-color: var(--purple-900); background: var(--purple-50); }

.btn-outline-light {
  background: rgba(255, 255, 255, .06); color: #fff;
  border: 1.6px solid rgba(255, 255, 255, .32);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }

.btn-sm { padding: 10px 22px; font-size: 13.5px; }
.btn-lg { padding: 17px 34px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Eyebrow / section heads ---------- */
.section { position: relative; padding: 96px 0; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 44px); font-weight: 800; margin: 14px 0 14px; }
.section-head p { color: var(--ink-soft); font-size: 17px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-head); font-weight: 600; font-size: 13px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--purple-700);
}
.eyebrow svg { width: 15px; height: 15px; color: var(--gold); }
.eyebrow-light { color: var(--gold-light); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 7px;
  margin-top: 16px; font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--purple-700);
  padding-bottom: 3px; border-bottom: 2px solid transparent;
  transition: gap .3s var(--ease), color .25s, border-color .25s;
}
.link-arrow svg { width: 15px; height: 15px; transition: transform .3s var(--ease); }
.link-arrow:hover { color: var(--gold-dark); border-color: var(--gold); gap: 12px; }
.link-arrow:hover svg { transform: translateX(3px); }
.link-arrow.is-light { color: var(--gold-light); }
.link-arrow.is-light:hover { color: #fff; border-color: var(--gold-light); }

.gold-text {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, #B8901F);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 90;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: box-shadow .35s, border-color .35s, background .35s;
}
.nav.is-scrolled {
  background: rgba(255, 255, 255, .94);
  border-color: var(--line);
  box-shadow: 0 10px 30px rgba(45, 27, 78, .08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }

.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 44px; height: 44px; border-radius: 14px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--purple-900), var(--purple-700));
  color: var(--gold-light);
  box-shadow: 0 8px 20px rgba(45, 27, 78, .28);
  flex: none;
}
.brand-mark svg { width: 26px; height: 26px; }
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: 19px;
  color: var(--purple-950); line-height: 1.05; letter-spacing: -.01em;
}
.brand-text em { font-style: normal; color: var(--gold-dark); }
.brand-text small {
  display: block; font-family: var(--font-script); font-weight: 400;
  font-size: 17px; color: var(--purple-700); letter-spacing: 0;
}
.brand-light .brand-text { color: #fff; }
.brand-light .brand-text em { color: var(--gold-light); }
.brand-light .brand-text small { color: rgba(255, 255, 255, .72); }

.nav-links { display: flex; gap: 6px; }
.nav-link {
  position: relative; padding: 9px 15px; border-radius: 999px;
  font-weight: 600; font-size: 14.5px; color: var(--ink-soft);
  transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--purple-900); background: var(--purple-50); }
.nav-link.is-active { color: var(--purple-900); }
.nav-link.is-active::after {
  content: ""; position: absolute; left: 50%; bottom: 2px; transform: translateX(-50%);
  width: 18px; height: 3px; border-radius: 2px; background: var(--gold);
}

.nav-actions { display: flex; align-items: center; gap: 12px; }

.nav-burger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; border-radius: 12px;
  background: var(--purple-50); border: 1px solid var(--line);
  padding: 11px;
}
.nav-burger span {
  height: 2.4px; border-radius: 2px; background: var(--purple-900);
  transition: transform .35s var(--ease), opacity .25s, width .35s;
}
.nav-burger span:nth-child(2) { width: 75%; }
.nav-burger.is-open span:nth-child(1) { transform: translateY(7.4px) rotate(45deg); }
.nav-burger.is-open span:nth-child(2) { opacity: 0; }
.nav-burger.is-open span:nth-child(3) { transform: translateY(-7.4px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 89;
  background: rgba(255, 255, 255, .97);
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 30px 60px rgba(45, 27, 78, .18);
  padding: 18px 24px 26px;
  display: flex; flex-direction: column; gap: 4px;
  transform: translateY(-12px); opacity: 0; visibility: hidden;
  transition: transform .4s var(--ease), opacity .35s, visibility .35s;
  max-height: calc(100vh - var(--nav-h)); overflow-y: auto;
}
.mobile-menu.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
.mobile-link {
  padding: 14px 16px; border-radius: 14px; font-weight: 600; font-size: 16px;
  color: var(--purple-950); transition: background .25s;
}
.mobile-link:hover { background: var(--purple-50); }
.mobile-cta { margin-top: 14px; }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 64px) 0 0;
  background:
    radial-gradient(900px 500px at 85% -10%, rgba(201, 162, 74, .16), transparent 60%),
    radial-gradient(1000px 640px at -10% 10%, rgba(74, 50, 152, .10), transparent 55%),
    linear-gradient(180deg, var(--ivory) 0%, #FFFFFF 100%);
  overflow: hidden;
}
.hero-decor { position: absolute; inset: 0; pointer-events: none; }
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; }
.blob-a { width: 420px; height: 420px; right: -140px; top: -120px; background: rgba(212, 169, 61, .22); animation: blobFloat 14s ease-in-out infinite; }
.blob-b { width: 380px; height: 380px; left: -160px; top: 240px; background: rgba(74, 50, 152, .14); animation: blobFloat 18s ease-in-out infinite reverse; }
.blob-c { width: 460px; height: 460px; right: -160px; bottom: -180px; background: rgba(212, 169, 61, .16); animation: blobFloat 16s ease-in-out infinite; }
.blob-d { width: 420px; height: 420px; left: 50%; top: -160px; transform: translateX(-50%); background: rgba(74, 50, 152, .30); }

.grid-dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(45, 27, 78, .10) 1px, transparent 1.4px);
  background-size: 30px 30px;
  mask-image: radial-gradient(700px 420px at 70% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 420px at 70% 30%, #000 0%, transparent 75%);
}

.hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.04fr .96fr;
  gap: 56px; align-items: center;
  padding-bottom: 84px;
}

.hero-pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  font-weight: 600; font-size: 13.5px; color: var(--purple-800);
  margin-bottom: 26px;
}
.hero-pill svg { width: 15px; height: 15px; color: var(--green); }

.hero h1 {
  font-size: clamp(44px, 6.4vw, 76px);
  font-weight: 800; letter-spacing: -.025em; line-height: 1.02;
  color: var(--purple-950);
}
.word-stroke {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--purple-900);
  paint-order: stroke;
}
.script {
  font-family: var(--font-script); font-weight: 400;
  font-size: 1.24em; color: var(--gold-dark);
  display: inline-block; transform: rotate(-3deg) translateY(4px);
  letter-spacing: 0;
}

.hero-tagline {
  margin-top: 18px;
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(17px, 2vw, 21px); color: var(--purple-800);
  position: relative; padding-left: 18px;
}
.hero-tagline::before {
  content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 4px;
  border-radius: 3px; background: linear-gradient(var(--gold-light), var(--gold));
}

.hero-sub { margin-top: 18px; max-width: 520px; color: var(--ink-soft); font-size: 17.5px; }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 34px; }

.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 34px; }
.hero-trust-badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 18px; border-radius: 999px;
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  color: #fff; font-weight: 600; font-size: 13.5px; letter-spacing: .02em;
  box-shadow: 0 12px 26px rgba(45, 27, 78, .30);
}
.hero-trust-badge svg { width: 16px; height: 16px; color: var(--gold-light); }
.hero-trust-stars { display: inline-flex; align-items: center; gap: 3px; }
.hero-trust-stars svg { width: 15px; height: 15px; color: var(--gold); }
.hero-trust-stars em { font-style: normal; font-size: 13.5px; color: var(--ink-faint); margin-left: 7px; font-weight: 600; }

/* ---------- Hero visual / phone ---------- */
.hero-visual { position: relative; display: flex; flex-direction: column; align-items: center; }

.hero-tabs {
  display: inline-flex; gap: 6px; margin-top: 26px; padding: 6px;
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  box-shadow: var(--shadow-md); flex-wrap: wrap; justify-content: center;
}
.hero-tab {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 9px 18px; border-radius: 999px;
  font-weight: 600; font-size: 13.5px; color: var(--ink-soft);
  transition: background .3s, color .3s, box-shadow .3s;
}
.hero-tab svg { width: 15px; height: 15px; }
.hero-tab:hover { background: var(--purple-50); color: var(--purple-900); }
.hero-tab.is-active {
  background: linear-gradient(135deg, var(--purple-900), var(--purple-700));
  color: #fff; box-shadow: 0 8px 18px rgba(45, 27, 78, .32);
}

/* Floating stat cards */
.float-card {
  position: absolute; z-index: 5;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 18px; padding: 13px 18px;
  box-shadow: var(--shadow-lg);
  animation: cardFloat 6s ease-in-out infinite;
}
.float-card b { display: block; font-family: var(--font-head); font-size: 16.5px; color: var(--purple-950); line-height: 1.1; }
.float-card span { font-size: 12.5px; color: var(--ink-faint); font-weight: 600; }
.fc-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; flex: none; }
.fc-ic svg { width: 20px; height: 20px; }
.fc-purple { background: var(--purple-100); color: var(--purple-700); }
.fc-gold { background: var(--gold-pale); color: var(--gold-dark); }
.fc-green { background: var(--green-soft); color: var(--green); }
.fc-1 { top: 88px; left: -34px; animation-delay: 0s; }
.fc-2 { bottom: 128px; right: -40px; animation-delay: 1.6s; }
.fc-3 { top: -6px; right: 26px; animation-delay: 3s; }

/* ==========================================================================
   PHONE MOCKUP (em-based — scales with font-size)
   ========================================================================== */
.phone { font-size: 10px; width: 27em; }
.phone-frame {
  position: relative;
  height: 54.4em; /* 52em screen + 2 x 1.1em bezel + rounding */
  background: linear-gradient(160deg, var(--purple-800), var(--purple-950) 55%, var(--purple-900));
  border-radius: 3.6em;
  padding: 1.1em;
  box-shadow:
    0 2.2em 5em rgba(26, 15, 56, .34),
    0 1em 2.2em rgba(26, 15, 56, .22),
    inset 0 0 0 2px rgba(255, 255, 255, .09);
}
.phone-hero { animation: phoneFloat 7s ease-in-out infinite; }
.phone-mini { font-size: 8px; }
.phone-mini .phone-frame {
  box-shadow:
    0 2.6em 5.4em rgba(45, 27, 78, .30),
    0 1em 2.4em rgba(45, 27, 78, .20),
    inset 0 0 0 2px rgba(255, 255, 255, .09);
}

.phone-notch {
  position: absolute; top: 1.1em; left: 50%; transform: translateX(-50%);
  width: 8.5em; height: 2.1em; background: #14101F;
  border-radius: 0 0 1.6em 1.6em; z-index: 6;
}
.phone-homebar {
  position: absolute; bottom: .95em; left: 50%; transform: translateX(-50%);
  width: 7.5em; height: .75em; border-radius: 1em;
  background: rgba(255, 255, 255, .85); z-index: 6;
}

.phone-frame .app-screen {
  position: absolute;
  top: 1.1em; left: 1.1em; right: 1.1em; bottom: 1.1em;
  overflow: hidden;
  background: #F4F2FA;
  border-radius: 2.6em;
  padding: 1.5em 1.4em 1.2em;
  opacity: 0; transform: translateX(14px) scale(.985);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  pointer-events: none;
}
.phone-frame .app-screen.is-active { opacity: 1; transform: none; pointer-events: auto; }

/* --- status bar --- */
.app-status {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 1.05em; font-weight: 700; color: var(--purple-950);
  padding: 0 .4em .9em;
}
.app-status svg { height: 1.1em; width: auto; color: var(--purple-950); }

/* --- app header --- */
.app-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.3em; }
.app-greet { font-family: var(--font-head); font-weight: 700; font-size: 1.5em; color: var(--purple-950); }
.app-sub { font-size: 1.02em; color: var(--ink-faint); font-weight: 500; margin-top: .15em; }
.app-bell, .app-add {
  position: relative; width: 3.1em; height: 3.1em; border-radius: 1.1em;
  background: #fff; display: grid; place-items: center;
  color: var(--purple-800); box-shadow: 0 .3em .9em rgba(45, 27, 78, .10);
}
.app-bell svg, .app-add svg { width: 1.5em; height: 1.5em; }
.app-bell i {
  position: absolute; top: .55em; right: .6em; width: .75em; height: .75em;
  border-radius: 50%; background: var(--red); border: 2px solid #fff;
}

/* --- balance card --- */
.balance-card {
  position: relative; overflow: hidden;
  background: linear-gradient(140deg, var(--purple-700), var(--purple-900) 62%, var(--purple-950));
  border-radius: 1.9em; padding: 1.7em 1.6em 1.6em;
  color: #fff; margin-bottom: 1.3em;
  box-shadow: 0 1.4em 2.6em rgba(26, 15, 56, .32);
}
.balance-glow {
  position: absolute; top: -42%; right: -18%; width: 62%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(212, 169, 61, .5), transparent 65%);
  pointer-events: none;
}
.balance-row { display: flex; justify-content: space-between; align-items: center; }
.balance-label { font-size: 1.02em; color: rgba(255, 255, 255, .75); font-weight: 600; }
.balance-eye { width: 1.35em; height: 1.35em; color: rgba(255, 255, 255, .8); }
.balance-amount { font-family: var(--font-head); font-weight: 700; font-size: 2.15em; margin: .18em 0 .1em; letter-spacing: -.01em; }
.balance-avail { font-size: .98em; color: var(--gold-light); font-weight: 600; }

/* --- quick stats --- */
.quick-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: .8em; margin-bottom: 1.5em; }
.quick-item {
  background: #fff; border-radius: 1.4em; padding: 1em .5em .95em;
  display: flex; flex-direction: column; align-items: center; gap: .45em;
  box-shadow: 0 .25em .8em rgba(45, 27, 78, .07);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.quick-item:hover { transform: translateY(-.25em); box-shadow: 0 .8em 1.6em rgba(45, 27, 78, .13); }
.quick-ic { width: 2.9em; height: 2.9em; border-radius: 1em; display: grid; place-items: center; }
.quick-ic svg { width: 1.5em; height: 1.5em; }
.q-purple, .av-purple { background: var(--purple-100); color: var(--purple-700); }
.q-green, .av-green { background: var(--green-soft); color: var(--green); }
.q-gold, .av-gold { background: var(--gold-pale); color: var(--gold-dark); }
.q-red { background: var(--red-soft); color: var(--red); }
.quick-item b { font-size: .92em; color: var(--ink-soft); font-weight: 600; }
.quick-item em { font-style: normal; font-family: var(--font-head); font-weight: 700; font-size: 1.02em; color: var(--purple-950); }

/* --- transactions --- */
.app-title-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: .9em; }
.app-title-row h4 { font-size: 1.12em; color: var(--purple-950); }
.app-title-row a { font-size: .95em; font-weight: 600; color: var(--purple-700); }
.txn-list { display: flex; flex-direction: column; gap: .75em; }
.txn {
  display: flex; align-items: center; gap: .95em;
  background: #fff; border-radius: 1.35em; padding: .95em 1.1em;
  box-shadow: 0 .22em .7em rgba(45, 27, 78, .06);
}
.txn-ic { width: 2.7em; height: 2.7em; border-radius: .95em; display: grid; place-items: center; flex: none; }
.txn-ic svg { width: 1.3em; height: 1.3em; }
.t-green { background: var(--green-soft); color: var(--green); }
.t-red { background: var(--red-soft); color: var(--red); }
.t-gold { background: var(--gold-pale); color: var(--gold-dark); }
.t-purple { background: var(--purple-100); color: var(--purple-700); }
.txn-info { flex: 1; min-width: 0; }
.txn-info strong { display: block; font-size: 1em; color: var(--purple-950); }
.txn-info span { font-size: .88em; color: var(--ink-faint); }
.txn-amt { font-family: var(--font-head); font-weight: 700; font-size: 1em; }
.txn-amt.pos { color: var(--green); }
.txn-amt.neg { color: var(--red); }

/* --- savings plans (app) --- */
.plan-list { display: flex; flex-direction: column; gap: .95em; margin-bottom: 1.2em; }
.plan-card { background: #fff; border-radius: 1.5em; padding: 1.15em 1.2em; box-shadow: 0 .25em .8em rgba(45, 27, 78, .07); }
.plan-top { display: flex; align-items: center; gap: .9em; margin-bottom: .9em; }
.plan-ic { width: 2.9em; height: 2.9em; border-radius: 1em; display: grid; place-items: center; flex: none; }
.plan-ic svg { width: 1.5em; height: 1.5em; }
.p-purple { background: var(--purple-100); color: var(--purple-700); }
.plan-info { flex: 1; min-width: 0; }
.plan-info strong { display: block; font-size: 1.05em; color: var(--purple-950); }
.plan-info span { font-size: .87em; color: var(--ink-faint); }
.plan-pct { font-family: var(--font-head); font-size: 1.05em; color: var(--purple-700); }
.plan-saved { font-size: .88em; color: var(--ink-faint); margin-top: .6em; }

.bar { height: .85em; background: #EDE9F6; border-radius: 1em; overflow: hidden; }
.bar i {
  display: block; height: 100%; width: 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  border-radius: 1em;
  transition: width 1.4s var(--ease);
}
.app-screen.is-active .bar i { width: var(--w); }

.auto-save {
  display: flex; justify-content: space-between; align-items: center;
  background: #fff; border-radius: 1.5em; padding: 1.1em 1.25em;
  box-shadow: 0 .25em .8em rgba(45, 27, 78, .07);
}
.auto-save strong { display: block; font-size: 1.02em; color: var(--purple-950); }
.auto-save span { font-size: .87em; color: var(--ink-faint); }
.switch {
  width: 3.4em; height: 1.95em; border-radius: 1em; background: #DDD8EA;
  position: relative; transition: background .3s; flex: none;
}
.switch i {
  position: absolute; top: .26em; left: .28em; width: 1.42em; height: 1.42em;
  border-radius: 50%; background: #fff; box-shadow: 0 .15em .4em rgba(0, 0, 0, .2);
  transition: transform .3s var(--ease);
}
.switch.is-on { background: var(--green); }
.switch.is-on i { transform: translateX(1.4em); }

/* --- invest tiers --- */
.invest-summary {
  background: linear-gradient(140deg, var(--purple-700), var(--purple-900));
  border-radius: 1.9em; padding: 1.5em 1.4em; color: #fff; margin-bottom: 1.3em;
  box-shadow: 0 1.2em 2.4em rgba(45, 27, 78, .28);
}
.invest-summary p { font-size: .98em; color: rgba(255, 255, 255, .75); font-weight: 600; }
.invest-summary strong { display: block; font-family: var(--font-head); font-size: 1.9em; font-weight: 700; margin: .15em 0 .5em; }
.chip {
  display: inline-block; padding: .35em .9em; border-radius: 1em;
  font-size: .85em; font-weight: 700;
}
.chip-green { background: rgba(255, 255, 255, .16); color: #7DE8BC; }

.tier-list { display: flex; flex-direction: column; gap: .9em; margin-bottom: 1.3em; }
.tier {
  position: relative; display: flex; align-items: center; gap: .9em;
  background: #fff; border-radius: 1.4em; padding: 1.1em 1.15em;
  box-shadow: 0 .25em .8em rgba(45, 27, 78, .07);
}
.tier-ic { width: 2.8em; height: 2.8em; border-radius: 1em; display: grid; place-items: center; background: var(--gold-pale); color: var(--gold-dark); flex: none; }
.tier-ic svg { width: 1.4em; height: 1.4em; }
.tier-info { flex: 1; }
.tier-info strong { display: block; font-size: 1.02em; color: var(--purple-950); }
.tier-info span { font-size: .86em; color: var(--ink-faint); }
.tier b { font-family: var(--font-head); font-size: 1.18em; color: var(--purple-700); }
.tier b small { font-size: .62em; color: var(--ink-faint); font-weight: 600; }
.tier-popular { outline: 2px solid var(--gold); }
.tier-badge {
  position: absolute; top: -1em; right: 1em;
  background: var(--gold); color: var(--purple-950);
  font-size: .72em; font-weight: 700; padding: .3em .85em; border-radius: 1em;
  box-shadow: 0 .4em 1em rgba(212, 169, 61, .4);
}

.app-btn {
  width: 100%; padding: 1.15em; border-radius: 1.3em;
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 60%, #C29A2F);
  color: var(--purple-950); font-family: var(--font-head); font-weight: 700; font-size: 1.08em;
  box-shadow: 0 .8em 1.8em rgba(212, 169, 61, .35);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.app-btn:hover { transform: translateY(-.15em); }

/* --- loans screen --- */
.loan-limit-card {
  background: linear-gradient(140deg, var(--purple-700), var(--purple-900));
  border-radius: 1.9em; padding: 1.5em 1.4em; color: #fff; margin-bottom: 1.1em;
  box-shadow: 0 1.2em 2.4em rgba(45, 27, 78, .28);
}
.loan-limit-card p { font-size: .98em; color: rgba(255, 255, 255, .75); font-weight: 600; }
.loan-limit-card strong { display: block; font-family: var(--font-head); font-size: 1.9em; font-weight: 700; margin: .12em 0 .7em; }
.loan-chips { display: flex; flex-wrap: wrap; gap: .5em; }
.loan-chips span {
  font-size: .8em; font-weight: 700; padding: .38em .85em; border-radius: 1em;
  background: rgba(255, 255, 255, .14); color: var(--gold-light);
}
.active-loan { background: #fff; border-radius: 1.5em; padding: 1.2em 1.25em; box-shadow: 0 .25em .8em rgba(45, 27, 78, .07); margin-bottom: 1.2em; }
.active-loan-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .8em; }
.active-loan-head strong { font-size: 1em; color: var(--purple-950); }
.active-loan-head b { font-family: var(--font-head); color: var(--green); font-size: .95em; }
.active-loan p { font-size: .86em; color: var(--ink-faint); margin-top: .65em; }

/* --- contributions screen --- */
.contrib-summary {
  background: linear-gradient(140deg, #12A36B, #0C7E52);
  border-radius: 1.9em; padding: 1.4em; color: #fff; margin-bottom: 1.3em;
  box-shadow: 0 1.2em 2.4em rgba(18, 163, 107, .3);
}
.contrib-summary p { font-size: .98em; color: rgba(255, 255, 255, .82); font-weight: 600; }
.contrib-summary strong { display: block; font-family: var(--font-head); font-size: 1.7em; font-weight: 700; margin-top: .12em; }

.group-list { display: flex; flex-direction: column; gap: .85em; margin-bottom: 1.3em; }
.group { display: flex; align-items: center; gap: .9em; background: #fff; border-radius: 1.4em; padding: 1em 1.1em; box-shadow: 0 .25em .8em rgba(45, 27, 78, .07); }
.group-av {
  width: 2.9em; height: 2.9em; border-radius: 50%; display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 700; font-size: 1em; flex: none;
}
.group-info { flex: 1; min-width: 0; }
.group-info strong { display: block; font-size: 1.02em; color: var(--purple-950); }
.group-info span { font-size: .85em; color: var(--ink-faint); }
.group-next {
  font-style: normal; font-size: .78em; font-weight: 700; flex: none;
  padding: .38em .8em; border-radius: 1em;
  background: var(--purple-100); color: var(--purple-700);
}
.group-next.soon { background: var(--gold-pale); color: var(--gold-dark); }

/* --- wallet screen --- */
.wallet-balance {
  background: linear-gradient(140deg, var(--purple-700), var(--purple-900));
  border-radius: 1.9em; padding: 1.4em; color: #fff; margin-bottom: 1.25em;
  box-shadow: 0 1.2em 2.4em rgba(45, 27, 78, .28);
}
.wallet-balance p { font-size: .98em; color: rgba(255, 255, 255, .75); font-weight: 600; }
.wallet-balance strong { display: block; font-family: var(--font-head); font-size: 1.9em; font-weight: 700; margin-top: .12em; }
.wallet-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7em; margin-bottom: 1.4em; }
.w-act { display: flex; flex-direction: column; align-items: center; gap: .55em; }
.w-ic { width: 3.4em; height: 3.4em; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 .35em 1em rgba(45, 27, 78, .12); }
.w-ic svg { width: 1.55em; height: 1.55em; }
.w-green { background: var(--green-soft); color: var(--green); }
.w-red { background: var(--red-soft); color: var(--red); }
.w-blue { background: var(--blue-soft); color: var(--blue); }
.w-purple { background: var(--purple-100); color: var(--purple-700); }
.w-act b { font-size: .88em; color: var(--ink-soft); }

/* --- profile screen --- */
.profile-head { display: flex; align-items: center; gap: 1em; margin-bottom: 1.4em; }
.profile-av {
  width: 4.6em; height: 4.6em; border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--purple-950); display: grid; place-items: center;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5em; flex: none;
  box-shadow: 0 .6em 1.4em rgba(212, 169, 61, .35);
}
.profile-name { font-family: var(--font-head); font-weight: 700; font-size: 1.35em; color: var(--purple-950); display: flex; align-items: center; gap: .45em; }
.verified {
  width: 1.45em; height: 1.45em; border-radius: 50%; background: var(--green);
  color: #fff; display: inline-grid; place-items: center; flex: none;
}
.verified svg { width: .85em; height: .85em; }
.settings-list { display: flex; flex-direction: column; gap: .75em; }
.settings-list li {
  display: flex; align-items: center; gap: .95em;
  background: #fff; border-radius: 1.35em; padding: 1.05em 1.15em;
  box-shadow: 0 .22em .7em rgba(45, 27, 78, .06);
  font-size: 1em; font-weight: 600; color: var(--purple-950);
}
.settings-list li svg { width: 1.35em; height: 1.35em; color: var(--purple-700); flex: none; }
.settings-list li .chev { margin-left: auto; color: var(--ink-faint); display: flex; }
.settings-list li .chev svg { width: 1.1em; height: 1.1em; color: var(--ink-faint); }
.settings-list li em { margin-left: auto; }
.settings-list li.logout { color: var(--red); }
.settings-list li.logout svg { color: var(--red); transform: rotate(180deg); }

/* --- app tab bar --- */
.app-tabbar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; justify-content: space-around; align-items: center;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  padding: .9em .6em 1.6em;
  border-top: 1px solid #EEEAF6;
}

/* ==========================================================================
   TICKER
   ========================================================================== */
.ticker {
  position: relative; z-index: 3;
  background: linear-gradient(90deg, var(--purple-950), var(--purple-900) 50%, var(--purple-950));
  border-block: 1px solid rgba(212, 169, 61, .35);
  padding: 15px 0; overflow: hidden;
}
.ticker-track {
  display: flex; align-items: center; gap: 26px; width: max-content;
  animation: tickerScroll 30s linear infinite;
}
.ticker-track span {
  font-family: var(--font-head); font-weight: 700; font-size: 13.5px;
  letter-spacing: .16em; text-transform: uppercase; color: #fff; white-space: nowrap;
}
.ticker-track span:first-child, .ticker-track span:nth-child(8) { color: var(--gold-light); }
.ticker-track i { color: var(--gold); font-style: normal; font-size: 15px; }

/* ==========================================================================
   WHAT WE HELP YOU DO
   ========================================================================== */
.help { background: var(--bg); }
.help-grid {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
}
.help-item {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 22px 28px; text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.help-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.help-item::after {
  content: ""; position: absolute; inset: auto 22px 0; height: 4px; border-radius: 4px 4px 0 0;
  background: linear-gradient(90deg, var(--gold-light), var(--gold));
  opacity: 0; transition: opacity .4s;
}
.help-item:hover::after { opacity: 1; }
.help-ic {
  width: 62px; height: 62px; margin: 0 auto 18px; border-radius: 20px;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--purple-50), var(--purple-100));
  color: var(--purple-700);
  transition: transform .4s var(--ease);
}
.help-item:hover .help-ic { transform: scale(1.08) rotate(-4deg); }
.help-ic svg { width: 28px; height: 28px; }
.help-item h3 { font-size: 16.5px; font-weight: 700; margin-bottom: 10px; color: var(--purple-950); }
.help-item p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }

/* ==========================================================================
   LOANS
   ========================================================================== */
.loans {
  background:
    radial-gradient(800px 480px at 100% 0%, rgba(201, 162, 74, .18), transparent 55%),
    linear-gradient(150deg, var(--purple-950) 0%, var(--purple-900) 45%, var(--purple-800) 100%);
  overflow: hidden;
}
.loans-decor { position: absolute; inset: 0; pointer-events: none; }
.loans-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.06fr .94fr; gap: 60px; align-items: center;
}
.loans-copy h2 { color: #fff; font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; margin: 16px 0 18px; }
.loans-copy > p { color: rgba(255, 255, 255, .78); font-size: 16.5px; max-width: 520px; }

.badge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 30px 0 34px; }
.loan-badge {
  display: flex; align-items: center; gap: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius-md); padding: 15px 18px;
  transition: background .3s, border-color .3s, transform .35s var(--ease);
  backdrop-filter: blur(6px);
}
.loan-badge:hover { background: rgba(255, 255, 255, .10); border-color: rgba(212, 169, 61, .5); transform: translateY(-3px); }
.lb-ic {
  width: 46px; height: 46px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  background: rgba(212, 169, 61, .16); color: var(--gold-light);
  border: 1px solid rgba(212, 169, 61, .3);
}
.lb-ic svg { width: 22px; height: 22px; }
.loan-badge b { display: block; color: #fff; font-family: var(--font-head); font-size: 14.5px; }
.loan-badge span { font-size: 12.5px; color: rgba(255, 255, 255, .62); }

/* --- calculators (dark card) --- */
.card-dark {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 34px 80px rgba(0, 0, 0, .35);
  overflow: hidden;
}
.calc-head {
  display: flex; align-items: center; gap: 15px;
  padding: 24px 28px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.calc-ic {
  width: 48px; height: 48px; border-radius: 15px;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--purple-950); display: grid; place-items: center; flex: none;
  box-shadow: 0 10px 24px rgba(212, 169, 61, .35);
}
.calc-ic svg { width: 23px; height: 23px; }
.calc-head h3 { color: #fff; font-size: 19px; }
.calc-head p { color: rgba(255, 255, 255, .6); font-size: 13px; }

.calc-body { padding: 24px 28px 28px; }
.calc-field { margin-bottom: 22px; }
.calc-label {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: 13px;
}
.calc-label label { color: rgba(255, 255, 255, .78); font-weight: 600; font-size: 13.5px; }
.calc-label output {
  font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: var(--gold-light);
}

/* range sliders (dark) */
input[type="range"] {
  -webkit-appearance: none; appearance: none;
  width: 100%; height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--gold) var(--fill, 50%), rgba(255, 255, 255, .18) var(--fill, 50%));
  outline-offset: 6px; cursor: pointer;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 22px; height: 22px; border-radius: 50%;
  background: #fff; border: 5px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
  transition: transform .2s var(--ease);
}
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15); }
input[type="range"]::-moz-range-thumb {
  width: 12px; height: 12px; border-radius: 50%;
  background: #fff; border: 5px solid var(--gold);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
}
input[type="range"]::-moz-range-track {
  height: 6px; border-radius: 6px; background: transparent;
}

.calc-result {
  display: flex; flex-direction: column; gap: 12px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md);
  padding: 19px 22px; margin: 26px 0 22px;
}
.calc-result > div { display: flex; justify-content: space-between; align-items: baseline; }
.calc-result span { color: rgba(255, 255, 255, .66); font-size: 13.5px; font-weight: 600; }
.calc-result strong { font-family: var(--font-head); font-size: 19px; color: #fff; }
.calc-result > div:first-child strong { color: var(--gold-light); font-size: 26px; }

/* ==========================================================================
   APP FEATURES
   ========================================================================== */
.features { background: var(--bg-soft); }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.feature-card {
  position: relative; overflow: hidden;
  background: #fff; border-radius: var(--radius-xl);
  padding: 34px 26px 30px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.feature-card::before {
  content: ""; position: absolute; top: -70px; right: -70px;
  width: 170px; height: 170px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 169, 61, .16), transparent 70%);
  opacity: 0; transition: opacity .5s;
}
.feature-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-lg); }
.feature-card:hover::before { opacity: 1; }
.feature-ic {
  width: 64px; height: 64px; border-radius: 20px;
  display: grid; place-items: center; margin-bottom: 22px;
  transition: transform .4s var(--ease);
}
.feature-card:hover .feature-ic { transform: scale(1.1) rotate(-5deg); }
.feature-ic svg { width: 30px; height: 30px; }
.f-purple { background: var(--purple-100); color: var(--purple-700); }
.f-green { background: var(--green-soft); color: var(--green); }
.f-gold { background: var(--gold-pale); color: var(--gold-dark); }
.f-red { background: var(--red-soft); color: var(--red); }
.feature-card h3 { font-size: 21px; font-weight: 700; margin-bottom: 12px; color: var(--purple-950); }
.feature-card p { font-size: 14.5px; color: var(--ink-soft); }
.feature-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.feature-tags li {
  font-size: 12px; font-weight: 700; padding: 6px 13px; border-radius: 999px;
  background: var(--purple-50); color: var(--purple-700); border: 1px solid var(--purple-100);
}

/* ==========================================================================
   FLEXIBLE PLANS
   ========================================================================== */
.plans { background: var(--bg); }
.plans-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 34px; }

.plan-card-big {
  position: relative;
  background: #fff; border: 1.5px solid var(--line); border-radius: var(--radius-xl);
  padding: 34px 30px 30px;
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s;
}
.plan-card-big:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.plan-card-big.is-featured {
  border-color: var(--gold);
  background: linear-gradient(#FFFDF6, #FFFAEE);
  box-shadow: 0 24px 60px rgba(212, 169, 61, .22);
}
.plan-flag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--purple-950); font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(212, 169, 61, .4); white-space: nowrap;
}
.plan-card-big header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.plan-badge-ic {
  width: 52px; height: 52px; border-radius: 17px;
  display: grid; place-items: center; flex: none;
}
.plan-badge-ic svg { width: 24px; height: 24px; }
.pb-purple { background: var(--purple-100); color: var(--purple-700); }
.pb-gold { background: var(--gold-pale); color: var(--gold-dark); }
.pb-green { background: var(--green-soft); color: var(--green); }
.plan-card-big h3 { font-size: 22px; font-weight: 800; }
.plan-tagline { font-size: 13.5px; color: var(--ink-faint); font-weight: 600; margin-top: 2px; }
.plan-price {
  font-family: var(--font-head); font-weight: 800; font-size: 40px;
  color: var(--purple-950); margin-bottom: 22px; letter-spacing: -.02em;
}
.plan-price small { font-size: 14px; font-weight: 600; color: var(--ink-faint); margin-right: 6px; }
.plan-price small:last-child { margin: 0 0 0 6px; }
.plan-list-big { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.plan-list-big li { display: flex; align-items: center; gap: 11px; font-size: 14.5px; color: var(--ink-soft); }
.plan-list-big svg {
  width: 21px; height: 21px; flex: none;
  color: var(--purple-950);
  background: var(--gold-pale); border-radius: 50%; padding: 4px; color: var(--gold-dark);
}
.plan-card-big .btn { margin-top: auto; }

/* --- savings calculator --- */
.savings-calc {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 0;
  background: linear-gradient(150deg, var(--purple-950), var(--purple-900) 60%, var(--purple-800));
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(26, 15, 56, .35);
}
.savings-calc-copy { padding: 46px 44px; }
.savings-calc-copy h3 { color: #fff; font-size: clamp(24px, 2.6vw, 32px); font-weight: 800; margin: 16px 0 14px; }
.savings-calc-copy > p { color: rgba(255, 255, 255, .75); font-size: 15.5px; max-width: 420px; }
.savings-calc-stats { display: flex; align-items: center; gap: 24px; margin-top: 34px; flex-wrap: wrap; }
.savings-calc-stats b {
  display: block; font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--gold-light);
}
.savings-calc-stats span { font-size: 12.5px; color: rgba(255, 255, 255, .6); font-weight: 600; }
.savings-calc-stats .divider { width: 1px; height: 40px; background: rgba(255, 255, 255, .14); }

.savings-calc-panel {
  background: rgba(255, 255, 255, .05);
  border-left: 1px solid rgba(255, 255, 255, .1);
  padding: 40px 40px 42px;
  display: flex; flex-direction: column; justify-content: center;
}
.calc-seg {
  display: inline-flex; align-self: flex-start;
  background: rgba(0, 0, 0, .28); border-radius: 999px; padding: 5px; gap: 4px;
  margin-bottom: 28px;
}
.seg {
  padding: 9px 22px; border-radius: 999px;
  font-weight: 700; font-size: 13.5px; color: rgba(255, 255, 255, .66);
  transition: background .3s, color .3s, box-shadow .3s;
}
.seg:hover { color: #fff; }
.seg.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--purple-950); box-shadow: 0 6px 16px rgba(212, 169, 61, .35);
}
.sv-result {
  margin-top: 26px;
  background: rgba(0, 0, 0, .22);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--radius-md); padding: 22px 24px;
}
.sv-result span { color: rgba(255, 255, 255, .66); font-weight: 600; font-size: 13.5px; }
.sv-result strong {
  display: block; font-family: var(--font-head);
  font-size: clamp(30px, 3vw, 40px); font-weight: 800; color: var(--gold-light);
  margin: 4px 0 8px; letter-spacing: -.01em;
}
.sv-result em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .62); }

/* ==========================================================================
   WHY JOIN US
   ========================================================================== */
.why { background: var(--bg-soft); overflow: hidden; }
.why-inner { display: grid; grid-template-columns: .92fr 1.08fr; gap: 64px; align-items: center; }
.why-visual { position: relative; max-width: 430px; margin-inline: auto; }
.why-photo {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(45, 27, 78, .28);
  border: 6px solid #fff;
  transform: rotate(-2deg);
  transition: transform .5s var(--ease);
}
.why-photo:hover { transform: rotate(0deg) scale(1.01); }
.why-photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.why-chip {
  position: absolute; display: flex; align-items: center; gap: 12px;
  background: #fff; border-radius: 18px; padding: 13px 18px;
  box-shadow: var(--shadow-lg);
  animation: cardFloat 6s ease-in-out infinite;
}
.why-chip svg { width: 24px; height: 24px; color: var(--gold); }
.why-chip b { display: block; font-family: var(--font-head); font-size: 16px; color: var(--purple-950); line-height: 1.1; }
.why-chip span { font-size: 12px; color: var(--ink-faint); font-weight: 600; }
.chip-a { top: 12px; left: -30px; }
.chip-b { bottom: 34px; right: -26px; animation-delay: 1.8s; }

.why-copy h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 800; margin: 16px 0 16px; }
.why-copy > p { color: var(--ink-soft); font-size: 16.5px; max-width: 520px; }

.checklist { display: flex; flex-direction: column; gap: 14px; margin: 30px 0 30px; }
.checklist li {
  display: flex; align-items: center; gap: 16px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-md); padding: 16px 20px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.checklist li:hover { transform: translateX(8px); box-shadow: var(--shadow-md); }
.check {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  background: linear-gradient(140deg, var(--gold-light), var(--gold));
  color: var(--purple-950); display: grid; place-items: center;
  box-shadow: 0 6px 14px rgba(212, 169, 61, .35);
}
.check svg { width: 15px; height: 15px; }
.checklist b { display: block; font-family: var(--font-head); font-size: 15.5px; color: var(--purple-950); }
.checklist span { font-size: 13.5px; color: var(--ink-faint); }

.why-quote {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-script); font-size: 30px; color: var(--gold-dark);
  padding-left: 18px; border-left: 4px solid var(--gold);
}
.why-quote svg { width: 22px; height: 22px; color: var(--gold); }

/* ==========================================================================
   APP SCREENS PREVIEW
   ========================================================================== */
.screens { background: var(--bg); padding-bottom: 80px; }
.screens-viewport { overflow-x: auto; padding: 30px 0 10px; scrollbar-width: none; }
.screens-viewport::-webkit-scrollbar { display: none; }
.screens-track {
  display: flex; gap: 34px;
  padding: 10px max(34px, calc((100vw - 1180px) / 2)) 26px;
  width: max-content;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}
.screen-item { scroll-snap-align: center; display: flex; flex-direction: column; align-items: center; gap: 18px; transition: transform .45s var(--ease); }
.screen-item:hover { transform: translateY(-8px); }
.screen-item figcaption {
  font-family: var(--font-head); font-weight: 700; font-size: 14.5px; color: var(--purple-950);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 20px; border-radius: 999px;
  background: var(--purple-50); border: 1px solid var(--purple-100);
}
.screen-item:first-child figcaption { background: var(--gold-pale); border-color: var(--gold); color: var(--gold-dark); }

.screens-controls {
  display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 14px;
}
.screens-arrow {
  width: 52px; height: 52px; border-radius: 50%;
  background: #fff; border: 1.5px solid var(--line); color: var(--purple-900);
  display: grid; place-items: center;
  transition: background .3s, border-color .3s, transform .3s var(--ease), box-shadow .3s;
}
.screens-arrow:hover { background: var(--purple-900); border-color: var(--purple-900); color: #fff; transform: scale(1.08); box-shadow: 0 10px 24px rgba(45, 27, 78, .3); }
.screens-arrow svg { width: 20px; height: 20px; }
.screens-arrow.is-flipped svg { transform: scaleX(-1); }
.screens-hint { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 14px; color: var(--ink-faint); }
.screens-hint svg { width: 15px; height: 15px; color: var(--gold); }

/* ==========================================================================
   SECURITY BANNER
   ========================================================================== */
.security {
  background:
    radial-gradient(700px 420px at 0% 50%, rgba(201, 162, 74, .16), transparent 60%),
    linear-gradient(120deg, var(--purple-950), var(--purple-900) 70%, var(--purple-800));
  overflow: hidden;
}
.security-inner {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: center;
}
.security-shield {
  width: 76px; height: 76px; border-radius: 24px;
  background: rgba(212, 169, 61, .14); border: 1px solid rgba(212, 169, 61, .4);
  color: var(--gold-light); display: grid; place-items: center; margin-bottom: 26px;
  box-shadow: 0 0 60px rgba(212, 169, 61, .25) inset;
  animation: pulseGlow 3.2s ease-in-out infinite;
}
.security-shield svg { width: 34px; height: 34px; }
.security-copy h2 { color: #fff; font-size: clamp(32px, 4.4vw, 48px); font-weight: 800; margin-bottom: 16px; }
.security-copy p { color: rgba(255, 255, 255, .78); font-size: 17px; max-width: 480px; }
.security-copy p b { color: var(--gold-light); }
.security-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.security-chips li {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 19px; border-radius: 999px;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .14);
  color: #fff; font-weight: 600; font-size: 13.5px;
  transition: border-color .3s, background .3s;
}
.security-chips li:hover { border-color: rgba(212, 169, 61, .55); background: rgba(212, 169, 61, .1); }
.security-chips svg { width: 16px; height: 16px; color: var(--gold-light); }
.security-visual { position: relative; }
.security-visual img {
  width: 100%; max-width: 420px; margin-inline: auto;
  border-radius: var(--radius-xl);
  box-shadow: 0 40px 90px rgba(0, 0, 0, .45);
  animation: slowFloat 7s ease-in-out infinite;
}

/* ==========================================================================
   CONTACT / CTA
   ========================================================================== */
.contact {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--purple-950) 0%, var(--ink) 100%);
  padding: 110px 0 96px;
  text-align: center;
}
.contact-decor { position: absolute; inset: 0; pointer-events: none; }
.contact-inner { position: relative; z-index: 2; }
.contact h2 { color: #fff; font-size: clamp(34px, 5vw, 56px); font-weight: 800; margin: 18px 0 14px; }
.contact-tagline {
  font-family: var(--font-head); font-weight: 600; font-size: clamp(16px, 2vw, 20px);
  color: var(--gold-light); letter-spacing: .04em;
}
.contact-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 18px; margin-top: 40px; }
.contact-cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
  max-width: 880px; margin: 56px auto 0; text-align: left;
}
.contact-card {
  display: flex; align-items: center; gap: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: var(--radius-md); padding: 20px 22px;
  transition: border-color .3s, background .3s, transform .35s var(--ease);
}
.contact-card:hover { border-color: rgba(212, 169, 61, .45); background: rgba(255, 255, 255, .08); transform: translateY(-4px); }
.cc-ic {
  width: 48px; height: 48px; border-radius: 15px; flex: none;
  background: rgba(212, 169, 61, .14); color: var(--gold-light);
  border: 1px solid rgba(212, 169, 61, .3); display: grid; place-items: center;
}
.cc-ic svg { width: 22px; height: 22px; }
.contact-card b { display: block; color: #fff; font-family: var(--font-head); font-size: 14.5px; }
.contact-card span { font-size: 13px; color: rgba(255, 255, 255, .6); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: var(--purple-950); }
.footer-top {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  padding: 44px 0; flex-wrap: wrap;
}
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-links a {
  font-weight: 600; font-size: 14px; color: rgba(255, 255, 255, .62);
  transition: color .25s;
}
.footer-links a:hover { color: var(--gold-light); }
.footer-bar { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; }
.footer-bar-inner {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap;
}
.footer-bar p { font-size: 13.5px; color: rgba(255, 255, 255, .55); font-weight: 500; }
.footer-bar p:first-child { font-family: var(--font-head); font-weight: 600; color: rgba(255, 255, 255, .8); display: flex; align-items: center; gap: 8px; }
.footer-bar .heart { width: 14px; height: 14px; color: var(--gold); }

/* ==========================================================================
   BACK TO TOP
   ========================================================================== */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 80;
  width: 52px; height: 52px; border-radius: 50%;
  background: linear-gradient(140deg, var(--purple-900), var(--purple-700));
  color: #fff; display: grid; place-items: center;
  box-shadow: 0 14px 34px rgba(45, 27, 78, .4);
  opacity: 0; visibility: hidden; transform: translateY(14px);
  transition: opacity .35s, visibility .35s, transform .35s var(--ease), background .3s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: linear-gradient(140deg, var(--gold), var(--gold-dark)); color: var(--purple-950); }
.to-top svg { width: 20px; height: 20px; }

/* ==========================================================================
   SCROLL REVEAL
   ========================================================================== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -20px) scale(1.06); }
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes slowFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 169, 61, .28); }
  50% { box-shadow: 0 0 0 18px rgba(212, 169, 61, 0); }
}

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

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1120px) {
  .help-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .fc-1 { left: -8px; }
  .fc-2 { right: -6px; }
}

@media (max-width: 980px) {
  .section { padding: 76px 0; }
  .nav-links { display: none; }
  .nav-actions .btn { display: none; }
  .nav-burger { display: flex; }

  .hero-inner { grid-template-columns: 1fr; gap: 48px; padding-bottom: 64px; }
  .hero-copy { text-align: center; }
  .hero-sub { margin-inline: auto; }
  .hero-ctas, .hero-trust { justify-content: center; }
  .hero-visual { margin-top: 6px; }
  .float-card { padding: 11px 15px; }
  .fc-1 { top: 60px; left: -4px; }
  .fc-2 { bottom: 110px; right: -4px; }
  .fc-3 { top: -10px; right: 10px; }

  .loans-inner { grid-template-columns: 1fr; gap: 44px; }
  .loans-copy > p { max-width: none; }
  .savings-calc { grid-template-columns: 1fr; }
  .savings-calc-panel { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .why-inner { grid-template-columns: 1fr; gap: 56px; }
  .why-copy { max-width: 620px; }
  .security-inner { grid-template-columns: 1fr; text-align: center; }
  .security-copy p { margin-inline: auto; }
  .security-chips { justify-content: center; }
  .security-visual img { max-width: 340px; }
  .contact-cards { grid-template-columns: 1fr; max-width: 480px; }
}

@media (max-width: 720px) {
  .container { width: min(1180px, 100% - 36px); }
  .section-head { margin-bottom: 40px; }
  .help-grid { grid-template-columns: 1fr; gap: 12px; }
  .help-item {
    display: flex; align-items: center; text-align: left; gap: 16px;
    padding: 18px 20px;
  }
  .help-ic { margin: 0; width: 54px; height: 54px; border-radius: 16px; flex: none; }
  .help-ic svg { width: 24px; height: 24px; }
  .help-item h3 { margin-bottom: 4px; font-size: 15.5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .badge-grid { grid-template-columns: 1fr; }
  .plans-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
  .savings-calc-copy, .savings-calc-panel { padding: 34px 26px 36px; }
  .savings-calc-stats { gap: 16px; }

  .hero { padding-top: calc(var(--nav-h) + 40px); }
  .hero h1 { font-size: clamp(40px, 12vw, 56px); }
  .hero-ctas .btn { flex: 1 1 100%; }
  .float-card { display: none; }
  .phone { font-size: 9px; }

  .screens-track { gap: 22px; padding-inline: 22px; }
  .screens-controls { gap: 14px; }
  .footer-top { justify-content: center; text-align: center; }
  .footer-bar-inner { justify-content: center; text-align: center; }
  .to-top { right: 16px; bottom: 16px; }
}

@media (max-width: 420px) {
  .phone { font-size: 8.4px; }
  .hero-tabs { width: 100%; }
  .hero-tab { flex: 1; justify-content: center; padding: 9px 8px; }
  .brand-text { font-size: 16.5px; }
  .why-chip { transform: scale(.88); transform-origin: center; }
  .chip-a { left: -14px; }
  .chip-b { right: -12px; }
}

/* ==========================================================================
   WHATSAPP FLOATING WIDGET
   ========================================================================== */
.wa-widget {
  position: fixed; right: 26px; bottom: 26px; z-index: 85;
  display: flex; align-items: center; gap: 0;
  font-family: var(--font-head);
}
.wa-btn {
  position: relative;
  display: flex; align-items: center; gap: 0;
  background: linear-gradient(140deg, #2FE574, var(--whatsapp) 55%, var(--whatsapp-dark));
  border-radius: 999px;
  box-shadow: 0 14px 34px rgba(37, 211, 102, .42), 0 4px 14px rgba(0, 0, 0, .22);
  transition: transform .35s var(--ease), box-shadow .35s;
  overflow: hidden;
}
.wa-btn:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 20px 44px rgba(37, 211, 102, .52); }
.wa-icon {
  width: 58px; height: 58px; flex: none;
  display: grid; place-items: center;
  color: #fff;
}
.wa-icon svg { width: 32px; height: 32px; }
.wa-label {
  max-width: 0; opacity: 0; overflow: hidden;
  color: #fff; font-weight: 700; font-size: 15px;
  padding: 0; white-space: nowrap;
  transition: max-width .4s var(--ease), opacity .35s, padding .4s var(--ease);
}
.wa-widget:hover .wa-label,
.wa-widget.is-expanded .wa-label {
  max-width: 220px; opacity: 1; padding: 0 24px 0 4px;
}
.wa-pulse {
  position: absolute; inset: 0; border-radius: 50%;
  background: var(--whatsapp); opacity: .55; z-index: -1;
  animation: waPulse 2.4s ease-out infinite;
}
.wa-tooltip {
  position: absolute; right: 76px; top: 50%; transform: translateY(-50%) translateX(8px);
  background: #fff; color: var(--ink);
  font-size: 13.5px; font-weight: 600; white-space: nowrap;
  padding: 9px 16px; border-radius: 12px;
  box-shadow: var(--shadow-md);
  opacity: 0; pointer-events: none;
  transition: opacity .35s, transform .35s var(--ease);
}
.wa-tooltip::after {
  content: ""; position: absolute; right: -6px; top: 50%; transform: translateY(-50%) rotate(45deg);
  width: 12px; height: 12px; background: #fff;
}
.wa-widget.is-show-tooltip .wa-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Re-position back-to-top to stack above WhatsApp widget */
.to-top { right: 26px; bottom: 96px; }

@media (max-width: 720px) {
  .wa-widget { right: 18px; bottom: 18px; }
  .wa-icon { width: 54px; height: 54px; }
  .wa-icon svg { width: 28px; height: 28px; }
  .wa-tooltip { display: none; }
  .to-top { right: 18px; bottom: 88px; }
}

/* ==========================================================================
   INNER PAGE — HERO
   ========================================================================== */
.page-hero {
  position: relative; overflow: hidden;
  padding: calc(var(--nav-h) + 70px) 0 70px;
  background:
    radial-gradient(700px 420px at 90% -10%, rgba(201, 162, 74, .18), transparent 60%),
    radial-gradient(800px 540px at -10% 20%, rgba(74, 50, 152, .12), transparent 55%),
    linear-gradient(180deg, var(--ivory) 0%, #FFFFFF 100%);
}
.page-hero-dark {
  background:
    radial-gradient(700px 420px at 90% -10%, rgba(201, 162, 74, .22), transparent 60%),
    linear-gradient(155deg, var(--purple-950) 0%, var(--purple-900) 50%, var(--purple-850) 100%);
}
.page-hero-dark .page-hero-copy h1,
.page-hero-dark .page-hero-copy p { color: #fff; }
.page-hero-dark .eyebrow { color: var(--gold-light); }
.page-hero-dark .gold-text {
  background: linear-gradient(120deg, var(--gold-light), var(--gold) 55%, #E8C97A);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero-dark .hero-pill {
  background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .16); color: var(--gold-light);
}
.page-hero-dark .hero-pill svg { color: var(--gold-light); }

.page-hero-inner {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1.04fr .96fr; gap: 56px; align-items: center;
}
.page-hero-copy h1 {
  font-size: clamp(38px, 5.4vw, 64px); font-weight: 800; letter-spacing: -.025em; line-height: 1.04;
  color: var(--purple-950); margin: 16px 0 18px;
}
.page-hero-copy > p {
  color: var(--ink-soft); font-size: 18px; max-width: 540px; margin-bottom: 28px;
}
.page-hero-visual {
  position: relative; max-width: 460px; margin-inline: auto;
}
.page-hero-visual img {
  width: 100%; border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.page-hero-dark .page-hero-visual img { border-color: rgba(255, 255, 255, .12); }
.page-hero-visual .why-chip { z-index: 3; }
.page-hero-cta-row { display: flex; flex-wrap: wrap; gap: 14px; }

.breadcrumb {
  display: flex; align-items: center; gap: 8px; margin-bottom: 22px;
  font-size: 13.5px; font-weight: 600; color: var(--ink-faint);
}
.breadcrumb a { color: var(--ink-faint); transition: color .2s; }
.breadcrumb a:hover { color: var(--purple-700); }
.breadcrumb svg { width: 13px; height: 13px; opacity: .6; }

@media (max-width: 980px) {
  .page-hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .page-hero-visual { max-width: 380px; order: -1; }
}

/* ==========================================================================
   DETAIL PAGE — PROCESS STEPS
   ========================================================================== */
.steps-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
  counter-reset: step;
}
.step-card {
  position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 32px 26px 28px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s;
}
.step-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 14px; letter-spacing: .08em;
  color: var(--gold-dark);
  margin-bottom: 12px;
}
.step-num::before { counter-increment: step; content: "0" counter(step) " — "; }
.step-ic {
  width: 56px; height: 56px; border-radius: 18px;
  background: linear-gradient(140deg, var(--purple-50), var(--purple-100));
  color: var(--purple-700); display: grid; place-items: center;
  margin-bottom: 18px;
  transition: transform .4s var(--ease);
}
.step-card:hover .step-ic { transform: scale(1.08) rotate(-4deg); }
.step-ic svg { width: 26px; height: 26px; }
.step-card h3 { font-size: 17.5px; font-weight: 700; margin-bottom: 10px; color: var(--purple-950); }
.step-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ==========================================================================
   DETAIL PAGE — FEATURE DEEP-DIVE BLOCK (alternating)
   ========================================================================== */
.deepdive {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  padding: 64px 0; border-top: 1px solid var(--line);
}
.deepdive:first-of-type { border-top: 0; padding-top: 0; }
.deepdive-visual { position: relative; }
.deepdive-card {
  background: linear-gradient(155deg, var(--purple-900), var(--purple-950));
  border-radius: var(--radius-xl); padding: 36px 32px;
  box-shadow: var(--shadow-lg); color: #fff;
}
.deepdive-card h3 { color: #fff; font-size: 22px; margin-bottom: 6px; }
.deepdive-card .label { color: var(--gold-light); font-family: var(--font-head); font-weight: 600; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.deepdive-stat-row { display: flex; gap: 22px; margin-top: 22px; }
.deepdive-stat b { display: block; font-family: var(--font-head); font-size: 24px; color: var(--gold-light); }
.deepdive-stat span { font-size: 12.5px; color: rgba(255, 255, 255, .62); }
.deepdive-list { display: flex; flex-direction: column; gap: 14px; margin-top: 22px; }
.deepdive-list li {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, .05); padding: 12px 16px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
}
.deepdive-list svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }

.deepdive-copy h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 800; margin: 14px 0 14px; color: var(--purple-950); }
.deepdive-copy > p { color: var(--ink-soft); font-size: 16.5px; line-height: 1.7; }
.deepdive-features { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 26px; }
.deepdive-feature {
  display: flex; gap: 12px; align-items: flex-start;
  background: var(--bg-warm); border-radius: var(--radius-md);
  padding: 16px 18px;
}
.deepdive-feature svg { width: 20px; height: 20px; color: var(--gold-dark); flex: none; margin-top: 1px; }
.deepdive-feature b { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--purple-950); margin-bottom: 3px; }
.deepdive-feature span { font-size: 12.5px; color: var(--ink-faint); }

.deepdive.is-reversed .deepdive-visual { order: 2; }
.deepdive.is-reversed .deepdive-copy { order: 1; }

@media (max-width: 980px) {
  .deepdive, .deepdive.is-reversed { grid-template-columns: 1fr; gap: 36px; }
  .deepdive.is-reversed .deepdive-visual { order: 0; }
  .deepdive.is-reversed .deepdive-copy { order: 0; }
  .deepdive-features { grid-template-columns: 1fr; }
}

/* ==========================================================================
   DETAIL PAGE — INFO GRID + STAT STRIP
   ========================================================================== */
.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
}
.info-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 30px 26px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.info-card .step-ic { margin-bottom: 16px; }
.info-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 10px; color: var(--purple-950); }
.info-card p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.65; }

.stat-strip {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: linear-gradient(155deg, var(--purple-900), var(--purple-950));
  border-radius: var(--radius-xl); padding: 38px 36px;
  box-shadow: var(--shadow-lg);
}
.stat-strip-item b {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px); color: var(--gold-light);
  letter-spacing: -.02em;
}
.stat-strip-item span { font-size: 13.5px; color: rgba(255, 255, 255, .68); font-weight: 600; }
.stat-strip-item { padding-right: 24px; border-right: 1px solid rgba(255, 255, 255, .12); }
.stat-strip-item:last-child { border-right: 0; }

@media (max-width: 980px) {
  .info-grid, .steps-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .stat-strip-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); padding: 0 0 18px; }
  .stat-strip-item:nth-last-child(-n+2) { border-bottom: 0; padding-bottom: 0; }
}

/* ==========================================================================
   DETAIL PAGE — FAQ ACCORDION
   ========================================================================== */
.faq { max-width: 820px; margin: 0 auto; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  margin-bottom: 12px; overflow: hidden;
  transition: box-shadow .3s, border-color .3s;
}
.faq-item:hover { border-color: var(--purple-100); }
.faq-item.is-open { box-shadow: var(--shadow-md); border-color: var(--gold); }
.faq-q {
  width: 100%; display: flex; align-items: center; gap: 16px;
  padding: 20px 24px; text-align: left;
  font-family: var(--font-head); font-weight: 700; font-size: 16px; color: var(--purple-950);
}
.faq-q .faq-ic { margin-left: auto; transition: transform .35s var(--ease); flex: none; color: var(--gold-dark); }
.faq-item.is-open .faq-q .faq-ic { transform: rotate(45deg); }
.faq-ic svg { width: 20px; height: 20px; }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a-inner { padding: 0 24px 22px; color: var(--ink-soft); font-size: 15px; line-height: 1.7; }

/* ==========================================================================
   DETAIL PAGE — REPayment table / spec table
   ========================================================================== */
.spec-table {
  width: 100%; border-collapse: collapse;
  background: #fff; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
}
.spec-table th, .spec-table td {
  padding: 16px 22px; text-align: left; font-size: 14.5px;
  border-bottom: 1px solid var(--line);
}
.spec-table th {
  background: var(--bg-warm); font-family: var(--font-head); font-weight: 700;
  color: var(--purple-950); font-size: 13.5px; letter-spacing: .03em;
}
.spec-table td b { color: var(--purple-950); }
.spec-table tbody tr:hover { background: var(--purple-50); }
.spec-table tbody tr:last-child td { border-bottom: 0; }

/* ==========================================================================
   DETAIL PAGE — CONTACT FORM
   ========================================================================== */
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 36px 34px; box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block; font-family: var(--font-head); font-weight: 600; font-size: 13.5px;
  color: var(--purple-950); margin-bottom: 8px;
}
.form-field label .req { color: var(--red); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px;
  padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--bg-warm);
  color: var(--ink); transition: border-color .25s, box-shadow .25s, background .25s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--gold); background: #fff;
  box-shadow: 0 0 0 4px rgba(201, 162, 74, .16);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field .hint { font-size: 12.5px; color: var(--ink-faint); margin-top: 6px; }
.form-field .error-msg { font-size: 12.5px; color: var(--red); margin-top: 6px; display: none; }
.form-field.has-error input, .form-field.has-error textarea { border-color: var(--red); }
.form-field.has-error .error-msg { display: block; }

.form-consent {
  display: flex; align-items: flex-start; gap: 12px; margin: 8px 0 22px;
  font-size: 13px; color: var(--ink-faint);
}
.form-consent input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--gold-dark); flex: none; }
.form-consent a { color: var(--purple-700); text-decoration: underline; }

.form-success {
  display: none; align-items: center; gap: 12px;
  background: var(--green-soft); border: 1px solid #B7E5CD;
  border-radius: 14px; padding: 14px 18px; margin-bottom: 18px;
  color: #0B6E48; font-weight: 600; font-size: 14.5px;
}
.form-success svg { width: 22px; height: 22px; flex: none; }
.form-success.is-visible { display: flex; }

.contact-channels {
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.channel-card {
  display: flex; align-items: center; gap: 18px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px 24px;
  transition: border-color .3s, box-shadow .3s, transform .35s var(--ease);
}
.channel-card:hover { border-color: var(--gold); box-shadow: var(--shadow-md); transform: translateY(-3px); }
.channel-ic {
  width: 56px; height: 56px; border-radius: 18px; flex: none;
  display: grid; place-items: center; color: #fff;
}
.channel-ic svg { width: 26px; height: 26px; }
.channel-ic.c-gold { background: linear-gradient(140deg, var(--gold-light), var(--gold-dark)); }
.channel-ic.c-green { background: linear-gradient(140deg, #2FE574, var(--whatsapp-dark)); }
.channel-ic.c-purple { background: linear-gradient(140deg, var(--purple-700), var(--purple-900)); }
.channel-info b { display: block; font-family: var(--font-head); font-size: 16px; color: var(--purple-950); }
.channel-info span { font-size: 13.5px; color: var(--ink-faint); }
.channel-info a { color: var(--purple-700); font-weight: 600; }

/* ==========================================================================
   DETAIL PAGE — TESTIMONIAL
   ========================================================================== */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-xl);
  padding: 30px 28px; display: flex; flex-direction: column; gap: 18px;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.testimonial-stars { display: flex; gap: 3px; color: var(--gold); }
.testimonial-stars svg { width: 17px; height: 17px; }
.testimonial-card blockquote {
  font-size: 15px; line-height: 1.7; color: var(--ink); font-style: italic;
}
.testimonial-author { display: flex; align-items: center; gap: 14px; margin-top: auto; }
.testimonial-av {
  width: 44px; height: 44px; border-radius: 50%; flex: none;
  display: grid; place-items: center; color: #fff;
  font-family: var(--font-head); font-weight: 700; font-size: 16px;
}
.tav-1 { background: linear-gradient(140deg, #5D44B8, #2D1B4E); }
.tav-2 { background: linear-gradient(140deg, #D4A93D, #9A7726); }
.tav-3 { background: linear-gradient(140deg, #12A36B, #0C7E52); }
.testimonial-author b { display: block; font-family: var(--font-head); font-size: 14.5px; color: var(--purple-950); }
.testimonial-author span { font-size: 12.5px; color: var(--ink-faint); }

@media (max-width: 980px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form-layout { grid-template-columns: 1fr !important; }
}
@media (max-width: 720px) {
  .page-hero { padding: calc(var(--nav-h) + 50px) 0 50px; }
  .deepdive { padding: 44px 0; }
  .contact-form { padding: 28px 22px; }
}

/* ==========================================================================
   V3 PREMIUM UPGRADE — flagship calculator suite, people & community
   ========================================================================== */

/* ---------- Gold shimmer on primary buttons ---------- */
.btn-gold { position: relative; overflow: hidden; }
.btn-gold::after {
  content: ""; position: absolute; top: -10%; bottom: -10%; left: -70%;
  width: 44%; transform: skewX(-22deg);
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  animation: goldShimmer 3.8s var(--ease) infinite;
  pointer-events: none;
}
@keyframes goldShimmer {
  0%, 55% { left: -70%; }
  100% { left: 160%; }
}

/* ---------- Section head ornament ---------- */
.section-head::after {
  content: ""; display: block; width: 64px; height: 4px; margin: 24px auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent);
}

/* ==========================================================================
   FLAGSHIP CALCULATOR SUITE (home)
   ========================================================================== */
.calc-suite-section {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1000px 560px at 12% -10%, rgba(201, 162, 74, .14), transparent 55%),
    radial-gradient(900px 620px at 105% 30%, rgba(74, 50, 152, .35), transparent 60%),
    linear-gradient(155deg, var(--purple-950) 0%, var(--purple-900) 55%, var(--purple-850) 100%);
}
.calc-suite-section .section-head h2 { color: #fff; }
.calc-suite-section .section-head p { color: rgba(255, 255, 255, .68); }

.calc-suite {
  position: relative;
  background: linear-gradient(160deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .028));
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 32px;
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 44px 110px rgba(0, 0, 0, .42), inset 0 1px 0 rgba(255, 255, 255, .12);
  overflow: hidden;
}
.calc-suite-head {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 22px 26px;
  background: rgba(0, 0, 0, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
  flex-wrap: wrap;
}
.calc-suite-tabs {
  display: inline-flex; gap: 6px; padding: 6px;
  background: rgba(0, 0, 0, .34); border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .08);
}
.cst {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px;
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: rgba(255, 255, 255, .62);
  transition: background .3s, color .3s, box-shadow .3s, transform .3s var(--ease);
}
.cst svg { width: 16px; height: 16px; }
.cst:hover { color: #fff; }
.cst.is-active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold) 70%, #C29A2F);
  color: var(--purple-950);
  box-shadow: 0 8px 22px rgba(201, 162, 74, .42);
}
.cst:not(.is-active):hover { background: rgba(255, 255, 255, .07); }
.calc-suite-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 12.5px; letter-spacing: .05em;
  color: rgba(255, 255, 255, .66);
  padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .12);
}
.calc-suite-badge svg { width: 14px; height: 14px; color: var(--gold-light); }

.cspanel { display: none; animation: panelIn .5s var(--ease); }
.cspanel.is-active { display: block; }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

.calc-suite-grid {
  display: grid; grid-template-columns: 1.02fr .98fr; gap: 0;
}
.csp-controls { padding: 34px 34px 30px; border-right: 1px solid rgba(255, 255, 255, .1); }
.csp-results { padding: 34px 34px 32px; display: flex; flex-direction: column; gap: 18px; }

.csp-hero {
  background: linear-gradient(150deg, rgba(201, 162, 74, .16), rgba(201, 162, 74, .04));
  border: 1px solid rgba(201, 162, 74, .35);
  border-radius: 20px; padding: 22px 26px;
}
.csp-hero span { display: block; color: rgba(255, 255, 255, .72); font-weight: 600; font-size: 13.5px; letter-spacing: .02em; }
.csp-hero strong {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(34px, 4vw, 46px); color: var(--gold-light);
  letter-spacing: -.01em; margin-top: 4px; line-height: 1.05;
}
.csp-hero em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .6); }

.csp-mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.csp-mini {
  background: rgba(0, 0, 0, .22); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 14px; padding: 13px 15px;
}
.csp-mini b { display: block; font-family: var(--font-head); font-weight: 700; font-size: 16.5px; color: #fff; }
.csp-mini span { font-size: 11.5px; color: rgba(255, 255, 255, .58); font-weight: 600; }

/* --- chart (HTML bars, smooth height transitions) --- */
.fc-chart {
  position: relative;
  background: rgba(0, 0, 0, .24); border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 18px; padding: 20px 20px 12px;
  min-height: 208px; display: flex; flex-direction: column;
}
.fc-chart-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; }
.fc-chart-top span { font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.fc-chart-top b { font-family: var(--font-head); font-size: 14px; color: var(--gold-light); }
.fc-chart-plot {
  position: relative; flex: 1; min-height: 120px;
  display: flex; align-items: flex-end; gap: 3px;
}
.fc-chart-plot::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(to top, rgba(255, 255, 255, .07) 0 1px, transparent 1px 25%);
}
.fc-bar {
  flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; gap: 2px; min-width: 0;
}
.fc-bar .seg-total {
  background: linear-gradient(180deg, var(--gold-light), var(--gold) 85%);
  box-shadow: 0 0 18px rgba(201, 162, 74, .35);
  border-radius: 4px 4px 0 0;
}
.fc-bar .seg-invested { background: linear-gradient(180deg, #5D44B8, #4A3298); border-radius: 0 0 3px 3px; }
.fc-bar .seg-total.alone { border-radius: 4px 4px 2px 2px; }
.fc-bar .seg-invested, .fc-bar .seg-total {
  width: 100%; display: block;
  transition: height .45s var(--ease);
}
.fc-chart-axis {
  display: flex; justify-content: space-between; margin-top: 10px;
  font-size: 11px; font-weight: 600; color: rgba(255, 255, 255, .45);
}

/* --- donut chart (loan breakdown) --- */
.csp-donut-row { display: flex; align-items: center; gap: 22px; }
.fc-donut { position: relative; width: 148px; height: 148px; flex: none; }
.fc-donut svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.fc-donut .ring-bg { fill: none; stroke: rgba(255, 255, 255, .1); stroke-width: 17; }
.fc-donut .ring-principal {
  fill: none; stroke: url(#donutGold); stroke-width: 17; stroke-linecap: round;
  transition: stroke-dasharray .55s var(--ease);
}
.fc-donut .ring-interest {
  fill: none; stroke: #5D44B8; stroke-width: 17; stroke-linecap: round;
  transition: stroke-dasharray .55s var(--ease);
}
.fc-donut-center {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
}
.fc-donut-center b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 21px; color: #fff; line-height: 1.1; }
.fc-donut-center span { font-size: 10.5px; color: rgba(255, 255, 255, .55); font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.fc-legend { display: flex; flex-direction: column; gap: 12px; }
.fc-legend li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: rgba(255, 255, 255, .78); font-weight: 600; }
.fc-legend i { width: 12px; height: 12px; border-radius: 4px; flex: none; }
.fc-legend b { margin-left: auto; font-family: var(--font-head); color: #fff; }

.csp-note {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 12.5px; color: rgba(255, 255, 255, .58); line-height: 1.55;
}
.csp-note svg { width: 15px; height: 15px; color: var(--gold-light); flex: none; margin-top: 2px; }

.csp-cta { margin-top: auto; display: flex; gap: 12px; flex-wrap: wrap; }
.csp-cta .btn { flex: 1; min-width: 180px; }

/* calc segs inside suite reuse .calc-seg/.seg from savings calc */

/* ---------- Loan offer card (home loans section) ---------- */
.loans-offer { overflow: hidden; }
.loans-offer-media { position: relative; height: 250px; }
.loans-offer-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; }
.loans-offer-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15, 8, 36, 0) 40%, rgba(15, 8, 36, .78) 100%);
}
.loans-offer-chip {
  position: absolute; top: 18px; left: 18px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--purple-950); font-family: var(--font-head); font-weight: 700; font-size: 12.5px;
  padding: 8px 16px; border-radius: 999px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .35);
}
.loans-offer-chip svg { width: 14px; height: 14px; }
.loans-offer-body { padding: 26px 28px 28px; }
.loans-offer-rate {
  display: flex; align-items: baseline; gap: 12px; margin-bottom: 18px;
}
.loans-offer-rate b {
  font-family: var(--font-head); font-weight: 800; font-size: 42px;
  color: var(--gold-light); letter-spacing: -.02em;
}
.loans-offer-rate span { font-size: 13px; color: rgba(255, 255, 255, .66); font-weight: 600; line-height: 1.4; }
.loans-offer-list { display: flex; flex-direction: column; gap: 11px; margin-bottom: 20px; }
.loans-offer-list li { display: flex; align-items: center; gap: 11px; font-size: 14px; color: rgba(255, 255, 255, .82); }
.loans-offer-list svg { width: 18px; height: 18px; color: var(--gold-light); flex: none; }
.loans-offer-example {
  background: rgba(0, 0, 0, .26); border: 1px dashed rgba(201, 162, 74, .4);
  border-radius: 14px; padding: 14px 18px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.loans-offer-example span { font-size: 12.5px; color: rgba(255, 255, 255, .62); font-weight: 600; }
.loans-offer-example b { font-family: var(--font-head); font-size: 15.5px; color: #fff; }

/* ==========================================================================
   PEOPLE / SUCCESS STORIES (home)
   ========================================================================== */
.people { background: var(--bg); overflow: hidden; }
.people-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 26px; align-items: stretch; }

.story-feature {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.story-feature:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.story-feature-media { position: relative; aspect-ratio: 16 / 10.5; overflow: hidden; }
.story-feature-media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .8s var(--ease);
}
.story-feature:hover .story-feature-media img { transform: scale(1.05); }
.story-flag {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(15, 8, 36, .72); backdrop-filter: blur(8px);
  color: var(--gold-light); font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 9px 17px; border-radius: 999px;
  border: 1px solid rgba(201, 162, 74, .45);
}
.story-flag svg { width: 13px; height: 13px; }
.story-feature-body { padding: 30px 32px 32px; display: flex; flex-direction: column; gap: 14px; }
.story-feature-body .testimonial-stars { color: var(--gold); }
.story-feature-body h3 {
  font-size: clamp(21px, 2.4vw, 26px); font-weight: 800; color: var(--purple-950);
  letter-spacing: -.01em; line-height: 1.25;
}
.story-feature-body > p { color: var(--ink-soft); font-size: 15px; line-height: 1.7; }
.story-meta {
  display: inline-flex; align-items: center; gap: 9px; margin-top: auto;
  padding-top: 16px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--ink-faint); font-weight: 600;
}
.story-meta b { color: var(--purple-900); font-family: var(--font-head); }
.story-meta svg { width: 15px; height: 15px; color: var(--gold); }

.persona-col { display: flex; flex-direction: column; gap: 22px; }
.persona-card {
  flex: 1; display: grid; grid-template-columns: 128px 1fr; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .4s;
}
.persona-card:hover { transform: translateX(6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.persona-photo { position: relative; overflow: hidden; }
.persona-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.persona-card:hover .persona-photo img { transform: scale(1.07); }
.persona-body { padding: 20px 22px; display: flex; flex-direction: column; gap: 7px; justify-content: center; }
.persona-body h3 { font-size: 17px; font-weight: 700; color: var(--purple-950); }
.persona-body p { font-size: 13.5px; color: var(--ink-soft); line-height: 1.6; }
.persona-stat { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.persona-stat b { font-family: var(--font-head); font-weight: 800; font-size: 19px; color: var(--gold-dark); }
.persona-stat span { font-size: 12px; color: var(--ink-faint); font-weight: 600; }

/* ==========================================================================
   COMMUNITY BANNER (home)
   ========================================================================== */
.community-banner { position: relative; overflow: hidden; padding: 130px 0; }
.community-bg { position: absolute; inset: 0; }
.community-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.community-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 500px at 15% 30%, rgba(201, 162, 74, .16), transparent 55%),
    linear-gradient(95deg, rgba(15, 8, 36, .96) 0%, rgba(20, 12, 44, .88) 42%, rgba(26, 15, 56, .58) 75%, rgba(26, 15, 56, .38) 100%);
}
.community-inner { position: relative; z-index: 2; max-width: 620px; }
.community-inner h2 {
  color: #fff; font-size: clamp(32px, 4.6vw, 52px); font-weight: 800;
  letter-spacing: -.02em; margin: 18px 0 16px; line-height: 1.06;
}
.community-inner > p { color: rgba(255, 255, 255, .8); font-size: 17px; max-width: 520px; }
.community-stats {
  display: grid; grid-template-columns: repeat(4, auto); gap: 14px 38px;
  margin: 36px 0 34px; padding: 22px 26px;
  background: rgba(15, 8, 36, .5); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .14); border-radius: 20px;
  width: fit-content; max-width: 100%;
}
.community-stat b {
  display: block; font-family: var(--font-head); font-weight: 800;
  font-size: clamp(22px, 2.6vw, 30px); color: var(--gold-light); letter-spacing: -.01em;
}
.community-stat span { font-size: 12.5px; color: rgba(255, 255, 255, .66); font-weight: 600; }
.community-ctas { display: flex; flex-wrap: wrap; gap: 16px; }

/* ==========================================================================
   DEEPDIVE PHOTOS (features page) + STORY BAND (loans page)
   ========================================================================== */
.deepdive-visual { max-width: 480px; width: 100%; margin-inline: auto; }
.deepdive-photo {
  position: relative; border-radius: var(--radius-xl); overflow: hidden;
  box-shadow: 0 26px 60px rgba(26, 15, 56, .24);
  border: 5px solid #fff;
}
.deepdive-photo img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; display: block; }
.deepdive-photo .photo-chip {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  background: rgba(15, 8, 36, .68); backdrop-filter: blur(8px);
  color: var(--gold-light); font-family: var(--font-head); font-weight: 700; font-size: 11.5px;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 15px; border-radius: 999px;
  border: 1px solid rgba(201, 162, 74, .4);
}
.deepdive-card--float {
  position: relative; z-index: 3;
  margin: -64px 26px 0 -14px;
  background: linear-gradient(155deg, rgba(34, 20, 71, .96), rgba(15, 8, 36, .96));
  backdrop-filter: blur(14px);
  border: 1px solid rgba(201, 162, 74, .3);
  padding: 24px 26px;
  box-shadow: 0 30px 60px rgba(15, 8, 36, .4);
}
.deepdive-card--float .deepdive-stat-row { margin-top: 14px; }
.deepdive.is-reversed .deepdive-card--float { margin: -64px -14px 0 26px; }

/* story band — loans page */
.story-band {
  display: grid; grid-template-columns: .92fr 1.08fr; gap: 58px; align-items: center;
}
.story-band-photo { position: relative; }
.story-band-photo img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius-xl); border: 6px solid #fff;
  box-shadow: 0 30px 70px rgba(26, 15, 56, .26);
}
.story-band-photo .why-chip { z-index: 3; }
.story-band-quote { position: relative; padding-left: 26px; border-left: 4px solid var(--gold); }
.story-band-quote .testimonial-stars { margin-bottom: 14px; }
.story-band-quote h3 {
  font-size: clamp(22px, 2.8vw, 30px); font-weight: 800; color: var(--purple-950);
  line-height: 1.3; letter-spacing: -.01em; margin-bottom: 14px;
}
.story-band-quote > p { color: var(--ink-soft); font-size: 15.5px; line-height: 1.75; }
.story-band-quote .story-meta { border-top: 0; padding-top: 18px; }

/* ---------- responsive for v3 ---------- */
@media (max-width: 1080px) {
  .calc-suite-grid { grid-template-columns: 1fr; }
  .csp-controls { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .people-grid { grid-template-columns: 1fr; }
  .persona-col { flex-direction: row; }
  .persona-card { grid-template-columns: 118px 1fr; }
}
@media (max-width: 980px) {
  .community-banner { padding: 96px 0; }
  .community-stats { grid-template-columns: repeat(2, 1fr); gap: 18px 26px; }
  .story-band { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 720px) {
  .calc-suite-head { padding: 16px 14px; }
  .calc-suite-tabs { width: 100%; }
  .cst { flex: 1; justify-content: center; padding: 10px 10px; font-size: 12.5px; }
  .cst svg { display: none; }
  .calc-suite-badge { display: none; }
  .csp-controls, .csp-results { padding: 26px 20px 26px; }
  .csp-donut-row { flex-direction: column; text-align: center; }
  .fc-legend { width: 100%; }
  .fc-legend li { justify-content: space-between; }
  .fc-legend b { margin-left: 0; }
  .loans-offer-media { height: 210px; }
  .persona-col { flex-direction: column; }
  .persona-card { grid-template-columns: 108px 1fr; }
  .story-feature-body { padding: 24px 22px 26px; }
  .deepdive-card--float { margin: -48px 14px 0 -6px; padding: 20px 20px; }
  .deepdive.is-reversed .deepdive-card--float { margin: -48px -6px 0 14px; }
}
@media (max-width: 420px) {
  .community-stats { padding: 18px 18px; }
  .loans-offer-rate b { font-size: 34px; }
  .csp-cta .btn { min-width: 100%; }
}
