:root {
  --bg: #0f1412;
  --card: #171e1b;
  --text: #e8eee9;
  --muted: #9aa89e;
  --line: #2a3530;
  --accent: #7dcea0;
  --accent-2: #c4e4d2;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 500px at 10% -10%, #1c2a23, var(--bg));
  color: var(--text);
  line-height: 1.6;
}

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

.wrap {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
}

.header, .footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px 0;
}

.header { border-bottom: 1px solid var(--line); }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; flex-wrap: wrap; }

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

nav { display: flex; gap: 16px; font-size: 14px; }

.hero { padding: 56px 0 24px; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  margin: 0 0 12px;
}
h1 { font-size: clamp(28px, 5vw, 44px); line-height: 1.15; margin: 0 0 16px; }
.lead { font-size: 18px; color: var(--muted); max-width: 62ch; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 28px 0 40px;
}
.grid article, .note {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 18px 8px;
}
h2 { font-size: 18px; margin-top: 0; }
.note { margin-bottom: 48px; }

.prose { padding: 40px 0 56px; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { margin-top: 28px; }
.prose p, .prose li { color: #d5ddd7; }
.prose ul { padding-left: 20px; }
