/* ==========================================================================
   Skydime Holdings — Privacy Notice (privacy.html)
   A text-heavy legal/reference page, not a marketing page. Reuses the same
   tokens, container-gutter formula, .eyebrow/.icon-circle/.card-highlight/
   .list-compact primitives and Back to Top recipe already established by
   about.css/businesses.css/contact.css — no new visual language introduced.
   ========================================================================== */

body.privacy-page {
  background: var(--bg);
}

/* ---- Container (same progressive-gutter formula as about/businesses/contact) - */

.privacy-container {
  width: min(1320px, calc(100% - 36px));
  margin-inline: auto;
}

@media (min-width: 390px) {
  .privacy-container {
    width: min(1320px, calc(100% - 44px));
  }
}

@media (min-width: 768px) {
  .privacy-container {
    width: min(1320px, calc(100% - 64px));
  }
}

@media (min-width: 1024px) {
  .privacy-container {
    width: min(1320px, calc(100% - 88px));
  }
}

@media (min-width: 1440px) {
  .privacy-container {
    width: min(1320px, calc(100% - 112px));
  }
}

/* A pure-text legal page reads as sparse/left-stranded inside the site's
   full 1320px content width — every element below (hero copy, TOC, section
   cards) sits inside this narrower, centred reading column instead. */
.privacy-content {
  max-width: 880px;
  margin-inline: auto;
}

body.privacy-page main [id] {
  scroll-margin-top: calc(var(--utility-h-mobile) + var(--header-h-mobile) + 18px);
}

@media (min-width: 768px) {
  body.privacy-page main [id] {
    scroll-margin-top: calc(var(--utility-h) + var(--header-h) + 18px);
  }
}

/* ---- Hero — a compact, centred, solid-colour title band, not a photographic
   marketing hero. ------------------------------------------------------- */

.privacy-hero {
  margin-top: calc(var(--utility-h-mobile) + var(--header-h-mobile));
  padding: 3rem 0 2.5rem;
  background: var(--brand-blue-deep);
  color: var(--white);
  text-align: center;
}

@media (min-width: 768px) {
  .privacy-hero {
    margin-top: calc(var(--utility-h) + var(--header-h));
    padding: 4rem 0 3.25rem;
  }
}

.privacy-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
}

.privacy-hero__title {
  margin-top: 0.85rem;
  font-size: clamp(1.9rem, 1.65rem + 1.2vw, 2.5rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.privacy-hero__text {
  margin: 0.9rem auto 0;
  max-width: 52ch;
  color: rgba(255, 255, 255, 0.82);
  line-height: var(--lh-loose);
}

.privacy-hero__updated {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---- Table of contents — a bordered navigation panel, not raw stacked
   links. -------------------------------------------------------------- */

.privacy-toc {
  padding: 2.25rem 0 0;
}

.privacy-toc__panel {
  background: var(--surface-muted);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.5rem 1.25rem;
}

@media (min-width: 640px) {
  .privacy-toc__panel {
    padding: 1.75rem 2rem 1.5rem;
  }
}

.privacy-toc__panel > .eyebrow {
  color: var(--brand-blue);
}

.privacy-toc__list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0.9rem 0 0;
}

@media (min-width: 640px) {
  .privacy-toc__list {
    grid-template-columns: 1fr 1fr;
    gap: 0.15rem 1.5rem;
  }
}

.privacy-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.5rem 0.4rem;
  border-radius: 8px;
  color: var(--brand-blue);
  font-weight: 600;
  font-size: 0.92rem;
  transition: background-color 0.15s var(--ease), color 0.15s var(--ease);
}

.privacy-toc__list a:hover,
.privacy-toc__list a:focus-visible {
  background: var(--white);
  color: var(--brand-green);
}

.privacy-toc__list a span {
  flex-shrink: 0;
  color: var(--brand-green);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* ---- Section system — one reusable card pattern for all 13 sections ------ */

.privacy-body {
  padding: 2.5rem 0 4rem;
}

.privacy-section {
  display: grid;
  gap: 1.5rem;
}

.privacy-section + .privacy-section {
  margin-top: 1.25rem;
}

.privacy-section__card {
  background: var(--surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .privacy-section__card {
    padding: 2rem 2.25rem;
  }
}

.privacy-section__head {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.privacy-section__icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.privacy-section__icon svg {
  width: 19px;
  height: 19px;
}

.privacy-section__num {
  display: block;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
}

.privacy-section__head h2 {
  margin-top: 0.15rem;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: -0.01em;
}

.privacy-section__card h3 {
  margin-top: 1.4rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-blue);
}

.privacy-section__card > h3:first-child {
  margin-top: 0;
}

.privacy-section__card p {
  margin-top: 0.85rem;
  color: var(--text-muted);
  line-height: var(--lh-loose);
}

.privacy-section__card p:first-child,
.privacy-section__card h3 + p {
  margin-top: 0.85rem;
}

.privacy-section__card .list-compact {
  margin-top: 0.85rem;
}

.privacy-section__card a {
  color: var(--brand-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 2px;
}

.privacy-section__card a:hover {
  color: var(--brand-green);
}

/* Contact panel gets the site's existing highlight-card treatment (already
   distinct from the surrounding section cards) rather than a sales-style CTA. */
.privacy-contact-card {
  margin-top: 0;
  background: var(--surface-muted);
}

.privacy-contact-card__kicker {
  display: block;
  color: var(--brand-green);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
}

/* Ancestor-qualified (0,2,0) so this reliably beats the generic
   ".privacy-section__card a" link styling (0,1,1) below — a single-class
   selector here would lose that specificity comparison and the underline/
   600-weight link default would override this card's larger, unlined
   treatment regardless of source order. */
.privacy-contact-card .privacy-contact-card__email {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brand-blue);
  text-decoration: none;
}

.privacy-contact-card .privacy-contact-card__email:hover {
  color: var(--brand-green);
}

.privacy-contact-card__line {
  margin-top: 0.9rem;
  color: var(--text-muted);
}

/* ---- Back to top (same recipe as About/Businesses/Contact/entity pages) --- */

.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 82px;
  z-index: 89;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--brand-blue);
  box-shadow: var(--shadow-sm);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), background-color 0.2s var(--ease);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--brand-blue);
  color: var(--white);
}

@media (min-width: 768px) {
  .back-to-top {
    right: 26px;
    bottom: 96px;
    width: 44px;
    height: 44px;
  }
}
