:root {
  --bg: #0a0a0b;
  --panel: #101012;
  --text: #f3f4f6;
  --muted: #8a8f98;
  --faint: #5b6068;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #54c45e;
  --accent-ink: #06180a;
  --danger: #e26d6d;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Subtle top hairline of accent */
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.5;
  z-index: 5;
}

/* One ambient glow for depth — restrained, not animated */
body::after {
  content: "";
  position: fixed;
  top: -320px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1400px, 130vw);
  height: 900px;
  background: radial-gradient(circle, rgba(84, 196, 94, 0.18), transparent 70%);
  filter: blur(24px);
  pointer-events: none;
  z-index: 0;
}
main, .nav, .footer { position: relative; z-index: 1; }

.nav, main, .footer {
  width: min(940px, calc(100vw - 44px));
  margin-inline: auto;
}

/* Nav -------------------------------------------------------------------- */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px 0 34px;
}
.brand {
  font-weight: 800;
  font-size: 27px;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
}
.nav-meta {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--muted);
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

/* Hero ------------------------------------------------------------------- */
.hero {
  padding: clamp(60px, 12vw, 132px) 0 clamp(54px, 8vw, 92px);
  max-width: 680px;
}
.kicker {
  margin: 0 0 26px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(40px, 7.4vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.035em;
}
.lede {
  margin: 26px 0 0;
  max-width: 540px;
  font-size: clamp(16.5px, 2.1vw, 19px);
  color: var(--muted);
}

/* Waitlist --------------------------------------------------------------- */
.waitlist { margin-top: 38px; max-width: 500px; }
.field-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  overflow: hidden;
  background: var(--panel);
  transition: border-color 0.18s ease;
}
.field-row:focus-within { border-color: var(--accent); }
.field-row input {
  flex: 1;
  min-width: 0;
  padding: 15px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-size: 15.5px;
  outline: none;
}
.field-row input::placeholder { color: var(--faint); }
#submit-btn {
  flex-shrink: 0;
  margin: 5px;
  padding: 0 22px;
  border: 0;
  border-radius: 7px;
  font-family: inherit;
  font-weight: 700;
  font-size: 14.5px;
  color: var(--accent-ink);
  background: var(--accent);
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}
#submit-btn:hover { background: #62d46c; }
#submit-btn:disabled { opacity: 0.55; cursor: progress; }

.more-fields { margin-top: 14px; }
.more-fields summary {
  cursor: pointer;
  width: max-content;
  font-size: 13.5px;
  color: var(--faint);
  user-select: none;
}
.more-fields summary:hover { color: var(--muted); }
.more-fields summary::marker { color: var(--faint); }
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 13px;
}
.field-grid input {
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  background: var(--panel);
  color: var(--text);
  font-size: 14px;
  outline: none;
  transition: border-color 0.18s ease;
}
.field-grid input:focus { border-color: var(--accent); }
.field-grid input::placeholder { color: var(--faint); }

/* Honeypot — off-screen (not display:none, so naive bots still fill it) */
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.form-status {
  margin: 15px 1px 0;
  min-height: 20px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--muted);
}
.form-status.success { color: var(--accent); }
.form-status.error { color: var(--danger); }

/* Section scaffolding ---------------------------------------------------- */
.block { padding: clamp(56px, 8vw, 96px) 0; border-top: 1px solid var(--line); }
.section-kicker {
  margin: 0;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.section-head { margin-bottom: 40px; max-width: 640px; }
.section-title {
  margin: 16px 0 0;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--text);
}
.section-sub {
  margin: 14px 0 0;
  font-size: 16px;
  color: var(--muted);
}
.section-sub a { color: var(--accent); text-decoration: none; }
.section-sub a:hover { text-decoration: underline; }
.acc { color: var(--accent); }

/* Icon chip -------------------------------------------------------------- */
.icon-chip {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 13px;
  color: var(--accent);
  background: rgba(84, 196, 94, 0.09);
  border: 1px solid rgba(84, 196, 94, 0.22);
}

