/* =========================================================
   MemberIntel — customer-facing site
   Bound to the MemberPress design system. No new fonts/colors.
   ========================================================= */

/* ---------- Fonts ---------- */
@font-face { font-family: "Sofia Pro"; src: url("./fonts/SofiaPro-Light.otf") format("opentype"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia Pro"; src: url("./fonts/SofiaPro-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia Pro"; src: url("./fonts/SofiaPro-RegularItalic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Sofia Pro"; src: url("./fonts/SofiaPro-Medium.otf") format("opentype"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia Pro"; src: url("./fonts/SofiaPro-SemiBold.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Sofia Pro"; src: url("./fonts/SofiaPro-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Minion Pro"; src: url("./fonts/MinionPro-Regular.otf") format("opentype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Minion Pro"; src: url("./fonts/MinionPro-Italic.otf") format("opentype"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Minion Pro"; src: url("./fonts/MinionPro-Semibold.otf") format("opentype"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Minion Pro"; src: url("./fonts/MinionPro-Bold.otf") format("opentype"); font-weight: 700; font-style: normal; font-display: swap; }

/* ---------- Tokens (MP palette) ---------- */
:root {
  /* Brand — MP */
  --mp-navy:          #06429E;
  --mp-navy-deep:     #061a35;
  --mp-navy-hover:    #02579B;
  --mp-cyan:          #0282C9;
  --mp-cyan-light:    #04A2C6;
  --mp-teal:          #20D1CC;
  --mp-teal-bright:   #05D0E0;
  --mp-teal-dark:     #03ABA3;
  --mp-teal-deep:     #01A9B2;
  --mp-orange:        #F47B0D;
  --mp-red:           #CF3200;

  --mp-cta-gradient:        linear-gradient(180deg, #CF3200 0%, #F47B0D 100%);
  --mp-cta-gradient-hover:  linear-gradient(180deg, #B52A00 0%, #DF6A00 100%);
  --mp-hero-gradient:       linear-gradient(180deg, #06429E 23%, #1588B6 100%);
  --mp-blue-gradient:       linear-gradient(180deg, #06429E 0%, #1481B3 100%);

  /* Ink */
  --ink-1: #091D2E;
  --ink-2: #223443;
  --ink-3: #3A4A58;
  --ink-4: #62696E;
  --ink-muted: #9DA5AB;

  /* Surfaces */
  --bg:           #FFFFFF;
  --bg-soft:      #F8F9FC;
  --bg-tint:      #F1F4FB;     /* slightly stronger than soft */
  --bg-2:         #F0F0F1;
  --border:       #CDD9EC;
  --border-2:     #D4E2EC;
  --border-3:     #E5EAF3;
  --hairline:     rgba(205,217,236,0.5);
  --flourish:     rgba(3, 171, 163, 0.30);
  --check-tint:   rgba(6, 66, 158, 0.10);

  /* Radii */
  --r-xs: 4px; --r-sm: 6px; --r-md: 10px; --r-lg: 16px; --r-xl: 24px; --r-pill: 100px;

  /* Shadow */
  --shadow-card:    0 2px 8px rgba(6, 66, 158, 0.06);
  --shadow-lifted:  0 24px 60px rgba(10, 37, 64, 0.08), 0 2px 8px rgba(6, 66, 158, 0.06);
  --shadow-pop:     0 30px 80px rgba(10, 37, 64, 0.12), 0 4px 12px rgba(6, 66, 158, 0.08);
  --shadow-cta:     0 8px 24px rgba(207, 50, 0, 0.28);
  --shadow-blue:    0 8px 24px rgba(6, 66, 158, 0.20);
  --ring-focus:     0 0 0 3px rgba(6, 66, 158, 0.20);

  /* Type */
  --font-sans:  "Sofia Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-serif: "Minion Pro", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --font-mono:  ui-monospace, "SFMono-Regular", Menlo, Monaco, monospace;

  /* Layout */
  --page-max: 1240px;
  --page-pad: 32px;
  --section-py: 120px;
  --section-py-tight: 88px;
}

/* Palette: warm — adds rust spark instead of teal */
[data-palette="warm"] {
  --mp-teal-dark: #B95D2C;
  --flourish: rgba(185, 93, 44, 0.30);
}
/* Palette: teal-forward — swaps primary toward teal */
[data-palette="teal"] {
  --mp-navy: #0E5C8A;
  --mp-navy-deep: #0a2f4a;
  --mp-navy-hover: #134d75;
  --mp-blue-gradient: linear-gradient(180deg, #0E5C8A 0%, #03ABA3 100%);
}

/* Dark */
[data-theme="dark"] {
  --bg: #0a1424;
  --bg-soft: #0e1a2d;
  --bg-tint: #112239;
  --bg-2: #142a44;
  --border: #1e3656;
  --border-2: #244371;
  --border-3: #1a2e4d;
  --hairline: rgba(46, 84, 138, 0.4);
  --ink-1: #f1f5fb;
  --ink-2: #cdd6e4;
  --ink-3: #a3b0c4;
  --ink-4: #7e8da3;
  --ink-muted: #5e6f8a;
  --check-tint: rgba(32, 209, 204, 0.18);
  --shadow-card: 0 2px 8px rgba(0,0,0,0.40);
  --shadow-lifted: 0 24px 60px rgba(0,0,0,0.45), 0 2px 8px rgba(0,0,0,0.30);
  --shadow-pop: 0 30px 80px rgba(0,0,0,0.55), 0 4px 12px rgba(0,0,0,0.30);
  --shadow-cta: 0 8px 24px rgba(207, 50, 0, 0.40);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink-3);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--mp-navy); text-decoration: none; }
a:hover { color: var(--mp-navy-hover); text-decoration: underline; text-underline-offset: 3px; }
button { font-family: inherit; }
::selection { background: rgba(6,66,158,0.18); color: var(--ink-1); }

/* ---------- Type ---------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  color: var(--ink-1);
  text-wrap: pretty;
  margin: 0;
}
.display {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 1.04;
  letter-spacing: -0.030em;
  color: var(--ink-1);
}
.display em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--mp-teal-dark);
}
.h1 { font-size: clamp(30px, 3.6vw, 44px); font-weight: 700; line-height: 1.18; letter-spacing: -0.012em; color: var(--ink-1); }
.h2 { font-size: clamp(26px, 2.6vw, 36px); font-weight: 700; line-height: 1.2;  letter-spacing: -0.008em; color: var(--ink-1); }
.h3 { font-size: 22px; font-weight: 600; line-height: 1.35; color: var(--ink-1); }
.h4 { font-size: 18px; font-weight: 600; line-height: 1.4;  color: var(--ink-1); }
.serif-h { font-family: var(--font-serif); font-weight: 700; letter-spacing: -0.018em; }

.lead { font-size: 19px; line-height: 1.6; color: var(--ink-3); }
.lead-lg { font-size: 21px; line-height: 1.55; color: var(--ink-3); }
.body { font-size: 17px; line-height: 1.6; color: var(--ink-3); }
.small { font-size: 14px; line-height: 1.5; color: var(--ink-4); }
.micro { font-size: 12px; line-height: 1.5; color: var(--ink-muted); letter-spacing: 0.04em; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mp-teal-dark);
}
.eyebrow::before {
  content: "";
  width: 16px; height: 1px; background: var(--mp-teal-dark);
}
.eyebrow.muted { color: var(--ink-muted); }
.eyebrow.muted::before { background: var(--ink-muted); }

.flourish {
  display: block;
  height: 8px;
  border-radius: 999px;
  background: var(--flourish);
  width: 100%;
  max-width: 240px;
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--page-max); margin: 0 auto; padding-inline: var(--page-pad); }
.section { padding-block: var(--section-py); }
.section.tight { padding-block: var(--section-py-tight); }
.section.flat { padding-block: 60px; }
.section-tinted { background: var(--bg-tint); }
.section-soft { background: var(--bg-soft); }
.section-dark {
  background: var(--mp-navy-deep);
  color: rgba(255,255,255,0.82);
}
.section-dark h1, .section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark .display em { color: var(--mp-teal-bright); }
.section-dark .lead, .section-dark .body { color: rgba(255,255,255,0.78); }
.section-dark .eyebrow { color: var(--mp-teal-bright); }
.section-dark .eyebrow::before { background: var(--mp-teal-bright); }
.section-dark .flourish { background: rgba(32, 209, 204, 0.32); }

.divider { height: 1px; background: var(--border); width: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 120ms cubic-bezier(.2,.7,.2,1), box-shadow 120ms cubic-bezier(.2,.7,.2,1), background 120ms;
  white-space: nowrap;
}
.btn-cta {
  background: var(--mp-cta-gradient);
  color: #fff;
  box-shadow: var(--shadow-cta);
}
.btn-cta:hover { background: var(--mp-cta-gradient-hover); color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn-primary {
  background: var(--mp-navy);
  color: #fff;
}
.btn-primary:hover { background: var(--mp-navy-hover); color: #fff; transform: translateY(-1px); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--ink-1);
  border-color: var(--border);
}
.btn-ghost:hover { border-color: var(--mp-navy); color: var(--mp-navy); text-decoration: none; }
.btn-light {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.18);
}
.btn-light:hover { background: rgba(255,255,255,0.14); color: #fff; text-decoration: none; }
.btn-sm { padding: 9px 14px; font-size: 13px; }
.btn-lg { padding: 18px 28px; font-size: 16px; }
.btn .arrow { transition: transform 160ms; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--hairline);
}
[data-theme="dark"] .site-header { background: rgba(10, 20, 36, 0.78); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink-1);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.brand:hover { text-decoration: none; color: var(--ink-1); }
.brand .logo {
  width: 28px; height: 28px;
  border-radius: 8px;
  background: var(--mp-blue-gradient);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.02em;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.08), 0 1px 2px rgba(6,66,158,0.20);
}
.brand .logo::after {
  content: "";
  position: absolute; right: -2px; bottom: -2px;
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--mp-teal);
  box-shadow: 0 0 0 2px var(--bg);
}
.brand .wordmark { display: inline-flex; align-items: baseline; gap: 0; }
.brand .wordmark em {
  font-style: italic;
  font-weight: 700;
  color: var(--mp-teal-dark);
}
.nav-links {
  display: flex; align-items: center; gap: 28px;
  list-style: none; padding: 0; margin: 0;
}
.nav-links a {
  color: var(--ink-2);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a:hover { color: var(--mp-navy); text-decoration: none; }
.nav-links a.active { color: var(--mp-navy); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.nav-link-quiet { color: var(--ink-2); font-size: 14px; font-weight: 500; }

@media (max-width: 880px) {
  .nav-links { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--mp-navy-deep);
  color: rgba(255,255,255,0.74);
  padding: 80px 0 40px;
  margin-top: 0;
}
.site-footer a { color: rgba(255,255,255,0.74); }
.site-footer a:hover { color: #fff; text-decoration: none; }
.foot-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.foot-col h5 {
  color: rgba(255,255,255,0.46);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  margin: 0 0 16px;
}
.foot-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.foot-col p { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.55; max-width: 28ch; margin: 12px 0 0; }
.foot-bot {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.50);
}
.foot-bot .left { display: flex; gap: 20px; flex-wrap: wrap; }
.foot-bot a { font-size: 13px; }
.foot-brand-line { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.foot-brand-line .pill {
  display: inline-flex; padding: 4px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.78);
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600;
}
@media (max-width: 880px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-bot { flex-direction: column; gap: 12px; align-items: flex-start; }
}

/* ---------- Cards / chips ---------- */
.card {
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
}
.card.elev { box-shadow: var(--shadow-lifted); }
.chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 12px; font-weight: 600;
  color: var(--ink-2);
}
.chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--mp-teal-dark); }
.chip-mono {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  background: var(--bg-tint);
  border-color: var(--border-2);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-block: 96px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    radial-gradient(700px 360px at 12% -10%, rgba(6, 66, 158, 0.08), transparent 60%),
    radial-gradient(680px 380px at 96% 10%, rgba(3, 171, 163, 0.10), transparent 60%);
}
.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 12px 6px 8px;
  border-radius: var(--r-pill);
  background: rgba(6, 66, 158, 0.06);
  border: 1px solid rgba(6, 66, 158, 0.10);
  color: var(--mp-navy);
  font-size: 12px; font-weight: 600; letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero-eyebrow .mp-mark {
  width: 18px; height: 18px; border-radius: 5px;
  background: var(--mp-blue-gradient);
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: 11px;
  box-shadow: inset 0 -1px 0 rgba(255,255,255,0.10);
}
.hero h1.display { margin: 0 0 22px; max-width: 14ch; }
.hero .lead-lg { max-width: 50ch; margin: 0 0 32px; }
.hero-cta-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-trust {
  margin-top: 28px;
  display: flex; gap: 24px; flex-wrap: wrap; align-items: center;
}
.hero-trust .item {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--ink-3);
  font-size: 13px;
}
.hero-trust .item svg { color: var(--mp-teal-dark); }

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}

/* ---------- Hero animated visual: chat + dashboard ---------- */
.product-stage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
.stage-chat, .stage-dash {
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  overflow: hidden;
}
.stage-chrome {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-3);
  background: var(--bg-soft);
}
.stage-chrome .dots { display: inline-flex; gap: 6px; }
.stage-chrome .dots span {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border);
}
.stage-chrome .label {
  margin-left: auto;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-muted); letter-spacing: 0.08em; text-transform: uppercase;
}
.stage-chat-body {
  padding: 22px 22px 24px;
  display: flex; flex-direction: column; gap: 14px;
}
.msg {
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.5;
  max-width: 88%;
}
.msg.user {
  align-self: flex-end;
  background: var(--bg-tint);
  color: var(--ink-2);
  border: 1px solid var(--border-2);
  border-bottom-right-radius: 6px;
}
.msg.bot {
  align-self: flex-start;
  background: var(--bg);
  color: var(--ink-2);
  border: 1px solid var(--border-3);
  border-bottom-left-radius: 6px;
  box-shadow: var(--shadow-card);
}
.msg.bot strong { color: var(--ink-1); font-weight: 600; }
.msg .spark {
  background: rgba(3, 171, 163, 0.12);
  color: var(--mp-teal-dark);
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 600;
  white-space: nowrap;
}
.msg .cite {
  display: inline-flex; align-items: center; gap: 4px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--mp-navy);
  background: rgba(6,66,158,0.06);
  padding: 1px 6px;
  border-radius: 4px;
  margin-left: 4px;
  letter-spacing: 0.02em;
}
.msg-tools {
  display: flex; gap: 6px; flex-wrap: wrap;
  padding-top: 10px;
  margin-top: 4px;
  border-top: 1px dashed var(--border-3);
}
.tool-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  background: var(--bg-tint);
  color: var(--ink-3);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-3);
}
.thinking {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 0;
}
.thinking .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--mp-teal);
  animation: pulse-dot 1.2s infinite ease-in-out;
}
.thinking .dot:nth-child(2) { animation-delay: 0.2s; }
.thinking .dot:nth-child(3) { animation-delay: 0.4s; }
@keyframes pulse-dot {
  0%, 80%, 100% { opacity: 0.3; transform: scale(0.85); }
  40% { opacity: 1; transform: scale(1); }
}

