/* MidenDelta — monochrome.
   Black, white and graphite only. Long vs. short is carried by filled vs. hollow marks, never by hue.
   One family (Geist); Geist Mono is reserved for on-chain data: prices, deltas, formulas. */
:root {
  --black: #000000;
  --white: #ffffff;
  --g-950: #0c0c0c;
  --g-900: #141414;
  --g-800: #1f1f1f;
  --g-600: #4a4a4a;
  --g-400: #8c8c8c;
  --g-300: #a8a8a8;
  --g-200: #cfcfcf;

  --bg: var(--black);
  --text: #f5f5f5;
  --text-2: var(--g-300);
  --muted: var(--g-400);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.22);

  --font: "Geist", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, monospace;

  --radius: 14px;
  --radius-lg: 22px;
  --gutter: clamp(16px, 5vw, 72px);
  --maxw: 1240px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.35s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in 0.6s var(--ease-out) both; }
@keyframes vt-out { to { opacity: 0; } }
@keyframes vt-in { from { opacity: 0; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font); font-size: 16px; line-height: 1.6; font-weight: 400;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
/* photographic grain over everything */
body::after {
  content: ""; position: fixed; inset: -50%; z-index: 150; pointer-events: none; opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -2%); } }

img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--white); color: var(--black); }
:focus-visible { outline: 1.5px solid var(--white); outline-offset: 3px; border-radius: 6px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); color: var(--black); padding: 10px 16px; border-radius: 10px; font-weight: 500; text-decoration: none; transition: top .2s; }
.skip-link:focus { top: 12px; }

