/* ===== Cookie Banner & Legal ===== */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2500;
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 24px;
  background: rgba(12, 28, 42, 0.95);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(20px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
  display: none;
  align-items: flex-start;
  gap: 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: opacity 0.35s, transform 0.35s;
}

.cookie-banner.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.cookie-banner-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: rgba(0, 212, 170, 0.12);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cookie-banner-body {
  flex: 1;
  min-width: 0;
}

.cookie-banner-body h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.cookie-banner-body p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 14px;
}

.cookie-banner-body a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cookie-banner-actions .btn {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.policy-page {
  position: relative;
  z-index: 1;
  padding: calc(var(--nav-h) + 48px) 0 80px;
}

.policy-wrap {
  max-width: 820px;
  margin: 0 auto;
  padding: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(16px);
}

.policy-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  margin-bottom: 8px;
}

.policy-meta {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.policy-wrap h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 28px 0 12px;
  color: var(--teal);
}

.policy-wrap p,
.policy-wrap li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

.policy-wrap ul {
  padding-left: 20px;
  margin-bottom: 16px;
}

.policy-wrap a {
  color: var(--teal);
}

.form-checkbox a {
  color: var(--teal);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--teal); }

@media (max-width: 768px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    padding: 18px;
  }

  .cookie-banner-actions {
    width: 100%;
  }

  .cookie-banner-actions .btn {
    flex: 1;
    justify-content: center;
  }

  .policy-wrap {
    padding: 28px 20px;
  }
}
