:root {
  --cream: #faf0e6;
  --ink: #13112e;
  --muted: #6b6880;
  --border: #eae3d5;
  --accent: #2d2b55;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 17px;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 10% -10%, #fff8ef 0%, transparent 55%),
    radial-gradient(900px 500px at 100% 0%, #ebe7f5 0%, transparent 50%),
    var(--cream);
}

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

.site-header,
.site-footer,
.prose,
.hero {
  width: min(720px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 0 12px;
}

.brand {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--ink);
}

nav {
  display: flex;
  gap: 18px;
}

nav a {
  text-decoration: none;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}

nav a[aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
}

.hero {
  padding: 72px 0 96px;
}

.eyebrow {
  margin: 0 0 10px;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.lede {
  max-width: 28ch;
  margin: 0 0 28px;
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
}

.button-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}

.prose {
  padding: 36px 0 80px;
}

.prose .meta {
  margin-top: -4px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.9rem;
}

.prose h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.6rem;
  font-size: 1.35rem;
}

.prose h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
}

.prose p,
.prose li {
  line-height: 1.65;
  color: #2a2740;
}

.prose ul {
  padding-left: 1.2rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 0 40px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-family: ui-sans-serif, system-ui, -apple-system, sans-serif;
  font-size: 0.85rem;
}

.site-footer a {
  color: var(--muted);
  text-decoration: none;
}

@media (max-width: 560px) {
  .site-footer {
    flex-direction: column;
  }
}
