:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #0b1f3a;
  background: #faf9f6;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --navy: #07182d;
  --gold: #c7a35a;
  --gold-light: #e0c98f;
  --muted: #617083;
  --line: rgba(11, 31, 58, 0.12);
  --shell: min(920px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

a {
  color: inherit;
}

.legal-header {
  color: #fff;
  background: var(--navy);
}

.legal-header-inner,
.legal-main,
.legal-footer-inner {
  width: var(--shell);
  margin: 0 auto;
}

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

.legal-brand {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-back {
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 700;
  text-underline-offset: 5px;
}

.legal-main {
  padding: clamp(72px, 10vw, 120px) 0;
}

.legal-label {
  margin: 0 0 20px;
  color: #9a7633;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.045em;
}

.legal-intro {
  max-width: 740px;
  margin: 30px 0 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.85;
}

.legal-updated {
  margin-top: 24px;
  color: #8a6b31;
  font-size: 0.72rem;
  font-weight: 700;
}

.legal-content {
  margin-top: 64px;
  padding: clamp(32px, 6vw, 64px);
  background: #fff;
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px rgba(7, 24, 45, 0.09);
}

.legal-content section + section {
  margin-top: 44px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.legal-content h2 {
  margin: 0;
  color: var(--navy);
  font-size: 1.35rem;
  line-height: 1.35;
}

.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-content p {
  margin: 16px 0 0;
}

.legal-content ul {
  margin: 16px 0 0;
  padding-left: 20px;
}

.legal-footer {
  padding: 32px 0;
  color: rgba(255, 255, 255, 0.58);
  background: #04101f;
}

.legal-footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 0.72rem;
  line-height: 1.6;
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 36px);
  }

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

  .legal-content {
    padding: 30px 24px;
  }
}
