:root {
  --bg: #0a0a0a;
  --bg-elevated: #141414;
  --border: #232323;
  --fg: #e8e8e8;
  --fg-dim: #a0a0a0;
  --fg-muted: #666;
  --accent: #6ee7b7;
  --max-width: 1100px;
  --radius: 14px;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, Courier, monospace;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}

a {
  color: var(--fg-dim);
  text-decoration: none;
  transition: color 150ms;
}

a:hover {
  color: var(--accent);
}

/* ── Nav ────────────────────────────────── */

.nav {
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.logo {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--fg);
  text-decoration: none;
}

.logo .dot {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.9rem;
  font-family: var(--font-mono);
}

/* ── Hero ───────────────────────────────── */

.hero {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  text-align: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 2.75rem;
  line-height: 1.15;
  font-weight: 700;
  max-width: 700px;
  margin: 0 auto 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--fg-dim);
  max-width: 620px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.cta-row {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Buttons ────────────────────────────── */

.btn {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.9rem;
  padding: 0.8rem 2rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
  text-decoration: none;
  text-align: center;
}

.btn-primary {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

.btn-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg);
}

.btn-secondary {
  background: transparent;
  color: var(--fg);
  border-color: var(--border);
}

.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* ── Origin card ────────────────────────── */

.origin {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem 4rem;
  text-align: center;
}

.origin-statement {
  font-size: 1.15rem;
  font-style: italic;
  color: var(--fg-dim);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
  padding: 2rem 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

/* ── Section blocks ─────────────────────── */

.block {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 2rem;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-heading {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--fg-dim);
  max-width: 620px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

/* ── Grids + Cards ──────────────────────── */

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
}

.card .index {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.6;
}

/* ── Who section (centered) ─────────────── */

.who {
  text-align: center;
}

.who .section-intro {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.who .cta-row {
  margin-top: 2.5rem;
}

/* ── Footer ─────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  margin-top: 2rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.85rem;
}

.copyright {
  font-size: 0.8rem;
  color: var(--fg-muted);
  width: 100%;
  text-align: center;
  margin-top: 1rem;
}

/* ── Page wrapper (privacy / support) ───── */

.page {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem;
}

.page h1 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.page .updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-muted);
  margin-bottom: 2rem;
}

.highlight {
  border-left: 3px solid var(--accent);
  padding: 1.25rem 1.5rem;
  background: var(--bg-elevated);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
  color: var(--fg-dim);
  line-height: 1.7;
}

.page h2 {
  font-size: 1.35rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.page p {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.page ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.page li {
  font-size: 0.95rem;
  color: var(--fg-dim);
  line-height: 1.7;
  margin-bottom: 0.35rem;
}

/* ── Form ───────────────────────────────── */

.form {
  margin-top: 2rem;
}

.field {
  margin-bottom: 1.5rem;
}

.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--fg-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--fg);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  transition: border-color 150ms;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
}

.field textarea {
  min-height: 140px;
  resize: vertical;
}

.field select {
  appearance: auto;
}

.form .btn {
  margin-top: 0.5rem;
}

.form-note {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

/* ── Responsive ─────────────────────────── */

@media (max-width: 900px) {
  .hero h1 {
    font-size: 2rem;
  }

  .section-heading {
    font-size: 1.5rem;
  }

  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-inner {
    padding: 1rem 1.25rem;
  }

  .hero {
    padding: 4rem 1.25rem 3rem;
  }

  .block {
    padding: 3rem 1.25rem;
  }

  .page {
    padding: 3rem 1.25rem;
  }

  .footer-inner {
    padding: 2rem 1.25rem;
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
