/* LIFE Marketing — page styles */

@import url('tokens.css');

/* Local overrides for marketing canvas */
:root {
  --forest:        #1B4332;
  --sage:          #5B8A72;
  --sunshine:      #F2C94C;
  --acid-lime:     #CDEB45;
  --cream:         #FAF7F2;
  --soft-mint:     #EAF1E9;
  --mint:          #A7D7C5;
  --peach:         #F2A07B;
  --lavender:      #C3B1E1;
  --sky:           #89C2D9;
  --rose:          #D4A0A0;
  --charcoal:      #2D3436;
  --mid-grey:      #8E8E93;
  --rule-soft:     rgba(7,46,20,0.08);
  --rule-mid:      rgba(7,46,20,0.12);
  --shadow-card:   0 18px 40px -16px rgba(7,46,20,0.18), 0 1px 0 rgba(7,46,20,0.06);
  --shadow-float:  0 30px 60px -22px rgba(7,46,20,0.45);
  --shadow-app:    0 24px 50px -16px rgba(7,46,20,0.45);
  --glow-cyan:     0 0 22px rgba(51,255,233,0.55);
  --ease-primary:  cubic-bezier(0.32, 0.72, 0, 1);
  --ease-secondary: cubic-bezier(0.16, 1, 0.3, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
html.lenis { height: auto; }
html.lenis, html.lenis body { overflow: clip; }
html.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }

body {
  font-family: 'Satoshi','Helvetica Neue',-apple-system,sans-serif;
  background: var(--cream);
  color: var(--forest);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-feature-settings: "ss01","ss02";
}

img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }

/* Subtle paper grain */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  mix-blend-mode: multiply;
}

/* ── Type ──────────────────────────────────────────── */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font: 500 11px/1.2 'IBM Plex Mono','SF Mono',Menlo,monospace;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}
.kicker-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: 0.7; }

.wordmark {
  font-family: 'Nunito',sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.018em;
  color: var(--forest);
}
.wordmark-display {
  font-size: clamp(64px, 9vw, 124px);
  line-height: 0.92;
}

.h-display {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  color: var(--forest);
}
.h-section {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--forest);
}
.h-card {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.012em;
  color: var(--forest);
}
.lead {
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--forest);
  text-wrap: pretty;
  max-width: 56ch;
}
.body-prose {
  font-size: 15px;
  line-height: 1.65;
  color: var(--charcoal);
  text-wrap: pretty;
}
.mono { font-family: 'IBM Plex Mono','SF Mono',Menlo,monospace; }

/* ── Layout ────────────────────────────────────────── */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 64px);
}
.section {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 0;
}

/* ── Nav ───────────────────────────────────────────── */
.nav-wrap {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  pointer-events: none;
  transition: transform .5s var(--ease-primary), opacity .3s ease;
}
.nav-pill {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 8px 8px 18px;
  background: rgba(250,247,242,0.78);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-radius: 9999px;
  box-shadow: 0 1px 0 rgba(7,46,20,0.06), 0 14px 32px -18px rgba(7,46,20,0.18);
  border: 1px solid rgba(7,46,20,0.06);
  transition: transform .5s var(--ease-primary);
}
.nav-wrap.scrolled .nav-pill { transform: scale(0.95); background: rgba(250,247,242,0.92); }
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  padding-right: 10px;
  border-right: 1px solid var(--rule-mid);
  margin-right: 6px;
}
.nav-logo img { height: 22px; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.pill-link {
  position: relative;
  display: inline-flex; align-items: center;
  padding: 8px 14px;
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--forest);
  overflow: hidden;
  transition: color .35s var(--ease-primary);
}
.pill-link .fill {
  position: absolute; left: 50%; top: 50%;
  transform: translate(-50%,-50%) scale(0);
  background: var(--sage);
  border-radius: 9999px;
  opacity: 0;
  transition: transform .55s var(--ease-primary), opacity .25s ease;
  z-index: 0;
}
.pill-link:hover .fill { transform: translate(-50%,-50%) scale(1); opacity: 1; }
.pill-link:hover { color: var(--cream); }
.pill-link span { position: relative; z-index: 1; }

