.footer-privacy-button {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.footer-privacy-button:hover {
  color: var(--cyan, #4fd3ff);
}

.consent-banner {
  position: fixed;
  right: 20px;
  bottom: 20px;
  left: 20px;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 20px;
  background: rgba(5, 11, 31, .97);
  color: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}

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

.consent-banner strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display, sans-serif);
  font-size: 1.05rem;
}

.consent-banner p {
  max-width: 650px;
  color: #c5d4ec;
  font-size: .88rem;
  line-height: 1.55;
}

.consent-banner a {
  display: inline-block;
  margin-top: 7px;
  color: var(--cyan, #4fd3ff);
  font-size: .82rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.consent-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-display, sans-serif);
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
}

.consent-button.primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--cyan, #4fd3ff), var(--blue-bright, #1e7bff));
  color: #050b1f;
}

.consent-button.secondary {
  border-color: rgba(255, 255, 255, .28);
  background: transparent;
  color: #fff;
}

.consent-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: calc(100vh - 28px);
  overflow: auto;
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: #fff;
  color: #0a1a4a;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.consent-dialog::backdrop {
  background: rgba(2, 6, 20, .72);
  backdrop-filter: blur(5px);
}

.consent-dialog form {
  padding: 30px;
}

.consent-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
}

.consent-dialog-head h2 {
  margin-top: 8px;
  font-family: var(--font-display, sans-serif);
  font-size: clamp(1.35rem, 4vw, 1.8rem);
  line-height: 1.2;
}

.dialog-close {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #eaf5ff;
  color: #0a1a4a;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
}

.consent-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid #dfeaf7;
}

.consent-option strong {
  display: block;
  margin-bottom: 5px;
  font-family: var(--font-display, sans-serif);
}

.consent-option p {
  color: #667694;
  font-size: .88rem;
  line-height: 1.5;
}

.consent-option input {
  flex: none;
  width: 24px;
  height: 24px;
  accent-color: #0c47c9;
  cursor: pointer;
}

.always-on {
  flex: none;
  color: #0c47c9;
  font-size: .78rem;
  font-weight: 800;
}

.consent-dialog-actions {
  padding-top: 24px;
  border-top: 1px solid #dfeaf7;
}

.consent-dialog .consent-button.secondary {
  border-color: #b7c9df;
  color: #0a1a4a;
}

body.consent-banner-open .wa-float {
  bottom: 170px;
}

.privacy-page {
  --navy-deep: #050b1f;
  --navy: #0a1a4a;
  --blue-mid: #0c47c9;
  --blue-bright: #1e7bff;
  --cyan: #4fd3ff;
  --ice: #eaf5ff;
  --gray: #667694;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  margin: 0;
  background: #f6faff;
  color: var(--navy);
  font-family: var(--font-body);
}

.privacy-page *,
.privacy-page *::before,
.privacy-page *::after {
  box-sizing: border-box;
}

.privacy-page a {
  color: inherit;
}

.privacy-header {
  background: var(--navy-deep);
  color: #fff;
}

.privacy-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1040px, calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
}

.privacy-brand {
  font-family: var(--font-display);
  font-weight: 800;
  text-decoration: none;
}

.privacy-brand span {
  color: var(--cyan);
}

.privacy-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  color: #dbe9ff;
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
}

.privacy-hero {
  padding: 72px 18px 92px;
  background:
    radial-gradient(700px 300px at 80% 0, rgba(79, 211, 255, .23), transparent 65%),
    linear-gradient(145deg, var(--navy-deep), var(--navy));
  color: #fff;
  text-align: center;
}

.privacy-hero .eyebrow {
  color: var(--cyan);
  font-family: var(--font-display);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  max-width: 760px;
  margin: 12px auto 16px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 1.08;
}

.privacy-hero p {
  max-width: 660px;
  margin: 0 auto;
  color: #c5d4ec;
  line-height: 1.65;
}

.privacy-layout {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 36px;
  width: min(1040px, calc(100% - 36px));
  margin: -44px auto 72px;
}

.privacy-toc,
.privacy-content {
  border: 1px solid #dfeaf7;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(10, 26, 74, .08);
}

.privacy-toc {
  position: sticky;
  top: 20px;
  align-self: start;
  padding: 22px;
}

.privacy-toc strong {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
}

.privacy-toc a {
  display: block;
  padding: 8px 0;
  color: var(--gray);
  font-size: .86rem;
  line-height: 1.35;
  text-decoration: none;
}

.privacy-toc a:hover {
  color: var(--blue-mid);
}

.privacy-content {
  padding: clamp(26px, 5vw, 54px);
}

.privacy-content section + section {
  margin-top: 42px;
  padding-top: 42px;
  border-top: 1px solid #dfeaf7;
}

.privacy-content h2 {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 1.7rem);
}

.privacy-content p,
.privacy-content li {
  color: var(--gray);
  line-height: 1.75;
}

.privacy-content ul {
  margin: 12px 0 0;
  padding-left: 22px;
}

.privacy-content a {
  color: var(--blue-mid);
  font-weight: 700;
}

.privacy-callout {
  margin-top: 18px;
  padding: 18px 20px;
  border-left: 4px solid var(--blue-bright);
  border-radius: 0 14px 14px 0;
  background: var(--ice);
}

.privacy-preferences {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  margin-top: 18px;
  padding: 11px 20px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--cyan), var(--blue-bright));
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-weight: 800;
  cursor: pointer;
}

.privacy-footer {
  padding: 30px 18px;
  background: var(--navy-deep);
  color: #8fa1bf;
  text-align: center;
  font-size: .82rem;
}

@media (max-width: 760px) {
  .consent-banner {
    right: 12px;
    bottom: 12px;
    left: 12px;
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
    padding: 18px;
  }

  .consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .consent-actions .primary {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .consent-dialog form {
    padding: 22px 18px;
  }

  .consent-dialog-actions {
    align-items: stretch;
    flex-direction: column-reverse;
  }

  body.consent-banner-open .wa-float {
    opacity: 0;
    pointer-events: none;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    margin-top: -38px;
  }

  .privacy-toc {
    position: static;
  }
}
