
  /* ── LANDING PAGE THEME TOKENS ── */
  /* Supplement app.css with landing-specific variables for both modes */
  :root {
    --bg:             #fdfcff;
    --bg-section-alt: #f7f5ff;
    --bg-card-2:      #f3f0ff;
    --accent-pale:    #ede9fe;
    --accent-dim:     rgba(109,40,217,0.07);
    --accent-border:  rgba(109,40,217,0.18);
    --text:           #1c0a3c;
    --text-sub:       rgba(28,10,60,0.58);
    --text-muted:     rgba(28,10,60,0.36);
    --border:         rgba(28,10,60,0.08);
    --border-strong:  rgba(28,10,60,0.16);
    --phone-body:     #1a1a2e;
    --phone-border:   #2a2a4a;
    --problem-bg:     #1c0a3c;
    --problem-text:   rgba(253,252,255,0.95);
    --portrait-border: rgba(109,40,217,0.30);
  }
  [data-theme="dark"] {
    --bg:             #0b0d1f;
    --bg-card:        #111428;
    --bg-section-alt: #0d1022;
    --bg-card-2:      #181c35;
    --accent-pale:    #231a50;
    --accent-dim:     rgba(183,148,244,0.12);
    --accent-border:  rgba(183,148,244,0.26);
    --text:           #eee8ff;
    --text-sub:       rgba(238,232,255,0.64);
    --text-muted:     rgba(238,232,255,0.38);
    --border:         rgba(183,148,244,0.10);
    --border-strong:  rgba(183,148,244,0.22);
    --phone-body:     #0b0b1a;
    --phone-border:   #1e1e3a;
    --problem-bg:     #060510;
    --problem-text:   rgba(238,232,255,0.92);
    --portrait-border: rgba(183,148,244,0.50);
  }

  /* Belt-and-suspenders: explicit dark-mode overrides at higher specificity */
  [data-theme="dark"] .marquee              { background: #0d1022; }
  [data-theme="dark"] .ve-problem           { background: #060510; }
  [data-theme="dark"] .ve-problem-stat      { color: rgba(238,232,255,0.94); }
  [data-theme="dark"] .ve-problem-body      { color: rgba(238,232,255,0.94); opacity: 0.65; }
  [data-theme="dark"] .ve-founder          { background: #0b0d1f; }
  [data-theme="dark"] .ve-walk             { background: #0b0d1f; }
  [data-theme="dark"] .ve-why              { background: #0d1022; }
  [data-theme="dark"] .ve-pricing          { background: #0d1022; }
  [data-theme="dark"] .ve-cta             { background: #0d1022; }
  [data-theme="dark"] .pm-screen          { background: #111428; }

  /* ── BUTTONS ── */
  .btn-accent { background: var(--accent); color: #fff; font-weight: 700; font-size: 16px; letter-spacing: 0.2px; padding: 13px 30px; border-radius: 10px; display: inline-flex; align-items: center; gap: 6px; box-shadow: 0 6px 22px var(--accent-dim); transition: opacity 0.15s; }
  .btn-accent:hover { opacity: 0.88; color: #fff; }
  .btn-outline { background: transparent; color: var(--accent); font-weight: 600; font-size: 16px; padding: 11px 26px; border-radius: 10px; border: 1px solid var(--accent-border); display: inline-flex; align-items: center; gap: 6px; transition: background 0.15s; }
  .btn-outline:hover { background: var(--accent-dim); }

  /* ── HERO ── */
  .hero-wrap {
    width: 100%;
    min-height: calc(100vh - 64px);
    padding: 72px clamp(5%,8vw,12%) 60px;
    display: grid;
    grid-template-columns: minmax(260px, 440px) 1fr;
    gap: clamp(28px,3vw,56px);
    align-items: center;
  }
  .hero-text-col { display: flex; flex-direction: column; gap: 16px; }
  .hero-constellation { position: relative; min-height: 480px; align-self: stretch; }
  .hero-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--accent); }
  .ey-line { display: block; width: 38px; flex-shrink: 0; border-top: 1px solid var(--accent); opacity: 0.45; }
  .hero-h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.8rem,4.5vw,4.8rem); font-weight: 800; line-height: 1.12; letter-spacing: -0.01em; color: var(--text); }
  .hero-h1 em { color: var(--accent); font-style: italic; font-weight: 800; }
  .hero-sub { font-size: 17px; color: var(--text-sub); font-weight: 300; line-height: 1.7; max-width: 400px; }
  .hero-founder-note { font-size: 13px; font-style: italic; color: var(--text-muted); line-height: 1.65; border-left: 2px solid var(--accent-border); padding-left: 12px; max-width: 380px; }
  .hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
  .hero-trust { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.3px; margin-top: 2px; }
  .hero-trust-sep { color: var(--border-strong); }
  .mobile-cat-grid { display: none; }

  /* banyan SVG */
  #banyan-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
  .svg-node-circle { fill: var(--bg-card); stroke: var(--accent); stroke-width: 1.5; }
  .svg-node-icon  { text-anchor: middle; dominant-baseline: middle; }
  .svg-node-label { text-anchor: middle; dominant-baseline: middle; font-family: 'Inter', sans-serif; font-weight: 600; fill: var(--text); }

  /* ── MARQUEE ── */
  .marquee { background: var(--bg-section-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 0.75rem 0; overflow: hidden; }
  .marquee-inner { display: inline-flex; gap: 2.5rem; animation: marq 24s linear infinite; white-space: nowrap; }
  @keyframes marq { from{transform:translateX(0)} to{transform:translateX(-50%)} }
  .marquee-item { font-size: 12px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--text-muted); }
  .marquee-sep { color: var(--accent); opacity: 0.4; }

  /* ── PHONE MOCKUP (pm-) ── */
  .pm-wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
  .pm-phone {
    width: 300px; height: 604px; background: var(--phone-body);
    border-radius: 48px; border: 8px solid var(--phone-border);
    box-shadow: 0 32px 80px rgba(0,0,0,0.3), 0 0 0 1px rgba(255,255,255,0.06);
    position: relative; overflow: hidden; flex-shrink: 0;
  }
  .pm-notch { position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 96px; height: 26px; background: var(--phone-body); border-radius: 0 0 16px 16px; z-index: 10; }
  .pm-screen { position: absolute; inset: 0; background: var(--bg); padding: 36px 16px 16px; opacity: 0; transition: opacity 0.45s ease; display: flex; flex-direction: column; }
  .pm-screen.pm-active { opacity: 1; }
  .pm-screen-label { font-size: 10px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
  .pm-cat-grid { display: flex; flex-direction: column; flex: 1; overflow: hidden; }
  .pm-cat { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--border); background: transparent; border-radius: 0; }
  .pm-cat:last-child { border-bottom: none; }
  .pm-cat-icon { width: 36px; height: 36px; border-radius: 9px; background: var(--bg-card-2); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; line-height: 1; }
  .pm-cat-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
  .pm-cat-name { font-size: 12px; font-weight: 600; color: var(--text); }
  .pm-cat-sub { font-size: 9px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .pm-field { margin-bottom: 11px; }
  .pm-field-label { font-size: 9px; font-weight: 600; color: var(--text-muted); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 3px; }
  .pm-field-input { width: 100%; padding: 8px 10px; border-radius: 8px; background: var(--bg-card); border: 1px solid var(--border); font-size: 12px; color: var(--text-muted); }
  .pm-field-input.pm-filled { color: var(--text); border-color: var(--accent-border); }
  .pm-port-item { display: flex; align-items: center; gap: 8px; padding: 8px 9px; border-radius: 8px; background: var(--bg-card-2); border: 1px solid var(--border); margin-bottom: 6px; }
  .pm-port-icon { width: 26px; height: 26px; border-radius: 6px; background: var(--accent-dim); border: 1px solid var(--accent-border); display: flex; align-items: center; justify-content: center; font-size: 12px; flex-shrink: 0; }
  .pm-port-label { font-size: 12px; font-weight: 500; color: var(--text-sub); flex: 1; }
  .pm-port-tag   { font-size: 9px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
  .pm-dots { display: flex; gap: 6px; justify-content: center; }
  .pm-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border-strong); transition: background 0.3s, width 0.3s; }
  .pm-dot.pm-dot-active { background: var(--accent); width: 18px; border-radius: 3px; }

  /* ── PROBLEM STRIP ── */
  .ve-problem { background: var(--problem-bg); padding: 60px clamp(5%,8vw,12%); border-top: none; }
  .ve-problem-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px,5vw,80px); align-items: center; max-width: 1200px; margin: 0 auto; }
  .ve-problem-stat { font-family: 'Cormorant Garamond',serif; font-size: clamp(2rem,3.8vw,3.6rem); font-weight: 700; line-height: 1.1; color: var(--problem-text); }
  .ve-problem-body { font-size: 16px; color: var(--problem-text); opacity: 0.68; font-weight: 300; line-height: 1.75; }

  /* ── FOUNDER'S STORY ── */
  .ve-founder { padding: 80px clamp(5%,8vw,12%); background: var(--bg); border-top: 1px solid var(--border); }
  .ve-founder-inner { max-width: 860px; margin: 0 auto; display: grid; grid-template-columns: 160px 1fr; gap: clamp(32px,5vw,64px); align-items: start; }
  .ve-founder-portrait { width: 140px; height: 140px; border-radius: 50%; background: transparent; border: 2px solid var(--portrait-border); overflow: hidden; flex-shrink: 0; }
  .ve-founder-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
  .ve-founder-label { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
  .ve-founder-heading { font-family: 'Cormorant Garamond',serif; font-size: clamp(1.6rem,2.5vw,2.2rem); font-weight: 700; color: var(--text); line-height: 1.2; margin-bottom: 18px; }
  .ve-founder-body { font-size: 15px; color: var(--text-sub); font-weight: 300; line-height: 1.8; }
  .ve-founder-body p + p { margin-top: 14px; }
  .ve-founder-sig { margin-top: 24px; font-family: 'Cormorant Garamond',serif; font-size: 22px; font-style: italic; color: var(--accent); }
  .ve-founder-sig-role { font-family: 'Inter',sans-serif; font-size: 12px; font-style: normal; color: var(--text-muted); letter-spacing: 1px; font-weight: 600; margin-top: 2px; }
  @media (max-width:600px) { .ve-founder-inner { grid-template-columns: 1fr; } .ve-founder-portrait { width: 96px; height: 96px; } }

  /* ── WALKTHROUGH ── */
  .ve-walk { padding: 80px clamp(5%,8vw,12%); background: var(--bg); border-top: 1px solid var(--border); }
  .ve-walk-header { text-align: center; margin-bottom: 56px; }
  .ve-walk-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
  .ve-walk-heading { font-family: 'Cormorant Garamond',serif; font-size: clamp(1.9rem,3vw,2.8rem); font-weight: 700; color: var(--text); line-height: 1.15; }
  .ve-walk-inner { display: grid; grid-template-columns: auto 1fr; gap: clamp(36px,5vw,80px); align-items: start; max-width: 1100px; margin: 0 auto; }
  .ve-walk-steps { display: flex; flex-direction: column; padding-top: 16px; }
  .ve-walk-step { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding: 22px 0; border-bottom: 1px solid var(--border); transition: border-color 0.35s; cursor: default; }
  .ve-walk-step:first-child { padding-top: 0; }
  .ve-walk-step:last-child { border-bottom: none; }
  .ve-walk-step.active { border-color: var(--accent-border); }
  .ve-walk-step-num { width: 40px; height: 40px; border-radius: 50%; background: var(--bg-card-2); border: 1px solid var(--border); color: var(--text-muted); font-size: 13px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: background 0.35s, color 0.35s, border-color 0.35s, box-shadow 0.35s; }
  .ve-walk-step.active .ve-walk-step-num { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 0 4px 14px var(--accent-dim); }
  .ve-walk-step-title { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 5px; transition: color 0.25s; }
  .ve-walk-step.active .ve-walk-step-title { color: var(--accent); }
  .ve-walk-step-desc { font-size: 13px; color: var(--text-sub); font-weight: 300; line-height: 1.65; }

  /* ── WHY LEGACI ── */
  .ve-why { padding: 72px clamp(5%,8vw,12%); background: var(--bg-section-alt); border-top: 1px solid var(--border); }
  .ve-why-header { text-align: center; margin-bottom: 48px; }
  .ve-why-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
  .ve-why-heading { font-family: 'Cormorant Garamond',serif; font-size: clamp(1.9rem,3vw,2.8rem); font-weight: 700; color: var(--text); line-height: 1.15; }
  .ve-why-inner { display: grid; grid-template-columns: repeat(3,1fr); gap: clamp(16px,3vw,32px); max-width: 1100px; margin: 0 auto; }
  .ve-why-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px; padding: 32px 28px; display: flex; flex-direction: column; gap: 14px; transition: border-color 0.15s; }
  .ve-why-card:hover { border-color: var(--accent-border); }
  .ve-why-icon { font-size: 28px; }
  .ve-why-title { font-size: 17px; font-weight: 700; color: var(--text); line-height: 1.3; }
  .ve-why-body { font-size: 14px; color: var(--text-sub); font-weight: 300; line-height: 1.7; }
  @media (max-width:768px) { .ve-why-inner { grid-template-columns: 1fr; } }

  /* ── PRICING ── */
  .ve-pricing { padding: 80px clamp(5%,8vw,12%); background: var(--bg-section-alt); border-top: 1px solid var(--border); }
  .ve-pricing-header { text-align: center; margin-bottom: 52px; }
  .ve-pricing-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
  .ve-pricing-heading { font-family: 'Cormorant Garamond',serif; font-size: clamp(1.9rem,3vw,2.8rem); font-weight: 700; color: var(--text); margin-bottom: 10px; }
  .ve-pricing-sub { font-size: 15px; color: var(--text-sub); font-weight: 300; }
  .ve-pricing-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; max-width: 960px; margin: 0 auto; }
  .ve-plan { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; }
  .ve-plan-featured { background: var(--accent); border-color: var(--accent); }
  .ve-plan-badge { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
  .ve-plan-featured .ve-plan-badge { color: rgba(255,255,255,0.7); }
  .ve-plan-name { font-size: 18px; font-weight: 700; color: var(--text); }
  .ve-plan-featured .ve-plan-name { color: #fff; }
  .ve-plan-price { font-family: 'Cormorant Garamond',serif; font-size: 3.4rem; font-weight: 700; color: var(--text); line-height: 1; margin: 12px 0 3px; }
  .ve-plan-featured .ve-plan-price { color: #fff; }
  .ve-plan-price sup { font-size: 1.3rem; vertical-align: super; }
  .ve-plan-period { font-size: 12px; color: var(--text-muted); margin-bottom: 22px; }
  .ve-plan-featured .ve-plan-period { color: rgba(255,255,255,0.6); }
  .ve-plan-divider { border: none; border-top: 1px solid var(--border); margin-bottom: 20px; }
  .ve-plan-featured .ve-plan-divider { border-color: rgba(255,255,255,0.2); }
  .ve-plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 28px; }
  .ve-plan-features li { font-size: 13px; color: var(--text-sub); display: flex; align-items: flex-start; gap: 8px; line-height: 1.5; }
  .ve-plan-featured .ve-plan-features li { color: rgba(255,255,255,0.85); }
  .ve-plan-features li::before { content: '✓'; color: var(--accent); font-weight: 700; flex-shrink: 0; }
  .ve-plan-featured .ve-plan-features li::before { color: rgba(255,255,255,0.85); }
  .ve-plan-cta { display: block; text-align: center; padding: 12px 20px; border-radius: 10px; font-size: 14px; font-weight: 700; transition: opacity 0.15s; }
  .ve-plan-cta-outline { border: 1px solid var(--accent-border); color: var(--accent); }
  .ve-plan-cta-outline:hover { background: var(--accent-dim); }
  .ve-plan-cta-solid { background: #fff; color: var(--accent); }
  .ve-plan-cta-solid:hover { opacity: 0.9; color: var(--accent); }
  .ve-pricing-note { text-align: center; margin-top: 24px; font-size: 12px; color: var(--text-muted); }
  .ve-plan-disabled { opacity: 0.45; pointer-events: none; position: relative; overflow: hidden; }
  .ve-plan-soon { position: absolute; top: 18px; right: -28px; transform: rotate(35deg); background: var(--border-strong); color: var(--text); font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; padding: 5px 40px; }
  @media (max-width: 768px) { .ve-pricing-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }

  /* ── CTA ── */
  .ve-cta { padding: 68px clamp(5%,8vw,12%); background: var(--bg-section-alt); border-top: 1px solid var(--border); text-align: center; }
  .ve-cta-inner { max-width: 860px; margin: 0 auto; border: 1px solid var(--accent-border); border-radius: 28px; padding: 56px 48px; background: radial-gradient(ellipse at 50% 0%, var(--accent-dim) 0%, transparent 70%); }
  .ve-cta-heading { font-family: 'Cormorant Garamond',serif; font-size: clamp(2rem,3.5vw,3.4rem); font-weight: 700; color: var(--text); line-height: 1.1; margin-bottom: 12px; }
  .ve-cta-sub { font-size: 15px; color: var(--text-sub); font-weight: 300; margin-bottom: 26px; }
  @media (max-width:768px) { .ve-cta-inner { padding: 36px 24px; } }

  /* ── RESPONSIVE ── */
  @media (max-width:1100px) { .hero-wrap { grid-template-columns: 1fr 240px; gap: 32px; } }
  @media (max-width:900px)  { .ve-walk-inner { grid-template-columns: 1fr; justify-items: center; } }
  @media (max-width:700px)  { .ve-problem-grid { grid-template-columns: 1fr; gap: 24px; } }
  @media (max-width:768px)  {
    .hero-wrap { grid-template-columns: 1fr; padding: 52px 5% 44px; }
    .hero-constellation { min-height: 300px; align-self: auto; }
    .mobile-cat-grid { display: none; }
    .mobile-cat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 8px; border-radius: 14px; background: var(--bg-card); border: 1px solid var(--accent-border); text-align: center; }
    .mobile-cat-emoji { font-size: 26px; line-height: 1; }
    .mobile-cat-label { font-size: 11px; font-weight: 600; color: var(--text-sub); line-height: 1.3; }
  }
