@font-face {
  font-family: "Inter";
  src: url("../../../assets/fonts/inter-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../../../assets/fonts/cormorant-garamond-latin-variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --privacy-navy-950: #031928;
  --privacy-navy-900: #051e2f;
  --privacy-gold: #c59641;
  --privacy-cream: #f7f5f1;
  --privacy-white: #ffffff;
  --privacy-text: #15232d;
  --privacy-muted: #52636f;
  --privacy-border: #d9e0e4;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 7rem;
}

body {
  margin: 0;
  color: var(--privacy-text);
  background: var(--privacy-cream);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--privacy-navy-900);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: #15435d;
}

a:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--privacy-gold);
  outline-offset: 4px;
}

.privacy-shell {
  width: min(100% - 2rem, 900px);
  margin-inline: auto;
}

.privacy-skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: var(--privacy-white);
  background: var(--privacy-navy-950);
  border: 1px solid var(--privacy-gold);
  border-radius: 0.4rem;
  transform: translateY(-180%);
}

.privacy-skip-link:focus {
  transform: translateY(0);
}

.privacy-header {
  position: sticky;
  z-index: 20;
  top: 0;
  color: var(--privacy-white);
  background: var(--privacy-navy-950);
  border-bottom: 1px solid rgba(197, 150, 65, 0.35);
}

.privacy-header__inner {
  display: grid;
  grid-template-columns: minmax(8.5rem, 13rem) 1fr auto;
  align-items: center;
  gap: 1.5rem;
  min-height: 5rem;
}

.privacy-brand {
  display: inline-flex;
}

.privacy-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 3rem;
  object-fit: contain;
}

.privacy-header__inner > span {
  color: #ecc784;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-back,
.privacy-footer a {
  color: var(--privacy-white);
  font-size: 0.9rem;
  font-weight: 700;
}

.privacy-document {
  margin-block: clamp(2rem, 5vw, 4.5rem);
  padding: clamp(1.5rem, 4vw, 4rem);
  background: var(--privacy-white);
  border: 1px solid var(--privacy-border);
  border-top: 4px solid var(--privacy-gold);
  border-radius: 0.75rem;
  box-shadow: 0 1rem 3rem rgba(3, 25, 40, 0.07);
}

.privacy-document > h1 {
  max-width: 17ch;
  margin: 0 0 0.75rem;
  color: var(--privacy-navy-950);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.35rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 0.98;
  text-wrap: balance;
}

.privacy-document > p:first-of-type {
  margin: 0 0 clamp(2.5rem, 6vw, 4.5rem);
  color: var(--privacy-muted);
  font-size: 0.93rem;
}

.privacy-document section {
  scroll-margin-top: 7rem;
}

.privacy-document section + section {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid var(--privacy-border);
}

.privacy-document h2,
.privacy-document h3 {
  color: var(--privacy-navy-900);
  font-family: "Cormorant Garamond", Georgia, serif;
  text-wrap: balance;
}

.privacy-document h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.75rem, 4vw, 2.4rem);
  font-weight: 600;
  line-height: 1.1;
}

.privacy-document h3 {
  margin: 2rem 0 0.7rem;
  font-size: clamp(1.3rem, 3vw, 1.65rem);
  line-height: 1.2;
}

.privacy-document p,
.privacy-document ul {
  max-width: 78ch;
}

.privacy-document p {
  margin: 0 0 1rem;
}

.privacy-document strong {
  color: var(--privacy-navy-900);
}

.privacy-document code {
  padding: 0.08rem 0.28rem;
  color: var(--privacy-navy-900);
  background: var(--privacy-cream);
  border-radius: 0.25rem;
  font: inherit;
}

.privacy-footer {
  color: var(--privacy-white);
  background: var(--privacy-navy-950);
  border-top: 1px solid rgba(197, 150, 65, 0.35);
}

.privacy-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 7rem;
}

.privacy-footer p {
  margin: 0;
}

@media (max-width: 42rem) {
  .privacy-header__inner {
    grid-template-columns: minmax(8.5rem, 1fr) auto;
    gap: 1rem;
    min-height: 4.5rem;
  }

  .privacy-header__inner > span {
    display: none;
  }

  .privacy-document {
    width: min(100% - 1rem, 900px);
    padding-inline: 1.25rem;
    border-right: 0;
    border-left: 0;
    border-radius: 0.35rem;
  }

  .privacy-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    padding-block: 1.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media print {
  .privacy-header,
  .privacy-footer,
  .privacy-skip-link {
    display: none;
  }

  body,
  .privacy-document {
    background: #fff;
  }

  .privacy-document {
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