.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 16px;
  background: var(--forest);
  color: var(--cream);
  border-radius: 9999px;
  font-size: 13.5px;
  font-weight: 500;
  margin-left: 8px;
  transition: background .35s var(--ease-primary);
}
.nav-cta .icon-bubble {
  width: 28px; height: 28px;
  border-radius: 9999px;
  display: grid; place-items: center;
  background: rgba(250,247,242,0.12);
  transition: transform .35s var(--ease-primary);
}
.nav-cta:hover .icon-bubble { transform: translate(2px,-1px) scale(1.05); }

@media (max-width: 880px) {
  .nav-links, .nav-logo { display: none; }
  .nav-pill { padding: 6px 6px 6px 14px; }
}

/* ── Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 140px 0 100px;
  overflow: hidden;
}
.hero-blobs { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.scroll-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.42;
  pointer-events: none;
}
/* Legibility scrim — fades cream over the left/bottom where the H1 sits */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(105deg, var(--cream) 0%, rgba(250,247,242,0.85) 28%, rgba(250,247,242,0.35) 55%, rgba(250,247,242,0) 78%),
    linear-gradient(to top, rgba(250,247,242,0.9) 0%, rgba(250,247,242,0) 45%);
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0; opacity: 0.18;
  mix-blend-mode: multiply;
  pointer-events: none;
  filter: saturate(0.9) contrast(0.92);
  mask-image: radial-gradient(ellipse at 30% 50%, transparent 0%, transparent 30%, #000 80%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 50%, transparent 0%, transparent 30%, #000 80%);
}

/* ── Mobile nav overlay ────────────────────────── */
.nav-toggle {
  display: none;
  width: 36px; height: 36px;
  border-radius: 9999px;
  background: var(--forest);
  color: var(--cream);
  align-items: center; justify-content: center;
}
.mobile-overlay {
  position: fixed; inset: 0;
  z-index: 80;
  background: rgba(250,247,242,0.96);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  padding: 80px 32px 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s var(--ease-primary);
}
.mobile-overlay.open { opacity: 1; pointer-events: auto; }
.mobile-overlay nav { display: flex; flex-direction: column; gap: 8px; }
.mobile-overlay nav a {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.018em;
  color: var(--forest);
  padding: 14px 0;
  border-bottom: 1px solid var(--rule-soft);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s var(--ease-primary), transform .5s var(--ease-primary);
}
.mobile-overlay.open nav a { opacity: 1; transform: none; }
.mobile-overlay.open nav a:nth-child(1) { transition-delay: .08s; }
.mobile-overlay.open nav a:nth-child(2) { transition-delay: .14s; }
.mobile-overlay.open nav a:nth-child(3) { transition-delay: .20s; }
.mobile-overlay.open nav a:nth-child(4) { transition-delay: .26s; }
.mobile-close {
  position: absolute; top: 24px; right: 24px;
  width: 40px; height: 40px;
  border-radius: 9999px;
  background: var(--forest); color: var(--cream);
  display: grid; place-items: center;
}
@media (max-width: 880px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta { display: none; }
}
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  opacity: 0.55;
  will-change: transform;
}
.blob-a { width: clamp(360px, 44vw, 640px); aspect-ratio: 1; left: -12%; top: -8%; background: rgba(91,138,114,0.55); animation: driftA 18s ease-in-out infinite alternate; }
.blob-b { width: clamp(320px, 38vw, 560px); aspect-ratio: 1; right: -10%; top: 6%; background: rgba(167,215,197,0.65); animation: driftB 24s ease-in-out infinite alternate; }
.blob-c { width: clamp(300px, 36vw, 520px); aspect-ratio: 1; left: 28%; bottom: -16%; background: rgba(242,201,76,0.32); animation: driftC 28s ease-in-out infinite alternate; }
.atmos-halo {
  position: absolute;
  left: 50%;
  top: 38%;
  transform: translate(-50%,-50%);
  width: 120vmin; height: 120vmin;
  background: radial-gradient(circle, rgba(250,247,242,0.9) 0%, rgba(250,247,242,0) 60%);
  pointer-events: none;
  animation: atmosPulse 5s ease-in-out infinite alternate;
  z-index: 0;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 64px;
  align-items: center;
}
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .hero { min-height: auto; padding: 130px 0 80px; }
}

