/* ══════════ PRIVACY PAGE STYLES ══════════ */

/* ── Hero ── */
.privacy-hero {
  position: relative;
  padding: 160px 0 80px;
  background: var(--white);
  overflow: hidden;
  text-align: center;
}
.privacy-hero-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.privacy-hero-inner {
  position: relative; z-index: 1;
}
.privacy-hero-h1 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(36px, 4.5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--navy);
  margin: 16px 0 18px;
}
.privacy-hero-sub {
  font-size: 17px;
  color: var(--text2);
  line-height: 1.7;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Content Layout ── */
.privacy-content {
  padding: 60px 0 100px;
  background: var(--white);
}
.privacy-wrapper {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
  align-items: start;
}

/* ── Table of Contents ── */
.privacy-toc {
  position: relative;
}
.toc-sticky {
  position: sticky;
  top: 100px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.toc-heading {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1.5px solid var(--gray-100);
}
.toc-link {
  font-size: 13px;
  color: var(--text3);
  padding: 5px 0 5px 12px;
  border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.45;
}
.toc-link:hover,
.toc-link.active {
  color: var(--blue);
  border-left-color: var(--blue);
}

/* ── Policy Body ── */
.privacy-body {
  max-width: 780px;
}

/* ── Section ── */
.policy-section {
  margin-bottom: 56px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--gray-100);
  position: relative;
}
.policy-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.section-number {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--blue);
  opacity: 0.5;
  margin-bottom: 8px;
}
.policy-section h2 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  line-height: 1.2;
}
.policy-section h3 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: var(--navy);
  margin: 28px 0 16px;
}
.policy-section p {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.policy-section p:last-child {
  margin-bottom: 0;
}
.policy-link {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s;
}
.policy-link:hover {
  color: var(--blue-hover);
}

/* ── Definitions Grid ── */
.definitions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 24px;
}
.definition-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.definition-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.def-icon {
  font-size: 24px;
  margin-bottom: 12px;
}
.definition-card h4 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.definition-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Data Categories ── */
.data-category {
  margin-top: 28px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.data-category h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 16px;
}
.data-items {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.data-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius-md);
  transition: border-color 0.2s;
}
.data-item:hover {
  border-color: var(--blue-mid);
}
.data-label {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}
.data-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
}

/* ── Legal Bases ── */
.legal-bases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 16px;
}
.legal-base-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.legal-base-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.lb-icon {
  font-size: 22px;
  margin-bottom: 12px;
}
.legal-base-card h4 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 8px;
}
.legal-base-card p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Purposes ── */
.purposes-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 14px;
}
.purpose-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text2);
  line-height: 1.6;
  padding: 10px 16px;
  background: var(--gray-50);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-100);
}
.purpose-bullet {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  flex-shrink: 0;
  opacity: 0.6;
}

/* ── Sharing Grid ── */
.sharing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 20px;
}
.sharing-card {
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.sharing-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.sharing-card h4 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.sharing-card p {
  font-size: 13px;
  line-height: 1.7;
  margin-bottom: 0;
}

/* ── Rights Grid ── */
.rights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 20px 0;
}
.right-card {
  background: var(--blue-pale);
  border: 1.5px solid var(--blue-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
}
.right-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.right-icon {
  font-size: 22px;
  margin-bottom: 10px;
}
.right-card h4 {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}
.right-card p {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.7;
  margin-bottom: 0;
}
.rights-contact {
  margin-top: 16px;
}

/* ── Callout Box ── */
.callout-box {
  display: flex;
  gap: 16px;
  background: linear-gradient(135deg, var(--blue-pale) 0%, #E0EAFF 100%);
  border: 1.5px solid var(--blue-mid);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}
.callout-icon {
  font-size: 28px;
  flex-shrink: 0;
  line-height: 1;
}
.callout-content p {
  font-size: 14px;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 0;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .privacy-wrapper {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .privacy-toc {
    display: none;
  }
}
@media (max-width: 768px) {
  .privacy-hero {
    padding: 120px 0 60px;
  }
  .definitions-grid,
  .legal-bases,
  .sharing-grid,
  .rights-grid {
    grid-template-columns: 1fr;
  }
  .policy-section {
    margin-bottom: 40px;
    padding-bottom: 40px;
  }
}
