/* Kordivon analytics consent and legal pages */
.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-legal-links a,
.footer-legal-links button {
  color: inherit;
  font: inherit;
  font-size: 12px;
  text-decoration: none;
  opacity: .78;
}

.footer-legal-links button {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
}

.footer-legal-links a:hover,
.footer-legal-links button:hover,
.footer-legal-links a:focus-visible,
.footer-legal-links button:focus-visible {
  color: #c48a4a;
  opacity: 1;
}

.consent-banner {
  position: fixed;
  z-index: 9999;
  left: 24px;
  right: 24px;
  bottom: 24px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 26px;
  border: 1px solid rgba(196, 138, 74, .55);
  background: rgba(11, 13, 16, .97);
  box-shadow: 0 20px 70px rgba(0, 0, 0, .42);
  color: #f6f7f9;
  backdrop-filter: blur(16px);
}

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

.consent-copy {
  display: grid;
  gap: 7px;
}

.consent-kicker {
  color: #c48a4a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
}

.consent-copy strong {
  font-size: 18px;
}

.consent-copy p {
  max-width: 780px;
  margin: 0;
  color: #aeb4bd;
  font-size: 13px;
  line-height: 1.65;
}

.consent-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.consent-links a {
  color: #d8dbe0;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.consent-btn {
  min-height: 42px;
  border: 1px solid rgba(196, 138, 74, .7);
  padding: 0 18px;
  font: 600 12px/1 Inter, sans-serif;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.consent-btn-primary {
  background: #c48a4a;
  color: #0b0d10;
}

.consent-btn-primary:hover,
.consent-btn-primary:focus-visible {
  background: #dfa961;
}

.consent-btn-secondary {
  background: transparent;
  color: #f6f7f9;
}

.consent-btn-secondary:hover,
.consent-btn-secondary:focus-visible {
  border-color: #f6f7f9;
  background: rgba(246, 247, 249, .08);
}

.legal-page {
  min-height: 100vh;
  background: #f6f7f9;
  color: #0f1a3a;
}

.legal-header {
  border-bottom: 1px solid rgba(15, 26, 58, .12);
  background: #0b0d10;
}

.legal-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
}

.legal-header img {
  width: 220px;
  height: auto;
}

.legal-header a:last-child {
  color: #f6f7f9;
  font-size: 13px;
  text-decoration: none;
}

.legal-main {
  padding: 92px 0 110px;
}

.legal-copy {
  max-width: 840px;
}

.legal-copy .section-kicker {
  margin-bottom: 20px;
}

.legal-copy h1 {
  margin: 0 0 20px;
  color: #0b0d10;
  font-size: clamp(42px, 7vw, 76px);
  letter-spacing: -.055em;
}

.legal-copy .legal-updated {
  margin-bottom: 48px;
  color: #68717c;
  font-size: 13px;
}

.legal-copy h2 {
  margin: 42px 0 12px;
  color: #0f1a3a;
  font-size: 23px;
}

.legal-copy p,
.legal-copy li {
  color: #3e4855;
  line-height: 1.75;
}

.legal-copy ul {
  padding-left: 22px;
}

.legal-copy a {
  color: #8d5c27;
}

.legal-note {
  margin-top: 46px;
  padding: 22px 24px;
  border-left: 3px solid #c48a4a;
  background: #fff;
}

@media (max-width: 760px) {
  .consent-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 20px;
  }

  .consent-actions {
    justify-content: stretch;
  }

  .consent-btn {
    flex: 1 1 160px;
  }

  .footer-legal-links {
    width: 100%;
  }

  .legal-header img {
    width: 180px;
  }

  .legal-main {
    padding: 68px 0 90px;
  }
}
