/* ==========================================================================
   InvestInJa — site stylesheet
   Tokens, base, components, page sections, motion, responsive.
   ========================================================================== */

:root {
  --bg:            #0B0F0E;
  --bg-elev:       #111716;
  --bg-elev-2:     #161E1C;
  --line:          rgba(255, 255, 255, 0.08);
  --line-strong:   rgba(255, 255, 255, 0.14);
  --text:          #F4F3EE;
  --text-2:        rgba(244, 243, 238, 0.68);
  --text-3:        rgba(244, 243, 238, 0.44);
  --gold:          #F2C14E;
  --gold-deep:     #D9A63A;
  --green:         #1E9E5A;
  --green-soft:    rgba(30, 158, 90, 0.18);
  --danger:        #FF7A6E;

  --font-sans:  "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif: "Instrument Serif", "New York", Georgia, "Times New Roman", serif;

  --container: 1160px;
  --gutter: clamp(20px, 5vw, 48px);
  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-pill: 999px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 700ms;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-sans); font-size: 17px; line-height: 1.55;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility; overflow-x: hidden;
}
body.nav-open { overflow: hidden; }
h1, h2, h3, h4, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: #0B0F0E; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.serif { font-family: var(--font-serif); font-weight: 400; font-style: italic; letter-spacing: -0.01em; }

.skip-link { position: absolute; left: 16px; top: -60px; padding: 10px 14px; background: var(--gold); color: #0B0F0E; border-radius: var(--r-sm); font-weight: 600; z-index: 100; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 6px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px;
  border-radius: var(--r-pill); border: 1px solid var(--line-strong);
  background: rgba(255,255,255,0.04); font-weight: 500; font-size: 15px; line-height: 1;
  white-space: nowrap; cursor: pointer;
  transition: background .25s var(--ease-out), border-color .25s var(--ease-out), transform .25s var(--ease-out), box-shadow .25s var(--ease-out);
}
.btn:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.22); }
.btn:active { transform: scale(0.98); }
.btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.btn--small { padding: 9px 16px; font-size: 14px; }
.btn--large { padding: 16px 26px; font-size: 16px; }
.btn--primary { background: var(--gold); border-color: var(--gold); color: #0B0F0E; font-weight: 600; box-shadow: 0 8px 24px -8px rgba(242,193,78,0.5); }
.btn--primary:hover { background: #F7CB63; border-color: #F7CB63; box-shadow: 0 12px 32px -8px rgba(242,193,78,0.65); }
.btn__arrow { transition: transform .3s var(--ease-out); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50; padding-block: 14px;
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease-out), border-color .35s var(--ease-out);
}
.nav.is-scrolled, .nav.is-open {
  background: rgba(11,15,14,0.78);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  border-bottom-color: var(--line);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav__links { display: flex; align-items: center; gap: 26px; font-size: 14.5px; color: var(--text-2); }
.nav__links a { transition: color .2s; padding: 6px 0; position: relative; }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a.is-active:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--gold); border-radius: 2px; }
.nav__cta { margin-left: 8px; color: var(--text); }
.nav__toggle { display: none; }

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__mark { color: var(--gold); }
.brand__name { font-weight: 700; font-size: 19px; letter-spacing: -0.02em; }
.brand__name em { font-style: normal; color: var(--gold); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; padding: clamp(120px, 18vh, 180px) 0 clamp(64px, 10vh, 100px); overflow: hidden; isolation: isolate; }
.hero__glow {
  position: absolute; z-index: -1; width: 1100px; height: 1100px; left: 50%; top: -30%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(242,193,78,0.16), transparent 70%), radial-gradient(closest-side at 40% 60%, rgba(30,158,90,0.18), transparent 70%);
  pointer-events: none; animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift { from { transform: translateX(-52%) translateY(0); } to { transform: translateX(-48%) translateY(40px); } }
.hero__grid {
  position: absolute; inset: 0; z-index: -1;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 72px 72px; opacity: .6; pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
}
.hero__inner { text-align: center; max-width: 860px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); background: rgba(255,255,255,0.03); font-size: 13px; font-weight: 500; color: var(--text-2); margin-bottom: 28px; }
.eyebrow__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(30,158,90,0.55); } 70% { box-shadow: 0 0 0 9px rgba(30,158,90,0); } 100% { box-shadow: 0 0 0 0 rgba(30,158,90,0); } }
.hero__title { font-size: clamp(40px, 6.6vw, 78px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 24px; }
.hero__title .serif { font-size: 1.06em; color: var(--gold); }
.hero__lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 640px; margin: 0 auto 40px; line-height: 1.6; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; padding: clamp(130px, 20vh, 190px) 0 clamp(40px, 6vh, 64px); overflow: hidden; isolation: isolate; }
.page-hero .hero__glow { top: -60%; opacity: .8; }
.page-hero__inner { max-width: 820px; }
.page-hero__title { font-size: clamp(38px, 5.8vw, 68px); line-height: 1.04; font-weight: 600; letter-spacing: -0.035em; margin-bottom: 22px; }
.page-hero__title .serif { font-size: 1.06em; color: var(--gold); }
.page-hero__lead { font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 640px; line-height: 1.6; }

