:root {
  color-scheme: light;
  --linen-50: #fbf6ef;
  --linen-100: #f7f0e8;
  --linen-200: #efe6da;
  --clay-100: #f6e2d2;
  --clay-500: #d4763f;
  --clay-700: #a4502a;
  --moss-100: #e2ead6;
  --moss-700: #4e6b3c;
  --plum-700: #3d2e35;
  --plum-400: #7c6a70;
  --white: #fffdf8;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--plum-700);
  background: var(--linen-50);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

a { color: var(--clay-700); }

a:hover { color: var(--clay-500); }

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

.wide { width: min(calc(100% - 40px), 1040px); }

.site-header {
  border-bottom: 1px solid var(--linen-200);
  background: rgba(251, 246, 239, 0.94);
}

.site-header .shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  color: var(--plum-700);
  font-family: Georgia, serif;
  font-size: 28px;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: 14px;
}

.nav a { text-decoration: none; }

.hero {
  padding: 88px 0 64px;
  text-align: center;
}

.eyebrow {
  color: var(--clay-700);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1, h2, h3 {
  color: var(--plum-700);
  font-family: Georgia, serif;
  font-weight: 500;
  line-height: 1.12;
}

h1 {
  max-width: 820px;
  margin: 16px auto;
  font-size: clamp(42px, 7vw, 72px);
  letter-spacing: -0.035em;
}

h2 {
  margin: 54px 0 14px;
  font-size: clamp(28px, 4vw, 38px);
  letter-spacing: -0.02em;
}

h3 { font-size: 23px; }

.lede {
  max-width: 650px;
  margin: 0 auto;
  color: var(--plum-400);
  font-size: 20px;
}

.article-title {
  max-width: 760px;
  font-size: clamp(40px, 6vw, 62px);
}

.article {
  padding: 56px 0 88px;
}

.article > p:first-of-type {
  color: var(--plum-400);
  font-size: 21px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 12px 0 88px;
}

.card {
  display: flex;
  min-height: 270px;
  padding: 28px;
  flex-direction: column;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--linen-200);
  border-radius: 22px;
  box-shadow: 0 8px 30px rgba(61, 46, 53, 0.06);
  text-decoration: none;
}

.card:nth-child(2) { background: var(--moss-100); }
.card:nth-child(3) { background: var(--clay-100); }

.card h2 {
  margin: 10px 0 12px;
  font-size: 28px;
}

.card p { margin: 0; color: var(--plum-400); }

.card:nth-child(2) p,
.card:nth-child(3) p { color: #5e4a52; }

.card:nth-child(3) .eyebrow,
.card:nth-child(3) .arrow { color: var(--plum-700); }

.card .arrow {
  margin-top: auto;
  padding-top: 22px;
  color: var(--clay-700);
  font-weight: 700;
}

.callout {
  margin: 42px 0;
  padding: 28px 30px;
  background: var(--moss-100);
  border-radius: 18px;
}

.callout p:first-child {
  margin-top: 0;
  color: var(--moss-700);
  font-weight: 750;
}

.callout p:last-child { margin-bottom: 0; }

.steps {
  padding-left: 1.25em;
}

.steps li {
  margin: 14px 0;
  padding-left: 8px;
}

.cta {
  margin: 70px 0 0;
  padding: 38px;
  text-align: center;
  background: var(--plum-700);
  border-radius: 24px;
  color: var(--linen-100);
}

.cta h2 {
  margin: 0 0 10px;
  color: var(--linen-50);
}

.cta p { margin: 0 auto 22px; max-width: 540px; }

.button {
  display: inline-block;
  padding: 12px 20px;
  color: var(--linen-50);
  background: var(--clay-700);
  border-radius: 999px;
  font-weight: 750;
  text-decoration: none;
}

.button:hover { color: white; background: #843d1f; }

.related {
  margin-top: 58px;
  padding-top: 28px;
  border-top: 1px solid var(--linen-200);
}

.related a { margin-right: 16px; }

.site-footer {
  padding: 30px 0 50px;
  color: var(--plum-400);
  border-top: 1px solid var(--linen-200);
  font-size: 13px;
}

.site-footer .shell {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.site-footer a { margin-left: 14px; }

@media (max-width: 760px) {
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 220px; }
  .hero { padding: 64px 0 44px; }
  .nav a:first-child { display: none; }
  .site-footer .shell { display: block; }
  .site-footer a:first-child { margin-left: 0; }
}
