/* Talked — Privacy Policy page (uses tokens from styles.css) */

.pv { position: relative; }
.pv-hero { position: relative; overflow: hidden; padding: 72px var(--gutter) 56px; }
.pv-hero .hero__grid { -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 20%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 60% 80% at 50% 20%, #000 10%, transparent 70%); }
.pv-glow--1 { left: 50%; top: -340px; width: 760px; height: 560px; margin-left: -380px; background: rgba(56, 107, 246, .28); filter: blur(110px); animation: drift 16s ease-in-out infinite alternate; }
.pv-glow--2 { left: 62%; top: -80px; width: 380px; height: 380px; background: rgba(139, 92, 246, .18); filter: blur(90px); animation: drift 19s ease-in-out -5s infinite alternate-reverse; }
.pv-hero__inner { position: relative; max-width: 820px; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.pv-crumbs { display: flex; gap: 10px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.pv-crumbs a { color: var(--muted); transition: color .2s; }
.pv-crumbs a:hover { color: #fff; }
.pv-crumbs span:last-child { color: #fff; }
.pv-title {
  font-weight: 800; font-size: 64px; line-height: 1.08; letter-spacing: -1.6px;
  background: linear-gradient(180deg, #fff 30%, #b9c8ee); -webkit-background-clip: text; background-clip: text; color: transparent;
}
.pv-lead { max-width: 640px; font-size: 19px; line-height: 1.6; color: var(--muted); }
.pv-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.pv-chip { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-weight: 600; color: var(--muted); }
.pv-chip b { color: #fff; font-weight: 700; margin-left: -4px; }
.pv-upd::after { content: ':'; }
.pv-chip svg { width: 17px; height: 17px; color: var(--cyan); }
.pv-chip--btn { cursor: pointer; transition: border-color .2s, color .2s; }
.pv-chip--btn:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }

/* summary cards */
.pv-summary { max-width: 1200px; margin: 0 auto; padding: 0 var(--gutter); box-sizing: content-box; }
.pv-summary__t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.pv-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.pv-card {
  position: relative; overflow: hidden; border-radius: 24px; padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  animation: cardIn .7s var(--ease) both; animation-delay: calc(var(--i) * 70ms + .1s);
  transition: transform .35s var(--ease), border-color .35s;
}
.pv-card:hover { transform: translateY(-3px); border-color: rgba(255, 255, 255, .24); }
.pv-card::after { content: ''; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(closest-side, rgba(94, 160, 255, .18), transparent); pointer-events: none; }
@keyframes cardIn { from { opacity: 0; transform: translateY(16px); } }
.pv-card__ico {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 6px;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 55%, var(--violet));
  box-shadow: 0 10px 24px -10px rgba(56, 107, 246, .9), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.pv-card:nth-child(2) .pv-card__ico { background: linear-gradient(135deg, #ff8a8a, #e5487a 55%, var(--violet)); box-shadow: 0 10px 24px -10px rgba(229, 72, 122, .9), inset 0 1px 0 rgba(255, 255, 255, .35); }
.pv-card:nth-child(3) .pv-card__ico { background: linear-gradient(135deg, #7ef0c1, #22c55e 55%, var(--blue)); box-shadow: 0 10px 24px -10px rgba(34, 197, 94, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.pv-card:nth-child(4) .pv-card__ico { background: linear-gradient(135deg, #ffd27a, #f59e0b 55%, #e5487a); box-shadow: 0 10px 24px -10px rgba(245, 158, 11, .8), inset 0 1px 0 rgba(255, 255, 255, .35); }
.pv-card__ico svg { width: 23px; height: 23px; color: #fff; }
.pv-card h3 { font-size: 18px; line-height: 1.3; font-weight: 800; }
.pv-card p { font-size: 15px; line-height: 1.55; color: var(--muted); }

/* layout */
.pv-layout {
  max-width: 1200px; margin: 0 auto; padding: 64px var(--gutter) 40px; box-sizing: content-box;
  display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 72px; align-items: start;
}
#pvMain.is-switching .pv-body, #pvMain.is-switching .pv-toc, #pvMain.is-switching .pv-cards { opacity: 0; }
.pv-body, .pv-toc, .pv-cards { transition: opacity .16s; }

/* TOC */
.pv-aside { position: sticky; top: 98px; }
.pv-tocbox { border-radius: 22px; }
.pv-tocbox summary {
  list-style: none; display: flex; align-items: center; justify-content: space-between;
  font-size: 13px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--cyan);
  padding: 0 0 14px 14px; cursor: default;
}
.pv-tocbox summary::-webkit-details-marker { display: none; }
.pv-tocbox summary svg { display: none; width: 18px; height: 18px; color: var(--muted); transition: transform .25s var(--ease); }
.pv-toc__scroll { max-height: calc(100vh - 150px); overflow-y: auto; padding-right: 6px; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, .15) transparent; }
.pv-toc, .pv-toc ol { list-style: none; margin: 0; padding: 0; }
.pv-toc > li { position: relative; }
.pv-toc a {
  position: relative; display: flex; gap: 10px; padding: 8px 12px 8px 14px; border-radius: 12px;
  font-size: 14.5px; line-height: 1.4; font-weight: 600; color: var(--muted);
  transition: color .2s, background-color .2s;
}
.pv-toc a:hover { color: #fff; background: rgba(255, 255, 255, .04); }
.pv-toc__n { flex: none; min-width: 20px; color: rgba(163, 167, 179, .55); font-variant-numeric: tabular-nums; font-weight: 700; }
.pv-toc ol { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); }
.pv-toc li.is-open > ol { max-height: 600px; }
.pv-toc ol a { padding: 6px 12px 6px 44px; font-size: 13.5px; font-weight: 500; }
.pv-toc ol .pv-toc__n { min-width: 28px; margin-left: -30px; }
.pv-toc li.is-active > a { color: #fff; background: linear-gradient(90deg, rgba(56, 107, 246, .18), rgba(56, 107, 246, 0)); }
.pv-toc li.is-active > a::before {
  content: ''; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px;
  background: linear-gradient(180deg, var(--cyan), var(--blue));
}
.pv-toc li.is-active > a .pv-toc__n { color: var(--cyan); }
.pv-toc > li.is-open:not(.is-active) > a { color: #fff; }

/* body */
.pv-body { max-width: 780px; font-size: 17px; line-height: 1.75; color: #c9ccd6; }
.pv-sec { padding: 8px 0 40px; }
.pv-sec + .pv-sec { border-top: 1px solid rgba(255, 255, 255, .07); padding-top: 44px; }
.pv-body p { margin: 0 0 16px; }
.pv-body b { color: #fff; font-weight: 700; }
.pv-body a:not(.pv-anchor):not(.contact-card) { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(94, 224, 255, .35); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.pv-body a:not(.pv-anchor):not(.contact-card):hover { text-decoration-color: var(--cyan); }

.pv-h { position: relative; display: flex; align-items: baseline; gap: 12px; color: #fff; margin: 0 0 16px; scroll-margin-top: 14px; }
.pv-h2 { font-size: 30px; line-height: 1.25; font-weight: 800; letter-spacing: -.4px; margin-bottom: 18px; }
.pv-h3 { font-size: 21px; line-height: 1.35; font-weight: 800; margin-top: 30px; }
.pv-h4 { font-size: 18px; line-height: 1.4; font-weight: 700; margin-top: 24px; }
.pv-num { flex: none; font-variant-numeric: tabular-nums; }
.pv-h2 .pv-num {
  align-self: center; display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 8px; border-radius: 13px;
  font-size: 18px; color: #fff;
  background: linear-gradient(135deg, var(--cyan), var(--blue) 60%, var(--violet));
  box-shadow: 0 10px 24px -10px rgba(56, 107, 246, .9);
}
.pv-h3 .pv-num, .pv-h4 .pv-num { color: var(--cyan); font-weight: 800; }
.pv-h4 .pv-num { color: rgba(94, 224, 255, .7); }
.pv-anchor {
  position: absolute; left: -40px; top: 50%; transform: translateY(-50%);
  display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px;
  color: var(--muted); opacity: 0; transition: opacity .2s, color .2s, background-color .2s;
}
.pv-anchor svg { width: 16px; height: 16px; }
.pv-h:hover .pv-anchor, .pv-anchor:focus-visible { opacity: 1; }
.pv-anchor:hover { color: #fff; background: rgba(255, 255, 255, .07); }
.pv-h.is-flash .pv-t { animation: flash 1.6s var(--ease); }
@keyframes flash { 0%, 30% { background: rgba(94, 224, 255, .22); box-shadow: 0 0 0 6px rgba(94, 224, 255, .22); } 100% { background: transparent; box-shadow: 0 0 0 6px transparent; } }
.pv-t { border-radius: 6px; }

.pv-sub { padding-left: 0; }
.pv-subsub { margin-left: 18px; padding-left: 20px; border-left: 2px solid rgba(255, 255, 255, .07); }

.path {
  display: inline-block; padding: 1px 9px; border-radius: 8px; white-space: nowrap;
  font-size: .88em; font-weight: 700; color: #fff; line-height: 1.6;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1);
}

/* lists */
.ticks, .crosses { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 10px; }
.ticks li, .crosses li { position: relative; padding-left: 34px; }
.ticks li::before, .crosses li::before {
  content: ''; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 7px;
  background: rgba(94, 224, 255, .12) no-repeat center / 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%235ee0ff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.crosses li::before {
  background-color: rgba(244, 114, 142, .12);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 7l10 10M17 7L7 17' fill='none' stroke='%23f4728e' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* callouts */
.callout {
  position: relative; margin: 4px 0 20px; padding: 16px 20px 16px 22px; border-radius: 16px;
  background: linear-gradient(90deg, rgba(94, 224, 255, .08), rgba(94, 224, 255, .02));
  border: 1px solid rgba(94, 224, 255, .18); color: #d7e6f2;
  font-size: 16px; line-height: 1.65;
}
.callout::before { content: ''; position: absolute; left: -1px; top: 14px; bottom: 14px; width: 3px; border-radius: 3px; background: var(--cyan); }
.callout--warn { background: linear-gradient(90deg, rgba(245, 181, 68, .1), rgba(245, 181, 68, .02)); border-color: rgba(245, 181, 68, .25); color: #f1e3c6; }
.callout--warn::before { background: #f5b544; }

/* security layers */
.layers { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 4px 0 20px; }
.layers > div {
  display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; border-radius: 16px;
  background: var(--glass); border: 1px solid var(--glass-line); font-size: 15px; line-height: 1.55;
  transition: border-color .25s, transform .25s var(--ease);
}
.layers > div:hover { border-color: rgba(94, 224, 255, .3); transform: translateY(-2px); }
.layers > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
.layers b { font-size: 16px; }

/* tables */
.table-wrap { overflow-x: auto; margin: 4px 0 20px; border-radius: 18px; border: 1px solid var(--glass-line); background: rgba(255, 255, 255, .02); }
.pv-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.pv-body th { text-align: left; padding: 14px 18px; font-size: 12.5px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--cyan); font-weight: 800; background: rgba(255, 255, 255, .04); white-space: nowrap; }
.pv-body td { padding: 14px 18px; border-top: 1px solid rgba(255, 255, 255, .06); vertical-align: top; }
.pv-body td:first-child { color: #fff; font-weight: 700; }
.pv-body tbody tr { transition: background-color .2s; }
.pv-body tbody tr:hover { background: rgba(255, 255, 255, .03); }

/* contact */
.contact-card {
  display: flex; align-items: center; gap: 16px; margin-top: 8px; padding: 18px 22px; border-radius: 20px;
  background: linear-gradient(135deg, rgba(56, 107, 246, .22), rgba(139, 92, 246, .12));
  border: 1px solid rgba(120, 150, 255, .3); color: #fff;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -20px rgba(56, 107, 246, .9); }
.contact-card__ico { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: #fff; color: var(--blue); flex: none; }
.contact-card__ico svg { width: 22px; height: 22px; }
.contact-card > span:nth-child(2) { display: flex; flex-direction: column; line-height: 1.3; }
.contact-card small { font-size: 12px; color: var(--muted); font-weight: 600; }
.contact-card b { font-size: 18px; }
.contact-card em { margin-left: auto; font-style: normal; font-weight: 700; font-size: 14px; color: var(--cyan); }

/* back to top + toast */
.pv-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 40; width: 48px; height: 48px; border-radius: 16px;
  display: grid; place-items: center; color: #fff;
  background: rgba(30, 31, 40, .75); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(12px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), border-color .2s;
}
.pv-top.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.pv-top:hover { border-color: rgba(255, 255, 255, .3); }
.pv-top svg { width: 20px; height: 20px; }
.pv-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 70; transform: translate(-50%, 20px);
  padding: 12px 18px; border-radius: 14px; font-weight: 700; font-size: 14px;
  background: #fff; color: var(--bg); box-shadow: 0 20px 40px -10px rgba(0, 0, 0, .6);
  opacity: 0; pointer-events: none; transition: opacity .25s, transform .3s var(--ease);
}
.pv-toast.is-shown { opacity: 1; transform: translate(-50%, 0); }


/* responsive */
@media (max-width: 1100px) {
  .pv-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .pv-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; padding-top: 40px; }
  .path { white-space: normal; }
  .pv-h { scroll-margin-top: 66px; }
  .pv-aside { position: sticky; top: 74px; z-index: 20; }
  .pv-tocbox {
    background: rgba(24, 25, 32, .9); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
    border: 1px solid var(--glass-line); padding: 0 10px; box-shadow: 0 16px 40px -20px rgba(0, 0, 0, .8);
  }
  .pv-tocbox summary { padding: 14px 6px; cursor: pointer; }
  .pv-tocbox summary svg { display: block; }
  .pv-tocbox[open] summary svg { transform: rotate(180deg); }
  .pv-toc__scroll { max-height: 60vh; padding-bottom: 10px; }
  .pv-anchor { left: auto; right: -6px; opacity: .6; }
  .pv-h { padding-right: 30px; }
}
@media (max-width: 680px) {
  .pv-hero { padding-top: 44px; padding-bottom: 36px; }
  .pv-title { font-size: 40px; letter-spacing: -1px; }
  .pv-lead { font-size: 17px; }
  .pv-cards { grid-template-columns: 1fr; gap: 12px; }
  .pv-card { padding: 20px; flex-direction: row; flex-wrap: wrap; align-items: center; column-gap: 14px; }
  .pv-card__ico { margin: 0; }
  .pv-card h3 { flex: 1; }
  .pv-card p { flex-basis: 100%; }
  .pv-aside { top: 66px; }
  .pv-body { font-size: 16px; }
  .pv-h2 { font-size: 24px; }
  .pv-h2 .pv-num { min-width: 34px; height: 34px; font-size: 16px; border-radius: 11px; }
  .pv-h3 { font-size: 19px; }
  .pv-subsub { margin-left: 4px; padding-left: 14px; }
  .layers { grid-template-columns: 1fr; }
  .pv-body th, .pv-body td { padding: 12px 14px; }
  .contact-card em { display: none; }
  .pv-top { right: 16px; bottom: 16px; }
}

/* print: clean black-on-white document */
@media print {
  @page { margin: 18mm 16mm; }
  body { background: #fff !important; color: #111 !important; }
  .nav, .progress, .pv-aside, .pv-top, .pv-toast, .footer, .pv-meta .pv-chip--btn, .glow, .hero__grid, .pv-crumbs, .pv-anchor { display: none !important; }
  .pv-hero { padding: 0 0 12px; }
  .pv-title { color: #111 !important; -webkit-text-fill-color: #111; background: none; font-size: 30px; }
  .pv-lead, .pv-body, .pv-card p, .pv-chip { color: #333 !important; }
  .pv-chip, .pv-card, .callout, .layers > div, .table-wrap { background: none !important; border-color: #ccc !important; box-shadow: none !important; }
  .pv-card h3, .pv-body b, .pv-h, .pv-chip b, .pv-body td:first-child { color: #111 !important; }
  .pv-layout { display: block; padding: 0; }
  .pv-cards { grid-template-columns: repeat(2, 1fr); }
  .pv-card { animation: none; }
  .pv-h2 .pv-num { background: none; color: #111; box-shadow: none; border: 1px solid #999; }
  .pv-sec { break-inside: auto; }
  .pv-h { break-after: avoid; }
  .path { background: #f1f1f1; color: #111; border-color: #ddd; }
  a { color: #111 !important; }
}
