/* ============================================================
   Stackr — credit-building platform
   Brand system. Palette nods to Kikoff (electric violet) and
   Self (spring mint) but is its own thing: deep indigo ink,
   dominant violet, sharp mint accent, on a cool off-white.
   ============================================================ */
:root {
  /* core palette */
  --ink: #161334;          /* deep indigo near-black */
  --ink-2: #211b4d;
  --ink-soft: #5a5681;     /* muted body text */
  --bg: #f3f1fb;           /* page background, cool off-white */
  --surface: #ffffff;
  --surface-2: #faf9ff;

  --violet: #5b3df5;       /* primary brand */
  --violet-deep: #3f23d6;
  --violet-soft: #ece8ff;

  --mint: #16e0a0;         /* positive / accent */
  --mint-deep: #05b07d;
  --mint-soft: #d6fbee;

  --lemon: #ffd64a;        /* tiny energetic sticker accent */
  --coral: #ff6f5e;        /* used sparingly for alerts/stickers */

  --line: rgba(22, 19, 52, 0.10);
  --line-strong: rgba(22, 19, 52, 0.16);
  --shadow-sm: 0 2px 10px -4px rgba(22, 19, 52, 0.25);
  --shadow: 0 26px 60px -30px rgba(22, 19, 52, 0.55);
  --shadow-violet: 0 24px 50px -22px rgba(91, 61, 245, 0.5);

  --radius: 20px;
  --radius-lg: 30px;
  --maxw: 1200px;

  --display: "Bricolage Grotesque", "Hanken Grotesk", system-ui, sans-serif;
  --body: "Hanken Grotesk", system-ui, sans-serif;

  /* ---- legacy aliases so onboarding.css keeps working on-brand ---- */
  --brass: var(--violet);
  --brass-bright: var(--mint);
  --sage: var(--ink-soft);
  --sage-deep: var(--ink-soft);
  --clay: var(--coral);
  --cream: var(--surface);
  --cream-deep: var(--violet-soft);
  --paper: var(--surface-2);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

/* faint grid + grain atmosphere, fixed so it never repaints on scroll */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image:
    linear-gradient(rgba(22, 19, 52, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 19, 52, 0.035) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 70%);
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
}

.wrap {
  width: min(100% - 2.5rem, var(--maxw));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--violet-deep);
}
.eyebrow::before {
  content: "";
  width: 16px; height: 2px; border-radius: 2px;
  background: var(--mint);
}
.band--ink .eyebrow { color: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--ink);
  --fg: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg);
  color: var(--fg);
  border: 1.5px solid var(--bg);
  padding: 0.9rem 1.55rem;
  border-radius: 999px;
  font-family: var(--body);
  font-size: 0.98rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary, .btn--brass {
  --bg: var(--violet);
  --fg: #fff;
  border-color: var(--violet);
  box-shadow: var(--shadow-violet);
}
.btn--primary:hover, .btn--brass:hover { background: var(--violet-deep); border-color: var(--violet-deep); }
.btn--mint {
  --bg: var(--mint);
  --fg: var(--ink);
  border-color: var(--mint);
}
.btn--ghost {
  --bg: transparent;
  --fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--surface); box-shadow: var(--shadow-sm); }
.band--ink .btn--ghost { --fg: #fff; border-color: rgba(255,255,255,0.28); }
.band--ink .btn--ghost:hover { background: rgba(255,255,255,0.08); box-shadow: none; }
.btn--block { width: 100%; justify-content: center; }
.btn[disabled] { opacity: 0.55; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Brand mark (stacked ascending bars) ---------- */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}
.brand__mark {
  width: 34px; height: 34px;
  display: grid; place-items: center;
  background: var(--ink);
  border-radius: 10px;
  color: var(--mint);
}

/* ============================================================
   Top navigation — a clean, sticky horizontal bar: brand on the
   left, section links grouped to the right, and the primary
   action pinned at the far end. The bar floats over the page on a
   soft frosted background so it stays unobtrusive while scrolling.
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(243, 241, 251, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  height: 72px;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: auto;
}
.nav__link {
  text-decoration: none;
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}
.nav__link:hover { color: var(--ink); background: var(--surface); }
.nav__link.active { color: var(--violet-deep); background: var(--violet-soft); }
.nav__cta { padding-block: 0.66rem; }

/* On narrow screens the section links collapse; brand + CTA remain */
@media (max-width: 860px) {
  .nav__inner { gap: 1rem; }
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
}
.hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
  pointer-events: none;
}
.hero__blob--v { width: 460px; height: 460px; background: var(--violet); top: -160px; right: -80px; opacity: 0.28; }
.hero__blob--m { width: 380px; height: 380px; background: var(--mint); bottom: -180px; left: -120px; opacity: 0.26; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.pill {
  display: inline-flex; align-items: center; gap: 0.55rem;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  padding: 0.4rem 0.9rem 0.4rem 0.5rem;
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 600; color: var(--ink-soft);
}
.pill b { background: var(--mint-soft); color: var(--mint-deep); padding: 0.15rem 0.55rem; border-radius: 999px; font-size: 0.74rem; }
.hero h1 {
  font-size: clamp(2.9rem, 6.6vw, 5rem);
  letter-spacing: -0.04em;
}
.hero h1 .u {
  position: relative;
  color: var(--violet);
  white-space: nowrap;
}
.hero h1 .u::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0.06em; height: 0.28em;
  background: var(--mint);
  z-index: -1; border-radius: 4px;
  opacity: 0.85;
}
.hero p.lead {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 44ch;
  margin: 1.3rem 0 2rem;
}
.hero__cta { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero__trust {
  margin-top: 2.2rem;
  display: flex;
  gap: 1.4rem;
  flex-wrap: wrap;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-soft);
}
.hero__trust span { display: inline-flex; align-items: center; gap: 0.45rem; }
.hero__trust svg { color: var(--mint-deep); }

