.page-privacy {
  background-color: var(--c-light);
  background-image:
    linear-gradient(rgba(214, 223, 234, 0.32) 1px, transparent 1px),
    linear-gradient(90deg, rgba(214, 223, 234, 0.32) 1px, transparent 1px);
  background-size: 48px 48px;
  padding: 40px 0 88px;
  scroll-behavior: smooth;
}

.page-privacy .breadcrumbs {
  color: var(--c-text-soft);
  margin-bottom: 28px;
  font-size: 13px;
  font-family: var(--font-body);
}

.page-privacy .breadcrumbs a {
  color: var(--c-text-soft);
  text-decoration: none;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.page-privacy .breadcrumbs a:hover {
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-accent);
}

.privacy-hero {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--c-line-light);
}

.privacy-hero__tag {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--c-primary);
}

.privacy-hero__tag::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--c-accent);
  box-shadow: 0 0 0 3px rgba(57, 255, 20, 0.18);
}

.privacy-hero__title {
  max-width: 18em;
  margin-bottom: 16px;
  font-family: var(--font-head);
  font-size: var(--text-h1);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--c-primary);
}

.privacy-hero__lead {
  max-width: 64ch;
  margin: 0;
  font-size: 17px;
  line-height: 1.9;
  color: var(--c-text-soft);
}

.privacy-hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 20px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--c-line-light);
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--c-text-soft);
}

.privacy-hero__code {
  background: var(--c-primary);
  color: var(--c-accent);
  padding: 4px 8px;
  letter-spacing: 0.08em;
}

.privacy-toc {
  position: relative;
  margin-bottom: 48px;
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  box-shadow: 6px 6px 0 0 rgba(11, 27, 61, 0.08);
  padding: 20px;
}

.privacy-toc__flag {
  position: absolute;
  top: -10px;
  left: 16px;
  background: var(--c-primary);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  padding: 4px 10px;
}

.privacy-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
}

.privacy-toc__item {
  border-bottom: 1px dashed var(--c-line-light);
}

.privacy-toc__item:last-child {
  border-bottom: 0;
}

.privacy-toc__link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 4px;
  color: var(--c-text-body);
  text-decoration: none;
  font-weight: 500;
  transition: background 0.15s ease, color 0.15s ease;
}

.privacy-toc__link:hover {
  color: var(--c-primary);
  background: var(--c-light);
}

.privacy-toc__code {
  flex-shrink: 0;
  width: 42px;
  text-align: center;
  background: var(--c-primary);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 2px 6px;
}

.privacy-toc__text {
  font-size: 15px;
}

.privacy-panel {
  position: relative;
  margin-bottom: 40px;
  background: var(--c-white);
  border: 1px solid var(--c-line-light);
  box-shadow: 6px 6px 0 0 rgba(11, 27, 61, 0.08);
  scroll-margin-top: calc(var(--header-h) + var(--space-3));
}

.privacy-panel__head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--c-line-light);
  position: relative;
}

.privacy-panel__head::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 20px;
  width: 48px;
  height: 3px;
  background: var(--c-accent);
}

.privacy-panel__idx {
  min-width: 44px;
  font-family: var(--font-mono);
  font-size: 40px;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--c-primary);
  opacity: 0.18;
  -webkit-text-stroke: 1px var(--c-primary);
}

.privacy-panel__title {
  margin: 0;
  font-family: var(--font-head);
  font-size: var(--text-h2);
  font-weight: 900;
  line-height: 1.3;
  color: var(--c-primary);
}

.privacy-panel__body {
  padding: 20px;
}

.privacy-panel__body p {
  margin: 0 0 16px;
  line-height: 1.85;
  color: var(--c-text-body);
}

.privacy-panel__body p:last-child {
  margin-bottom: 0;
}

.privacy-panel__body a {
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-accent);
  text-decoration: none;
  font-weight: 600;
}

.privacy-panel__body a:hover {
  background: var(--c-accent);
}

.privacy-panel__lead {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.8;
  color: var(--c-text-body);
  margin-bottom: 20px;
}

.privacy-panel__text {
  margin-bottom: 16px;
  color: var(--c-text-body);
  line-height: 1.85;
}

.privacy-panel--storage {
  background: var(--c-primary);
  border-color: var(--c-line-dark);
  box-shadow: 6px 6px 0 0 rgba(11, 27, 61, 0.28);
}

.privacy-panel--storage .privacy-panel__head {
  border-bottom-color: var(--c-line-dark);
}

.privacy-panel--storage .privacy-panel__head::after {
  background: var(--c-accent);
}