.mono { font-family: var(--font-mono); font-feature-settings: "tnum"; }
.eyebrow { display: inline-flex; align-items: baseline; gap: 10px; font-size: 14px; color: var(--muted); letter-spacing: 0; }
.eyebrow b { font-family: var(--font-mono); font-weight: 400; font-size: 12px; color: var(--g-200); }
h1, h2, h3 { font-family: var(--font); font-weight: 500; letter-spacing: -0.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
.grad-text { color: inherit; }
strong { font-weight: 500; color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  --h: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: var(--h); padding: 0 22px; border-radius: 999px; font-weight: 500; font-size: 15px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .2s var(--ease-out);
}
.btn:active { transform: scale(.97); }
.btn svg { width: 18px; height: 18px; flex: none; transition: transform .3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn-primary { background: var(--white); color: var(--black); }
.btn-primary:hover { background: var(--g-200); }
.btn-ghost { background: transparent; border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--white); }
.btn-sm { --h: 40px; padding: 0 16px; font-size: 14px; }

/* ---------- Header / menu ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--gutter); transition: background .3s, padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.site-header.scrolled { background: rgba(0,0,0,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-block: 12px; border-bottom-color: var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand-mark { width: 32px; height: 32px; color: var(--white); flex: none; }
.brand-name { font-weight: 500; font-size: 17px; letter-spacing: -0.02em; }
.brand-name b { font-weight: 500; }
.mark-lg { display: block; width: 100%; height: auto; color: var(--white); overflow: visible; }
.header-actions { display: flex; align-items: center; gap: 8px; }
.menu-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; display: grid; place-items: center; position: relative; z-index: 120; transition: border-color .2s; }
.menu-btn:hover { border-color: var(--white); }
.menu-btn span { position: absolute; width: 18px; height: 1.5px; background: var(--text); transition: transform .35s var(--ease-out); }
.menu-btn span:nth-child(1) { transform: translateY(-4px); }
.menu-btn span:nth-child(2) { transform: translateY(4px); }
.menu-open .menu-btn span:nth-child(1) { transform: rotate(45deg); }
.menu-open .menu-btn span:nth-child(2) { transform: rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 110; display: grid; grid-template-columns: 1.3fr 1fr; background: var(--black); clip-path: inset(0 0 100% 0); transition: clip-path .75s var(--ease-io); visibility: hidden; }
.menu-open .menu { clip-path: inset(0 0 0 0); visibility: visible; }
.menu nav { display: flex; flex-direction: column; justify-content: center; padding: 120px var(--gutter) 60px; }
.menu-link { display: flex; align-items: baseline; gap: 18px; text-decoration: none; padding: 8px 0; font-size: clamp(34px, 5.4vw, 72px); font-weight: 500; letter-spacing: -0.045em; line-height: 1.05; color: var(--g-600); opacity: 0; transform: translateY(30px); transition: color .25s; }
.menu-open .menu-link { opacity: 1; transform: none; transition: color .25s, opacity .7s var(--ease-out), transform .7s var(--ease-out); }
.menu-open .menu-link:nth-child(1) { transition-delay: 0s, .2s, .2s; }
.menu-open .menu-link:nth-child(2) { transition-delay: 0s, .26s, .26s; }
.menu-open .menu-link:nth-child(3) { transition-delay: 0s, .32s, .32s; }
.menu-open .menu-link:nth-child(4) { transition-delay: 0s, .38s, .38s; }
.menu-open .menu-link:nth-child(5) { transition-delay: 0s, .44s, .44s; }
.menu-link:hover, .menu-link[aria-current="page"] { color: var(--white); }
.menu-link small { font-family: var(--font-mono); font-size: 12px; color: var(--muted); letter-spacing: 0; }
.menu-arrow { width: .45em; height: .45em; transition: transform .3s var(--ease-out); }
.menu-link:hover .menu-arrow { transform: translate(4px, -4px); }
.menu-tag { font-size: 13px; letter-spacing: 0; color: var(--muted); border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px 10px; align-self: center; font-weight: 400; }
.menu aside { border-left: 1px solid var(--line); padding: 140px var(--gutter) 60px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.menu aside .mark-lg { width: min(260px, 60%); color: var(--g-600); }
.menu aside p { color: var(--muted); font-size: 14px; max-width: 34ch; }
@media (max-width: 820px) { .menu { grid-template-columns: 1fr; } .menu aside { display: none; } .header-demo { display: none; } }

/* ---------- Story ---------- */
.story { position: relative; height: 1320vh; }
.story-stage { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--black); }
#scene { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.stage-fallback { position: absolute; inset: 0; display: none; place-items: center; }
.stage-fallback .mark-lg { width: min(40vh, 50vw); margin-left: 30vw; color: var(--g-600); }
.no-webgl .stage-fallback { display: grid; }
.stage-vignette { position: absolute; inset: 0; pointer-events: none; }
.stage-vignette::before, .stage-vignette::after { content: ""; position: absolute; inset: 0; transition: opacity .5s; }
.stage-vignette::before { background: linear-gradient(90deg, rgba(0,0,0,.82) 0%, rgba(0,0,0,.4) 30%, transparent 55%); opacity: var(--vl, 1); }
.stage-vignette::after { background: linear-gradient(270deg, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 32%, transparent 58%); opacity: var(--vr, 0); }

.steps { position: absolute; inset: 0; pointer-events: none; }
.step { position: absolute; left: var(--gutter); top: 50%; width: min(440px, 38vw); transform: translateY(calc(-50% + var(--dy, 0px))); opacity: 0; visibility: hidden; filter: blur(var(--blur, 0px)); will-change: opacity, transform, filter; }
.step.is-live { pointer-events: auto; }
.step .eyebrow { margin-bottom: 20px; }
.step h2 { font-size: clamp(34px, 4vw, 56px); margin-bottom: 20px; }
.step p { color: var(--text-2); font-size: clamp(16px, 1.15vw, 18px); }
.step p + p { margin-top: 12px; }
.step .note { color: var(--muted); font-size: 14px; }

