.page-privacy {
  position: relative;
  padding: 28px 0 64px;
  overflow: hidden;
  background-image:
    radial-gradient(rgba(224, 230, 255, 0.03) 1px, transparent 1px),
    radial-gradient(1100px 480px at 88% -8%, rgba(57, 255, 20, 0.07), transparent 60%),
    linear-gradient(180deg, var(--primary-bg) 0%, #0c1122 100%);
  background-size: 20px 20px, auto, auto;
}

.page-privacy .container {
  max-width: 1240px;
  margin-inline: auto;
  padding-inline: 20px;
}

.page-privacy .breadcrumb {
  margin-bottom: 20px;
}

.page-privacy a {
  color: var(--accent-neon);
  text-decoration-color: rgba(57, 255, 20, 0.4);
  text-underline-offset: 4px;
}

.privacy-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 40px;
}

.privacy-hero__text {
  max-width: 680px;
}

.privacy-hero__title {
  font-family: var(--font-heading);
  font-size: clamp(1.65rem, 4.6vw, 2.75rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--text-light);
  margin: 14px 0 14px;
  transform: skewX(-2deg);
}

.privacy-hero__lead {
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.9;
  max-width: 54ch;
  margin: 0;
}

.privacy-hero__meta {
  margin: 14px 0 0;
  color: var(--metal-silver);
  font-size: 0.78rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

.privacy-hero__visual {
  position: relative;
}

.privacy-hero__glow {
  position: absolute;
  top: -12%;
  right: -4%;
  width: 68%;
  height: 72%;
  background: radial-gradient(closest-side, rgba(57, 255, 20, 0.24), transparent 72%);
  filter: blur(22px);
  transform: skewX(-8deg);
  z-index: 0;
  pointer-events: none;
}

.privacy-hero__img {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(192, 192, 192, 0.16);
  box-shadow: var(--shadow-card);
  transform: rotate(0.4deg) skewX(-0.6deg);
}

.privacy-shell {
  margin-top: 8px;
}

.privacy-shell__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
}

.privacy-toc {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(20, 26, 46, 0.92), rgba(17, 17, 17, 0.86));
  border: 1px solid rgba(57, 255, 20, 0.22);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.privacy-toc__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  background: rgba(57, 255, 20, 0.08);
  border-bottom: 1px solid rgba(57, 255, 20, 0.12);
}

.privacy-toc__label {
  color: var(--accent-neon);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.privacy-toc__count {
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.72rem;
  border: 1px solid rgba(192, 192, 192, 0.2);
  border-radius: 999px;
  padding: 3px 10px;
}

.privacy-toc__list {
  list-style: none;
  margin: 0;
  padding: 8px 12px 14px;
}

.privacy-toc__list li {
  margin: 2px 0;
}

.privacy-toc__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  border-left: 2px solid transparent;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.84rem;
  text-decoration: none;
  transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base);
}

.privacy-toc__list a:hover,
.privacy-toc__list a:focus-visible {
  background: rgba(57, 255, 20, 0.07);
  border-left-color: var(--accent-neon);
  color: var(--accent-neon);
  outline: none;
}

.privacy-toc__list li:nth-child(2) a {
  border-left-color: rgba(255, 106, 0, 0.35);
}

.privacy-toc__list li:nth-child(3) a {
  border-left-color: rgba(255, 106, 0, 0.25);
}

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

.privacy-section {
  scroll-margin-top: calc(var(--scorebar-height) + 30px);
  position: relative;
  padding: 36px 0 40px;
  border-bottom: 1px solid rgba(192, 192, 192, 0.14);
}

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

.privacy-section__head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 22px;
}

.privacy-section__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--matt-black);
  color: var(--accent-orange);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 106, 0, 0.4);
  box-shadow: var(--glow-orange);
  transform: rotate(-6deg);
}

.privacy-section__title {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--text-light);
  margin: 0;
  transform: skewX(-2deg);
}

.privacy-section__body > p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.9;
  margin: 0 0 14px;
}

.privacy-section__body strong {
  color: var(--text-light);
  font-weight: 600;
}

.privacy-note {
  margin-top: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: rgba(255, 106, 0, 0.06);
  border-left: 3px solid var(--accent-orange);
  color: var(--text-muted) !important;
  font-size: 0.84rem !important;
  line-height: 1.8 !important;
}

.privacy-grid-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 20px 0;
}

.privacy-grid-item {
  background: rgba(20, 26, 46, 0.85);
  border: 1px solid rgba(192, 192, 192, 0.1);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: border-color var(--transition-base), transform var(--transition-base);
}

.privacy-grid-item:hover {
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-2px);
}

.privacy-grid-item h3 {
  margin: 0 0 8px;
  color: var(--accent-neon);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
}

