@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url(/fonts/dm-sans-latin.woff2) format('woff2');
}
@font-face {
  font-family: 'Outfit';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(/fonts/outfit-latin.woff2) format('woff2');
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #F6F7F6;
  color: #333A40;
  font-family: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: #1E6A42; }
a:hover { color: #16532F; }
a:focus-visible {
  outline: 3px solid #2F8F5B;
  outline-offset: 3px;
}

.site-header {
  padding: 28px 24px 0;
}

.site-header a {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.site-header img {
  display: block;
  width: 180px;
  height: auto;
}

main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(32px, 6vh, 56px) 24px clamp(48px, 8vh, 72px);
  font-size: 17px;
  line-height: 1.6;
}

h1, h2 {
  font-family: 'Outfit', system-ui, sans-serif;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4vw, 40px);
  letter-spacing: -0.015em;
}

h2 {
  margin: 40px 0 12px;
  font-size: clamp(21px, 2.6vw, 25px);
}

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

p, ul { margin: 0 0 16px; }
li + li { margin-top: 8px; }

.updated {
  margin-bottom: 32px;
  color: #555D65;
}

footer {
  flex: 0 0 auto;
  background: #333A40;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px 32px;
}

.footer-logo {
  display: block;
  height: 32px;
  width: auto;
}

.footer-inner p {
  margin: 0;
  font-size: 15px;
  line-height: 1.5;
  color: #D2D6D9;
}

.footer-inner a { color: #FFFFFF; }
.footer-inner a:hover { color: #E6F2EB; }
.footer-inner a:focus-visible { outline-color: #FFFFFF; }

.footer-inner .footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

.footer-social img {
  display: block;
  width: 36px;
  height: 36px;
}

@media (max-width: 640px) {
  main { font-size: 16px; }
  .footer-inner { flex-direction: column; justify-content: center; text-align: center; gap: 16px; }
  .footer-inner p span { display: block; }
  .footer-inner p .footer-sep { display: none; }
  .footer-inner p a { display: inline-block; padding: 2px 0; }
}
