:root {
  --bg: #f6f3ea;
  --surface: #fffdf8;
  --text: #1f1a17;
  --muted: #6c6258;
  --line: #d8cfc3;
  --accent: #8f3d2e;
  --accent-soft: #f1e2d8;
  --max: 72rem;
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background:
    radial-gradient(circle at top, #fff8ef 0, var(--bg) 44rem),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: var(--accent);
}

a:hover,
a:focus {
  text-decoration-thickness: 0.14em;
}

.shell {
  width: min(100% - 2rem, var(--max));
  margin: 0 auto;
}

.site-header,
.site-footer {
  padding: 1.5rem 0;
}

.site-header {
  border-bottom: 1px solid var(--line);
}

.site-title {
  margin: 0;
  font-size: clamp(2rem, 3.5vw, 3.4rem);
  line-height: 1.05;
}

.site-tagline,
.muted {
  color: var(--muted);
}

.site-nav {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.hero,
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 0.8rem 2rem rgba(31, 26, 23, 0.04);
}

main {
  padding: 2rem 0 3rem;
}

.hero {
  margin-bottom: 1.5rem;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.02em;
}

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

.panel h2,
.panel h3,
.hero h2 {
  margin-top: 0;
}

code,
.mono {
  font-family: "Courier New", Courier, monospace;
  font-size: 0.95em;
}

ul {
  padding-left: 1.2rem;
}

footer p {
  margin-bottom: 0;
}