/* dashboard */
.stage-dash-body {
  padding: 20px 22px 22px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.kpi {
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: 10px;
  padding: 14px 14px 16px;
  position: relative;
  overflow: hidden;
}
.kpi .label {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-muted);
}
.kpi .val {
  margin-top: 6px;
  font-size: 22px; font-weight: 700;
  color: var(--ink-1);
  letter-spacing: -0.012em;
  font-variant-numeric: tabular-nums;
}
.kpi .delta {
  margin-top: 4px;
  font-size: 12px; font-weight: 600;
  font-variant-numeric: tabular-nums;
}
.kpi .delta.up { color: var(--mp-teal-dark); }
.kpi .delta.dn { color: var(--mp-red); }
.kpi .spark {
  margin-top: 10px;
  height: 22px;
  display: flex; align-items: end; gap: 3px;
}
.kpi .spark span {
  flex: 1;
  background: rgba(6, 66, 158, 0.18);
  border-radius: 2px;
  transition: height 600ms cubic-bezier(.2,.7,.2,1);
}
.kpi .spark span.hi { background: var(--mp-navy); }

/* Reveal animations driven by IntersectionObserver */
.reveal {
  opacity: 0; transform: translateY(12px);
  transition: opacity 560ms cubic-bezier(.2,.7,.2,1), transform 560ms cubic-bezier(.2,.7,.2,1);
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(12px);
  transition: opacity 480ms cubic-bezier(.2,.7,.2,1), transform 480ms cubic-bezier(.2,.7,.2,1);
}
.reveal-stagger.in > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.in > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: 0.18s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: 0.32s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: 0.46s; }
.reveal-stagger.in > *:nth-child(5) { transition-delay: 0.60s; }
.reveal-stagger.in > *:nth-child(6) { transition-delay: 0.74s; }

