:root {
  --bg: #f2efe7;
  --paper: #faf8f2;
  --ink: #191814;
  --muted: #706c62;
  --accent: #ff5a00;
  --accent-soft: #ffe0cc;
  --border: #c9c2b4;
  --soft: #e8e3d8;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  background: var(--bg);
  color: var(--ink);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 340px;
  height: 340px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 0;
  filter: blur(72px);
  opacity: 0.55;
}

body::before {
  top: -120px;
  right: -80px;
  background: rgba(255, 90, 0, 0.28);
}

body::after {
  bottom: 8%;
  left: -120px;
  background: rgba(255, 140, 60, 0.2);
}

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

.site {
  position: relative;
  z-index: 1;
  max-width: 880px;
  margin: 0 auto;
  padding: 28px 20px 72px;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
}

.brand-logo {
  display: block;
  height: 28px;
  width: auto;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--accent);
}

.kicker {
  margin: 28px 0 8px;
  color: var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(40px, 8vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  font-weight: 800;
}

h2 {
  margin: 36px 0 12px;
  padding-top: 14px;
  border-top: 2px solid var(--ink);
  font-size: 24px;
  letter-spacing: -0.02em;
}

h3 {
  margin: 22px 0 8px;
  font-size: 18px;
  letter-spacing: -0.01em;
}

.lede,
.muted,
p,
li {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.65;
}

.lede {
  max-width: 36rem;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

.meta {
  margin: 0 0 24px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 8px;
}

.button,
.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 16px;
  text-decoration: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  font-weight: 800;
}

.button {
  background: var(--ink);
  color: var(--paper);
}

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

.button:hover,
.button-secondary:hover {
  opacity: 0.88;
}

.grid {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 720px) {
  .grid.two {
    grid-template-columns: 1fr 1fr;
  }

  .grid.three {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  display: block;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--border);
  text-decoration: none;
  color: inherit;
}

.card strong {
  display: block;
  margin-bottom: 6px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 800;
}

.card span {
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

.stat {
  padding: 18px;
  background: var(--paper);
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--border);
}

.stat .num {
  display: block;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
}

.stat .label {
  margin-top: 8px;
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.list-panel {
  margin-top: 18px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--border);
}

.list-panel ul {
  margin: 0;
  padding-left: 18px;
}

.list-panel li {
  margin: 8px 0;
}

.note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--accent-soft);
  border-left: 3px solid var(--accent);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.55;
}

.footer {
  margin-top: 48px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}

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

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    gap: 10px 14px;
  }
}
