/* ════════════════════════════════════════════════════════════
   LEGAL DESIGN SYSTEM — LAOS V1.5
   Reusable styling for every legal page (Terms, Privacy,
   Refund, Disclaimer, Cookie Policy, Legal Notice, …).
   Only the CONTENT changes per page — the design stays identical.

   Laos palette:
     gold  #B38A47  — titles, numbers, links
     red   #CC2200  — card border, final divider
     blue  #1a4fa0  — list diamonds, hero divider

   Class map (generic, never page-specific):
     .legal-page
     .legal-hero  / .legal-hero__updated / .legal-hero__applies
     .legal-toc
     .legal-group / .legal-group__label / .legal-group__cards
     .legal-card  / .legal-card__num / .legal-card__body
     .legal-sub
     .legal-list
     .legal-final-divider
     .legal-disclaimer
     .legal-link
   ════════════════════════════════════════════════════════════ */

/* ─── GRADIENTS + SMOOTH SCROLL (legal page identity) ──────── */
html {
  scroll-behavior: smooth;
  background:
    radial-gradient(circle 500px at top left,
      rgba(26,79,160,.20) 0%,
      transparent 100%),
    radial-gradient(circle 500px at top right,
      rgba(204,34,0,.18) 0%,
      transparent 100%),
    #101010;
}
body { background: transparent; }
main { background: transparent; }

/* Text spacing, desktop only */
@media (min-width: 601px) {
  body {
    letter-spacing: 0.5px;
    word-spacing: 1px;
  }
}

/* ─── PAGE ─────────────────────────────────────────────────── */
.legal-page {
  max-width: 860px;
  margin: 0 auto;
  padding: 110px 24px 80px;
}

/* ─── HERO ─────────────────────────────────────────────────── */
.legal-hero { text-align: center; margin-bottom: 8px; }

.legal-hero h1 {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(22px, 4vw, 38px);
  color: #B38A47;
  margin-bottom: 10px;
  line-height: 1.3;
}

.legal-hero__updated {
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  color: #888888;
  font-weight: 300;
  letter-spacing: 0.04em;
}

.legal-hero__applies {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px 22px;
  margin-top: 24px;
}
.legal-hero__applies-label {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B38A47;
}
.legal-hero__applies span:not(.legal-hero__applies-label) {
  position: relative;
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  font-weight: 300;
  color: #C9C9C9;
}
.legal-hero__applies span:not(.legal-hero__applies-label):not(:last-child)::after {
  content: '\2022';
  position: absolute;
  right: -13px;
  color: #444;
}

.legal-hero__divider {
  width: 100%;
  height: 1px;
  background: #1a4fa0;
  margin: 40px 0 0;
}

/* ─── STICKY TOC ───────────────────────────────────────────── */
.legal-toc {
  position: sticky;
  top: 60px;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  padding: 16px 0;
  margin-bottom: 24px;
  background: rgba(16,16,16,.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #222;
}
.legal-toc a {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #BFBFBF;
  padding: 6px 13px;
  border: 1px solid #2c2c2c;
  border-radius: 999px;
  transition: color .2s, border-color .2s, background .2s;
}
.legal-toc a:hover {
  color: #B38A47;
  border-color: #B38A47;
  background: rgba(179,138,71,.07);
}

/* ─── GROUPS ───────────────────────────────────────────────── */
.legal-group {
  margin-top: 56px;
  padding: 36px 30px 32px;
  border: 1px solid #1f1f1f;
  border-radius: 10px;
  background: rgba(255,255,255,.018);
}
.legal-group:first-of-type { margin-top: 16px; }

.legal-group__label {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 26px;
  color: #B38A47;
}
.legal-group__label::before,
.legal-group__label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.30;
}
.legal-group__label span {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ─── CARDS ────────────────────────────────────────────────── */
.legal-group__cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.legal-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: start;
  background: #1A1A1A;
  border-left: 3px solid #CC2200;
  border-radius: 4px;
  padding: 24px 30px;
  scroll-margin-top: 140px;
}

.legal-card__num {
  font-family: 'Cinzel Decorative', serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
  color: #B38A47;
}

.legal-card__body h2 {
  font-family: 'Cinzel', serif;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #F0F0F0;
  margin-bottom: 12px;
}

.legal-card__body p {
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #D8D8D8;
  line-height: 1.85;
}
.legal-card__body p + p { margin-top: 12px; }

/* Sub-labels (6.1, 6.2, etc.) */
.legal-sub {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.05em;
  color: #B38A47;
  margin-top: 18px;
  margin-bottom: 6px;
}

/* Lists with blue diamond */
.legal-list {
  list-style: none;
  margin-top: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.legal-list li {
  position: relative;
  padding-left: 24px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 300;
  color: #D8D8D8;
  line-height: 1.7;
}
.legal-list li::before {
  content: '\25C6';
  position: absolute;
  left: 0;
  top: 3px;
  font-size: 10px;
  color: #1a4fa0;
}

/* ─── FINAL DIVIDER + DISCLAIMER ───────────────────────────── */
.legal-final-divider {
  width: 50%;
  height: 2px;
  background: #CC2200;
  margin: 56px auto 0;
}
.legal-disclaimer {
  max-width: 660px;
  margin: 28px auto 0;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  font-weight: 300;
  font-style: italic;
  line-height: 1.9;
  color: #9A9A9A;
}

.legal-link { color: #B38A47; }
.legal-link:hover { color: #F0F0F0; }

/* ─── RESPONSIVE ───────────────────────────────────────────── */
@media (max-width: 600px) {
  .legal-card {
    gap: 14px;
    padding: 20px 18px;
  }
  .legal-card__num { font-size: 26px; }
}
