:root {
  color-scheme: dark;
  --bg: #0b0f14;
  --surface: #121820;
  --text: #e8eef6;
  --muted: #9aa8b8;
  --accent: #3dd6c6;
  --border: #1e2833;
  --max: 44rem;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(11, 15, 20, 0.92);
  backdrop-filter: blur(8px);
}

.logo {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
  text-decoration: none;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  font-size: 0.95rem;
}

nav a[aria-current="page"] { color: var(--text); font-weight: 600; }

main { padding: 2rem 1.25rem 3rem; max-width: 56rem; margin: 0 auto; }

.hero { max-width: var(--max); margin-bottom: 2.5rem; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.85rem);
  line-height: 1.15;
  margin: 0 0 1rem;
}
.lede { color: var(--muted); font-size: 1.1rem; }
.lede strong { color: var(--text); }
.cta-note {
  margin-top: 1.25rem;
  padding: 0.9rem 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}
.grid article {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 0.6rem;
  padding: 1.1rem 1.15rem;
}
.grid h2 { margin: 0 0 0.5rem; font-size: 1.05rem; }
.grid p { margin: 0; color: var(--muted); font-size: 0.95rem; }
code {
  font-size: 0.9em;
  background: #0a1018;
  padding: 0.1em 0.35em;
  border-radius: 0.25rem;
}

.how { max-width: var(--max); }
.how ol { color: var(--muted); padding-left: 1.25rem; }
.how li { margin: 0.5rem 0; }

.notice {
  margin-top: 2.5rem;
  padding: 1rem 1.15rem;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  color: var(--muted);
  max-width: var(--max);
}

.prose { max-width: var(--max); }
.prose h1 { margin-top: 0; }
.prose h2 { margin-top: 1.75rem; font-size: 1.15rem; }
.prose p, .prose li { color: var(--muted); }
.prose strong { color: var(--text); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.25rem;
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
}
