:root {
  color-scheme: light dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #17211d;
  background: #f3f7f5;
}

body {
  margin: 0;
}

main {
  box-sizing: border-box;
  width: min(760px, calc(100% - 32px));
  margin: 48px auto;
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid #d9e5df;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 18px 50px rgb(24 67 47 / 8%);
}

h1,
h2 {
  line-height: 1.2;
}

h1 {
  margin-top: 0;
  font-size: clamp(2rem, 7vw, 3rem);
}

h2 {
  margin-top: 2rem;
  font-size: 1.2rem;
}

.eyebrow,
.updated {
  color: #4c6258;
}

.eyebrow {
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

a {
  color: #087b50;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #d9e5df;
}

@media (prefers-color-scheme: dark) {
  :root {
    color: #ecf5f0;
    background: #0d1511;
  }

  main {
    border-color: #283b32;
    background: #15211b;
    box-shadow: none;
  }

  .eyebrow,
  .updated {
    color: #a8bdb2;
  }

  a {
    color: #55d69e;
  }

  nav {
    border-color: #283b32;
  }
}
