:root {
  --bg: #f2efe4;
  --bg-deep: #e2e5d6;
  --panel: rgba(255, 254, 249, 0.9);
  --text: #24251f;
  --muted: #57594f;
  --accent: #28734d;
  --line: rgba(45, 67, 50, 0.16);
  --safe-top: max(24px, env(safe-area-inset-top));
  --safe-bottom: max(24px, env(safe-area-inset-bottom));
  font-family: "Nunito", "Instrument Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(155deg, var(--bg), var(--bg-deep));
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

main {
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 32px);
}

.card {
  border: 1.5px solid var(--line);
  border-radius: 28px;
  background: var(--panel);
  box-shadow: 0 24px 64px rgba(31, 54, 36, 0.1);
  padding: clamp(24px, 5vw, 44px);
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 36px;
}

nav a[aria-current="page"] { text-decoration: underline; }

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 700px;
  margin: 10px 0 0;
  font-family: "Instrument Sans", "Helvetica Neue", sans-serif;
  font-size: clamp(2.25rem, 8vw, 4rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.updated { margin-top: 12px; font-size: 14px; }

h2 {
  margin: 30px 0 8px;
  font-size: 20px;
  line-height: 1.2;
}

p, li {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

ul, ol { margin: 8px 0 0; padding-left: 22px; }
li + li { margin-top: 6px; }

a {
  color: var(--accent);
  font-weight: 800;
  text-underline-offset: 3px;
}

strong { color: var(--text); }

@media (max-width: 520px) {
  main { padding-left: 12px; padding-right: 12px; }
  .card { border-radius: 20px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}
