/* ─────────────────────────────────────────────────────────────────────────────
   privacy.css — exact port of PrivacyView.vue <style lang="scss" scoped>
   All rem() resolved (1rem = 16px). All SCSS tokens from _tokens.scss resolved.
   Note: Scroll reveal base styles are in landing.css - use .fade-up class
───────────────────────────────────────────────────────────────────────────── */

/* ── Page shell ─────────────────────────────────────────────────────────────── */
.privacy {
  background: #f8f8f8;
  min-height: 100vh;
}

/* ─────────────────────────────────────────────────────────────────────────────
   HERO
───────────────────────────────────────────────────────────────────────────── */
.privacy__hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(4rem + 3.5rem); /* $nav-height(64px) + rem(56) */
  padding-bottom: 3.25rem; /* rem(52) */
  background: linear-gradient(
    180deg,
    #f8f8f8 0%,
    rgba(69, 57, 204, 0.035) 50%,
    #f8f8f8 100%
  );
}
@media (max-width: 844px) {
  .privacy__hero {
    padding-top: calc(4rem + 2.5rem); /* nav + rem(40) */
    padding-bottom: 2.5rem; /* rem(40) */
  }
}

.privacy__hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: radial-gradient(
    circle,
    rgba(69, 57, 204, 0.09) 1px,
    transparent 1px
  );
  background-size: 1.75rem 1.75rem; /* rem(28) */
  mask-image: radial-gradient(
    ellipse 70% 90% at 50% 0%,
    black 0%,
    transparent 70%
  );
  -webkit-mask-image: radial-gradient(
    ellipse 70% 90% at 50% 0%,
    black 0%,
    transparent 70%
  );
}

.privacy__hero-inner {
  width: 100%;
  max-width: 48.75rem; /* rem(780) */
  margin-inline: auto;
  padding-inline: 1.5rem; /* $container-pad = rem(24) */
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem; /* rem(16) */
}

/* Pill */
.privacy__pill {
  display: inline-flex;
  align-items: center;
  font-size: 0.6875rem; /* rem(11) */
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #4539cc;
  background: rgba(69, 57, 204, 0.07);
  border: 1px solid rgba(69, 57, 204, 0.14);
  border-radius: 9999px;
  padding: 0.3125rem 0.875rem; /* rem(5) rem(14) */
}

/* Title */
.privacy__hero-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(
    1.625rem,
    4vw,
    3rem
  ); /* clamp($font-size-2xl=rem(26), 4vw, rem(48)) */
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

/* Subtitle */
.privacy__hero-sub {
  font-size: 0.90625rem; /* rem(14.5) */
  color: #737373; /* $color-gray-500 */
  line-height: 1.75;
  margin: 0;
  max-width: 30rem; /* rem(480) */
}

/* Trust signal bar */
.privacy__trust {
  display: flex;
  align-items: center;
  gap: 0;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-radius: 9999px;
  padding: 0.5rem 1.25rem; /* rem(8) rem(20) */
  margin-top: 0.25rem; /* rem(4) */
  justify-content: center;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .privacy__trust {
    flex-wrap: wrap;
    white-space: normal;
    gap: 0.5rem; /* rem(8) */
    padding: 0.625rem 1rem; /* rem(10) rem(16) */
    border-radius: 0.75rem; /* rem(12) */
  }
}

.privacy__trust-item {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem; /* rem(6) */
  font-size: 0.75rem; /* rem(12) */
  font-weight: 500;
  color: #555555; /* $color-gray-600 */
  padding: 0.125rem 0.75rem; /* rem(2) rem(12) */
}

.privacy__trust-divider {
  width: 0.0625rem; /* rem(1) */
  height: 0.875rem; /* rem(14) */
  background: #e4e4e4;
}
@media (max-width: 640px) {
  .privacy__trust-divider {
    display: none;
  }
}

/* ─────────────────────────────────────────────────────────────────────────────
   BODY — two-column: sticky TOC left, content right
───────────────────────────────────────────────────────────────────────────── */
.privacy__body {
  background: #f8f8f8;
}

