:root {
  color-scheme: light;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #17211c;
  background: #f6f8f6;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
}

main,
footer {
  width: min(100% - 2rem, 46rem);
  margin-inline: auto;
}

main {
  display: grid;
  align-items: center;
  padding-block: clamp(3rem, 10vw, 7rem);
}

article {
  background: #fff;
  border: 1px solid #dfe6e1;
  border-radius: 0.75rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  box-shadow: 0 1rem 2.5rem rgb(23 33 28 / 0.06);
}

h1 {
  margin-block: 0 1.25rem;
  font-size: clamp(2rem, 7vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.035em;
}

p {
  margin-block: 0 1.25rem;
}

p:last-child,
address:last-child {
  margin-bottom: 0;
}

a {
  color: #176b49;
  text-underline-offset: 0.18em;
  text-decoration-thickness: 0.08em;
}

a:hover {
  color: #0d4d33;
}

a:focus-visible {
  outline: 3px solid #f0b429;
  outline-offset: 3px;
  border-radius: 0.1rem;
}

address {
  margin-top: 2rem;
  font-style: normal;
}

footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  padding-block: 1.5rem 2rem;
  border-top: 1px solid #dfe6e1;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
