/* Base */
:root {
  --dark: #211f20;
  --white: #fff;
  --primary: #da592f;
  --muted: #999;
  --border: #ffffff26;
}
html, body { background: var(--dark); color: var(--white); }
.legal-body { font-family: Mulish, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; line-height: 1.6; }

/* Hero */
.legal-hero {
  padding: 120px 0 60px;
  background: linear-gradient(180deg, #00000033, #00000000);
}
.legal-title { font-family: Oswald, sans-serif; font-size: 64px; line-height: 1.1; margin: 0 0 10px; }
.legal-subtitle { color: var(--primary); margin: 0 0 10px; }
.legal-meta { color: var(--muted); font-size: 14px; }

/* TOC */
.legal-toc-wrap { position:relative; top: 80px; z-index: 10; padding: 10px 0; background: #0000; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px 16px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 14px 0; }
.legal-toc a { color: var(--white); text-decoration: none; padding: 6px 10px; border-radius: 999px; border: 1px solid var(--border); transition: .2s ease; }
.legal-toc a:hover { background: var(--white); color: var(--dark); }

/* Sections */
.legal-main { padding-bottom: 80px; }
.legal-section { padding: 40px 0; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: 0; }
.legal-section h2 { font-family: Oswald, sans-serif; font-size: 32px; margin: 0 0 12px; }
.legal-list { padding-left: 20px; margin: 0; }
.legal-callout { border: 1px dashed var(--border); padding: 12px 16px; border-radius: 12px; margin-top: 12px; color: var(--white); }
.legal-contact a { color: var(--white); }

/* Accordions */
.acc { border: 1px solid var(--border); border-radius: 14px; margin: 12px 0; overflow: hidden; }
.acc-btn { width: 100%; text-align: left; padding: 16px 18px; background: #ffffff0a; color: var(--white); border: 0; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: space-between; }
.acc-btn:after { content: "+"; font-weight: bold; transition: transform .2s ease; }
.acc-btn.active:after { content: "–"; transform: rotate(0); }
.acc-panel { max-height: 0; overflow: hidden; transition: max-height .25s ease; background: #ffffff05; padding: 0 18px; }
.acc-panel p, .acc-panel ul { margin: 14px 0; }

/* Preferences (switch) */
.prefs { display: flex; align-items: center; gap: 12px; margin: 8px 0; }
.switch { position: relative; display: inline-block; width: 50px; height: 28px; }
.switch input { opacity: 0; width: 0; height: 0; }
.slider { position: absolute; cursor: pointer; top: 0; left: 0; right: 0; bottom: 0; background: #666; transition: .2s; border-radius: 999px; }
.slider:before { position: absolute; content: ""; height: 22px; width: 22px; left: 3px; top: 3px; background: white; transition: .2s; border-radius: 50%; }
.switch input:checked + .slider { background: var(--primary); }
.switch input:checked + .slider:before { transform: translateX(22px); }

/* Buttons */
.button-primary { border-radius: 30px; padding: 12px 24px; text-decoration: none; font-family: Oswald, sans-serif; text-transform: uppercase; }
.button-primary.button-white { background: var(--white); color: var(--primary); }
.button-primary.button-white:hover { background: #eee; }

/* Back to top */
.back-top { text-align: center; margin-top: 30px; }
.back-top-link { color: var(--white); text-decoration: none; border-bottom: 1px dotted var(--white); }

/* Thanks */
.thanks-hero { text-align: center; }
.thanks-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 16px; }
.thanks-info { margin-top: 16px; color: var(--muted); }

/* Responsive */
@media (max-width: 991px) {
  .legal-title { font-size: 48px; }
}
@media (max-width: 600px) {
  .legal-title { font-size: 36px; }
  .legal-toc { gap: 8px; }
  .nav-menu {
    display: none;
  }
}
a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}