/* =====================================================================
   Nevi — marketing site design system
   Brand tokens sampled from the app (lib/core/theme/app_palette.dart):
   indigo #3C2D7F · gold #F5BA63 · lavender #CAB7D9 · mid-purple #5F489D.
   The site commits to a warm light look with deep-indigo hero & footer.
   ===================================================================== */

/* ------------------------------------------------------------------ reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body { min-height: 100%; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ----------------------------------------------------------------- tokens */
:root {
  /* brand */
  --indigo:      #3C2D7F;
  --indigo-mid:  #4E3A93;
  --indigo-deep: #2A1F5C;
  --indigo-abyss:#1B1338;
  --mid-purple:  #5F489D;
  --soft-purple: #9983BD;
  --lavender:    #CAB7D9;
  --gold:        #F5BA63;
  --gold-deep:   #E0952F;
  --apricot:     #F29A63;
  --rose:        #E8748A;
  --mint:        #4FBF9F;
  --sky:         #64B6E8;

  /* semantic money */
  --spend: #E56A6A;
  --income:#3FA88B;

  /* neutrals / surfaces */
  --ink:       #1A1430;
  --ink-soft:  #4B4463;
  --muted:     #726A88;
  --line:      #ECE7F5;
  --paper:     #FBF9FE;
  --paper-2:   #F4F0FB;
  --white:     #FFFFFF;

  /* effects */
  --shadow-sm: 0 2px 8px rgba(60,45,127,.06);
  --shadow-md: 0 14px 40px -18px rgba(60,45,127,.28);
  --shadow-lg: 0 40px 90px -40px rgba(27,19,56,.55);
  --ring: 0 0 0 1px rgba(60,45,127,.08);

  /* rhythm */
  --radius: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 56px);

  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* -------------------------------------------------------------- base type */
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

