.page-privacy{
  --privacy-grid-line: rgba(138,155,168,0.16);
  --privacy-grid-size: 26px;
  background-color: var(--paper);
  background-image:
    linear-gradient(to right, var(--privacy-grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--privacy-grid-line) 1px, transparent 1px);
  background-size: var(--privacy-grid-size) var(--privacy-grid-size);
  scroll-behavior: smooth;
  font-family: var(--font-body);
  color: var(--slate);
}

.privacy-hero{
  position: relative;
  overflow: hidden;
  padding: 32px 0 46px;
  background:
    radial-gradient(circle at 82% 22%, rgba(212,168,67,0.22), transparent 26rem),
    linear-gradient(135deg, var(--navy) 0%, var(--navy) 55%, var(--teal) 130%);
  color: var(--white);
}

.privacy-hero::after{
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
}

.privacy-hero__inner{
  position: relative;
  z-index: 1;
}

.page-privacy .breadcrumbs{
  margin-bottom: 26px;
  font-size: 0.84rem;
}

.page-privacy .breadcrumbs a{
  color: rgba(255,255,255,0.74);
  text-decoration: none;
  transition: color 0.18s ease;
}

.page-privacy .breadcrumbs a:hover,
.page-privacy .breadcrumbs a:focus{
  color: var(--gold);
}

.page-privacy .breadcrumbs [aria-current="page"]{
  color: rgba(255,255,255,0.92);
}

.privacy-hero__content{
  max-width: 48em;
}

.privacy-hero__title{
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 7vw, 4rem);
  line-height: 1.02;
  margin: 10px 0 8px;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.privacy-hero__sub{
  font-size: clamp(1.05rem, 2.6vw, 1.4rem);
  font-weight: 700;
  color: var(--gold);
  margin: 0 0 14px;
}

.privacy-hero__lede{
  color: rgba(255,255,255,0.82);
  font-size: 0.96rem;
  line-height: 1.85;
  margin: 0 0 22px;
}

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

.privacy-hero__tag{
  display: inline-block;
  padding: 6px 12px;
  border: 1px solid rgba(212,168,67,0.42);
  background: rgba(212,168,67,0.08);
  color: var(--gold);
  font-size: 0.76rem;
  letter-spacing: 0.06em;
}

.privacy-hero__seal{
  margin-top: 30px;
}

.privacy-hero__seal-ring{
  width: min(168px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px dashed rgba(212,168,67,0.55);
  outline: 1px solid rgba(255,255,255,0.2);
  outline-offset: 6px;
  background:
    radial-gradient(circle at 50% 42%, rgba(212,168,67,0.1), transparent 70%),
    rgba(255,255,255,0.04);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 24px;
  box-sizing: border-box;
}

.privacy-hero__seal-label{
  color: rgba(255,255,255,0.64);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
}

.privacy-hero__seal-value{
  color: var(--gold);
  font-family: var(--font-mono);
  font-weight: 700;
  line-height: 1.15;
  text-align: center;
}

.privacy-hero__seal-value.iso{
  font-size: 1.1rem;
}

.privacy-hero__seal-value.lev{
  font-size: 1.6rem;
}

.privacy-doc{
  padding: 42px 0 70px;
  min-width: 0;
}

.privacy-figure{
  margin: 0 0 34px;
}

.privacy-figure__frame{
  position: relative;
  padding: 10px;
  background: var(--navy);
  border: 1px solid rgba(212,168,67,0.4);
  box-shadow: var(--shadow);
}

.privacy-figure__frame::before{
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255,255,255,0.16);
  z-index: 2;
  pointer-events: none;
}

.privacy-figure__img{
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 8 / 3;
  object-fit: cover;
  filter: saturate(0.96) contrast(1.04);
}

.privacy-figure__cap{
  margin-top: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gray-blue);
  text-align: right;
  letter-spacing: 0.02em;
}

.privacy-layout{
  display: block;
}

.privacy-toc{
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(51,71,91,0.16);
  padding: 18px;
  margin-bottom: 26px;
  backdrop-filter: blur(4px);
}

.privacy-toc .kicker{
  display: block;
  margin-bottom: 12px;
}

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

.privacy-toc__item + .privacy-toc__item{
  border-top: 1px solid rgba(51,71,91,0.1);
}

