:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #19302c;
  background: #f6f8f7;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
}

a {
  color: #205749;
  text-underline-offset: 3px;
}

a:hover {
  color: #b45c44;
}

a:focus-visible {
  outline: 2px solid #b45c44;
  outline-offset: 4px;
}

.site-header {
  background: #fff;
  border-bottom: 1px solid #dfe7e3;
}

.header-inner,
main,
.footer-inner {
  width: min(100% - 40px, 760px);
  margin-inline: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #19302c;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 8px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
}

main {
  padding-block: 42px 80px;
}

h1,
h2,
h3 {
  line-height: 1.3;
  letter-spacing: 0;
}

h1 {
  margin: 0 0 8px;
  font-size: 30px;
}

h2 {
  margin: 38px 0 12px;
  font-size: 20px;
}

h3 {
  margin: 26px 0 8px;
  font-size: 16px;
}

p,
li {
  font-size: 15px;
  line-height: 1.8;
}

p {
  margin: 0 0 14px;
}

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

li {
  padding-left: 4px;
  margin-bottom: 7px;
}

.meta {
  color: #60736e;
  font-size: 13px;
}

.language-links {
  display: flex;
  gap: 16px;
  margin: 26px 0 32px;
  font-size: 14px;
}

.language-section {
  scroll-margin-top: 24px;
}

.language-section + .language-section {
  border-top: 1px solid #d8e2dd;
  margin-top: 60px;
  padding-top: 24px;
}

.site-footer {
  border-top: 1px solid #dfe7e3;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px;
  color: #60736e;
  font-size: 13px;
}

.footer-inner a {
  color: inherit;
}

@media (max-width: 540px) {
  .header-inner,
  main,
  .footer-inner {
    width: min(100% - 32px, 760px);
  }

  .header-inner,
  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
  }

  h1 {
    font-size: 26px;
  }
}
