.page-privacy {
  --pv-toc-w: 240px;
  --pv-body-w: 800px;
  position: relative;
  background: var(--page-base);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.75;
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(4rem, 9vw, 7rem);
  overflow-x: clip;
}
.page-privacy a {
  color: var(--accent-blue);
  text-decoration: none;
}
.page-privacy a:hover {
  color: var(--text-primary);
}
.page-privacy [id^="pv-"] {
  scroll-margin-top: 7rem;
}
.page-privacy img {
  max-width: 100%;
  height: auto;
}
.pv-hero {
  position: relative;
  padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(2.5rem, 6vw, 4rem);
  border-bottom: 1px solid var(--stroke);
}
.pv-hero::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 45%;
  height: 100%;
  background: radial-gradient(circle at 70% 30%, rgba(0, 180, 255, 0.08), transparent 70%);
  pointer-events: none;
}
.pv-hero::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--accent) 0 80px, transparent 80px);
  opacity: 0.5;
}
.pv-hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: 2rem;
  position: relative;
}
.pv-hero__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-blue);
  font-size: 0.82rem;
  font-weight: 600;
}
.pv-hero__eyebrow::before {
  content: "";
  width: 38px;
  height: 2px;
  background: var(--accent-blue);
  flex: 0 0 auto;
}
.pv-hero h1 {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  max-width: 720px;
  text-transform: uppercase;
}
.pv-hero__lead {
  margin: 0 0 1.5rem;
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  max-width: 620px;
}
.pv-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pv-hero__media {
  margin: 0;
  position: relative;
  min-height: 0;
  border: 1px solid var(--stroke);
  background: var(--surface);
  aspect-ratio: 2 / 1;
  overflow: hidden;
}
.pv-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pv-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), inset 0 0 120px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}
.pv-frame {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
}
.pv-toc__sticky {
  border: 1px solid var(--stroke);
  border-left: 3px solid var(--accent-blue);
  padding: 1.25rem 1.15rem;
  background: linear-gradient(135deg, rgba(0, 180, 255, 0.04), transparent 60%);
}
.pv-toc__title {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}
.pv-toc__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.4rem;
  overflow-x: auto;
  scrollbar-width: thin;
}
.pv-toc__list a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
  padding: 0.45rem 0.7rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  border: 1px solid transparent;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease), border-color var(--duration) var(--ease);
}
.pv-toc__list a:hover {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--stroke);
  color: var(--text-primary);
}
.pv-toc__list a:focus-visible,
.pv-toc a:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.pv-toc__list a span {
  font-family: var(--font-display);
  color: var(--accent-blue);
}
.pv-toc__tip {
  margin: 1rem 0 0;
  color: var(--text-secondary);
  font-size: 0.82rem;
  line-height: 1.6;
}
.pv-toc__btn {
  margin-top: 0.75rem;
  width: 100%;
}
.pv-body {
  width: 100%;
  max-width: var(--pv-body-w);
}
.pv-intro {
  padding: 0 0 clamp(2rem, 4vw, 3rem);
}
.pv-intro__kicker {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}
.pv-intro__kicker::after {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--accent);
  margin-left: 0.6rem;
}
.pv-intro p {
  margin: 0 0 1rem;
  color: var(--text-secondary);
  font-size: 1rem;
}
.pv-intro p:last-child {
  margin-bottom: 0;
}
.pv-section {
  padding: clamp(2.5rem, 6vw, 3.5rem) 0;
  border-top: 1px solid var(--stroke);
}
.pv-section:last-of-type {
  border-bottom: 1px solid var(--stroke);
}
.pv-section__head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.4rem 1rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
}
.pv-section__num {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  font-size: clamp(1.7rem, 3.2vw, 2.25rem);
  letter-spacing: 0.08em;
  color: rgba(0, 180, 255, 0.1);
  -webkit-text-stroke: 1px rgba(0, 180, 255, 0.55);
}
.pv-section:target .pv-section__num {
  color: rgba(0, 180, 255, 0.28);
}
.pv-section__title h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
}
.pv-section__desc {
  grid-column: 2;
  margin: 0;
  color: var(--text-secondary);
  font-size: 0.92rem;
}
.pv-section__body p {
  margin: 0 0 1.1rem;
  color: var(--text-secondary);
}
.pv-section__body p:last-child {
  margin-bottom: 0;
}
.pv-section__body strong {
  color: var(--text-primary);
}
.pv-list {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}
.pv-list li {
  position: relative;
  padding-left: 1.25rem;
  color: var(--text-secondary);
}
.pv-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 4px;
  height: 4px;
  background: var(--accent-blue);
  transform: rotate(45deg);
}
.pv-note {
  margin: 0 0 1.1rem;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--moss);
  background: rgba(138, 154, 91, 0.06);
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-secondary);
}
.pv-table-wrap {
  margin: 0 0 1.25rem;
  overflow-x: auto;
  border: 1px solid var(--stroke);
  background: var(--surface);
}
.pv-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
  font-size: 0.9rem;
}
.pv-table th {
  padding: 0.75rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--stroke);
  color: var(--text-primary);
  font-weight: 600;
  white-space: nowrap;
  background: var(--surface-2);
}
.pv-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--stroke);
  color: var(--text-secondary);
  vertical-align: top;
}
.pv-table tr:last-child td {
  border-bottom: 0;
}
.pv-table td:first-child {
  color: var(--text-primary);
  font-weight: 500;
  white-space: nowrap;
}
.pv-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--stroke);
}
.pv-related a {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--stroke);
  color: var(--text-primary);
  font-size: 0.875rem;
  background: rgba(255, 255, 255, 0.01);
  transition: border-color var(--duration) var(--ease), background var(--duration) var(--ease);
}
.pv-related a:hover {
  border-color: var(--accent-blue);
  background: rgba(0, 180, 255, 0.05);
}
.pv-related a:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}
.pv-backtop {
  margin-top: 1.5rem;
  text-align: right;
}
.pv-backtop a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--accent-blue);
  font-size: 0.875rem;
}
.pv-backtop a::after {
  content: "↑";
  font-size: 1.5rem;
  line-height: 0;
  transform: translateY(2px);
}
@media (min-width: 760px) {
  .pv-hero__inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
    gap: 3rem;
  }
  .pv-hero__media {
    min-width: 0;
  }
}
@media (min-width: 1080px) {
  .pv-frame {
    grid-template-columns: var(--pv-toc-w) minmax(0, 1fr);
    gap: clamp(3rem, 6vw, 5rem);
  }
  .pv-toc {
    position: sticky;
    top: 8rem;
    align-self: start;
  }
  .pv-toc__list {
    flex-direction: column;
    gap: 0.2rem;
    overflow: visible;
  }
  .pv-toc__list a {
    white-space: normal;
  }
  .pv-toc__tip {
    margin-top: 1.25rem;
  }
  .pv-toc__btn {
    margin-top: 1rem;
  }
  .pv-body {
    max-width: var(--pv-body-w);
  }
}
