.page-privacy {
  --privacy-toc-w: 300px;
  background-color: var(--deep-navy);
  color: var(--cold-white);
  overflow-x: hidden;
}

.page-privacy a {
  color: var(--neon-green);
}

.page-privacy .breadcrumb__link,
.page-privacy .privacy-breadcrumb__link {
  color: var(--gray-blue);
}

.privacy-hero {
  position: relative;
  padding: clamp(80px, 12vw, 120px) 20px clamp(48px, 8vw, 84px);
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 12%, rgba(0, 245, 160, 0.10), transparent 22rem),
    linear-gradient(180deg, var(--deep-navy) 0%, #0A1B30 100%);
}

.privacy-hero__bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.privacy-hero__bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.12;
  mix-blend-mode: luminosity;
}

.privacy-hero__speedlines {
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(-14deg, transparent 0 10px, rgba(0, 245, 160, 0.05) 10px 15px),
    repeating-linear-gradient(14deg, transparent 0 34px, rgba(245, 183, 0, 0.05) 34px 38px);
}

.privacy-hero__inner {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
}

.privacy-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 28px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.privacy-breadcrumb__link {
  text-decoration: none;
  color: var(--gray-blue);
  transition: color var(--time-fast);
}

.privacy-breadcrumb__link:hover,
.privacy-breadcrumb__link:focus-visible {
  color: var(--neon-green);
  outline: none;
}

.privacy-breadcrumb__sep {
  opacity: 0.5;
}

.privacy-breadcrumb__current {
  color: var(--data-white);
}

.privacy-hero__badges {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.privacy-hero__badge {
  padding: 5px 12px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  line-height: 1.4;
}

.privacy-hero__badge--green {
  background: rgba(0, 245, 160, 0.12);
  border: 1px solid rgba(0, 245, 160, 0.35);
  color: var(--neon-green);
  transform: skewX(-6deg);
}

.privacy-hero__badge--ghost {
  border: 1px solid rgba(159, 179, 200, 0.3);
  color: var(--gray-blue);
}

.privacy-hero__title {
  margin: 0;
  max-width: 12em;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  transform: skewX(-5deg);
}

.privacy-hero__title > span {
  display: block;
}

.privacy-hero__title-accent {
  color: var(--neon-green);
}

.privacy-hero__lead {
  margin: 24px 0 0;
  max-width: 20em;
  color: var(--gold);
  font-size: clamp(1rem, 2.6vw, 1.3rem);
  font-weight: 600;
  line-height: 1.6;
}

.privacy-hero__desc {
  margin: 14px 0 0;
  max-width: 60ch;
  color: var(--gray-blue);
  font-size: 0.95rem;
  line-height: 1.8;
}

.privacy-hero__visual {
  position: absolute;
  right: 3%;
  bottom: 5%;
  z-index: 1;
  opacity: 0.3;
  pointer-events: none;
}

.privacy-hero__lock {
  width: clamp(70px, 13vw, 160px);
  height: auto;
}

.privacy-doc {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(56px, 8vw, 110px) 0 88px;
}

.privacy-toc {
  border-left: 2px solid rgba(0, 245, 160, 0.18);
  padding-left: 12px;
}

.privacy-toc__label {
  display: none;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-blue);
}

.privacy-toc__list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 245, 160, 0.4) transparent;
  -webkit-overflow-scrolling: touch;
}

.privacy-toc__item {
  flex: 0 0 auto;
}

.privacy-toc__link {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 10px 16px;
  background: rgba(16, 42, 67, 0.72);
  border: 1px solid rgba(159, 179, 200, 0.16);
  color: var(--gray-blue);
  font-size: 0.875rem;
  text-decoration: none;
  white-space: nowrap;
  transition:
    border-color var(--time-fast),
    background-color var(--time-fast),
    color var(--time-fast);
}

.privacy-toc__link:hover {
  background: rgba(0, 245, 160, 0.07);
  border-color: rgba(0, 245, 160, 0.55);
  color: var(--cold-white);
}

.privacy-toc__link:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;
}

.privacy-toc__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--neon-green);
}

.privacy-toc__text {
  min-width: 4ch;
}

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

.privacy-section {
  position: relative;
  scroll-margin-top: calc(var(--header-h) + 36px);
  padding: 34px 0 10px;
  border-top: 1px solid rgba(0, 245, 160, 0.14);
}

.privacy-section[data-visibility]::before {
  content: "";
  position: absolute;
  left: -2px;
  top: 0;
  width: 2px;
  height: 0;
  background: var(--neon-green);
  opacity: 0;
  transition:
    height 0.8s var(--time-mid),
    opacity 0.8s var(--time-mid);
}

.privacy-section[data-visibility].is-visible::before {
  height: 44px;
  opacity: 1;
}

.privacy-section:target {
  animation: privacy-target-pulse 1.6s var(--time-mid);
}

@keyframes privacy-target-pulse {
  0% {
    background: rgba(0, 245, 160, 0.1);
  }
  100% {
    background: transparent;
  }
}

.privacy-section__head {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-bottom: 18px;
}

