:root {
  --navy: #071E41;
  --blue: #0A4DA2;
  --orange: #FF6B00;
  --orange-dark: #E55F00;
  --white: #FFFFFF;
  --bg-light: #F5F8FC;
  --gray-100: #F1F5F9;
  --gray-200: #E2E8F0;
  --gray-500: #64748B;
  --gray-700: #334155;
  --text: #0B1930;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --max-width: 780px;
}

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

body {
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
  font-weight: 600;
}

:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: var(--radius);
}

.legal-topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  box-shadow: 0 1px 0 var(--gray-200), 0 2px 8px rgba(7, 30, 65, 0.05);
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.legal-topbar__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.0625rem;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.legal-topbar__logo svg {
  color: var(--blue);
}

.legal-topbar__call {
  background-color: var(--orange);
  color: var(--white);
  font-weight: 700;
  font-size: 0.875rem;
  padding: 10px 18px;
  border-radius: var(--radius);
  text-decoration: none;
  white-space: nowrap;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  transition: background-color 0.2s ease;
}

.legal-topbar__call:hover {
  background-color: var(--orange-dark);
  color: var(--white);
  text-decoration: none;
}

.legal {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal__updated {
  color: var(--gray-500);
  font-size: 0.875rem;
  margin-bottom: 28px;
}

.legal h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 32px;
  margin-bottom: 10px;
  color: var(--text);
}

.legal p {
  margin-bottom: 14px;
  color: var(--gray-700);
  line-height: 1.7;
}

.legal ul {
  margin: 0 0 14px 20px;
  color: var(--gray-700);
}

.legal ul li {
  margin-bottom: 8px;
  line-height: 1.6;
}

.legal__back {
  margin-top: 40px;
  font-size: 0.9375rem;
}

.legal-footer {
  background-color: var(--navy);
  color: rgba(255, 255, 255, 0.7);
  padding: 32px 24px;
  text-align: center;
}

.legal-footer__links {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 12px;
}

.legal-footer__links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.legal-footer__links a:hover {
  color: var(--white);
  text-decoration: underline;
}

.legal-footer__copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 600px) {
  .legal-topbar__call {
    font-size: 0.75rem;
    padding: 8px 14px;
  min-height: 44px;
  display: inline-flex;
    align-items: center;
  }

  .legal h1 {
    font-size: 1.625rem;
  }

  .legal-topbar__logo {
    font-size: 0.9375rem;
  }
}
