.page-privacy {
  --pp-num-size: clamp(72px, 12vw, 140px);
  --pp-paper: #F5F5FA;
  --pp-ink: #0E0E1A;

  background-color: #1B1040;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    radial-gradient(circle at 85% 12%, rgba(59, 130, 246, 0.16), transparent 42%),
    radial-gradient(circle at 8% 82%, rgba(139, 92, 246, 0.14), transparent 46%);
  background-size: 48px 48px, 48px 48px, auto auto, auto auto;
  background-repeat: repeat, repeat, no-repeat, no-repeat;
  color: var(--ayx-text-primary);
}

.pp-breadcrumb-wrap {
  padding-top: 32px;
}

.pp-hero {
  position: relative;
  overflow: hidden;
  padding: 32px 0 40px;
}

.pp-hero::before {
  content: "";
  position: absolute;
  right: -12%;
  top: -45%;
  width: 65%;
  height: 150%;
  background: linear-gradient(135deg, transparent 32%, rgba(139, 92, 246, 0.2) 100%);
  transform: skewX(-14deg);
  pointer-events: none;
}

.pp-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 32px;
  align-items: center;
}

.pp-hero__badge {
  display: inline-block;
  margin-bottom: 18px;
}

.pp-hero__title {
  font-size: clamp(34px, 7vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-style: italic;
  transform: skewX(-3deg);
  margin: 0 0 20px;
}

.pp-hero__lead {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245, 245, 250, 0.78);
  margin: 0;
}

.pp-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--ayx-font-mono);
  font-size: 13px;
  color: var(--ayx-text-secondary);
}

.pp-hero__meta span::before {
  content: "◆ ";
  color: var(--ayx-yellow);
  font-size: 11px;
}

.pp-hero__visual {
  position: relative;
  z-index: 1;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--ayx-border-radius);
  border: 2px solid rgba(255, 255, 255, 0.12);
  box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.28);
}

.pp-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pp-layout {
  display: grid;
  gap: 40px;
  padding-bottom: var(--ayx-space-xxl);
}

.pp-toc {
  align-self: start;
  border: 2px solid rgba(255, 255, 255, 0.14);
  background: rgba(14, 14, 26, 0.55);
  border-radius: var(--ayx-border-radius);
  padding: 24px;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.22);
}

.pp-toc__label {
  display: block;
  font-family: var(--ayx-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ayx-yellow);
  margin-bottom: 16px;
}

.pp-toc__list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
}

.pp-toc__list li {
  margin: 0;
}

.pp-toc__list a {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-family: var(--ayx-font-mono);
  font-size: 15px;
  transition: color 0.2s, padding-left 0.2s;
}

.pp-toc__list a:hover {
  color: var(--ayx-yellow);
  padding-left: 6px;
}

.pp-toc__idx {
  font-size: 13px;
  color: var(--ayx-violet);
  font-weight: 700;
}

.pp-toc__note {
  margin: 0;
  padding-top: 14px;
  border-top: 1px dashed rgba(255, 255, 255, 0.16);
  font-size: 13px;
  color: var(--ayx-text-secondary);
  line-height: 1.6;
}

.pp-docs {
  position: relative;
  min-width: 0;
}

.pp-section {
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  scroll-margin-top: 28px;
}

.pp-section:last-of-type {
  border-bottom: none;
}

.pp-section__head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.pp-section__num {
  font-family: var(--ayx-font-mono);
  font-size: var(--pp-num-size);
  font-weight: 900;
  line-height: 0.8;
  color: rgba(139, 92, 246, 0.45);
  text-shadow: 4px 4px 0 rgba(255, 90, 54, 0.28);
  letter-spacing: -0.04em;
  white-space: nowrap;
}

.pp-section__head h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 900;
  line-height: 1.2;
}