.hero-h1 {
  margin-top: 28px;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero-line {
  display: block;
  overflow: hidden;
}
.hero-char {
  display: inline-block;
  will-change: transform, opacity;
}

.hero-lead {
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.4;
  color: var(--forest);
  font-weight: 500;
  max-width: 28ch;
  margin-bottom: 18px;
  text-wrap: pretty;
}
.hero-sub {
  font-size: 17px;
  line-height: 1.55;
  color: var(--charcoal);
  max-width: 48ch;
  margin-bottom: 40px;
}

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 22px;
  border-radius: 9999px;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: transform .25s var(--ease-primary), background .35s var(--ease-primary);
}
.btn .icon-bubble {
  width: 36px; height: 36px;
  border-radius: 9999px;
  display: grid; place-items: center;
  transition: transform .35s var(--ease-primary);
}
.btn:hover .icon-bubble { transform: translate(2px,-1px) scale(1.05); }
.btn:active { transform: scale(0.98); }

.btn-sage {
  background: var(--sage);
  color: var(--cream);
}
.btn-sage .icon-bubble { background: var(--forest); color: var(--cream); }
.btn-sage:hover { background: #4f7c64; }

.btn-forest {
  background: var(--forest);
  color: var(--cream);
}
.btn-forest .icon-bubble { background: rgba(250,247,242,0.14); color: var(--cream); }

.btn-ghost {
  background: var(--cream);
  color: var(--forest);
  box-shadow: inset 0 0 0 1px var(--rule-mid);
}
.btn-ghost .icon-bubble { background: rgba(7,46,20,0.06); color: var(--forest); }
.btn-ghost:hover { background: #f3eee2; }

.stat-row {
  display: flex;
  gap: 56px;
  margin-top: 56px;
  padding-top: 28px;
  border-top: 1px solid var(--rule-mid);
  flex-wrap: wrap;
}
.stat {
  display: flex; flex-direction: column; gap: 4px;
}
.stat-num {
  font-family: 'IBM Plex Mono','SF Mono',Menlo,monospace;
  font-size: clamp(36px, 3.6vw, 44px);
  font-weight: 500;
  font-feature-settings: "tnum";
  letter-spacing: -0.01em;
  color: var(--forest);
  line-height: 1;
}
.stat-label {
  font-size: 13px;
  color: var(--charcoal);
  max-width: 18ch;
}

/* Hero preview card (right side) */
.hero-preview {
  position: relative;
  perspective: 1200px;
}
.preview-card {
  background: rgba(243,238,226,0.6);
  border-radius: 24px;
  padding: 10px;
  box-shadow: var(--shadow-float);
  border: 1px solid var(--rule-mid);
  transform-style: preserve-3d;
  will-change: transform;
}
.preview-inner {
  background: var(--cream);
  border-radius: 18px;
  padding: 22px 22px 24px;
  position: relative;
  overflow: hidden;
}
.preview-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 14px;
}
.preview-title {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; color: var(--forest);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  position: relative;
}
.live-dot::after {
  content: '';
  position: absolute; inset: -3px;
  border-radius: 50%;
  background: var(--sage); opacity: 0.3;
  animation: pulse 1.6s ease-in-out infinite;
}
.preview-time {
  font-family: 'IBM Plex Mono',monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.msg {
  display: flex;
  margin-bottom: 12px;
}
.msg-bubble {
  font-size: 14px; line-height: 1.5;
  padding: 10px 14px;
  border-radius: 14px;
  max-width: 88%;
  text-wrap: pretty;
}
.msg-user .msg-bubble {
  margin-left: auto;
  background: var(--forest);
  color: var(--cream);
  border-bottom-right-radius: 4px;
}
.msg-life .msg-bubble {
  background: rgba(91,138,114,0.13);
  color: var(--forest);
  border-bottom-left-radius: 4px;
  position: relative;
}
.ai-glyph {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'IBM Plex Mono',monospace;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 6px;
}
.ai-icon-glow {
  width: 14px; height: 14px;
  display: grid; place-items: center;
  filter: drop-shadow(0 0 8px rgba(51,255,233,0.7));
  color: #33FFE9;
}
.typing-dots {
  display: inline-flex; gap: 3px; padding: 10px 14px;
  background: rgba(91,138,114,0.13);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.typing-dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage);
  animation: dotPulse 1.6s ease-in-out infinite;
}
.typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.typing-dots span:nth-child(3) { animation-delay: 0.4s; }

/* Floating context bits around preview */
.preview-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  font-size: 11px;
  font-family: 'IBM Plex Mono',monospace;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mid-grey);
}
.preview-meta-tag {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--sage);
}
.sparkle {
  display: inline-block;
  color: var(--sunshine);
}

