/* ============================================================
   IP2X — Stylesheet
   Brand tokens lifted directly from Kat's brand kit.
   ============================================================ */

:root {
  --navy:        #050a30;
  --navy-deep:   #030620;
  --navy-card:   #0c1547;
  --light-blue:  #bfe4f9;
  --light-pink:  #ffd1ea;
  --white:       #ffffff;
  --text-mute:   rgba(255, 255, 255, 0.62);
  --text-quiet:  rgba(255, 255, 255, 0.42);
  --line:        rgba(191, 228, 249, 0.14);
  --line-strong: rgba(191, 228, 249, 0.32);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;
  --font-italic:  'Newsreader', Georgia, serif;
  --max:         1200px;
  --pad-x:       clamp(20px, 4vw, 56px);
  --section-y:   clamp(64px, 9vw, 128px);
  --r-md: 18px;
  --r-lg: 28px;
}

/* Reset and base */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  /* Playfair Display defaults to old-style figures, so its '2' sits at 75% of
     cap height — the IP2X wordmark looked broken. Force lining (cap-height)
     figures. Manrope and Bricolage are already lining, so nothing else moves. */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
body::before {
  content: '';
  position: fixed;
  inset: -20vh -20vw auto auto;
  width: 80vw; height: 80vh;
  background: radial-gradient(closest-side, rgba(191,228,249,0.10), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
  position: relative;
  z-index: 1;
}

/* Typography helpers */
.eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-blue);
  opacity: 0.85;
}
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
h1 { font-size: clamp(40px, 6.4vw, 76px); }
h2 { font-size: clamp(32px, 4.4vw, 54px); }
h3 { font-size: clamp(20px, 2vw, 26px); font-weight: 600; line-height: 1.25; }
.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-mute);
  max-width: 56ch;
  line-height: 1.55;
}
.accent {
  font-weight: 400;
  color: var(--light-blue);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition: transform 200ms ease, background 200ms ease, box-shadow 200ms ease;
}
.btn-primary { background: var(--light-blue); color: var(--navy); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 30px -14px rgba(191,228,249,0.55); }
.btn-ghost { background: transparent; color: var(--white); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); }
.btn .arrow { transition: transform 200ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(5,10,48,0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 200ms ease;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex; align-items: center; gap: 10px;
  /* Belt and braces: the wordmark must never fall back to old-style figures. */
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1;
}
.brand .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--light-blue);
  box-shadow: 0 0 0 4px rgba(191,228,249,0.16);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--text-mute); transition: color 150ms ease; }
.nav-links a:hover { color: var(--white); }
.nav .btn { padding: 11px 18px; font-size: 14px; }
.nav-links a.cta, .nav-links a.cta:hover { color: var(--navy); } /* navy text on the light-blue CTA for readability */
@media (max-width: 720px) {
  .nav-links a:not(.cta) { display: none; }
}

/* Hero */
.hero { padding: clamp(56px, 9vw, 110px) 0 clamp(48px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
}
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }
.hero-tag {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 28px;
}
.hero-tag .pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--light-blue);
  animation: pulse 2s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(191,228,249,0.55); }
  70%  { box-shadow: 0 0 0 12px rgba(191,228,249,0); }
  100% { box-shadow: 0 0 0 0 rgba(191,228,249,0); }
}
.hero h1 { margin-bottom: 0; }
.hero .lede { margin: 28px 0 36px; }
.hero-cta-row { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-cta-row .meta { font-size: 13px; color: var(--text-quiet); }

.phone-wrap { position: relative; display: flex; justify-content: center; align-items: center; }
.phone-wrap::before {
  content: '';
  position: absolute;
  width: 80%; height: 80%;
  background: radial-gradient(closest-side, rgba(191,228,249,0.18), transparent 70%);
  filter: blur(20px);
  z-index: 0;
}
.phone { position: relative; z-index: 1; width: min(320px, 90%); }

/* Reveal band */
.reveal {
  background: var(--light-blue);
  color: var(--navy);
  padding: clamp(56px, 9vw, 100px) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reveal::before, .reveal::after {
  content: '';
  position: absolute;
  width: 1px; height: 60%; top: 20%;
  background: rgba(5,10,48,0.18);
}
.reveal::before { left: 8%; }
.reveal::after { right: 8%; }
@media (max-width: 700px) { .reveal::before, .reveal::after { display: none; } }
.reveal .eyebrow { color: rgba(5,10,48,0.55); }
.reveal-headline {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(48px, 8vw, 100px);
  line-height: 1.0;
  margin: 18px 0 22px;
  letter-spacing: -0.025em;
}
.reveal-sub {
  font-size: clamp(16px, 1.5vw, 19px);
  color: rgba(5,10,48,0.72);
  max-width: 56ch;
  margin: 0 auto;
}

/* Generic section */
section.block { padding: var(--section-y) 0; position: relative; }
.section-head { margin-bottom: clamp(40px, 5vw, 64px); max-width: 720px; }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head .lede { margin-top: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  transition: border-color 250ms ease, transform 250ms ease;
}
.step:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.step-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 6vw, 80px);
  font-weight: 300;
  line-height: 1;
  color: var(--light-blue);
  opacity: 0.6;
  margin-bottom: 30px;
  letter-spacing: -0.04em;
}
.step:nth-child(2) .step-num { opacity: 0.8; }
.step:nth-child(3) .step-num { color: var(--light-pink); opacity: 0.9; }
.step h3 { margin-bottom: 14px; }
.step p { color: var(--text-mute); font-size: 15.5px; line-height: 1.6; }

