:root {
  --bg: #000000;
  --bg-alt: #0a0a0a;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --text: #ffffff;
  --muted: #9a9a9a;
  --accent: #ffffff;
  --accent-2: #d4d4d4;
  --neg: #bdbdbd;
  --radius: 14px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .6);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; cursor: pointer; white-space: nowrap; transition: transform .15s, box-shadow .15s, background .15s;
  font-family: inherit;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary:hover { background: #e5e5e5; }
.btn-primary {
  background: #ffffff;
  color: #000000;
}
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(255,255,255,.02); }
.btn-ghost:hover { background: rgba(255,255,255,.06); }
.btn-sm { padding: 9px 16px; font-size: 14px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(0, 0, 0, .75);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner { display: flex; align-items: center; gap: 32px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.logo b { font-weight: 800; color: var(--accent); }
.nav-links { display: flex; gap: 28px; margin-left: auto; font-size: 15px; color: var(--muted); }
.nav-links a { white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; gap: 10px; }
.cta-buttons { display: flex; gap: 12px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.menu-toggle { display: none; background: none; border: 0; width: 36px; height: 36px; cursor: pointer; flex-direction: column; justify-content: center; gap: 6px; }
.menu-toggle span { display: block; height: 2px; width: 22px; background: var(--text); border-radius: 2px; margin: 0 auto; transition: transform .2s; }

/* Hero */
.hero {
  position: relative; padding: 80px 0 90px;
  background:
    radial-gradient(700px 400px at 85% 10%, rgba(255,255,255,0.09), transparent 60%),
    radial-gradient(600px 400px at 10% 0%, rgba(255,255,255,0.08), transparent 60%);
}
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent);
  margin-bottom: 18px;
}
.eyebrow.center { display: flex; justify-content: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(255,255,255,0.12); }
h1 { font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.03em; font-weight: 800; }
.grad { color: #fff; text-decoration: underline; text-decoration-thickness: 4px; text-underline-offset: 8px; }
.lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-cta { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-top: 32px; list-style: none; font-size: 14px; color: var(--muted); }
.hero-points li::before { content: "✓"; color: var(--accent); margin-right: 8px; font-weight: 700; }

.hero-card {
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); border-radius: 18px; padding: 22px;
  box-shadow: var(--shadow);
}
.card-head { display: flex; justify-content: space-between; align-items: flex-start; }
.card-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.card-title { font-size: 18px; font-weight: 700; margin-top: 2px; }
.tag { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255,255,255,0.07); color: #e5e5e5; }
.equity { width: 100%; height: 150px; margin: 18px 0 14px; }
.equity .grid-lines line { stroke: var(--border); stroke-dasharray: 3 4; }
.equity .line { fill: none; stroke: var(--accent); stroke-width: 2.5; stroke-linejoin: round; vector-effect: non-scaling-stroke;
  stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: draw 2s ease-out .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stats div { background: rgba(255,255,255,.03); border: 1px solid var(--border); border-radius: 10px; padding: 10px 12px; }
.stats p { font-size: 12px; color: var(--muted); }
.stats b { font-family: "JetBrains Mono", monospace; font-size: 18px; }
.stats .neg { color: var(--neg); }
.ai-note { display: flex; gap: 12px; margin-top: 14px; padding: 12px 14px; border-radius: 10px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.12); font-size: 14px; }
.ai-badge { flex: none; font-size: 11px; font-weight: 800; padding: 3px 7px; border-radius: 6px; background: var(--accent); color: #000000; height: fit-content; }
.card-foot { margin-top: 12px; font-size: 11px; color: var(--muted); text-align: right; }

/* Strip */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-alt); }
.strip-inner { display: grid; grid-template-columns: repeat(4, 1fr); padding: 28px 24px; gap: 16px; }
.strip-inner div { display: flex; flex-direction: column; align-items: center; text-align: center; }
.strip-inner b { font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.strip-inner span { font-size: 13px; color: var(--muted); }

/* Sections */
.section { padding: 100px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: clamp(28px, 3.6vw, 42px); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; max-width: 720px; margin: 0 auto; }
.sub { color: var(--muted); margin-top: 14px; font-size: 17px; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; }
.feature {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px;
  transition: border-color .2s, transform .2s;
}
.feature:hover { border-color: rgba(255,255,255,0.24); transform: translateY(-3px); }
.icon {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 10px; font-size: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.11), rgba(255,255,255,0.09)); color: var(--accent); margin-bottom: 18px;
}
.feature h3 { font-size: 18px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 15px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 56px; counter-reset: s; }
.steps li { position: relative; padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); }
.num { font-family: "JetBrains Mono", monospace; font-size: 14px; color: var(--accent); display: block; margin-bottom: 14px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }
.steps p { color: var(--muted); font-size: 15px; }
.steps em { color: var(--text); font-style: normal; background: rgba(255,255,255,.04); padding: 1px 4px; border-radius: 4px; }

