/* =========================================================
   PARSYU — PRIVACY PAGE
   Reading-optimized layout with sticky TOC.
========================================================= */

/* ═══════════════════════════════════════════════════════════
   CURSOR SAFETY NET
   (kept from previous fix — the native cursor is only hidden
   once JS adds `html.cursor-on`)
═══════════════════════════════════════════════════════════ */
html:not(.cursor-on),
html:not(.cursor-on) body,
html:not(.cursor-on) body * {
  cursor: auto !important;
}

html:not(.cursor-on) a,
html:not(.cursor-on) button,
html:not(.cursor-on) [role="button"],
html:not(.cursor-on) label,
html:not(.cursor-on) summary,
html:not(.cursor-on) select,
html:not(.cursor-on) .privacy-toc-list a,
html:not(.cursor-on) .privacy-end-btn,
html:not(.cursor-on) .privacy-contact-card {
  cursor: pointer !important;
}

html:not(.cursor-on) input,
html:not(.cursor-on) textarea {
  cursor: text !important;
}

html:not(.cursor-on) .cursor {
  display: none !important;
}

/* ═══════════════════════════════════════════════════════════
   PAGE
═══════════════════════════════════════════════════════════ */
.privacy-page {
  position: relative;
  z-index: 1;
}

/* ═══════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════ */
.privacy-hero {
  position: relative;
  padding: 92px 0 40px;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
}

.privacy-hero::before {
  content: "";
  position: absolute;
  top: -280px;
  left: 50%;
  transform: translateX(-50%);
  width: 820px;
  height: 520px;
  background: radial-gradient(ellipse, rgba(99, 102, 241, .14), transparent 68%);
  filter: blur(8px);
  pointer-events: none;
  z-index: -1;
}

.privacy-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-inline: auto;
}

.privacy-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px 7px 11px;
  border: 1px solid rgba(99, 102, 241, .28);
  border-radius: 999px;
  background: rgba(99, 102, 241, .07);
  color: #B7C4FF;
  font-size: 11.5px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: heroIn .9s var(--ease) both;
}
.privacy-hero-eyebrow i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 10px rgba(52, 211, 153, .9);
  animation: signal 2.2s ease-out infinite;
}

.privacy-hero h1 {
  margin-top: 24px;
  font-size: clamp(40px, 5.4vw, 68px);
  line-height: 1.06;
  letter-spacing: -.045em;
  font-weight: 900;
  animation: heroIn 1s .05s var(--ease) both;
}
.privacy-hero h1 .gradient {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 24px rgba(129, 140, 248, .22));
}

.privacy-hero-sub {
  max-width: 560px;
  margin: 22px auto 0;
  color: var(--text-2);
  font-size: clamp(14px, 1.8vw, 16.5px);
  line-height: 1.9;
  animation: heroIn 1.05s .15s var(--ease) both;
}

.privacy-hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  margin-top: 26px;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .02);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--text-3);
  font-size: 12px;
  animation: heroIn 1.1s .25s var(--ease) both;
  flex-wrap: wrap;
  justify-content: center;
}
.privacy-hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.privacy-hero-meta span + span::before {
  content: "";
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--text-3);
  opacity: .6;
  margin-inline-end: 14px;
}
.privacy-hero-meta svg {
  width: 13px;
  height: 13px;
  color: #A5B4FC;
}

/* ═══════════════════════════════════════════════════════════
   LAYOUT — TOC + content
═══════════════════════════════════════════════════════════ */
.privacy-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 56px;
  max-width: 1080px;
  margin-inline: auto;
  padding: 36px 0 100px;
}

/* ═══════════════════════════════════════════════════════════
   TABLE OF CONTENTS
═══════════════════════════════════════════════════════════ */
.privacy-toc {
  position: sticky;
  top: 96px;
  align-self: start;
  max-height: calc(100vh - 130px);
  overflow-y: auto;
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.privacy-toc::-webkit-scrollbar { width: 5px }
.privacy-toc::-webkit-scrollbar-thumb {
  background: rgba(129, 140, 248, .35);
  border-radius: 99px;
}
.privacy-toc::-webkit-scrollbar-track { background: transparent }

.privacy-toc-title {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 14px;
  padding: 0 6px 14px;
  border-bottom: 1px solid var(--line);
  color: var(--text-3);
  font: 600 10px var(--mono);
  letter-spacing: .14em;
  text-transform: uppercase;
}
.privacy-toc-title::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--indigo-2);
  box-shadow: 0 0 10px var(--indigo-2);
}

.privacy-toc-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  counter-reset: toc;
}