h1, h2, h3, h4 { line-height: 1.08; letter-spacing: -.02em; font-weight: 800; color: var(--ink); overflow-wrap: break-word; }
p, li, a, span { overflow-wrap: break-word; }
h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); letter-spacing: -.035em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.2rem); letter-spacing: -.03em; }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
p  { color: var(--ink-soft); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--mid-purple);
}
.eyebrow::before { content: ''; width: 22px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, var(--gold), transparent); }
.eyebrow.center::before { display: none; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--ink-soft); line-height: 1.6; }
.grad-text { background: linear-gradient(120deg, var(--gold) 0%, var(--apricot) 55%, var(--rose) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* --------------------------------------------------------------- layout */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 130px); position: relative; }
.section-head { max-width: 640px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { margin: 14px 0 16px; }

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 16px; font-weight: 700; font-size: .98rem;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s, background .25s, color .25s;
  will-change: transform; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { color: #fff; background: linear-gradient(120deg, var(--indigo) 0%, var(--mid-purple) 100%); box-shadow: 0 14px 30px -12px rgba(60,45,127,.7); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(60,45,127,.8); }
.btn-gold { color: var(--indigo-deep); background: linear-gradient(120deg, var(--gold) 0%, var(--apricot) 100%); box-shadow: 0 14px 30px -12px rgba(245,186,99,.7); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 20px 44px -12px rgba(245,186,99,.85); }
.btn-ghost { color: var(--ink); background: rgba(255,255,255,.7); box-shadow: var(--ring); }
.btn-ghost:hover { transform: translateY(-2px); background: #fff; box-shadow: var(--shadow-sm), var(--ring); }
.btn-on-dark { color: #fff; background: rgba(255,255,255,.1); box-shadow: inset 0 0 0 1px rgba(255,255,255,.22); backdrop-filter: blur(8px); }
.btn-on-dark:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }
.btn-lg { padding: 17px 32px; font-size: 1.05rem; }

/* ---------------------------------------------------------------- navbar */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px var(--gutter);
  transition: background .3s, box-shadow .3s, padding .3s;
}
.nav.scrolled {
  background: rgba(251,249,254,.82);
  backdrop-filter: saturate(180%) blur(16px);
  box-shadow: 0 1px 0 var(--line);
  padding-block: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.brand .mark { width: 34px; height: 34px; border-radius: 10px; object-fit: cover; box-shadow: 0 6px 16px -6px rgba(60,45,127,.6); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { font-weight: 600; font-size: .95rem; color: var(--ink-soft); transition: color .2s; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; box-shadow: var(--ring); background: rgba(255,255,255,.6); }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span::before, .nav-toggle span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: .25s; }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(120px, 17vh, 180px) 0 clamp(60px, 9vw, 110px);
  background:
    radial-gradient(120% 90% at 82% -10%, rgba(245,186,99,.20), transparent 55%),
    radial-gradient(100% 80% at 6% 8%, rgba(95,72,157,.16), transparent 52%),
    linear-gradient(180deg, #fff 0%, var(--paper) 100%);
}
.hero::after { /* soft horizon line — the worry sets, calm rises */
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(60,45,127,.14) 20%, rgba(245,186,99,.35) 50%, rgba(60,45,127,.14) 80%, transparent);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero-copy { max-width: 560px; min-width: 0; }
.phone-wrap { min-width: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 9px; margin-bottom: 26px;
  padding: 8px 15px; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--mid-purple);
  background: rgba(255,255,255,.75); box-shadow: var(--ring); backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(79,191,159,.18); }
.hero h1 { margin-bottom: 22px; }
.hero .lead { max-width: 480px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 22px 30px; }
.hero-meta li { display: flex; align-items: center; gap: 9px; font-size: .92rem; font-weight: 600; color: var(--ink-soft); }
.hero-meta svg { width: 18px; height: 18px; color: var(--mid-purple); flex: 0 0 auto; }

/* floating aurora blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .5; z-index: 0; pointer-events: none; }
.blob-1 { width: 380px; height: 380px; top: -80px; right: -60px; background: radial-gradient(circle, var(--gold), transparent 68%); animation: float1 16s ease-in-out infinite; }
.blob-2 { width: 320px; height: 320px; bottom: -60px; left: -40px; background: radial-gradient(circle, var(--soft-purple), transparent 68%); animation: float2 20s ease-in-out infinite; }
@keyframes float1 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(-30px,26px) scale(1.08);} }
@keyframes float2 { 0%,100%{ transform: translate(0,0) scale(1);} 50%{ transform: translate(26px,-22px) scale(1.06);} }

/* --------------------------------------------------------- phone mockup */
.phone-wrap { position: relative; display: flex; justify-content: center; perspective: 1600px; }
.phone {
  position: relative; width: 300px; flex: 0 0 auto;
  border-radius: 46px; padding: 11px;
  background: linear-gradient(160deg, #241a44, #120c26);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255,255,255,.06);
  transform: rotateY(-14deg) rotateX(4deg) rotate(1deg);
  transition: transform .6s cubic-bezier(.2,.8,.2,1);
}
.phone-wrap:hover .phone { transform: rotateY(-6deg) rotateX(2deg); }
.phone::before { /* notch */
  content: ''; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 92px; height: 26px; background: #100a22; border-radius: 999px; z-index: 5;
}
.screen {
  border-radius: 36px; overflow: hidden; background: var(--paper);
  height: 620px; position: relative;
}
.screen-scroll { height: 100%; overflow: hidden; padding-bottom: 8px; }

/* status bar */
.mock-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px 6px; font-size: .72rem; font-weight: 700; color: var(--ink); }
.mock-status .dots { display: inline-flex; gap: 4px; align-items: center; }
.mock-status .dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); opacity: .55; }

/* app header */
.mock-head { display: flex; align-items: center; justify-content: space-between; padding: 8px 20px 12px; }
.mock-greet { font-size: .74rem; color: var(--muted); font-weight: 600; }
.mock-name { font-size: 1.25rem; font-weight: 800; letter-spacing: -.02em; }
.mock-logo { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; }

