.page-privacy {
  display: block;
  background: var(--light-gray);
  color: var(--dark);
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ========== Hero ========== */
.privacy-hero {
  position: relative;
  background: var(--deep-blue);
  color: var(--white);
  padding: 48px 0 56px;
  isolation: isolate;
  overflow: hidden;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 62%, rgba(255, 107, 0, 0.16) 62% 76%, transparent 76%),
    linear-gradient(45deg, transparent 0 80%, rgba(255, 196, 0, 0.12) 80% 92%, transparent 92%);
  z-index: 0;
  pointer-events: none;
}

.privacy-hero::after {
  content: "";
  position: absolute;
  right: -70px;
  top: 50%;
  transform: translateY(-50%);
  width: 250px;
  height: 250px;
  border: 2px dashed rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}

.privacy-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 36px;
  align-items: center;
}

.privacy-hero .breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
  margin: 0;
}

.privacy-hero .breadcrumb__link {
  color: var(--yellow);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.privacy-hero .breadcrumb__link:hover {
  color: var(--orange);
}

.privacy-hero .breadcrumb__sep {
  color: var(--orange);
  font-weight: 700;
}

.privacy-hero .breadcrumb__current {
  font-family: var(--font-index);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.privacy-hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin: 28px 0 0;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--yellow);
}

.privacy-hero__kicker::before {
  content: "";
  display: block;
  width: 32px;
  height: 3px;
  background: var(--orange);
  border-radius: 0 2px 2px 0;
}

.privacy-hero__title {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 36px;
  line-height: 1.2;
  margin: 18px 0 0;
  letter-spacing: -0.01em;
  color: var(--white);
  max-width: 720px;
}

.privacy-hero__lede {
  max-width: 660px;
  margin: 20px 0 0;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.84);
}

.privacy-hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin: 28px 0 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.privacy-hero__meta-item {
  font-family: var(--font-index);
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.privacy-hero__meta-item::before {
  content: "◆";
  font-size: 9px;
  color: var(--orange);
}

.privacy-hero__art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  z-index: 2;
}

.privacy-hero__art::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 184px;
  height: 184px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 196, 0, 0.5);
}

.privacy-hero__art::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(18deg);
  width: 148px;
  height: 148px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 107, 0, 0.7);
}

.privacy-hero__art img {
  position: relative;
  z-index: 3;
  display: block;
  width: 160px;
  height: 160px;
  max-width: 100%;
  object-fit: contain;
  aspect-ratio: 1 / 1;
  background: var(--white);
  border-radius: 18px;
  padding: 10px;
  box-shadow: var(--shadow-lg);
}

/* ========== TOC ========== */
.privacy-toc {
  background: var(--white);
  border-bottom: 1px solid #DCE1E8;
  padding: 22px 0;
}

.privacy-toc__inner {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.privacy-toc__label {
  display: block;
  font-family: var(--font-index);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
}

.privacy-toc__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
}

.privacy-toc__link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--deep-blue);
  text-decoration: none;
  border: 1px solid #DCE1E8;
  background: var(--light-gray);
  border-radius: 2px 10px 2px 10px;
  padding: 8px 14px;
  transition: background 0.25s var(--ease-out), border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.privacy-toc__link:hover,
.privacy-toc__link:focus {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

/* ========== Body ========== */
.privacy-body {
  padding: 44px 0 20px;
}

.privacy-body__inner {
  display: grid;
  gap: 20px;
}

.privacy-section {
  display: grid;
  gap: 14px;
  background: var(--white);
  border-radius: 4px 18px 18px 18px;
  box-shadow: var(--shadow-sm);
  padding: 26px 20px;
  scroll-margin-top: 20px;
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}

.privacy-section:hover {
  box-shadow: var(--shadow-md);
}

.privacy-section__index {
  display: inline-flex;
  align-items: flex-start;
  gap: 10px;
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--orange);
  padding-top: 6px;
  line-height: 1.4;
}

