:root {
  color-scheme: dark;
  --night: #11110f;
  --paper: #f5eddb;
  --coral: #ef4b38;
  --lime: #d7f657;
  --muted: rgba(245, 237, 219, 0.67);
  --line: rgba(245, 237, 219, 0.18);
}

* { box-sizing: border-box; }

.legal-document {
  min-height: 100vh;
  background:
    radial-gradient(circle at 88% 12%, rgba(239, 75, 56, 0.24), transparent 30rem),
    var(--night);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.legal-document a { color: inherit; }

.legal-topbar {
  min-height: 96px;
  padding: 16px clamp(20px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.legal-brand img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
}

.legal-brand strong {
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: 18px;
  line-height: 0.92;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.legal-back {
  min-height: 44px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-shell {
  width: min(960px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(64px, 10vw, 128px) 0 100px;
}

.legal-kicker {
  margin: 0 0 24px;
  color: var(--lime);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.legal-document h1 {
  max-width: 12ch;
  margin: 0;
  font-family: Impact, "Arial Narrow", sans-serif;
  font-size: clamp(50px, 9vw, 112px);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: 0.025em;
  text-transform: uppercase;
}

.legal-updated {
  margin: 30px 0 0;
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
}

.legal-content {
  margin-top: clamp(60px, 9vw, 110px);
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.legal-section {
  padding: 38px 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) 1fr;
  gap: 40px;
  border-bottom: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0;
  color: var(--coral);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.legal-section div { min-width: 0; }

.legal-section p,
.legal-section li {
  color: var(--muted);
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.7;
}

.legal-section p { margin: 0 0 16px; }
.legal-section p:last-child { margin-bottom: 0; }
.legal-section ul { margin: 0; padding-left: 20px; }
.legal-section strong { color: var(--paper); }

.legal-contact {
  margin-top: 54px;
  padding: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-radius: 26px;
  background: var(--coral);
  color: var(--paper);
}

.legal-contact span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-contact a {
  font-family: Georgia, serif;
  font-size: clamp(20px, 4vw, 34px);
  font-style: italic;
  text-decoration: none;
}

.legal-footer-note {
  padding: 30px clamp(20px, 5vw, 76px);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
  color: rgba(245, 237, 219, 0.42);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .legal-topbar { min-height: 80px; }
  .legal-brand img { width: 48px; height: 48px; }
  .legal-brand strong { font-size: 14px; }
  .legal-back { padding: 0 14px; font-size: 8px; }
  .legal-shell { width: min(100% - 36px, 960px); padding-top: 62px; }
  .legal-section { grid-template-columns: 1fr; gap: 18px; padding: 30px 0; }
  .legal-section p, .legal-section li { font-size: 16px; }
  .legal-contact { align-items: flex-start; flex-direction: column; }
  .legal-footer-note { flex-direction: column; line-height: 1.55; }
}