.privacy__body-inner {
  width: 100%;
  max-width: 62.5rem; /* rem(1000) */
  margin-inline: auto;
  padding-inline: 1.5rem; /* $container-pad */
  display: grid;
  grid-template-columns: 12.5rem 1fr; /* rem(200) 1fr */
  gap: 3.5rem; /* rem(56) */
  padding-top: 3rem; /* rem(48) */
  padding-bottom: 15rem; /* rem(240) */
  align-items: start;
}
@media (max-width: 1024px) {
  .privacy__body-inner {
    grid-template-columns: 10.625rem 1fr; /* rem(170) 1fr */
    gap: 2.5rem; /* rem(40) */
  }
}
@media (max-width: 844px) {
  .privacy__body-inner {
    grid-template-columns: 1fr;
    gap: 2rem; /* rem(32) */
    padding-top: 2rem; /* rem(32) */
    padding-bottom: 4rem; /* rem(64) */
  }
}

/* ── Sticky TOC ──────────────────────────────────────────────────────────────── */
.privacy__toc {
  position: sticky;
  top: calc(4rem + 1.5rem); /* $nav-height(64px) + rem(24) */
}
@media (max-width: 844px) {
  .privacy__toc {
    display: none;
  }
}

.privacy__toc-label {
  font-size: 0.65625rem; /* rem(10.5) */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #a0a0a0; /* $color-gray-400 */
  margin: 0 0 0.75rem; /* rem(12) */
}

.privacy__toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  border-left: 1px solid #e8e8e8;
}

.privacy__toc-link {
  display: block;
  font-size: 0.78125rem; /* rem(12.5) */
  color: #a0a0a0; /* $color-gray-400 */
  text-decoration: none;
  padding: 0.25rem 0.75rem; /* rem(4) rem(12) */
  margin-left: -0.0625rem; /* rem(-1) — overlap border-left */
  border-left: 0.125rem solid transparent; /* rem(2) */
  transition:
    color 150ms ease,
    border-color 150ms ease;
  line-height: 1.4;
}
.privacy__toc-link:hover {
  color: #333333; /* $color-gray-700 */
  border-left-color: #d0d0d0; /* $color-gray-300 */
}
.privacy__toc-link--active {
  color: #4539cc; /* $color-primary */
  font-weight: 600;
  border-left-color: #4539cc;
}

/* ── Content column ──────────────────────────────────────────────────────────── */
.privacy__content {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.privacy__section {
  padding-bottom: 3rem; /* rem(48) */
  border-bottom: 1px solid #eeeeee;
  margin-bottom: 3rem; /* rem(48) */
  scroll-margin-top: calc(4rem + 2rem); /* $nav-height + rem(32) */
}
.privacy__section--last {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy__section-title {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem; /* rem(18) */
  font-weight: 700;
  color: #0d0d0d;
  letter-spacing: -0.03em;
  margin: 0 0 1rem; /* rem(16) */
}

.privacy__section-body {
  font-size: 0.875rem; /* rem(14) */
  color: #555555; /* $color-gray-600 */
  line-height: 1.7;
  margin: 0 0 0.875rem; /* rem(14) */
}
.privacy__section-body:last-child {
  margin-bottom: 0;
}

/* Standard list */
.privacy__list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.375rem; /* rem(6) */
}
.privacy__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem; /* rem(10) */
  font-size: 0.875rem; /* rem(14) */
  color: #555555;
  line-height: 1.6;
}
.privacy__list li::before {
  content: "";
  flex-shrink: 0;
  width: 0.3125rem; /* rem(5) */
  height: 0.3125rem;
  border-radius: 50%;
  background: #4539cc;
  opacity: 0.5;
  margin-top: 0.5rem; /* rem(8) */
}

/* Rights list variant */
.privacy__list--rights {
  gap: 0.5rem; /* rem(8) */
}
.privacy__list--rights li {
  align-items: flex-start;
  gap: 0.75rem; /* rem(12) */
  padding: 0.75rem 0.875rem; /* rem(12) rem(14) */
  background: #fafafa;
  border: 1px solid #f0f0f0;
  border-radius: 0.625rem; /* rem(10) */
}
.privacy__list--rights li::before {
  display: none;
}
.privacy__list--rights strong {
  color: #0d0d0d;
}
.privacy__list--rights span {
  color: #555555;
}

