/* ── Policy pages shared styles ─────────────────────────────────────────── */

.policy-hero {
  position: relative;
  padding: 7rem 0 4rem;
  background: var(--clr-navy);
  overflow: hidden;
}

.policy-hero .hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 80% 50%, rgba(0,163,224,.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 30%, rgba(0,163,224,.07) 0%, transparent 60%);
  pointer-events: none;
}

.policy-hero-content {
  position: relative;
  z-index: 1;
}

.policy-hero .eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: .75rem;
}

.policy-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  color: #fff;
  margin: 0 0 .75rem;
}

.policy-meta {
  color: rgba(255,255,255,.55);
  font-size: .875rem;
}

/* ── Body layout ──────────────────────────────────────────────────────────── */

.policy-body {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 3rem;
  padding: 4rem 0 5rem;
  align-items: start;
}

.policy-content {
  max-width: 72ch;
}

.policy-content-full {
  grid-column: 1 / -1;
  max-width: 80ch;
}

.policy-content h2 {
  font-size: 1.25rem;
  color: var(--clr-navy);
  margin: 2.5rem 0 .75rem;
}

.policy-content h2:first-child {
  margin-top: 0;
}

.policy-content p {
  color: var(--clr-text);
  line-height: 1.75;
  margin: 0 0 1rem;
}

.policy-content ul {
  color: var(--clr-text);
  line-height: 1.75;
  padding-left: 1.5rem;
  margin: 0 0 1rem;
}

.policy-content li {
  margin-bottom: .4rem;
}

.policy-content a {
  color: var(--clr-accent);
  text-decoration: none;
}

.policy-content a:hover {
  text-decoration: underline;
}

/* ── Sidebar certs ────────────────────────────────────────────────────────── */

.policy-certs {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 100px;
}

.policy-certs img {
  width: 100%;
  max-width: 180px;
  height: auto;
  border-radius: 6px;
  filter: grayscale(.3);
  transition: filter .3s;
}

.policy-certs img:hover {
  filter: none;
}

/* ── Footer legal nav ─────────────────────────────────────────────────────── */

.footer-legal {
  margin-top: .5rem;
  font-size: .8rem;
  opacity: .7;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
  opacity: 1;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .policy-body {
    grid-template-columns: 1fr;
  }

  .policy-certs {
    flex-direction: row;
    flex-wrap: wrap;
    position: static;
    order: -1;
  }

  .policy-certs img {
    max-width: 100px;
  }
}
