/* Legal pages — reuse blog article typography */

.legal-page { padding: 48px 0 100px; }
.legal-page h1 {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(28px, 6vw, 42px);
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 12px;
}
.legal-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  line-height: 1.6;
}
.legal-content { max-width: 760px; }
.legal-content h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  margin: 32px 0 12px;
  color: var(--text);
}
.legal-content h3 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 16px;
  text-transform: uppercase;
  margin: 24px 0 10px;
  color: var(--text);
}
.legal-content p,
.legal-content li {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
  margin-bottom: 12px;
}
.legal-content ul,
.legal-content ol {
  margin: 0 0 16px 1.2em;
  padding: 0;
}
.legal-content ul { list-style: disc; }
.legal-content ol { list-style: decimal; }
.legal-content a { color: var(--yellow); text-decoration: underline; }
.legal-content a:hover { color: #fff; }
.legal-operator {
  margin: 28px 0;
  padding: 20px 22px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-left: 4px solid var(--yellow);
}
.legal-operator p { margin-bottom: 6px; }
.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-bottom: 28px;
  font-size: 13px;
}
.legal-nav a {
  font-family: var(--display);
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.legal-nav a:hover { color: var(--yellow); }

/* Footer legal links */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 16px;
  font-size: 12px;
}
.footer-legal a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-legal a:hover { color: var(--yellow); }
.footer-operator {
  margin-top: 12px;
  font-size: 11.5px;
  color: var(--muted-2);
  line-height: 1.55;
  max-width: 520px;
}

/* Form consent checkbox */
.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 4px 0 16px;
  cursor: pointer;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
}
.form-consent input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--yellow);
  cursor: pointer;
}
.form-consent a { color: var(--yellow); text-decoration: underline; }
.form-consent.invalid { color: #f08080; }
.form-consent.invalid input { outline: 2px solid #f08080; outline-offset: 1px; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(76px + env(safe-area-inset-bottom));
  z-index: 115;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px 18px;
  background: var(--panel-2);
  border: 1px solid var(--line);
  box-shadow: 0 8px 32px rgba(0,0,0,0.45);
}
.cookie-banner p {
  font-size: 13px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
}
.cookie-banner a { color: var(--yellow); text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-banner .btn { flex: 1; min-width: 120px; justify-content: center; font-size: 14px; padding: 12px 16px; }
.cookie-accept { background: var(--yellow); color: var(--black); border: none; font-weight: 700; cursor: pointer; font-family: var(--display); text-transform: uppercase; letter-spacing: 0.04em; }

@media (min-width: 620px) {
  .cookie-banner {
    left: auto;
    right: 20px;
    bottom: 20px;
    max-width: 420px;
    flex-direction: row;
    align-items: center;
  }
  .cookie-banner-actions { flex-shrink: 0; }
  .cookie-banner .btn { flex: none; }
}

@media (min-width: 900px) {
  .legal-page { padding: 56px 0 80px; }
}
