:root {
  --policy-cyan: #74ead2;
  --policy-blue: #7f9cff;
  --policy-violet: #ad83ff;
  --policy-surface: rgba(13, 22, 38, .88);
  --policy-surface-strong: rgba(17, 28, 48, .96);
  --policy-line: rgba(255, 255, 255, .1);
}

html { scroll-padding-top: 112px; }
body { min-height: 100vh; }
a { text-underline-offset: 4px; }

.policy-header.nav-shell {
  min-height: 64px;
  padding: 10px 13px;
  background: rgba(7, 12, 22, .84);
  border-color: rgba(255, 255, 255, .11);
}
.policy-brand { min-width: 190px; }
.policy-brand > span:last-child { line-height: 1.3; }
.policy-brand strong { display: block; }
.policy-brand small { direction: ltr; }
.policy-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: .76rem;
  font-weight: 800;
  direction: ltr;
}
.status-pulse {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--policy-cyan);
  box-shadow: 0 0 0 6px rgba(116, 234, 210, .08), 0 0 20px rgba(116, 234, 210, .48);
  animation: policy-pulse 2.4s ease-in-out infinite;
}
.language-links {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--policy-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .035);
}
.language-links a {
  min-width: 70px;
  padding: 7px 12px;
  color: var(--muted);
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  font-size: .76rem;
  font-weight: 850;
  transition: color .25s ease, background-color .25s ease, box-shadow .25s ease;
}
.language-links a:hover,
.language-links a:focus-visible,
.language-links a.is-active {
  color: #071016;
  background: linear-gradient(135deg, var(--policy-cyan), #a3b1ff);
  box-shadow: 0 8px 24px rgba(116, 234, 210, .14);
}

.policy-hero {
  position: relative;
  padding: clamp(64px, 8vw, 112px) 0 clamp(76px, 10vw, 130px);
}
.hero-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(370px, .82fr);
  gap: clamp(36px, 6vw, 82px);
  align-items: center;
  min-height: 650px;
  padding: clamp(38px, 6vw, 76px);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .035), transparent 45%),
    radial-gradient(circle at 10% 15%, rgba(127, 156, 255, .16), transparent 34%),
    radial-gradient(circle at 86% 16%, rgba(173, 131, 255, .13), transparent 31%),
    rgba(10, 17, 30, .91);
  box-shadow: 0 44px 120px rgba(0, 0, 0, .38);
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  opacity: .65;
  background-image:
    linear-gradient(rgba(255, 255, 255, .024) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .024) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .55), transparent 78%);
}
.hero-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: 500px;
  height: 500px;
  inset-inline-end: -205px;
  bottom: -255px;
  border: 1px solid rgba(116, 234, 210, .12);
  border-radius: 50%;
  box-shadow:
    0 0 0 58px rgba(127, 156, 255, .025),
    0 0 0 116px rgba(173, 131, 255, .018);
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
}
.policy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  padding: 8px 13px;
  color: #d7fff7;
  border: 1px solid rgba(116, 234, 210, .22);
  border-radius: 999px;
  background: rgba(116, 234, 210, .06);
  font-size: .77rem;
  font-weight: 850;
}
.policy-kicker span {
  color: var(--policy-cyan);
  font-size: .6rem;
  filter: drop-shadow(0 0 7px var(--policy-cyan));
}
.hero-card h1 {
  margin: 0 0 24px;
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 1.02;
  letter-spacing: -.065em;
  text-wrap: balance;
}
[dir="rtl"] .hero-card h1 { letter-spacing: -.045em; }
.hero-card .hero-copy > p {
  max-width: 63ch;
  margin: 0;
  color: #aeb9cd;
  font-size: clamp(1rem, 1.55vw, 1.12rem);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 34px;
}
.trust-grid > div {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 3px;
  min-height: 112px;
  padding: 16px;
  border: 1px solid var(--policy-line);
  border-radius: 17px;
  background: rgba(255, 255, 255, .035);
}
.trust-grid > div::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 80px;
  inset-inline-end: -38px;
  bottom: -46px;
  border: 1px solid rgba(116, 234, 210, .12);
  border-radius: 50%;
}
.trust-icon {
  color: var(--policy-cyan);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: .7rem;
  font-weight: 900;
  letter-spacing: .12em;
}
.trust-grid strong {
  align-self: end;
  font-size: .86rem;
}
.trust-grid small {
  color: var(--muted);
  font-size: .68rem;
}

