:root {
  --bg: #f4f7f5;
  --ink: #102820;
  --muted: #4a6358;
  --brand: #0b3d2e;
  --accent: #2f9e6b;
  --card: #ffffff;
  --line: #d5e3db;
  --shadow: 0 12px 40px rgba(11, 61, 46, 0.08);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, #d9f0e4 0%, transparent 55%),
    radial-gradient(900px 400px at 100% 0%, #e8f0ff 0%, transparent 50%),
    var(--bg);
  line-height: 1.55;
  min-height: 100vh;
}
a { color: inherit; }
a:hover { color: var(--brand); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 980px; margin: 0 auto; padding: 1.25rem 1.25rem 0;
  gap: 1rem;
}
.brand {
  display: flex; align-items: center; gap: .7rem; font-weight: 700;
  text-decoration: none; color: inherit;
}
.logo {
  width: 2.1rem; height: 2.1rem; border-radius: .65rem;
  background: var(--brand); color: #e8f5e9;
  display: grid; place-items: center; font-size: .85rem; font-weight: 800;
}
.brand-name { letter-spacing: -0.02em; }
.nav-links {
  display: flex; align-items: center; flex-wrap: wrap; gap: .85rem 1.1rem;
  font-weight: 600; font-size: .95rem;
}
.nav-links a { text-decoration: none; color: var(--brand); }
.nav-cta { font-weight: 700; }
.muted-inline { color: var(--muted); font-weight: 500; font-size: .9rem; }
main { max-width: 980px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }
.hero h1, .panel h1 {
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1.12; letter-spacing: -0.03em; margin: .4rem 0 1rem;
}
.panel h2 { margin: 0 0 .75rem; font-size: 1.35rem; }
.eyebrow {
  display: inline-block; margin: 0;
  padding: .25rem .65rem; border-radius: 999px;
  background: #e3f2ea; color: var(--brand); font-size: .85rem; font-weight: 600;
}
.lede { font-size: 1.125rem; color: var(--muted); max-width: 42rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.6rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: .8rem; padding: .85rem 1.15rem; font-weight: 700;
  text-decoration: none; border: 1px solid transparent; cursor: pointer;
  font-size: 1rem; background: none; font-family: inherit;
}
.btn.primary { background: var(--brand); color: #f4fff8; }
.btn.primary:hover { background: #0f4f3c; color: #f4fff8; }
.btn.primary:disabled { opacity: .65; cursor: not-allowed; }
.btn.ghost { background: transparent; border-color: var(--line); color: var(--brand); }
.btn.small { padding: .45rem .8rem; font-size: .9rem; border-radius: .65rem; }
.cards {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 3rem 0;
}
.card {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 1.1rem; padding: 1.25rem; box-shadow: var(--shadow);
}
.card h2 { margin: 0 0 .5rem; font-size: 1.15rem; }
.card p { margin: 0; color: var(--muted); }
.how, .waitlist, .panel {
  background: var(--card); border: 1px solid var(--line);
  border-radius: 1.25rem; padding: 1.5rem 1.4rem; box-shadow: var(--shadow);
  margin: 1.25rem 0;
}
.how ol { padding-left: 1.2rem; color: var(--muted); }
.how li { margin: .55rem 0; }
.note { color: var(--muted); font-size: .95rem; }
.waitlist .row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1rem; }
.waitlist input, .stack-form input, .stack-form select, .stack-form textarea {
  border: 1px solid var(--line); border-radius: .8rem;
  padding: .85rem 1rem; font-size: 1rem; background: #fbfffd;
  font-family: inherit; color: var(--ink); width: 100%;
}
.waitlist input { flex: 1 1 220px; min-width: 0; width: auto; }
.waitlist input:focus, .stack-form input:focus, .stack-form select:focus, .stack-form textarea:focus {
  outline: 2px solid #9fd6ba; border-color: var(--accent);
}
.stack-form { display: grid; gap: .55rem; margin-top: 1.25rem; max-width: 36rem; }
.stack-form label { font-weight: 600; font-size: .95rem; margin-top: .35rem; }
.stack-form .btn { margin-top: .5rem; justify-self: start; }
.stack-form textarea { resize: vertical; min-height: 6rem; }
.form-status { min-height: 1.4em; margin: .75rem 0 0; color: var(--muted); }
.form-status.ok { color: #176b45; font-weight: 600; }
.form-status.err { color: #9b2c2c; font-weight: 600; }
.form-status a { color: var(--brand); font-weight: 700; }
.prose h2 { margin-top: 1.6rem; font-size: 1.2rem; }
.prose p { color: var(--muted); max-width: 40rem; }
.prose code {
  font-size: .9em; background: #eef6f1; padding: .1rem .35rem; border-radius: .35rem;
}
.footer {
  max-width: 980px; margin: 0 auto; padding: 0 1.25rem 2.5rem;
  color: var(--muted); font-size: .92rem;
}
.footer a { color: var(--brand); font-weight: 600; text-decoration: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.hidden { display: none !important; }
@media (max-width: 800px) {
  .cards { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; }
}
