/* ─────────────────────────────────────────
   LEGAL : Cookie Banner + Legal Page Layout
───────────────────────────────────────── */

/* ── Cookie Consent Banner (bottom-left popup) ── */
.cc-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  max-width: 400px;
  width: calc(100vw - 48px);
  background: var(--card);
  border: 1px solid var(--border2);
  border-radius: 6px;
  padding: 24px;
  z-index: 9000;
  box-shadow: 0 16px 64px rgba(0,0,0,0.6), 0 2px 12px rgba(0,0,0,0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);

  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.cc-banner.cc-show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.cc-banner.cc-hide {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.cc-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: #fff;
  margin-bottom: 10px;
}

.cc-desc {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.8rem;
  line-height: 1.68;
  color: var(--muted2);
  margin-bottom: 18px;
}

.cc-link {
  color: var(--cl);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.cc-link:hover { color: #fff; }

.cc-accept {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  padding: 10px 20px;
  border-radius: 3px;
  border: none;
  cursor: pointer;
  background: #fff;
  color: #080808;
  transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.cc-accept:hover  { transform: scale(1.03); box-shadow: 0 6px 24px rgba(255,255,255,0.1); }
.cc-accept:active { transform: scale(0.97); }

@media (max-width: 700px) {
  .cc-banner {
    bottom: 16px;
    left: 16px;
    max-width: calc(100vw - 32px);
    padding: 20px;
  }
  .cc-accept {
    width: 100%;
    text-align: center;
  }
}

/* ── Legal Page Layout ── */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
  padding: 140px 44px 80px;
}

.legal-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.6rem;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 6px;
}

.legal-updated {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 48px;
}

.legal-body h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  letter-spacing: 0.06em;
  color: #fff;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.legal-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-body p {
  font-size: 0.86rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.54);
  margin-bottom: 16px;
}

.legal-body ul,
.legal-body ol {
  font-size: 0.86rem;
  line-height: 1.78;
  color: rgba(255,255,255,0.54);
  margin-bottom: 16px;
  padding-left: 20px;
}

.legal-body li {
  margin-bottom: 6px;
}

.legal-body li::marker {
  color: var(--muted);
}

.legal-body a {
  color: var(--cl);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}
.legal-body a:hover { color: #fff; }

.legal-body strong {
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

/* Cookie / storage inventory table */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0 24px;
  font-size: 0.78rem;
}

.legal-table th {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: left;
  color: var(--muted2);
  padding: 10px 12px;
  border-bottom: 1px solid var(--border2);
}

.legal-table td {
  padding: 10px 12px;
  color: rgba(255,255,255,0.54);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
  line-height: 1.5;
}

.legal-table code {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.74rem;
  color: var(--cl);
  background: rgba(255,255,255,0.04);
  padding: 2px 6px;
  border-radius: 3px;
}

.legal-body .legal-note {
  font-size: 0.78rem;
  color: var(--muted);
  font-style: italic;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

@media (max-width: 700px) {
  .legal-page {
    padding: 120px 18px 60px;
  }
  .legal-title {
    font-size: 2rem;
  }
  .legal-table {
    font-size: 0.72rem;
  }
  .legal-table th,
  .legal-table td {
    padding: 8px 8px;
  }
}