/* KPI animation: bars + values pop in sequence when section enters viewport */
.kpi { transform: translateY(0); }
.kpi .spark span { height: 0; }
.dash-anim.in .kpi .spark span { height: var(--h, 30%); }

/* ---------- Audience split ---------- */
.audience-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 880px) { .audience-grid { grid-template-columns: 1fr; } }
.aud-card {
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: var(--r-xl);
  padding: 36px 36px 32px;
  position: relative;
  display: flex; flex-direction: column;
  gap: 18px;
}
.aud-card .tag {
  position: absolute; top: 28px; right: 28px;
  font-family: var(--font-mono); font-size: 11px;
  color: var(--ink-muted); letter-spacing: 0.1em; text-transform: uppercase;
}
.aud-card .lede {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--ink-2);
  font-size: 22px;
  line-height: 1.35;
  max-width: 32ch;
}
.aud-card ul { padding-left: 0; list-style: none; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.aud-card li {
  display: grid; grid-template-columns: 22px 1fr; gap: 8px;
  font-size: 15px; color: var(--ink-3); line-height: 1.5;
}
.aud-card li::before {
  content: "✓";
  color: var(--mp-teal-dark);
  font-weight: 700;
  font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px;
  background: var(--check-tint);
  border-radius: 50%;
}
.aud-card .cta-row { margin-top: 10px; display: flex; gap: 10px; flex-wrap: wrap; }
.aud-card.featured {
  border-color: rgba(6,66,158,0.18);
  background:
    linear-gradient(180deg, rgba(6,66,158,0.04) 0%, rgba(6,66,158,0) 60%),
    var(--bg);
}

/* ---------- Brain diagram ---------- */
.brain-diagram {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 28px;
  align-items: stretch;
}
.brain-node {
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: var(--r-lg);
  padding: 28px;
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 12px;
}
.brain-node.center {
  background: var(--mp-navy);
  color: #fff;
  border-color: var(--mp-navy);
}
.brain-node.center h4 { color: #fff; }
.brain-node.center p, .brain-node.center li { color: rgba(255,255,255,0.78); }
.brain-node h4 { font-size: 18px; font-weight: 700; }
.brain-node ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.brain-node li {
  font-size: 14px;
  font-family: var(--font-mono);
  color: var(--ink-3);
  padding-left: 14px;
  position: relative;
}
.brain-node li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 8px; height: 1px; background: var(--mp-teal-dark);
}
.brain-node.center li::before { background: var(--mp-teal-bright); }
.brain-arrow {
  display: flex; align-items: center; justify-content: center;
  color: var(--mp-teal-dark);
  font-size: 32px;
  font-family: var(--font-serif);
  font-style: italic;
}
@media (max-width: 980px) {
  .brain-diagram { grid-template-columns: 1fr; }
  .brain-arrow { transform: rotate(90deg); padding: 8px 0; }
}

/* ---------- Pricing inline ---------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}
@media (max-width: 880px) { .price-grid { grid-template-columns: 1fr; } }
.price-card {
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: var(--r-xl);
  padding: 36px;
  display: flex; flex-direction: column; gap: 22px;
  position: relative;
}
.price-card.featured {
  border-color: rgba(6,66,158,0.30);
  box-shadow: var(--shadow-lifted);
  background:
    linear-gradient(180deg, rgba(3,171,163,0.05) 0%, rgba(3,171,163,0) 30%),
    var(--bg);
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute; top: -12px; left: 36px;
  background: var(--mp-cta-gradient);
  color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  box-shadow: var(--shadow-cta);
}
.price-card .tier { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-muted); }
.price-card .price {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 56px;
  line-height: 1;
  color: var(--ink-1);
  letter-spacing: -0.025em;
  display: flex; align-items: baseline; gap: 6px;
}
.price-card .price .per {
  font-family: var(--font-sans);
  font-size: 14px; font-weight: 500;
  color: var(--ink-muted); letter-spacing: 0; text-transform: none;
}
.price-card .desc { font-size: 16px; color: var(--ink-3); line-height: 1.5; }
.price-card ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.price-card li {
  display: grid; grid-template-columns: 22px 1fr; gap: 8px;
  font-size: 15px; color: var(--ink-2); line-height: 1.5;
}
.price-card li::before {
  content: "✓";
  color: var(--mp-teal-dark); font-weight: 700; font-size: 13px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 22px; height: 22px; background: var(--check-tint);
  border-radius: 50%;
}
.price-card li.muted { color: var(--ink-muted); }
.price-card li.muted::before { content: "—"; background: transparent; color: var(--ink-muted); }
.price-card .footnote {
  font-size: 13px; color: var(--ink-muted);
  border-top: 1px solid var(--border-3);
  padding-top: 14px; margin-top: auto;
}

/* ---------- Founder note ---------- */
.founder {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 56px;
  align-items: center;
}
.founder .portrait {
  width: 240px; height: 240px;
  border-radius: 50%;
  background:
    repeating-linear-gradient(135deg, rgba(6,66,158,0.05) 0 6px, transparent 6px 14px),
    var(--bg-tint);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ink-muted);
  text-align: center;
  padding: 20px;
}
.founder blockquote {
  margin: 0;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--ink-1);
  letter-spacing: -0.012em;
  text-wrap: pretty;
}
.founder blockquote em {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--mp-teal-dark);
}
.founder .sig { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.founder .sig .name { font-weight: 700; color: var(--ink-1); font-size: 16px; }
.founder .sig .title { font-size: 14px; color: var(--ink-muted); }
@media (max-width: 880px) { .founder { grid-template-columns: 1fr; } .founder .portrait { width: 160px; height: 160px; } }

/* ---------- Roadmap row ---------- */
.roadmap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
}
.road-col {
  padding: 24px 24px 24px 0;
  border-right: 1px solid var(--border-3);
  display: flex; flex-direction: column; gap: 10px;
}
.road-col:first-child { padding-left: 0; }
.road-col:last-child { border-right: none; padding-left: 24px; padding-right: 0; }
.road-col:nth-child(2), .road-col:nth-child(3) { padding-left: 24px; }
.road-col .when {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mp-teal-dark);
}
.road-col h5 {
  font-family: var(--font-sans);
  font-weight: 700; font-size: 18px; color: var(--ink-1);
  margin: 0;
}
.road-col p { margin: 0; font-size: 14px; color: var(--ink-3); line-height: 1.5; }
.road-col.future { opacity: 0.62; }
.road-col .badge {
  display: inline-flex; align-self: flex-start;
  padding: 3px 8px; border-radius: 100px;
  background: var(--bg-tint); border: 1px solid var(--border);
  font-size: 11px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-3);
}
.road-col .badge.now { background: var(--check-tint); color: var(--mp-navy); border-color: rgba(6,66,158,0.22); }
.road-col .badge.next { background: rgba(3,171,163,0.10); color: var(--mp-teal-dark); border-color: rgba(3,171,163,0.30); }
@media (max-width: 880px) {
  .roadmap { grid-template-columns: 1fr; }
  .road-col { border-right: none !important; border-bottom: 1px solid var(--border-3); padding: 24px 0 !important; }
  .road-col:last-child { border-bottom: none; }
}

