:root {
  --void: #0B0E17;
  --panel: #141A29;
  --panel2: #1A2233;
  --line: #26304A;
  --ink: #E8ECF5;
  --dim: #7C8AA5;
  --faint: #4F5B76;
  --amber: #FFB454;
  --amber-deep: #E8922E;
  --go: #5BE39B;
  --red: #FF9A7C;
  --display: 'Chivo', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --body: 'Inter', system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--void);
  color: var(--ink);
  font-family: var(--body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* faint console grid behind everything */
.grid-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.18;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 80%);
}

a { color: inherit; text-decoration: none; }

/* ---- nav ---- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1080px;
  margin: 0 auto;
  padding: 24px 24px;
}
.brand { display: flex; align-items: center; gap: 10px; }
.brand-mark { color: var(--amber); font-size: 22px; line-height: 1; }
.brand-logo { width: 32px; height: 32px; border-radius: 8px; display: block; }
.brand-name {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 18px;
}
.nav-cta {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 8px;
  transition: border-color .2s, color .2s;
}
.nav-cta:hover { color: var(--ink); border-color: var(--faint); }

/* ---- hero ---- */
.hero {
  max-width: 820px;
  margin: 0 auto;
  padding: 64px 24px 40px;
  text-align: center;
}
.hero-logo {
  width: 96px;
  height: 96px;
  border-radius: 22px;
  display: block;
  margin: 0 auto 22px;
  box-shadow: 0 0 52px rgba(255, 180, 84, 0.2);
}
.readout {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--amber);
  border: 1px solid rgba(255, 180, 84, 0.3);
  background: rgba(255, 180, 84, 0.06);
  border-radius: 999px;
  padding: 6px 14px;
  margin-bottom: 28px;
}
.hero h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(34px, 6vw, 60px);
  line-height: 1.05;
  letter-spacing: -1px;
}
.hero h1 .amber {
  color: var(--amber);
  text-shadow: 0 0 32px rgba(255, 180, 84, 0.35);
}
.lede {
  color: var(--dim);
  font-size: clamp(16px, 2.2vw, 19px);
  max-width: 620px;
  margin: 24px auto 36px;
}

/* ---- waitlist form ---- */
.waitlist {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}
.waitlist input {
  flex: 1;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 15px;
  padding: 14px 16px;
  outline: none;
  transition: border-color .2s;
}
.waitlist input::placeholder { color: var(--faint); }
.waitlist input:focus { border-color: var(--amber); }
.waitlist button {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  color: #1a1205;
  background: var(--amber);
  border: none;
  border-radius: 10px;
  padding: 14px 22px;
  cursor: pointer;
  transition: background .15s, transform .05s;
}
.waitlist button:hover { background: var(--amber-deep); }
.waitlist button:active { transform: translateY(1px); }
.waitlist button:disabled { opacity: .6; cursor: default; }
.form-note {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
  margin-top: 14px;
}
.form-note.ok { color: var(--go); }
.form-note.err { color: var(--red); }

/* ---- features ---- */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  max-width: 880px;
  margin: 48px auto;
  padding: 0 24px;
}
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 28px;
  transition: border-color .2s, transform .2s;
}
.card:hover { border-color: var(--faint); transform: translateY(-2px); }
.card-icon {
  font-size: 24px;
  color: var(--amber);
  margin-bottom: 14px;
}
.card h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 19px;
  margin-bottom: 8px;
}
.card p { color: var(--dim); font-size: 15px; }

/* ---- metric strip ---- */
.strip {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 64px;
  padding: 0 24px;
}
.strip-item {
  flex: 1;
  min-width: 180px;
  background: var(--panel2);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
}
.metric {
  display: block;
  font-family: var(--mono);
  font-weight: 600;
  font-size: 26px;
  color: var(--amber);
}
.metric-label {
  display: block;
  font-size: 13px;
  color: var(--dim);
  margin-top: 6px;
}

/* ---- final cta ---- */
.cta-final {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.cta-final h2 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(26px, 4vw, 38px);
  letter-spacing: -0.5px;
}
.cta-final p { color: var(--dim); margin: 14px 0 26px; }
.button {
  display: inline-block;
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 1px;
  font-size: 14px;
  color: #1a1205;
  background: var(--amber);
  border-radius: 10px;
  padding: 14px 28px;
  transition: background .15s;
}
.button:hover { background: var(--amber-deep); }

/* ---- footer ---- */
.footer {
  border-top: 1px solid var(--line);
  max-width: 1080px;
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-brand {
  font-family: var(--display);
  font-weight: 900;
  letter-spacing: 2px;
  font-size: 15px;
}
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand .brand-mark { font-size: 16px; }
.footer-brand .brand-logo { width: 22px; height: 22px; border-radius: 6px; }
.footer-links { display: flex; gap: 22px; }
.footer-links a {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
  transition: color .2s;
}
.footer-links a:hover { color: var(--amber); }
.footer-copy {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--faint);
  width: 100%;
  text-align: center;
}

/* ---- legal / content pages ---- */
.doc {
  max-width: 740px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}
.doc .back {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--dim);
}
.doc .back:hover { color: var(--amber); }
.doc h1 {
  font-family: var(--display);
  font-weight: 900;
  font-size: clamp(28px, 5vw, 40px);
  margin: 24px 0 6px;
}
.doc .updated {
  font-family: var(--mono);
  font-size: 13px;
  color: var(--faint);
  margin-bottom: 28px;
}
.doc h2 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  margin: 32px 0 10px;
  color: var(--ink);
}
.doc p, .doc li { color: var(--dim); font-size: 15px; margin-bottom: 12px; }
.doc ul { padding-left: 22px; }
.doc a:not(.back) { color: var(--info, #7FA9FF); }
.doc a:not(.back):hover { text-decoration: underline; }

@media (max-width: 640px) {
  .features { grid-template-columns: 1fr; }
  .waitlist { flex-direction: column; }
}
