:root {
  --ink: #1c1917;
  --muted: #57534e;
  --paper: #f6f1e7;
  --panel: #fffaf3;
  --line: #e7dccb;
  --accent: #b4532a;
  --accent-dark: #8f3e1d;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 420px at 10% -10%, #fde7d4 0%, transparent 55%),
    var(--paper);
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
}

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

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

.wrap {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header,
.site-footer {
  border-bottom: 1px solid var(--line);
  background: rgba(246, 241, 231, 0.9);
}

.site-footer {
  border-bottom: 0;
  border-top: 1px solid var(--line);
  margin-top: 0;
}

.site-header .wrap,
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0;
}

.wordmark {
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
  color: var(--ink);
  text-decoration: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: 0.92rem;
}

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

.hero {
  padding: 92px 0 48px;
}

.hero h1 {
  margin: 0 0 18px;
  font-family: Georgia, "Iowan Old Style", Palatino, serif;
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.02em;
}

.lede,
.intro {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.12rem;
}

.btn {
  display: inline-block;
  margin-top: 28px;
  padding: 12px 18px;
  background: var(--accent);
  color: #fffaf3;
  border-radius: 4px;
  text-decoration: none;
}

.btn:hover {
  background: var(--accent-dark);
  color: #fffaf3;
  text-decoration: none;
}

.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 28px 0;
}

.stats-grid strong {
  display: block;
  font-family: Georgia, Palatino, serif;
  font-size: 1.4rem;
  font-weight: 500;
}

.stats-grid span {
  color: var(--muted);
  font-size: 0.92rem;
}

.section {
  padding: 56px 0 8px;
}

.section h2 {
  margin: 0 0 14px;
  font-family: Georgia, Palatino, serif;
  font-size: 1.7rem;
  font-weight: 500;
}

.split {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.aside {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 20px;
}

.aside h3 {
  margin: 0 0 10px;
  font-size: 1rem;
}

.aside ul,
.card ul {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.aside li,
.card li {
  margin: 0.35rem 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px 20px 18px;
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.12rem;
}

.card p,
.prose p {
  margin: 0;
  color: var(--muted);
}

.card ul {
  margin-top: 12px;
}

.prose {
  max-width: 42rem;
}

.prose p + p {
  margin-top: 12px;
}

.kicker {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.steps {
  list-style: none;
  margin: 20px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}

.steps li {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px 16px 16px;
  counter-increment: step;
}

.steps li h3::before {
  content: counter(step) ". ";
  color: var(--accent);
}

.steps h3 {
  margin: 0 0 8px;
  font-size: 1.02rem;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--line);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq p {
  margin: 8px 0 0;
  color: var(--muted);
}

.cta {
  margin-top: 56px;
  padding: 48px 0;
  background: #2a211c;
  color: #f6f1e7;
}

.cta h2 {
  margin: 0 0 10px;
  font-family: Georgia, Palatino, serif;
  font-size: 2rem;
  font-weight: 500;
}

.cta p {
  margin: 0;
  color: #d6cbbd;
  max-width: 36rem;
}

.cta .btn {
  background: #f6f1e7;
  color: #2a211c;
}

.cta .btn:hover {
  background: #fff;
  color: #2a211c;
}

.site-footer small {
  color: var(--muted);
}

@media (max-width: 860px) {
  .cards,
  .steps,
  .stats-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .site-header .wrap,
  .site-footer .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
