/* ============================================================
   STELLAR PROSPERITY — Institutional Terminal design system
   ============================================================ */
:root {
  --base:      #0B0E11;
  --surface:   #12171C;
  --surface-2: #1A2129;
  --line:      rgba(255,255,255,0.07);
  --line-2:    rgba(0,224,164,0.18);

  --accent:    #00E0A4;   /* cold institutional cyan-green */
  --accent-dim:#0a8f6a;
  --red:       #FF4D4D;
  --gold:      #C8A45C;

  --text:      #E6EAEE;
  --dim:       #8A94A0;
  --faint:     #4A535D;

  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --sans: 'Inter Tight', system-ui, sans-serif;

  --maxw: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--base);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--base); }

/* cursor-reactive grid canvas */
#grid-canvas {
  position: fixed; inset: 0; z-index: 0;
  pointer-events: none; opacity: 0.55;
}

/* ---------- shared bits ---------- */
.label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--accent); display: inline-block;
  margin-bottom: 1.1rem;
}
.label--gold { color: var(--gold); }
.grad {
  background: linear-gradient(100deg, var(--accent), #7dffd4);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  font-style: italic;
}
.gold { color: var(--gold); }
.tick { font-size: 0.7em; }
.tick--up { color: var(--accent); }
.tick--down { color: var(--red); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--sans); font-weight: 600; font-size: 0.95rem;
  padding: 0.95rem 1.9rem; background: var(--accent); color: #04140f;
  border: 1px solid var(--accent); cursor: pointer;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease;
  letter-spacing: .01em;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -10px var(--accent); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); box-shadow: none; color: var(--accent); }
.btn--sm { padding: .6rem 1.15rem; font-size: .82rem; }
.btn--lg { padding: 1.15rem 2.6rem; font-size: 1.05rem; }
.btn--full { width: 100%; }

/* ---------- NAV ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  height: 76px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.2rem, 4vw, 3rem);
  background: rgba(11,14,17,0.55); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line); transition: height .3s ease, background .3s ease;
}
.nav.scrolled { height: 62px; background: rgba(11,14,17,0.9); }
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__mark {
  display: grid; place-items: center; width: 30px; height: 30px;
  background: var(--surface-2); border: 1px solid var(--line-2);
  color: var(--accent); font-family: var(--mono); font-weight: 700; font-size: 1rem;
}
.nav__name { font-family: var(--mono); font-size: .82rem; letter-spacing: .22em; font-weight: 500; }
.nav__links { display: flex; gap: 2rem; }
.nav__links a { font-size: .88rem; color: var(--dim); transition: color .2s; position: relative; }
.nav__links a:hover { color: var(--text); }
.nav__links a::after {
  content: ''; position: absolute; left: 0; bottom: -6px; height: 1px; width: 0;
  background: var(--accent); transition: width .25s ease;
}
.nav__links a:hover::after { width: 100%; }
.nav__right { display: flex; align-items: center; gap: 1.3rem; }
.mkt { display: flex; align-items: center; gap: .45rem; font-family: var(--mono); font-size: .72rem; letter-spacing: .12em; color: var(--dim); }
.mkt__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.mkt.is-open .mkt__dot { background: var(--accent); box-shadow: 0 0 0 0 rgba(0,224,164,.6); animation: pulse 2s infinite; }
.mkt.is-open .mkt__label { color: var(--accent); }
.mkt.is-closed .mkt__dot { background: var(--red); }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(0,224,164,.5);} 70%{box-shadow:0 0 0 7px rgba(0,224,164,0);} 100%{box-shadow:0 0 0 0 rgba(0,224,164,0);} }

/* ---------- TICKER TAPE ---------- */
.tape {
  position: fixed; top: 76px; left: 0; right: 0; z-index: 40;
  height: 34px; background: var(--surface); border-bottom: 1px solid var(--line);
  overflow: hidden; display: flex; align-items: center; transition: top .3s ease;
}
.nav.scrolled + .tape { top: 62px; }
.tape__track { display: flex; white-space: nowrap; animation: scrollTape 60s linear infinite; will-change: transform; }
.tape:hover .tape__track { animation-play-state: paused; }
.tape__item { font-family: var(--mono); font-size: .78rem; padding: 0 1.4rem; color: var(--dim); display: inline-flex; gap: .55rem; align-items: center; }
.tape__sym { color: var(--text); font-weight: 500; }
.tape__up { color: var(--accent); }
.tape__down { color: var(--red); }
@keyframes scrollTape { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- HERO ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding: 160px clamp(1.2rem,4vw,3rem) 80px; overflow: hidden;
}
.hero__canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero::after { /* right-side radial glow */
  content: ''; position: absolute; top: 0; right: -10%; width: 60%; height: 100%;
  background: radial-gradient(circle at 70% 40%, rgba(0,224,164,.14), transparent 60%);
  pointer-events: none; z-index: 1;
}
.hero__inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; width: 100%; }
.hero__eyeline { font-family: var(--mono); font-size: .78rem; letter-spacing: .18em; color: var(--dim); margin-bottom: 1.6rem; }
.hero__title { font-size: clamp(3rem, 9vw, 7rem); font-weight: 300; line-height: 0.98; letter-spacing: -.02em; margin-bottom: 1.6rem; }
.hero__sub { max-width: 620px; font-size: clamp(1.02rem,1.6vw,1.25rem); color: var(--dim); margin-bottom: 2.4rem; }
.hero__cta { display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3.5rem; }
.hero__mini { display: flex; gap: 3rem; flex-wrap: wrap; }
.mini { display: flex; flex-direction: column; }
.mini__num { font-family: var(--mono); font-size: 1.8rem; font-weight: 500; color: var(--text); }
.mini__lbl { font-size: .82rem; color: var(--faint); letter-spacing: .04em; }
.hero__scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); font-family: var(--mono); font-size: .68rem; letter-spacing: .3em; color: var(--faint); z-index: 2; animation: floaty 2.4s ease-in-out infinite; }
@keyframes floaty { 0%,100%{ transform: translate(-50%,0);} 50%{ transform: translate(-50%,7px);} }