.privacy-toc__link{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
  border-left: 2px solid transparent;
  color: var(--slate);
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.privacy-toc__link:hover,
.privacy-toc__link:focus{
  color: var(--navy);
  border-left-color: var(--gold);
  background: rgba(212,168,67,0.1);
}

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

.privacy-toc__num{
  min-width: 1.8em;
  color: var(--gold);
  font-size: 1.02rem;
  font-weight: 700;
}

.privacy-toc__text{
  font-weight: 700;
  font-size: 0.94rem;
}

.privacy-toc__note{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px dashed rgba(51,71,91,0.26);
}

.privacy-toc__note-title{
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 0.8rem;
  letter-spacing: 0.16em;
}

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

.privacy-toc__note-list li{
  position: relative;
  padding: 5px 0 5px 18px;
  font-size: 0.88rem;
  color: var(--slate);
}

.privacy-toc__note-list li::before{
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.privacy-toc__note-link{
  display: inline-block;
  margin-top: 12px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: underline;
  text-decoration-color: rgba(212,168,67,0.6);
  text-underline-offset: 4px;
}

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

.legal-chapter{
  background: rgba(255,255,255,0.84);
  border: 1px solid rgba(51,71,91,0.16);
  border-left: 4px solid var(--gold);
  padding: 26px 22px 28px;
  margin-bottom: 22px;
  box-shadow: 0 8px 30px rgba(11,31,58,0.06);
}

.legal-chapter__head{
  display: flex;
  align-items: baseline;
  gap: 14px;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(51,71,91,0.14);
}

.legal-chapter__num{
  font-family: var(--font-mono);
  color: var(--gold);
  font-size: 1.14rem;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.legal-chapter__title{
  font-family: var(--font-display);
  font-size: 1.48rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0.01em;
  margin: 0;
  color: var(--navy);
}

.legal-chapter__body > p{
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--slate);
  margin: 0 0 14px;
}

.legal-chapter__body > p:last-child{
  margin-bottom: 0;
}

.legal-chapter__body ul{
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
}

.legal-chapter__body li{
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  line-height: 1.7;
  color: var(--slate);
}

.legal-chapter__body li::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 10px;
  height: 10px;
  background: var(--gold);
  clip-path: polygon(100% 50%, 0 0, 0 100%);
}

.legal-chapter__li-title{
  color: var(--navy);
  font-weight: 700;
}

.legal-term{
  border-bottom: 1px solid var(--gold);
  color: var(--navy);
  font-weight: 600;
  text-decoration: none;
  cursor: help;
  transition: background-color 0.18s ease;
}

.legal-term:hover,
.legal-term:focus{
  background: rgba(212,168,67,0.14);
}

.legal-detail{
  margin-top: 12px;
  border: 1px solid rgba(51,71,91,0.2);
  background: rgba(242,242,242,0.7);
}

.legal-detail__head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--navy);
  list-style: none;
  cursor: pointer;
  user-select: none;
  transition: background-color 0.18s ease;
}

.legal-detail__head::-webkit-details-marker{
  display: none;
}

.legal-detail__head::after{
  content: "+";
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--gold);
  line-height: 1;
}

.legal-detail[open] .legal-detail__head::after{
  content: "–";
}

.legal-detail__head:hover,
.legal-detail__head:focus-visible{
  background: rgba(212,168,67,0.12);
  outline: none;
}

.legal-detail__body{
  padding: 0 16px 16px;
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--slate);
}

.privacy-contact{
  margin-top: 34px;
  padding: 28px 22px;
  background:
    radial-gradient(circle at 90% 0%, rgba(212,168,67,0.16), transparent 16rem),
    linear-gradient(135deg, var(--teal) 0%, var(--navy) 100%);
  color: var(--white);
  border: 1px solid rgba(212,168,67,0.25);
  box-shadow: var(--shadow);
}

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

.privacy-contact__title{
  font-family: var(--font-display);
  font-size: 1.65rem;
  line-height: 1.16;
  margin: 8px 0 14px;
  color: var(--white);
}

.privacy-contact__desc{
  margin: 0 0 12px;
  color: rgba(255,255,255,0.88);
  font-size: 0.94rem;
  line-height: 1.8;
}

.privacy-contact__desc a{
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.privacy-contact__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.privacy-contact__actions .btn--ghost{
  border-color: rgba(255,255,255,0.55);
  color: var(--white);
}

.privacy-contact__actions .btn--gold:focus-visible,
.privacy-contact__actions .btn--ghost:focus-visible{
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

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

.privacy-contact__channel{
  padding: 14px 16px;
  background: rgba(255,255,255,0.07);
  border-left: 3px solid var(--gold);
}

.privacy-contact__channel .contact-label{
  display: block;
  margin-bottom: 6px;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.66);
}

.privacy-contact__channel .contact-value{
  display: block;
  font-family: var(--font-mono);
  font-size: 0.97rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--white);
  word-break: break-word;
}

.privacy-contact__channel .contact-sub{
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.6);
}

@media (min-width: 860px){
  .privacy-hero__grid{
    display: grid;
    grid-template-columns: minmax(0, 1fr) 260px;
    gap: 40px;
    align-items: center;
  }

  .privacy-hero__seal{
    margin-top: 0;
    display: flex;
    justify-content: center;
  }

  .privacy-doc{
    padding-top: 52px;
  }

  .privacy-figure{
    margin-bottom: 40px;
  }

  .privacy-layout{
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 36px;
    align-items: start;
  }

  .privacy-toc{
    margin-bottom: 0;
    padding: 22px;
    position: sticky;
    top: 28px;
  }

  .legal-chapter{
    padding: 30px 28px 32px;
  }

  .privacy-contact{
    padding: 34px 30px;
  }

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

  .privacy-contact__intro{
    margin-bottom: 0;
  }
}
