:root {
  --night: #061625;
  --night-deep: #020b13;
  --night-soft: #0a2033;
  --gold: #d9a441;
  --gold-light: #f3c969;
  --white: #fffdf8;
  --text: #e6edf2;
  --muted: #aebbc5;
  --line: rgba(243, 201, 105, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, rgba(217,164,65,.08), transparent 32%),
    linear-gradient(180deg, var(--night) 0%, var(--night-deep) 100%);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.65;
}

a {
  color: var(--gold-light);
}

a:hover {
  color: #fff1bd;
}

.legal-header {
  border-bottom: 1px solid var(--line);
  background: rgba(2,11,19,.9);
  backdrop-filter: blur(10px);
}

.legal-nav {
  width: min(1180px, calc(100% - 32px));
  margin: auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-brand {
  text-decoration: none;
  color: var(--white);
}

.legal-brand strong {
  display: block;
  color: var(--gold-light);
  font-size: 20px;
}

.legal-brand span {
  color: var(--muted);
  font-size: 12px;
}

.legal-home {
  text-decoration: none;
  border: 1px solid rgba(243,201,105,.55);
  border-radius: 10px;
  padding: 9px 14px;
}

.legal-wrap {
  width: min(1000px, calc(100% - 32px));
  margin: 46px auto 70px;
}

.legal-hero {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(10,32,51,.96), rgba(2,11,19,.96));
  box-shadow: 0 22px 55px rgba(0,0,0,.28);
  margin-bottom: 26px;
}

.legal-kicker {
  margin: 0 0 8px;
  color: var(--gold-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  color: var(--white);
  font-size: clamp(30px, 5vw, 48px);
  line-height: 1.1;
}

.legal-intro {
  max-width: 760px;
  color: var(--muted);
  margin: 18px 0 0;
}

.legal-card {
  margin: 18px 0;
  padding: 26px 30px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(6,22,37,.72);
}

.legal-card h2 {
  margin-top: 0;
  color: var(--gold-light);
  font-size: 22px;
}

.legal-card h3 {
  color: var(--white);
  margin-bottom: 6px;
}

.legal-card p:last-child,
.legal-card ul:last-child {
  margin-bottom: 0;
}

.legal-card li {
  margin: 7px 0;
}

.legal-warning {
  border-left: 4px solid var(--gold);
  background: rgba(217,164,65,.09);
}

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

.legal-table th,
.legal-table td {
  padding: 12px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--gold-light);
}

.legal-footer {
  border-top: 1px solid var(--line);
  background: #020b13;
  padding: 32px 16px;
  text-align: center;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 20px;
  margin-bottom: 18px;
}

.legal-footer-links a {
  text-decoration: none;
}

.legal-copyright {
  color: var(--muted);
  font-size: 12px;
  max-width: 900px;
  margin: auto;
}

.legal-date {
  color: var(--muted);
  font-size: 13px;
  margin-top: 14px;
}

@media (max-width: 700px) {
  .legal-nav {
    min-height: 68px;
  }

  .legal-hero,
  .legal-card {
    padding: 22px 18px;
  }

  .legal-wrap {
    margin-top: 26px;
  }

  .legal-table {
    font-size: 13px;
  }
}