.privacy-toc-list a {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 9px 10px;
  border-radius: 10px;
  color: var(--text-2);
  font-size: 12.5px;
  line-height: 1.5;
  transition: all .22s var(--ease);
  counter-increment: toc;
  position: relative;
}
.privacy-toc-list a::before {
  content: counter(toc, decimal-leading-zero);
  flex-shrink: 0;
  width: 22px;
  color: var(--text-3);
  font: 600 10px var(--mono);
  letter-spacing: .04em;
  transition: color .22s ease;
}
.privacy-toc-list a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, .04);
  transform: translateX(-2px);
}
.privacy-toc-list a:hover::before { color: #A5B4FC }

.privacy-toc-list a.active {
  color: var(--gold);
  background: rgba(252, 211, 77, .08);
}
.privacy-toc-list a.active::before { color: var(--gold) }
.privacy-toc-list a.active::after {
  content: "";
  position: absolute;
  right: -19px;
  top: 50%;
  width: 2px;
  height: 60%;
  transform: translateY(-50%);
  border-radius: 2px;
  background: var(--grad-gold);
  box-shadow: 0 0 12px rgba(252, 211, 77, .8);
}

/* ═══════════════════════════════════════════════════════════
   CONTENT
═══════════════════════════════════════════════════════════ */
.privacy-content {
  max-width: 700px;
  min-width: 0;
}

.privacy-intro {
  padding: 22px 24px;
  border: 1px solid rgba(99, 102, 241, .24);
  border-radius: 16px;
  background:
    radial-gradient(400px circle at 100% 0%, rgba(99, 102, 241, .1), transparent 55%),
    rgba(99, 102, 241, .04);
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.95;
  margin-bottom: 34px;
}
.privacy-intro strong { color: var(--text) }

.privacy-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.privacy-section:first-of-type {
  border-top: none;
  padding-top: 6px;
}

.privacy-section h2 {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(20px, 2.4vw, 25px);
  line-height: 1.35;
  font-weight: 850;
  letter-spacing: -.025em;
  color: var(--text);
}

.privacy-section h2 .h2-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(99, 102, 241, .12);
  border: 1px solid rgba(99, 102, 241, .24);
  color: #A5B4FC;
  font: 800 13px var(--mono);
}

.privacy-section h2 .anchor {
  margin-inline-start: auto;
  color: var(--text-3);
  font-size: 15px;
  opacity: 0;
  transition: opacity .25s ease, color .25s ease;
  padding: 6px;
  border-radius: 8px;
}
.privacy-section h2 .anchor:hover {
  color: #A5B4FC;
  background: rgba(255, 255, 255, .05);
}
.privacy-section h2:hover .anchor { opacity: 1 }

.privacy-section h3 {
  margin-top: 22px;
  font-size: 15.5px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.01em;
}
.privacy-section h3 + p,
.privacy-section h3 + ul { margin-top: 8px }

.privacy-section p {
  margin-top: 14px;
  color: var(--text-2);
  font-size: 14px;
  line-height: 1.95;
}
.privacy-section p strong { color: var(--text); font-weight: 700 }

.privacy-section a:not(.anchor) {
  color: #A5B4FC;
  border-bottom: 1px dashed rgba(165, 180, 252, .4);
  padding-bottom: 1px;
  transition: color .22s ease, border-color .22s ease;
}
.privacy-section a:not(.anchor):hover {
  color: #DCE4FF;
  border-color: rgba(220, 228, 255, .7);
}

.privacy-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-top: 14px;
}
.privacy-list li {
  position: relative;
  padding-inline-start: 26px;
  color: var(--text-2);
  font-size: 13.5px;
  line-height: 1.9;
}
.privacy-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  right: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(129, 140, 248, .55);
  box-shadow: 0 0 0 3px rgba(129, 140, 248, .12);
}
[dir="ltr"] .privacy-list li::before { right: auto; left: 2px }
.privacy-list li strong { color: var(--text); font-weight: 700 }
.privacy-list li a {
  color: #A5B4FC;
  border-bottom: 1px dashed rgba(165, 180, 252, .4);
}

.privacy-callout {
  display: flex;
  gap: 14px;
  padding: 16px 18px;
  margin-top: 18px;
  border: 1px solid rgba(99, 102, 241, .28);
  border-radius: 14px;
  background: rgba(99, 102, 241, .06);
  color: var(--text-2);
  font-size: 13px;
  line-height: 1.85;
}
.privacy-callout-icon {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(99, 102, 241, .16);
  border: 1px solid rgba(99, 102, 241, .3);
  color: #A5B4FC;
  font-size: 16px;
}
.privacy-callout strong { color: var(--text); font-weight: 700 }