/* ---------- Trust grid (about/trust contexts) ---------- */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (max-width: 880px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex; flex-direction: column; gap: 10px;
}
.trust-item .num {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--mp-teal-dark);
}
.trust-item h4 { font-size: 20px; font-weight: 700; color: var(--ink-1); }
.trust-item p { margin: 0; font-size: 15px; color: var(--ink-3); line-height: 1.55; }

/* ---------- Compare table ---------- */
.compare-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  font-size: 15px;
}
.compare-table thead th {
  text-align: left;
  padding: 18px 20px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 14px;
  color: var(--ink-1);
  background: var(--bg-tint);
  border-bottom: 1px solid var(--border);
}
.compare-table thead th.col-mi {
  color: var(--mp-navy);
  background: rgba(6, 66, 158, 0.06);
}
.compare-table tbody td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-3);
  vertical-align: top;
  color: var(--ink-3);
}
.compare-table tbody td:first-child { color: var(--ink-1); font-weight: 600; }
.compare-table tbody td.col-mi {
  background: rgba(6,66,158,0.03);
  color: var(--ink-2);
}
.compare-table .yes { color: var(--mp-teal-dark); font-weight: 700; }
.compare-table .no  { color: var(--ink-muted); }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--border); }
.faq details {
  border-bottom: 1px solid var(--border-3);
  padding: 20px 0;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  font-weight: 600;
  color: var(--ink-1);
  font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1;
  color: var(--mp-teal-dark);
  transition: transform 200ms;
}
.faq details[open] summary::after { content: "−"; }
.faq p { margin: 12px 0 0; color: var(--ink-3); line-height: 1.6; max-width: 70ch; }

