@font-face { font-family: "Geist"; src: url("fonts/geist.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "Inter"; src: url("fonts/inter.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("fonts/jetbrains-mono.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }

:root {
  color-scheme: dark;
  --bg: #07080a;
  --surface: #0e1014;
  --raised: #15181e;
  --ink: #f5f3ec;
  --muted: #aab2be;
  --quiet: #7f8997;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);
  --gold: #e2c46c;
  --gold-soft: #f3dc93;
  --gold-deep: #a9873a;
  --ok: #7ee0a3;
  --danger: #ff8b86;
  --display: "Geist", "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --radius: 20px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
section[id] { scroll-margin-top: 84px; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--gold-soft); outline-offset: 3px; border-radius: 6px; }
main:focus { outline: none; }
.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 100;
  padding: 10px 14px; border-radius: 10px; background: var(--gold-soft); color: #14110a; font-weight: 800;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }
.wrap { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.gold-text {
  background: linear-gradient(100deg, #f7e3a3 0%, var(--gold) 38%, #c99f45 70%, #f3dc93 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }

/* ---------- Navigation ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(7, 8, 10, .72); border-color: var(--line); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); }
.nav-inner { width: min(1180px, calc(100% - 48px)); margin-inline: auto; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-logo { width: 118px; height: auto; }
#primaryNav { display: flex; align-items: center; gap: 4px; }
#primaryNav a { padding: 9px 13px; border-radius: 999px; color: #d6dbe2; font-size: 14px; font-weight: 550; transition: color .2s, background .2s; }
#primaryNav a:hover { color: var(--ink); background: rgba(255, 255, 255, .05); }
#primaryNav .nav-portal { color: var(--gold-soft); }
#primaryNav .nav-cta { margin-left: 8px; padding: 9px 16px; background: var(--gold); color: #17130a; font-weight: 700; }
#primaryNav .nav-cta:hover { background: var(--gold-soft); color: #17130a; }
.menu-toggle { display: none; align-items: center; gap: 10px; height: 42px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: rgba(255,255,255,.03); font-size: 14px; font-weight: 650; }
.menu-icon { display: grid; gap: 5px; width: 16px; }
.menu-icon i { display: block; height: 1.5px; background: currentColor; border-radius: 2px; transition: transform .25s var(--ease); }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(3.25px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-3.25px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-size: 15px; font-weight: 700; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .25s var(--ease), background .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: linear-gradient(180deg, #f0d584, var(--gold)); border-color: #f0d584; color: #17130a; box-shadow: 0 10px 30px -10px rgba(226, 196, 108, .55), inset 0 1px rgba(255,255,255,.5); }
.btn.primary:hover { box-shadow: 0 16px 40px -12px rgba(226, 196, 108, .7), inset 0 1px rgba(255,255,255,.5); }
.btn.ghost { background: rgba(255, 255, 255, .03); color: var(--ink); }
.btn.ghost:hover { border-color: rgba(226, 196, 108, .6); background: rgba(226, 196, 108, .06); }
.btn-arrow { transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translate(2px, -2px); }
.btn:disabled { cursor: wait; opacity: .65; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 136px 0 0; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  opacity: .55;
}
.hero-glow {
  position: absolute; width: 900px; height: 700px; right: -180px; top: -260px;
  background: radial-gradient(closest-side, rgba(226, 196, 108, .22), rgba(226, 196, 108, .06) 55%, transparent);
  filter: blur(10px);
}
.hero-sweep {
  position: absolute; inset: -40% -10%;
  background: linear-gradient(115deg, transparent 42%, rgba(243, 220, 147, .06) 50%, transparent 58%);
  animation: sweep 9s ease-in-out infinite;
}
@keyframes sweep { 0% { transform: translateX(-30%); } 60%, 100% { transform: translateX(30%); } }
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(40px, 6vw, 88px); align-items: center; padding-bottom: 96px; }
.pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px 7px 10px;
  border: 1px solid rgba(226, 196, 108, .32); border-radius: 999px; background: rgba(226, 196, 108, .07);
  color: var(--gold-soft); font-size: 13px; font-weight: 600;
}
.pill-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(226, 196, 108, .18); }
h1, h2, h3 { font-family: var(--display); font-weight: 650; margin: 0; text-wrap: balance; }
h1 { margin: 26px 0 24px; font-size: clamp(42px, 5.4vw, 74px); line-height: .98; letter-spacing: -.045em; }
.lead { max-width: 54ch; margin: 0; color: var(--muted); font-size: clamp(16px, 1.35vw, 18.5px); line-height: 1.65; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.customer-path {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-top: 28px;
  color: var(--muted); font-size: 14px; transition: color .2s;
}
.customer-path b { color: var(--gold-soft); font-weight: 650; }
.customer-path:hover b { text-decoration: underline; text-underline-offset: 4px; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(126, 224, 163, .5); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(126, 224, 163, .45); } 70%, 100% { box-shadow: 0 0 0 9px rgba(126, 224, 163, 0); } }

/* Authorization console */
.terminal-wrap { perspective: 1400px; }
.terminal-card {
  position: relative; border-radius: 22px; padding: 1px;
  background: linear-gradient(150deg, rgba(243, 220, 147, .55), rgba(255,255,255,.08) 30%, rgba(255,255,255,.05) 70%, rgba(226, 196, 108, .35));
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, .8), 0 0 80px -20px rgba(226, 196, 108, .18);
  transform: rotateX(3deg) rotateY(-5deg); transform-style: preserve-3d;
  transition: transform .6s var(--ease), box-shadow .6s;
}
.terminal-card:hover { transform: rotateX(0deg) rotateY(0deg) translateY(-4px); box-shadow: 0 50px 140px -30px rgba(0, 0, 0, .85), 0 0 100px -20px rgba(226, 196, 108, .28); }
.terminal-card > * { background: #0b0d11; }
.terminal-top { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-radius: 21px 21px 0 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.terminal-top b { font-weight: 650; }
.terminal-top small { margin-left: auto; color: var(--gold); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.terminal-dots { display: flex; gap: 6px; }
.terminal-dots span { width: 10px; height: 10px; border-radius: 50%; background: #2a2f38; }
.terminal-body { padding: 22px 20px 8px; font-family: var(--mono); font-size: 13px; }
.log-line { color: var(--quiet); margin-bottom: 14px; }
.prompt { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 6px; background: rgba(226, 196, 108, .12); color: var(--gold); font-weight: 700; }
.check-row {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  padding: 12px 0; border-top: 1px dashed rgba(255, 255, 255, .07);
  opacity: .28; transition: opacity .4s var(--ease);
}
.check-row span { color: #cfd5de; font-family: var(--body); font-size: 14px; }
.check-row code { color: var(--quiet); font-family: var(--mono); font-size: 12.5px; }
.check-row em { position: relative; min-width: 86px; padding-left: 22px; color: var(--quiet); font-style: normal; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; text-align: left; }
.check-row em::before { content: ""; position: absolute; left: 0; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; border: 1.5px solid #3a404b; transition: all .35s var(--ease); }
.check-row em::after { content: ""; position: absolute; left: 4.5px; top: 50%; width: 3.5px; height: 7px; margin-top: -5px; border: solid #0b0d11; border-width: 0 1.8px 1.8px 0; transform: rotate(45deg) scale(0); transition: transform .3s .1s var(--ease); }
.check-row.on { opacity: 1; }
.check-row.on em { color: var(--ok); }
.check-row.on em::before { background: var(--ok); border-color: var(--ok); box-shadow: 0 0 14px rgba(126, 224, 163, .5); }
.check-row.on em::after { transform: rotate(45deg) scale(1); }
.status-final {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  margin: 12px 0 16px; padding: 18px 20px; border-radius: 14px;
  border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
  transition: all .5s var(--ease); opacity: .35;
}
.status-label { color: var(--quiet); font-family: var(--body); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.status-final strong { font-family: var(--display); font-size: 30px; letter-spacing: .04em; color: #5b616c; transition: color .4s; }
.status-final.on { opacity: 1; border-color: rgba(126, 224, 163, .35); background: linear-gradient(120deg, rgba(126, 224, 163, .12), rgba(126, 224, 163, .02)); box-shadow: 0 0 40px -12px rgba(126, 224, 163, .45); }
.status-final.on strong { color: var(--ok); }
.terminal-note { margin: 0; padding: 14px 20px 18px; border-radius: 0 0 21px 21px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 12.5px; line-height: 1.5; }

/* Marquee */
.marquee { position: relative; border-block: 1px solid var(--line); background: rgba(255,255,255,.015); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee-track span { display: inline-flex; align-items: center; gap: 44px; padding: 22px 0 22px 44px; color: #c3c9d2; font-family: var(--display); font-size: 17px; font-weight: 550; white-space: nowrap; }
.marquee-track span::after { content: ""; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: clamp(88px, 11vw, 150px) 0 0; }
.section-head { max-width: 760px; margin-bottom: 56px; }
h2 { margin: 18px 0 18px; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.02; letter-spacing: -.04em; }
.section-head p, .section-copy { max-width: 58ch; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.7; }

/* Bento */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.card {
  position: relative; display: flex; flex-direction: column; min-height: 320px; padding: 28px;
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(226, 196, 108, .07), transparent 55%), linear-gradient(180deg, #111318, #0c0e12);
  transition: transform .45s var(--ease), border-color .45s, box-shadow .45s;
}
.card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(243, 220, 147, .09), transparent 45%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.card:hover { transform: translateY(-4px); border-color: rgba(226, 196, 108, .3); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8); }
.card:hover::after { opacity: 1; }
.card-release { grid-column: span 4; }
.card-binding { grid-column: span 2; }
.card-version { grid-column: span 3; }
.card-managed { grid-column: span 3; }
.card-visual { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 120px; margin-bottom: 22px; }
.num { font-family: var(--mono); color: var(--gold); font-size: 12px; font-weight: 700; }
.card h3 { margin: 8px 0 8px; font-size: 23px; letter-spacing: -.025em; }
.card p { margin: 0; max-width: 46ch; color: var(--muted); font-size: 15px; line-height: 1.6; }
.file-chip { display: flex; align-items: center; gap: 14px; padding: 14px 20px 14px 14px; border: 1px solid var(--line-strong); border-radius: 16px; background: #0b0d11; box-shadow: 0 20px 40px -20px #000; }
.file-icon { display: grid; place-items: center; width: 48px; height: 56px; border-radius: 8px 14px 8px 8px; background: linear-gradient(160deg, var(--gold-soft), var(--gold-deep)); color: #17130a; font-family: var(--mono); font-size: 11px; font-weight: 800; }
.file-chip b { display: block; font-family: var(--display); font-size: 18px; }
.file-chip small { color: var(--quiet); font-size: 13px; }
.card-release .card-visual { flex-wrap: wrap; gap: 18px; }
.source-lock { display: inline-flex; align-items: center; gap: 10px; padding: 10px 14px; border: 1px dashed rgba(255, 255, 255, .14); border-radius: 12px; color: var(--quiet); font-size: 13px; }
.lock { position: relative; width: 12px; height: 10px; margin-top: 5px; border-radius: 2px; background: var(--gold); }
.lock::before { content: ""; position: absolute; left: 2px; top: -7px; width: 8px; height: 8px; border: 2px solid var(--gold); border-bottom: 0; border-radius: 6px 6px 0 0; box-sizing: border-box; }
.bind { display: flex; flex-direction: column; align-items: center; gap: 0; }
.bind span { padding: 9px 16px; border: 1px solid rgba(226, 196, 108, .35); border-radius: 999px; background: rgba(226, 196, 108, .07); color: var(--gold-soft); font-family: var(--mono); font-size: 12.5px; }
.bind i { width: 1.5px; height: 30px; background: linear-gradient(var(--gold), var(--gold-deep)); position: relative; }
.bind i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; margin: -4.5px 0 0 -4.5px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }
.versions { display: flex; width: 100%; max-width: 380px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); font-family: var(--mono); font-size: 12px; font-weight: 700; text-align: center; }
.versions span { flex: 1; padding: 14px 6px; }
.v-old { color: #6d7480; background: rgba(255, 255, 255, .02); text-decoration: line-through; }
.v-min { color: var(--gold-soft); background: rgba(226, 196, 108, .08); border-inline: 1px solid var(--line); }
.v-cur { color: #17130a; background: linear-gradient(180deg, #f0d584, var(--gold)); }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 360px; }
.chips span { padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; background: #0b0d11; color: #d6dbe2; font-size: 13.5px; font-weight: 600; transition: all .3s; }
.card:hover .chips span:nth-child(odd) { border-color: rgba(226, 196, 108, .5); color: var(--gold-soft); }

/* Licensing */
.licensing { margin-top: clamp(88px, 11vw, 150px); padding-bottom: clamp(88px, 11vw, 150px); border-block: 1px solid var(--line); background: radial-gradient(900px 500px at 15% 20%, rgba(226, 196, 108, .07), transparent 70%), #090a0d; }
.split { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: start; }
.split-copy { position: sticky; top: 120px; }
.steps { --progress: 0; position: relative; margin: 0; padding: 0 0 0 44px; list-style: none; }
.steps::before, .steps::after { content: ""; position: absolute; left: 15px; top: 16px; bottom: 16px; width: 2px; border-radius: 2px; }
.steps::before { background: var(--line-strong); }
.steps::after { background: linear-gradient(var(--gold-soft), var(--gold)); transform-origin: top; transform: scaleY(var(--progress)); box-shadow: 0 0 16px rgba(226, 196, 108, .5); }
.step { position: relative; display: flex; gap: 22px; padding: 26px 26px 26px 0; }
.step + .step { border-top: 1px solid var(--line); }
.step-num { position: absolute; left: -44px; top: 26px; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--line-strong); background: #0b0d11; color: var(--quiet); font-family: var(--mono); font-size: 11px; font-weight: 700; z-index: 1; transition: all .4s var(--ease); }
.step.lit .step-num { border-color: var(--gold); background: var(--gold); color: #17130a; box-shadow: 0 0 0 6px rgba(226, 196, 108, .12); }
.step b { display: block; font-family: var(--display); font-size: 22px; font-weight: 620; letter-spacing: -.02em; }
.step p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }

/* Portal showcase */
.portal-show { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.ticks { margin: 30px 0 34px; padding: 0; list-style: none; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 32px; color: #d4d9e0; font-size: 15.5px; line-height: 1.55; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: rgba(226, 196, 108, .14); border: 1px solid rgba(226, 196, 108, .5); }
.ticks li::after { content: ""; position: absolute; left: 7px; top: 7px; width: 4px; height: 8px; border: solid var(--gold-soft); border-width: 0 1.6px 1.6px 0; transform: rotate(45deg); }
.portal-mock { border: 1px solid var(--line-strong); border-radius: 22px; background: linear-gradient(160deg, rgba(226, 196, 108, .06), transparent 40%), #0c0e12; box-shadow: 0 40px 100px -40px #000; overflow: hidden; transition: transform .5s var(--ease); }
.portal-mock:hover { transform: translateY(-4px); }
.mock-top { display: flex; align-items: center; gap: 10px; padding: 14px 20px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.mock-top small { margin-left: auto; color: var(--gold); font-size: 11px; }
.mock-dot { width: 9px; height: 9px; border: 2px solid var(--gold); border-radius: 50%; }
.mock-body { padding: 22px; }
.mock-head { display: flex; align-items: center; justify-content: space-between; }
.mock-head b { font-family: var(--display); font-size: 18px; }
.badge-ok { display: inline-flex; align-items: center; gap: 6px; padding: 4px 11px; border: 1px solid rgba(126, 224, 163, .4); border-radius: 999px; color: var(--ok); font-size: 12px; font-weight: 700; }
.badge-ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.mock-expiry { margin: 18px 0; padding: 16px 18px; border-left: 3px solid var(--gold); border-radius: 4px 12px 12px 4px; background: linear-gradient(90deg, rgba(226, 196, 108, .1), transparent); }
.mock-expiry small, .mock-grid small, .mock-chart small { display: block; color: var(--quiet); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.mock-expiry strong { font-family: var(--display); font-size: 26px; }
.mock-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.mock-grid b { font-size: 15px; }
.mock-chart { margin-top: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 14px; background: #090b0e; }
.mock-chart-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.mock-chart-head span { padding: 3px 9px; border: 1px solid rgba(226, 196, 108, .5); border-radius: 7px; color: var(--gold-soft); font-size: 11px; font-weight: 700; }
.mock-chart svg { width: 100%; height: 90px; }
.mc-grid { stroke: rgba(255, 255, 255, .06); stroke-width: 1; }
.mc-bal { fill: none; stroke: var(--gold); stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.mc-eq { fill: none; stroke: #7fd4c1; stroke-width: 1.8; vector-effect: non-scaling-stroke; stroke-dasharray: 700; stroke-dashoffset: 700; }
.portal-mock.in .mc-eq { animation: draw 2.4s .3s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* FAQ */
.faq-section .section-head { margin-bottom: 36px; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 4px; list-style: none; cursor: pointer; font-family: var(--display); font-size: clamp(18px, 1.8vw, 22px); font-weight: 580; letter-spacing: -.015em; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-soft); }
.faq summary::after { content: ""; flex: none; width: 36px; height: 36px; border: 1px solid var(--line-strong); border-radius: 50%; background: linear-gradient(var(--gold), var(--gold)) center / 12px 1.5px no-repeat, linear-gradient(var(--gold), var(--gold)) center / 1.5px 12px no-repeat; transition: transform .35s var(--ease), background-color .3s; }
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(226, 196, 108, .1); }
.faq details p { max-width: 70ch; margin: -6px 0 26px; padding: 0 4px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* Request */
.request-card { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); padding: clamp(28px, 4.5vw, 60px); border: 1px solid rgba(226, 196, 108, .22); border-radius: 28px; background: radial-gradient(700px 400px at 0% 0%, rgba(226, 196, 108, .1), transparent 60%), linear-gradient(180deg, #101217, #0b0d10); box-shadow: 0 40px 120px -50px #000; }
.request-intro p { color: var(--muted); font-size: 16px; line-height: 1.7; }
.request-contact { margin-top: 26px; color: var(--muted); font-size: 15px; }
.request-contact a, .form-note a { color: var(--gold-soft); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(243, 220, 147, .4); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid > label, .choice-field { display: block; color: #dfe3e9; font-size: 13.5px; font-weight: 650; }
.form-grid > label > input, .form-grid > label > textarea { display: block; margin-top: 8px; }
.optional { margin-left: 6px; }
.form-grid .wide { grid-column: 1 / -1; }
.optional { color: var(--quiet); font-weight: 500; font-size: 12px; }
.form-grid input, .form-grid textarea { width: 100%; min-height: 50px; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: #090b0e; color: var(--ink); font-size: 16px; font-weight: 450; transition: border-color .2s, box-shadow .2s; }
.form-grid textarea { resize: vertical; min-height: 112px; }
.form-grid input::placeholder, .form-grid textarea::placeholder { color: #737c89; }
.form-grid input:hover, .form-grid textarea:hover { border-color: rgba(255, 255, 255, .28); }
.form-grid input:focus, .form-grid textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(226, 196, 108, .14); }
.form-grid [aria-invalid="true"] { border-color: var(--danger); }
.choice-field { margin: 0; padding: 0; border: 0; }
.choice-field legend { margin-bottom: 8px; padding: 0; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.choice-grid label { position: relative; cursor: pointer; }
.choice-grid input { position: absolute; opacity: 0; inset: 0; min-height: 0; }
.choice-grid span { display: flex; align-items: center; min-height: 48px; padding: 0 15px; border: 1px solid var(--line-strong); border-radius: 12px; background: #090b0e; font-weight: 600; font-size: 14px; transition: all .2s; }
.choice-grid span::before { content: ""; flex: none; width: 16px; height: 16px; margin-right: 11px; border: 1.5px solid #4b525e; border-radius: 50%; transition: all .2s; }
.choice-grid label:hover span { border-color: rgba(255, 255, 255, .3); }
.choice-grid input:checked + span { border-color: var(--gold); background: rgba(226, 196, 108, .08); color: var(--gold-soft); }
.choice-grid input:checked + span::before { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 4px, transparent 4.5px); }
.choice-grid input:focus-visible + span { outline: 3px solid var(--gold-soft); outline-offset: 2px; }
.trap { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.field-error { display: block; margin-top: 6px; color: var(--danger); font-size: 13px; font-weight: 500; }
.form-note { margin: 22px 0 22px; color: var(--quiet); font-size: 13px; line-height: 1.6; }
.request-status { min-height: 22px; margin: 16px 0 0; color: var(--muted); font-size: 14px; }
.request-status[data-tone="error"] { color: var(--danger); }
.request-status[data-tone="success"] { color: var(--ok); }

/* Risk + footer */
.risk { margin-top: 72px; padding: 26px 28px; border: 1px solid var(--line); border-left: 3px solid var(--gold); border-radius: 6px 16px 16px 6px; background: rgba(255, 255, 255, .015); }
.risk strong { font-family: var(--display); font-size: 15px; }
.risk p { margin: 8px 0 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
footer { margin-top: 96px; border-top: 1px solid var(--line); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 34px 0 40px; color: var(--quiet); font-size: 13.5px; }
.footer-inner .brand-logo { width: 104px; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-inner a:hover { color: var(--ink); }
.footer-portal { color: var(--gold-soft); }

/* Reveal */
.js-reveal .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
.js-reveal .bento .reveal:nth-child(2), .js-reveal .steps .reveal:nth-child(2) { transition-delay: .08s; }
.js-reveal .bento .reveal:nth-child(3), .js-reveal .steps .reveal:nth-child(3) { transition-delay: .16s; }
.js-reveal .bento .reveal:nth-child(4), .js-reveal .steps .reveal:nth-child(4) { transition-delay: .24s; }
.js-reveal .hero-copy .reveal:nth-child(2) { transition-delay: .06s; }
.js-reveal .hero-copy .reveal:nth-child(3) { transition-delay: .12s; }
.js-reveal .hero-copy .reveal:nth-child(4) { transition-delay: .18s; }
.js-reveal .hero-copy .reveal:nth-child(5) { transition-delay: .24s; }
.js-reveal .terminal-wrap.reveal { transition-delay: .2s; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .hero-inner, .split, .portal-show, .request-card { grid-template-columns: 1fr; }
  .split-copy { position: static; }
  .terminal-wrap { max-width: 560px; }
  .terminal-card { transform: none; }
  .card-release, .card-binding, .card-version, .card-managed { grid-column: span 3; }
}
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  #primaryNav {
    position: fixed; inset: 72px 0 0; flex-direction: column; align-items: stretch; gap: 2px;
    padding: 20px 24px 32px; background: rgba(7, 8, 10, .97); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility .25s;
  }
  #primaryNav.open { opacity: 1; visibility: visible; transform: none; }
  #primaryNav a { padding: 16px 4px; border-radius: 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 22px; font-weight: 580; }
  #primaryNav a:hover { background: none; }
  #primaryNav .nav-cta { margin: 20px 0 0; padding: 15px; border: 0; border-radius: 999px; text-align: center; font-size: 17px; }
  /* No backdrop-filter here: it would make the fixed menu panel position inside the 64px bar. */
  .nav, .nav.scrolled { background: rgba(7, 8, 10, .94); backdrop-filter: none; -webkit-backdrop-filter: none; border-color: var(--line); }
}
@media (max-width: 640px) {
  .wrap, .nav-inner { width: calc(100% - 32px); }
  .nav-inner { height: 64px; }
  #primaryNav { inset: 64px 0 0; }
  .brand-logo { width: 104px; }
  .hero { padding-top: 112px; }
  .hero-inner { padding-bottom: 64px; gap: 48px; }
  h1 { font-size: clamp(38px, 11vw, 52px); }
  .actions .btn { flex: 1 1 100%; }
  .card-release, .card-binding, .card-version, .card-managed { grid-column: 1 / -1; }
  .card { min-height: 0; padding: 22px; }
  .check-row { grid-template-columns: 1fr auto; row-gap: 2px; }
  .check-row code { grid-row: 2; font-size: 12px; }
  .check-row em { grid-row: 1 / 3; grid-column: 2; min-width: 0; }
  .status-final strong { font-size: 24px; }
  .form-grid, .choice-grid { grid-template-columns: 1fr; }
  .request-card { border-radius: 22px; }
  #requestSubmit { width: 100%; }
  .step { padding-right: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .marquee-track { animation: none; }
  .mc-eq { stroke-dashoffset: 0; }
}
