.footer-legal {
  display: flex;
  flex-direction: column;
  gap: 5px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.35;
}
.footer-legal a:hover,
.footer-legal a:focus-visible { color: var(--blue); }

.signup .legal-check {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: start;
  gap: 11px;
  text-transform: none;
  letter-spacing: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #a9bcc4;
  cursor: pointer;
}
.signup .legal-check input {
  appearance: none;
  width: 19px;
  height: 19px;
  margin: 1px 0 0;
  padding: 0;
  border: 1px solid #64808b;
  background: transparent;
  display: grid;
  place-content: center;
}
.signup .legal-check input::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--ink);
  transform: scale(0);
  transition: transform .15s ease;
  clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 20%, 84% 6%, 39% 67%);
}
.signup .legal-check input:checked {
  border-color: var(--blue);
  background: var(--blue);
}
.signup .legal-check input:checked::before { transform: scale(1); }
.signup .legal-check input:focus-visible { outline: 3px solid rgba(8,174,237,.28); outline-offset: 3px; }
.signup .legal-check a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

.cookie-banner {
  position: fixed;
  z-index: 90;
  right: 22px;
  bottom: 22px;
  width: min(610px, calc(100% - 44px));
  padding: 18px 20px;
  border: 1px solid rgba(8,174,237,.75);
  background: rgba(5,24,33,.98);
  box-shadow: 0 18px 50px rgba(0,0,0,.42);
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; color: #c6d5da; font-size: 13px; line-height: 1.45; }
.cookie-banner a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.cookie-accept {
  flex: 0 0 auto;
  min-height: 42px;
  border: 0;
  padding: 0 22px;
  background: var(--blue);
  color: var(--ink);
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
}
.cookie-accept:hover { background: #38c5fa; }

.legal-page { min-height: 100vh; background: #061821; color: #fff; }
.legal-topbar {
  height: 86px;
  padding: 0 clamp(20px,5vw,76px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  background: #061821;
}
.legal-topbar .brand img { width: 54px; height: 54px; }
.legal-back { color: #c4d2d7; font: 800 12px var(--body); letter-spacing: .08em; text-transform: uppercase; }
.legal-back:hover { color: var(--blue); }
.legal-shell { width: min(960px, calc(100% - 40px)); margin: 0 auto; padding: 74px 0 100px; }
.legal-kicker { color: var(--blue); font: 900 14px var(--display); letter-spacing: .12em; text-transform: uppercase; }
.legal-shell h1 { max-width: 850px; margin: 14px 0 22px; font: 900 clamp(42px,6vw,76px)/.96 var(--display); text-transform: uppercase; }
.legal-lead { max-width: 760px; color: #b8cad1; font-size: 18px; }
.legal-alert { margin: 34px 0; padding: 18px 20px; border-left: 3px solid #f13d3d; background: rgba(241,61,61,.08); color: #e7d8d8; }
.legal-content { margin-top: 48px; counter-reset: legal-section; }
.legal-content section { padding: 32px 0; border-top: 1px solid var(--line); }
.legal-content h2 { margin: 0 0 16px; font: 900 clamp(25px,3vw,34px)/1.1 var(--display); text-transform: uppercase; }
.legal-content p,
.legal-content li { color: #b8cad1; }
.legal-content ul { padding-left: 22px; }
.legal-content li + li { margin-top: 8px; }
.legal-content a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }
.legal-meta { color: #78919b; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

@media (max-width: 760px) {
  footer .footer-legal { order: 3; }
  .cookie-banner { right: 12px; bottom: 12px; width: calc(100% - 24px); padding: 16px; align-items: stretch; flex-direction: column; gap: 13px; }
  .cookie-accept { width: 100%; }
  .legal-topbar { height: 70px; }
  .legal-topbar .brand span { display: none; }
  .legal-shell { padding: 50px 0 70px; }
  .legal-lead { font-size: 16px; }
}