/* net-worth hero card */
.mock-hero {
  margin: 4px 16px 0; border-radius: 24px; padding: 18px 18px 16px; color: #fff;
  background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-mid) 52%, var(--mid-purple) 100%);
  box-shadow: 0 20px 40px -20px rgba(60,45,127,.9);
  position: relative; overflow: hidden;
}
.mock-hero::after { content:''; position:absolute; width:150px; height:150px; right:-40px; top:-50px; border-radius:50%; background: radial-gradient(circle, rgba(245,186,99,.28), transparent 70%); }
.mock-hero .row { display: flex; align-items: center; justify-content: space-between; }
.mock-hero .label { font-size: .68rem; letter-spacing: .04em; color: rgba(255,255,255,.72); font-weight: 600; }
.mock-hero .pill { font-size: .6rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,.16); }
.mock-hero .bal { font-size: 2.05rem; font-weight: 800; letter-spacing: -.03em; margin: 8px 0 14px; }
.mock-hero .foot { display: flex; align-items: center; justify-content: space-between; font-size: .64rem; }
.mock-hero .foot .k { color: rgba(255,255,255,.7); font-weight: 600; }
.mock-hero .foot .v { font-weight: 700; }
.spark { margin-top: 8px; width: 100%; height: 40px; }
.spark path.line { fill: none; stroke: #fff; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.spark path.area { fill: url(#sparkfill); opacity: .9; }

/* stat strip */
.mock-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 16px 0; }
.stat { background: #fff; border-radius: 18px; padding: 12px 13px; box-shadow: var(--shadow-sm), var(--ring); }
.stat .top { display: flex; align-items: center; gap: 7px; }
.stat .ico { width: 22px; height: 22px; border-radius: 7px; display: grid; place-items: center; font-size: .7rem; }
.stat .ico.dn { background: rgba(229,106,106,.14); color: var(--spend); }
.stat .ico.up { background: rgba(63,168,139,.14); color: var(--income); }
.stat .cap { font-size: .62rem; color: var(--muted); font-weight: 600; }
.stat .amt { font-size: 1.05rem; font-weight: 800; letter-spacing: -.02em; margin-top: 8px; }

/* goal card */
.mock-goal { margin: 14px 16px 0; background: #fff; border-radius: 20px; padding: 14px; box-shadow: var(--shadow-sm), var(--ring); }
.mock-goal .top { display: flex; align-items: center; justify-content: space-between; }
.mock-goal .tag { font-size: .58rem; font-weight: 800; letter-spacing: .08em; color: var(--mid-purple); }
.mock-goal .pct { font-size: .72rem; font-weight: 800; }
.mock-goal .name { font-size: .95rem; font-weight: 800; margin: 7px 0 10px; letter-spacing: -.01em; }
.bar { height: 8px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.bar > i { display: block; height: 100%; width: 62%; border-radius: 999px; background: linear-gradient(90deg, var(--mid-purple), var(--indigo)); }
.mock-goal .g-foot { display: flex; justify-content: space-between; font-size: .6rem; margin-top: 9px; color: var(--muted); font-weight: 600; }
.mock-goal .g-foot b { color: var(--indigo); }

/* section label + accounts */
.mock-sec { display: flex; align-items: center; justify-content: space-between; margin: 18px 20px 10px; }
.mock-sec h4 { font-size: .92rem; font-weight: 800; }
.mock-sec a { font-size: .68rem; color: var(--mid-purple); font-weight: 700; }
.mock-accounts { display: flex; gap: 10px; padding: 0 16px; overflow: hidden; }
.acct { flex: 0 0 138px; background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow-sm), var(--ring); }
.acct .a-top { display: flex; align-items: center; gap: 8px; }
.acct .a-ico { width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center; font-size: .8rem; color: #fff; }
.acct .a-name { font-size: .72rem; font-weight: 700; }
.acct .a-bal { font-size: 1.02rem; font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.acct .a-sub { font-size: .58rem; color: var(--muted); font-weight: 600; }

/* recent list */
.mock-list { margin: 6px 16px 0; display: flex; flex-direction: column; gap: 9px; }
.entry { display: flex; align-items: center; gap: 11px; background: #fff; border-radius: 16px; padding: 10px 12px; box-shadow: var(--shadow-sm), var(--ring); }
.entry .e-ico { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: .95rem; color: #fff; flex: 0 0 auto; }
.entry .e-mid { flex: 1; min-width: 0; }
.entry .e-name { font-size: .8rem; font-weight: 700; }
.entry .e-cat { font-size: .62rem; color: var(--muted); font-weight: 600; }
.entry .e-amt { font-size: .84rem; font-weight: 800; letter-spacing: -.02em; }
.entry .e-amt.out { color: var(--ink); }
.entry .e-amt.in { color: var(--income); }

/* bottom nav + fab */
.mock-nav {
  position: absolute; left: 0; right: 0; bottom: 0; height: 62px;
  display: flex; align-items: center; justify-content: space-around;
  background: rgba(255,255,255,.86); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
}
.mock-nav i { width: 22px; height: 22px; border-radius: 7px; background: var(--lavender); opacity: .5; }
.mock-nav i.on { background: var(--indigo); opacity: 1; }
.mock-fab {
  position: absolute; bottom: 44px; left: 50%; transform: translateX(-50%);
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
  color: #fff; font-size: 1.5rem; font-weight: 700;
  background: linear-gradient(135deg, var(--gold), var(--apricot));
  box-shadow: 0 12px 26px -8px rgba(245,186,99,.9); z-index: 6;
}

/* floating glass chips beside the phone */
.chip {
  position: absolute; z-index: 3; display: flex; align-items: center; gap: 10px;
  padding: 11px 15px; border-radius: 16px; background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-md); backdrop-filter: blur(10px); font-size: .82rem; font-weight: 700;
}
.chip small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); }
.chip .c-ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-size: .9rem; }
.chip-1 { top: 14%; left: -6%; animation: bob 6s ease-in-out infinite; }
.chip-2 { bottom: 16%; right: -8%; animation: bob 7s ease-in-out infinite .8s; }
@keyframes bob { 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-12px);} }

