.legal-page {
  margin: 0;
  color: #0d1830;
  background: #f5f1e8;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.legal-shell {
  width: min(100% - 40px, 980px);
  margin: 0 auto;
}

.legal-header {
  background: #0d1830;
  border-bottom: 1px solid rgba(185, 150, 91, 0.3);
}

.legal-header__inner {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand img {
  display: block;
  width: 180px;
  height: auto;
}

.region-switcher--legal {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.region-switcher--legal .region-switcher__link {
  color: #d2d8e4;
}

.region-switcher--legal .region-switcher__link[aria-current="page"] {
  color: #0d1830;
  background: #caa86b;
}

.legal-main {
  padding-top: clamp(54px, 8vw, 90px);
  padding-bottom: clamp(70px, 10vw, 120px);
}

.legal-status {
  margin: 0 0 14px;
  color: #8a672f;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.legal-main h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(42px, 7vw, 72px);
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-intro {
  max-width: 760px;
  margin: 24px 0 0;
  color: #526078;
  font-size: clamp(19px, 2.3vw, 24px);
}

.legal-updated {
  margin: 14px 0 0;
  color: #6c778a;
  font-size: 14px;
}

.legal-warning {
  margin: 42px 0;
  padding: 22px 24px;
  color: #3d2e16;
  background: #eee1c7;
  border-left: 4px solid #b9965b;
  border-radius: 0 12px 12px 0;
}

.legal-sections {
  display: grid;
  gap: 0;
  border-top: 1px solid #d8d1c5;
}

.legal-sections section {
  display: grid;
  grid-template-columns: minmax(190px, 0.36fr) minmax(0, 1fr);
  gap: 42px;
  padding: 32px 0;
  border-bottom: 1px solid #d8d1c5;
}

.legal-sections h2,
.legal-sections p {
  margin: 0;
}

.legal-sections h2 {
  font-size: 20px;
  line-height: 1.35;
}

.legal-sections p {
  color: #4c586d;
}

.legal-footer {
  color: #d2d8e4;
  background: #0d1830;
}

.legal-footer__inner {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-footer p {
  margin: 0;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.legal-links a {
  color: inherit;
  text-decoration-color: rgba(185, 150, 91, 0.65);
  text-underline-offset: 4px;
}

.legal-links a:hover {
  color: #caa86b;
}

@media (max-width: 680px) {
  .legal-shell {
    width: min(100% - 32px, 980px);
  }

  .legal-header__inner,
  .legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-top: 18px;
    padding-bottom: 18px;
  }

  .legal-sections section {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}
