:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #f5f8f7;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #17352c;
  background:
    radial-gradient(circle at 12% 0%, rgba(27, 166, 118, 0.1), transparent 34rem),
    #f5f8f7;
  font-size: 16px;
  line-height: 1.65;
}

main {
  width: min(100%, 824px);
  margin: 0 auto;
  padding: 40px 22px 64px;
}

nav.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 0 0 18px;
  font-size: 15px;
}

article,
section {
  margin: 18px 0;
  padding: 24px 22px;
  border: 1px solid #d8e4df;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 46px rgba(23, 53, 44, 0.07);
}

article > :first-child,
section > :first-child {
  margin-top: 0;
}

article > :last-child,
section > :last-child {
  margin-bottom: 0;
}

h1,
h2,
h3 {
  line-height: 1.24;
  text-wrap: balance;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(28px, 5vw, 38px);
  letter-spacing: -0.025em;
}

h2 {
  margin: 30px 0 10px;
  font-size: clamp(20px, 3vw, 24px);
}

h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

p,
li {
  overflow-wrap: anywhere;
}

a {
  color: #087354;
  text-underline-offset: 0.16em;
}

a:hover {
  text-decoration-thickness: 2px;
}

ul,
ol {
  padding-left: 24px;
}

li + li {
  margin-top: 7px;
}

code {
  padding: 2px 6px;
  border-radius: 7px;
  background: #eef4f1;
  font-size: 0.92em;
  overflow-wrap: anywhere;
}

.notice {
  border-color: #b9d9cd;
  background: #fbfefd;
}

#source-status {
  color: #4a6b60;
}

footer {
  margin: 22px 2px 0;
  color: #4a6b60;
  font-size: 14px;
}

@media (max-width: 560px) {
  main {
    padding: 28px 14px 48px;
  }

  article,
  section {
    padding: 20px 17px;
    border-radius: 16px;
  }
}
