@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu0-K4.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "DM Sans";
  src: url("../assets/fonts.gstatic.com/s/dmsans/v17/rP2Yp2ywxg089UriI5-g4vlH9VoD8Cmcqbu6-K6h9Q.woff2") format("woff2");
  font-display: swap;
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "Abel";
  src: url("../assets/fonts.gstatic.com/s/abel/v18/MwQ5bhbm2POE6V1LPJp6qGI.woff2") format("woff2");
  font-display: swap;
  font-weight: 400;
  font-style: normal;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #000;
  background: #f7f7f7;
}

a {
  color: #0f3d3a;
  text-decoration: none;
}

a:hover {
  color: #ace570;
}

.site-header {
  background: #0c2239;
  color: #fff;
  padding: 20px 24px;
}

.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-logo img {
  display: block;
  height: 40px;
  width: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-family: "Abel", sans-serif;
  font-size: 14px;
  letter-spacing: 0.02em;
}

.site-nav a {
  color: #fff;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: #ace570;
}

.site-main {
  flex: 1;
  padding: 48px 24px 64px;
}

.site-main__inner {
  max-width: 760px;
  margin: 0 auto;
}

.page-title {
  font-family: "Abel", sans-serif;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 32px;
  color: #0f3d3a;
}

.legal-content h2 {
  font-family: "Abel", sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
  margin: 32px 0 12px;
  color: #0f3d3a;
}

.legal-content h2:first-of-type {
  margin-top: 0;
}

.legal-content p,
.legal-content li {
  margin: 0 0 14px;
}

.legal-content ul {
  margin: 0 0 14px;
  padding-left: 1.25rem;
}

.legal-content a {
  color: #0f3d3a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 28px;
  font-family: "Abel", sans-serif;
  font-size: 14px;
  color: #0f3d3a;
}

.back-link:hover {
  color: #ace570;
}

.site-footer {
  background: #0c2239;
  color: rgba(255, 255, 255, 0.85);
  padding: 40px 24px;
}

.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  gap: 28px;
}

.site-footer__brand {
  font-family: "Abel", sans-serif;
  font-size: 14px;
  color: #ace570;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  font-family: "Abel", sans-serif;
  font-size: 14px;
}

.site-footer__links a {
  color: #fff;
}

.site-footer__links a:hover,
.site-footer__links a.is-active {
  color: #ace570;
}

.site-footer__copy {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}

.error-page {
  text-align: center;
  padding-top: 24px;
}

.error-page .page-title {
  margin-bottom: 16px;
}

.error-page p {
  max-width: 420px;
  margin: 0 auto 28px;
}

.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 999px;
  background: #ace570;
  color: #0c2239;
  font-family: "Abel", sans-serif;
  font-size: 14px;
  text-decoration: none;
}

.btn-primary:hover {
  background: #9ad45e;
  color: #0c2239;
}

@media (max-width: 600px) {
  .site-header {
    padding: 16px 20px;
  }

  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav {
    gap: 12px 16px;
  }

  .site-main {
    padding: 32px 20px 48px;
  }

  .site-footer__links {
    gap: 10px 16px;
  }
}

