.privacy-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(108, 99, 255, 0.12), transparent 34rem),
    linear-gradient(180deg, #ffffff 0%, #fbfaff 56%, #f7f4ff 100%);
}

.privacy-shell {
  width: min(100%, 1240px);
  margin: 0 auto;
  padding: 34px 32px 48px;
}

.privacy-hero {
  max-width: 900px;
  margin: 0 auto 30px;
  text-align: center;
}

.privacy-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  margin: 0 0 14px;
  padding: 0 14px;
  color: #5b21d6;
  background: #f0e6ff;
  border: 1px solid rgba(124, 58, 237, 0.16);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.privacy-hero h1 {
  margin: 0;
  color: #10142f;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1.05;
}

.privacy-hero > p {
  max-width: 760px;
  margin: 16px auto 0;
  color: #4b5578;
  font-size: 1.08rem;
  line-height: 1.55;
}

.privacy-updated {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  margin-top: 20px;
  padding: 0 16px;
  color: #3b315f;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid #e2ddf3;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(30, 26, 72, 0.05);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) minmax(0, 900px);
  gap: 28px;
  align-items: start;
  justify-content: center;
}

.privacy-toc-card,
.privacy-policy-card,
.privacy-support-card {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid #e2ddf3;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(30, 26, 72, 0.055);
}

.privacy-toc-card {
  position: sticky;
  top: calc(var(--nav-height) + 24px);
  max-height: calc(100vh - var(--nav-height) - 48px);
  padding: 20px;
  overflow: auto;
}

.privacy-toc-card h2 {
  margin: 0 0 14px;
  color: #10142f;
  font-size: 1rem;
  font-weight: 900;
}

.privacy-toc {
  display: grid;
  gap: 4px;
}

.privacy-toc-link {
  display: block;
  padding: 7px 8px;
  color: #4f5a83;
  border-radius: 6px;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.25;
  text-decoration: none;
}

.privacy-toc-link:hover,
.privacy-toc-link:focus-visible,
.privacy-toc-link.is-active {
  color: #5b21d6;
  background: #f4efff;
  outline: none;
}

.privacy-toc-link.is-active {
  box-shadow: inset 3px 0 0 #7c3aed;
}

.privacy-toc-link-sub {
  padding-left: 18px;
  color: #68718d;
  font-size: 0.8rem;
  font-weight: 700;
}

.privacy-policy-card {
  min-width: 0;
  padding: clamp(28px, 4vw, 52px);
}

.privacy-policy-content {
  color: #18203a;
  font-size: 1rem;
  line-height: 1.72;
}

.privacy-policy-content h2,
.privacy-policy-content h3 {
  scroll-margin-top: calc(var(--nav-height) + 18px);
}

.privacy-section {
  margin-inline: -18px;
  padding-inline: 18px;
  border-left: 3px solid transparent;
  border-radius: 8px;
  transition: background 160ms ease, border-color 160ms ease;
}

.privacy-section.is-active {
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.07), rgba(124, 58, 237, 0));
  border-left-color: #7c3aed;
}

.privacy-policy-content h2 {
  margin: 42px 0 14px;
  padding-top: 4px;
  color: #10142f;
  font-size: 1.55rem;
  font-weight: 900;
  line-height: 1.25;
}

.privacy-policy-content h2.is-active,
.privacy-policy-content h3.is-active {
  color: #5b21d6;
}

.privacy-policy-content .privacy-section:first-of-type h2 {
  margin-top: 34px;
}

.privacy-policy-content h3 {
  margin: 26px 0 10px;
  color: #31236f;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.3;
}

.privacy-policy-content p {
  margin: 0 0 14px;
  color: #313950;
}

.privacy-policy-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 18px;
  padding-left: 22px;
}

.privacy-policy-content li {
  padding-left: 4px;
  color: #313950;
}

.privacy-policy-content li::marker {
  color: #6d28d9;
}

.privacy-intro {
  padding-bottom: 12px;
  border-bottom: 1px solid #ebe7f6;
}

.privacy-support-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  width: min(100%, 900px);
  margin: 28px auto 0;
  padding: 24px 26px;
  background: linear-gradient(135deg, rgba(246, 238, 255, 0.95), rgba(255, 255, 255, 0.94));
}

.privacy-support-card h2 {
  margin: 0;
  color: #10142f;
  font-size: 1.18rem;
  font-weight: 900;
}

.privacy-support-card p {
  margin: 8px 0 0;
  color: #4f5a83;
  line-height: 1.45;
}

.privacy-support-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  color: #ffffff;
  background: linear-gradient(135deg, #7c3aed 0%, #5b21d6 100%);
  border: 1px solid #5b21d6;
  border-radius: 6px;
  box-shadow: 0 18px 34px rgba(91, 33, 214, 0.2);
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.privacy-support-button:hover,
.privacy-support-button:focus-visible {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 20px 38px rgba(91, 33, 214, 0.24);
  outline: none;
}

@media (max-width: 1199px) {
  .privacy-shell {
    padding: 32px var(--page-gutter-tablet) 44px;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
  }

  .privacy-toc-card {
    position: static;
    max-height: none;
  }

  .privacy-toc {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .privacy-shell {
    padding: 28px var(--page-gutter-mobile) 40px;
  }

  .privacy-hero {
    text-align: left;
  }

  .privacy-hero h1 {
    font-size: var(--section-title-mobile);
  }

  .privacy-updated {
    justify-content: flex-start;
  }

  .privacy-policy-card {
    padding: 24px 20px;
  }

  .privacy-toc {
    grid-template-columns: 1fr;
  }

  .privacy-policy-content {
    font-size: 0.96rem;
  }

  .privacy-policy-content h2 {
    font-size: 1.3rem;
  }

  .privacy-support-card {
    display: grid;
    padding: 22px 20px;
  }

  .privacy-support-button {
    width: 100%;
  }
}

@media (max-width: 479px) {
  .privacy-shell {
    padding-inline: var(--page-gutter-small);
  }

  .privacy-policy-card {
    padding: 22px 16px;
  }

  .privacy-section {
    margin-inline: -10px;
    padding-inline: 10px;
  }
}
