:root {
  color-scheme: light;
  --paper: #fbf7f2;
  --ink: #1f1a17;
  --muted: #6f625a;
  --brand: #b8501f;
  --green: #2f6b46;
  --line: #e8ddd1;
  --card: #fffdf8;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

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

header {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}

.links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.links a {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}

main {
  padding: 56px 0 72px;
}

.hero {
  display: grid;
  gap: 24px;
  padding: 28px 0 34px;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(44px, 8vw, 74px);
}

h2 {
  margin: 42px 0 10px;
  font-size: 28px;
}

h3 {
  margin: 26px 0 8px;
  font-size: 20px;
}

p,
li {
  font-size: 17px;
}

.lede {
  max-width: 660px;
  color: var(--muted);
  font-size: 20px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-weight: 700;
  padding: 0 24px;
  text-decoration: none;
}

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
  padding: 22px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 26px;
}

.small {
  color: var(--muted);
  font-size: 14px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 24px 0 36px;
  color: var(--muted);
}

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

  main {
    padding-top: 34px;
  }
}

