:root {
  --ink: #1e2b26;
  --muted: #566059;
  --accent: #b8502a;
  --accent-dark: #96401f;
  --bg: #f5f0e6;
  --card: #ece6d6;
  --line: #e0d8c6;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
}

main, .site-footer > div { max-width: 42rem; margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.wordmark { font-weight: 700; font-size: 1.25rem; color: var(--accent-dark); text-decoration: none; letter-spacing: 0.01em; }

.site-header nav a { margin-left: 1.1rem; color: var(--ink); text-decoration: none; }
.site-header nav a:hover, .site-header nav a:focus { text-decoration: underline; }

a { color: var(--accent-dark); }
a:hover, a:focus { color: var(--accent); }

.skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 0.5rem 0.9rem;
}
.skip:focus { left: 0.5rem; z-index: 10; }

h1 { font-size: clamp(1.9rem, 6vw, 2.6rem); line-height: 1.2; margin: 1.8rem 0 0.6rem; }
h2 { font-size: 1.35rem; margin-top: 2.2rem; }

.lead { font-size: 1.15rem; color: var(--muted); }

.button {
  display: inline-block;
  background: var(--accent-dark);
  color: #fff;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
}
.button:hover, .button:focus { background: var(--accent); color: #fff; }

.note { color: var(--muted); font-size: 0.95rem; }

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1rem 1.2rem;
  margin: 1rem 0;
}

.site-footer {
  margin-top: 3rem;
  padding: 1.4rem 0 2.2rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
}
.site-footer p { margin: 0.2rem 0; }
.site-footer > div { padding-top: 1.4rem; padding-bottom: 2.2rem; }

/* Headings: Space Grotesk (self-hosted, see /fonts.css) */
h1, h2, h3, .wordmark { font-family: "Space Grotesk", "Inter", system-ui, sans-serif; }