/* ---------------------------------------------------------- trust marquee */
.marquee { border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.marquee-track { display: flex; gap: 56px; padding: 22px 0; width: max-content; animation: scroll-x 32s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { display: inline-flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.02rem; color: var(--ink-soft); white-space: nowrap; }
.marquee-track span::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
@keyframes scroll-x { to { transform: translateX(-50%); } }

/* ---------------------------------------------------------------- features */
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.feature {
  position: relative; background: #fff; border-radius: var(--radius); padding: 30px 26px;
  box-shadow: var(--shadow-sm), var(--ring); overflow: hidden;
  transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.feature::before { content: ''; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--gold), var(--apricot)); transform: scaleX(0); transform-origin: left; transition: transform .4s; }
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature:hover::before { transform: scaleX(1); }
.feature .f-ico { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px; color: #fff; }
.feature .f-ico svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.18rem; margin-bottom: 10px; }
.feature p { font-size: .96rem; }
.feature.wide { grid-column: span 2; }
/* icon tints */
.t-indigo { background: linear-gradient(135deg, var(--indigo), var(--mid-purple)); }
.t-gold   { background: linear-gradient(135deg, var(--gold), var(--apricot)); color: var(--indigo-deep) !important; }
.t-mint   { background: linear-gradient(135deg, var(--mint), #3f9f88); }
.t-rose   { background: linear-gradient(135deg, var(--rose), #d9556b); }
.t-sky    { background: linear-gradient(135deg, var(--sky), #3f8fce); }
.t-purple { background: linear-gradient(135deg, var(--soft-purple), var(--mid-purple)); }

/* -------------------------------------------------------------- showcase */
.showcase { background: linear-gradient(180deg, var(--paper) 0%, var(--paper-2) 100%); }
.showcase-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; }
.steps { display: flex; flex-direction: column; gap: 8px; }
.step { display: flex; gap: 18px; padding: 18px; border-radius: var(--radius); transition: background .3s, box-shadow .3s; }
.step.active { background: #fff; box-shadow: var(--shadow-sm), var(--ring); }
.step .n { flex: 0 0 auto; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, var(--indigo), var(--mid-purple)); }
.step h3 { font-size: 1.15rem; margin-bottom: 5px; }
.step p { font-size: .95rem; }

/* --------------------------------------------------------------- pricing */
.pricing-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; max-width: 860px; margin-inline: auto; }
.plan { position: relative; border-radius: var(--radius-lg); padding: 38px 34px; }
.plan-free { background: #fff; box-shadow: var(--shadow-sm), var(--ring); }
.plan-pro {
  color: #fff; overflow: hidden;
  background: linear-gradient(160deg, var(--indigo) 0%, var(--indigo-deep) 60%, var(--indigo-abyss) 100%);
  box-shadow: var(--shadow-lg);
}
.plan-pro::after { content: ''; position: absolute; width: 260px; height: 260px; right: -80px; top: -90px; border-radius: 50%; background: radial-gradient(circle, rgba(245,186,99,.3), transparent 70%); }
.plan .p-name { font-weight: 800; font-size: 1.05rem; display: flex; align-items: center; gap: 10px; }
.plan .p-badge { font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; background: linear-gradient(120deg, var(--gold), var(--apricot)); color: var(--indigo-deep); }
.plan .p-price { display: flex; align-items: baseline; gap: 8px; margin: 18px 0 4px; }
.plan .p-price .amt { font-size: 3rem; font-weight: 800; letter-spacing: -.03em; }
.plan .p-price .cur { font-size: 1.6rem; font-weight: 800; }
.plan .p-price .per { font-size: .9rem; font-weight: 600; opacity: .7; }
.plan .p-note { font-size: .88rem; opacity: .8; margin-bottom: 24px; }
.plan-free .p-note { color: var(--muted); }
.plan ul.p-list { display: flex; flex-direction: column; gap: 13px; margin-bottom: 28px; }
.plan ul.p-list li { display: flex; align-items: flex-start; gap: 11px; font-size: .95rem; font-weight: 500; }
.plan ul.p-list li svg { width: 20px; height: 20px; flex: 0 0 auto; margin-top: 1px; }
.plan-free li svg { color: var(--income); }
.plan-pro li svg { color: var(--gold); }
.plan .btn { width: 100%; }

/* ------------------------------------------------------------- manifesto */
.manifesto {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(90% 70% at 50% 0%, rgba(245,186,99,.16), transparent 60%),
    linear-gradient(160deg, var(--indigo-deep) 0%, var(--indigo-abyss) 100%);
}
.manifesto .container { position: relative; z-index: 1; max-width: 760px; }
.manifesto h2 { color: #fff; margin-bottom: 22px; }
.manifesto p { color: rgba(255,255,255,.82); font-size: clamp(1.05rem, 1.7vw, 1.28rem); line-height: 1.65; }
.manifesto .sig { margin-top: 34px; font-weight: 700; color: var(--gold); letter-spacing: .02em; }
.stars { position: absolute; inset: 0; z-index: 0; opacity: .5; }

/* --------------------------------------------------------------- journal */
.journal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.post {
  display: flex; flex-direction: column; background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm), var(--ring); transition: transform .3s cubic-bezier(.2,.8,.2,1), box-shadow .3s;
}
.post:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.post .p-media { aspect-ratio: 16/10; background: linear-gradient(135deg, var(--indigo), var(--mid-purple)); position: relative; overflow: hidden; }
.post .p-media img { width: 100%; height: 100%; object-fit: cover; }
.post .p-media .p-emoji { position: absolute; inset: 0; display: grid; place-items: center; font-size: 3rem; }
.post .p-body { padding: 22px 22px 24px; display: flex; flex-direction: column; flex: 1; }
.post .p-cat { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--mid-purple); margin-bottom: 10px; }
.post .p-title { font-size: 1.12rem; font-weight: 800; letter-spacing: -.01em; margin-bottom: 9px; line-height: 1.25; }
.post .p-excerpt { font-size: .92rem; color: var(--ink-soft); flex: 1; }
.post .p-meta { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: .78rem; color: var(--muted); font-weight: 600; }
.journal-empty { text-align: center; padding: 60px 20px; background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm), var(--ring); }
.journal-empty .je-emoji { font-size: 3rem; margin-bottom: 14px; }
.journal-empty h3 { margin-bottom: 8px; }
.journal-empty p { max-width: 420px; margin-inline: auto; }
.skeleton { background: linear-gradient(100deg, var(--paper-2) 30%, #fff 50%, var(--paper-2) 70%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -200% 0; } }

/* --------------------------------------------------------------- get/cta */
.get { background: var(--paper-2); }
.get-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.platform {
  background: #fff; border-radius: var(--radius); padding: 30px; text-align: left;
  box-shadow: var(--shadow-sm), var(--ring); display: flex; flex-direction: column;
  transition: transform .3s, box-shadow .3s;
}
.platform:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.platform .pl-ico { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; color: #fff; margin-bottom: 18px; }
.platform .pl-ico svg { width: 28px; height: 28px; }
.platform h3 { font-size: 1.2rem; margin-bottom: 8px; }
.platform p { font-size: .93rem; flex: 1; margin-bottom: 20px; }
.platform .pl-tag { font-size: .72rem; font-weight: 700; color: var(--mid-purple); margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.platform.soon { opacity: .96; }
.platform.soon .pl-badge { align-self: flex-start; font-size: .68rem; font-weight: 800; padding: 6px 12px; border-radius: 999px; background: var(--paper-2); color: var(--muted); }

/* ---------------------------------------------------------------- footer */
.footer { background: linear-gradient(160deg, var(--indigo-deep), var(--indigo-abyss)); color: rgba(255,255,255,.7); padding-block: clamp(56px, 8vw, 84px) 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 50px; }
.footer .brand { color: #fff; margin-bottom: 16px; }
.footer-blurb { font-size: .92rem; max-width: 300px; line-height: 1.6; }
.footer h5 { color: #fff; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; font-weight: 700; }
.footer-col a { display: block; font-size: .92rem; padding: 6px 0; transition: color .2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.1); font-size: .84rem; }
.footer-bottom .made { color: rgba(255,255,255,.55); }
.footer-bottom .made b { color: var(--gold); font-weight: 700; }

/* ------------------------------------------------------------- reveal fx */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1); }
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal][data-delay="1"] { transition-delay: .08s; }
[data-reveal][data-delay="2"] { transition-delay: .16s; }
[data-reveal][data-delay="3"] { transition-delay: .24s; }
[data-reveal][data-delay="4"] { transition-delay: .32s; }

/* ------------------------------------------------------------- article */
.article-hero { padding: clamp(120px, 16vh, 170px) 0 40px; background: linear-gradient(180deg, #fff, var(--paper)); }
.article-hero .container { max-width: 780px; }
.article-back { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--mid-purple); margin-bottom: 26px; }
.article-hero h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin: 14px 0 18px; }
.article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.article-cover { max-width: 900px; margin: 30px auto 0; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-md); aspect-ratio: 16/8; background: linear-gradient(135deg, var(--indigo), var(--mid-purple)); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { max-width: 720px; margin: 0 auto; padding-block: clamp(40px, 6vw, 70px); font-size: 1.1rem; line-height: 1.75; color: var(--ink-soft); }
.article-body > * + * { margin-top: 1.3em; }
.article-body h2 { font-size: 1.7rem; margin-top: 1.8em; color: var(--ink); }
.article-body h3 { font-size: 1.3rem; margin-top: 1.5em; color: var(--ink); }
.article-body p { color: var(--ink-soft); }
.article-body a { color: var(--mid-purple); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.article-body img { border-radius: var(--radius); margin-block: 1.6em; box-shadow: var(--shadow-sm); }
.article-body ul, .article-body ol { padding-left: 1.4em; }
.article-body li { margin-top: .5em; }
.article-body blockquote { border-left: 3px solid var(--gold); padding-left: 22px; font-style: italic; color: var(--ink); }
.article-body code { background: var(--paper-2); padding: 2px 7px; border-radius: 6px; font-size: .9em; }
.article-body pre { background: var(--indigo-abyss); color: #eee; padding: 20px; border-radius: var(--radius); overflow-x: auto; }
.article-body pre code { background: none; padding: 0; color: inherit; }

/* --------------------------------------------------------------- states */
.page-note { text-align: center; padding: 80px 20px; }
.page-note h3 { margin-bottom: 10px; }

/* ------------------------------------------------------------- responsive */
@media (max-width: 940px) {
  .nav-links, .nav-cta .btn:not(.nav-toggle) { display: none; }
  .nav-toggle { display: flex; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
    position: absolute; top: 100%; left: var(--gutter); right: var(--gutter);
    background: #fff; border-radius: 20px; padding: 16px; box-shadow: var(--shadow-md);
  }
  .nav.open .nav-links a { padding: 10px 8px; width: 100%; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-copy { max-width: none; margin-inline: auto; }
  .hero .lead { margin-inline: auto; }
  .hero-cta, .hero-meta { justify-content: center; }
  .hero-badge { margin-inline: auto; }
  .phone-wrap { margin-top: 20px; }
  .phone { transform: none; }
  .showcase-grid { grid-template-columns: 1fr; }
  .feature-grid, .journal-grid, .get-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature.wide { grid-column: span 2; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 620px) {
  .feature-grid, .journal-grid, .get-grid, .pricing-grid, .mock-strip { grid-template-columns: 1fr; }
  .feature.wide { grid-column: span 1; }
  .chip { display: none; }
  .hero-cta .btn { width: 100%; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 400px) {
  .footer-top { grid-template-columns: 1fr; }
}
