:root {
  --bg: #07100e;
  --bg-elev: #0d1816;
  --bg-panel: #101d1a;
  --border: #1b2c28;
  --border-strong: #2a4239;
  --text: #e6f0ec;
  --text-muted: #7e948c;
  --text-dim: #56655f;
  --green: #3fdc7e;
  --green-dim: #1f8a4a;
  --red: #ff4d6d;
  --red-dim: #8b1f33;
  --amber: #ffb84d;
  --blue: #6ec1ff;
  --max: 1140px;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  background-image:
    radial-gradient(1200px 600px at 80% -10%, rgba(63,220,126,0.07), transparent 60%),
    radial-gradient(900px 500px at 0% 30%, rgba(110,193,255,0.04), transparent 60%);
}
a { color: var(--green); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: rgba(63,220,126,0.3); color: var(--text); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- Nav ---------- */
nav.top {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,16,14,0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--border);
}
nav.top .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-weight: 600; font-size: 17px;
  color: var(--text); letter-spacing: -0.01em;
}
.brand:hover { text-decoration: none; }
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 12px rgba(63,220,126,0.7);
  animation: pulse 2.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.85); }
}
nav.top .links { display: flex; gap: 28px; align-items: center; }
nav.top .links a {
  color: var(--text-muted); font-size: 14px; font-weight: 500;
}
nav.top .links a:hover { color: var(--text); text-decoration: none; }
nav.top .cta {
  background: var(--green); color: #042210;
  padding: 8px 16px; border-radius: 6px;
  font-weight: 600; font-size: 14px;
}
nav.top .cta:hover { background: #5fe896; text-decoration: none; }
@media (max-width: 640px) {
  nav.top .links a:not(.cta) { display: none; }
}

/* ---------- Hero ---------- */
section.hero {
  padding: 96px 0 80px;
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 12px;
  color: var(--green); letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px;
  background: rgba(63,220,126,0.08);
  border: 1px solid rgba(63,220,126,0.25);
}
.eyebrow::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--green); box-shadow: 0 0 8px var(--green);
}
h1.headline {
  font-size: clamp(38px, 6vw, 68px);
  line-height: 1.05; letter-spacing: -0.025em; font-weight: 700;
  margin: 24px 0 20px; max-width: 920px;
}
h1.headline em {
  font-style: normal; color: var(--green);
  text-shadow: 0 0 24px rgba(63,220,126,0.3);
}
h1.headline s {
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 4px;
  color: var(--text-dim);
}
.lede {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-muted); max-width: 700px; margin: 0 0 36px;
}
.lede strong { color: var(--text); font-weight: 600; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; border-radius: 8px;
  font-weight: 600; font-size: 15px;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--green); color: #042210;
}
.btn-primary:hover { background: #5fe896; }
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--green); color: var(--green); }

