:root {
  --bg: #fbfaf8;
  --panel: #ffffff;
  --text: #1a1815;
  --muted: #5f5a53;
  --line: #e3ded6;
  --accent: #b4460f;
  --maxw: 44rem;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #14120f;
    --panel: #1c1a16;
    --text: #ece8e1;
    --muted: #a49d92;
    --line: #2e2a24;
    --accent: #f08a4b;
  }
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  padding: 0 1.5rem;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

/* Header */

header.site {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 0 1.25rem;
  border-bottom: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: baseline;
  justify-content: space-between;
}

header.site .wordmark {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  color: var(--text);
  text-decoration: none;
}

header.site .wordmark span { color: var(--accent); }

nav a {
  margin-left: 1.25rem;
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--muted);
}

nav a:first-child { margin-left: 0; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }

/* Layout */

main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2.5rem 0 1rem;
}

section { margin-bottom: 3rem; }

h1 {
  font-size: 2rem;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

h2 {
  font-size: 1.2rem;
  letter-spacing: -0.01em;
  margin: 2.5rem 0 0.75rem;
}

h3 {
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

p { margin: 0 0 1rem; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

/* Blocks */

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.5rem;
}

.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
}

.grid .card p { color: var(--muted); font-size: 0.95rem; }

ul.plain {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
}

ul.plain li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

ul.plain li:last-child { border-bottom: 0; }
ul.plain strong { color: var(--text); font-weight: 600; }

dl.facts { margin: 0; }

dl.facts dt {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 1rem;
}

dl.facts dt:first-child { margin-top: 0; }
dl.facts dd { margin: 0.15rem 0 0; }

.button {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.6rem 1.15rem;
  border-radius: 7px;
}

.button:hover { opacity: 0.9; }

/* Footer */

footer.site {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

footer.site p { margin: 0 0 0.5rem; }
footer.site a { color: var(--muted); }
footer.site nav a { margin: 0 1rem 0 0; }