.privacy-callout.gold {
  border-color: rgba(252, 211, 77, .32);
  background: rgba(252, 211, 77, .06);
}
.privacy-callout.gold .privacy-callout-icon {
  background: rgba(252, 211, 77, .16);
  border-color: rgba(252, 211, 77, .35);
  color: var(--gold);
}

.privacy-callout.green {
  border-color: rgba(52, 211, 153, .3);
  background: rgba(52, 211, 153, .05);
}
.privacy-callout.green .privacy-callout-icon {
  background: rgba(52, 211, 153, .15);
  border-color: rgba(52, 211, 153, .3);
  color: #6EE7B7;
}

.privacy-contact {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}
.privacy-contact-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .02);
  transition: all .3s var(--ease);
  text-decoration: none;
  display: block;
}
.privacy-contact-card:hover {
  border-color: rgba(99, 102, 241, .4);
  background: rgba(99, 102, 241, .06);
  transform: translateY(-3px);
}
.privacy-contact-card .icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: rgba(99, 102, 241, .12);
  border: 1px solid rgba(99, 102, 241, .24);
  color: #A5B4FC;
  font-size: 15px;
  margin-bottom: 12px;
}
.privacy-contact-card b {
  display: block;
  font-size: 13.5px;
  color: var(--text);
  font-weight: 700;
}
.privacy-contact-card span {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 11.5px;
  direction: ltr;
  text-align: right;
}

.privacy-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 44px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(150deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .008));
  flex-wrap: wrap;
}
.privacy-end-copy b {
  display: block;
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
}
.privacy-end-copy span {
  display: block;
  margin-top: 4px;
  color: var(--text-3);
  font-size: 12.5px;
}
.privacy-end-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.privacy-end-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  background: rgba(255, 255, 255, .025);
  color: var(--text-2);
  font-size: 12.5px;
  font-weight: 600;
  cursor: none;
  transition: all .28s var(--ease);
}
body.is-touch .privacy-end-btn { cursor: pointer }
.privacy-end-btn:hover {
  color: var(--text);
  border-color: rgba(99, 102, 241, .45);
  background: rgba(99, 102, 241, .1);
  transform: translateY(-2px);
}
.privacy-end-btn.primary {
  border-color: transparent;
  background: var(--grad-brand);
  color: #05060B;
  font-weight: 800;
  box-shadow: 0 16px 40px -18px rgba(99, 102, 241, .9);
}
.privacy-end-btn.primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px -20px rgba(99, 102, 241, 1);
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET
═══════════════════════════════════════════════════════════ */
@media (max-width: 1000px) {
  .privacy-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 36px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE
   Full rewrite. Fixes:
     · Hero top padding was doubling with body padding-top
     · TOC was too tall and covered content
     · Pills had no scroll hint or edge fades
     · Contact cards and end CTA were cramped
     · Section headings + icons were oversized
═══════════════════════════════════════════════════════════ */
@media (max-width: 900px) {

  /* ---- Hero ----
     body already has `padding-top: var(--header-h-m)` (62px)
     from effects.css to clear the fixed header. So we only
     need a little extra breathing room, not a full header's
     worth. */
  .privacy-hero {
    padding: 24px 0 28px;
  }

  .privacy-hero h1 {
    margin-top: 20px;
    font-size: clamp(30px, 8.5vw, 48px);
    letter-spacing: -.035em;
  }

  .privacy-hero-sub {
    margin-top: 16px;
    font-size: 13.5px;
    line-height: 1.85;
  }

  .privacy-hero-meta {
    margin-top: 20px;
    padding: 9px 14px;
    font-size: 11px;
    gap: 14px;
    flex-wrap: wrap;
    row-gap: 6px;
  }
  .privacy-hero-meta span + span::before {
    display: none;
  }

  /* ---- Shell — single column ---- */
  .privacy-shell {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 16px 0 60px;
  }

  /* ---- TOC ----
     Compact sticky chip bar. No title, tighter padding,
     hidden scrollbar but scrollable, edge fade hints. */
  .privacy-toc {
    position: sticky;
    top: calc(var(--header-h-m, 62px) + 6px);
    z-index: 50;
    margin-bottom: 20px;
    padding: 6px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background:
      linear-gradient(180deg,
        rgba(11, 15, 24, .96) 0%,
        rgba(11, 15, 24, .92) 100%);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    max-height: none;
    overflow: hidden;
    box-shadow:
      0 14px 34px -20px rgba(0, 0, 0, .95),
      inset 0 1px 0 rgba(255, 255, 255, .03);
  }

  .privacy-toc-title {
    display: none;
  }

  .privacy-toc-list {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 6px;
    padding: 3px 3px;
    counter-reset: none;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Left/right fade to hint at scroll */
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 12px,
      #000 calc(100% - 12px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 12px,
      #000 calc(100% - 12px),
      transparent 100%
    );
  }
  .privacy-toc-list::-webkit-scrollbar {
    display: none;
  }

  .privacy-toc-list a {
    flex: 0 0 auto;
    padding: 9px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .035);
    color: var(--text-2);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    scroll-snap-align: start;
    counter-increment: none;
    gap: 0;
    position: static;
    transition: all .22s var(--ease);
  }

  .privacy-toc-list a::before,
  .privacy-toc-list a::after {
    display: none;
  }

  .privacy-toc-list a:hover,
  .privacy-toc-list a:active {
    transform: none;
    background: rgba(255, 255, 255, .06);
    color: var(--text);
  }

  .privacy-toc-list a.active {
    border-color: rgba(252, 211, 77, .5);
    background: rgba(252, 211, 77, .13);
    color: var(--gold);
    box-shadow: 0 0 16px -6px rgba(252, 211, 77, .55);
  }

  /* ---- Content ---- */
  .privacy-content {
    max-width: none;
  }

  .privacy-intro {
    padding: 18px;
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 24px;
    border-radius: 14px;
  }

  .privacy-section {
    padding: 26px 0;
    /* Header + sticky TOC + breathing room */
    scroll-margin-top: calc(var(--header-h-m, 62px) + 82px);
  }
  .privacy-section:first-of-type {
    padding-top: 0;
  }

  .privacy-section h2 {
    gap: 10px;
    font-size: clamp(17px, 4.5vw, 22px);
    letter-spacing: -.02em;
  }
  .privacy-section h2 .h2-icon {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    font-size: 11.5px;
  }
  .privacy-section h2 .anchor {
    display: none;
  }

  .privacy-section h3 {
    margin-top: 20px;
    font-size: 14.5px;
  }

  .privacy-section p {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.9;
  }

  .privacy-list {
    gap: 8px;
    margin-top: 12px;
  }
  .privacy-list li {
    padding-inline-start: 22px;
    font-size: 13px;
    line-height: 1.85;
  }
  .privacy-list li::before {
    top: 8px;
    width: 6px;
    height: 6px;
  }

  .privacy-callout {
    gap: 12px;
    padding: 14px 15px;
    margin-top: 16px;
    font-size: 12.5px;
    line-height: 1.85;
    border-radius: 12px;
  }
  .privacy-callout-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 13px;
  }

  .privacy-contact {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }
  .privacy-contact-card {
    padding: 16px;
  }
  .privacy-contact-card .icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    margin-bottom: 10px;
  }

  /* ---- End CTA ---- */
  .privacy-end {
    margin-top: 32px;
    padding: 22px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    border-radius: 16px;
  }
  .privacy-end-copy {
    text-align: center;
  }
  .privacy-end-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    width: 100%;
  }
  .privacy-end-btn {
    justify-content: center;
    padding: 12px 14px;
    font-size: 12.5px;
    min-height: 44px;
  }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL PHONES