/* How is this free */
.how-free {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy-deep);
}
.how-free-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}
@media (max-width: 880px) { .how-free-grid { grid-template-columns: 1fr; } }
.truth-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.truth-list li {
  display: flex; gap: 18px;
  padding: 22px 24px;
  background: rgba(191,228,249,0.04);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  font-size: 16.5px;
  line-height: 1.55;
}
.truth-list .num {
  flex: 0 0 auto;
  font-weight: 600;
  font-size: 13px;
  color: var(--light-blue);
  padding: 3px 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  height: max-content;
}

/* Plan grid */
.plan-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 32px); }
@media (max-width: 880px) { .plan-grid { grid-template-columns: 1fr; } }
.plan-col {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  background: rgba(191,228,249,0.025);
}
.plan-col.benefits { background: rgba(255,209,234,0.04); border-color: rgba(255,209,234,0.18); }
.plan-col h3 { margin-bottom: 8px; }
.col-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 24px;
  display: block;
}
.plan-col.benefits .col-eyebrow { color: var(--light-pink); }
.plan-list { list-style: none; }
.plan-list li {
  padding: 18px 0 18px 28px;
  border-bottom: 1px solid var(--line);
  color: rgba(255,255,255,0.85);
  font-size: 15.5px;
  line-height: 1.5;
  position: relative;
}
.plan-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 26px;
  width: 14px; height: 1px;
  background: var(--light-blue);
}
.plan-col.benefits .plan-list li::before { background: var(--light-pink); }
.plan-list li:last-child { border-bottom: 0; }

/* Proof */
.proof {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.proof-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line);
}
@media (max-width: 800px) { .proof-grid { grid-template-columns: 1fr; } }
.proof-cell {
  padding: clamp(32px, 3.5vw, 48px);
  border-right: 1px solid var(--line);
  background: var(--navy-card);
}
.proof-cell:last-child { border-right: 0; }
@media (max-width: 800px) {
  .proof-cell { border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-cell:last-child { border-bottom: 0; }
}
.proof-stat {
  font-family: var(--font-display);
  font-size: clamp(44px, 5vw, 64px);
  font-weight: 400;
  color: var(--light-blue);
  letter-spacing: -0.025em;
  line-height: 1;
  margin-bottom: 14px;
}
.proof-cell.pink .proof-stat { color: var(--light-pink); }
.proof-cell h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.proof-cell p { color: var(--text-mute); font-size: 14.5px; line-height: 1.55; }
.proof-foot {
  font-size: 12.5px;
  color: var(--text-quiet);
  margin-top: 20px;
  text-align: center;
}

/* Team */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 1000px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px)  { .team-grid { grid-template-columns: 1fr; } }
.team-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 28px;
  background: var(--navy-card);
  transition: transform 250ms ease, border-color 250ms ease;
}
.team-card:hover { transform: translateY(-3px); border-color: var(--line-strong); }
.avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--navy);
  background: var(--light-blue);
  margin-bottom: 22px;
  letter-spacing: -0.01em;
}
.team-card:nth-child(2) .avatar,
.team-card:nth-child(4) .avatar { background: var(--light-pink); }
.team-card .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.team-card .role { font-size: 13.5px; color: var(--text-mute); margin-bottom: 14px; }
.team-card .cred {
  font-size: 13px;
  color: var(--text-quiet);
  line-height: 1.5;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

/* FAQ */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  text-align: left;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 1.7vw, 21px);
  letter-spacing: -0.01em;
  color: var(--white);
}
.faq-q .toggle {
  flex: 0 0 auto;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: flex; align-items: center; justify-content: center;
  transition: transform 250ms ease, background 200ms ease, color 200ms ease;
}
.faq-item.open .toggle { transform: rotate(45deg); background: var(--light-blue); color: var(--navy); border-color: var(--light-blue); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 350ms ease, padding 250ms ease;
  color: var(--text-mute);
  font-size: 16px;
  line-height: 1.6;
  max-width: 70ch;
}
.faq-item.open .faq-a { max-height: 360px; padding: 0 0 28px; }