.hero-side {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  min-width: 0;
}
.security-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 360px);
  aspect-ratio: 1;
  margin-inline: auto;
}
.security-visual::before {
  content: "";
  position: absolute;
  inset: 17%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(116, 234, 210, .17), rgba(127, 156, 255, .07) 50%, transparent 70%);
  filter: blur(10px);
}
.security-visual svg {
  position: relative;
  z-index: 3;
  width: 74%;
  overflow: visible;
}
.visual-ring {
  fill: rgba(255, 255, 255, .018);
  stroke: rgba(255, 255, 255, .08);
  stroke-width: 1;
}
.visual-dashes {
  fill: none;
  stroke: rgba(116, 234, 210, .3);
  stroke-width: 1.4;
  stroke-dasharray: 2 10;
  transform-origin: center;
  animation: policy-spin 25s linear infinite;
}
.shield-shape { opacity: .95; }
.shield-inner {
  fill: none;
  stroke: #071016;
  stroke-width: 11;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.orbit {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: 50%;
}
.orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--policy-cyan);
  box-shadow: 0 0 16px rgba(116, 234, 210, .8);
}
.orbit-one {
  inset: 7%;
  animation: policy-spin 18s linear infinite;
}
.orbit-two {
  inset: 16%;
  border-color: rgba(127, 156, 255, .11);
  animation: policy-spin-reverse 15s linear infinite;
}
.orbit-two::before {
  top: auto;
  right: 10%;
  bottom: -4px;
  left: auto;
  background: var(--policy-violet);
  box-shadow: 0 0 16px rgba(173, 131, 255, .8);
}
.visual-chip {
  position: absolute;
  z-index: 5;
  padding: 8px 12px;
  color: #dce4f6;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: 12px;
  background: rgba(10, 18, 31, .86);
  box-shadow: 0 12px 34px rgba(0, 0, 0, .26);
  backdrop-filter: blur(12px);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .04em;
}
.chip-oauth {
  top: 15%;
  inset-inline-start: 0;
}
.chip-encrypted {
  inset-inline-end: 1%;
  bottom: 20%;
}
.policy-meta {
  display: grid;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--policy-line);
  border-radius: 18px;
  background: rgba(255, 255, 255, .035);
}
.policy-meta div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 13px 16px;
}
.policy-meta div + div { border-top: 1px solid var(--policy-line); }
.policy-meta dt {
  color: var(--muted);
  font-size: .68rem;
}
.policy-meta dd {
  min-width: 0;
  margin: 0;
  font-size: .76rem;
  font-weight: 850;
  overflow-wrap: anywhere;
}
.policy-meta a { color: var(--policy-cyan); }