.pp-section__intro {
  max-width: 760px;
  margin: 0 0 24px;
  padding-left: 16px;
  border-left: 3px solid var(--ayx-orange);
  font-size: 17px;
  line-height: 1.8;
  color: rgba(245, 245, 250, 0.74);
}

.pp-block {
  margin: 28px 0;
  padding: 20px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-left: 5px solid var(--ayx-orange);
  border-radius: 0 var(--ayx-border-radius) var(--ayx-border-radius) 0;
  background: rgba(245, 245, 250, 0.06);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}

.pp-block--highlight {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(139, 92, 246, 0.12));
  border-left-color: var(--ayx-yellow);
}

.pp-block__tag {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--ayx-yellow);
  color: var(--ayx-ink);
  font-family: var(--ayx-font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pp-block p {
  margin: 0;
  line-height: 1.85;
}

.pp-subhead {
  display: flex;
  align-items: center;
  margin: 34px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--ayx-electric-blue);
}

.pp-subhead::before {
  content: "";
  flex: none;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  background: var(--ayx-orange);
  transform: rotate(45deg);
}

.pp-list {
  list-style: none;
  margin: 12px 0 20px;
  padding: 0;
}

.pp-list li {
  position: relative;
  padding-left: 26px;
  margin-bottom: 10px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
}

.pp-list li::before {
  content: "▹";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--ayx-orange);
  font-weight: 700;
}

.pp-list--ordered {
  counter-reset: pp-order;
}

.pp-list--ordered li {
  counter-increment: pp-order;
  padding-left: 48px;
}

.pp-list--ordered li::before {
  content: counter(pp-order, decimal-leading-zero);
  top: 0;
  left: 0;
  padding: 2px 6px;
  border: 1px solid rgba(217, 248, 33, 0.34);
  border-radius: 4px;
  background: rgba(217, 248, 33, 0.1);
  color: var(--ayx-yellow);
  font-family: var(--ayx-font-mono);
  font-size: 13px;
  font-weight: 700;
}

.pp-note {
  margin: 16px 0 0;
  padding: 14px 18px;
  border-radius: var(--ayx-border-radius);
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.22);
  font-size: 15px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.pp-rights-grid {
  gap: 16px;
  margin: 24px 0;
}

.pp-card {
  height: 100%;
  padding: 24px;
  border: 2px solid rgba(14, 14, 26, 0.9);
  border-radius: 10px;
  box-shadow: 6px 6px 0 rgba(12, 12, 30, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pp-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 8px 8px 0 rgba(12, 12, 30, 0.4);
}

.pp-card__key {
  display: inline-block;
  margin-bottom: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--ayx-yellow);
  color: var(--ayx-ink);
  font-family: var(--ayx-font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pp-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.75;
  color: rgba(14, 14, 26, 0.82);
}

.pp-exit {
  position: relative;
  margin-top: 32px;
  padding: 56px 0;
  background: linear-gradient(135deg, var(--pp-paper) 0%, #E8E8F2 100%);
  color: var(--pp-ink);
}

.pp-exit::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 0%, rgba(139, 92, 246, 0.1) 100%);
  pointer-events: none;
}

.pp-exit__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.pp-exit__copy h2 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 900;
}

.pp-exit__copy p {
  margin: 0;
  max-width: 560px;
  color: rgba(14, 14, 26, 0.72);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .pp-breadcrumb-wrap {
    padding-top: 40px;
  }

  .pp-hero {
    padding: 40px 0 64px;
  }

  .pp-hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    gap: 48px;
  }

  .pp-hero__visual {
    box-shadow: 12px 12px 0 rgba(0, 0, 0, 0.3);
  }

  .pp-layout {
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 56px;
  }

  .pp-toc {
    position: sticky;
    top: 32px;
  }

  .pp-docs::before {
    content: "";
    position: absolute;
    left: -28px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.24), transparent);
  }

  .pp-list--cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px 24px;
  }

  .pp-rights-grid {
    gap: 20px;
  }

  .pp-exit {
    padding: 72px 0;
  }
}