/* ---------- Signup form ---------- */
.signup { max-width: 720px; margin: 0 auto; text-align: left; }
.signup__hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.signup__fields {
  display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 8px; padding: 8px; border-radius: 20px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--line-strong);
  box-shadow: 0 20px 60px -30px rgba(0,0,0,0.8), inset 0 1px 0 rgba(255,255,255,0.06);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.field { position: relative; }
.field__label { position: absolute; left: 16px; top: 9px; font-size: 11px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); pointer-events: none; transition: color .2s; }
.field__input { width: 100%; padding: 26px 16px 10px; border-radius: 13px; border: 1px solid transparent; background: rgba(11,15,14,0.6); color: var(--text); font-size: 16px; transition: border-color .2s, background .2s, box-shadow .2s; }
.field__input::placeholder { color: rgba(244,243,238,0.28); }
.field__input:hover { background: rgba(11,15,14,0.8); }
.field__input:focus { outline: none; border-color: rgba(242,193,78,0.6); background: rgba(11,15,14,0.9); box-shadow: 0 0 0 4px rgba(242,193,78,0.12); }
.field:focus-within .field__label { color: var(--gold); }
.field.is-invalid .field__input { border-color: rgba(255,122,110,0.7); }
.field.is-invalid .field__label { color: var(--danger); }
.signup__submit { padding: 0 22px; border-radius: 13px; height: 100%; justify-content: center; }
.signup__error { margin-top: 12px; font-size: 14px; color: var(--danger); }
.signup__note { margin-top: 14px; font-size: 13.5px; color: var(--text-3); text-align: center; }
.signup__success { max-width: 560px; margin: 0 auto; display: flex; align-items: flex-start; gap: 16px; padding: 20px 24px; border-radius: var(--r-md); background: var(--green-soft); border: 1px solid rgba(30,158,90,0.4); text-align: left; animation: rise .6s var(--ease-out); }
.signup__success-icon { flex: 0 0 auto; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; background: var(--green); color: #fff; }
.signup__success-title { font-weight: 600; font-size: 17px; }
.signup__success-text { color: var(--text-2); font-size: 15px; margin-top: 2px; }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.hero__proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin-top: 56px; font-size: 13px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-3); }
.hero__proof li { position: relative; }
.hero__proof li + li::before { content: ""; position: absolute; left: -16px; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); transform: translateY(-50%); }