.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 44px; }
.chips span {
  padding: 10px 18px; border-radius: 999px; border: 1px solid var(--border); background: var(--surface);
  font-size: 15px; font-weight: 500; transition: border-color .2s, color .2s;
}
.chips span:hover { border-color: var(--accent); color: var(--accent); }

.faq { margin-top: 44px; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 18px 22px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 16px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin-top: 12px; font-size: 15px; }

/* CTA */
.cta-box {
  text-align: center; max-width: 860px; padding: 64px 32px; border-radius: 24px;
  background:
    radial-gradient(500px 240px at 50% 0%, rgba(255,255,255,0.11), transparent 70%),
    linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
}
.cta-box p { color: var(--muted); margin-top: 12px; font-size: 17px; }
.cta-box .fine { font-size: 13px; margin-top: 14px; }

/* Auth pages */
.auth-page { min-height: 100vh; display: flex; flex-direction: column;
  background:
    radial-gradient(700px 400px at 85% 0%, rgba(255,255,255,0.08), transparent 60%),
    radial-gradient(600px 400px at 10% 10%, rgba(255,255,255,0.07), transparent 60%),
    var(--bg); }
.auth-top { display: flex; justify-content: space-between; align-items: center; height: 68px; }
.auth-top .back { font-size: 14px; color: var(--muted); }
.auth-top .back:hover { color: var(--text); }
.auth-wrap { flex: 1; display: grid; place-items: center; padding: 24px 16px 64px; }
.auth-card {
  width: 100%; max-width: 420px; padding: 36px 32px; border-radius: 18px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border); box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 28px; letter-spacing: -.02em; }
.auth-card .sub-text { color: var(--muted); margin-top: 6px; font-size: 15px; }
.auth-form { display: grid; gap: 16px; margin-top: 28px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; }
.field-row { display: flex; justify-content: space-between; align-items: baseline; }
.field-row a, .auth-alt a, .check a { color: var(--accent); font-size: 14px; }
.field input {
  padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 15px; font-family: inherit;
}
.field input:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); }
.check input { margin-top: 4px; accent-color: var(--accent); }
.auth-form .btn { width: 100%; margin-top: 4px; }
.auth-alt { text-align: center; margin-top: 22px; font-size: 14px; color: var(--muted); }
.form-msg { display: none; padding: 12px 14px; border-radius: 10px; font-size: 14px;
  background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.15); color: #e5e5e5; }
.form-msg.show { display: block; }

/* Footer */
.footer { border-top: 1px solid var(--border); padding: 48px 0 32px; background: var(--bg-alt); }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.footer-inner .muted { margin-top: 10px; font-size: 14px; }
.footer-links { display: flex; gap: 24px; font-size: 14px; color: var(--muted); align-items: center; }
.footer-links a:hover { color: var(--text); }
.disclaimer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--border); font-size: 13px; color: var(--muted); display: grid; gap: 10px; }
.disclaimer b { color: var(--text); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .equity .line { animation: none; stroke-dashoffset: 0; }
  html { scroll-behavior: auto; }
}

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; }
  .feature-grid, .steps { grid-template-columns: 1fr 1fr; }
  .strip-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 880px) {
  .nav-inner { gap: 10px; }
  .nav-actions { margin-left: auto; gap: 6px; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--border); padding: 8px 16px 16px;
    display: none;
  }
  .nav-links a { padding: 12px 0; border-bottom: 1px solid var(--border); }
  .nav.open .nav-links { display: flex; }
  .nav.open .menu-toggle span:first-child { transform: translateY(4px) rotate(45deg); }
  .nav.open .menu-toggle span:last-child { transform: translateY(-4px) rotate(-45deg); }
}
@media (max-width: 720px) {
  .container { padding: 0 16px; }
  .nav-actions .btn { padding: 8px 12px; font-size: 13px; }
  .hero { padding: 48px 0 64px; }
  .section { padding: 72px 0; }
  .feature-grid, .steps { grid-template-columns: 1fr; }
  .cta-box { padding: 44px 20px; }
}
