:root {
  color-scheme: dark;
  --bg: #070a0d;
  --bg-2: #0a1015;
  --panel: #0d141a;
  --panel-raised: #111b23;
  --surface: #14212a;
  --border: rgba(137, 186, 201, 0.16);
  --border-strong: rgba(137, 207, 224, 0.34);
  --text: #edf2f1;
  --text-dim: #a8b8bd;
  --text-faint: #70838a;
  --amber: #f5a623;
  --amber-soft: #ffd17a;
  --blue: #5b9cff;
  --blue-soft: #9bd8ff;
  --cyan: #63d8e7;
  --violet: #a78bfa;
  --green: #56d58b;
  --red: #ff7d7d;
  --maxw: 1160px;
  --mono: 'JetBrains Mono', 'Cascadia Code', ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(117, 180, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 180, 199, 0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 72%);
  content: '';
}

#sky { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; opacity: 0.16; pointer-events: none; }
#forge-stage { position: fixed; inset: 0; z-index: 0; width: 100%; height: 100%; pointer-events: none; transition: opacity 0.45s ease; }
.no-webgl { position: fixed; right: 28px; bottom: 24px; z-index: 3; max-width: 320px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--panel); color: var(--text-faint); font: 10px/1.5 var(--mono); }
.ambient { position: fixed; top: -22rem; left: 50%; z-index: 0; width: min(70rem, 125vw); height: 58rem; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 0%, rgba(245, 166, 35, 0.12), transparent 54%), radial-gradient(ellipse at 72% 22%, rgba(69, 174, 210, 0.09), transparent 52%); pointer-events: none; }
main, .nav, .footer { position: relative; z-index: 1; }
a, button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
button { border: 0; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.skip-link { position: absolute; top: 10px; left: 16px; z-index: 20; padding: 8px 12px; border: 1px solid var(--amber); border-radius: 6px; background: var(--amber); color: #10120f; font-size: 12px; font-weight: 800; text-decoration: none; transform: translateY(-180%); transition: transform 0.15s ease; }
.skip-link:focus-visible { transform: translateY(0); }

/* Navigation */
.nav { display: flex; align-items: center; justify-content: space-between; width: min(100%, var(--maxw)); min-height: 68px; margin: 0 auto; padding: 16px 28px; border-bottom: 1px solid var(--border); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); text-decoration: none; }
.brand-mark { filter: drop-shadow(0 0 7px rgba(245, 166, 35, 0.42)); }
.brand-name { color: var(--amber); font-size: 16px; font-weight: 800; letter-spacing: -0.25px; }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { position: relative; padding: 8px 0; color: var(--text-dim); font-size: 12px; font-weight: 600; text-decoration: none; transition: color 0.15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-links a:not(.nav-cta)::after { position: absolute; right: 0; bottom: 2px; left: 0; height: 1px; background: var(--amber); content: ''; opacity: 0; transform: scaleX(0.4); transition: opacity 0.15s ease, transform 0.15s ease; }
.nav-links a:not(.nav-cta):hover::after, .nav-links a:not(.nav-cta):focus-visible::after { opacity: 1; transform: scaleX(1); }
.nav-account { color: var(--blue-soft) !important; }
.nav-cta { padding: 8px 13px !important; border: 1px solid rgba(245, 166, 35, 0.45); border-radius: 5px; background: rgba(245, 166, 35, 0.1); color: var(--amber-soft) !important; font-weight: 700 !important; }
.nav-cta:hover { background: rgba(245, 166, 35, 0.18); }
.nav-toggle { display: none; padding: 8px 11px; border: 1px solid var(--border); border-radius: 5px; background: var(--panel); color: var(--text-dim); cursor: pointer; font-size: 12px; font-weight: 700; }

/* Shared typography and buttons */
.eyebrow, .section-eyebrow { color: var(--amber-soft); font-family: var(--mono); font-size: 10px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow { display: inline-block; padding: 6px 9px; border-left: 2px solid var(--amber); background: rgba(245, 166, 35, 0.07); }
.grad { background: linear-gradient(105deg, var(--amber) 0%, var(--amber-soft) 38%, var(--blue-soft) 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 11px 18px; border: 1px solid transparent; border-radius: 5px; cursor: pointer; font-size: 13px; font-weight: 750; text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, transform 0.15s ease; }
.btn-primary { background: var(--amber); color: #11140f; box-shadow: 0 7px 24px rgba(245, 166, 35, 0.16); }
.btn-primary:hover { background: #ffc35b; transform: translateY(-1px); }
.btn-ghost { border-color: var(--border-strong); background: rgba(12, 20, 26, 0.72); color: var(--text-dim); }
.btn-ghost:hover { border-color: var(--cyan); background: var(--surface); color: var(--text); }
.btn-lg { min-height: 48px; padding: 13px 22px; font-size: 14px; }
.btn-os { padding-left: 10px; border-left: 1px solid rgba(17, 20, 15, 0.3); color: rgba(17, 20, 15, 0.7); font-family: var(--mono); font-size: 10px; font-weight: 600; }

/* Landing hero */
.hero { position: relative; width: min(100%, var(--maxw)); min-height: 125vh; margin: 0 auto; padding: 108px 28px 86px; text-align: left; }
.hero-glow { display: none; }
.hero-copy { position: relative; z-index: 2; width: min(52%, 610px); }
.hero-title { max-width: 840px; margin: 24px 0 0; color: var(--text); font-size: clamp(44px, 6.3vw, 78px); font-weight: 800; letter-spacing: -3.4px; line-height: 0.95; }
.hero-sub { max-width: 570px; margin: 24px 0 0; color: var(--text-dim); font-size: clamp(15px, 2vw, 17px); line-height: 1.65; }
.hero-actions { display: flex; justify-content: flex-start; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.hero-meta { margin-top: 17px; color: var(--text-faint); font: 10px var(--mono); letter-spacing: 0.02em; }
.scene-hud { position: absolute; top: 132px; right: 28px; z-index: 2; width: 235px; padding: 13px 15px; border-top: 1px solid rgba(99, 216, 231, 0.5); border-bottom: 1px solid var(--border); color: var(--text-faint); font-family: var(--mono); }
.scene-hud-top { display: flex; justify-content: space-between; gap: 12px; font-size: 8px; letter-spacing: 0.1em; }
.scene-hud-top span:last-child { color: var(--cyan); text-align: right; }
.scene-stage { display: flex; align-items: baseline; gap: 10px; margin-top: 17px; }
.scene-stage span { color: var(--amber); font-size: 11px; }
.scene-stage strong { color: var(--text); font-size: 20px; letter-spacing: 0.08em; }
.scene-track { height: 2px; margin-top: 12px; overflow: hidden; background: var(--border); }
.scene-track span { display: block; width: 20%; height: 100%; background: linear-gradient(90deg, var(--amber), var(--cyan)); transition: width 0.35s ease; }
.scene-hud p { margin-top: 10px; font-size: 9px; line-height: 1.5; }

/* Proof and workflow */
.proof { position: relative; z-index: 2; width: min(100%, 920px); margin: 200px auto 0; text-align: left; }
.proof-controls { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.proof-profile, .workflow-stage { padding: 9px 11px; border: 1px solid var(--border); border-radius: 4px; background: var(--panel); color: var(--text-dim); cursor: pointer; font: 600 10px/1.2 var(--mono); text-align: left; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.proof-profile:hover, .workflow-stage:hover { border-color: var(--border-strong); color: var(--text); }
.proof-profile[aria-pressed="true"], .workflow-stage[aria-pressed="true"] { border-color: var(--amber); background: rgba(245, 166, 35, 0.1); color: var(--amber-soft); }
.sample-link { padding: 0; border: 0; background: transparent; color: var(--blue-soft); cursor: pointer; font: inherit; }
.sample-link:hover { color: var(--cyan); }
.proof-grid, .proof-bottom { display: grid; grid-template-columns: 1fr 1.15fr; gap: 10px; }
.proof-bottom { grid-template-columns: 1fr 1fr; margin-top: 10px; }
.proof-panel, .forge-panel { overflow: hidden; padding: 16px 18px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.proof-panel { min-width: 0; }
.proof-label, .forge-label { color: var(--text-faint); font: 600 9px/1.2 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; }
.proof-copy { min-height: 98px; margin-top: 12px; color: var(--text); font-size: 13px; line-height: 1.65; }
.proof-code { min-height: 98px; margin-top: 12px; overflow: auto; color: var(--blue-soft); font: 11px/1.65 var(--mono); white-space: pre-wrap; }
.proof-meta { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--text-faint); font: 10px/1.4 var(--mono); }
.proof-dot, .dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px rgba(86, 213, 139, 0.6); }
.proof-chart { min-height: 128px; }
.proof-chart svg { display: block; width: 100%; height: 128px; }
.proof-chart path { fill: none; stroke: var(--amber); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.proof-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 12px; }
.proof-metric { padding-top: 9px; border-top: 1px solid var(--border); }
.proof-metric strong { display: block; color: var(--text); font: 700 17px/1.2 var(--mono); }
.proof-metric span { display: block; margin-top: 4px; color: var(--text-faint); font-size: 10px; }
.workflow { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 38px; }
.workflow-stage { min-height: 66px; }
.workflow-stage small { display: block; margin-bottom: 8px; color: var(--amber); font-size: 9px; }
.workflow-note { min-height: 24px; margin-top: 13px; color: var(--text-dim); font: 11px/1.5 var(--mono); }
.honest-note { margin-top: 22px; color: var(--text-faint); font: 10px/1.6 var(--mono); }

/* Landing sections */
.section { width: min(100%, var(--maxw)); margin: 0 auto; padding: 84px 28px; }
.section-eyebrow { display: block; margin-bottom: 13px; text-align: center; }
.section-title { color: var(--text); font-size: clamp(27px, 4vw, 42px); font-weight: 800; letter-spacing: -1.4px; line-height: 1.05; text-align: center; }
.section-lede { max-width: 620px; margin: 16px auto 0; color: var(--text-dim); font-size: 15px; line-height: 1.65; text-align: center; }
.scene-section { display: flex; min-height: 100vh; flex-direction: column; justify-content: center; align-items: flex-start; }
.scene-section > * { width: min(56%, 650px); margin-right: auto; margin-left: 0; }
.scene-section-right { align-items: flex-end; }
.scene-section-right > * { margin-right: 0; margin-left: auto; }
.scene-section .section-eyebrow, .scene-section .section-title, .scene-section .section-lede, .scene-section .int-note { text-align: left; }
.scene-section .section-lede { margin-top: 16px; }
.scene-section .workflow, .scene-section .steps, .scene-section .market-grid, .scene-section .cards, .scene-section .integrations { margin-top: 38px; }
.scene-section .steps { grid-template-columns: repeat(2, 1fr); }
.scene-section .step:last-child { grid-column: span 2; min-height: 130px; }
.scene-section .market-grid, .scene-section .integrations { grid-template-columns: 1fr; }
.scene-section .cards { grid-template-columns: repeat(2, 1fr); }
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; margin-top: 44px; list-style: none; }
.step, .card, .listing, .int-group { border: 1px solid var(--border); border-radius: 6px; background: var(--panel); transition: border-color 0.15s ease, background 0.15s ease, transform 0.15s ease; }
.step { position: relative; min-height: 170px; padding: 19px 16px; }
.step:hover, .card:hover, .listing:hover, .int-group:hover { border-color: var(--border-strong); background: var(--panel-raised); transform: translateY(-2px); }
.step-num { color: var(--amber); font: 500 11px var(--mono); }
.step h3 { margin: 24px 0 8px; color: var(--text); font-size: 14px; font-weight: 750; }
.step p, .card p, .mpoint p { color: var(--text-dim); font-size: 12.5px; line-height: 1.6; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 9px; margin-top: 44px; }
.card { min-height: 190px; padding: 21px 18px; }
.card-icon { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin-bottom: 19px; border: 1px solid rgba(245, 166, 35, 0.34); border-radius: 5px; background: rgba(245, 166, 35, 0.09); color: var(--amber-soft); font: 21px var(--mono); }
.card h3 { margin-bottom: 8px; color: var(--text); font-size: 15px; font-weight: 750; }

/* Marketplace */
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; margin-top: 44px; }
.listing { min-width: 0; padding: 19px; }
.listing.featured { border-color: rgba(245, 166, 35, 0.5); box-shadow: inset 0 2px 0 var(--amber); }
.listing-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.listing-top h3 { color: var(--text); font-size: 15px; font-weight: 750; line-height: 1.25; }
.listing-price { flex-shrink: 0; padding: 3px 7px; border: 1px solid rgba(245, 166, 35, 0.34); border-radius: 3px; background: rgba(245, 166, 35, 0.1); color: var(--amber-soft); font: 600 9px var(--mono); text-transform: uppercase; }
.listing-price.free { border-color: rgba(99, 216, 231, 0.3); background: rgba(99, 216, 231, 0.08); color: var(--blue-soft); }
.listing-by { margin-top: 6px; color: var(--text-faint); font-size: 11px; }
.listing-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 17px 0; padding: 13px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.stat-val { display: block; color: var(--text); font: 600 12px var(--mono); }
.stat-val.pos { color: var(--green); }
.stat-lbl { display: block; margin-top: 4px; color: var(--text-faint); font: 9px var(--mono); }
.listing-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.installs { color: var(--text-faint); font: 9px var(--mono); }
.use { color: var(--blue-soft); font-size: 11px; font-weight: 700; }
.market-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 38px; }
.mpoint { padding: 0 8px; text-align: center; }
.mpoint-ico { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 auto 12px; border: 1px solid var(--border); border-radius: 5px; background: var(--surface); color: var(--amber); font-size: 21px; }
.mpoint h4 { margin-bottom: 7px; color: var(--text); font-size: 14px; font-weight: 750; }

/* Integrations / CTA */
.integrations { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; max-width: 760px; margin: 44px auto 0; }
.int-group { padding: 19px; }
.int-label { display: block; margin-bottom: 13px; color: var(--text-faint); font: 600 9px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.int-tiles { display: flex; flex-direction: column; gap: 7px; }
.int-tile { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 13px; border: 1px solid var(--border); border-radius: 4px; background: var(--surface); }
.int-name { color: var(--text); font-size: 12.5px; font-weight: 650; }
.int-status { display: inline-flex; align-items: center; gap: 6px; color: var(--text-faint); font: 10px var(--mono); }
.int-status.live { color: var(--green); }
.int-status.live::before { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 7px rgba(86, 213, 139, 0.6); content: ''; }
.int-note { max-width: 720px; margin: 23px auto 0; color: var(--text-dim); font-size: 12px; line-height: 1.6; text-align: center; }
.cta { width: min(100%, var(--maxw)); margin: 0 auto; padding: 28px 28px 96px; }
.cta-inner { position: relative; overflow: hidden; padding: 54px 28px; border: 1px solid rgba(245, 166, 35, 0.38); border-radius: 7px; background: linear-gradient(135deg, rgba(245, 166, 35, 0.09), rgba(13, 20, 26, 0.96) 46%); text-align: center; }
.cta-inner::after { position: absolute; top: 0; right: 0; width: 38%; height: 1px; background: var(--cyan); opacity: 0.65; content: ''; }
.cta-mark { margin-bottom: 17px; filter: drop-shadow(0 0 10px rgba(245, 166, 35, 0.35)); }
.cta-inner h2 { color: var(--text); font-size: clamp(27px, 5vw, 44px); font-weight: 800; letter-spacing: -1.6px; }
.cta-inner p { max-width: 460px; margin: 13px auto 27px; color: var(--text-dim); font-size: 15px; line-height: 1.6; }

/* Footer */
.footer { width: min(100%, var(--maxw)); margin: 0 auto; padding: 25px 28px 31px; border-top: 1px solid var(--border); color: var(--text-faint); font-size: 11px; }
.footer-row { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.footer-brand { display: flex; align-items: center; gap: 8px; color: var(--amber); font-weight: 750; }
.footer-note { color: var(--text-faint); font: 10px var(--mono); }
.footer-link { color: var(--text-dim); text-decoration: none; }
.footer-link:hover { color: var(--cyan); }
.footer-disclaimer { max-width: 780px; margin-top: 16px; color: var(--text-faint); font-size: 10.5px; line-height: 1.65; }

/* Download */
.dl-wrap { width: min(100%, 900px); margin: 0 auto; padding: 34px 28px 84px; }
.dl-head { padding: 38px 0 42px; text-align: center; }
.dl-head h1 { color: var(--text); font-size: clamp(30px, 5vw, 48px); font-weight: 800; letter-spacing: -1.8px; }
.dl-head p { margin-top: 13px; color: var(--text-dim); font-size: 15px; }
.dl-version { color: var(--text-faint) !important; font: 10px var(--mono) !important; }
.dl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.dl-card { padding: 24px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); backdrop-filter: none !important; -webkit-backdrop-filter: none !important; transition: border-color 0.15s ease, transform 0.15s ease; }
.dl-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.dl-card.recommended { border-color: rgba(245, 166, 35, 0.48); }
.dl-os { display: flex; align-items: center; gap: 11px; }
.dl-os svg { flex: 0 0 auto; opacity: 0.9; }
.dl-os h2 { color: var(--text); font-size: 18px; font-weight: 750; }
.dl-tag { margin-left: auto; padding: 3px 7px; border: 1px solid rgba(245, 166, 35, 0.34); border-radius: 3px; background: rgba(245, 166, 35, 0.1); color: var(--amber-soft); font: 600 9px var(--mono); }
.dl-options { display: flex; flex-direction: column; gap: 8px; margin-top: 19px; }
.dl-btn { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px; border-radius: 4px; color: var(--text); font-size: 12.5px; font-weight: 700; text-decoration: none; transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease; }
.dl-btn .arch { color: var(--text-faint); font: 10px var(--mono); }
.dl-btn-primary { background: var(--amber); color: #11140f; }
.dl-btn-primary .arch { color: rgba(17, 20, 15, 0.65); }
.dl-btn-primary:hover { background: #ffc35b; transform: translateY(-1px); }
.dl-btn-ghost { border: 1px solid var(--border); background: var(--surface); }
.dl-btn-ghost:hover { border-color: var(--cyan); background: #1a2a34; }
.dl-btn-unavailable { opacity: 0.4; pointer-events: none; }
.dl-card-soon { opacity: 0.58; }
.dl-note { margin-top: 14px; padding: 19px 21px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); }
.dl-note h3 { margin-bottom: 10px; color: var(--amber-soft); font-size: 13px; font-weight: 750; }
.dl-note p { margin-bottom: 7px; color: var(--text-dim); font-size: 12px; line-height: 1.65; }
.dl-note p:last-child { margin-bottom: 0; }
.dl-note code { padding: 2px 5px; border: 1px solid rgba(99, 216, 231, 0.22); border-radius: 3px; background: rgba(99, 216, 231, 0.08); color: var(--blue-soft); font: 10px var(--mono); }
.dl-back { display: inline-flex; align-items: center; gap: 6px; margin-top: 24px; color: var(--text-dim); font-size: 12px; text-decoration: none; }
.dl-back:hover { color: var(--cyan); }

/* Account dashboard */
.acct-main { width: min(100%, var(--maxw)); margin: 0 auto; padding: 22px 28px 66px; }
.acct-main [hidden] { display: none !important; }
.acct-loading { padding: 92px 0; color: var(--text-faint); font: 11px var(--mono); text-align: center; }
.acct-login { display: flex; justify-content: center; padding: 42px 0 74px; }
.acct-login-card { width: min(100%, 420px); padding: 31px 29px; border: 1px solid var(--border-strong); border-radius: 7px; background: var(--panel); box-shadow: 0 20px 54px rgba(0, 0, 0, 0.2); text-align: center; }
.acct-login-card .eyebrow { margin-bottom: 18px; }
.acct-login-title { color: var(--text); font-size: 29px; font-weight: 800; letter-spacing: -1.1px; }
.acct-login-sub { margin: 10px 0 25px; color: var(--text-dim); font-size: 13px; line-height: 1.65; }
.acct-form { display: flex; flex-direction: column; gap: 14px; text-align: left; }
.acct-field { display: flex; flex-direction: column; gap: 6px; }
.acct-field > span { color: var(--text-faint); font: 600 9px var(--mono); letter-spacing: 0.12em; text-transform: uppercase; }
.acct-field input { width: 100%; padding: 11px 12px; border: 1px solid var(--border); border-radius: 4px; background: #091015; color: var(--text); font-size: 14px; transition: border-color 0.15s ease, box-shadow 0.15s ease; }
.acct-field input:hover { border-color: var(--border-strong); }
.acct-field input:focus-visible { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(99, 216, 231, 0.12); }
.acct-field input:invalid:not(:placeholder-shown) { border-color: rgba(255, 125, 125, 0.5); }
.acct-error { padding: 9px 11px; border: 1px solid rgba(255, 125, 125, 0.34); border-radius: 4px; background: rgba(124, 32, 40, 0.2); color: #ffb0b0; font-size: 12px; line-height: 1.5; }
.acct-submit { width: 100%; margin-top: 3px; }
.acct-submit:disabled, .acct-chip-btn:disabled, .admin-btn:disabled { opacity: 0.5; cursor: default; transform: none; }
.acct-login-foot { margin-top: 20px; color: var(--text-faint); font-size: 11.5px; line-height: 1.6; }
.acct-login-foot a { color: var(--blue-soft); text-decoration: none; }
.acct-login-foot a:hover { color: var(--cyan); text-decoration: underline; }
.acct-dash { display: flex; flex-direction: column; gap: 14px; padding-top: 12px; }
.acct-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; flex-wrap: wrap; margin-bottom: 4px; }
.acct-hello { color: var(--text); font-size: clamp(22px, 4vw, 31px); font-weight: 800; letter-spacing: -1.15px; line-height: 1.05; }
.acct-sub { margin-top: 7px; color: var(--text-faint); font: 10px var(--mono); }
.acct-head-actions { display: flex; gap: 7px; }
.acct-chip-btn { padding: 8px 12px; border: 1px solid var(--border); border-radius: 4px; background: var(--panel); color: var(--text-dim); cursor: pointer; font-size: 11px; font-weight: 700; transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease; }
.acct-chip-btn:hover { border-color: var(--border-strong); background: var(--surface); color: var(--text); }
.acct-card { min-width: 0; padding: 17px 19px; border: 1px solid var(--border); border-radius: 6px; background: var(--panel); }
.acct-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.acct-label { color: var(--text-faint); font: 700 9px/1.25 var(--mono); letter-spacing: 0.13em; text-transform: uppercase; }
.acct-hint { color: var(--text-faint); font: 500 10px var(--mono); opacity: 0.82; }
.acct-foot { display: block; margin-top: 8px; color: var(--text-faint); font: 10px var(--mono); }
.acct-foot.stale { color: var(--amber-soft); cursor: help; }
.acct-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.acct-hero-card { padding: 21px 22px; }
.acct-hero-val { margin-top: 12px; color: var(--text); font: 900 clamp(30px, 6vw, 50px)/1 var(--mono); letter-spacing: -2.2px; }
.pos { color: var(--green); }
.neg { color: var(--red); }
.flat { color: var(--text-faint); }
.acct-spark { height: 150px; margin: 0 -4px; }
.acct-spark svg { display: block; width: 100%; height: 100%; }
.acct-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 13px; margin-top: 16px; }
.acct-card-head + .acct-mini-grid { margin-top: 0; }
.acct-mini { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.acct-mini-lbl { color: var(--text-faint); font: 600 9px var(--mono); letter-spacing: 0.1em; text-transform: uppercase; }
.acct-mini-val { color: var(--text); font: 700 18px var(--mono); letter-spacing: -0.5px; }
.acct-mini-val.flat { color: var(--text); }
.acct-mini-foot { color: var(--text-faint); font: 10px var(--mono); }
.acct-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.acct-list { display: flex; flex-direction: column; }
.acct-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-width: 0; padding: 10px 0; border-top: 1px solid rgba(137, 186, 201, 0.1); }
.acct-list > .acct-row:first-child { padding-top: 0; border-top: 0; }
.acct-row-main { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.acct-row-title { display: flex; align-items: center; gap: 7px; overflow: hidden; color: var(--text); font-size: 12.5px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.acct-row-sub { overflow: hidden; color: var(--text-faint); font: 10px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.acct-row-val { flex-shrink: 0; color: var(--text); font: 700 13px var(--mono); }
.acct-dir { flex-shrink: 0; padding: 2px 5px; border-radius: 3px; font: 700 8px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; }
.acct-dir.long { background: rgba(86, 213, 139, 0.12); color: var(--green); }
.acct-dir.short { background: rgba(255, 125, 125, 0.12); color: var(--red); }
.acct-tag { padding: 2px 5px; border-radius: 3px; background: rgba(245, 166, 35, 0.12); color: var(--amber-soft); font: 700 8px var(--mono); letter-spacing: 0.07em; text-transform: uppercase; }
.acct-tag.warn { background: rgba(245, 166, 35, 0.16); color: var(--amber-soft); }
.acct-status { display: flex; flex-direction: column; gap: 11px; }
.acct-status-row { display: flex; align-items: center; gap: 10px; }
.acct-dot, .admin-dot { width: 7px; height: 7px; flex: 0 0 auto; border-radius: 50%; background: #3a4a52; }
.acct-dot.live, .admin-dot.live { background: var(--green); box-shadow: 0 0 7px rgba(86, 213, 139, 0.65); }
.acct-dot.warn { background: var(--amber); box-shadow: 0 0 7px rgba(245, 166, 35, 0.65); }
.acct-empty { color: var(--text-faint); font-size: 12px; line-height: 1.6; }
.acct-disclaimer { margin-top: 4px; color: var(--text-faint); font: 10px/1.65 var(--mono); opacity: 0.8; }

/* Trade alerts card */
.acct-notif-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.acct-notif-btn { padding: 8px 14px; font-size: 12px; text-decoration: none; }
.acct-notif-hint { display: block; margin-top: 10px; line-height: 1.6; }
.acct-notif-hint:empty { display: none; }
#notif-history { margin-top: 14px; display: flex; flex-direction: column; gap: 11px; }
#notif-history:empty { display: none; }

/* Admin account controls */
.admin-bar { display: flex; flex-direction: column; gap: 12px; padding: 16px 18px; border: 1px solid rgba(167, 139, 250, 0.34); border-radius: 6px; background: rgba(167, 139, 250, 0.06); }
.admin-bar-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.admin-badge { padding: 3px 7px; border-radius: 3px; background: rgba(167, 139, 250, 0.16); color: #d8ccff; font: 800 8px var(--mono); letter-spacing: 0.12em; }
.admin-bar-controls { display: flex; flex-wrap: wrap; gap: 7px; }
.admin-bar-controls .admin-input { flex: 1; min-width: 180px; }
.admin-users { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 7px; }
.admin-user { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 9px 10px; border: 1px solid var(--border); border-radius: 4px; background: rgba(9, 16, 21, 0.72); color: var(--text); cursor: pointer; text-align: left; transition: background 0.15s ease, border-color 0.15s ease; }
.admin-user:hover, .admin-user:focus-visible { border-color: var(--border-strong); background: var(--surface); }
.admin-user.on { border-color: rgba(167, 139, 250, 0.62); background: rgba(167, 139, 250, 0.12); }
.admin-user-main { display: flex; flex: 1; flex-direction: column; gap: 1px; min-width: 0; }
.admin-user-name { display: flex; align-items: center; gap: 5px; overflow: hidden; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.admin-user-mail { overflow: hidden; color: var(--text-faint); font: 9px var(--mono); text-overflow: ellipsis; white-space: nowrap; }
.admin-user-pnl { flex-shrink: 0; font: 700 11px var(--mono); }
.admin-table-wrap { margin: 0 -4px; overflow-x: auto; }
.admin-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: 12px; }
.admin-table th { padding: 8px 10px; border-bottom: 1px solid var(--border); color: var(--text-faint); cursor: pointer; font: 700 9px var(--mono); letter-spacing: 0.1em; text-align: left; text-transform: uppercase; user-select: none; white-space: nowrap; }
.admin-table th:hover, .admin-table th:focus-visible { color: var(--text); }
.admin-table th.right, .admin-table td.right { text-align: right; }
.admin-table tbody tr { cursor: pointer; transition: background 0.12s ease; }
.admin-table tbody tr:hover { background: rgba(99, 216, 231, 0.07); }
.admin-table tbody tr:focus-visible { background: rgba(99, 216, 231, 0.07); outline: 2px solid var(--cyan); outline-offset: -2px; }
.admin-table td { padding: 10px; border-bottom: 1px solid rgba(137, 186, 201, 0.08); font-variant-numeric: tabular-nums; white-space: nowrap; }
.admin-table tfoot td { padding: 10px; border-top: 1px solid var(--border); color: var(--text-dim); font-weight: 700; }
.admin-td-name { display: flex; align-items: center; gap: 6px; font-weight: 650; }
.admin-td-mail { display: block; margin-top: 2px; color: var(--text-faint); font: 9px var(--mono); }
.admin-flag { color: var(--amber-soft); font: 9px var(--mono); }
.admin-fields { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; flex-shrink: 0; }
.admin-input { width: 108px; padding: 7px 9px; border: 1px solid var(--border); border-radius: 4px; background: #091015; color: var(--text); font-size: 12px; }
.admin-input-wide { width: auto; min-width: 150px; flex: 1; }
.admin-input:hover { border-color: var(--border-strong); }
.admin-input:focus-visible { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(167, 139, 250, 0.13); }
.admin-check { display: flex; align-items: center; gap: 5px; color: var(--text-dim); font: 10px var(--mono); white-space: nowrap; }
.admin-btn { padding: 7px 11px; border: 1px solid rgba(167, 139, 250, 0.35); border-radius: 4px; background: rgba(167, 139, 250, 0.12); color: #d8ccff; cursor: pointer; font-size: 11px; font-weight: 700; transition: background 0.15s ease, border-color 0.15s ease; }
.admin-btn:hover { border-color: rgba(167, 139, 250, 0.65); background: rgba(167, 139, 250, 0.22); }
.admin-btn.danger { border-color: rgba(255, 125, 125, 0.32); background: rgba(255, 125, 125, 0.1); color: #ffb0b0; }
.admin-btn.danger:hover { border-color: rgba(255, 125, 125, 0.58); background: rgba(255, 125, 125, 0.18); }
.admin-row { align-items: center; flex-wrap: wrap; gap: 12px; }
.admin-add { padding-bottom: 14px; border-top: 0; }
.admin-more { padding-top: 12px; }
.admin-delta { color: var(--text-dim); font-size: 11px; }

/* Reveal and responsive */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { min-height: auto; padding-top: 72px; text-align: center; }
  .hero-copy { width: min(100%, 680px); margin: 0 auto; }
  .hero-title, .hero-sub { margin-right: auto; margin-left: auto; }
  .hero-actions { justify-content: center; }
  .scene-hud { display: none; }
  .proof { margin-top: 330px; }
  .scene-section { min-height: auto; align-items: stretch; }
  .scene-section > * { width: 100%; max-width: none; margin-right: auto; margin-left: auto; }
  .scene-section .section-eyebrow, .scene-section .section-title, .scene-section .section-lede, .scene-section .int-note { text-align: center; }
  .scene-section .section-lede { margin-right: auto; margin-left: auto; }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .scene-section .steps { grid-template-columns: repeat(3, 1fr); }
  .scene-section .step:last-child { grid-column: auto; min-height: 170px; }
  .scene-section .market-grid { grid-template-columns: repeat(3, 1fr); }
  .scene-section .integrations { grid-template-columns: 1fr 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .acct-hero-grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .nav { min-height: 62px; padding: 13px 16px; }
  .nav-toggle { display: block; }
  .nav-links { position: absolute; top: 58px; right: 16px; left: 16px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 7px; border: 1px solid var(--border-strong); border-radius: 5px; background: #0b1319; box-shadow: 0 16px 35px rgba(0, 0, 0, 0.4); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 10px; }
  .nav-links a:not(.nav-cta):not(.nav-account) { display: block; }
  .proof-grid, .proof-bottom, .integrations, .acct-two-col { grid-template-columns: 1fr; }
  .proof { margin-top: 250px; }
  .workflow { grid-template-columns: repeat(2, 1fr); }
  .market-grid { grid-template-columns: 1fr; }
  .scene-section .market-grid, .scene-section .integrations { grid-template-columns: 1fr; }
  .market-points { grid-template-columns: 1fr; gap: 25px; }
  .acct-main { padding: 15px 16px 50px; }
  .acct-card { padding: 15px; }
  .acct-head-actions { width: 100%; }
  .acct-chip-btn { flex: 1; }
  .admin-users { grid-template-columns: 1fr; }
  .admin-fields { width: 100%; }
  .admin-input { flex: 1; width: auto; min-width: 90px; }
  .dl-wrap { padding: 22px 16px 65px; }
  .dl-grid { grid-template-columns: 1fr; }
  .section, .cta { padding-right: 16px; padding-left: 16px; }
}

@media (max-width: 560px) {
  .brand-name { font-size: 15px; }
  .hero { padding: 58px 16px 55px; }
  .hero-title { letter-spacing: -1.8px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .steps, .cards, .workflow { grid-template-columns: 1fr; }
  .workflow-stage { min-height: auto; }
  .section { padding-top: 64px; padding-bottom: 64px; }
  .section-title { letter-spacing: -0.9px; }
  .proof-controls { align-items: stretch; flex-direction: column; }
  .proof { margin-top: 210px; }
  .proof-controls .proof-label { margin-bottom: 2px; }
  .proof-profile { width: 100%; }
  .acct-login { padding-top: 24px; }
  .acct-login-card { padding: 25px 20px; }
  .acct-card-head { align-items: flex-start; flex-direction: column; gap: 5px; }
  .acct-hero-card { padding: 18px; }
  .acct-hero-val { font-size: 36px; }
  .acct-sub { overflow-wrap: anywhere; }
  .footer { padding-right: 16px; padding-left: 16px; }
}

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