/* Capability cards ------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.card {
  position: relative;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 55%),
    var(--panel);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(84, 196, 94, 0.65), transparent);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.card:hover::before { opacity: 1; }
.card-no {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--faint);
  letter-spacing: 0.06em;
}
.card h2 {
  margin: 22px 0 10px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.card p { margin: 0; font-size: 15px; color: var(--muted); }

/* How it works — step cards --------------------------------------------- */
.step-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.step-card {
  position: relative;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.step-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.step-bgno {
  position: absolute;
  top: -10px;
  right: 4px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 86px;
  font-weight: 500;
  line-height: 1;
  color: var(--text);
  opacity: 0.05;
  pointer-events: none;
}
.step-card h3 {
  margin: 20px 0 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.step-card p { margin: 0; font-size: 15px; color: var(--muted); }

/* The one rule — statement panel ---------------------------------------- */
.statement {
  position: relative;
  padding: clamp(34px, 5vw, 52px) clamp(28px, 5vw, 56px);
  border: 1px solid var(--line);
  border-left: 3px solid var(--accent);
  border-radius: 16px;
  background:
    radial-gradient(120% 140% at 0% 0%, rgba(84, 196, 94, 0.06), transparent 60%),
    var(--panel);
  overflow: hidden;
}
.statement-quote {
  position: absolute;
  top: -18px;
  right: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 150px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.1;
  pointer-events: none;
}
.statement-kicker {
  margin: 0 0 18px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.statement-line {
  margin: 0;
  position: relative;
  max-width: 740px;
  font-size: clamp(22px, 3.4vw, 31px);
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.02em;
}

/* FAQ -------------------------------------------------------------------- */
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: start;
}
.faq-head { margin-bottom: 0; }
.faq-list {
  border-top: 1px solid var(--line);
}
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 40px 22px 0;
  position: relative;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  user-select: none;
  transition: color 0.15s ease;
}
.faq-item summary:hover { color: var(--accent); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 20px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 20px;
  font-weight: 400;
  color: var(--faint);
  transition: transform 0.18s ease, color 0.18s ease;
}
.faq-item[open] summary::after { content: "−"; color: var(--accent); }
.faq-item p {
  margin: 0;
  padding: 0 40px 22px 0;
  max-width: 660px;
  font-size: 15px;
  color: var(--muted);
}

/* Closing band ----------------------------------------------------------- */
.closer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(48px, 7vw, 84px);
  padding: clamp(28px, 4vw, 40px) 0;
  border-top: 1px solid var(--line);
}
.closer-text { display: flex; flex-direction: column; gap: 4px; }
.closer-line {
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text);
}
.closer-sub { font-size: 15px; color: var(--muted); }
.cta-btn {
  display: inline-block;
  flex-shrink: 0;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-ink);
  background: var(--accent);
  text-decoration: none;
  transition: background 0.15s ease, transform 0.15s ease;
}
.cta-btn:hover { background: #62d46c; transform: translateY(-1px); }

/* Works with — chip row -------------------------------------------------- */
.works-with {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 34px 0;
  border-top: 1px solid var(--line);
}
.works-label {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.chip {
  padding: 8px 15px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: var(--panel);
  transition: color 0.15s ease, border-color 0.15s ease;
}
.chip:hover { color: var(--text); border-color: var(--accent); }

/* Footer ----------------------------------------------------------------- */
.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 18px;
  margin-top: 56px;
  padding: 26px 0 56px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--faint);
}
.footer-brand { font-weight: 700; color: var(--muted); }
.footer-tag { flex: 1; min-width: 180px; }
.footer-contact { color: var(--muted); text-decoration: none; }
.footer-contact:hover { color: var(--accent); }
.footer-copy { color: var(--faint); }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 760px) {
  .step-grid { grid-template-columns: 1fr; gap: 16px; }
  .faq-grid { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 640px) {
  .card-grid { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .card h2 { padding-top: 18px; margin-top: 18px; }
  .closer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto; }
}