/* Final CTA */
.final-cta {
  background: var(--light-blue);
  color: var(--navy);
  text-align: center;
  padding: clamp(64px, 9vw, 120px) 0;
}
.final-cta h2 {
  font-weight: 400;
  color: var(--navy);
  font-size: clamp(36px, 5.5vw, 60px);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.final-cta .btn-primary { background: var(--navy); color: var(--light-blue); }
.final-cta .btn-primary:hover { box-shadow: 0 14px 30px -14px rgba(5,10,48,0.5); }
.final-cta .meta { font-size: 14px; color: rgba(5,10,48,0.6); margin-top: 18px; }

/* Footer */
footer { background: var(--navy-deep); padding: 48px 0 36px; border-top: 1px solid var(--line); }
.foot-grid { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 24px; }
.foot-links { display: flex; gap: 28px; flex-wrap: wrap; }
.foot-links a { font-size: 13.5px; color: var(--text-mute); transition: color 150ms ease; }
.foot-links a:hover { color: var(--white); }
.foot-meta { font-size: 12.5px; color: var(--text-quiet); margin-top: 28px; padding-top: 28px; border-top: 1px solid var(--line); }
.foot-social { display: flex; gap: 14px; margin-top: 28px; }
.foot-social .social-icon {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-mute);
}
.foot-social .social-icon svg { width: 17px; height: 17px; }

/* Reveal on scroll */
.reveal-on-scroll { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal-on-scroll.in { opacity: 1; transform: translateY(0); }
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.stagger.in > *:nth-child(1) { opacity: 1; transform: none; transition-delay: 0ms; }
.stagger.in > *:nth-child(2) { opacity: 1; transform: none; transition-delay: 100ms; }
.stagger.in > *:nth-child(3) { opacity: 1; transform: none; transition-delay: 200ms; }
.stagger.in > *:nth-child(4) { opacity: 1; transform: none; transition-delay: 300ms; }

/* Inner-page hero (used on /partners and /glp1) */
.inner-hero { padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 7vw, 96px); }
.inner-hero .lede { margin-top: 28px; }
.inner-hero .hero-cta-row { margin-top: 36px; }

/* Audience cards (partners page) */
.audience-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .audience-grid { grid-template-columns: 1fr; } }
.audience-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 40px);
  background: var(--navy-card);
  position: relative;
  overflow: hidden;
}
.audience-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--light-blue);
}
.audience-card:nth-child(2)::before { background: var(--light-pink); }
.audience-card:nth-child(3)::before { background: var(--light-blue); opacity: 0.6; }
.audience-card .who { font-size: 13.5px; color: var(--text-mute); margin-bottom: 14px; }
.audience-card .pitch {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  color: var(--light-blue);
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}
.audience-card:nth-child(2) .pitch { color: var(--light-pink); }
.audience-card .body { font-size: 15px; line-height: 1.6; color: rgba(255,255,255,0.85); }
.audience-card .body p + p { margin-top: 14px; }

/* ============================================================
   V1 additions — Pep & Pip avatars, dashboard cells, six-step grid,
   promise grid, audience teasers, FAQ groups.
   Composes with everything above. No overrides.
   ============================================================ */

/* Six-step "How to get started" grid */
.six-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .six-steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .six-steps { grid-template-columns: 1fr; } }
.six-steps .step .step-num { font-size: clamp(40px, 4vw, 56px); margin-bottom: 18px; }
.six-steps .step p { font-size: 14.5px; }

/* Generic three-up cell grid (used by Staying Healthy, Benefits, Why Start Now, Longevity) */
.triple { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 880px) { .triple { grid-template-columns: 1fr; } }
.triple .cell {
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 32px);
  position: relative;
}
.triple .cell::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--light-blue);
}
.triple .cell:nth-child(2)::before { background: var(--light-pink); }
.triple .cell:nth-child(3)::before { background: var(--light-blue); opacity: 0.55; }
.triple .cell h3 { font-size: 18px; font-weight: 600; margin-bottom: 12px; }
.triple .cell p { color: var(--text-mute); font-size: 14.5px; line-height: 1.55; }
.triple .cell p + p { margin-top: 10px; }