/* App mock: a stack of climbing month-cards + phone-ish score panel */
.appmock { position: relative; }
.phone {
  background: var(--ink);
  color: #fff;
  border-radius: 30px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.phone::before {
  content: "";
  position: absolute; top: -60px; right: -60px;
  width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(91,61,245,0.6), transparent 65%);
}
.phone__top { display: flex; justify-content: space-between; align-items: center; position: relative; }
.phone__user { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; font-size: 0.9rem; }
.phone__user i {
  width: 32px; height: 32px; border-radius: 50%;
  background: linear-gradient(135deg, var(--violet), var(--mint));
  display: inline-block;
}
.phone__tag { font-size: 0.68rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.55); }
.phone__score { margin: 1.1rem 0 0.3rem; display: flex; align-items: baseline; gap: 0.5rem; }
.phone__score b { font-family: var(--display); font-size: 3.6rem; line-height: 1; letter-spacing: -0.04em; }
.phone__delta { color: var(--mint); font-weight: 700; font-size: 0.95rem; }
.bars {
  display: flex; align-items: flex-end; gap: 7px; height: 78px; margin: 1.1rem 0 1.2rem;
}
.bars i {
  flex: 1; border-radius: 6px 6px 3px 3px;
  background: rgba(255,255,255,0.14);
}
.bars i.up { background: linear-gradient(var(--mint), var(--mint-deep)); }
.phone__rows { display: grid; gap: 0.5rem; }
.phone__row {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.84rem;
  padding: 0.6rem 0.75rem;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
}
.phone__row .ok { color: var(--mint); font-weight: 700; }

.sticker {
  position: absolute;
  background: var(--surface);
  border-radius: 16px;
  padding: 0.7rem 0.95rem;
  box-shadow: var(--shadow);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex; align-items: center; gap: 0.5rem;
  z-index: 2;
}
.sticker small { display: block; font-weight: 600; font-size: 0.7rem; color: var(--ink-soft); }
.sticker__ic { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; flex: none; }
.sticker--a { top: 8%; left: -38px; transform: rotate(-6deg); }
.sticker--a .sticker__ic { background: var(--mint-soft); color: var(--mint-deep); }
.sticker--b { bottom: 12%; right: -34px; transform: rotate(5deg); }
.sticker--b .sticker__ic { background: var(--violet-soft); color: var(--violet); }
@media (max-width: 520px) { .sticker { display: none; } }