/* ---------- Connect / Sign-in card ---------- */
.connect-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 980px) { .connect-shell { grid-template-columns: 1fr; gap: 40px; } }
.connect-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 36px;
  box-shadow: var(--shadow-lifted);
}
.connect-card h3 { font-size: 22px; margin-bottom: 6px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.field input {
  font-family: inherit; font-size: 15px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  color: var(--ink-1);
}
.field input:focus { outline: none; border-color: var(--mp-navy); box-shadow: var(--ring-focus); }
.field .help { font-size: 12px; color: var(--ink-muted); }
.steps { display: flex; flex-direction: column; gap: 16px; }
.step {
  display: grid; grid-template-columns: 32px 1fr; gap: 16px;
  padding: 16px;
  border-radius: var(--r-md);
  background: var(--bg-tint);
  border: 1px solid var(--border-3);
}
.step .n {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--mp-navy); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px;
}
.step h4 { font-size: 16px; }
.step p { margin: 4px 0 0; font-size: 14px; color: var(--ink-3); }
.divider-or {
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-muted);
  font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase;
  margin: 16px 0;
}
.divider-or::before, .divider-or::after {
  content: ""; flex: 1; height: 1px; background: var(--border);
}

/* ---------- Tweaks panel ---------- */
.tweaks-fab {
  position: fixed; right: 20px; bottom: 20px;
  z-index: 100;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--mp-navy);
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-blue);
  display: none;
}
.tweaks-fab.show { display: inline-flex; align-items: center; justify-content: center; }
.tweaks-fab:hover { background: var(--mp-navy-hover); }
.tweaks-panel {
  position: fixed; right: 20px; bottom: 20px;
  z-index: 101;
  width: 320px;
  background: var(--bg);
  color: var(--ink-1);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-pop);
  padding: 18px;
  display: none;
  font-size: 14px;
}
.tweaks-panel.show { display: block; }
.tweaks-panel h5 {
  margin: 0 0 14px;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-muted);
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel h5 button {
  background: transparent; border: none; cursor: pointer;
  color: var(--ink-muted); font-size: 16px; padding: 4px;
}
.tweak-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.tweak-row label { font-size: 12px; font-weight: 600; color: var(--ink-2); }
.tweak-segments {
  display: flex; gap: 4px;
  background: var(--bg-tint);
  border: 1px solid var(--border-3);
  border-radius: 8px;
  padding: 3px;
}
.tweak-segments button {
  flex: 1;
  padding: 7px 8px;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit; font-size: 12px; font-weight: 600;
  color: var(--ink-3);
}
.tweak-segments button.on {
  background: var(--bg);
  color: var(--mp-navy);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.tweak-toggle {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; color: var(--ink-2);
}
.tweak-toggle input { margin: 0; }

/* utility */
.center { text-align: center; }
.center-block { margin-inline: auto; }
.max-50 { max-width: 50ch; }
.max-60 { max-width: 60ch; }
.max-70 { max-width: 70ch; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mt-5 { margin-top: 24px; }
.mt-6 { margin-top: 32px; }
.mt-8 { margin-top: 48px; }
.mt-10 { margin-top: 64px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.mb-5 { margin-bottom: 24px; }
.mb-6 { margin-bottom: 32px; }
.mb-8 { margin-bottom: 48px; }
.flex { display: flex; }
.flex-col { display: flex; flex-direction: column; }
.gap-2 { gap: 8px; } .gap-3 { gap: 12px; } .gap-4 { gap: 16px; } .gap-5 { gap: 24px; } .gap-6 { gap: 32px; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* feature blocks alternating layout */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.feature-row.flip { direction: rtl; }
.feature-row.flip > * { direction: ltr; }
@media (max-width: 980px) {
  .feature-row { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip { direction: ltr; }
}
.feature-vis {
  border: 1px solid var(--border-3);
  border-radius: var(--r-lg);
  background: var(--bg);
  padding: 20px;
  box-shadow: var(--shadow-card);
  position: relative;
  min-height: 280px;
}

/* ---------- Compare grid (Why MemberIntel) ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
@media (max-width: 980px) { .compare-grid { grid-template-columns: 1fr; } }
.compare-col {
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
}
.compare-col.featured {
  border-color: rgba(3,171,163,0.35);
  box-shadow: var(--shadow-lifted);
  background:
    linear-gradient(180deg, rgba(3,171,163,0.05) 0%, transparent 60%),
    var(--bg);
}
.compare-tag {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-muted); font-weight: 700;
}
.compare-h {
  font-family: var(--font-serif); font-weight: 700;
  font-size: 24px; color: var(--ink-1); margin: 4px 0 0;
  line-height: 1.2;
}
.compare-list {
  list-style: none; padding: 0; margin: 14px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  border-top: 1px solid var(--border-3); padding-top: 16px;
}
.compare-list li {
  display: grid; grid-template-columns: 22px 1fr; gap: 10px;
  font-size: 14px; color: var(--ink-3); line-height: 1.5;
}
.compare-list li::before {
  font-weight: 700; font-size: 13px;
  width: 18px; height: 18px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
}
.compare-list li.good::before { content: "✓"; color: var(--mp-teal-dark); background: rgba(3,171,163,0.10); }
.compare-list li.ok::before   { content: "~"; color: var(--mp-orange); background: rgba(244,123,13,0.10); }
.compare-list li.bad::before  { content: "×"; color: var(--mp-red); background: rgba(207,50,0,0.10); }

/* ---------- Numbered rows (Why / Trust) ---------- */
.num-rows { display: flex; flex-direction: column; }
.num-row {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 32px;
  padding: 32px 0;
  border-top: 1px solid var(--border-3);
}
.num-row:last-child { border-bottom: 1px solid var(--border-3); }
.num-row .numeral {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 56px;
  color: var(--mp-teal-dark);
  line-height: 1;
}
@media (max-width: 880px) {
  .num-row { grid-template-columns: 1fr; gap: 12px; }
  .num-row .numeral { font-size: 36px; }
}

/* ---------- Connect (sign-up) page ---------- */
.page-connect { background: var(--bg-soft); }
.connect-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 980px) { .connect-grid { grid-template-columns: 1fr; } }

.connect-form {
  display: flex; flex-direction: column; gap: 18px;
}
.connect-form .field { display: flex; flex-direction: column; gap: 6px; }
.connect-form .field .label,
.plan-pick .label {
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-3); font-weight: 700;
}
.connect-form input[type="url"],
.connect-form input[type="email"] {
  appearance: none; -webkit-appearance: none;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-family: var(--font-sans); font-size: 16px;
  background: var(--bg);
  color: var(--ink-1);
  transition: border-color 160ms, box-shadow 160ms;
}
.connect-form input:focus {
  outline: none;
  border-color: var(--mp-navy);
  box-shadow: 0 0 0 3px rgba(6,66,158,0.12);
}
.connect-form .hint { font-size: 12px; color: var(--ink-muted); }

.plan-pick { border: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-pick legend { padding: 0; margin: 0 0 6px; }
.plan-opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  cursor: pointer;
  transition: border-color 160ms, box-shadow 160ms;
}
.plan-opt input { margin-top: 4px; accent-color: var(--mp-navy); }
.plan-opt:has(input:checked) {
  border-color: var(--mp-navy);
  box-shadow: 0 0 0 3px rgba(6,66,158,0.10);
}
.plan-opt.featured:has(input:checked) {
  border-color: var(--mp-teal-dark);
  box-shadow: 0 0 0 3px rgba(3,171,163,0.12);
}
.plan-opt .t {
  display: flex; align-items: center; gap: 10px;
  font-weight: 700; color: var(--ink-1); font-size: 16px;
}
.plan-opt .p {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em; color: var(--ink-muted); display: block; margin-top: 2px;
}
.plan-opt .d { display: block; font-size: 13px; color: var(--ink-3); margin-top: 6px; line-height: 1.5; }
.badge-inline {
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.08em; text-transform: uppercase;
  background: rgba(3,171,163,0.12); color: var(--mp-teal-dark);
  padding: 3px 8px; border-radius: 999px; font-weight: 700;
}

.connect-side { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 96px; }
.reads {
  list-style: none; padding: 0; margin: 16px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: var(--ink-3);
}
.reads li {
  display: grid; grid-template-columns: 18px 1fr; gap: 10px;
  line-height: 1.5;
}
.reads li::before { content: "✓"; color: var(--mp-teal-dark); font-weight: 700; }
.reads.neg li::before { content: "—"; color: var(--ink-muted); }

.connect-status {
  display: none;
  padding: 18px 20px;
  background: var(--bg);
  border: 1px solid var(--border-3);
  border-radius: var(--r-md);
  flex-direction: column; gap: 10px;
}
.connect-status.on { display: flex; }
.connect-status .step {
  display: grid; grid-template-columns: 14px 1fr; gap: 10px; align-items: center;
  font-size: 13px; color: var(--ink-3); font-family: var(--font-mono);
}
.connect-status .step .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--border-2);
}
.connect-status .step.done .dot { background: var(--mp-teal-dark); }
.connect-status .step.run .dot {
  background: var(--mp-navy);
  box-shadow: 0 0 0 0 rgba(6,66,158,0.45);
  animation: pulseDot 1.4s infinite;
}
.connect-status .step.pending { color: var(--ink-muted); }
@keyframes pulseDot {
  0%   { box-shadow: 0 0 0 0 rgba(6,66,158,0.45); }
  70%  { box-shadow: 0 0 0 10px rgba(6,66,158,0); }
  100% { box-shadow: 0 0 0 0 rgba(6,66,158,0); }
}

/* anchor: avoid sticky header overlap */
:target { scroll-margin-top: 96px; }