.policy-section {
  position: relative;
  padding: clamp(82px, 10vw, 130px) 0;
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.english-section {
  background:
    radial-gradient(circle at 92% 8%, rgba(173, 131, 255, .08), transparent 25rem),
    rgba(8, 13, 23, .48);
}
.policy-section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  gap: clamp(24px, 5vw, 66px);
  align-items: end;
  margin-bottom: 46px;
}
.policy-section-heading span {
  color: var(--policy-cyan);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: .13em;
}
.policy-section-heading h2 {
  margin: 9px 0 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: 1.08;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.policy-section-heading p {
  margin: 0;
  font-size: 1rem;
}
.policy-layout {
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
  gap: clamp(26px, 4vw, 52px);
  align-items: start;
}
.policy-toc {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--policy-line);
  border-radius: 20px;
  background: rgba(10, 17, 30, .78);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .2);
  backdrop-filter: blur(16px);
}
.policy-toc strong {
  margin-bottom: 7px;
  padding: 9px 11px 13px;
  border-bottom: 1px solid var(--policy-line);
  color: #f8faff;
  font-size: .83rem;
}
.policy-toc a {
  position: relative;
  padding: 9px 11px;
  color: var(--muted);
  border-radius: 10px;
  font-size: .74rem;
  font-weight: 750;
  text-decoration: none;
  transition: color .25s ease, background-color .25s ease, padding .25s ease;
}
.policy-toc a::before {
  content: "";
  position: absolute;
  top: 50%;
  inset-inline-start: 0;
  width: 3px;
  height: 0;
  border-radius: 99px;
  background: var(--policy-cyan);
  transform: translateY(-50%);
  transition: height .25s ease;
}
.policy-toc a:hover,
.policy-toc a:focus-visible,
.policy-toc a.is-active {
  padding-inline-start: 17px;
  color: #fff;
  background: rgba(116, 234, 210, .065);
}
.policy-toc a:hover::before,
.policy-toc a:focus-visible::before,
.policy-toc a.is-active::before { height: 22px; }
.policy-document {
  display: grid;
  gap: 17px;
  min-width: 0;
}
.policy-document > section {
  position: relative;
  min-width: 0;
  padding: clamp(28px, 4.5vw, 50px);
  scroll-margin-top: 112px;
  border: 1px solid var(--policy-line);
  border-radius: 25px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .026), transparent 48%),
    var(--policy-surface);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .18);
}
.policy-document > section:hover {
  border-color: rgba(116, 234, 210, .26);
  background:
    linear-gradient(135deg, rgba(116, 234, 210, .045), transparent 52%),
    var(--policy-surface-strong);
}
.section-number {
  position: absolute;
  top: clamp(28px, 4.5vw, 50px);
  inset-inline-end: clamp(28px, 4.5vw, 50px);
  color: transparent;
  -webkit-text-stroke: 1px rgba(116, 234, 210, .25);
  font-family: "Inter", "Segoe UI", sans-serif;
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 900;
  line-height: .9;
  letter-spacing: -.06em;
}
.policy-document h2 {
  position: relative;
  max-width: calc(100% - 105px);
  margin: 0 0 22px;
  color: #f7f9ff;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  line-height: 1.45;
}
.policy-document p {
  margin: 0;
  color: #aeb9cd;
}
.policy-document p + p,
.policy-document ul + p,
.policy-document ol + p { margin-top: 18px; }
.policy-document ul,
.policy-document ol {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
  padding-inline-start: 24px;
  color: #aeb9cd;
}
.policy-document li { padding-inline-start: 3px; }
.policy-document li::marker {
  color: var(--policy-cyan);
  font-weight: 900;
}
.policy-document strong { color: #eef3ff; }
.policy-document a {
  color: var(--policy-cyan);
  text-decoration: underline;
  overflow-wrap: anywhere;
}
.notice,
.deletion-card {
  position: relative;
  overflow: hidden;
  margin-top: 24px;
  border: 1px solid rgba(116, 234, 210, .2);
  border-radius: 17px;
  background:
    radial-gradient(circle at 0 0, rgba(116, 234, 210, .08), transparent 15rem),
    rgba(116, 234, 210, .035);
}
.notice {
  padding: 18px 21px;
  color: #c9f8ee;
  font-weight: 750;
}
.notice::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  margin-inline-end: 9px;
  color: #071016;
  border-radius: 8px;
  background: var(--policy-cyan);
  font-family: Arial, sans-serif;
  font-weight: 900;
}
.deletion-card { padding: clamp(22px, 4vw, 32px); }
.deletion-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  inset-inline-end: -90px;
  bottom: -110px;
  border: 1px solid rgba(173, 131, 255, .13);
  border-radius: 50%;
}
.deletion-card > * {
  position: relative;
  z-index: 1;
}
.deletion-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  margin-top: 23px;
  padding: 11px 19px;
  color: #071016 !important;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--policy-cyan), #9eb0ff 62%, #c39dff);
  box-shadow: 0 15px 38px rgba(116, 234, 210, .15);
  font-weight: 900;
  text-decoration: none !important;
  transition: transform .3s ease, box-shadow .3s ease;
}
.deletion-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 19px 42px rgba(116, 234, 210, .22);
}

