:root {
  --hsx-consent-bg: #f4efe4;
  --hsx-consent-ink: #171813;
  --hsx-consent-muted: #55584f;
  --hsx-consent-line: rgba(23, 24, 19, 0.2);
  --hsx-consent-accent: #a98738;
}

html.hsx-consent-dialog-open {
  overflow: hidden;
}

.hsx-consent-root,
.hsx-consent-root * {
  box-sizing: border-box;
}

.footer-privacy-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.4;
}

.footer-privacy-link,
.hsx-cookie-settings-button {
  color: inherit;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hsx-cookie-settings-button {
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.hsx-consent-banner[hidden],
.hsx-consent-dialog-backdrop[hidden] {
  display: none !important;
}

.hsx-consent-banner {
  position: fixed;
  z-index: 9990;
  right: clamp(12px, 2.5vw, 36px);
  bottom: clamp(12px, 2.5vw, 30px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  width: min(760px, calc(100vw - 24px));
  padding: 20px;
  color: var(--hsx-consent-ink);
  background: var(--hsx-consent-bg);
  border: 1px solid var(--hsx-consent-line);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.28);
}

.hsx-consent-copy {
  min-width: 0;
}

.hsx-consent-copy strong {
  display: block;
  margin-bottom: 7px;
  font-size: 15px;
  line-height: 1.2;
}

.hsx-consent-copy p {
  margin: 0;
  color: var(--hsx-consent-muted);
  font-size: 13px;
  line-height: 1.55;
}

.hsx-consent-copy a,
.hsx-consent-privacy-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--hsx-consent-ink);
  font-size: 12px;
  font-weight: 700;
  text-underline-offset: 3px;
}

.hsx-consent-actions,
.hsx-consent-dialog-actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.hsx-consent-button {
  min-width: 170px;
  min-height: 44px;
  padding: 10px 14px;
  color: var(--hsx-consent-ink);
  background: transparent;
  border: 1px solid var(--hsx-consent-line);
  border-radius: 0;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
}

.hsx-consent-button--primary {
  color: #fff;
  background: #171813;
  border-color: #171813;
}

.hsx-consent-button:hover {
  border-color: var(--hsx-consent-accent);
}

.hsx-consent-button:focus-visible,
.hsx-consent-dialog-close:focus-visible,
[data-hsx-cookie-settings]:focus-visible,
.hsx-consent-copy a:focus-visible,
.hsx-consent-privacy-link:focus-visible {
  outline: 3px solid #c8a853;
  outline-offset: 3px;
}

.hsx-consent-dialog-backdrop {
  position: fixed;
  z-index: 10000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(8, 9, 7, 0.72);
}

.hsx-consent-dialog {
  position: relative;
  width: min(560px, 100%);
  max-height: min(680px, calc(100vh - 40px));
  overflow: auto;
  padding: clamp(24px, 5vw, 44px);
  color: var(--hsx-consent-ink);
  background: var(--hsx-consent-bg);
  border: 1px solid var(--hsx-consent-line);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

.hsx-consent-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  color: var(--hsx-consent-ink);
  background: transparent;
  border: 0;
  font: inherit;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}

.hsx-consent-kicker {
  margin: 0 0 10px;
  color: #7a6228;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hsx-consent-dialog h2 {
  margin: 0 44px 12px 0;
  color: var(--hsx-consent-ink);
  font-size: clamp(24px, 4vw, 34px);
  line-height: 1.1;
}

.hsx-consent-dialog > p:not(.hsx-consent-kicker) {
  color: var(--hsx-consent-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hsx-consent-status {
  padding: 12px;
  background: rgba(169, 135, 56, 0.1);
  border-left: 3px solid var(--hsx-consent-accent);
}

.hsx-consent-dialog-actions {
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: 22px;
}

.privacy-page {
  min-height: 100vh;
  padding: clamp(110px, 12vw, 160px) clamp(22px, 7vw, 110px) clamp(72px, 9vw, 120px);
  color: #e9e6dc;
  background: #0b0d0a;
}

.privacy-page-shell {
  width: min(920px, 100%);
  margin: 0 auto;
}

.privacy-page .eyebrow {
  color: #c3a456;
}

.privacy-page h1 {
  max-width: 820px;
  margin: 14px 0 20px;
  font-size: clamp(42px, 7vw, 84px);
  line-height: 0.98;
}

.privacy-page-intro {
  max-width: 760px;
  margin: 0 0 48px;
  color: #c5c7be;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

.privacy-page-sections {
  display: grid;
  gap: 18px;
}

.privacy-page-sections section {
  padding: clamp(22px, 4vw, 36px);
  background: #131610;
  border: 1px solid rgba(233, 230, 220, 0.13);
}

.privacy-page-sections h2 {
  margin: 0 0 12px;
  font-size: clamp(22px, 3vw, 31px);
}

.privacy-page-sections p,
.privacy-page-sections li {
  color: #bec1b7;
  line-height: 1.7;
}

.privacy-page-sections a {
  color: #dfc477;
}

.privacy-page-sections .privacy-cookie-action {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  margin-top: 10px;
  padding: 10px 16px;
  color: #10120e;
  background: #dfc477;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 700px) {
  .hsx-consent-banner {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 16px;
  }

  .hsx-consent-actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .hsx-consent-button {
    flex: 1 1 145px;
    min-width: 0;
  }
}

@media (max-width: 390px) {
  .hsx-consent-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: auto;
  }

  body[data-page="home"] .hsx-consent-banner {
    top: calc(72px + env(safe-area-inset-top, 0px));
    bottom: auto;
    max-height: calc(100svh - 88px - env(safe-area-inset-top, 0px));
    overflow-y: auto;
  }

  .hsx-consent-copy p {
    font-size: 12px;
  }

  .hsx-consent-dialog-backdrop {
    align-items: end;
    padding: 8px;
  }

  .hsx-consent-dialog {
    max-height: calc(100vh - 16px);
    padding: 24px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hsx-consent-root *,
  .hsx-consent-root *::before,
  .hsx-consent-root *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
