.policy-page {
  --policy-bg: #f4f7fb;
  --policy-surface: #ffffff;
  --policy-surface-soft: #f8fafc;
  --policy-text: #101827;
  --policy-muted: #55657a;
  --policy-border: rgba(15, 23, 42, 0.11);
  --policy-accent: #f63325;
  min-width: 0;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(246, 51, 37, 0.07), transparent 26rem),
    radial-gradient(circle at 92% 0%, rgba(75, 119, 212, 0.08), transparent 30rem),
    var(--policy-bg);
  color: var(--policy-text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
}

.policy-page > header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid var(--policy-border);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(16px);
}

.policy-page .header-spacer {
  display: none;
}

.policy-page .flexContainer {
  width: min(100% - 2rem, 1120px);
  max-width: none;
  margin-inline: auto;
  padding: 1.25rem 0;
}

.policy-page > header .flexContainer {
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.8rem;
}

.policy-page > header .logo {
  display: block;
  flex: 0 0 142px;
  width: 142px;
  max-width: 142px;
  margin: 0;
}

.policy-page > header .logo img {
  display: block;
  width: 100%;
  max-width: 100%;
  max-height: 46px;
  margin: 0;
}

.policy-page .navLinks {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.policy-page .navLinks a {
  padding: 0.55rem 0.75rem;
  border-radius: 9px;
  color: var(--policy-muted);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
}

.policy-page .navLinks a:hover,
.policy-page .navLinks a:focus-visible {
  background: rgba(246, 51, 37, 0.08);
  color: var(--policy-text);
  outline: none;
}

.policy-page .hamburgerContainer {
  display: none;
}

.policy-page .hamburger {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid var(--policy-border);
  border-radius: 11px;
  background: var(--policy-surface-soft);
}

.policy-page .hamburger:focus-visible {
  outline: 2px solid var(--policy-accent);
  outline-offset: 3px;
}

.policy-page .hamburger svg {
  width: 42px;
  height: 42px;
}

.policy-page > section {
  width: min(100% - 2rem, 960px);
  margin: clamp(1rem, 3vw, 2.5rem) auto;
  padding: clamp(1.25rem, 4vw, 3.5rem);
  border: 1px solid var(--policy-border);
  border-radius: 22px;
  background: var(--policy-surface);
  box-shadow: 0 20px 55px rgba(15, 23, 42, 0.09);
}

.policy-page > section .flexContainer {
  width: 100%;
  padding: 0;
}

.policy-page > section .flexContainer:first-child {
  margin-bottom: clamp(1.5rem, 4vw, 2.75rem);
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--policy-border);
}

.policy-page h1,
.policy-page h2,
.policy-page h3,
.policy-page h4,
.policy-page h5 {
  max-width: 32ch;
  margin: 1.8em 0 0.55em;
  color: var(--policy-text);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
}

.policy-page h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.policy-page h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.policy-page h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.policy-page h4,
.policy-page h5 {
  font-size: 1.08rem;
}

.policy-page .vertical > :first-child {
  margin-top: 0;
}

.policy-page p,
.policy-page li {
  max-width: 76ch;
  color: var(--policy-muted);
  line-height: 1.75;
}

.policy-page p {
  margin: 0 0 1rem;
}

.policy-page ul,
.policy-page ol {
  max-width: 76ch;
  margin: 0.4rem 0 1.25rem;
  padding-left: 1.4rem;
}

.policy-page ul {
  list-style: disc outside;
}

.policy-page li + li {
  margin-top: 0.5rem;
}

.policy-page a,
.policy-page a span {
  color: color-mix(in srgb, var(--policy-accent) 84%, #70130e);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.policy-page br + h2,
.policy-page br + h3,
.policy-page br + h4 {
  margin-top: 0;
}

.policy-page footer {
  margin-top: clamp(2rem, 5vw, 4rem);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: #09111f;
  color: #e8eef8;
}

.policy-page footer .flexContainer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 4vw, 3rem);
  padding-block: 2rem !important;
}

.policy-page footer .flexContainer:last-child {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-top: 0 !important;
  font-size: 0.84rem;
}

.policy-page footer h5 {
  margin: 0 0 0.75rem;
  color: #ffffff;
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.policy-page footer p,
.policy-page footer a {
  color: #aebdd1;
  font-size: 0.86rem;
  line-height: 1.7;
}

.policy-page footer a {
  padding: 0.25rem 0;
  text-decoration: none;
}

.policy-page footer .logo,
.policy-page footer .logo img {
  width: 100%;
  max-width: 170px;
  margin: 0;
}

@media (max-width: 760px) {
  .policy-page .hamburgerContainer {
    display: flex;
    margin: 0;
  }

  .policy-page .navLinks {
    display: none;
  }

  .policy-page .navLinks.mobileNavLinks {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 1rem;
    left: 1rem;
    display: grid;
    width: auto;
    padding: 0.5rem;
    border: 1px solid var(--policy-border);
    border-radius: 14px;
    background: var(--policy-surface);
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
  }

  .policy-page .navLinks a {
    padding: 0.8rem 0.9rem;
  }

  .policy-page > section {
    width: min(100% - 1rem, 960px);
    padding: 1.25rem;
    border-radius: 16px;
  }

  .policy-page footer .flexContainer,
  .policy-page footer .flexContainer:last-child {
    grid-template-columns: 1fr;
    padding-block: 1.5rem !important;
  }

  .policy-page footer .flexColumn {
    padding: 0;
  }
}