/* ── Reveal ────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(6px);
  transition: opacity .8s var(--ease-primary), transform .8s var(--ease-primary), filter .8s var(--ease-primary);
}
[data-reveal].in {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* ── Three Mistakes section ────────────────────────── */
.mistakes-stack {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  row-gap: 28px;
  column-gap: 24px;
  margin-top: 64px;
}
.mistake-card {
  grid-column: span 6;
  background: rgba(243,238,226,0.6);
  border: 1px solid var(--rule-mid);
  border-radius: 10px;
  padding: 8px;
}
.mistake-card.c1 { grid-column: 1 / span 6; }
.mistake-card.c2 { grid-column: 6 / span 6; transform: translateY(48px); }
.mistake-card.c3 { grid-column: 3 / span 6; }
.mistake-inner {
  background: var(--cream);
  border-radius: 6px;
  padding: 36px 36px 32px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 14px;
}
.mistake-num {
  font-family: 'IBM Plex Mono',monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
}
.mistake-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(91,138,114,0.13);
  color: var(--sage);
  margin-bottom: 4px;
}
.mistake-card h3 {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--forest);
}
.mistake-card p { color: var(--charcoal); font-size: 15.5px; line-height: 1.6; }
@media (max-width: 880px) {
  .mistake-card.c1, .mistake-card.c2, .mistake-card.c3 { grid-column: 1 / -1; transform: none; }
}

/* ── 17 Areas (Pillars / Bento) ────────────────────── */
.pillar { margin-top: 80px; }
.pillar:first-of-type { margin-top: 56px; }
.pillar-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 12px;
}
.pillar-tag {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 8px 16px 8px 12px;
  border-radius: 9999px;
  background: var(--cream);
  box-shadow: inset 0 0 0 1px var(--rule-mid);
  font-size: 14px; font-weight: 600;
  color: var(--forest);
}
.pillar-tag .dot {
  width: 10px; height: 10px; border-radius: 50%;
}
.pillar-count {
  font-family: 'IBM Plex Mono',monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.module {
  --m-strong: var(--sage);
  --m-soft: rgba(91,138,114,0.10);
  grid-column: span 4;
  background: var(--m-soft);
  border-radius: 14px;
  padding: 6px;
  position: relative;
  transition: transform .35s var(--ease-primary), box-shadow .35s var(--ease-primary);
}
.module:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); }
.module.wide { grid-column: span 6; }
.module-inner {
  background: var(--cream);
  border-radius: 10px;
  padding: 24px 24px 22px;
  display: flex; flex-direction: column; gap: 12px;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.module-dot {
  position: absolute;
  top: 22px; right: 22px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--m-strong);
  box-shadow: 0 0 0 4px var(--m-soft);
}
.module-name {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--forest);
}
.module-quote {
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--forest);
  background: rgba(91,138,114,0.10);
  border-left: 2px solid var(--m-strong);
  padding: 10px 12px;
  border-radius: 4px 8px 8px 4px;
  font-style: italic;
}
.module.wide .module-quote { font-size: 15px; padding: 14px 16px; }
.module-desc {
  font-size: 14px;
  line-height: 1.55;
  color: var(--charcoal);
  text-wrap: pretty;
}
.module-pills {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: auto;
  padding-top: 6px;
}
.pill-chip {
  font-family: 'IBM Plex Mono',monospace;
  font-size: 10.5px;
  letter-spacing: 0.04em;
  padding: 5px 10px;
  border-radius: 9999px;
  background: rgba(7,46,20,0.04);
  color: var(--charcoal);
  white-space: nowrap;
}