/* Two-up grid used inside "Benefits" and similar split sections */
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
@media (max-width: 720px) { .split-grid { grid-template-columns: 1fr; } }
.split-grid .col-card {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: clamp(24px, 2.6vw, 32px);
}
.split-grid .col-card.pink { border-color: rgba(255,209,234,0.22); background: rgba(255,209,234,0.04); }
.split-grid .col-card.blue { background: rgba(191,228,249,0.04); }
.split-grid .col-card .label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-blue);
  margin-bottom: 16px;
  display: block;
}
.split-grid .col-card.pink .label { color: var(--light-pink); }
.split-grid .col-card ul { list-style: none; }
.split-grid .col-card li {
  padding: 10px 0 10px 22px;
  position: relative;
  font-size: 14.5px;
  color: rgba(255,255,255,0.85);
  line-height: 1.5;
}
.split-grid .col-card li::before {
  content: '';
  position: absolute;
  left: 0; top: 18px;
  width: 12px; height: 1px;
  background: var(--light-blue);
}
.split-grid .col-card.pink li::before { background: var(--light-pink); }

/* Pull-quote band ("Many plans start strong and fade after a few weeks...") */
.pull-quote {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(24px, 3vw, 36px) clamp(28px, 4vw, 56px);
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 2.2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--white);
  background: rgba(191,228,249,0.04);
  margin-bottom: 32px;
}
.pull-quote em { font-style: normal; color: var(--light-blue); font-weight: 400; }

/* Pep, Pip & Dr Nic — Meet The Avatars */
.avatars-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .avatars-grid { grid-template-columns: 1fr; } }
.avatar-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--navy-card);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.avatar-card .figure {
  aspect-ratio: 1 / 1;
  background-color: #edf0f4; /* matches the cleaned avatar background */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center bottom;
}
.avatar-card.pep .figure { background-image: url('../img/avatars/pep-front.png'); }
.avatar-card.pip .figure { background-image: url('../img/avatars/pip-front.png'); }
.avatar-card.doc .figure {
  background: linear-gradient(180deg, var(--navy-card) 0%, var(--navy-deep) 100%);
  display: flex; align-items: center; justify-content: center;
}
.avatar-card.doc .doc-mark {
  width: 120px; height: 120px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 44px;
  letter-spacing: -0.01em;
}
.avatar-card .body { padding: clamp(24px, 2.6vw, 32px); }
.avatar-card .name {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: 4px;
}
.avatar-card.pep .name { color: var(--light-blue); }
.avatar-card.pip .name { color: var(--light-pink); }
.avatar-card.doc .name { color: var(--white); }
.avatar-card .role {
  font-size: 13px;
  color: var(--text-mute);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 18px;
}
.avatar-card .role-list { list-style: none; }
.avatar-card .role-list li {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  padding: 6px 0 6px 18px;
  position: relative;
}
.avatar-card .role-list li::before {
  content: '·';
  position: absolute;
  left: 4px; top: 6px;
  color: var(--light-blue);
  font-weight: 700;
}
.avatar-card.pip .role-list li::before { color: var(--light-pink); }

/* Shared box — comments that apply to both Pep & Pip */
.avatars-shared {
  max-width: 880px;
  margin: 20px auto 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--navy-card);
  padding: clamp(24px, 3vw, 34px);
}
.avatars-shared .eyebrow { display: block; margin-bottom: 14px; }
.avatars-shared .role-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px 32px;
}
@media (max-width: 640px) { .avatars-shared .role-list { grid-template-columns: 1fr; } }
.avatars-shared .role-list li {
  font-size: 14.5px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  padding: 6px 0 6px 18px;
  position: relative;
}
.avatars-shared .role-list li::before {
  content: '·';
  position: absolute;
  left: 4px; top: 6px;
  color: var(--light-blue);
  font-weight: 700;
}