/* ---------- PROOF BAR ---------- */
.proof { position: relative; z-index: 2; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.proof__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); }
.stat { padding: 3rem 1.5rem; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: none; }
.stat__num { font-family: var(--mono); font-size: clamp(2rem,4vw,2.9rem); font-weight: 500; color: var(--accent); }
.stat__lbl { font-size: .82rem; color: var(--dim); letter-spacing: .06em; margin-top: .4rem; }

/* ---------- SECTIONS ---------- */
.section { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: clamp(5rem,10vw,8rem) clamp(1.2rem,4vw,3rem); }
.section--alt { max-width: none; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--alt > * { max-width: var(--maxw); margin-left: auto; margin-right: auto; }
.section__head { max-width: 760px; margin-bottom: 3.5rem; }
.section__head h2 { font-size: clamp(1.9rem,4.5vw,3rem); font-weight: 300; line-height: 1.08; letter-spacing: -.015em; }
.section__lede { color: var(--dim); margin-top: 1.1rem; font-size: 1.05rem; max-width: 620px; }

/* 3-card grid */
.cards3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* terminal window cards */
.tcard { background: var(--surface-2); border: 1px solid var(--line); transition: transform .25s ease, border-color .25s ease; }
.tcard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.tcard__bar { display: flex; align-items: center; gap: .4rem; padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
.tcard__bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--faint); }
.tcard__bar span:nth-child(1){ background:#ff5f57;} .tcard__bar span:nth-child(2){ background:#febc2e;} .tcard__bar span:nth-child(3){ background:#28c840;}
.tcard__bar em { margin-left: auto; font-family: var(--mono); font-size: .72rem; color: var(--faint); font-style: normal; }
.tcard__body { padding: 1.8rem; }
.tcard__body h3 { font-size: 1.35rem; font-weight: 500; margin-bottom: .7rem; }
.tcard__body p { color: var(--dim); font-size: .96rem; }

/* curriculum ladder */
.ladder { display: flex; flex-direction: column; }
.rung { display: grid; grid-template-columns: 70px 1fr auto; align-items: center; gap: 1.5rem; padding: 1.7rem 0; border-top: 1px solid var(--line); transition: padding-left .3s ease, background .3s ease; }
.rung:last-child { border-bottom: 1px solid var(--line); }
.rung:hover { padding-left: 1.2rem; background: linear-gradient(90deg, rgba(0,224,164,.05), transparent); }
.rung__idx { font-family: var(--mono); font-size: 1.4rem; color: var(--faint); }
.rung:hover .rung__idx { color: var(--accent); }
.rung__meta h3 { font-size: 1.3rem; font-weight: 500; }
.rung__meta p { color: var(--dim); font-size: .95rem; margin-top: .25rem; }
.rung__tag { font-family: var(--mono); font-size: .68rem; letter-spacing: .15em; padding: .35rem .7rem; border: 1px solid; }
.tag--up { color: var(--accent); border-color: var(--line-2); }
.tag--live { color: var(--base); background: var(--accent); border-color: var(--accent); }
.tag--gold { color: var(--gold); border-color: rgba(200,164,92,.35); }

/* feature grid */
.feat { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.feat__item { background: var(--base); padding: 2.2rem; transition: background .25s ease; }
.section--alt .feat__item { background: var(--surface); }
.feat__item:hover { background: var(--surface-2); }
.feat__k { font-family: var(--mono); font-size: .7rem; letter-spacing: .15em; color: var(--accent); border: 1px solid var(--line-2); padding: .2rem .5rem; }
.feat__item h3 { font-size: 1.25rem; font-weight: 500; margin: 1.1rem 0 .6rem; }
.feat__item p { color: var(--dim); font-size: .94rem; }

/* equity-curve testimonial cards */
.ecard { background: var(--base); border: 1px solid var(--line); padding: 1.6rem; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s; }
.section--alt .ecard { background: var(--surface-2); }
.ecard:hover { transform: translateY(-4px); border-color: var(--line-2); }
.ecard__stars { color: var(--gold); font-size: 1.05rem; letter-spacing: .25em; margin-bottom: 1.3rem; }
.ecard__quote { font-size: 1.05rem; color: var(--text); font-weight: 300; line-height: 1.55; flex: 1; }
.ecard__by { font-family: var(--mono); font-size: .78rem; color: var(--faint); margin-top: 1.3rem; }

/* MISSION */
.mission { position: relative; z-index: 2; padding: clamp(5rem,10vw,8rem) clamp(1.2rem,4vw,3rem); text-align: center; background: radial-gradient(circle at 50% 40%, rgba(200,164,92,.08), transparent 60%); }
.mission__inner { max-width: 720px; margin: 0 auto; }
.mission h2 { font-size: clamp(2rem,5vw,3.4rem); font-weight: 300; letter-spacing: -.015em; margin-bottom: 1.2rem; }
.mission p { color: var(--dim); font-size: 1.1rem; max-width: 560px; margin: 0 auto; }
.mission__stat { margin-top: 2.6rem; display: inline-flex; flex-direction: column; align-items: center; gap: .3rem; }
.mission__stat .gold { font-family: var(--mono); font-size: 3.6rem; font-weight: 700; }
.mission__stat em { font-style: normal; font-family: var(--mono); font-size: .78rem; letter-spacing: .12em; color: var(--faint); }

/* PRICING */
.pricing { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; max-width: 820px; margin: 0 auto; }
.ptier { position: relative; background: var(--surface-2); border: 1px solid var(--line); padding: 2.4rem; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s; }
.ptier:hover { transform: translateY(-5px); border-color: var(--line-2); }
.ptier--feat { border-color: var(--line-2); box-shadow: 0 0 60px -25px var(--accent); }
.ptier__flag { position: absolute; top: -1px; right: -1px; background: var(--accent); color: var(--base); font-family: var(--mono); font-size: .66rem; letter-spacing: .12em; padding: .3rem .7rem; }
.ptier__name { font-family: var(--mono); font-size: .82rem; letter-spacing: .18em; color: var(--dim); text-transform: uppercase; }
.ptier__price { display: flex; align-items: flex-start; margin: 1rem 0 1.8rem; font-family: var(--mono); }
.ptier__cur { font-size: 1.4rem; color: var(--dim); margin-top: .5rem; }
.ptier__price > span[data-count] { font-size: 3.4rem; font-weight: 700; color: var(--text); line-height: 1; }
.ptier__per { align-self: flex-end; font-size: .9rem; color: var(--dim); margin-bottom: .5rem; margin-left: .2rem; }
.ptier__list { list-style: none; flex: 1; margin-bottom: 1.8rem; }
.ptier__list li { padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--dim); font-size: .95rem; position: relative; padding-left: 1.4rem; }
.ptier__list li::before { content: '▸'; position: absolute; left: 0; color: var(--accent); }
.ptier__list li strong { color: var(--accent); }

/* FINAL CTA */
.finalcta { position: relative; z-index: 2; text-align: center; padding: clamp(6rem,12vw,9rem) 1.5rem; border-top: 1px solid var(--line); }
.finalcta h2 { font-size: clamp(2rem,5.5vw,3.6rem); font-weight: 300; letter-spacing: -.02em; max-width: 780px; margin: 0 auto 1rem; }
.finalcta p { color: var(--dim); font-size: 1.15rem; margin-bottom: 2.4rem; }

/* FOOTER */
.footer { position: relative; z-index: 2; background: var(--surface); border-top: 1px solid var(--line); padding: 3.5rem clamp(1.2rem,4vw,3rem) 2.5rem; }
.footer__top { max-width: var(--maxw); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; align-items: center; gap: .7rem; font-family: var(--mono); font-size: .82rem; letter-spacing: .2em; }
.footer__links { display: flex; gap: 1.6rem; flex-wrap: wrap; }
.footer__links a { font-size: .85rem; color: var(--dim); transition: color .2s; }
.footer__links a:hover { color: var(--accent); }
.footer__disc { max-width: var(--maxw); margin: 1.8rem auto 0; font-size: .76rem; color: var(--faint); line-height: 1.7; font-family: var(--mono); }
.footer__disc strong { color: var(--dim); }

/* ---------- HOW IT WORKS (steps) ---------- */
.steps { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; counter-reset: step; }
.step { position: relative; padding-top: 2.4rem; border-top: 1px solid var(--line); }
.step__no { font-family: var(--mono); font-size: .8rem; letter-spacing: .12em; color: var(--accent); position: absolute; top: -1px; left: 0; padding-top: .8rem; }
.step__no::before { content: ''; position: absolute; top: -1px; left: 0; width: 40px; height: 2px; background: var(--accent); }
.step h3 { font-size: 1.25rem; font-weight: 500; margin-bottom: .6rem; }
.step p { color: var(--dim); font-size: .95rem; }

/* ---------- FOUNDER / ABOUT ---------- */
.founder { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 2.5rem 4rem; align-items: start; }
.founder__head { position: sticky; top: 120px; }
.founder__head h2 { font-size: clamp(1.9rem,4.5vw,3rem); font-weight: 300; line-height: 1.08; letter-spacing: -.015em; }
.founder__lede { color: var(--text); font-size: 1.2rem; font-weight: 300; margin-bottom: 1.1rem; border-left: 2px solid var(--accent); padding-left: 1.2rem; }
.founder__text p { color: var(--dim); font-size: 1.02rem; margin-bottom: 1rem; }
.founder__sign { font-family: var(--mono); font-size: .82rem; color: var(--accent); letter-spacing: .06em; margin-top: 1.6rem; }

/* ---------- LEAD MAGNET ---------- */
.lead { position: relative; z-index: 2; background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(4rem,8vw,6rem) clamp(1.2rem,4vw,3rem); overflow: hidden; }
.lead::after { content: ''; position: absolute; top: -30%; right: -5%; width: 45%; height: 160%; background: radial-gradient(circle at 60% 50%, rgba(0,224,164,.10), transparent 60%); pointer-events: none; }
.lead__inner { position: relative; max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
.lead__title { font-size: clamp(1.7rem,3.5vw,2.5rem); font-weight: 300; letter-spacing: -.015em; line-height: 1.12; margin-bottom: 1rem; }
.lead__title strong { color: var(--accent); font-weight: 600; }
.lead__sub { color: var(--dim); font-size: 1.02rem; }
.lead__form { display: flex; gap: .8rem; flex-wrap: wrap; }
.lead__form input { flex: 1; min-width: 220px; background: var(--base); border: 1px solid var(--line); color: var(--text); font-family: var(--sans); font-size: .95rem; padding: 0.95rem 1.1rem; outline: none; transition: border-color .2s; }
.lead__form input:focus { border-color: var(--accent); }
.lead__form input::placeholder { color: var(--faint); }
.lead__note { font-family: var(--mono); font-size: .72rem; color: var(--faint); margin-top: .9rem; letter-spacing: .04em; }
.lead__ok { display: none; align-items: center; gap: .6rem; color: var(--accent); font-size: 1rem; }
.lead.done .lead__form { display: none; }
.lead.done .lead__ok { display: flex; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q { width: 100%; background: none; border: none; color: var(--text); font-family: var(--sans); font-size: 1.1rem; font-weight: 400; text-align: left; padding: 1.5rem 0; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; transition: color .2s; }
.faq__q:hover { color: var(--accent); }
.faq__ic { flex-shrink: 0; width: 20px; height: 20px; position: relative; }
.faq__ic::before, .faq__ic::after { content: ''; position: absolute; background: var(--accent); transition: transform .25s ease; }
.faq__ic::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__ic::after { top: 0; left: 9px; width: 2px; height: 20px; }
.faq__item.open .faq__ic::after { transform: scaleY(0); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq__a p { color: var(--dim); font-size: .98rem; padding: 0 0 1.5rem; max-width: 680px; }

/* ---------- LEGAL PAGES ---------- */
.legal { position: relative; z-index: 2; max-width: 820px; margin: 0 auto; padding: 150px clamp(1.2rem,4vw,3rem) 6rem; }
.legal__head { margin-bottom: 3rem; padding-bottom: 2rem; border-bottom: 1px solid var(--line); }
.legal h1 { font-size: clamp(2.2rem,5vw,3.4rem); font-weight: 300; letter-spacing: -.02em; margin-bottom: .8rem; }
.legal .updated { font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; color: var(--faint); }
.legal h2 { font-size: 1.5rem; font-weight: 500; margin: 2.6rem 0 .9rem; letter-spacing: -.01em; }
.legal h2 .legal__no { font-family: var(--mono); color: var(--accent); font-size: 1rem; margin-right: .6rem; }
.legal h3 { font-size: 1.1rem; font-weight: 500; margin: 1.6rem 0 .5rem; color: var(--text); }
.legal p, .legal li { color: var(--dim); font-size: 1rem; line-height: 1.75; }
.legal p { margin-bottom: 1rem; }
.legal ul { margin: 0 0 1.2rem 1.3rem; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--accent); }
.legal a:hover { text-decoration: underline; }
.legal strong { color: var(--text); font-weight: 500; }
.legal__note { background: var(--surface-2); border: 1px solid var(--line-2); border-left: 3px solid var(--accent); padding: 1.3rem 1.5rem; margin: 1.6rem 0; }
.legal__note p { margin: 0; color: var(--text); font-size: .95rem; }
.legal__toc { display: flex; flex-wrap: wrap; gap: .6rem; margin: 2rem 0 0; }
.legal__toc a { font-family: var(--mono); font-size: .74rem; letter-spacing: .06em; color: var(--dim); border: 1px solid var(--line); padding: .4rem .8rem; }
.legal__toc a:hover { border-color: var(--line-2); color: var(--accent); text-decoration: none; }
.legal__back { display: inline-flex; align-items: center; gap: .5rem; font-family: var(--mono); font-size: .8rem; color: var(--dim); margin-bottom: 1.5rem; }
.legal__back:hover { color: var(--accent); text-decoration: none; }
.legal__cross { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 1.4rem; }
.legal__cross a { font-size: .9rem; }

/* ---------- MOBILE MENU BURGER ---------- */
.nav__burger { display: none; flex-direction: column; justify-content: center; gap: 5px; width: 42px; height: 42px; padding: 9px; background: none; border: none; cursor: pointer; }
.nav__burger span { display: block; width: 100%; height: 2px; background: var(--text); transition: transform .3s ease, opacity .2s ease; }
.nav.nav--open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.nav--open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .founder { grid-template-columns: 1fr; gap: 1.6rem; }
  .founder__head { position: static; }
  .steps { grid-template-columns: repeat(2,1fr); gap: 2.2rem 1.5rem; }
  .lead__inner { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 900px) {
  /* turn the nav links into a dropdown panel */
  .nav__burger { display: flex; }
  .nav__links {
    position: fixed; top: 76px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(11,14,17,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--line);
    padding: .5rem clamp(1.2rem,4vw,3rem) 1.2rem;
    transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav.scrolled .nav__links { top: 62px; }
  .nav.nav--open .nav__links { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1rem; }
  .nav__links a::after { display: none; }

  .proof__grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2){ border-right: none; }
  .stat:nth-child(1),.stat:nth-child(2){ border-bottom: 1px solid var(--line); }
  .cards3 { grid-template-columns: 1fr; }
  .feat { grid-template-columns: 1fr; }
  .pricing { grid-template-columns: 1fr; }
  .hero__mini { gap: 1.6rem; }
  #mkt-status, #discord-online { display: none !important; }
}
@media (max-width: 560px) {
  .hero { padding-top: 130px; min-height: 0; padding-bottom: 4rem; }
  .hero__mini { gap: 1.2rem 1.8rem; }
  .mini__num { font-size: 1.5rem; }
  .proof__grid { grid-template-columns: 1fr; }
  .stat { border-right: none; border-bottom: 1px solid var(--line); padding: 2.2rem 1rem; }
  .steps { grid-template-columns: 1fr; gap: 1.8rem; }
  .nav__name { display: none; }
  .nav { padding: 0 1.1rem; }
  .rung { grid-template-columns: 44px 1fr; }
  .rung__tag { display: none; }
  .lead__form .btn { width: 100%; }
  .founder__lede { font-size: 1.08rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
