/* Legal pages (Privacy, Terms) — minimal readable layout */
.legal-wrap {
  padding: calc(var(--nav-h) + 60px) 0 80px;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.75;
}
.legal-wrap .container { max-width: 820px; }
.legal-wrap h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  letter-spacing: -0.03em;
  margin: 6px 0 8px;
  color: #fff;
}
.legal-meta {
  color: rgba(255, 255, 255, 0.5);
  font-size: 13px;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-intro {
  font-size: 15px;
  background: rgba(107, 140, 255, 0.06);
  border: 1px solid rgba(107, 140, 255, 0.22);
  border-radius: 10px;
  padding: 14px 18px;
  margin-bottom: 36px;
}
.legal-section {
  margin-bottom: 36px;
}
.legal-section h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}
.legal-section p,
.legal-section ul,
.legal-section ol {
  font-size: 15px;
  margin-bottom: 12px;
}
.legal-section ul,
.legal-section ol {
  padding-left: 22px;
}
.legal-section li {
  margin-bottom: 8px;
}
.legal-section li strong {
  color: #fff;
}
.legal-section a {
  color: #ff7a70;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-section a:hover { color: #fff; }

.legal-placeholder {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(251, 146, 60, 0.15);
  border: 1px dashed rgba(251, 146, 60, 0.5);
  border-radius: 4px;
  color: #fbbf24;
  font-size: 13px;
  font-family: monospace;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0;
  font-size: 14px;
}
.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.legal-table th {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
}
.legal-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: #fff;
}

.legal-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 640px) {
  .legal-wrap { padding: calc(var(--nav-h) + 32px) 0 60px; }
  .legal-section h2 { font-size: 1.1rem; }
  .legal-section p,
  .legal-section ul,
  .legal-section ol { font-size: 14px; }
}

/* Cookie consent banner — bottom-fixed */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 200;
  background: rgba(15, 15, 18, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-width: 720px;
  margin: 0 auto;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.cookie-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-banner__text {
  flex: 1;
  min-width: 260px;
}
.cookie-banner__text strong {
  display: block;
  font-size: 14px;
  color: #fff;
  margin-bottom: 4px;
}
.cookie-banner__text p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}
.cookie-banner__text a {
  color: #ff7a70;
  text-decoration: underline;
}
.cookie-banner__actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cookie-btn {
  padding: 9px 18px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
}
.cookie-btn--decline {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.15);
}
.cookie-btn--decline:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.cookie-btn--accept {
  background: #e5362c;
  color: #fff;
  border-color: #e5362c;
}
.cookie-btn--accept:hover {
  background: #ff5545;
  box-shadow: 0 4px 14px rgba(229, 54, 44, 0.35);
}
@media (max-width: 540px) {
  .cookie-banner { left: 10px; right: 10px; bottom: 10px; padding: 14px; }
  .cookie-banner__actions { width: 100%; }
  .cookie-btn { flex: 1; }
}
