/* VVid website — legal pages (privacy policy) */
.legal-head { padding-top: 140px; padding-bottom: 36px; }
.legal-head .kicker { justify-content: flex-start; }
.legal-head .kicker::before { display: none; }
.legal-head h1 { font-size: clamp(40px, 6vw, 72px); letter-spacing: -0.04em; margin-bottom: 16px; }
.legal-head .lede { max-width: 640px; margin-bottom: 18px; }
.legal-head .upd { font-family: var(--mono); font-size: 13px; color: var(--faint); }

.legal { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 56px; align-items: start; }
.toc { position: sticky; top: 96px; padding: 18px 14px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.toc p { padding: 0 10px 8px; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); }
.toc ol { list-style: none; display: grid; gap: 1px; }
.toc a { display: flex; gap: 10px; padding: 6px 10px; border-radius: 8px; font-size: 14px; color: var(--dim); transition: background-color .3s var(--soft), color .3s var(--soft); }
.toc a span { font-family: var(--mono); font-size: 12px; color: var(--faint); padding-top: 2px; }
.toc a:hover { background: rgba(255, 255, 255, 0.05); color: var(--ink); }

.doc { max-width: 800px; }
.doc section { padding: 34px 0; border-top: 1px solid var(--line); scroll-margin-top: 86px; }
.doc section:first-child { border-top: 0; padding-top: 0; }
.doc h2 { display: flex; align-items: baseline; gap: 14px; font-size: clamp(24px, 2.4vw, 30px); margin-bottom: 16px; }
.doc h2 span { font-family: var(--mono); font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--cyan); }
.doc p, .doc li, .doc td { color: #c6cbd8; font-size: 16px; }
.doc p + p, .doc p + ul, .doc ul + p, .doc .tbl + p { margin-top: 14px; }
.doc ul { padding-left: 20px; display: grid; gap: 9px; }
.doc li::marker { color: var(--cyan); }
.doc strong { color: var(--ink); font-weight: 650; }
.doc code { font-family: var(--mono); font-size: 13.5px; padding: 1px 6px; border-radius: 5px; background: rgba(255, 255, 255, 0.06); color: #dfe6f5; white-space: nowrap; }
.doc a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(124, 230, 255, 0.35); text-underline-offset: 3px; }
.doc a:hover { text-decoration-color: var(--cyan); }

.short { padding: 30px; background: linear-gradient(130deg, rgba(79, 140, 255, 0.12), rgba(124, 230, 255, 0.03) 55%, rgba(155, 123, 255, 0.07)), var(--panel); }
.short .base-list li { font-size: 15.5px; color: #d9deea; }

.tbl { overflow-x: auto; margin-top: 18px; border: 1px solid var(--line); border-radius: 14px; background: rgba(12, 14, 20, 0.5); }
.tbl table { width: 100%; border-collapse: collapse; }
.tbl th, .tbl td { padding: 13px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.55; }
.tbl th { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); background: rgba(255, 255, 255, 0.02); }
.tbl td:first-child { color: var(--ink); font-weight: 650; min-width: 150px; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl td small { display: block; margin-top: 3px; font-size: 12.5px; color: var(--faint); font-weight: 500; }

.nav-row .back { margin-left: auto; }

@media (max-width: 960px) {
  .legal { grid-template-columns: 1fr; gap: 28px; }
  .toc { position: static; }
  .toc ol { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .legal-head { padding-top: 116px; }
  .toc ol { grid-template-columns: 1fr; }
  .short { padding: 22px; }
  .tbl table, .tbl tbody, .tbl tr, .tbl td { display: block; }
  .tbl thead { display: none; }
  .tbl tr { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  .tbl tr:last-child { border-bottom: 0; }
  .tbl td { padding: 3px 0; border: 0; }
  .tbl td[data-l]::before { content: attr(data-l); display: block; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-top: 6px; }
  .nav-row .back { display: none; }
  .nav-row .btn.primary { margin-left: auto; }
}
