:root {
  --bg: #090909;
  --panel: #111111;
  --text: #f7f7f7;
  --muted: rgba(255,255,255,.68);
  --line: rgba(255,255,255,.10);
  --accent: #DC2626;
  --accent-2: #f87171;
  --max: 940px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #f5f5f2;
  color: #181818;
  font-family: Montserrat, Inter, "Segoe UI", Arial, sans-serif;
  line-height: 1.7;
}

.legal-header {
  background: linear-gradient(135deg, #080808 0%, #151515 68%, #3A0B0B 100%);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.legal-header__inner,
.legal-main,
.legal-footer__inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

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

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

.legal-brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.legal-brand strong {
  display: block;
  line-height: 1.1;
}

.legal-brand small {
  color: rgba(255,255,255,.62);
}

.legal-back {
  color: rgba(255,255,255,.78);
  font-size: 13px;
  text-decoration: none;
}

.legal-main {
  padding: 70px 0 90px;
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: #B91C1C;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.legal-main h1 {
  margin: 0;
  max-width: 800px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(42px, 7vw, 72px);
  line-height: .98;
  font-weight: 600;
}

.legal-updated {
  margin: 18px 0 44px;
  color: #666;
  font-size: 13px;
}

.legal-lead {
  margin: 0 0 42px;
  padding: 22px 24px;
  border-left: 4px solid var(--accent);
  background: #fff;
  box-shadow: 0 12px 40px rgba(0,0,0,.05);
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid #d8d8d3;
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.legal-section h3 {
  margin: 26px 0 8px;
  font-size: 17px;
}

.legal-section p,
.legal-section li {
  color: #3c3c3c;
}

.legal-section ul {
  padding-left: 22px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 18px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border: 1px solid #deded8;
  text-align: left;
  vertical-align: top;
  font-size: 13px;
}

.legal-table th {
  background: #151515;
  color: #fff;
}

.legal-note {
  padding: 16px 18px;
  border-radius: 12px;
  background: #ecece7;
  color: #3b3b3b;
  font-size: 13px;
}

.legal-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.legal-footer {
  padding: 34px 0;
  background: #0c0c0c;
  color: #fff;
}

.legal-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
}

.legal-footer a,
.legal-footer button {
  color: rgba(255,255,255,.75);
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 720px) {
  .legal-header__inner {
    min-height: 72px;
  }

  .legal-brand small {
    display: none;
  }

  .legal-main {
    padding-top: 48px;
  }

  .legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}
