/* ===== ANDMOOK LEGAL / PRIVACY ===== */

.legal-page {
  padding: 68px 0 92px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px);
}

.legal-page h1 {
  margin: 18px 0 26px;
  font-size: clamp(36px, 5vw, 66px);
  line-height: .98;
  letter-spacing: -.045em;
}

.legal-page h2 {
  margin: 42px 0 14px;
  font-size: 23px;
  line-height: 1.15;
}

.legal-page h3 {
  margin: 26px 0 10px;
  font-size: 17px;
}

.legal-page p,
.legal-page li {
  color: #666d70;
  font-size: 15px;
  line-height: 1.7;
}

.legal-page p {
  margin: 0 0 14px;
}

.legal-page ul,
.legal-page ol {
  margin: 12px 0 18px;
  padding-left: 21px;
}

.legal-page a {
  color: #319451;
}

.legal-meta {
  margin-bottom: 28px;
  padding: 18px 20px;
  border: 1px solid rgba(17,23,28,.08);
  border-radius: 15px;
  background: #f7f8f6;
}

.legal-meta strong,
.legal-meta span {
  display: block;
}

.legal-meta strong {
  margin-bottom: 4px;
  color: #202629;
}

.legal-meta span {
  color: #7b8184;
  font-size: 12px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-top: 12px;
  font-size: 11px;
}

.footer-legal a,
.footer-legal button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.25);
  text-underline-offset: 3px;
  cursor: pointer;
}

.task-form-consent {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  margin-top: 14px;
  color: #7b8184;
  font-size: 11px;
  line-height: 1.5;
}

.task-form-consent input {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  accent-color: #3aa15a;
}

.task-form-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent {
  position: fixed;
  z-index: 10000;
  right: 22px;
  bottom: 22px;
  width: min(470px, calc(100vw - 32px));
  box-sizing: border-box;
  padding: 20px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 18px;
  background: #11171c;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  color: #fff;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent strong {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
}

.cookie-consent p {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 12px;
  line-height: 1.55;
}

.cookie-consent a {
  color: #72d48d;
}

.cookie-consent-actions {
  display: flex;
  gap: 9px;
  margin-top: 16px;
}

.cookie-consent button {
  min-height: 40px;
  padding: 0 14px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
}

.cookie-accept {
  border: 0;
  background: #50be70;
  color: #101713;
}

.cookie-reject {
  border: 1px solid rgba(255,255,255,.15);
  background: transparent;
  color: #fff;
}

@media (max-width: 700px) {
  .legal-page {
    padding-top: 48px;
  }

  .cookie-consent {
    right: 16px;
    bottom: 16px;
  }

  .cookie-consent-actions {
    flex-direction: column;
  }
}


/* ===== FOOTER LEGAL SINGLE ROW V2 ===== */

@media (min-width: 1181px) {

  .footer-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 24px;
  }

  .footer-inner > span:first-child {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  .footer-inner > span:nth-child(2) {
    flex: 1 1 auto;
    min-width: 0;
    text-align: center;
    white-space: nowrap;
  }

  .footer-legal {
    display: flex;
    flex: 0 0 auto;
    flex-wrap: nowrap;
    align-items: center;
    gap: 18px;
    margin: 0;
    white-space: nowrap;
  }

  .footer-legal a,
  .footer-legal button {
    white-space: nowrap;
  }

}


@media (max-width: 1180px) {

  .footer-inner {
    row-gap: 12px;
  }

  .footer-legal {
    width: 100%;
    margin-top: 0;
  }

}