.privacy-section__index {
  font-family: var(--font-mono);
  font-size: 1rem;
  line-height: 1;
  color: var(--neon-green);
  transform: skewX(-6deg);
}

.privacy-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4.6vw, 2.8rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: var(--cold-white);
  transform: skewX(-5deg);
}

.privacy-section__content > p {
  margin: 0 0 16px;
  color: var(--gray-blue);
  font-size: 1rem;
  line-height: 1.85;
}

.privacy-section__content > p strong {
  color: var(--data-white);
}

.privacy-list {
  display: grid;
  gap: 14px;
  margin: 24px 0;
  padding: 0;
  list-style: none;
}

.privacy-list li {
  position: relative;
  padding-left: 26px;
  color: var(--gray-blue);
  line-height: 1.7;
  word-break: break-word;
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--neon-green);
  opacity: 0.75;
  transform: skewX(-16deg);
}

.privacy-list li strong {
  color: var(--data-white);
}

.privacy-notice {
  margin: 26px 0;
  padding: 16px 18px 14px;
  background: rgba(255, 107, 107, 0.08);
  border-left: 3px solid var(--alert-red);
}

.privacy-notice p {
  margin: 0;
  color: #ffdcdc;
  line-height: 1.75;
}

.privacy-notice strong {
  color: var(--alert-red);
  font-weight: 600;
}

.privacy-notice em {
  font-style: normal;
  text-decoration: underline;
  text-decoration-color: var(--alert-red);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.3em;
}

.privacy-contact {
  display: grid;
  gap: 12px;
  margin: 26px 0;
}

.privacy-contact__item {
  display: block;
  min-width: 0;
  padding: 16px 18px;
  background: rgba(16, 42, 67, 0.78);
  border-left: 2px solid var(--gold);
  transition: border-color var(--time-fast);
}

.privacy-contact__item:hover,
.privacy-contact__item:focus-within {
  border-left-color: var(--neon-green);
}

.privacy-contact__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-blue);
}

.privacy-contact__value {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--cold-white);
  word-break: break-all;
}

.privacy-section__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.page-privacy .btn:focus-visible {
  outline: 2px solid var(--neon-green);
  outline-offset: 3px;
}

.privacy-endnote {
  display: flex;
  gap: 16px;
  align-items: baseline;
  margin-top: clamp(40px, 6vw, 64px);
  padding-top: 24px;
  border-top: 1px solid rgba(0, 245, 160, 0.16);
}

.privacy-endnote__label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  color: var(--neon-green);
}

.privacy-endnote p {
  margin: 0;
  color: var(--gray-blue);
  font-size: 0.875rem;
  line-height: 1.7;
}

@media (min-width: 720px) {
  .privacy-hero {
    padding-left: 32px;
    padding-right: 32px;
  }

  .privacy-hero__visual {
    opacity: 0.45;
  }

  .privacy-contact {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .privacy-doc {
    grid-template-columns:
      minmax(0, var(--privacy-toc-w))
      minmax(0, 780px);
    gap: clamp(48px, 8vw, 120px);
  }

  .privacy-toc {
    position: sticky;
    top: calc(var(--header-h) + 28px);
  }

  .privacy-toc__label {
    display: block;
  }

  .privacy-toc__list {
    flex-direction: column;
    gap: 6px;
    overflow: visible;
    padding: 0;
  }

  .privacy-toc__item {
    flex: none;
  }

  .privacy-toc__link {
    padding: 8px 4px 8px 16px;
    background: transparent;
    border: 0;
    border-left: 2px solid rgba(0, 245, 160, 0.2);
    border-radius: 0;
    transition:
      border-color var(--time-fast),
      color var(--time-fast);
  }

  .privacy-toc__link:hover {
    background: transparent;
    border-left-color: var(--neon-green);
    color: var(--cold-white);
  }

  .privacy-section:first-of-type {
    padding-top: 0;
    border-top: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-privacy *,
  .page-privacy *::before,
  .page-privacy *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

@media print {
  .page-privacy {
    background: #fff;
    color: #111;
  }

  .privacy-hero,
  .privacy-doc {
    width: 100%;
    padding: 0;
  }

  .privacy-hero__bg-wrap,
  .privacy-hero__visual,
  .privacy-toc,
  .privacy-section__actions {
    display: none !important;
  }

  .privacy-hero {
    overflow: visible;
    background: none;
  }

  .privacy-hero__inner {
    width: 100%;
  }

  .privacy-hero__title,
  .privacy-section__title,
  .privacy-section__index {
    color: #111;
    transform: none;
  }

  .privacy-hero__title-accent {
    color: #147d60;
  }

  .privacy-doc {
    display: block;
  }

  .privacy-section {
    break-inside: avoid;
    border-top: 1px solid #ccc;
    color: #222;
  }

  .privacy-section__content > p,
  .privacy-list li,
  .privacy-endnote p {
    color: #333;
  }

  .privacy-notice {
    border-left-color: #c22;
    background: transparent;
  }

  .privacy-contact__item {
    background: transparent;
    border: 1px solid #888;
  }

  .privacy-endnote {
    border-top-color: #999;
  }
}
