:root {
  --bg: #0b0f0e;
  --bg-raised: #111614;
  --border: #232c28;
  --text: #e7ece9;
  --text-dim: #9aa6a0;
  --accent: #10b981;
  --accent-ink: #06120c;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 0.5rem 1rem;
  z-index: 100;
}
.skip-link:focus { left: 0; }

a { color: var(--accent); }
h1, h2, h3 { line-height: 1.2; }
h2 { font-size: 1.75rem; margin: 0 0 1rem; }
h3 { font-size: 1.1rem; margin: 0 0 0.5rem; }

.site-header {
  position: sticky;
  top: 0;
  background: rgba(11, 15, 14, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.site-header nav {
  max-width: 64rem;
  margin: 0 auto;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
}
.nav-links {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav-links a:hover, .nav-links a:focus { color: var(--text); }

main { max-width: 64rem; margin: 0 auto; padding: 0 1.25rem; }

.hero { padding: 4rem 0 3rem; }
.kicker {
  font-family: var(--mono);
  font-size: 0.85rem;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}
.hero h1 {
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  margin: 0 0 1rem;
  max-width: 46rem;
}
.lede {
  color: var(--text-dim);
  font-size: 1.1rem;
  max-width: 42rem;
  margin: 0 0 1.75rem;
}
.hero-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 2.5rem; }

.btn {
  display: inline-block;
  padding: 0.65rem 1.3rem;
  border-radius: 6px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.95rem;
  border: 1px solid transparent;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: #34d39b; }
.btn-ghost { border-color: var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--accent); }

.terminal {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.1rem 1.25rem;
  font-family: var(--mono);
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-dim);
  overflow-x: auto;
  max-width: 44rem;
  margin: 0;
}
.terminal code { color: inherit; }

.section { padding: 3rem 0; border-top: 1px solid var(--border); }
.section-intro { color: var(--text-dim); max-width: 42rem; margin-top: -0.5rem; }
#bulk-api p { color: var(--text-dim); max-width: 46rem; }

.steps {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
}
.steps li, .grid-cards li {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.25rem 1.4rem;
}
.steps p, .grid-cards p { color: var(--text-dim); margin-bottom: 0; font-size: 0.95rem; }

.grid-cards {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1.25rem;
}

.tiers {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin-top: 1.75rem;
}
.tier {
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}
.tier-featured { border-color: var(--accent); }
.price { font-size: 2rem; font-weight: 700; margin: 0.25rem 0 0; font-family: var(--mono); }
.tier-sub { color: var(--text-dim); margin: 0.15rem 0 1rem; font-size: 0.92rem; }
.tier ul {
  padding-left: 1.1rem;
  margin: 0 0 1.5rem;
  color: var(--text-dim);
  font-size: 0.93rem;
  flex-grow: 1;
}
.tier ul li { margin-bottom: 0.45rem; }
.tier .btn { text-align: center; }

.faq-list { max-width: 46rem; margin-top: 1.5rem; }
.faq-list details {
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg-raised);
  margin-bottom: 0.75rem;
  padding: 0 1.25rem;
}
.faq-list summary {
  cursor: pointer;
  font-weight: 600;
  padding: 1rem 0;
  list-style: none;
  position: relative;
  padding-right: 2rem;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  font-family: var(--mono);
  font-size: 1.2rem;
}
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { color: var(--text-dim); margin-top: 0; padding-bottom: 1.1rem; }

.site-footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
  padding: 2.5rem 1.25rem 3rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.site-footer p { margin: 0.4rem 0; }
.fineprint { font-size: 0.8rem; max-width: 38rem; margin: 1rem auto 0 !important; }

.hero-note {
  font-family: var(--mono);
  font-size: 0.8rem;
  color: var(--text-dim);
  margin: -1.75rem 0 2.5rem;
}

/* Lead-capture forms (audit, request, notify) */
.lead { margin-top: 1.5rem; max-width: 42rem; }
.lead-form { display: flex; flex-direction: column; gap: 0.75rem; }
.lead-form > label { font-size: 0.9rem; font-weight: 600; color: var(--text); }
.lead-row { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.lead-row input[type="email"] { flex: 1 1 16rem; }
.lead-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 0.9rem 1rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field label { font-size: 0.9rem; font-weight: 600; }
.field .opt { color: var(--text-dim); font-weight: 400; }
.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form select,
.lead-form textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  padding: 0.6rem 0.75rem;
  width: 100%;
}
.lead-form textarea { resize: vertical; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.lead-form .btn { white-space: nowrap; cursor: pointer; }
.lead-form button:disabled { opacity: 0.6; cursor: progress; }
.botcheck { position: absolute; left: -9999px; }
.form-status { font-size: 0.9rem; margin: 0.25rem 0 0; min-height: 1.2em; }
.form-status[data-state="ok"] { color: var(--accent); }
.form-status[data-state="error"] { color: #f87171; }
.form-status[data-state="pending"] { color: var(--text-dim); }

.notify-band {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-raised);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem 1.75rem;
}
.notify-band h2 { margin-bottom: 0.35rem; }
.notify-band .section-intro { margin-top: 0; }
.notify-band .lead-form { flex: 1 1 20rem; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}

:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 480px) {
  .hero { padding: 2.5rem 0 2rem; }
  .nav-links { gap: 0.8rem; font-size: 0.88rem; }
}