═══════════════════════════════════════════════════════════ */
@media (max-width: 470px) {

  .privacy-hero {
    padding: 18px 0 22px;
  }

  .privacy-hero h1 {
    font-size: clamp(28px, 9vw, 38px);
    letter-spacing: -.03em;
  }

  .privacy-hero-sub {
    font-size: 13px;
    line-height: 1.8;
  }

  .privacy-hero-meta {
    padding: 8px 12px;
    font-size: 10.5px;
    gap: 10px;
  }

  /* Even tighter TOC */
  .privacy-toc {
    padding: 5px;
    border-radius: 12px;
  }
  .privacy-toc-list {
    gap: 5px;
    padding: 2px;
    mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 8px,
      #000 calc(100% - 8px),
      transparent 100%
    );
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0,
      #000 8px,
      #000 calc(100% - 8px),
      transparent 100%
    );
  }
  .privacy-toc-list a {
    padding: 8px 12px;
    font-size: 12px;
  }

  .privacy-section h2 {
    font-size: 16.5px;
    gap: 9px;
  }
  .privacy-section h2 .h2-icon {
    width: 28px;
    height: 28px;
    font-size: 11px;
    border-radius: 9px;
  }

  .privacy-section p {
    font-size: 13px;
  }
  .privacy-list li {
    font-size: 12.5px;
  }

  .privacy-callout {
    padding: 12px 13px;
    font-size: 12px;
    gap: 10px;
  }
  .privacy-callout-icon {
    width: 26px;
    height: 26px;
    font-size: 12px;
  }

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

/* ═══════════════════════════════════════════════════════════
   REDUCED MOTION
═══════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  .privacy-toc-list a:hover { transform: none }
  .privacy-end-btn:hover { transform: none }
}