.step-hero { width: min(680px, 50vw); }
.step-hero h1 { font-size: clamp(52px, 7vw, 116px); letter-spacing: -0.055em; line-height: .94; font-weight: 500; }
.step-hero .hero-claim { margin-top: 26px; font-size: clamp(18px, 1.5vw, 22px); color: var(--white); letter-spacing: -0.01em; }
.step-hero p { margin-top: 12px; max-width: 44ch; font-size: clamp(16px, 1.15vw, 18px); color: var(--text-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 36px; }
.scroll-cue { position: absolute; left: var(--gutter); bottom: 28px; display: flex; align-items: center; gap: 14px; font-size: 13px; color: var(--muted); transition: opacity .4s; }
.scroll-cue i { width: 44px; height: 1px; background: var(--line-strong); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ""; position: absolute; top: 0; left: -44px; width: 44px; height: 1px; background: var(--white); animation: cue 2.4s var(--ease-io) infinite; }
@keyframes cue { to { left: 44px; } }

.formula { margin-top: 22px; display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 13px; color: var(--g-200); border: 1px solid var(--line-strong); border-radius: 10px; padding: 10px 14px; }
.formula em { font-style: normal; color: var(--white); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); }
.chip.long::before, .chip.short::before, .chip.usdc::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.chip.long::before { background: var(--white); }
.chip.short::before { border: 1.5px solid var(--white); }
.chip.usdc::before { background: var(--g-400); }
.ticker { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid var(--line-strong); }
.ticker div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.ticker div:nth-child(odd) { padding-right: 16px; }
.ticker dt { font-size: 13px; color: var(--muted); }
.ticker dd { margin: 2px 0 0; font-family: var(--font-mono); font-size: 20px; font-feature-settings: "tnum"; color: var(--white); }

/* security chapter: token turns on the left, points rise one by one on the right */
.sec { position: absolute; inset: 0; pointer-events: none; }
.sec-col { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); width: min(470px, 40vw); }
.sec-head, .sec-list li { opacity: 0; visibility: hidden; transform: translateY(var(--dy, 0px)); filter: blur(var(--blur, 0px)); will-change: opacity, transform, filter; }
.sec-head h2 { font-size: clamp(34px, 3.8vw, 54px); margin: 18px 0 28px; }
.sec-list { list-style: none; margin: 0; padding: 0; }
.sec-list li:first-child { border-top: 1px solid var(--line-strong); }
.sec-list li { display: grid; grid-template-columns: 36px 1fr; gap: 4px 12px; padding: 16px 0 17px; border-bottom: 1px solid var(--line); }
.sec-list .n { font-family: var(--font-mono); font-size: 12px; color: var(--muted); padding-top: 4px; }
.sec-list h3 { font-size: 18px; letter-spacing: -0.02em; line-height: 1.3; }
.sec-list p { grid-column: 2; color: var(--text-2); font-size: 14.5px; line-height: 1.5; }

@media (min-width: 821px) and (max-height: 860px) {
  .sec-head h2 { font-size: 34px; margin: 10px 0 16px; }
  .sec-list li { padding: 10px 0 11px; }
  .sec-list h3 { font-size: 16px; }
  .sec-list p { font-size: 13.5px; line-height: 1.4; }
}
@media (min-width: 821px) and (max-height: 680px) { .sec-list p { display: none; } }

