/* WealthS marketing — index.html stylesheet (design system + scrollytelling scenes).
   Generated from the approved prototype Docs/design-mockups/marketing-animations.html.
   index.html links ONLY this file; the other pages keep base/components/animations.css. */

/* ==========================================================================
   WealthS marketing — base.css
   Design tokens (mirrored from src/shared/theme/tokens.ts), reset, typography.
   Light is the default; dark applies via prefers-color-scheme OR [data-theme].
   ========================================================================== */

:root {
  /* ---- Light palette (Option A — Modern Fintech) ---- */
  --canvas:           #F7F8FA;
  --surface:          #FFFFFF;
  --surface-elevated: #F1F3F6;
  --surface-sunken:   #ECEEF1;
  --ink:              #0F1419;
  --ink-muted:        #5C6470;
  --ink-subtle:       #8B939F;
  --ink-inverse:      #FFFFFF;
  --accent:           #2D7A5A;
  --accent-ink:       #FFFFFF;
  --accent-soft:      #E4F1EA;
  --accent-soft-border:#C9E2D5;
  --positive:         #2D7A5A;
  --positive-soft:    #E4F1EA;
  --negative:         #C0463E;
  --negative-soft:    #FBE5E3;
  --warning:          #B07A1F;
  --warning-soft:     #FBEFD9;
  --info:             #3A5DBF;
  --info-soft:        #E3E9F8;
  --rule:             #E5E8EC;
  --overlay:          rgba(15, 20, 25, 0.45);

  /* ---- Brand constants (theme-independent) ---- */
  --gold:             #FBBF24;
  --emerald-1:        #10B981;
  --emerald-2:        #047857;
  --violet-1:         #6E45E2;
  --violet-2:         #E14ECA;
  --grad-emerald: linear-gradient(135deg, #10B981 0%, #047857 100%);
  --grad-splits:  linear-gradient(135deg, #6E45E2 0%, #E14ECA 100%);

  /* Splits accent (light) — used on splits.html and the Splits section */
  --splits-accent:      #6E45E2;
  --splits-accent-soft: #EFE8FF;
  --splits-accent-border:#DBCBFF;

  /* ---- Scales ---- */
  --space-xs: 4px;  --space-sm: 8px;  --space-md: 12px; --space-lg: 16px;
  --space-xl: 24px; --space-2xl: 32px; --space-3xl: 48px; --space-4xl: 72px;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px; --radius-xl: 24px; --radius-pill: 999px;

  --shadow-low:  0 1px 3px rgba(15,20,25,.05);
  --shadow-mid:  0 6px 18px rgba(15,20,25,.08);
  --shadow-high: 0 18px 48px rgba(15,20,25,.14);

  --motion-fast: 150ms; --motion-base: 220ms; --motion-slow: 320ms;
  --ease: cubic-bezier(.22,.61,.36,1);

  --maxw: 1120px;

  /* color-scheme hint for native form controls / scrollbars */
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --canvas:           #0B0D10;
    --surface:          #15181D;
    --surface-elevated: #1C1F25;
    --surface-sunken:   #20242B;
    --ink:              #F4F5F7;
    --ink-muted:        #9099A6;
    --ink-subtle:       #6B7280;
    --ink-inverse:      #0B0D10;
    --accent:           #3FB07F;
    --accent-ink:       #07120D;
    --accent-soft:      #1B2C24;
    --accent-soft-border:#25382E;
    --positive:         #3FB07F;
    --positive-soft:    #1B2C24;
    --negative:         #F47267;
    --negative-soft:    #2F1D1B;
    --warning:          #E0A848;
    --warning-soft:     #2B2316;
    --info:             #7FA0EE;
    --info-soft:        #1A2336;
    --rule:             #232830;
    --overlay:          rgba(0,0,0,.55);
    --splits-accent:      #8B6BE8;
    --splits-accent-soft: #251E3A;
    --splits-accent-border:#34294E;
    --shadow-low:  0 1px 3px rgba(0,0,0,.4);
    --shadow-mid:  0 6px 18px rgba(0,0,0,.5);
    --shadow-high: 0 18px 48px rgba(0,0,0,.6);
    color-scheme: dark;
  }
}

/* Manual override wins over the media query */
[data-theme="dark"] {
  --canvas:           #0B0D10;
  --surface:          #15181D;
  --surface-elevated: #1C1F25;
  --surface-sunken:   #20242B;
  --ink:              #F4F5F7;
  --ink-muted:        #9099A6;
  --ink-subtle:       #6B7280;
  --ink-inverse:      #0B0D10;
  --accent:           #3FB07F;
  --accent-ink:       #07120D;
  --accent-soft:      #1B2C24;
  --accent-soft-border:#25382E;
  --positive:         #3FB07F;
  --positive-soft:    #1B2C24;
  --negative:         #F47267;
  --negative-soft:    #2F1D1B;
  --warning:          #E0A848;
  --warning-soft:     #2B2316;
  --info:             #7FA0EE;
  --info-soft:        #1A2336;
  --rule:             #232830;
  --overlay:          rgba(0,0,0,.55);
  --splits-accent:      #8B6BE8;
  --splits-accent-soft: #251E3A;
  --splits-accent-border:#34294E;
  --shadow-low:  0 1px 3px rgba(0,0,0,.4);
  --shadow-mid:  0 6px 18px rgba(0,0,0,.5);
  --shadow-high: 0 18px 48px rgba(0,0,0,.6);
  color-scheme: dark;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Helvetica Neue", Arial, sans-serif;
  background: var(--canvas);
  color: var(--ink);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  transition: background var(--motion-base) var(--ease), color var(--motion-base) var(--ease);
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; padding: 0; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

/* ---- Typography helpers ---- */
.display { font-size: clamp(36px, 6vw, 60px); font-weight: 700; letter-spacing: -1.5px; line-height: 1.04; }
.h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 700; letter-spacing: -0.8px; line-height: 1.1; }
.h2 { font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -0.4px; line-height: 1.15; }
.h3 { font-size: 18px; font-weight: 600; letter-spacing: -0.2px; }
.lead { font-size: clamp(16px, 2.2vw, 20px); color: var(--ink-muted); line-height: 1.55; }
.overline {
  font-size: 12px; font-weight: 700; letter-spacing: 1.6px;
  text-transform: uppercase; color: var(--accent);
}
.muted { color: var(--ink-muted); }
.tabnum { font-variant-numeric: tabular-nums; }

/* ---- Layout ---- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.section { padding-block: clamp(56px, 9vw, 104px); }
.section--tight { padding-block: clamp(40px, 6vw, 64px); }
.center { text-align: center; }
.stack-sm > * + * { margin-top: var(--space-md); }
.stack > * + * { margin-top: var(--space-lg); }
.hidden { display: none !important; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700; letter-spacing: 1.4px; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  border: 1px solid var(--accent-soft-border);
  padding: 5px 12px; border-radius: var(--radius-pill);
}

.section-head { max-width: 680px; margin-inline: auto; }
.section-head.left { margin-inline: 0; }

/* ==========================================================================
   WealthS marketing — components.css
   Buttons, nav, cards, badges, device frames, footer, FAQ, screens.
   ========================================================================== */

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 600; font-size: 15px; line-height: 1;
  padding: 13px 20px; border-radius: var(--radius-md);
  transition: transform var(--motion-fast) var(--ease),
              box-shadow var(--motion-base) var(--ease),
              background var(--motion-base) var(--ease),
              border-color var(--motion-base) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn--primary { background: var(--accent); color: var(--accent-ink); box-shadow: var(--shadow-low); }
.btn--primary:hover { box-shadow: var(--shadow-mid); transform: translateY(-2px); }
.btn--grad { background: var(--grad-emerald); color: #fff; box-shadow: 0 8px 24px rgba(4,120,87,.32); }
.btn--grad:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(4,120,87,.42); }
.btn--ghost { border: 1px solid var(--rule); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--lg { padding: 16px 26px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--on-grad { background: rgba(255,255,255,.16); color: #fff; border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); }
.btn--on-grad:hover { background: rgba(255,255,255,.26); transform: translateY(-2px); }
.btn--white { background: #fff; color: #111; }
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-mid); }

/* ---- Store badges (degrade to "coming soon") ---- */
.badges { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 9px 16px; border-radius: var(--radius-md);
  background: var(--ink); color: #fff; min-width: 158px;
  transition: transform var(--motion-fast) var(--ease), opacity var(--motion-base) var(--ease);
}
[data-theme="dark"] .store-badge,
:root:not([data-theme="light"]) .store-badge { background: #fff; color: #0B0D10; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .store-badge { background:#fff; color:#0B0D10; } }
.store-badge:hover { transform: translateY(-2px); }
.store-badge svg { width: 22px; height: 22px; flex: none; }
.store-badge .sb-top { font-size: 10px; opacity: .72; line-height: 1; letter-spacing: .3px; }
.store-badge .sb-main { font-size: 15px; font-weight: 600; line-height: 1.15; }
.store-badge[aria-disabled="true"] { opacity: .55; }
.store-badge .sb-soon {
  margin-left: auto; font-size: 9px; font-weight: 700; letter-spacing: .5px;
  background: var(--gold); color: #3a2c00; padding: 2px 6px; border-radius: var(--radius-pill);
}

/* ---- Nav ---- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(160%) blur(12px);
  background: color-mix(in srgb, var(--canvas) 80%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color var(--motion-base) var(--ease), background var(--motion-base) var(--ease),
              box-shadow var(--motion-base) var(--ease);
}
.nav.is-stuck { border-bottom-color: var(--rule); box-shadow: var(--shadow-low); }
.nav__inner { display: flex; align-items: center; gap: 18px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.3px; font-size: 18px; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav__links { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav__links a {
  padding: 8px 12px; border-radius: var(--radius-sm); font-size: 14px; font-weight: 500; color: var(--ink-muted);
  transition: color var(--motion-fast) var(--ease), background var(--motion-fast) var(--ease);
}
.nav__links a:hover { color: var(--ink); background: var(--surface-elevated); }
/* Specificity override: `.nav__links a` (0,1,1) was beating `.btn--primary`
   (0,1,0) and recolouring the in-menu CTA to ink-muted — washing the text
   out on dark mode's bright accent. Pin button label to accent-ink. */
.nav__links a.btn { color: var(--accent-ink); }
.nav__links a.btn:hover { color: var(--accent-ink); background: var(--accent); }
.nav__links a.btn--grad { color: #fff; }
.nav__links a.btn--grad:hover { color: #fff; background: var(--grad-emerald); }
/* The in-menu CTA also rendered DUPLICATE alongside `.nav__cta-desktop` on
   desktop. Hide it by default; mobile media query below re-shows it. */
.nav__links a.btn { display: none; }
.nav__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); color: var(--ink-muted); border: 1px solid var(--rule); background: var(--surface);
  transition: color var(--motion-fast) var(--ease), border-color var(--motion-fast) var(--ease);
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-toggle .moon { display: none; }
[data-theme="dark"] .theme-toggle .sun, :root:not([data-theme="light"]) .theme-toggle .sun { display: none; }
[data-theme="dark"] .theme-toggle .moon, :root:not([data-theme="light"]) .theme-toggle .moon { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .sun { display:none; }
  :root:not([data-theme="light"]) .theme-toggle .moon { display:block; }
}
.nav__burger { display: none; }

@media (max-width: 860px) {
  .nav__links { position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--surface); border-bottom: 1px solid var(--rule); padding: 8px 16px 16px; margin: 0;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: transform var(--motion-base) var(--ease), opacity var(--motion-base) var(--ease); }
  .nav__links.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav__links a { padding: 14px 8px; font-size: 16px; border-bottom: 1px solid var(--rule); border-radius: 0; }
  /* Mobile: re-show the in-menu CTA the desktop rule hid. */
  .nav__links a.btn { display: inline-flex; margin-top: 12px; border-bottom: none; }
  .nav__burger { display: inline-flex; }
  .nav__cta-desktop { display: none; }
}

/* ---- Cards ---- */
.card {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: var(--space-xl);
  transition: transform var(--motion-base) var(--ease), box-shadow var(--motion-base) var(--ease), border-color var(--motion-base) var(--ease);
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow-mid); border-color: color-mix(in srgb, var(--accent) 35%, var(--rule)); }
.card__icon {
  width: 46px; height: 46px; border-radius: var(--radius-md); display: grid; place-items: center;
  font-size: 22px; background: var(--accent-soft); border: 1px solid var(--accent-soft-border); margin-bottom: 14px;
}
.card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; letter-spacing: -.2px; }
.card p { font-size: 14px; color: var(--ink-muted); line-height: 1.55; }

.grid { display: grid; gap: 16px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 940px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.split-2 { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.split-2--media-first .media { order: -1; }
@media (max-width: 860px) { .split-2 { grid-template-columns: 1fr; }
  .split-2--media-first .media { order: 0; } }

/* ---- Pills / chips ---- */
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  padding: 5px 11px; border-radius: var(--radius-pill); background: var(--surface-elevated);
  border: 1px solid var(--rule); color: var(--ink-muted);
}
.chip--pos { background: var(--positive-soft); color: var(--positive); border-color: transparent; }
.chip--accent { background: var(--accent-soft); color: var(--accent); border-color: var(--accent-soft-border); }

/* ---- Stat band ---- */
.statband { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.statband .stat { text-align: center; padding: 18px 10px; }
.statband .num { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -1px; color: var(--ink); }
.statband .lbl { font-size: 13px; color: var(--ink-muted); margin-top: 4px; }
@media (max-width: 680px) { .statband { grid-template-columns: repeat(2, 1fr); } }

/* ---- Device / phone frame ---- */
.phone {
  width: 300px; max-width: 84vw; aspect-ratio: 300 / 620;
  border-radius: 44px; padding: 12px;
  background: linear-gradient(160deg, #20242b, #0b0d10);
  box-shadow: var(--shadow-high), inset 0 0 0 2px rgba(255,255,255,.06);
  position: relative;
}
.phone::before { /* notch */
  content: ""; position: absolute; top: 18px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 22px; background: #0b0d10; border-radius: var(--radius-pill); z-index: 3;
}
.phone__screen {
  width: 100%; height: 100%; border-radius: 33px; overflow: hidden;
  background: var(--canvas); position: relative; isolation: isolate;
}
.media { display: grid; place-items: center; }

/* ---- App screen recreation (shared by hero + sections) ---- */
.scr { position: absolute; inset: 0; display: flex; flex-direction: column; padding: 34px 16px 16px; gap: 12px; overflow: hidden; }
.scr__top { display: flex; align-items: center; gap: 8px; }
.scr__top img { width: 22px; height: 22px; border-radius: 6px; }
.scr__top .nm { font-weight: 700; font-size: 13px; }
.scr__top .sp { margin-left: auto; width: 28px; height: 28px; border-radius: 50%; background: var(--surface-elevated); }
.scr__hero {
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-lg);
  padding: 14px; text-align: center;
}
.scr__hero .ov { font-size: 9px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ink-subtle); font-weight: 700; }
.scr__hero .amt { font-size: 26px; font-weight: 700; letter-spacing: -1px; margin-top: 3px; }
.scr__hero .amt small { font-size: 14px; color: var(--ink-muted); font-weight: 600; }
.scr__hero .delta { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-size: 10px; font-weight: 600;
  color: var(--positive); background: var(--positive-soft); padding: 2px 8px; border-radius: var(--radius-pill); }
.scr__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.scr__mini { background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 10px; }
.scr__mini.top-pos { border-top: 2px solid var(--positive); }
.scr__mini.top-neg { border-top: 2px solid var(--negative); }
.scr__mini .k { font-size: 8px; letter-spacing: 1px; text-transform: uppercase; color: var(--ink-subtle); font-weight: 700; }
.scr__mini .v { font-size: 14px; font-weight: 700; margin-top: 3px; }
.scr__rows { display: flex; flex-direction: column; gap: 7px; }
.scr__row { display: flex; align-items: center; gap: 9px; background: var(--surface); border: 1px solid var(--rule);
  border-radius: var(--radius-md); padding: 9px 10px; }
.scr__row .stripe { width: 4px; align-self: stretch; border-radius: 3px; }
.scr__row .ic { width: 24px; height: 24px; border-radius: 7px; display: grid; place-items: center; font-size: 13px; background: var(--surface-elevated); }
.scr__row .tx { display: flex; flex-direction: column; }
.scr__row .tx b { font-size: 11px; font-weight: 600; }
.scr__row .tx span { font-size: 9px; color: var(--ink-subtle); }
.scr__row .val { margin-left: auto; font-size: 11px; font-weight: 700; }
.scr__bar { /* tab bar */ margin-top: auto; display: flex; justify-content: space-around; align-items: center;
  background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-md); padding: 8px 6px; }
.scr__bar i { width: 16px; height: 16px; border-radius: 5px; background: var(--surface-elevated); display: block; }
.scr__bar i.active { background: var(--accent); }

/* ---- Hero left column centered alignment ---- */
/* Apply by adding `.hero-text` to the inner stack; centers eyebrow, headline,
   rotator, tagline-sub, CTA row, and trust pills horizontally. */
.hero-text { text-align: center; align-items: center; }
.hero-text .eyebrow { align-self: center; }
.hero-text .display { max-width: 22ch; margin-inline: auto; }
.hero-text .hero-cta-row { width: 100%; max-width: 560px; margin-inline: auto; }
.hero-text .trust-seals { width: 100%; max-width: 620px; margin-inline: auto; }

/* ---- Hero vertical rhythm overrides ----
   The `.stack > * + *` rule gives every sibling the same 16px top margin.
   The hero needs three custom gaps to read correctly:
   - bigger breathing space AFTER the rotator (so the typewriter text isn't
     glued to the CTA row);
   - bigger gap between the CTA row and the Offline-first tagline (so the
     tagline sits visibly after the install path, not inside it);
   - TIGHT gap between Offline-first and the trust badges so they read as
     one privacy group, not two separate blocks. */
.hero-text .hero-rotator + .hero-cta-row       { margin-top: 36px; }
.hero-text .hero-cta-row + .hero-tagline-sub   { margin-top: 28px; }
.hero-text .hero-tagline-sub + .trust-seals    { margin-top: 6px; }

/* Hero headline uses the default `.display` style (3 lines: Your entire / net
   worth, / in one private app.) — no per-word overrides. */

/* ---- Hero rotator: animated text that swaps in sync with phone deck ---- */
/* Each .hero-rotator__item is absolutely positioned; only the .is-active one
   is visible. Heights derived from the font-size below to keep layout stable
   even though items vary in length. */
.hero-rotator {
  position: relative; width: 100%; max-width: 540px; margin-inline: auto;
  min-height: 4em; display: block; padding-block: 8px;
}
.hero-rotator__item {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  opacity: 0; transform: translateY(8px);
  text-align: center;
  /* NO transition on the base (hidden) state → the OUTGOING item snaps to
     hidden the instant it loses .is-active. Only the incoming item animates
     IN (rule below), so two items never cross-fade — which previously made
     "For your" + the word from adjacent items ghost/overlap mid-swap. */
}
.hero-rotator__item.is-active {
  opacity: 1; transform: none;
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
}
.hero-rotator__lead {
  font-size: 13px; letter-spacing: .25px; color: var(--ink-muted); font-weight: 500;
}
.hero-rotator__word {
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 700; letter-spacing: -.4px; line-height: 1.2;
  background: var(--grad-emerald); -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* Splits screen swaps the gradient under the rotator to violet/lime
   while it's the active screen. */
.hero-rotator[data-current="splits"] .hero-rotator__word { background: var(--grad-splits); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Typewriter caret — blinking pipe at the end of the word while typing.
   The pipe inherits currentColor so it picks up the gradient on Splits too
   (color: transparent on a gradient-clipped span hides it though, so we
   render the caret on a sibling pseudo using the accent fallback). */
.hero-rotator__word.is-typing {
  position: relative; padding-right: 0.08em;
}
.hero-rotator__word.is-typing::after {
  content: '|';
  display: inline-block;
  margin-left: 0.04em;
  /* The .hero-rotator__word text uses background-clip:text + color:transparent.
     That makes ::after content invisible too. Force a fallback color so the
     caret stays solid. */
  -webkit-text-fill-color: var(--accent);
  color: var(--accent);
  font-weight: 700;
  animation: caretBlink 1s steps(2, end) infinite;
}
.hero-rotator[data-current="splits"] .hero-rotator__word.is-typing::after {
  -webkit-text-fill-color: var(--splits-accent, #6E45E2);
  color: var(--splits-accent, #6E45E2);
}
@keyframes caretBlink {
  0%, 49%   { opacity: 1; }
  50%, 100% { opacity: 0; }
}

/* Splits-as-Splitwise-alternative callout — static pill under the H1.
   Always visible (so the positioning reads even with JS off / on the dashboard
   frame); gets a violet glow ring the moment a Splits screen is on deck. */
.hero-splitwise-pill {
  display: inline-flex; align-items: center; gap: 7px; align-self: center;
  margin-top: 16px; padding: 7px 15px; border-radius: 999px;
  font-size: 13px; font-weight: 700; letter-spacing: .1px;
  color: var(--splits-accent);
  background: var(--splits-accent-soft);
  border: 1px solid var(--splits-accent-border);
  transition: box-shadow var(--motion-base) var(--ease), transform var(--motion-base) var(--ease);
}
.hero-splitwise-pill .pill-ic { font-size: 15px; line-height: 1; }
.hero-splitwise-pill strong { font-weight: 800; }
.hero-text.is-splits .hero-splitwise-pill {
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--splits-accent) 16%, transparent);
  transform: translateY(-1px);
}
/* Hero deck rows keep long names on one line (e.g. "Parag Parikh Flexi"). */
.hero-deck .scr__row .tx { min-width: 0; }
.hero-deck .scr__row .tx b,
.hero-deck .scr__row .tx span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
@media (prefers-reduced-motion: reduce) { .hero-splitwise-pill { transition: none; } }

/* Centered subtitle line below the rotator */
.hero-tagline-sub {
  font-size: clamp(15px, 1.7vw, 17px);
  color: var(--ink-muted); text-align: center;
  letter-spacing: .1px; margin-top: 4px;
}
.hero-tagline-sub strong { color: var(--ink); font-weight: 700; }

/* ---- Hero CTA row: 3 equal-sized buttons in one line ---- */
.hero-cta-row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px;
  margin-top: 18px; align-items: stretch;
}
.hero-cta {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px;
  border-radius: var(--radius-md); border: 1px solid var(--rule);
  background: var(--surface); color: var(--ink); min-height: 64px;
  transition: transform var(--motion-fast) var(--ease),
              box-shadow var(--motion-base) var(--ease),
              border-color var(--motion-base) var(--ease);
  position: relative; overflow: hidden;
  text-align: left;
}
.hero-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-mid); }
.hero-cta__ic { font-size: 24px; line-height: 1; flex: none; width: 26px; height: 26px; display: inline-flex; align-items: center; justify-content: center; }
.hero-cta__body {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  line-height: 1.1; min-width: 0;
}
.hero-cta__top {
  font-size: 10px; opacity: .72; letter-spacing: .25px; line-height: 1.1;
}
.hero-cta__main {
  font-size: 16px; font-weight: 700; letter-spacing: -.2px; line-height: 1.15;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.hero-cta__soon {
  font-size: 9px; font-weight: 700; letter-spacing: .5px;
  background: var(--gold); color: #3a2c00; padding: 2px 7px; border-radius: var(--radius-pill);
  display: inline-block; line-height: 1.3;
}
.hero-cta--primary {
  background: var(--grad-emerald); color: #fff; border-color: transparent;
  box-shadow: 0 8px 24px rgba(4,120,87,.32);
}
.hero-cta--primary:hover { box-shadow: 0 14px 34px rgba(4,120,87,.42); }
.hero-cta--store { background: var(--ink); color: #fff; border-color: transparent; }
[data-theme="dark"] .hero-cta--store,
:root:not([data-theme="light"]) .hero-cta--store { background: var(--surface-elevated); color: var(--ink); }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .hero-cta--store { background: var(--surface-elevated); color: var(--ink); }
}
.hero-cta--store[aria-disabled="true"] { opacity: .92; }
@media (max-width: 720px) {
  .hero-cta-row { grid-template-columns: 1fr; }
  .hero-cta__main { font-size: 15px; }
}

/* === Trust seals — circular badge row (live).
   4 badges: 100% on-device · Works offline · No tracking · Sync privately. */
.trust-seals {
  /* Top spacing is controlled by .hero-text rules (6px from .hero-tagline-sub).
     Default 0 prevents stack of 28px on top of the override. */
  list-style: none; margin: 0 auto; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px 12px;
  max-width: 620px; text-align: center;
}
.trust-seals__item {
  display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 4px 2px;
}
.trust-seals__badge {
  width: 52px; height: 52px; border-radius: 999px;
  display: grid; place-items: center;
  background: var(--accent-soft); border: 1px solid var(--accent-soft-border);
  color: var(--accent); position: relative;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.trust-seals__badge::after {
  content: ""; position: absolute; inset: -4px; border-radius: 999px;
  border: 1px solid var(--rule); opacity: 0.5; pointer-events: none;
}
.trust-seals__item:hover .trust-seals__badge {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px -6px var(--accent);
}
.trust-seals__icon { width: 24px; height: 24px; stroke: currentColor; stroke-width: 2; fill: none; }
.trust-seals__title { font-size: 13px; font-weight: 600; letter-spacing: 0.2px; color: var(--ink); line-height: 1.2; }
.trust-seals__sub { font-size: 11px; font-weight: 400; color: var(--ink-muted); line-height: 1.35; max-width: 15ch; }
@media (max-width: 640px) {
  .trust-seals { grid-template-columns: repeat(2, 1fr); gap: 14px 8px; max-width: 100%; }
}
@media (max-width: 360px) {
  .trust-seals { grid-template-columns: 1fr; }
}

/* ---- Hero deck: shuffling screens to highlight Splits + Multi-currency ---- */
/* The phone holds N stacked .scr screens; only one is .is-active at a time.
   The advance is driven by the typewriter rotator on the left column —
   feature pills used to live here under the phone but were removed
   2026-06-06 because the rotator text already labels the current screen. */
.hero-deck { position: relative; }
.hero-deck .scr { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.hero-deck .scr { opacity: 0; pointer-events: none; transform: translateX(24px) scale(0.985); z-index: 1; }
.hero-deck .scr.is-active { opacity: 1; pointer-events: auto; transform: none; z-index: 2; }
.hero-deck .scr.is-leaving { opacity: 0; transform: translateX(-24px) scale(0.985); z-index: 1; }

/* Splits accent screen overrides — violet/lime to mirror app's theme-splits */
.scr.scr--splits { background: linear-gradient(180deg, color-mix(in srgb, var(--splits-accent, #6E45E2) 6%, var(--canvas)), var(--canvas)); }
.scr.scr--splits .scr__hero { border-color: color-mix(in srgb, var(--splits-accent, #6E45E2) 30%, transparent); }
.scr.scr--splits .scr__hero .delta { color: var(--splits-accent, #6E45E2); }
.scr.scr--splits .scr__pill { background: color-mix(in srgb, var(--splits-accent, #6E45E2) 12%, var(--surface)); color: var(--splits-accent, #6E45E2); border: 1px solid color-mix(in srgb, var(--splits-accent, #6E45E2) 30%, transparent); }
.scr.scr--splits .scr__cta { background: linear-gradient(135deg, #6E45E2, #E14ECA); color: #fff; }

/* Multi-currency screen — emerald accent + chip row */
.scr.scr--mc .scr__chip { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; background: var(--surface-elevated); color: var(--ink-muted); border: 1px solid var(--rule); }
.scr.scr--mc .scr__chip.is-on { background: color-mix(in srgb, var(--accent) 14%, var(--surface)); color: var(--accent); border-color: color-mix(in srgb, var(--accent) 35%, transparent); }
.scr.scr--mc .scr__chiprow { display: flex; gap: 5px; flex-wrap: wrap; margin-top: 4px; }
.scr.scr--mc .scr__rate { font-size: 10px; color: var(--ink-muted); margin-top: 6px; display: flex; justify-content: space-between; padding: 6px 10px; background: var(--surface); border: 1px solid var(--rule); border-radius: var(--radius-sm); }
.scr.scr--mc .scr__rate b { color: var(--ink); font-feature-settings: "tnum"; }

/* CTA pill rendered inside the phone (used by Splits screen) */
.scr__cta { display: inline-flex; align-items: center; justify-content: center; gap: 4px; padding: 8px 14px; border-radius: 999px; font-size: 11px; font-weight: 700; align-self: center; }
.scr__pill { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; align-self: flex-start; }

/* sparkline */
.spark { width: 100%; height: 30px; margin-top: 4px; }
.spark path.line { fill: none; stroke: var(--positive); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.spark path.fill { fill: color-mix(in srgb, var(--positive) 12%, transparent); stroke: none; }

/* ---- Logo lockup with animated draw (hero) ---- */
.logo-draw { width: 100%; height: 100%; }
.logo-draw .wpath { fill: none; stroke: #fff; stroke-width: 100; stroke-linecap: round; stroke-linejoin: round; }
.logo-draw .dot { fill: var(--gold); }

/* ---- Feature list (checkmarks) ---- */
.checks { display: grid; gap: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink); }
.checks li svg { width: 20px; height: 20px; flex: none; color: var(--accent); margin-top: 1px; }
.checks li span { color: var(--ink-muted); }

/* ---- FAQ ---- */
.faq { max-width: 760px; margin-inline: auto; display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--rule); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; }
.faq__q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 18px; text-align: left; font-weight: 600; font-size: 16px; }
.faq__q .ic { margin-left: auto; transition: transform var(--motion-base) var(--ease); color: var(--ink-muted); flex: none; }
.faq__item.open .faq__q .ic { transform: rotate(45deg); color: var(--accent); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height var(--motion-slow) var(--ease); }
.faq__a .inner { padding: 0 18px 18px; color: var(--ink-muted); line-height: 1.6; font-size: 15px; }

/* ---- CTA band ---- */
.cta-band { background: var(--grad-emerald); color: #fff; border-radius: var(--radius-xl); padding: clamp(36px, 6vw, 64px);
  text-align: center; position: relative; overflow: hidden; }
.cta-band .h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); }
.cta-band .badges { justify-content: center; }
.cta-band .glow { position: absolute; inset: -40% -10% auto; height: 120%;
  background: radial-gradient(closest-side, rgba(255,255,255,.22), transparent 70%); pointer-events: none; }

/* ---- Footer ---- */
.footer { border-top: 1px solid var(--rule); background: var(--surface); }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; padding-block: 48px; }
.footer__brand p { font-size: 14px; color: var(--ink-muted); margin-top: 10px; max-width: 30ch; }
.footer h4 { font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; color: var(--ink-subtle); margin-bottom: 12px; }
.footer__col a { display: block; font-size: 14px; color: var(--ink-muted); padding: 5px 0; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--rule); padding-block: 18px; display: flex; gap: 12px; flex-wrap: wrap;
  align-items: center; justify-content: space-between; font-size: 13px; color: var(--ink-subtle); }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 460px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---- Section theming: Splits surfaces use violet accent ---- */
.theme-splits {
  --accent: var(--splits-accent);
  --accent-soft: var(--splits-accent-soft);
  --accent-soft-border: var(--splits-accent-border);
}
.grad-splits-band { background: var(--grad-splits); color: #fff; border-radius: var(--radius-xl); overflow: hidden; position: relative; }

/* ---- Breadcrumb ---- */
.crumbs { font-size: 13px; color: var(--ink-subtle); display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--accent); }

/* ---- Prose (privacy/terms) ---- */
.prose { max-width: 760px; margin-inline: auto; }
.prose h2 { font-size: 22px; margin-top: 36px; margin-bottom: 10px; letter-spacing: -.3px; }
.prose h3 { font-size: 17px; margin-top: 22px; margin-bottom: 6px; }
.prose p, .prose li { color: var(--ink-muted); line-height: 1.7; font-size: 15px; }
.prose ul { display: grid; gap: 6px; padding-left: 22px; list-style: disc; }
.prose ul li::marker { color: var(--accent); }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose .note { background: var(--warning-soft); border: 1px solid color-mix(in srgb, var(--warning) 40%, transparent);
  color: var(--ink); border-radius: var(--radius-md); padding: 14px 16px; font-size: 14px; }

/* ---- Banners (draft notice) ---- */
.draft-banner { background: var(--warning-soft); border-bottom: 1px solid color-mix(in srgb, var(--warning) 35%, transparent);
  color: var(--ink); font-size: 13px; text-align: center; padding: 8px 16px; }

/* ==========================================================================
   WealthS marketing — animations.css
   GPU-friendly (transform/opacity). All disabled under reduced-motion.
   ========================================================================== */

/* ---- Scroll reveal ----
   The hidden initial state is gated behind html.js so that WITHOUT JavaScript
   (or if main.js fails to load) every section is fully visible — never a blank
   page. With JS, the inline head snippet adds .js before first paint (no flash);
   the IntersectionObserver then adds .in to fade content up on scroll. */
:where(html.js) .reveal { opacity: 0; transform: translateY(22px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); will-change: opacity, transform; }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 80ms; }
.reveal[data-delay="2"] { transition-delay: 160ms; }
.reveal[data-delay="3"] { transition-delay: 240ms; }
.reveal[data-delay="4"] { transition-delay: 320ms; }
.reveal[data-delay="5"] { transition-delay: 400ms; }

/* ---- Hero gradient mesh ---- */
.mesh { position: absolute; inset: -20% -10% auto; height: 720px; z-index: -1; pointer-events: none; filter: blur(60px); opacity: .55; }
.mesh .blob { position: absolute; border-radius: 50%; mix-blend-mode: multiply; animation: float 14s var(--ease) infinite alternate; }
[data-theme="dark"] .mesh .blob, :root:not([data-theme="light"]) .mesh .blob { mix-blend-mode: screen; opacity: .5; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .mesh .blob { mix-blend-mode: screen; opacity:.5; } }
.mesh .b1 { width: 420px; height: 420px; left: 4%;  top: 0;   background: #10B981; }
.mesh .b2 { width: 380px; height: 380px; right: 8%; top: 40px; background: #6E45E2; animation-delay: -4s; }
.mesh .b3 { width: 340px; height: 340px; left: 38%; top: 120px; background: #FBBF24; animation-delay: -8s; opacity: .5; }

@keyframes float {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(0,-30px,0) scale(1.08); }
}

/* ---- Logo draw-on (chart line) ---- */
.logo-draw .wpath {
  stroke-dasharray: 1700; stroke-dashoffset: 1700;
  animation: draw 1500ms var(--ease) 250ms forwards;
}
.logo-draw .dot { transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0;
  animation: pop 480ms var(--ease) 1500ms forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes pop  { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.25); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }

/* ---- Sparkline draw ---- */
.spark path.line { stroke-dasharray: 600; stroke-dashoffset: 600; }
.in .spark path.line, .phone .spark path.line { animation: draw 1400ms var(--ease) 400ms forwards; }
.spark path.fill { opacity: 0; }
.phone .spark path.fill, .in .spark path.fill { animation: fadein 700ms var(--ease) 1200ms forwards; }
@keyframes fadein { to { opacity: 1; } }

/* ---- Floating phone idle ---- */
.float-soft { animation: bob 6s var(--ease) infinite alternate; }
@keyframes bob { from { transform: translateY(0); } to { transform: translateY(-12px); } }

/* ---- Account-type tile pop on reveal ---- */
:where(html.js) .pop-in { opacity: 0; transform: translateY(14px) scale(.96); transition: opacity 480ms var(--ease), transform 480ms var(--ease); }
.in .pop-in { opacity: 1; transform: none; }

/* ---- Settle-up flow (splits) ---- */
.settle .edge { stroke: rgba(255,255,255,.55); stroke-width: 3; fill: none; stroke-dasharray: 220; stroke-dashoffset: 220; }
.settle.in .edge { animation: draw 900ms var(--ease) forwards; }
.settle .edge.e2 { animation-delay: 300ms; }
.settle .edge.e3 { animation-delay: 600ms; }
.settle .node { opacity: 0; transform: scale(.5); transform-box: fill-box; transform-origin: center; }
.settle.in .node { animation: pop 420ms var(--ease) forwards; }
.settle.in .node.n2 { animation-delay: 150ms; }
.settle.in .node.n3 { animation-delay: 300ms; }

/* ---- Reduced motion: turn everything off ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .pop-in { opacity: 1 !important; transform: none !important; transition: none !important; }
  .mesh .blob, .float-soft { animation: none !important; }
  .logo-draw .wpath { stroke-dashoffset: 0 !important; animation: none !important; }
  .logo-draw .dot { transform: none !important; opacity: 1 !important; animation: none !important; }
  .spark path.line { stroke-dashoffset: 0 !important; animation: none !important; }
  .spark path.fill { opacity: 1 !important; animation: none !important; }
  .settle .edge { stroke-dashoffset: 0 !important; animation: none !important; }
  .settle .node { opacity: 1 !important; transform: none !important; animation: none !important; }
  /* Hero deck — no transitions on screens; rotator caret + blink off. */
  .hero-deck .scr { transition: none !important; }
  .hero-rotator__word.is-typing { padding-right: 0; }
  .hero-rotator__word.is-typing::after { content: none !important; animation: none !important; }
}



/* ===== scrollytelling scene styles (from prototype, pp-chrome stripped) ===== */

  /* hero word reveal — each word wrapped, clipped by an overflow parent */
  .hw-wrap{display:inline-block;overflow:hidden;vertical-align:top;}
  .hw{display:inline-block;will-change:transform;}

  /* phone tilt wrapper (composes with .float-soft on the inner .phone) */
  .phone-tilt{transform-style:preserve-3d;perspective:900px;will-change:transform;}

  /* CENTERPIECE — pinned net-worth build-up */
  .nwb{background:var(--surface);border-block:1px solid var(--rule);}
  .nwb__grid{display:grid;grid-template-columns:1.05fr .95fr;gap:clamp(24px,5vw,64px);align-items:center;}
  .nwb__copy .step-line{color:var(--ink);font-size:17px;font-weight:700;margin-top:10px;min-height:1.4em;}
  .nwb__rows-src{display:none;} /* data source for the JS to clone from */
  .nwb__phone .scr__rows{min-height:220px;gap:8px;}
  .nwb__hint{font-size:12px;color:var(--ink-subtle);margin-top:14px;}
  /* enlarge the account rows so the per-account "reference" reads clearly.
     Slightly wider phone + no-wrap names so longer labels stay on one line. */
  .nwb__phone .phone{width:312px;max-width:100%;}
  .nwb__phone .scr__row{padding:10px 11px;gap:10px;border:1px solid var(--rule);border-radius:12px;background:var(--surface);}
  .nwb__phone .scr__row .ic{width:28px;height:28px;font-size:15px;border-radius:9px;flex:0 0 auto;}
  .nwb__phone .scr__row .tx{min-width:0;}
  .nwb__phone .scr__row .tx b{font-size:12.5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .nwb__phone .scr__row .tx span{font-size:10px;white-space:nowrap;}
  .nwb__phone .scr__row .val{font-size:12.5px;flex:0 0 auto;}
  /* Splits row — violet-highlighted so the feature is unmissable in the build */
  .scr__row.is-splits{border:1.5px solid var(--splits-accent) !important;background:var(--splits-accent-soft) !important;}
  .splits-tag{display:inline-block;font-size:8px;font-weight:800;letter-spacing:.5px;color:#fff;
    background:var(--splits-accent);border-radius:4px;padding:1px 5px;margin-left:6px;vertical-align:middle;}
  /* Centerpiece is a desktop-only signature scroll moment; on mobile the
     net-worth story is already covered by the hero deck, so hide it there. */
  @media (max-width:860px){ #nwb{display:none;} }

  /* multi-currency marquee */
  .mq{overflow:hidden;border-block:1px solid var(--rule);background:var(--surface);padding:18px 0;}
  .mq__track{display:flex;gap:40px;width:max-content;will-change:transform;}
  .mq__item{display:inline-flex;align-items:center;gap:10px;font-weight:800;font-size:22px;color:var(--ink);
    white-space:nowrap;opacity:.85;}
  .mq__item .sym{font-size:26px;color:var(--accent);}
  .mq__item .cc{font-size:13px;color:var(--ink-muted);font-weight:700;}

  /* privacy lock motif */
  .lockwrap{position:relative;width:200px;height:200px;margin-inline:auto;display:grid;place-items:center;}
  .lockwrap svg{width:96px;height:96px;color:var(--accent);z-index:2;}
  .lockwrap .dot{position:absolute;width:9px;height:9px;border-radius:50%;background:var(--accent);opacity:0;}

  /* cross-platform device parallax */
  .devs{position:relative;height:300px;}
  .dev{position:absolute;left:50%;border-radius:18px;background:var(--surface);border:1px solid var(--rule);
    box-shadow:var(--shadow-mid);display:grid;place-items:center;font-size:34px;}
  .dev--tablet{width:200px;height:150px;top:30px;margin-left:-200px;}
  .dev--laptop{width:260px;height:165px;top:70px;margin-left:-40px;}
  .dev--phone{width:96px;height:190px;top:40px;margin-left:120px;}

  /* screenshot gallery — horizontal pin */
  .gal{overflow:hidden;}
  .gal__track{display:flex;gap:28px;align-items:center;padding-inline:8vw;will-change:transform;}
  .gal__item{flex:0 0 auto;text-align:center;}
  .gal__item .phone{width:288px;}            /* near design size so .scr content fits */
  .gal__item img{width:100%;height:100%;object-fit:cover;display:block;}
  .gal__cap{font-size:12px;color:var(--ink-muted);margin-top:8px;}

  /* ---- gallery mockup-screen patterns (hand-built, on-brand) ---- */
  .wlogo{width:22px;height:22px;border-radius:6px;flex:0 0 auto;
    background:linear-gradient(135deg,#10B981,#047857);color:#fff;font-weight:800;font-size:12px;display:grid;place-items:center;}
  .mk-grouphead{font-size:9px;font-weight:800;letter-spacing:.8px;color:var(--ink-muted);margin:4px 2px 2px;}
  .mk-grouphead.pos{color:var(--positive);} .mk-grouphead.neg{color:var(--negative);}
  .mk-stack{display:flex;flex-direction:column;gap:9px;}
  .ins{display:flex;align-items:center;gap:10px;background:var(--surface);border:1px solid var(--rule);border-radius:12px;padding:10px 11px;}
  .ins .ig{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;font-size:15px;background:var(--accent-soft);flex:0 0 auto;}
  .ins .tx{display:flex;flex-direction:column;min-width:0;}
  .ins .tx b{font-size:11.5px;font-weight:700;} .ins .tx span{font-size:9.5px;color:var(--ink-muted);}
  .ins .iv{margin-left:auto;font-size:12px;font-weight:700;flex:0 0 auto;}
  .mk-tabs{display:flex;border-bottom:1px solid var(--rule);}
  .mk-tabs span{flex:1;text-align:center;font-size:9px;font-weight:800;letter-spacing:.5px;color:var(--ink-subtle);padding:7px 0;position:relative;}
  .mk-tabs span.on{color:var(--ink);} .mk-tabs span.on::after{content:"";position:absolute;left:28%;right:28%;bottom:-1px;height:2px;background:var(--accent);border-radius:2px;}
  .mk-amt{text-align:center;font-size:30px;font-weight:700;color:var(--accent);font-variant-numeric:tabular-nums;padding:8px 0 2px;}
  .mk-amt small{font-size:15px;color:var(--ink-subtle);}
  .mk-pad{display:grid;grid-template-columns:repeat(3,1fr);gap:5px;margin-top:auto;}
  .mk-pad b{background:var(--surface);border:1px solid var(--rule);border-radius:8px;text-align:center;padding:9px 0;font-size:13px;font-weight:600;color:var(--ink);}
  .mk-cta{margin-top:auto;background:var(--splits-accent);color:#fff;border-radius:12px;text-align:center;padding:12px 0;font-size:13px;font-weight:800;}
  .mk-seg{display:flex;gap:4px;background:var(--surface-elevated);border:1px solid var(--rule);border-radius:10px;padding:3px;}
  .mk-seg span{flex:1;text-align:center;font-size:10px;font-weight:700;color:var(--ink-muted);padding:7px 0;border-radius:7px;}
  .mk-seg span.on{background:var(--surface);color:var(--accent);box-shadow:var(--shadow-low);}
  /* keep long account/holding names on one line in the gallery phones */
  .gal__item .scr__row .tx{min-width:0;}
  .gal__item .scr__row .tx b{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  .gal__item .scr__row .tx span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
  /* mobile: native snap row, no pin */
  html.pp-mobile .gal__track{overflow-x:auto;scroll-snap-type:x mandatory;}
  html.pp-mobile .gal__item{scroll-snap-align:center;}

  /* CTA magnetic button + sweep */
  .cta-band .btn--white{will-change:transform;}

  /* Broker fly-in marks */
  .broker-mark{display:inline-flex;align-items:center;gap:8px;font-weight:800;color:var(--ink);
    background:var(--surface-elevated);border:1px solid var(--rule);border-radius:12px;padding:8px 14px;}

  /* fallback note shown only when engine is OFF, per scene */
  .fallback-tag{display:none;font:700 10px/1 sans-serif;color:var(--negative);
    background:var(--negative-soft);border-radius:999px;padding:4px 9px;letter-spacing:.4px;}
  html.pp-no-gsap .fallback-tag{display:inline-block;}

/* production: mobile gallery = native horizontal snap (replaces html.pp-mobile rule) */
@media (max-width:860px){ .gal__track{overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;} .gal__item{scroll-snap-align:center;} }