/* ---------- Sections ---------- */
.section { padding: clamp(80px, 12vh, 140px) 0; }
.section--alt { background: linear-gradient(180deg, var(--bg-elev) 0%, var(--bg) 100%); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section__head { max-width: 700px; margin-bottom: clamp(40px, 6vh, 64px); }
.section__head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; }
.section__label { font-size: 13px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.section__title { font-size: clamp(32px, 4.8vw, 54px); line-height: 1.05; letter-spacing: -0.03em; font-weight: 600; }
.section__title .serif { color: var(--text-2); font-size: 1.04em; }
.section__lead { margin-top: 22px; font-size: clamp(16px, 1.8vw, 18.5px); color: var(--text-2); line-height: 1.6; }

/* ---------- Pillars (two ways in) ---------- */
.pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.pillar { position: relative; padding: 36px; border-radius: 28px; background: var(--bg-elev); border: 1px solid var(--line); overflow: hidden; }
.pillar::before { content: ""; position: absolute; inset: 0; background: radial-gradient(600px 300px at 0% 0%, rgba(242,193,78,0.10), transparent 60%); pointer-events: none; }
.pillar--alt::before { background: radial-gradient(600px 300px at 100% 0%, rgba(30,158,90,0.16), transparent 60%); }
.pillar__head { position: relative; padding-bottom: 28px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.pillar__kicker { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.pillar--alt .pillar__kicker { color: #4ccb87; }
.pillar__title { font-size: clamp(26px, 3vw, 34px); letter-spacing: -0.025em; font-weight: 600; margin-bottom: 12px; }
.pillar__text { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.arena-list { position: relative; }
.arena { padding: 18px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 200px 1fr; gap: 16px; align-items: baseline; }
.arena:last-child { border-bottom: none; padding-bottom: 4px; }
.arena__name { font-size: 16px; font-weight: 600; letter-spacing: -0.01em; }
.arena__text { color: var(--text-2); font-size: 15px; line-height: 1.55; }

/* ---------- Anatomy ---------- */
.anatomy { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.anatomy__copy { position: sticky; top: 120px; }
.anatomy__list { border-top: 1px solid var(--line); }
.anatomy__item { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.anatomy__num { font-family: var(--font-serif); font-style: italic; font-size: 40px; line-height: 1; color: var(--gold); }
.anatomy__item h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 6px; }
.anatomy__item p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

/* ---------- People teaser (home) ---------- */
.people { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.person, .profile { position: relative; overflow: hidden; }
.person::before, .profile::before { content: ""; position: absolute; inset: 0; background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(242,193,78,0.10), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.person:hover::before, .profile:hover::before { opacity: 1; }
.person { display: block; padding: 28px; border-radius: var(--r-lg); background: var(--bg-elev); border: 1px solid var(--line); transition: transform .5s var(--ease-out), border-color .4s var(--ease-out), background .4s var(--ease-out); }
.person:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--bg-elev-2); }
.person__initials, .profile__initials {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(242,193,78,0.22), rgba(30,158,90,0.18)); border: 1px solid var(--line-strong);
  font-family: var(--font-serif); font-style: italic; font-size: 24px; color: var(--gold); margin-bottom: 22px;
}
.person__type, .profile__type { display: inline-block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.person__name { font-size: 21px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 6px; }
.person__built { color: var(--text-2); font-size: 15px; margin-bottom: 18px; }
.person__lesson { padding-top: 16px; border-top: 1px solid var(--line); font-family: var(--font-serif); font-style: italic; font-size: 19px; line-height: 1.35; color: var(--text); }

/* ---------- Profiles page ---------- */
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 clamp(36px, 5vh, 56px); }
.chip { padding: 9px 16px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: rgba(255,255,255,0.03); font-size: 14px; font-weight: 500; color: var(--text-2); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip:hover { color: var(--text); background: rgba(255,255,255,0.07); }
.chip.is-active { background: var(--gold); border-color: var(--gold); color: #0B0F0E; font-weight: 600; }
.profiles { display: grid; gap: 20px; }
.profile { display: grid; grid-template-columns: 300px 1fr; gap: clamp(28px, 4vw, 56px); padding: clamp(28px, 4vw, 44px); border-radius: 28px; background: var(--bg-elev); border: 1px solid var(--line); scroll-margin-top: 100px; transition: border-color .4s var(--ease-out); }
.profile:hover { border-color: var(--line-strong); }
.profile__side { position: relative; }
.profile__name { font-size: clamp(24px, 2.6vw, 30px); font-weight: 600; letter-spacing: -0.025em; line-height: 1.1; margin-bottom: 8px; }
.profile__role { color: var(--text-2); font-size: 15.5px; line-height: 1.5; margin-bottom: 20px; }
.profile__facts { border-top: 1px solid var(--line); }
.profile__fact { display: grid; grid-template-columns: 84px 1fr; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.profile__fact dt { color: var(--text-3); font-weight: 500; }
.profile__fact dd { margin: 0; color: var(--text); }
.profile__body { position: relative; display: grid; gap: 26px; }
.profile__block h3 { font-size: 12.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.profile__block p { color: var(--text-2); font-size: 16px; line-height: 1.6; }
.profile__block ul { display: grid; gap: 10px; }
.profile__block li { position: relative; padding-left: 22px; color: var(--text-2); font-size: 16px; line-height: 1.55; }
.profile__block li::before { content: ""; position: absolute; left: 0; top: 11px; width: 10px; height: 2px; background: var(--gold); border-radius: 2px; }
.profile__borrow { padding: 20px 24px; border-radius: var(--r-md); background: rgba(242,193,78,0.07); border: 1px solid rgba(242,193,78,0.22); }
.profile__borrow h3 { color: var(--gold); }
.profile__borrow p { font-family: var(--font-serif); font-style: italic; font-size: 21px; line-height: 1.35; color: var(--text); }
.profiles__note { margin-top: clamp(32px, 5vh, 48px); color: var(--text-3); font-size: 14px; line-height: 1.6; max-width: 760px; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.step { padding: 40px 32px 40px 0; border-right: 1px solid var(--line); }
.step + .step { padding-left: 32px; }
.step:last-child { border-right: none; padding-right: 0; }
.step__num { display: block; font-family: var(--font-serif); font-style: italic; font-size: 48px; line-height: 1; color: var(--gold); margin-bottom: 28px; }
.step__title { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 12px; }
.step__text { color: var(--text-2); font-size: 15.5px; line-height: 1.6; }

/* ---------- Why ---------- */
.why { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why__copy { position: sticky; top: 120px; }
.why__list { border-top: 1px solid var(--line); }
.why__item { padding: 28px 0; border-bottom: 1px solid var(--line); display: grid; grid-template-columns: 180px 1fr; gap: 20px; align-items: baseline; }
.why__item h3 { font-size: 17px; font-weight: 600; letter-spacing: -0.01em; }
.why__item p { color: var(--text-2); font-size: 15.5px; line-height: 1.55; }

/* ---------- CTA ---------- */
.cta { padding: clamp(80px, 14vh, 160px) 0; }
.cta__inner {
  position: relative; text-align: center; padding: clamp(56px, 8vw, 96px) var(--gutter); border-radius: 32px; overflow: hidden;
  background: radial-gradient(800px 400px at 50% 120%, rgba(242,193,78,0.22), transparent 60%), radial-gradient(600px 300px at 10% -20%, rgba(30,158,90,0.22), transparent 60%), var(--bg-elev);
  border: 1px solid var(--line-strong);
}
.cta__title { font-size: clamp(34px, 5.5vw, 60px); letter-spacing: -0.03em; line-height: 1.05; font-weight: 600; margin-bottom: 18px; }
.cta__text { color: var(--text-2); font-size: clamp(16px, 1.8vw, 19px); max-width: 520px; margin: 0 auto 36px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 56px 0 40px; }
.footer__inner { display: grid; gap: 28px; }
.footer__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 32px; flex-wrap: wrap; }
.footer__brand .brand__name { font-size: 20px; }
.footer__tag { color: var(--text-3); font-size: 14px; margin-top: 6px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 14.5px; color: var(--text-2); }
.footer__links a:hover { color: var(--text); }
.footer__legal { color: var(--text-3); font-size: 13px; line-height: 1.6; max-width: 760px; }
.footer__copy { color: var(--text-3); font-size: 13px; }

.section--flush { padding-top: 0; }
.link-gold { color: var(--gold); }

/* ---------- 404 ---------- */
.notfound { min-height: 70svh; display: grid; place-items: center; text-align: center; padding: 160px 0 80px; }
.notfound__code { font-family: var(--font-serif); font-style: italic; font-size: clamp(80px, 14vw, 160px); line-height: 1; color: var(--gold); }
.notfound h1 { font-size: clamp(26px, 3.6vw, 40px); letter-spacing: -0.03em; margin: 10px 0 14px; }
.notfound p { color: var(--text-2); margin-bottom: 28px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); transition-delay: var(--d, 0ms); }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__glow, .eyebrow__dot { animation: none; }
  * { transition-duration: 0.01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pillars { grid-template-columns: 1fr; }
  .people { grid-template-columns: 1fr 1fr; }
  .profile { grid-template-columns: 1fr; gap: 28px; }
  .why, .anatomy { grid-template-columns: 1fr; }
  .why__copy, .anatomy__copy { position: static; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav__toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
    width: 44px; height: 44px; padding: 0 11px; border-radius: 12px; border: 1px solid var(--line-strong); background: rgba(255,255,255,0.04); cursor: pointer;
  }
  .nav__toggle span { display: block; height: 2px; width: 100%; background: var(--text); border-radius: 2px; transition: transform .3s var(--ease-out), opacity .2s; }
  .nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
  .nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  /* When open, the fixed header grows to cover the viewport and the menu sits
     inside it. (A fixed child would be trapped by the header's backdrop-filter.) */
  .nav.is-open { bottom: 0; }
  .nav__links {
    display: none; position: absolute; top: 72px; left: 0; right: 0; bottom: 0; overflow-y: auto;
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 20px var(--gutter) 40px; background: rgba(11,15,14,0.97); font-size: 22px; color: var(--text);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 12px 0; width: 100%; border-bottom: 1px solid var(--line); }
  .nav__links a.is-active:not(.btn)::after { display: none; }
  .nav__links a.is-active:not(.btn) { color: var(--gold); }
  .nav__cta { margin: 20px 0 0; width: auto; font-size: 16px; border-bottom: none !important; }
  .signup__fields { grid-template-columns: 1fr; }
  .signup__submit { height: 54px; }
  .hero { min-height: auto; }
  .hero__proof { gap: 8px 24px; }
  .hero__proof li + li::before { display: none; }
  .section__head--row { flex-direction: column; align-items: flex-start; }
  .pillar { padding: 26px 22px; border-radius: 22px; }
  .arena { grid-template-columns: 1fr; gap: 4px; }
  .people { grid-template-columns: 1fr; }
  .profile { padding: 24px 20px; border-radius: 22px; }
  .steps { grid-template-columns: 1fr; }
  .step { padding: 32px 0; border-right: none; border-bottom: 1px solid var(--line); }
  .step + .step { padding-left: 0; }
  .step:last-child { border-bottom: none; }
  .why__item { grid-template-columns: 1fr; gap: 6px; }
  .cta__inner { border-radius: 24px; }
}