.policy-footer {
  padding: 34px 0 46px;
  border-top: 1px solid var(--policy-line);
  background: rgba(5, 9, 16, .72);
}
.policy-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.policy-footer .container > div:first-child {
  display: flex;
  flex-direction: column;
}
.policy-footer strong { color: #f7f9ff; }
.policy-footer span,
.policy-footer a {
  color: var(--muted);
  font-size: .8rem;
}
.footer-actions {
  display: flex;
  gap: 18px;
}
.policy-footer a { text-decoration: none; }
.policy-footer a:hover { color: var(--policy-cyan); }

@keyframes policy-spin { to { transform: rotate(360deg); } }
@keyframes policy-spin-reverse { to { transform: rotate(-360deg); } }
@keyframes policy-pulse {
  0%, 100% { opacity: .78; transform: scale(.92); }
  50% { opacity: 1; transform: scale(1.08); }
}

@media (max-width: 980px) {
  .policy-status { display: none; }
  .hero-card {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .hero-copy { max-width: none; }
  .hero-side {
    grid-template-columns: minmax(260px, .9fr) minmax(280px, 1.1fr);
    align-items: center;
  }
  .security-visual { width: min(100%, 310px); }
  .policy-section-heading {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc {
    position: static;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin;
  }
  .policy-toc strong,
  .policy-toc a { flex: 0 0 auto; }
  .policy-toc strong {
    margin: 0;
    padding: 9px 13px;
    border: 0;
    border-inline-end: 1px solid var(--policy-line);
  }
  .policy-toc a::before { display: none; }
  .policy-toc a:hover,
  .policy-toc a:focus-visible,
  .policy-toc a.is-active { padding: 9px 11px; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 86px; }
  .policy-header.nav-shell {
    width: calc(100% - 16px);
    min-height: 58px;
  }
  .policy-brand { min-width: 0; }
  .policy-brand small { display: none; }
  .policy-brand .brand-mark {
    width: 38px;
    height: 38px;
  }
  .language-links a {
    min-width: auto;
    padding-inline: 10px;
  }
  .policy-hero { padding: 42px 0 76px; }
  .hero-card {
    gap: 32px;
    padding: 27px 21px 24px;
    border-radius: 25px;
  }
  .hero-card::before { background-size: 34px 34px; }
  .hero-card h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > div {
    grid-template-columns: 32px 1fr;
    align-items: center;
    min-height: 0;
    padding: 13px 14px;
  }
  .trust-icon { grid-row: span 2; }
  .trust-grid strong { align-self: auto; }
  .hero-side { grid-template-columns: 1fr; }
  .security-visual { width: min(82vw, 285px); }
  .policy-meta div { grid-template-columns: 92px minmax(0, 1fr); }
  .policy-section { padding: 76px 0; }
  .policy-section-heading { margin-bottom: 30px; }
  .policy-section-heading h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .policy-document > section {
    padding: 25px 21px;
    border-radius: 20px;
  }
  .section-number {
    top: 25px;
    inset-inline-end: 21px;
    font-size: 2.35rem;
  }
  .policy-document h2 {
    max-width: calc(100% - 62px);
    font-size: 1.25rem;
  }
  .notice::before { display: none; }
  .policy-footer .container {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 420px) {
  .policy-brand strong { font-size: .82rem; }
  .language-links a {
    padding: 6px 8px;
    font-size: .69rem;
  }
  .visual-chip { font-size: .62rem; }
}

@media (prefers-reduced-motion: reduce) {
  .status-pulse,
  .visual-dashes,
  .orbit { animation: none !important; }
}

@media print {
  body {
    color: #111;
    background: #fff;
  }
  .policy-header,
  .ambient,
  .scroll-progress,
  .policy-toc,
  .security-visual,
  .policy-footer { display: none !important; }
  .policy-hero,
  .policy-section {
    padding: 16px 0;
    border: 0;
    background: #fff;
  }
  .hero-card,
  .policy-document > section,
  .policy-meta {
    min-height: 0;
    color: #111;
    border: 1px solid #bbb;
    box-shadow: none;
    background: #fff;
  }
  .hero-card { grid-template-columns: 1fr; }
  .hero-card h1,
  .policy-section-heading h2,
  .policy-document h2,
  .policy-document strong,
  .policy-meta dd { color: #111; }
  .hero-card p,
  .policy-section-heading p,
  .policy-document p,
  .policy-document ul,
  .policy-document ol,
  .policy-meta dt { color: #333; }
}
