:root {
  --bg: #fbf7f0;
  --surface: #ffffff;
  --text: #2b2622;
  --muted: #6f665d;
  --accent: #d98a5c;
  --border: #ece3d6;
  --max: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1c1917;
    --surface: #262220;
    --text: #f3ede4;
    --muted: #a89e92;
    --accent: #e8a074;
    --border: #3a332e;
  }
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

.page {
  max-width: var(--max);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

.page-header { margin-bottom: 40px; }

.brand {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--accent);
  text-decoration: none;
  margin-bottom: 24px;
}

h1 {
  font-size: 2rem;
  line-height: 1.2;
  margin: 0 0 8px;
}

h2 {
  font-size: 1.25rem;
  margin: 40px 0 12px;
}

.effective {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0;
}

section { margin-bottom: 8px; }

p { margin: 0 0 16px; }

ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

li { margin-bottom: 10px; }

a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page-footer {
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
}

/* Landing page */
.hero {
  text-align: center;
  padding: 96px 24px 64px;
  max-width: var(--max);
  margin: 0 auto;
}

.hero .logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 16px;
  border-radius: 24px;
  display: block;
}

.hero h1 { font-size: 2.5rem; }

.hero .tagline {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 460px;
  margin: 0 auto 32px;
}

.links {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.links a {
  text-decoration: none;
  padding: 10px 20px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 500;
}

.links a.primary {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
  padding: 14px 28px;
  font-weight: 600;
  font-size: 1.05rem;
}

.links.secondary {
  margin-top: 16px;
}

.links.secondary a {
  font-size: 0.95rem;
}
