.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 18px;
  font-size: 12px;
}

.footer-legal a,
.footer-legal button {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(243, 232, 208, .34);
  text-underline-offset: 3px;
}

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

.footer-legal a:hover,
.footer-legal button:hover {
  color: #fff7e7;
  text-decoration-color: currentColor;
}

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

.cookie-consent {
  position: fixed;
  z-index: 1000;
  left: 50%;
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(760px, calc(100% - 28px));
  transform: translateX(-50%);
  color: #f8efde;
  background: rgba(22, 17, 13, .98);
  border: 1px solid rgba(214, 170, 94, .5);
  border-radius: 14px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .34);
  font-family: "Inter", system-ui, sans-serif;
}

.cookie-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 20px;
  padding: 20px;
}

.cookie-consent__eyebrow {
  margin: 0 0 6px;
  color: #d6aa5e;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.cookie-consent__title {
  margin: 0 0 7px;
  color: #fff7e7;
  font: 600 23px/1.05 "Cormorant Garamond", Georgia, serif;
}

.cookie-consent__text {
  max-width: 58ch;
  margin: 0;
  color: rgba(248, 239, 222, .76);
  font-size: 12px;
  line-height: 1.55;
}

.cookie-consent__text a {
  color: #f8efde;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-consent__button {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(248, 239, 222, .24);
  border-radius: 999px;
  color: #f8efde;
  background: transparent;
  font: 600 12px/1 "Inter", system-ui, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.cookie-consent__button:hover {
  border-color: rgba(248, 239, 222, .55);
  background: rgba(248, 239, 222, .06);
}

.cookie-consent__button--primary {
  border-color: #b8853a;
  color: #17110d;
  background: #c9974d;
}

.cookie-consent__button--primary:hover {
  border-color: #d6aa5e;
  background: #d6aa5e;
}

.cookie-consent__button:focus-visible,
.footer-legal button:focus-visible,
.footer-legal a:focus-visible {
  outline: 2px solid #d6aa5e;
  outline-offset: 3px;
}

.legal-page {
  margin: 0;
  color: #2c2620;
  background: #f3ece0;
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.65;
}

.legal-page * {
  box-sizing: border-box;
}

.legal-page a {
  color: #6f2a1d;
}

.legal-header,
.legal-footer {
  color: rgba(243, 232, 208, .76);
  background: #17110d;
}

.legal-header__inner,
.legal-footer__inner,
.legal-main {
  width: min(920px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-header__inner,
.legal-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
}

.legal-header img {
  display: block;
  width: auto;
  height: 52px;
}

.legal-header__back {
  color: #f3e8d0;
  font-size: 13px;
  text-decoration: none;
}

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

.legal-kicker {
  margin: 0 0 14px;
  color: #7a5722;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.legal-main h1,
.legal-main h2 {
  color: #1a1612;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
}

.legal-main h1 {
  max-width: 820px;
  margin: 0 0 16px;
  font-size: clamp(42px, 7vw, 72px);
  line-height: .98;
}

.legal-updated {
  margin: 0 0 52px;
  color: #6e6358;
  font-size: 13px;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid rgba(26, 22, 18, .16);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: 29px;
  line-height: 1.1;
}

.legal-section p,
.legal-section ul {
  margin: 0 0 14px;
}

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

.legal-note {
  padding: 18px 20px;
  border-left: 3px solid #b8853a;
  background: rgba(255, 255, 255, .38);
}

.legal-footer__inner {
  align-items: flex-start;
  padding: 28px 0;
  font-size: 12px;
}

@media (max-width: 720px) {
  .cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .cookie-consent__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cookie-consent__button {
    width: 100%;
  }

  .legal-header__inner,
  .legal-footer__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .legal-main {
    padding-top: 48px;
  }
}