@media (max-width: 980px) {
  .module, .module.wide { grid-column: span 6; }
}
@media (max-width: 640px) {
  .module, .module.wide { grid-column: span 12; }
}

/* ── Marquee ───────────────────────────────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  padding: 28px 0;
  margin: 0;
  background: linear-gradient(180deg, transparent, rgba(243,238,226,0.4), transparent);
  border-top: 1px solid var(--rule-soft);
  border-bottom: 1px solid var(--rule-soft);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee-track {
  display: flex;
  width: max-content;
  gap: 56px;
  align-items: center;
  animation: marquee 50s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-row + .marquee-row { margin-top: 6px; }
.marquee-row .marquee-track { animation-duration: 64s; animation-direction: reverse; }
.marquee-item {
  display: inline-flex; align-items: center; gap: 18px;
  font-size: 26px;
  font-weight: 500;
  color: var(--forest);
  letter-spacing: -0.012em;
  white-space: nowrap;
}
.marquee-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  opacity: 0.5;
}

/* ── AI Companion ──────────────────────────────────── */
.ai-section { background: var(--soft-mint); position: relative; overflow: hidden; }
.ai-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 20%, rgba(91,138,114,0.18), transparent 50%);
  pointer-events: none;
}
.ai-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 980px) { .ai-grid { grid-template-columns: 1fr; gap: 48px; } }