.rail { position: absolute; right: calc(var(--gutter) * .45); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 2px; z-index: 5; transition: opacity .4s; }
.rail button { position: relative; width: 44px; height: 30px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.rail button::before { content: ""; width: 5px; height: 5px; border-radius: 50%; border: 1px solid var(--g-400); transition: background .3s, border-color .3s, transform .3s var(--ease-out); }
.rail button.active::before { background: var(--white); border-color: var(--white); transform: scale(1.3); }
.rail button span { position: absolute; right: 40px; white-space: nowrap; font-size: 12px; color: var(--text-2); opacity: 0; transform: translateX(6px); transition: opacity .2s, transform .2s; pointer-events: none; }
.rail button:hover span, .rail button:focus-visible span, .rail button.active span { opacity: 1; transform: none; }
.progress-line { position: absolute; left: 0; bottom: 0; height: 1px; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: var(--white); opacity: .6; }

@media (max-width: 820px) {
  .stage-vignette::before { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,.88) 36%, transparent 60%); }
  .stage-vignette::after { display: none; }
  .step { left: 16px; right: 16px; width: auto; top: auto; bottom: 28px; transform: translateY(var(--dy, 0px)); }
  .step h2 { font-size: 30px; margin-bottom: 12px; }
  .step p { font-size: 15px; }
  .step .eyebrow { margin-bottom: 10px; }
  .step .note, .step .chips { display: none; }
  .formula { margin-top: 12px; font-size: 12px; }
  .ticker { margin-top: 12px; } .ticker dd { font-size: 16px; }
  .step-hero { top: 96px; bottom: auto; }
  .step-hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .step-hero .hero-claim { margin-top: 16px; }
  .hero-actions { display: none; }
  .rail { display: none; }
  .sec-col { left: 16px; right: 16px; width: auto; top: auto; bottom: 24px; transform: none; }
  .sec-head h2 { font-size: 28px; margin: 8px 0 12px; }
  .sec-list li { padding: 9px 0; grid-template-columns: 28px 1fr; }
  .sec-list h3 { font-size: 15px; }
  .sec-list p { display: none; }
}

/* ---------- Content sections ---------- */
.section { position: relative; padding: clamp(96px, 14vw, 180px) var(--gutter); }
.wrap { max-width: var(--maxw); margin: 0 auto; }
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { font-size: clamp(38px, 5vw, 72px); margin-top: 16px; }
.section-head p { color: var(--text-2); font-size: 18px; margin-top: 20px; max-width: 58ch; }