.privacy-section__index::before {
  content: "";
  width: 24px;
  height: 3px;
  background: var(--orange);
  flex-shrink: 0;
  margin-top: 7px;
}

.privacy-section__content h2 {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 22px;
  line-height: 1.35;
  color: var(--deep-blue);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.privacy-section__body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--dark);
  min-width: 0;
}

.privacy-section__body p {
  margin: 0 0 16px;
}

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

/* ========== Highlight ========== */
.privacy-highlight {
  border-left: 4px solid var(--orange);
  background: linear-gradient(90deg, var(--light-orange) 0%, rgba(255, 224, 178, 0.4) 100%);
  padding: 14px 18px;
  border-radius: 0 8px 8px 0;
  font-weight: 500;
  color: var(--deep-blue);
  margin: 18px 0 0;
}

/* ========== Legal list ========== */
.privacy-legal-list {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.privacy-legal-list li {
  position: relative;
  padding-left: 24px;
  line-height: 1.7;
}

.privacy-legal-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.65em;
  width: 9px;
  height: 9px;
  background: var(--orange);
  transform: rotate(45deg);
}

.privacy-legal-list strong {
  color: var(--deep-blue);
  font-weight: 700;
}

/* ========== Details ========== */
.privacy-expand {
  margin-top: 14px;
  border: 1px solid #DDE3EA;
  border-radius: 0 10px 10px 10px;
  background: var(--light-gray);
  overflow: hidden;
  transition: border-color 0.25s;
}

.privacy-expand:hover {
  border-color: var(--orange);
}

.privacy-expand__summary {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  font-size: 14px;
  font-weight: 700;
  color: var(--deep-blue);
  list-style: none;
  user-select: none;
}

.privacy-expand__summary::-webkit-details-marker {
  display: none;
  list-style: none;
}

.privacy-expand__summary::after {
  content: "+";
  font-family: var(--font-index);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--orange);
  transition: transform 0.3s var(--ease-out);
}

.privacy-expand[open] .privacy-expand__summary::after {
  content: "−";
  transform: rotate(180deg);
}

.privacy-expand__content {
  padding: 0 16px 16px;
  font-size: 14px;
  line-height: 1.75;
  color: var(--gray);
}

.privacy-expand__content p {
  margin: 0;
}

/* ========== Purpose grid ========== */
.privacy-purpose-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0 0 18px;
}

.privacy-purpose-grid__item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--light-gray);
  border-radius: 0 10px 10px 10px;
  padding: 14px 15px;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dark);
}

.privacy-purpose-grid__index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  min-height: 26px;
  font-family: var(--font-index);
  font-size: 12px;
  font-weight: 700;
  color: var(--deep-blue);
  background: var(--yellow);
  border-radius: 0 6px 0 6px;
  flex-shrink: 0;
}

/* ========== Security grid ========== */
.privacy-security-grid {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.privacy-security-item {
  display: grid;
  gap: 10px;
  align-content: start;
  background: var(--deep-blue);
  color: var(--white);
  border-radius: 0 14px 14px 14px;
  padding: 18px 16px;
  min-height: 100%;
}

.privacy-security-item__label {
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--yellow);
}

.privacy-security-item span:last-child {
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.88);
}

/* ========== Contact card ========== */
.privacy-contact-card {
  display: grid;
  gap: 12px;
  margin: 18px 0;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 0 14px 14px 14px;
}

.privacy-contact-card__item {
  display: grid;
  gap: 4px;
  align-content: start;
  border-left: 3px solid var(--orange);
  padding-left: 12px;
}

.privacy-contact-card__label {
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

.privacy-contact-card__item a {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--deep-blue);
  text-decoration: none;
  word-break: break-all;
  transition: color 0.2s;
}

.privacy-contact-card__item a:hover {
  color: var(--orange);
}

.privacy-contact-card__item span:not(.privacy-contact-card__label):not(.privacy-contact-card__hint) {
  font-size: 14px;
  line-height: 1.5;
  font-weight: 600;
  color: var(--dark);
}

