:root {
  --ink: #10201d;
  --muted: #4d615d;
  --paper: #f7f5f0;
  --card: #ffffff;
  --teal: #0f6e56;
  --teal-dark: #085041;
  --line: #dcd8cf;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.6;
}

a { color: var(--teal-dark); }

.site-header,
main,
.site-footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  padding-bottom: 24px;
}

.brand {
  font-size: 22px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.3px;
}

.brand span { color: var(--teal); }

nav a {
  margin-left: 20px;
  color: var(--muted);
  text-decoration: none;
  font-size: 16px;
}

nav a:hover { color: var(--teal-dark); }

.hero { padding: 56px 0 40px; }
.hero.small { padding: 32px 0 24px; }

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(30px, 6vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.5px;
}

h2 {
  margin: 0 0 12px;
  font-size: 24px;
  letter-spacing: -0.2px;
}

.lead {
  margin: 0 0 28px;
  color: var(--muted);
  font-size: 20px;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  background: var(--teal);
  color: #ffffff;
  font-weight: 600;
  text-decoration: none;
}

.button:hover { background: var(--teal-dark); }

.rules,
.next,
.posts {
  margin: 0 0 24px;
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.rules ol { margin: 0; padding-left: 22px; }
.rules li { margin-bottom: 12px; }
.rules li:last-child { margin-bottom: 0; }

.next p,
.empty { margin: 0; color: var(--muted); }

.post-card { padding: 16px 0; border-bottom: 1px solid var(--line); }
.post-card:last-child { border-bottom: 0; }
.post-card h2 { margin-bottom: 4px; font-size: 22px; }
.post-card h2 a { text-decoration: none; }
.post-card .date { margin: 0 0 6px; color: var(--muted); font-size: 15px; }
.post-card p { margin: 0; }

article { padding: 32px 0; }
article .date { color: var(--muted); font-size: 15px; }
article img,
article iframe { max-width: 100%; border-radius: 12px; }
article .video { position: relative; padding-bottom: 56.25%; height: 0; margin: 24px 0; }
article .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.site-footer {
  padding-top: 32px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 15px;
}

.site-footer p { margin: 0 0 6px; }