.privacy-grid-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.86rem;
  line-height: 1.75;
}

.privacy-usage-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 18px 0;
  padding: 0;
}

.privacy-usage-list li {
  position: relative;
  padding: 13px 16px 13px 42px;
  background: rgba(20, 26, 46, 0.6);
  border: 1px solid rgba(192, 192, 192, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.8;
}

.privacy-usage-list li::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 21px;
  width: 10px;
  height: 10px;
  background: var(--accent-neon);
  border-radius: 2px;
  transform: rotate(45deg);
  box-shadow: 0 0 8px rgba(57, 255, 20, 0.5);
}

.privacy-usage-list strong {
  color: var(--text-light);
}

.privacy-table-wrap {
  margin: 20px 0;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid rgba(192, 192, 192, 0.1);
}

.privacy-table-wrap .table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  background: var(--card-bg);
  margin: 0;
}

.privacy-table-wrap th,
.privacy-table-wrap td {
  padding: 12px 14px;
  text-align: left;
  font-size: 0.85rem;
  line-height: 1.7;
  border-bottom: 1px solid rgba(192, 192, 192, 0.08);
  color: var(--text-muted);
}

.privacy-table-wrap th {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-light);
  background: rgba(57, 255, 20, 0.05);
  white-space: nowrap;
}

.privacy-table-wrap tr:last-child td {
  border-bottom: none;
}

.privacy-term {
  position: relative;
  display: inline-block;
  border-bottom: 1px dashed var(--accent-orange);
  color: var(--accent-orange);
  cursor: help;
  z-index: 2;
}

.privacy-term__bubble {
  position: absolute;
  left: 0;
  bottom: 140%;
  z-index: 12;
  width: 240px;
  max-width: 70vw;
  padding: 10px 12px;
  background: var(--matt-black);
  border: 1px solid rgba(255, 106, 0, 0.4);
  border-radius: var(--radius-sm);
  color: var(--text-light);
  font-size: 0.76rem;
  line-height: 1.65;
  box-shadow: var(--shadow-card);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
}

.privacy-term:hover .privacy-term__bubble,
.privacy-term:focus-visible .privacy-term__bubble {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.privacy-rights-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0;
}

.privacy-rights-grid > div {
  position: relative;
  padding: 18px 18px 16px;
  background: linear-gradient(135deg, rgba(255, 106, 0, 0.08), rgba(255, 106, 0, 0.02)), var(--card-bg);
  border: 1px solid rgba(255, 106, 0, 0.15);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.privacy-rights-grid__label {
  position: absolute;
  top: 10px;
  right: 12px;
  color: rgba(255, 106, 0, 0.28);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.privacy-rights-grid h3 {
  margin: 0 0 8px;
  color: var(--accent-orange);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
}

.privacy-rights-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.84rem;
  line-height: 1.75;
}

.privacy-security-list {
  list-style: none;
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 0;
}

.privacy-security-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.88rem;
  line-height: 1.85;
}

.privacy-security-list li::before {
  content: "";
  flex: 0 0 auto;
  width: 9px;
  height: 9px;
  margin-top: 10px;
  background: var(--accent-orange);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 106, 0, 0.5);
}

.privacy-security-list strong {
  color: var(--text-light);
}

.privacy-contact-card {
  display: grid;
  gap: 10px;
  margin: 20px 0;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: linear-gradient(100deg, rgba(57, 255, 20, 0.07), rgba(20, 26, 46, 0.9) 45%), var(--card-bg);
  border: 1px solid rgba(57, 255, 20, 0.22);
}

.privacy-contact-card p {
  margin: 0;
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
}

.privacy-contact-card strong {
  display: inline-block;
  min-width: 84px;
  color: var(--accent-neon);
  font-weight: 500;
}

.privacy-footer {
  margin-top: 48px;
  padding: 26px 0;
  border-top: 1px solid rgba(192, 192, 192, 0.1);
  background: rgba(17, 17, 17, 0.55);
}

.privacy-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.78rem;
  font-family: var(--font-body);
  letter-spacing: 0.02em;
}

@media (min-width: 720px) {
  .page-privacy {
    padding-top: 40px;
  }

  .privacy-hero {
    grid-template-columns: 5fr 7fr;
    gap: 44px;
  }

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

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

  .privacy-rights-grid > div {
    padding: 20px 16px 18px;
  }
}

@media (min-width: 992px) {
  .privacy-shell__grid {
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 52px;
  }

  .privacy-toc {
    position: sticky;
    top: calc(var(--scorebar-height) + 32px);
    margin-top: 8px;
  }

  .privacy-toc__list a {
    font-size: 0.82rem;
  }

  .privacy-content {
    padding-top: 8px;
  }

  .privacy-section__head {
    margin-bottom: 26px;
  }
}