.privacy-contact-card__hint {
  display: block;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 400;
  color: var(--gray);
}

.privacy-note {
  margin: 0;
  background: var(--light-orange);
  border-radius: 0 10px 10px 10px;
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--deep-blue);
  opacity: 0.92;
}

/* ========== Actions ========== */
.privacy-actions {
  padding: 40px 0 24px;
}

.privacy-actions__inner {
  border-top: 1px solid #DCE1E8;
  padding-top: 30px;
}

.privacy-actions__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-family: var(--font-title);
  font-size: 16px;
  font-weight: 800;
  color: var(--deep-blue);
}

.privacy-actions__title::before {
  content: "";
  width: 22px;
  height: 3px;
  background: var(--orange);
  display: block;
}

.privacy-actions__grid {
  display: grid;
  gap: 12px;
}

.privacy-action-card {
  position: relative;
  display: grid;
  gap: 8px;
  padding: 20px;
  background: var(--white);
  border-radius: 0 14px 14px 14px;
  box-shadow: var(--shadow-sm);
  text-decoration: none;
  color: var(--dark);
  transition: box-shadow 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  border: none;
}

.privacy-action-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.privacy-action-card__tag {
  font-family: var(--font-index);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.privacy-action-card__tag::before {
  content: "";
  width: 14px;
  height: 2px;
  background: var(--orange);
  display: block;
}

.privacy-action-card__title {
  font-size: 16px;
  font-weight: 800;
  color: var(--deep-blue);
  line-height: 1.4;
}

.privacy-action-card__desc {
  font-size: 13px;
  line-height: 1.65;
  color: var(--gray);
}

/* ========== Trust ========== */
.privacy-trust {
  padding: 0 0 48px;
}

.privacy-trust__inner {
  max-width: 900px;
  margin: 0 auto;
  background: var(--light-orange);
  border-radius: 0 18px 18px 18px;
  padding: 20px 24px;
  text-align: center;
}

.privacy-trust__inner p {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: var(--deep-blue);
  opacity: 0.86;
}

/* ========== Back to top ========== */
.privacy-top {
  position: fixed;
  z-index: 20;
  right: 18px;
  bottom: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--deep-blue);
  border-radius: 4px 12px 4px 12px;
  box-shadow: var(--shadow-md);
  color: var(--white);
  font-family: var(--font-index);
  font-size: 12px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
  border: none;
}

.privacy-top::before {
  content: "↑";
  font-size: 14px;
  color: var(--yellow);
  line-height: 1;
}

.privacy-top:hover {
  background: var(--orange);
  transform: translateY(-2px);
}

.privacy-top:hover::before {
  color: var(--deep-blue);
}

/* ========== Media queries ========== */
@media (min-width: 640px) {
  .privacy-purpose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

@media (min-width: 768px) {
  .privacy-hero {
    padding: 56px 0 64px;
  }

  .privacy-hero__inner {
    grid-template-columns: 1.6fr 0.9fr;
    gap: 48px;
  }

  .privacy-hero__title {
    font-size: 52px;
    line-height: 1.18;
  }

  .privacy-hero__lede {
    font-size: 16px;
  }

  .privacy-hero__art img {
    width: 200px;
    height: 200px;
  }

  .privacy-body {
    padding: 56px 0 24px;
  }

  .privacy-body__inner {
    gap: 32px;
  }

  .privacy-section {
    grid-template-columns: 120px 1fr;
    gap: 12px 30px;
    padding: 36px 40px 36px 28px;
    border-radius: 6px 26px 26px 26px;
  }

  .privacy-section__content h2 {
    font-size: 26px;
  }

  .privacy-actions {
    padding: 48px 0 28px;
  }

  .privacy-actions__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .privacy-trust__inner p {
    font-size: 14px;
  }

  .privacy-top {
    right: 24px;
    bottom: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-privacy * {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