/* ── Document Data highlight ─────────────────────────────────────────────────── */
.privacy__highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem; /* rem(14) */
  background: rgba(69, 57, 204, 0.04);
  border: 1px solid rgba(69, 57, 204, 0.14);
  border-radius: 0.75rem; /* rem(12) */
  padding: 1rem 1.25rem; /* rem(16) rem(20) */
  margin-bottom: 1rem; /* rem(16) */
}

.privacy__highlight-icon {
  flex-shrink: 0;
  width: 2.25rem; /* rem(36) */
  height: 2.25rem;
  background: rgba(69, 57, 204, 0.08);
  border-radius: 0.5625rem; /* rem(9) */
  display: flex;
  align-items: center;
  justify-content: center;
}

.privacy__highlight-text {
  min-width: 0;
  flex: 1;
}

.privacy__highlight-title {
  font-size: 0.84375rem; /* rem(13.5) */
  font-weight: 600;
  color: #0d0d0d;
  margin: 0 0 0.1875rem; /* rem(3) */
}

.privacy__highlight-body {
  font-size: 0.8125rem; /* rem(13) */
  color: #737373; /* $color-gray-500 */
  line-height: 1.5;
  margin: 0;
}

/* ── Security grid ───────────────────────────────────────────────────────────── */
.privacy__security-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.625rem; /* rem(10) */
  margin-top: 0.25rem; /* rem(4) */
}
@media (max-width: 844px) {
  .privacy__security-grid {
    grid-template-columns: 1fr;
  }
}

.privacy__security-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* rem(12) */
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 0.75rem; /* rem(12) */
  padding: 0.875rem 1rem; /* rem(14) rem(16) */
}

.privacy__security-icon {
  flex-shrink: 0;
  width: 1.875rem; /* rem(30) */
  height: 1.875rem;
  background: rgba(69, 57, 204, 0.07);
  border-radius: 0.5rem; /* rem(8) */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4539cc;
}

.privacy__security-label {
  font-size: 0.78125rem; /* rem(12.5) */
  font-weight: 600;
  color: #0d0d0d;
  margin: 0 0 0.125rem; /* rem(2) */
}

.privacy__security-desc {
  font-size: 0.75rem; /* rem(12) */
  color: #737373;
  line-height: 1.5;
  margin: 0;
}

/* ── Third-party services ────────────────────────────────────────────────────── */
.privacy__services {
  display: flex;
  gap: 0.625rem; /* rem(10) */
  flex-wrap: wrap;
  margin-top: 0.25rem; /* rem(4) */
}

.privacy__service-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* rem(8) */
  background: #ffffff;
  border: 1px solid #ebebeb;
  border-radius: 0.625rem; /* rem(10) */
  padding: 0.5625rem 1rem; /* rem(9) rem(16) */
  font-size: 0.8125rem; /* rem(13) */
  font-weight: 500;
  color: #333333; /* $color-gray-700 */
  text-decoration: none;
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease;
}
.privacy__service-item:hover {
  border-color: #d0d0d0;
  box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.05);
}

/* ── Rights list icons ───────────────────────────────────────────────────────── */
.privacy__rights-icon {
  flex-shrink: 0;
  width: 1.75rem; /* rem(28) */
  height: 1.75rem;
  background: rgba(69, 57, 204, 0.07);
  border-radius: 0.4375rem; /* rem(7) */
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4539cc;
  margin-top: 0.0625rem; /* rem(1) */
}

/* ── Contact link ────────────────────────────────────────────────────────────── */
.privacy__contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem; /* rem(8) */
  font-size: 0.875rem; /* rem(14) */
  font-weight: 600;
  color: #4539cc;
  text-decoration: none;
  background: rgba(69, 57, 204, 0.06);
  border: 1px solid rgba(69, 57, 204, 0.16);
  border-radius: 0.625rem; /* rem(10) */
  padding: 0.625rem 1.125rem; /* rem(10) rem(18) */
  transition:
    background 150ms ease,
    border-color 150ms ease;
}
.privacy__contact-link:hover {
  background: rgba(69, 57, 204, 0.1);
  border-color: rgba(69, 57, 204, 0.28);
}
