:root {
  --bg: #0b1220;
  --surface: #121a2b;
  --text: #e8eef9;
  --muted: #9aa8c0;
  --accent: #5b8cff;
  --accent2: #3dd6c6;
  --border: #243047;
  --max: 720px;
  --wide: 960px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: var(--max); }
header.site {
  border-bottom: 1px solid var(--border);
  background: rgba(11,18,32,.9);
  position: sticky; top: 0; backdrop-filter: blur(8px); z-index: 10;
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.9rem 0; }
.brand { font-weight: 700; color: var(--text); letter-spacing: .01em; }
.navlinks { display: flex; gap: 1rem; flex-wrap: wrap; font-size: .95rem; }
.navlinks a { color: var(--muted); }
.navlinks a:hover { color: var(--text); }
.hero { padding: 3.5rem 0 2.5rem; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.2; margin: 0 0 1rem; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 40rem; }
.cta-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 1.5rem; }
.btn {
  display: inline-block; padding: .7rem 1.1rem; border-radius: .5rem;
  background: var(--accent); color: #fff; font-weight: 600;
}
.btn:hover { text-decoration: none; filter: brightness(1.08); }
.btn.secondary { background: transparent; border: 1px solid var(--border); color: var(--text); }
.grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 2rem 0; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: .75rem; padding: 1.1rem 1.2rem;
}
.card h3 { margin: 0 0 .4rem; font-size: 1.05rem; }
.card p { margin: 0; color: var(--muted); font-size: .95rem; }
section { padding: 1.5rem 0 2.5rem; }
h2 { margin: 0 0 1rem; font-size: 1.4rem; }
footer.site { border-top: 1px solid var(--border); color: var(--muted); padding: 2rem 0; font-size: .9rem; margin-top: 2rem; }
article.prose { padding: 2rem 0 3rem; }
article.prose h1 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); line-height: 1.25; }
article.prose h2 { margin-top: 2rem; }
article.prose h3 { margin-top: 1.4rem; }
article.prose p, article.prose li { color: #d5deee; }
article.prose .meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }
table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: .95rem; }
th, td { border: 1px solid var(--border); padding: .55rem .65rem; text-align: left; vertical-align: top; }
th { background: var(--surface); }
pre {
  background: #070d18; border: 1px solid var(--border); border-radius: .5rem;
  padding: 1rem; overflow-x: auto; font-size: .85rem; color: #cfe0ff;
}
.note { color: var(--muted); font-size: .9rem; }
.price-table td:nth-child(2), .price-table th:nth-child(2) { white-space: nowrap; }

.waitlist {
  margin: 2rem 0;
  padding: 1.25rem 1.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: .75rem;
}
.waitlist h2, .waitlist h3 { margin-top: 0; }
.waitlist form { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 0.9rem; }
.waitlist input[type=email] {
  flex: 1 1 220px;
  padding: .7rem .85rem;
  border-radius: .5rem;
  border: 1px solid var(--border);
  background: #070d18;
  color: var(--text);
}
.waitlist button {
  padding: .7rem 1.1rem;
  border: 0;
  border-radius: .5rem;
  background: var(--accent2);
  color: #041018;
  font-weight: 700;
  cursor: pointer;
}
.waitlist button:disabled { opacity: .6; cursor: wait; }
.waitlist .msg { margin-top: .75rem; font-size: .95rem; }
.waitlist .msg.ok { color: var(--accent2); }
.waitlist .msg.err { color: #ff8f8f; }

.eyebrow {
  color: var(--accent2);
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 .75rem;
}
.hero-note { margin-top: 1rem; max-width: 36rem; }
.sample-pack {
  margin-top: 1.25rem;
  background: #070d18;
  border: 1px solid var(--border);
  border-radius: .75rem;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,.35);
}
.sample-pack-bar {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: .65rem 1rem;
  background: #0e1628;
  border-bottom: 1px solid var(--border);
  font-size: .82rem;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.sample-pack-meta { color: var(--accent2); }
.sample-pack-body { padding: 1.15rem 1.25rem 1.35rem; }
.sample-pack-body ul { margin: .4rem 0 1rem; padding-left: 1.2rem; color: #d5deee; }
.sample-pack-body p { color: #d5deee; }
.sample-pack-body .muted-line { color: var(--muted); }
.redact {
  background: #1a2438;
  color: transparent;
  text-shadow: 0 0 7px rgba(232,238,249,.55);
  border-radius: 2px;
  padding: 0 .15rem;
  user-select: none;
}
.sample-pre {
  margin: .4rem 0 1rem;
  white-space: pre-wrap;
}
.modes .card h3 { color: var(--text); }
