:root {
  color-scheme: light dark;
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC",
    "Helvetica Neue", sans-serif;
  background: #f4f4f0;
  color: #181816;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-rows: 1fr auto;
  background:
    radial-gradient(circle at 15% 15%, rgb(255 255 255 / 92%), transparent 42%),
    #f4f4f0;
}

main {
  display: grid;
  place-items: center;
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: clamp(3rem, 9vw, 8rem) clamp(1.5rem, 6vw, 5rem);
}

.hero {
  width: min(100%, 48rem);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0 0 1.75rem;
  color: #65645f;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: #4e7659;
  box-shadow: 0 0 0 0.3rem rgb(78 118 89 / 12%);
}

h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 7.5rem);
  font-weight: 680;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.summary {
  max-width: 32rem;
  margin: 2rem 0 0;
  color: #55544f;
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  line-height: 1.65;
}

.notice {
  max-width: 38rem;
  margin-top: clamp(3rem, 7vw, 5.5rem);
  padding-top: 1.25rem;
  border-top: 1px solid rgb(24 24 22 / 18%);
}

.notice p {
  margin: 0;
  color: #65645f;
  font-size: 0.94rem;
  line-height: 1.75;
}

.notice .notice-title {
  margin-bottom: 0.35rem;
  color: #181816;
  font-weight: 650;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, 76rem);
  margin: 0 auto;
  padding: 1.5rem clamp(1.5rem, 6vw, 5rem) 2rem;
  color: #74736e;
  font-size: 0.78rem;
}

footer p {
  margin: 0;
}

footer a {
  color: inherit;
  text-underline-offset: 0.22em;
}

footer a:hover,
footer a:focus-visible {
  color: #181816;
}

@media (max-width: 36rem) {
  footer {
    flex-direction: column;
    gap: 0.65rem;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    background: #181816;
    color: #f2f1ec;
  }

  body {
    background:
      radial-gradient(circle at 15% 15%, rgb(70 70 65 / 45%), transparent 42%),
      #181816;
  }

  .eyebrow,
  .summary,
  .notice p,
  footer {
    color: #aaa9a2;
  }

  .notice {
    border-top-color: rgb(242 241 236 / 18%);
  }

  .notice .notice-title,
  footer a:hover,
  footer a:focus-visible {
    color: #f2f1ec;
  }
}
