:root {
  --ink: #17211b;
  --muted: #5c6861;
  --paper: #ffe4c7;
  --accent: #cc6c02;
  --line: #cdd1c5;
}

* { box-sizing: border-box; }

html { background: var(--paper); }

body {
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  margin: 0 auto;
  max-width: 78rem;
  padding: 0 2rem;
}

a { color: inherit; text-underline-offset: 0.2em; }

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

.wordmark {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.wordmark img {
  display: block;
  height: auto;
  width: 9rem;
}

nav { display: flex; gap: 1.5rem; }
nav a { color: var(--muted); font-size: 0.9rem; text-decoration: none; }
nav a:hover { color: var(--ink); }

main { min-height: 70vh; }

main > h1 {
  color: var(--accent);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  letter-spacing: -0.055em;
  margin-top: 5rem;
}

.home main > h1 {
  font-size: clamp(3.7rem, 10vw, 8.5rem);
  letter-spacing: -0.075em;
  line-height: 0.86;
  margin: clamp(5rem, 11vw, 9rem) 0 2.4rem;
  max-width: 11ch;
}

main > h2 { color: var(--accent); margin-top: 3rem; }
main > p, main > ul { color: var(--muted); max-width: 50rem; }

table {
  border-collapse: collapse;
  display: block;
  margin: 1.5rem 0 3rem;
  overflow-x: auto;
  width: 100%;
}

th, td {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem 1rem;
  text-align: left;
  vertical-align: top;
}

th { color: var(--ink); }
td { color: var(--muted); }
th:first-child, td:first-child { padding-left: 0; }

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  font-size: 0.85rem;
  justify-content: space-between;
  padding: 1.5rem 0 3rem;
}

@media (max-width: 42rem) {
  body { padding: 0 1.1rem; }
  .site-header { gap: 1rem; flex-wrap: wrap; }
  .wordmark img { width: 6.5rem; }
  nav { gap: 0.8rem; }
  footer { gap: 1rem; flex-direction: column; }
}