/* Research Library (research page) */
.research-list { list-style: none; display: grid; gap: 0; max-width: 860px; }
.research-item { padding: 22px 0; border-bottom: 1px solid var(--line); }
.research-item:first-child { padding-top: 4px; }
.research-title {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 500;
  line-height: 1.3;
  color: var(--white);
  display: inline-block;
}
a.research-title { transition: color 150ms ease; }
a.research-title:hover { color: var(--light-blue); }
a.research-title::after { content: ' ↗'; font-size: 0.75em; color: var(--text-mute); }
.research-meta { font-size: 12.5px; color: var(--text-mute); letter-spacing: 0.04em; margin-top: 9px; }
.research-note { font-size: 14.5px; color: rgba(255,255,255,0.75); line-height: 1.5; margin-top: 8px; }
.research-tag {
  display: inline-block; font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-mute); border: 1px solid var(--line); border-radius: 999px;
  padding: 2px 9px; margin-left: 10px; vertical-align: middle;
}

/* Ask-your-own-question box (FAQ) */
.ask-box {
  border: 1px solid var(--line);
  border-left: 4px solid var(--light-blue);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(191,228,249,0.08), rgba(191,228,249,0.02));
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 820px) { .ask-box { grid-template-columns: 1fr; } }
.ask-box h2 { margin-top: 12px; }
.ask-box p { margin-top: 14px; color: var(--text-mute); line-height: 1.55; font-size: 14.5px; }
.ask-form { display: flex; flex-direction: column; gap: 14px; }
.ask-form textarea {
  width: 100%;
  background: rgba(0,0,0,0.25);
  border: 1px solid var(--line);
  border-radius: var(--r-md, 12px);
  color: var(--white);
  font-family: var(--font-body, inherit);
  font-size: 15px;
  line-height: 1.5;
  padding: 14px 16px;
  resize: vertical;
}
.ask-form textarea::placeholder { color: rgba(255,255,255,0.4); }
.ask-form textarea:focus { outline: none; border-color: var(--light-blue); }
.ask-form .btn { align-self: flex-start; }

/* Reporting callout — "reporting is what sets us apart" (partner pages) */
.reporting-callout {
  border: 1px solid var(--line);
  border-left: 4px solid var(--light-blue);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(191,228,249,0.08), rgba(191,228,249,0.02));
  padding: clamp(28px, 4vw, 44px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
@media (max-width: 820px) { .reporting-callout { grid-template-columns: 1fr; } }
.reporting-callout .rc-head h2 { margin-top: 12px; }
.reporting-callout .rc-head p { margin-top: 16px; color: var(--text-mute); line-height: 1.55; }
.reporting-callout .rc-points { list-style: none; display: grid; gap: 14px; }
.reporting-callout .rc-points li {
  font-size: 15px;
  line-height: 1.5;
  color: rgba(255,255,255,0.82);
  padding-left: 18px;
  position: relative;
}
.reporting-callout .rc-points li::before {
  content: '·';
  position: absolute; left: 4px; top: 0;
  color: var(--light-blue); font-weight: 700;
}
.reporting-callout .rc-points strong { color: var(--white); font-weight: 600; }

/* Performance dashboard preview */
.dashboard-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 880px) { .dashboard-grid { grid-template-columns: repeat(2, 1fr); } }
.metric-cell {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--navy-card);
  padding: 22px 22px 24px;
}
.metric-cell .label {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 14px;
}
.metric-cell .bar {
  height: 6px;
  background: rgba(191,228,249,0.12);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 10px;
}
.metric-cell .bar > span {
  display: block;
  height: 100%;
  background: var(--light-blue);
  border-radius: 4px;
}
.metric-cell.pink .bar > span { background: var(--light-pink); }
.metric-cell .pct {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
}
.metric-cell .pct small { font-weight: 400; color: var(--text-mute); font-size: 12px; letter-spacing: 0.04em; margin-left: 4px; }

/* Audience teaser grid */
.audience-teaser-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
@media (max-width: 900px) { .audience-teaser-grid { grid-template-columns: 1fr; } }
.audience-teaser {
  display: block;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--navy-card);
  padding: clamp(28px, 3vw, 36px);
  transition: border-color 250ms ease, transform 250ms ease;
  position: relative;
  overflow: hidden;
}
.audience-teaser:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.audience-teaser::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--light-blue);
}
.audience-teaser:nth-child(2)::before { background: var(--light-pink); }
.audience-teaser:nth-child(3)::before { background: var(--light-blue); opacity: 0.55; }
.audience-teaser .audience-label {
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-mute);
  font-weight: 500;
  margin-bottom: 16px;
  display: block;
}
.audience-teaser .audience-headline {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--light-blue);
  font-size: clamp(22px, 2.4vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-bottom: 14px;
}
.audience-teaser:nth-child(2) .audience-headline { color: var(--light-pink); }
.audience-teaser .audience-body { font-size: 14.5px; line-height: 1.55; color: var(--text-mute); margin-bottom: 22px; }
.audience-teaser .audience-cta {
  font-size: 13.5px;
  color: var(--light-blue);
  font-weight: 500;
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 200ms ease;
}
.audience-teaser:hover .audience-cta { gap: 12px; }