.memcard {
  position: relative;
  margin: 1.2rem 0 1.3rem;
  padding: 1.2rem 1.25rem 1.1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(91,61,245,0.55), rgba(22,224,160,0.28));
  border: 1px solid rgba(255,255,255,0.12);
  overflow: hidden;
}
.memcard::after {
  content: "";
  position: absolute; bottom: -50px; right: -30px;
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 65%);
}
.memcard__chip { width: 42px; height: 30px; border-radius: 7px; background: linear-gradient(135deg, var(--mint), var(--mint-deep)); }
.memcard__name { margin-top: 1.6rem; font-weight: 700; font-size: 1.02rem; }
.memcard__meta { display: flex; justify-content: space-between; margin-top: 0.5rem; font-size: 0.78rem; letter-spacing: 0.04em; text-transform: uppercase; opacity: 0.8; position: relative; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--ink);
  color: #fff;
  padding-block: 0.95rem;
  overflow: hidden;
  white-space: nowrap;
  border-block: 1px solid rgba(255,255,255,0.08);
}
.marquee__track {
  display: inline-flex;
  gap: 2.4rem;
  align-items: center;
  animation: marquee 26s linear infinite;
  will-change: transform;
}
.marquee__track span { display: inline-flex; align-items: center; gap: 2.4rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; letter-spacing: -0.01em; }
.marquee__track i { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); display: inline-block; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------- Section scaffolding ---------- */
section { padding-block: clamp(3.5rem, 7vw, 6rem); position: relative; z-index: 1; }
.section-head { max-width: 56ch; margin-bottom: 2.6rem; }
.section-head h2 { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-top: 0.7rem; }
.section-head p { color: var(--ink-soft); font-size: 1.08rem; margin-top: 0.9rem; }
.band--ink { background: var(--ink); color: #fff; }
.band--ink .section-head p { color: rgba(255,255,255,0.72); }
.band--violet { background: var(--violet); color: #fff; }
.band--paper { background: var(--surface); }

/* ---------- Stats strip ---------- */
.stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.4rem;
}
.stat b {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.4rem);
  font-weight: 800;
  line-height: 1.05;
  display: block;
  letter-spacing: -0.03em;
  /* Force full cap-height lining figures — the font's default old-style digits
     render tiny and sit below the baseline next to symbols/words. */
  font-variant-numeric: lining-nums tabular-nums;
  font-feature-settings: "lnum" 1, "tnum" 1;
}
.stat b .accent { color: var(--violet); font-size: inherit; vertical-align: baseline; }
.stat span { font-size: 1rem; line-height: 1.4; color: var(--ink-soft); }
.stat:nth-child(2) b .accent { color: var(--mint-deep); }
@media (max-width: 760px) { .stats { grid-template-columns: 1fr 1fr; } }

/* ---------- How it works (stepped) ---------- */
.steps-flow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; position: relative; }
.step {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
}
.step__no {
  font-family: var(--display); font-weight: 800;
  font-size: 0.9rem;
  width: 38px; height: 38px; border-radius: 12px;
  background: var(--ink); color: var(--mint);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.step h3 { font-size: 1.32rem; margin-bottom: 0.45rem; }
.step p { margin: 0; color: var(--ink-soft); font-size: 0.96rem; }
.step__line {
  position: absolute; top: 1.8rem; left: 100%; width: 1.2rem; height: 2px;
  background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 11px);
}
.step:last-child .step__line { display: none; }
@media (max-width: 820px) { .steps-flow { grid-template-columns: 1fr; } .step__line { display: none; } }

