:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #fff9f0;
  color: #19352a;
  font-synthesis: none;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 5%, rgb(231 246 238 / 90%), transparent 26rem),
    #fff9f0;
}

a {
  color: #1c6d50;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #134b38;
}

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

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  font-weight: 850;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 2.35rem;
  height: 2.35rem;
  place-items: center;
  border-radius: 0.85rem;
  background: #247a5a;
  color: white;
  font-size: 1.2rem;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  font-size: 0.95rem;
}

main {
  padding-block: clamp(2rem, 7vw, 5rem);
}

.hero,
.document {
  max-width: 48rem;
}

.eyebrow {
  margin: 0 0 0.65rem;
  color: #247a5a;
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 1.15;
}

h1 {
  margin: 0;
  max-width: 17ch;
  font-size: clamp(2.2rem, 7vw, 4.8rem);
  letter-spacing: -0.045em;
}

.document h1 {
  max-width: none;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

h2 {
  margin-top: 2.2rem;
  font-size: 1.28rem;
}

p,
li,
address {
  line-height: 1.65;
}

.lead {
  max-width: 42rem;
  margin-block: 1.3rem 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.15rem;
  border-radius: 999px;
  background: #f07b6a;
  color: #19352a;
  font-weight: 800;
  text-decoration: none;
}

.button.secondary {
  background: #e7f6ee;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.card,
.notice {
  padding: 1.2rem;
  border: 1px solid rgb(36 122 90 / 16%);
  border-radius: 1.25rem;
  background: rgb(255 255 255 / 82%);
  box-shadow: 0 1rem 2.8rem rgb(25 53 42 / 8%);
}

.card h2 {
  margin-top: 0;
}

.notice {
  margin-block: 1.5rem;
  background: #e7f6ee;
  box-shadow: none;
}

.meta {
  color: #536a61;
  font-size: 0.93rem;
}

address {
  font-style: normal;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.5rem 2.5rem;
  border-top: 1px solid rgb(36 122 90 / 18%);
  color: #536a61;
  font-size: 0.9rem;
}

@media (max-width: 46rem) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .cards {
    grid-template-columns: 1fr;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    background: #15221e;
    color: #edf5f1;
  }

  body {
    background:
      radial-gradient(circle at 10% 5%, rgb(36 122 90 / 32%), transparent 26rem),
      #15221e;
  }

  a,
  a:hover,
  .eyebrow {
    color: #9ed8c7;
  }

  .card {
    background: rgb(32 49 43 / 92%);
  }

  .notice,
  .button.secondary {
    background: #304b42;
  }

  .button {
    color: #15221e;
  }

  .meta,
  .site-footer {
    color: #b8c9c3;
  }
}
