/* ===== Legal pages (privacy.html, terms.html) ===== */

.legal-page {
  padding-top: 56px; /* nav height */
  min-height: 100vh;
  background: var(--white);
}

.legal-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 28px 100px;
}

.legal-header {
  margin-bottom: 56px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--cloud);
}

.legal-header .h2 {
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 14px;
  color: var(--pewter);
  margin-bottom: 8px;
}

.legal-entity {
  font-size: 13px;
  color: var(--pewter);
  line-height: 1.6;
}

/* ===== Body content ===== */
.legal-body h2 {
  font-size: 18px;
  font-weight: 500;
  color: var(--carbon);
  margin-top: 40px;
  margin-bottom: 12px;
}

.legal-body h3 {
  font-size: 15px;
  font-weight: 500;
  color: var(--carbon);
  margin-top: 20px;
  margin-bottom: 8px;
}

.legal-body p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--graphite);
  margin-bottom: 14px;
}

.legal-body ul {
  margin: 0 0 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-body ul li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--graphite);
}

.legal-body a {
  color: var(--blue);
  text-decoration: none;
  transition: opacity 0.2s;
}

.legal-body a:hover { opacity: 0.75; }

/* ===== Table ===== */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px;
  font-size: 14px;
}

.legal-table th {
  text-align: left;
  font-weight: 500;
  color: var(--carbon);
  padding: 10px 16px;
  background: var(--ash);
  border-bottom: 1px solid var(--cloud);
}

.legal-table td {
  padding: 10px 16px;
  color: var(--graphite);
  border-bottom: 1px solid var(--cloud);
  vertical-align: top;
  line-height: 1.6;
}

.legal-table tr:last-child td { border-bottom: none; }

/* ===== Contact block ===== */
.legal-contact {
  margin-top: 16px;
  padding: 24px 28px;
  background: var(--ash);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.legal-contact p {
  font-size: 14px;
  color: var(--graphite);
  margin: 0;
  line-height: 1.7;
}

.legal-contact a {
  color: var(--blue);
  text-decoration: none;
}

/* ===== Cookie Banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--carbon);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 28px;
  transform: translateY(0);
  transition: transform 0.33s ease;
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-text {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  flex: 1;
  margin: 0;
}

.cookie-text strong { color: var(--white); font-weight: 500; }

.cookie-text a {
  color: rgba(255,255,255,0.75);
  text-decoration: underline;
  transition: color 0.2s;
}

.cookie-text a:hover { color: var(--white); }

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.cookie-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  white-space: nowrap;
}

.cookie-btn--decline {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.2);
}

.cookie-btn--decline:hover { background: rgba(255,255,255,0.08); color: var(--white); }

.cookie-btn--accept {
  background: var(--blue);
  color: var(--white);
}

.cookie-btn--accept:hover { background: #3460c8; }

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
  }
  .cookie-actions { width: 100%; }
  .cookie-btn { flex: 1; text-align: center; }
}
