.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

.footer__legal a,
.footer__legal button {
  appearance: none;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.footer__legal a:hover,
.footer__legal button:hover,
.footer__legal a:focus-visible,
.footer__legal button:focus-visible {
  color: var(--brass, #c9a84c);
}

.privacy-consent[hidden],
.privacy-modal[hidden] {
  display: none !important;
}

.privacy-consent {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: min(760px, calc(100vw - 36px));
  max-width: none;
  margin: 0 auto;
  padding: 10px 12px;
  border: 1px solid rgba(201, 168, 76, 0.48);
  border-radius: 10px;
  background: #141414;
  color: #f4f0e8;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.52);
  box-sizing: border-box;
  min-width: 0;
}

.privacy-consent__copy,
.privacy-consent__actions {
  min-width: 0;
}

.privacy-consent__copy h2,
.privacy-modal__panel h2 {
  margin: 0 0 8px;
  color: #f4f0e8;
  font-family: "Antonio", "Arial Narrow", sans-serif;
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
  text-transform: uppercase;
}

.privacy-consent__copy h2 {
  margin-bottom: 0;
}

.privacy-consent__copy p,
.privacy-modal__panel > p,
.privacy-choice p {
  margin: 0;
  color: rgba(244, 240, 232, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.privacy-consent__copy p {
  display: none;
}

.privacy-consent a,
.privacy-modal a {
  color: #e2c777;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.privacy-consent__actions,
.privacy-modal__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(125px, 1fr));
  gap: 8px;
}

.privacy-consent__button {
  min-height: 34px;
  padding: 7px 10px;
  border: 1px solid rgba(244, 240, 232, 0.5);
  border-radius: 4px;
  background: transparent;
  color: #f4f0e8;
  font: 600 11px/1.2 "Inter", Arial, sans-serif;
  cursor: pointer;
}

.privacy-consent__button:hover,
.privacy-consent__button:focus-visible {
  border-color: #e2c777;
  background: rgba(201, 168, 76, 0.12);
  color: #fff;
  outline: 2px solid transparent;
}

.privacy-modal {
  position: fixed;
  z-index: 10010;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
}

.privacy-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.74);
}

.privacy-modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 680px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid rgba(201, 168, 76, 0.5);
  border-radius: 10px;
  background: #141414;
  color: #f4f0e8;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.privacy-modal__panel:focus {
  outline: none;
}

.privacy-modal__panel:focus-visible {
  outline: 2px solid #e2c777;
  outline-offset: 3px;
}

.privacy-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 240, 232, 0.35);
  border-radius: 50%;
  background: transparent;
  color: #f4f0e8;
  font-size: 24px;
  cursor: pointer;
}

.privacy-modal__eyebrow {
  display: block;
  margin-bottom: 8px;
  color: #e2c777;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.privacy-choice {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(244, 240, 232, 0.14);
  border-radius: 7px;
}

.privacy-choice strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.privacy-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #f4f0e8;
  font-size: 12px;
  cursor: pointer;
}

.privacy-switch input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: #c9a84c;
}

.privacy-switch input:disabled {
  cursor: not-allowed;
}

.privacy-modal__actions {
  margin-top: 22px;
}

.privacy-modal__fineprint {
  margin-top: 15px !important;
  font-size: 11px !important;
}

.privacy-modal-open {
  overflow: hidden;
}

.privacy-noscript {
  margin: 0;
  padding: 10px 18px;
  background: #141414;
  color: #f4f0e8;
  font: 12px/1.5 Arial, sans-serif;
  text-align: center;
}

.legal-page {
  padding: clamp(70px, 9vw, 130px) 0;
}

.legal-page__intro {
  max-width: 820px;
  margin-bottom: 44px;
}

.legal-page__updated {
  display: block;
  margin: 18px 0;
  color: var(--brass, #c9a84c);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.legal-page__content {
  max-width: 900px;
}

.legal-page__content section {
  padding: 28px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.legal-page__content h2 {
  margin: 0 0 14px;
  font-size: clamp(25px, 4vw, 38px);
}

.legal-page__content h3 {
  margin: 24px 0 8px;
  font-size: 18px;
}

.legal-page__content p,
.legal-page__content li,
.legal-page__content td,
.legal-page__content th {
  font-size: 15px;
  line-height: 1.75;
}

.legal-page__content ul {
  margin: 12px 0;
  padding-left: 22px;
}

.legal-table-wrap {
  overflow-x: auto;
  margin-top: 16px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 660px;
}

.legal-table th,
.legal-table td {
  padding: 13px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: var(--brass, #c9a84c);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .privacy-consent {
    grid-template-columns: 1fr;
  }

  .privacy-modal__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .privacy-consent {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
    max-height: none;
    overflow: visible;
    padding: 8px;
    width: auto;
    max-width: none;
    gap: 6px;
  }

  .privacy-consent__copy {
    overflow-wrap: anywhere;
  }

  .privacy-consent__copy h2 {
    font-size: 16px;
    margin-bottom: 0;
  }

  .privacy-consent__copy p {
    font-size: 11px;
    line-height: 1.35;
  }

  .privacy-consent__actions {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .privacy-consent__button {
    width: 100%;
    min-height: 32px;
    padding: 6px 4px;
    font-size: 10px;
  }

  .privacy-choice {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .privacy-modal {
    padding: 10px;
  }

  .privacy-modal__panel {
    max-height: calc(100vh - 20px);
  }

  .footer__legal {
    width: 100%;
  }
}

/* Short viewports (phones in landscape) run out of vertical room long
   before horizontal room, so the width-based rules above -- which stack
   the 3 action buttons into a tall single column -- make it worse, not
   better. Keep the row layout and shrink everything instead. */
@media (max-height: 480px) {
  .privacy-consent {
    bottom: 10px;
    padding: 12px 16px;
    max-height: calc(100vh - 20px);
    overflow: auto;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
  }

  .privacy-consent__copy h2 {
    font-size: 16px;
    margin-bottom: 3px;
  }

  .privacy-consent__copy p {
    font-size: 11px;
    line-height: 1.35;
  }

  .privacy-consent__actions {
    grid-template-columns: repeat(3, minmax(90px, 1fr));
    gap: 6px;
  }

  .privacy-consent__button {
    width: auto;
    min-height: 32px;
    padding: 5px 8px;
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .privacy-consent,
  .privacy-modal__panel {
    scroll-behavior: auto;
  }
}