/* FAQ — grouped (six categories per SPH's deck) */
.faq-groups { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(28px, 4vw, 56px); }
@media (max-width: 880px) { .faq-groups { grid-template-columns: 1fr; } }
.faq-group h3 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--light-blue);
}
.faq-group:nth-child(even) h3 { color: var(--light-pink); }

/* Phone wrap — extra spacing on inner pages */
.phone-wrap.tight { max-width: 320px; margin: 0 auto; }

/* Best-time pull strip ("The best time to start was yesterday...") */
.best-time {
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  padding: clamp(28px, 3vw, 36px);
  text-align: center;
  margin-top: 28px;
  background: rgba(191,228,249,0.05);
}
.best-time p {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(18px, 2vw, 22px);
  letter-spacing: -0.01em;
  margin-bottom: 18px;
  color: var(--white);
}

/* Founder note (re-used from /early/ pattern, in stylesheet form for V1) */
.founder-note {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  background: var(--navy-card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(32px, 4vw, 56px);
}
@media (max-width: 720px) { .founder-note { grid-template-columns: 1fr; } }
.founder-note .portrait {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: var(--light-blue);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 48px;
  letter-spacing: -0.01em;
}
.founder-note .body { font-size: 16.5px; line-height: 1.7; color: rgba(255,255,255,0.88); }
.founder-note .body p + p { margin-top: 14px; }
.founder-note .sig {
  margin-top: 24px;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--light-blue);
  letter-spacing: -0.01em;
}
.founder-note .sig-meta { margin-top: 4px; font-size: 13px; color: var(--text-quiet); letter-spacing: 0.02em; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-on-scroll, .stagger > * { opacity: 1; transform: none; }
}

/* ── Legal pages (Privacy, Terms) ─────────────────────────── */
.draft-banner {
  max-width: 860px;
  border: 1px solid var(--light-pink);
  border-radius: var(--r-lg);
  padding: 16px 20px;
  margin-bottom: 34px;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-mute);
}
.draft-banner strong { color: var(--light-pink); }

.legal { max-width: 860px; }
.legal h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 38px 0 12px;
}
.legal h3:first-child { margin-top: 0; }
.legal p { margin-bottom: 14px; color: var(--text-mute); line-height: 1.65; }
.legal ul { margin: 0 0 14px 20px; color: var(--text-mute); line-height: 1.65; }
.legal li { margin-bottom: 8px; }
.legal a { color: var(--light-blue); }
.legal .updated { font-size: 14px; margin-bottom: 30px; }

/* ── Legal hub + document pages ───────────────────────────── */
.legal-hero { padding-bottom: 20px; }
.legal-crumb { margin-top: 22px; font-size: 14px; }
.legal-crumb a { color: var(--light-blue); text-decoration: none; }
.legal-crumb a:hover { text-decoration: underline; }

/* Clause numbering */
.legal h3 {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 44px 0 14px;
}
.legal h3 .clause-num {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--light-blue);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 3px 8px;
  flex: none;
}
.legal h4 {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  margin: 26px 0 10px;
}
.legal strong { color: var(--white); font-weight: 600; }

/* Hub cards */
.legal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 42px;
}
.legal-card {
  display: flex;
  flex-direction: column;
  padding: 26px 26px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, 0.02);
  text-decoration: none;
  color: inherit;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}
.legal-card:hover {
  border-color: var(--light-blue);
  background: rgba(191, 228, 249, 0.06);
  transform: translateY(-3px);
}
.legal-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--light-pink);
  margin-bottom: 14px;
}
.legal-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.25;
  margin-bottom: 12px;
}
.legal-card p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-mute);
  flex: 1;
  margin-bottom: 18px;
}
.legal-card-go { font-size: 14px; font-weight: 600; color: var(--light-blue); }
.legal-card:hover .arrow { transform: translateX(4px); }
.legal-card .arrow { display: inline-block; transition: transform .25s ease; }

.legal-principle {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 30px 32px;
  background: rgba(191, 228, 249, 0.04);
  max-width: 860px;
}
.legal-principle h2 { font-size: 26px; margin: 12px 0 14px; }
.legal-principle p { color: var(--text-mute); line-height: 1.65; margin: 0; }
