:root {
  color-scheme: light;
  --ink: #17352f;
  --muted: #5e706a;
  --paper: #f7f5ec;
  --leaf: #286b57;
  --leaf-dark: #174c3d;
  --sun: #d7a83e;
  --line: rgba(23, 53, 47, 0.16);
  font-family: Georgia, "Times New Roman", serif;
  background: var(--paper);
  color: var(--ink);
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 88% 12%, rgba(215, 168, 62, 0.18), transparent 25rem),
    linear-gradient(145deg, rgba(40, 107, 87, 0.08), transparent 42%);
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
}

.site-header,
main,
footer {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.site-header {
  padding-block: 2rem;
}

.brand {
  width: fit-content;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.93rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.brand-mark {
  width: 2.15rem;
  height: 2.15rem;
  border-radius: 50% 50% 48% 52%;
  background: var(--leaf);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.15rem;
  box-shadow: inset -0.2rem -0.2rem 0 rgba(0, 0, 0, 0.08);
}

main {
  flex: 1;
  display: grid;
  align-items: center;
}

.hero,
.policy {
  max-width: 49rem;
  padding-block: clamp(3rem, 10vh, 7rem);
}

.eyebrow {
  margin: 0 0 1.1rem;
  color: var(--leaf);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3rem, 9vw, 6.8rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.93;
}

.intro {
  max-width: 35rem;
  margin: 2.4rem 0 1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.45;
}

.supporting,
.lede,
.policy section p {
  max-width: 42rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
}

.supporting {
  margin: 0 0 2rem;
}

.text-link {
  display: inline-block;
  border-bottom: 1px solid var(--leaf);
  color: var(--leaf-dark);
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  line-height: 1.8;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--leaf);
  border-bottom-color: var(--sun);
}

.policy {
  padding-block: clamp(2.5rem, 7vh, 5rem);
}

.policy h1 {
  max-width: 12ch;
  font-size: clamp(2.7rem, 7vw, 5.5rem);
}

.lede {
  margin: 2rem 0 3rem;
  font-size: 1.1rem;
}

.policy section {
  border-top: 1px solid var(--line);
  padding-block: 1.65rem;
}

.policy section:last-of-type {
  margin-bottom: 1.5rem;
}

h2 {
  margin: 0 0 0.65rem;
  font-size: 1.35rem;
  font-weight: 400;
}

.policy section p {
  margin: 0;
}

footer {
  border-top: 1px solid var(--line);
  padding-block: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.8rem;
}

footer p {
  margin: 0;
}

footer a {
  color: var(--leaf-dark);
}

@media (max-width: 38rem) {
  .site-header,
  main,
  footer {
    width: min(100% - 2rem, 72rem);
  }

  .site-header {
    padding-block: 1.25rem;
  }

  .hero {
    padding-block: 3.75rem;
  }

  footer {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .brand-mark,
  .text-link {
    transition: transform 160ms ease, color 160ms ease, border-color 160ms ease;
  }

  .brand:hover .brand-mark {
    transform: rotate(-5deg);
  }
}