.ai-cap-list {
  margin-top: 36px;
  display: flex; flex-direction: column; gap: 4px;
}
.ai-cap {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--rule-soft);
  align-items: start;
}
.ai-cap:last-child { border-bottom: none; }
.ai-cap-icon {
  width: 28px; height: 28px;
  display: grid; place-items: center;
  color: #33FFE9;
  filter: drop-shadow(0 0 10px rgba(51,255,233,0.7));
}
.ai-cap h4 {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: 15.5px;
  color: var(--forest);
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.ai-cap p {
  font-size: 13.5px;
  color: var(--charcoal);
  line-height: 1.55;
}

.dialogue-card {
  background: var(--cream);
  border-radius: 18px;
  padding: 8px;
  border: 1px solid var(--rule-mid);
  box-shadow: var(--shadow-float);
  position: sticky;
  top: 100px;
}
.dialogue-inner {
  background: #fff;
  border-radius: 12px;
  padding: 22px;
  min-height: 460px;
  display: flex; flex-direction: column;
}
.dialogue-header {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
}
.dialogue-title {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 14px; color: var(--forest);
}
.dialogue-stream { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.dialogue-stream .msg-bubble { font-size: 14.5px; }

/* ── Results ───────────────────────────────────────── */
.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 880px) { .results-grid { grid-template-columns: 1fr; } }
.story {
  background: rgba(243,238,226,0.55);
  border: 1px solid var(--rule-mid);
  border-radius: 14px;
  padding: 8px;
}
.story-inner {
  background: var(--cream);
  border-radius: 8px;
  padding: 30px 32px;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  align-items: start;
}
@media (max-width: 640px) { .story-inner { grid-template-columns: 1fr; } }

.portrait {
  width: 120px; height: 120px;
  border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
}
.portrait .sparkle-mark {
  position: absolute;
  top: -2px; right: -4px;
  color: var(--sunshine);
}
.story-name {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: var(--forest);
}
.story-role {
  font-size: 13px;
  color: var(--mid-grey);
  font-family: 'IBM Plex Mono',monospace;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.story-situation {
  font-style: italic;
  font-size: 13.5px;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.story-quote {
  font-family: 'Satoshi',sans-serif;
  font-weight: 500;
  font-size: 19px;
  line-height: 1.4;
  color: var(--forest);
  letter-spacing: -0.012em;
  margin-bottom: 14px;
  text-wrap: pretty;
}
.story-quote .num {
  font-family: 'IBM Plex Mono',monospace;
  font-feature-settings: "tnum";
  font-weight: 500;
  color: var(--forest);
}
.story-outcome {
  font-size: 14px;
  color: var(--charcoal);
  line-height: 1.6;
  margin-bottom: 14px;
}
.module-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.module-tag {
  font-family: 'IBM Plex Mono',monospace;
  font-size: 10.5px;
  padding: 4px 9px;
  border-radius: 9999px;
  letter-spacing: 0.04em;
}

/* ── Privacy ───────────────────────────────────────── */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 56px;
}
@media (max-width: 640px) { .privacy-grid { grid-template-columns: 1fr; } }
.privacy-card {
  background: rgba(243,238,226,0.55);
  border-radius: 10px;
  padding: 6px;
  border: 1px solid var(--rule-mid);
}
.privacy-inner {
  background: var(--cream);
  border-radius: 6px;
  padding: 28px 28px 26px;
  display: flex; flex-direction: column; gap: 12px;
  height: 100%;
}
.privacy-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(91,138,114,0.13);
  color: var(--sage);
}
.privacy-card h3 {
  font-family: 'Satoshi',sans-serif;
  font-weight: 700;
  font-size: 19px;
  color: var(--forest);
  letter-spacing: -0.01em;
}
.privacy-card p { color: var(--charcoal); font-size: 14.5px; line-height: 1.6; }

/* ── Final CTA ─────────────────────────────────────── */
.final {
  position: relative;
  text-align: center;
  background: var(--cream);
  overflow: hidden;
}
.final-blobs { position: absolute; inset: 0; pointer-events: none; }
.final-blobs .blob-a { left: -8%; top: 30%; opacity: 0.5; }
.final-blobs .blob-b { right: -6%; top: 10%; opacity: 0.5; }

.final-inner {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto;
}
.final-wordmark {
  font-family: 'Nunito',sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.018em;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  color: var(--forest);
  margin: 28px 0 36px;
}
.final-lead {
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.5;
  color: var(--charcoal);
  max-width: 60ch;
  margin: 0 auto 36px;
  text-wrap: pretty;
}
.final-meta {
  margin-top: 22px;
  font-family: 'IBM Plex Mono',monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

/* ── Footer ────────────────────────────────────────── */
.foot {
  background: rgba(232,229,224,0.4);
  border-top: 1px solid var(--rule-mid);
  padding: 56px 0 40px;
}
.foot-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 740px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-blurb {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--charcoal);
  max-width: 32ch;
}
.foot-col h5 {
  font-family: 'IBM Plex Mono',monospace;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 14px;
  font-weight: 500;
}
.foot-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.foot-col a { font-size: 14px; color: var(--charcoal); transition: color .25s ease; }
.foot-col a:hover { color: var(--forest); }
.foot-bottom {
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-mid);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-family: 'IBM Plex Mono',monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid-grey);
}

/* ── Keyframes ─────────────────────────────────────── */
@keyframes driftA {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(-30px, 20px) scale(1.08); }
  100% { transform: translate(40px, -25px) scale(0.94); }
}
@keyframes driftB {
  0%   { transform: translate(0,0) scale(1); }
  100% { transform: translate(-40px, -30px) scale(1.10); }
}
@keyframes driftC {
  0%   { transform: translate(0,0) scale(1); }
  50%  { transform: translate(35px, -20px) scale(1.05); }
  100% { transform: translate(-25px, 15px) scale(0.95); }
}
@keyframes atmosPulse {
  0%   { opacity: 0.65; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 1;    transform: translate(-50%,-50%) scale(1.04); }
}
@keyframes dotPulse {
  0%, 100% { opacity: 1;   transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(0.85); }
}
@keyframes pulse {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 0.05; transform: scale(1.6); }
}
@keyframes marquee {
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .blob, .atmos-halo, .marquee-track, .live-dot::after, .typing-dots span { animation: none !important; }
  [data-reveal] { opacity: 1; transform: none; filter: none; transition: none; }
}