/* ---------- Bento feature grid ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(0, auto);
  gap: 1.1rem;
}
.cell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.cell:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--line-strong); }
.cell h3 { font-size: 1.28rem; margin-bottom: 0.5rem; }
.cell p { margin: 0; color: var(--ink-soft); font-size: 0.95rem; }
.cell__ic {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--violet-soft); color: var(--violet);
  display: grid; place-items: center; margin-bottom: 1.1rem;
}
.cell--feature { grid-column: span 2; }
.cell--hero { grid-column: span 4; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.cell--hero .cell__ic { background: rgba(255,255,255,0.1); color: var(--mint); }
.cell--hero p { color: rgba(255,255,255,0.72); }
.cell--wide { grid-column: span 4; }
.cell--mint { grid-column: span 2; background: var(--mint-soft); border-color: transparent; }
.cell--mint .cell__ic { background: #fff; color: var(--mint-deep); }

/* mini score chart inside hero cell */
.minichart { display: flex; align-items: flex-end; gap: 6px; height: 64px; margin-top: 1.3rem; }
.minichart i { flex: 1; border-radius: 5px 5px 2px 2px; background: rgba(255,255,255,0.16); }
.minichart i.up { background: linear-gradient(var(--mint), var(--mint-deep)); }
/* reporting list inside wide cell */
.replist { display: grid; gap: 0.5rem; margin-top: 1.1rem; }
.replist div {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.88rem; padding: 0.55rem 0.8rem;
  background: var(--surface-2); border: 1px solid var(--line); border-radius: 11px;
}
.replist .ok { color: var(--mint-deep); font-weight: 700; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .cell--feature, .cell--hero, .cell--wide, .cell--mint { grid-column: span 1; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .cell--feature, .cell--hero, .cell--wide, .cell--mint { grid-column: span 1; }
}

/* ---------- Builder line (closed-loop) ---------- */
.builder {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.bcard {
  background: linear-gradient(150deg, #221c52, #14112f);
  color: #fff;
  border-radius: 24px;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
}
.bcard::after {
  content: ""; position: absolute; right: -50px; top: -50px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(22,224,160,0.35), transparent 65%);
}
.bcard__chip { width: 46px; height: 34px; border-radius: 8px; background: linear-gradient(135deg, var(--mint), var(--mint-deep)); margin-bottom: 2.2rem; }
.bcard__apr { font-family: var(--display); font-size: 3.6rem; line-height: 1; letter-spacing: -0.04em; }
.bcard__apr span { font-size: 1.05rem; color: var(--mint); margin-left: 0.3rem; }
.bcard__name { opacity: 0.85; margin-top: 0.4rem; font-weight: 600; }
.bcard__meta { display: flex; justify-content: space-between; margin-top: 2rem; font-size: 0.78rem; letter-spacing: 0.05em; text-transform: uppercase; opacity: 0.7; }
.checklist { list-style: none; margin: 1.4rem 0 0; padding: 0; display: grid; gap: 0.85rem; }
.checklist li { display: flex; gap: 0.7rem; align-items: flex-start; font-size: 1.02rem; }
.checklist svg { flex: none; margin-top: 3px; color: var(--mint-deep); }
.band--ink .checklist svg { color: var(--mint); }
.fineprint { font-size: 0.82rem; color: var(--ink-soft); margin-top: 1.6rem; max-width: 60ch; }
.band--ink .fineprint { color: rgba(255,255,255,0.55); }

/* ---------- Tiers ---------- */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; align-items: stretch; }
.tier {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.9rem 1.7rem;
  display: flex; flex-direction: column;
}
.tier--featured { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-12px); box-shadow: var(--shadow); }
.tier--featured .tier__price small, .tier--featured .tier__desc { color: rgba(255,255,255,0.72); }
.tier__name { font-family: var(--display); font-size: 1.5rem; font-weight: 700; }
.tier__badge { font-size: 0.66rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--violet); font-weight: 800; margin-bottom: 0.3rem; }
.tier--featured .tier__badge { color: var(--mint); }
.tier__price { font-family: var(--display); font-size: 2.7rem; margin: 0.4rem 0 0.2rem; letter-spacing: -0.03em; }
.tier__price small { font-size: 0.95rem; font-family: var(--body); font-weight: 600; color: var(--ink-soft); }
.tier__desc { color: var(--ink-soft); font-size: 0.92rem; margin-bottom: 1.2rem; }
.tier ul { list-style: none; padding: 0; margin: 0 0 1.6rem; display: grid; gap: 0.65rem; font-size: 0.93rem; }
.tier ul li { display: flex; gap: 0.55rem; align-items: flex-start; }
.tier ul li svg { flex: none; margin-top: 4px; color: var(--mint-deep); }
.tier--featured ul li svg { color: var(--mint); }
.tier .btn { margin-top: auto; }
@media (max-width: 880px) { .tiers { grid-template-columns: 1fr; } .tier--featured { transform: none; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 0.8rem; max-width: 800px; margin-inline: auto; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.4rem 1.3rem;
  transition: border-color 0.2s ease;
}
.faq details[open] { border-color: var(--violet); }
.faq summary {
  cursor: pointer; list-style: none;
  font-family: var(--display); font-weight: 600; font-size: 1.08rem;
  padding: 0.9rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-size: 1.4rem; color: var(--violet); flex: none;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { margin: 0 0 1rem; color: var(--ink-soft); font-size: 0.96rem; }

/* ---------- CTA band ---------- */
.cta-band { text-align: center; position: relative; overflow: hidden; }
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(circle at 50% 120%, rgba(22,224,160,0.25), transparent 55%);
}
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band h2 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 20ch; margin-inline: auto; }
.cta-band p { color: rgba(255,255,255,0.78); max-width: 50ch; margin: 1.2rem auto 2rem; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: rgba(255,255,255,0.75); padding-block: 3.5rem 2.5rem; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer h4 { font-size: 0.76rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mint); margin: 0 0 1rem; }
.footer a { display: block; text-decoration: none; color: rgba(255,255,255,0.72); font-size: 0.92rem; margin-bottom: 0.55rem; }
.footer a:hover { color: #fff; }
.footer .brand { color: #fff; }
.footer__disc { font-size: 0.8rem; color: rgba(255,255,255,0.5); margin-top: 2.5rem; border-top: 1px solid rgba(255,255,255,0.14); padding-top: 1.6rem; line-height: 1.7; }
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

@media (max-width: 900px) {
  .hero__grid, .builder { grid-template-columns: 1fr; }
}

/* ---------- Generic content pages (legal / founder) ---------- */
.doc { padding-block: clamp(3rem, 6vw, 5rem); }
.doc__inner { max-width: 760px; margin-inline: auto; }
.doc h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 0.6rem; }
.doc .updated { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 2.4rem; }
.doc h2 { font-size: 1.5rem; margin: 2.4rem 0 0.7rem; }
.doc p, .doc li { color: var(--ink-soft); }
.doc strong { color: var(--ink); }
.doc ul { padding-left: 1.2rem; }
.doc a:not(.btn) { color: var(--violet-deep); font-weight: 600; }
