:root {
  color-scheme: dark;
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(26, 26, 26, 0.94), #050505 65%);
  color: #f4f4f4;
  line-height: 1.7;
  font-family: "Source Sans 3", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

a {
  color: #ff9234;
  text-decoration: underline;
}

a:hover,
a:focus-visible {
  color: #ffb372;
  outline: none;
}

.legal-header {
  position: sticky;
  top: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px clamp(16px, 4vw, 64px);
  background: rgba(12, 12, 12, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  z-index: 20;
}

.legal-header__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.legal-header__brand img {
  width: clamp(80px, 18vw, 140px);
  height: auto;
}

.legal-header__brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

.legal-main {
  max-width: 960px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 64px) clamp(18px, 6vw, 48px) 96px;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: #f4f4f4;
}

.legal-content__header h2 {
  margin-bottom: 0;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
}

.legal-content__effective-date {
  margin-top: 6px;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.68);
}

.legal-content h3 {
  margin-top: 28px;
  margin-bottom: 8px;
  font-size: clamp(1.15rem, 3.2vw, 1.35rem);
  color: #ffd9bf;
}

.legal-content p {
  margin: 0;
  font-size: 1rem;
  color: rgba(244, 244, 244, 0.88);
}

.legal-content ul {
  margin: 0;
  padding-left: 22px;
  display: grid;
  gap: 10px;
  color: rgba(244, 244, 244, 0.88);
  list-style: disc;
}

.legal-content li {
  font-size: 1rem;
  line-height: 1.6;
}

.legal-footer {
  margin-top: auto;
  padding: 32px clamp(16px, 4vw, 40px);
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(12, 12, 12, 0.92);
}

@media (max-width: 640px) {
  .legal-header {
    padding: 16px 18px;
  }

  .legal-header__brand-text {
    display: none;
  }

  .legal-main {
    padding: 24px 18px 72px;
  }

  .legal-content ul {
    padding-left: 18px;
  }
}