.privacy-panel--storage .privacy-panel__title {
  color: var(--c-text-dark);
}

.privacy-panel--storage .privacy-panel__idx {
  color: var(--c-accent);
  opacity: 0.35;
  -webkit-text-stroke: 1px var(--c-accent);
}

.privacy-panel--storage .privacy-panel__body p,
.privacy-panel--storage .privacy-panel__lead {
  color: var(--c-text-dark);
}

.privacy-panel--storage .privacy-list li {
  border-bottom-color: var(--c-line-dark);
  color: var(--c-text-dark);
}

.privacy-panel--storage .privacy-list strong {
  color: var(--c-accent);
}

.privacy-panel--storage .privacy-list li::before {
  background: var(--c-accent);
}

.privacy-storage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.privacy-shield-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 0 4px;
  border-top: 1px dashed var(--c-line-dark);
}

.privacy-shield {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid var(--c-line-dark);
  border-radius: 50%;
  background: rgba(57, 255, 20, 0.06);
}

.privacy-shield svg {
  width: 68px;
  height: 68px;
  overflow: visible;
}

.privacy-shield-block__img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  border: 1px solid var(--c-line-dark);
}

.privacy-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
}

.privacy-list li {
  position: relative;
  padding: 10px 0 10px 28px;
  border-bottom: 1px dashed var(--c-line-light);
  line-height: 1.75;
  color: var(--c-text-body);
}

.privacy-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 8px;
  height: 8px;
  background: var(--c-accent);
}

.privacy-list--check li::before {
  content: "\2713";
  width: auto;
  height: auto;
  top: 14px;
  left: 2px;
  background: none;
  color: var(--c-primary);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
}

.privacy-list strong {
  color: var(--c-primary);
}

.privacy-keyword {
  background: rgba(57, 255, 20, 0.12);
  border-bottom: 2px solid var(--c-accent);
  color: var(--c-primary);
  font-weight: 700;
  padding: 0 4px;
}

.privacy-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 16px 20px;
  background: var(--c-light);
  border-left: 4px solid var(--c-accent);
  font-size: 14px;
  line-height: 1.7;
  color: var(--c-text-soft);
}

.privacy-contact__label {
  background: var(--c-primary);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  padding: 4px 10px;
}

.privacy-panel--note {
  background: var(--c-white);
  border: 0;
  border-left: 4px solid var(--c-accent);
  box-shadow: none;
  margin-top: 48px;
}

.privacy-note {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px 20px;
}

.privacy-note__code {
  flex-shrink: 0;
  display: inline-block;
  width: 40px;
  height: 40px;
  line-height: 40px;
  text-align: center;
  background: var(--c-primary);
  color: var(--c-accent);
  font-family: var(--font-mono);
  font-size: 28px;
  font-weight: 700;
}

.privacy-note__title {
  margin: 0 0 8px;
  font-family: var(--font-head);
  font-size: var(--text-h3);
  font-weight: 900;
  color: var(--c-primary);
}

.privacy-note p {
  margin: 0;
  line-height: 1.8;
  color: var(--c-text-soft);
}

.privacy-note a {
  color: var(--c-primary);
  border-bottom: 1px solid var(--c-accent);
  text-decoration: none;
  font-weight: 600;
}

.privacy-note a:hover {
  background: var(--c-accent);
}

@media (min-width: 840px) {
  .page-privacy {
    padding: 72px 0 128px;
  }

  .page-privacy .breadcrumbs {
    margin-bottom: 48px;
  }

  .privacy-hero {
    padding-bottom: 40px;
    margin-bottom: 56px;
  }

  .privacy-toc {
    padding: 8px 24px;
  }

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

  .privacy-toc__item {
    border-bottom: 0;
    border-right: 1px dashed var(--c-line-light);
  }

  .privacy-toc__item:last-child {
    border-right: 0;
  }

  .privacy-toc__link {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 20px 12px;
  }

  .privacy-toc__text {
    font-size: 14px;
  }

  .privacy-panel {
    margin-bottom: 48px;
  }

  .privacy-panel__head {
    padding: 28px 40px 20px;
  }

  .privacy-panel__head::after {
    left: 40px;
  }

  .privacy-panel__body {
    padding: 36px 40px 40px;
  }

  .privacy-storage-grid {
    grid-template-columns: 1.5fr 0.85fr;
    gap: 40px;
    align-items: center;
  }

  .privacy-shield-block {
    padding: 0;
    padding-left: 32px;
    border-top: 0;
    border-left: 1px solid var(--c-line-dark);
  }
}