.terms { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-strong); margin: 0; }
.term { padding: 24px 24px 34px 0; min-height: 170px; display: flex; flex-direction: column; justify-content: flex-start; gap: 40px; border-bottom: 1px solid var(--line); }
.term dt { font-size: 14px; color: var(--muted); }
.term dd { margin: 0; font-size: clamp(22px, 2.1vw, 30px); letter-spacing: -0.03em; line-height: 1.15; font-weight: 500; }
.term dd small { display: block; font-size: 14px; color: var(--muted); letter-spacing: 0; margin-top: 8px; line-height: 1.45; font-weight: 400; }
.term.highlight dd { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.terms.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 980px) { .terms, .terms.three { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .terms, .terms.three { grid-template-columns: 1fr; } .term { min-height: 0; } }

.roadmap { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0; border-top: 1px solid var(--line-strong); }
.road { padding: 28px 28px 36px 0; position: relative; }
.road + .road { padding-left: 28px; border-left: 1px solid var(--line); }
.road .idx { font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.road h3 { font-size: 26px; margin: 48px 0 10px; }
.road p { color: var(--text-2); font-size: 15px; }
.road .status { position: absolute; top: 24px; right: 28px; font-size: 13px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.road .status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1px solid currentColor; }
.road .status.live { color: var(--white); }
.road .status.live::before { background: var(--white); border-color: var(--white); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.road.locked h3, .road.locked p { color: var(--g-600); }
@media (max-width: 1100px) and (min-width: 901px) { .roadmap { grid-template-columns: repeat(2, minmax(0,1fr)); } .road:nth-child(3) { padding-left: 0; border-left: 0; } .road:nth-child(n+3) { border-top: 1px solid var(--line); } }
@media (max-width: 900px) { .roadmap { grid-template-columns: 1fr; } .road + .road { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

.cta-band { position: relative; padding: clamp(40px, 7vw, 100px) 0; border-top: 1px solid var(--line-strong); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; }
.cta-band h2 { font-size: clamp(38px, 5vw, 72px); margin: 16px 0 20px; }
.cta-band p { color: var(--text-2); font-size: 18px; max-width: 46ch; }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.cta-mark { width: 100%; max-width: 320px; justify-self: center; }
@media (max-width: 860px) { .cta-band { grid-template-columns: 1fr; } .cta-mark { max-width: 160px; grid-row: 1; justify-self: start; } }

.site-footer { border-top: 1px solid var(--line); padding: 56px var(--gutter) 40px; color: var(--muted); font-size: 14px; }
.footer-grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer-grid h4 { font-weight: 400; font-size: 14px; color: var(--white); margin: 0 0 12px; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 2px; }
.footer-grid a { text-decoration: none; color: var(--text-2); display: inline-block; padding: 6px 0; }
.footer-grid a:hover { color: var(--white); }
.disclaimer { max-width: var(--maxw); margin: 40px auto 0; padding-top: 24px; border-top: 1px solid var(--line); font-size: 12.5px; line-height: 1.6; color: #6f6f6f; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }

.reveal { opacity: 0; transform: translateY(14px); transition: opacity 1s var(--ease-out), transform 1s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; } .reveal[data-delay="2"] { transition-delay: .16s; } .reveal[data-delay="3"] { transition-delay: .24s; }

/* ---------- Sub pages ---------- */
.page-hero { position: relative; padding: clamp(150px, 20vw, 220px) var(--gutter) clamp(56px, 8vw, 96px); overflow: hidden; }
.page-hero h1 { font-size: clamp(48px, 7.4vw, 112px); letter-spacing: -0.055em; line-height: .95; margin-top: 20px; max-width: 13ch; }
.page-hero p { color: var(--text-2); font-size: clamp(17px, 1.35vw, 20px); margin-top: 26px; max-width: 58ch; }

.status-strip { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.status-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text-2); }
.status-pill .dot { width: 7px; height: 7px; border-radius: 50%; border: 1px solid var(--white); }
.status-pill .dot.ok { background: var(--white); animation: pulse 2.4s ease-in-out infinite; }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 960px) { .paths { grid-template-columns: 1fr; } }
.path { position: relative; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); padding: clamp(26px, 3.4vw, 44px); scroll-margin-top: 100px; background: var(--g-950); }
.path.primary { background: var(--white); color: var(--black); border-color: var(--white); }
.path.primary .eyebrow, .path.primary > p, .path.primary .perks li { color: #4a4a4a; }
.path.primary strong { color: var(--black); }
.path.primary .status-pill { color: #4a4a4a; border-color: rgba(0,0,0,.2); }
.path.primary .status-pill .dot { border-color: var(--black); background: var(--black); }
.path.primary .perks svg { color: var(--black); }
.path.primary .field label { color: #3a3a3a; }
.path.primary .field input, .path.primary .field select { background: #f3f3f3; border-color: rgba(0,0,0,.14); color: var(--black); }
.path.primary .field input:focus, .path.primary .field select:focus { border-color: var(--black); box-shadow: 0 0 0 3px rgba(0,0,0,.1); }
.path.primary .check { color: #4a4a4a; }
.path.primary .check input { accent-color: var(--black); }
.path.primary .btn-primary { background: var(--black); color: var(--white); }
.path.primary .btn-primary:hover { background: #2a2a2a; }
.path.primary :focus-visible { outline-color: var(--black); }
.path.primary .form-success { border-color: rgba(0,0,0,.2); background: #f3f3f3; }
.path.primary .form-success p { color: #4a4a4a; }
.path.primary .form-success h3 svg { color: var(--black); }
.path-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.path h2 { font-size: clamp(30px, 3vw, 42px); margin: 14px 0 12px; }
.path > p { color: var(--text-2); }
.path .perks { list-style: none; padding: 0; margin: 26px 0 30px; display: grid; gap: 12px; }
.path .perks li { display: flex; gap: 12px; color: var(--text-2); font-size: 15px; }
.path .perks svg { width: 20px; height: 20px; color: var(--white); flex: none; margin-top: 2px; }

.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; color: var(--text-2); }
.field .hint { font-size: 13px; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 48px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--black); color: var(--text); font-size: 16px; transition: border-color .2s, box-shadow .2s; }
.field textarea { min-height: 110px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238c8c8c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--white); box-shadow: 0 0 0 3px rgba(255,255,255,.12); }
.field [aria-invalid="true"] { border-color: #e5484d; }
.field .err, .err { font-size: 13px; color: #e5484d; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--white); flex: none; }
.form .submit { margin-top: 6px; justify-self: start; }
.form-success { display: none; padding: 26px; border-radius: var(--radius); border: 1px solid var(--line-strong); }
.form-success h3 { font-size: 21px; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.form-success h3 svg { width: 22px; height: 22px; }
.form-success p { color: var(--text-2); font-size: 15px; }
.sent .form { display: none; } .sent .form-success { display: block; }

.seed-note { margin-top: 20px; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); color: var(--text-2); font-size: 14px; display: flex; gap: 12px; }
.seed-note svg { width: 20px; height: 20px; color: var(--muted); flex: none; margin-top: 2px; }
.seed-reveal { margin-top: 26px; }

.faq { max-width: 860px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 22px 0; font-size: 20px; letter-spacing: -0.02em; display: flex; justify-content: space-between; gap: 20px; align-items: center; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-mono); font-size: 20px; color: var(--muted); transition: transform .3s var(--ease-out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--text-2); padding: 0 0 24px; max-width: 68ch; }

.team { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 820px) { .team { grid-template-columns: 1fr; } }
.member .photo { position: relative; aspect-ratio: 4 / 4.6; background: var(--g-900); overflow: hidden; border-radius: var(--radius-lg); }
.member .photo img { position: relative; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.08); transition: transform 1.4s var(--ease-out); }
.member:hover .photo img { transform: scale(1.03); }
.member .photo .mono-init { position: absolute; inset: 0; display: grid; place-items: center; font-size: clamp(90px, 12vw, 170px); font-weight: 500; letter-spacing: -0.06em; color: var(--g-800); }
.member .body { padding: 22px 0 0; }
.member h2 { font-size: 34px; }
.member .role { font-size: 15px; color: var(--muted); margin-top: 6px; }
.member .bio { color: var(--text-2); margin-top: 14px; font-size: 15.5px; max-width: 52ch; }
.member .links { display: flex; gap: 10px; margin-top: 20px; }
.icon-link { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-strong); color: var(--text-2); transition: color .2s, border-color .2s; }
.icon-link:hover { color: var(--white); border-color: var(--white); }
.icon-link svg { width: 18px; height: 18px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  body::after { animation: none; }
}

/* ---------- Legal pages (Impressum, Datenschutz) ---------- */
.legal > * { max-width: 760px; }
.legal h2 { font-size: clamp(22px, 2.2vw, 28px); font-weight: 500; letter-spacing: -0.02em; margin: 56px 0 14px; }
.legal h2:first-child { margin-top: 0; }
.legal h3 { font-size: 17px; font-weight: 500; margin: 28px 0 8px; color: var(--white); }
.legal p, .legal li, .legal address { color: var(--text-2); font-size: 16px; line-height: 1.65; font-style: normal; }
.legal p + p { margin-top: 12px; }
.legal ul { padding-left: 20px; margin: 10px 0; }
.legal a { color: var(--white); }
.legal .stand { margin-top: 56px; font-size: 14px; color: var(--muted); }
.legal-links { max-width: var(--maxw); margin: 32px auto 0; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; }
.legal-links a { color: var(--text-2); text-decoration: none; }
.legal-links a:hover { color: var(--white); }
.legal-links span { color: #6f6f6f; }

/* Pre-AIFM mode (CONFIG.fundMarketing): fund-only content stays hidden unless the page opts in */
html:not(.fund-on) [data-fund-only] { display: none !important; }
html.fund-on [data-pre-only] { display: none !important; }
