:root {
  --bg: #0a0e14;
  --bg-alt: #0e141d;
  --surface: #121a26;
  --border: #1f2a3a;
  --text: #e6edf3;
  --text-dim: #8b98a9;
  --accent: #00e07a;
  --accent-dim: rgba(0, 224, 122, 0.12);
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; }
.center { text-align: center; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); font-weight: 700; margin-bottom: 2rem; }
h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.5rem; }

.accent { color: var(--accent); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-weight: 700; font-size: 1.05rem;
  color: var(--text); text-decoration: none;
}
.brand-mark { color: var(--accent); }
.brand-accent { color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a { color: var(--text-dim); text-decoration: none; font-size: 0.9rem; font-weight: 500; }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-block; padding: 12px 24px; border-radius: 8px;
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  border: 1px solid var(--border); color: var(--text);
  cursor: pointer; transition: all 0.15s ease;
}
.btn-primary {
  background: var(--accent); border-color: var(--accent); color: #04140c;
}
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-small { padding: 8px 16px; font-size: 0.85rem; background: var(--accent-dim); border-color: var(--accent); color: var(--accent) !important; }

/* Hero */
.hero {
  padding: 110px 0 80px;
  background:
    radial-gradient(ellipse 70% 50% at 50% -10%, rgba(0, 224, 122, 0.09), transparent),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(31, 42, 58, 0.35) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(31, 42, 58, 0.35) 48px);
}
.hero-kicker, .section-kicker {
  font-family: var(--mono); font-size: 0.8rem; letter-spacing: 0.12em;
  color: var(--accent); margin-bottom: 1rem;
}
.hero-sub {
  max-width: 560px; margin: 1.5rem 0 2rem;
  color: var(--text-dim); font-size: 1.15rem;
}
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-ticker {
  display: flex; gap: 32px; flex-wrap: wrap;
  margin-top: 64px; padding: 16px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  font-family: var(--mono); font-size: 0.8rem; color: var(--text-dim);
}
.hero-ticker em { font-style: normal; margin-left: 6px; }
.hero-ticker .up { color: var(--accent); }
.hero-ticker .strike { color: #ffb02e; }

/* Sections */
.section { padding: 88px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

/* Cards */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 28px 24px;
  transition: border-color 0.15s ease;
}
.card:hover { border-color: var(--accent); }
.card p { color: var(--text-dim); font-size: 0.92rem; }
.card-icon { font-size: 1.6rem; margin-bottom: 12px; }

/* Steps */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 20px; list-style: none; counter-reset: step;
}
.step { position: relative; padding: 24px 20px 0; border-top: 2px solid var(--border); }
.step-num {
  font-family: var(--mono); font-size: 0.8rem; color: var(--accent);
  display: block; margin-bottom: 8px;
}
.step p { color: var(--text-dim); font-size: 0.92rem; }

/* Pricing */
.price-card { text-align: center; position: relative; }
.price { font-family: var(--mono); font-size: 1.8rem; font-weight: 700; color: var(--accent); margin: 8px 0 12px; }
.price-featured { border-color: var(--accent); box-shadow: 0 0 32px rgba(0, 224, 122, 0.08); }
.badge {
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: #04140c;
  font-size: 0.72rem; font-weight: 700; padding: 3px 12px; border-radius: 99px;
}
.pricing-note { margin-top: 24px; color: var(--text-dim); font-size: 0.9rem; text-align: center; }

/* FAQ */
details {
  border: 1px solid var(--border); border-radius: 10px;
  background: var(--surface); margin-bottom: 12px; padding: 0 20px;
}
summary {
  cursor: pointer; font-weight: 600; padding: 16px 0;
  list-style: none; position: relative;
}
summary::after {
  content: "+"; position: absolute; right: 0; color: var(--accent);
  font-family: var(--mono); font-size: 1.2rem;
}
details[open] summary::after { content: "\2212"; }
details p { color: var(--text-dim); padding-bottom: 16px; font-size: 0.95rem; }

/* Waitlist */
.section-cta {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(0, 224, 122, 0.08), transparent);
  padding: 110px 0;
}
.waitlist-form {
  display: flex; gap: 10px; justify-content: center;
  margin-top: 2rem; flex-wrap: wrap;
}
.waitlist-form input {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 12px 16px; color: var(--text);
  font-size: 0.95rem; min-width: 280px; font-family: var(--sans);
}
.waitlist-form input:focus { outline: none; border-color: var(--accent); }
.form-note { margin-top: 14px; color: var(--text-dim); font-size: 0.85rem; }

/* References / citations */
sup a { color: var(--accent); text-decoration: none; font-size: 0.75em; }
sup a:hover { text-decoration: underline; }
.refs {
  list-style-position: outside; padding-left: 1.4rem;
  color: var(--text-dim); font-size: 0.9rem;
}
.refs li { margin-bottom: 12px; }
.refs a { color: var(--accent); text-decoration: none; }
.refs a:hover { text-decoration: underline; }
.refs-note { margin-top: 20px; color: var(--text-dim); font-size: 0.8rem; font-style: italic; }
.honesty-note {
  margin-top: 28px; padding: 24px 28px;
  background: var(--accent-dim); border: 1px solid var(--accent); border-radius: 12px;
}
.honesty-note p { color: var(--text); font-size: 0.95rem; }

/* Coming-soon teaser */
body.minimal { display: flex; flex-direction: column; min-height: 100vh; }
body.minimal main { flex: 1; display: flex; }
.teaser {
  flex: 1; display: flex; align-items: center; padding: 64px 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 40%, rgba(0, 224, 122, 0.07), transparent),
    repeating-linear-gradient(0deg, transparent, transparent 47px, rgba(31, 42, 58, 0.3) 48px),
    repeating-linear-gradient(90deg, transparent, transparent 47px, rgba(31, 42, 58, 0.3) 48px);
}
.teaser-mark { color: var(--accent); margin-bottom: 20px; }
.teaser-dot { animation: teaser-pulse 2.4s ease-in-out infinite; transform-origin: center; }
@keyframes teaser-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}
.teaser-brand {
  font-family: var(--mono); font-weight: 700; font-size: 1.2rem;
  letter-spacing: 0.06em; margin-bottom: 2.5rem;
}
.teaser-headline { font-size: clamp(2.2rem, 6vw, 3.6rem); font-weight: 800; }
.teaser-sub {
  color: var(--text-dim); font-size: 1.1rem;
  max-width: 460px; margin: 1.25rem auto 2.5rem;
}
.teaser-lines {
  display: flex; flex-direction: column; gap: 6px; align-items: center;
  font-family: var(--mono); font-size: 0.85rem; color: var(--text-dim);
  margin-bottom: 2.5rem;
}
.teaser-line .cursor { animation: teaser-pulse 1.1s steps(2) infinite; color: var(--accent); }
.teaser-footer { margin-top: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
  .grid-4, .steps { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
}
@media (max-width: 560px) {
  .grid-4, .steps { grid-template-columns: 1fr; }
  .hero { padding: 72px 0 56px; }
  .hero-ticker { gap: 12px; flex-direction: column; }
}
