.page-privacy {
  --pg-grid: rgba(230, 232, 235, 0.035);
  --pg-line: rgba(30, 144, 255, 0.16);
  --pg-muted: rgba(230, 232, 235, 0.72);
  --pg-dim: rgba(230, 232, 235, 0.42);
  --pg-faint: rgba(230, 232, 235, 0.05);
  --pg-body: rgba(230, 232, 235, 0.78);
  position: relative;
  background-color: var(--sb-blue);
  background-image:
    linear-gradient(var(--pg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--pg-grid) 1px, transparent 1px);
  background-size: 40px 40px;
  overflow: hidden;
  padding-bottom: 5rem;
}

.privacy-hero {
  position: relative;
  padding: 2rem 0 1.5rem;
  overflow: hidden;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: -140px;
  right: -120px;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(123, 47, 255, 0.14) 0%, transparent 65%);
  pointer-events: none;
}

.privacy-hero .container {
  position: relative;
  z-index: 1;
}

.privacy-hero__eyebrow {
  display: block;
  color: rgba(30, 144, 255, 0.85);
  margin-bottom: 0.75rem;
  letter-spacing: 0.18em;
}

.privacy-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sb-silver);
  margin: 0 0 0.5rem;
}

.privacy-hero__sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 500;
  color: var(--pg-dim);
  margin: 0 0 1.25rem;
}

.privacy-hero__desc {
  max-width: 720px;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--pg-body);
  margin: 0;
}

.privacy-hero__visual {
  position: relative;
  margin-top: 2rem;
}

.privacy-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(123, 47, 255, 0.12) 0%, transparent 45%);
}

.privacy-hero__visual img {
  display: block;
  width: 100%;
  height: clamp(180px, 22vw, 260px);
  object-fit: cover;
  object-position: center;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 24px), 24px 100%);
}

.privacy-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

.privacy-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.5rem;
  border-top: 1px solid var(--pg-line);
  padding-top: 1rem;
  margin-bottom: 0.5rem;
}

.privacy-toc__label {
  display: block;
  width: 100%;
  margin-bottom: 0.25rem;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  color: var(--pg-dim);
}

.privacy-toc__link {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  padding: 0.3rem 0;
  font-size: 0.85rem;
  line-height: 1.4;
  text-decoration: none;
  color: var(--pg-muted);
  transition: color 0.2s ease;
}

.privacy-toc__num {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--pg-dim);
}

.privacy-toc__text {
  font-weight: 500;
}

.privacy-toc__link:hover,
.privacy-toc__link:hover .privacy-toc__num {
  color: var(--sb-electric);
}

.privacy-toc__link.is-active,
.privacy-toc__link.is-active .privacy-toc__num {
  color: var(--sb-orange);
}

.privacy-content {
  min-width: 0;
}

.privacy-section {
  position: relative;
  padding: 2.5rem 0;
}

.privacy-section + .privacy-section::before {
  content: "";
  display: block;
  height: 1px;
  background: linear-gradient(90deg, rgba(123, 47, 255, 0.65), rgba(176, 106, 179, 0.35) 45%, transparent 90%);
  margin-bottom: 2.5rem;
}

.privacy-section__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.privacy-section__num {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: rgba(30, 144, 255, 0.75);
}

.privacy-section__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--sb-silver);
  margin: 0;
}

.privacy-section p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--pg-body);
  max-width: 70ch;
  margin-bottom: 1rem;
}

.privacy-section ul {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 0;
}

.privacy-section ul li {
  position: relative;
  padding: 0.7rem 0 0.7rem 1.6rem;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--pg-body);
  border-bottom: 1px solid var(--pg-faint);
}

.privacy-section ul li:last-child {
  border-bottom: none;
}

.privacy-section ul li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 1.35rem;
  width: 7px;
  height: 7px;
  background: var(--sb-violet);
  transform: rotate(45deg);
  opacity: 0.85;
}

.privacy-section strong {
  color: var(--sb-silver);
  font-weight: 600;
}

.privacy-relate {
  margin-top: 4rem;
  padding-top: 4rem;
  border-top: 1px solid var(--pg-faint);
}

.privacy-relate__head {
  margin-bottom: 2rem;
}

.privacy-relate__eyebrow {
  display: block;
  margin-bottom: 0.5rem;
  letter-spacing: 0.16em;
}

.privacy-relate__head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  color: var(--sb-silver);
  margin: 0;
}

.privacy-relate__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.privacy-relate__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.5rem;
  background: rgba(230, 232, 235, 0.03);
  text-decoration: none;
  border: 1px solid rgba(230, 232, 235, 0.07);
  transition: border-color 0.2s ease, background 0.2s ease;
}

.privacy-relate__item:hover {
  border-color: rgba(255, 106, 0, 0.4);
  background: rgba(255, 106, 0, 0.04);
}

.privacy-relate__num {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--sb-electric);
}

.privacy-relate__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--sb-silver);
}

.privacy-relate__desc {
  font-size: 0.85rem;
  line-height: 1.6;
  color: var(--pg-dim);
}

@media (min-width: 720px) {
  .privacy-relate__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .privacy-section {
    padding: 3rem 0;
  }

  .privacy-section + .privacy-section::before {
    margin-bottom: 3rem;
  }
}

@media (min-width: 960px) {
  .privacy-hero {
    padding: 3rem 0 2rem;
  }

  .privacy-hero__visual {
    margin-top: 2.5rem;
  }

  .privacy-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 2rem;
    margin-top: 2rem;
  }

  .privacy-toc {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;
    border-top: none;
    border-left: 2px solid var(--pg-line);
    padding-top: 0.25rem;
    padding-left: 1.25rem;
    margin-bottom: 0;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }

  .privacy-toc__label {
    margin-bottom: 0.75rem;
  }

  .privacy-toc__link {
    display: flex;
    align-items: baseline;
    gap: 0.65rem;
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--pg-faint);
    font-size: 0.88rem;
  }
}

@media (min-width: 1080px) {
  .privacy-relate__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .privacy-content {
    padding-left: 1rem;
  }
}