/* Hero terminal panel */
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 56px; align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
}
.terminal {
  background: #060d0c;
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6),
              0 0 0 1px rgba(63,220,126,0.05);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.7;
}
.term-bar {
  background: #0c1614;
  padding: 10px 14px;
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 10px;
}
.term-dots { display: flex; gap: 6px; }
.term-dots span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #2c3a37;
}
.term-dots span:nth-child(1) { background: #ff5f56; }
.term-dots span:nth-child(2) { background: #ffbd2e; }
.term-dots span:nth-child(3) { background: #27c93f; }
.term-title {
  color: var(--text-muted); font-size: 12px; margin-left: 8px;
  flex: 1; text-align: center;
}
.term-body { padding: 18px 20px 22px; min-height: 280px; }
.term-line { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.term-line .ts { color: var(--text-dim); margin-right: 10px; }
.term-line .ip { color: var(--blue); margin-right: 10px; }
.term-line .method { color: var(--amber); margin-right: 8px; }
.term-line .path { color: var(--text); margin-right: 10px; }
.term-line .killed { color: var(--red); font-weight: 600; }
.term-line .passed { color: var(--green); font-weight: 600; }
.term-line .ms { color: var(--text-muted); margin-left: 8px; }
.term-feed { display: flex; flex-direction: column; gap: 4px; }
.term-feed .row { opacity: 0; transform: translateY(6px); transition: all 0.3s ease; }
.term-feed .row.show { opacity: 1; transform: translateY(0); }
.term-prompt { color: var(--green); margin-top: 16px; }
.term-prompt::before { content: "$ "; color: var(--text-dim); }
.term-prompt .cur {
  display: inline-block; width: 8px; height: 14px;
  background: var(--green); vertical-align: -2px; margin-left: 2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Stats strip ---------- */
section.stats {
  padding: 56px 0; border-bottom: 1px solid var(--border);
}
.stat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
@media (max-width: 720px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat .num {
  font-family: var(--mono);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 600;
  color: var(--green);
  letter-spacing: -0.02em;
  line-height: 1;
}
.stat .num small {
  color: var(--text-muted); font-size: 0.55em; margin-left: 4px; font-weight: 500;
}
.stat .label {
  margin-top: 10px; color: var(--text-muted); font-size: 13px;
  text-transform: uppercase; letter-spacing: 0.06em;
}

/* ---------- Section common ---------- */
section.block { padding: 96px 0; border-bottom: 1px solid var(--border); }
.section-eyebrow {
  font-family: var(--mono); font-size: 12px; color: var(--green);
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px;
}
h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15; letter-spacing: -0.02em;
  margin: 0 0 20px; font-weight: 700;
}
.lead {
  font-size: 18px; color: var(--text-muted);
  max-width: 720px; margin: 0 0 48px;
}

/* ---------- The problem ---------- */
.compare {
  display: grid; grid-template-columns: 1fr 80px 1fr; gap: 0;
  align-items: stretch; margin-top: 8px;
}
@media (max-width: 760px) {
  .compare { grid-template-columns: 1fr; }
  .compare .vs { display: none; }
}
.compare .col {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 32px 28px;
  display: flex; flex-direction: column;
}
.compare .col.bad { border-color: rgba(255,77,109,0.25); }
.compare .col.good { border-color: rgba(63,220,126,0.25); }
.compare .col h3 {
  margin: 0 0 6px; font-size: 14px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.compare .col.bad h3 { color: var(--red); }
.compare .col.good h3 { color: var(--green); }
.compare .big {
  font-family: var(--mono); font-size: clamp(36px, 5vw, 56px);
  font-weight: 600; letter-spacing: -0.02em; line-height: 1; margin: 12px 0 8px;
}
.compare .col.bad .big { color: var(--red); }
.compare .col.good .big { color: var(--green); }
.compare .col p { margin: 6px 0 0; color: var(--text-muted); font-size: 15px; }
.compare .vs {
  display: flex; align-items: center; justify-content: center;
  color: var(--text-dim); font-family: var(--mono);
  font-size: 14px;
}

/* ---------- How it works ---------- */
.flow {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 36px;
  font-family: var(--mono);
  overflow-x: auto;
}
.flow pre {
  margin: 0; color: var(--text); font-size: 13px;
  line-height: 1.65; white-space: pre;
}
.flow .c-green { color: var(--green); }
.flow .c-red { color: var(--red); }
.flow .c-blue { color: var(--blue); }
.flow .c-muted { color: var(--text-muted); }

.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
  margin-top: 36px;
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }
.step {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 24px;
}
.step .num {
  font-family: var(--mono); font-size: 12px; color: var(--green);
  letter-spacing: 0.08em;
}
.step h4 {
  margin: 8px 0 8px; font-size: 18px; font-weight: 600; letter-spacing: -0.01em;
}
.step p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- Why now / market ---------- */
.why-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px;
}
@media (max-width: 760px) { .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
}
.why-card h4 {
  margin: 0 0 10px; font-size: 17px; font-weight: 600;
  color: var(--text);
}
.why-card h4 .icon {
  display: inline-block; width: 24px; height: 24px;
  background: rgba(63,220,126,0.1); color: var(--green);
  border-radius: 6px; text-align: center;
  line-height: 24px; font-size: 13px; margin-right: 8px;
  font-family: var(--mono);
}
.why-card p { margin: 0; color: var(--text-muted); font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { display: flex; flex-direction: column; gap: 12px; max-width: 820px; }
details.qa {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 20px 24px;
  transition: border-color 0.2s;
}
details.qa[open] { border-color: var(--border-strong); }
details.qa summary {
  cursor: pointer; list-style: none;
  font-weight: 600; font-size: 16px;
  display: flex; justify-content: space-between; align-items: center;
  color: var(--text);
}
details.qa summary::-webkit-details-marker { display: none; }
details.qa summary::after {
  content: "+"; font-family: var(--mono); color: var(--green);
  font-size: 22px; transition: transform 0.2s;
}
details.qa[open] summary::after { content: "−"; }
details.qa p {
  margin: 14px 0 0; color: var(--text-muted); font-size: 15px;
  line-height: 1.7;
}

/* ---------- CTA ---------- */
section.cta-band {
  padding: 80px 0;
  background:
    radial-gradient(800px 400px at 50% 0%, rgba(63,220,126,0.08), transparent 70%),
    var(--bg);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.cta-band h2 { margin-bottom: 14px; }
.cta-band p { color: var(--text-muted); font-size: 17px; margin: 0 0 32px; }
.cta-band .btns { display: inline-flex; gap: 14px; flex-wrap: wrap; justify-content: center; }

/* ---------- Footer ---------- */
footer {
  padding: 48px 0 64px;
  color: var(--text-dim);
  font-size: 14px;
}
footer .wrap {
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  flex-wrap: wrap;
}
footer .brand { font-size: 14px; }
footer a { color: var(--text-muted); margin-left: 20px; }
footer a:hover { color: var(--green); text-decoration: none; }
footer .left { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
footer .copy { color: var(--text-dim); }

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
@media (max-width: 1100px) { .testimonials { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .testimonials { grid-template-columns: 1fr; } }
.testimonial {
  background: var(--bg-panel);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.testimonial .quote {
  margin: 0; color: var(--text); font-size: 15px; line-height: 1.75;
  font-style: italic; flex: 1;
}
.attr-name { font-weight: 600; font-size: 14px; color: var(--text); }
.attr-role { font-size: 13px; color: var(--text-muted); margin-top: 3px; }
