/* Unva — Privacy Policy (standalone) */

:root {
  --ink: #0F172A;
  --body: #293548;
  --muted: #697892;
  --blue: #2F6BED;
  --cyan: #0891B2;
  --green: #0E9F6E;
  --line: #E2E8F0;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: #F1F4FA;
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
}
a { color: inherit; }

/* Icons (lucide copies these classes onto the generated <svg>) */
.uv-i { display: inline-flex; vertical-align: -.125em; }
.ic-16 { width: 16px; height: 16px; }
.ic-17 { width: 17px; height: 17px; }
.ic-20 { width: 20px; height: 20px; }

.uv-logo {
  display: inline-block;
  background: url(../assets/app-icon.png) center/cover no-repeat;
  border-radius: 7px;
  flex: 0 0 auto;
}
.logo-30 { width: 30px; height: 30px; }

/* Language visibility toggled by JS */
.is-hidden { display: none; }

/* ===== Layout ===== */
.doc-root { background: #F1F4FA; min-height: 100vh; }

.doc-topbar {
  max-width: 820px;
  margin: 0 auto;
  padding: 18px clamp(18px, 4vw, 40px) 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.doc-topbar-right { display: flex; align-items: center; gap: 14px; }

.doc-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.doc-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.lang-toggle {
  display: flex;
  gap: 2px;
  padding: 3px;
  border-radius: 9px;
  background: #fff;
  border: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 600;
}
.lang-btn {
  padding: 5px 10px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
}
.lang-btn.is-active { background: #EEF3FC; color: #0F172A; }

/* ===== Document body ===== */
.docwrap {
  max-width: 820px;
  margin: 18px auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(28px, 5vw, 56px) clamp(22px, 5vw, 60px) 40px;
  box-shadow: 0 24px 60px -34px rgba(15, 23, 42, .4);
}

.doc-frame { width: 100%; border-collapse: collapse; }
.doc-frame td { padding: 0; }
.pad-top, .pad-bottom { display: none; }

.doc-brand { display: flex; align-items: center; gap: 11px; }
.brand-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -.02em;
  color: var(--ink);
}

.doc-h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(30px, 5vw, 42px);
  letter-spacing: -.025em;
  color: var(--ink);
  margin: 22px 0 0;
  line-height: 1.05;
}
.doc-updated {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12.5px;
  color: var(--muted);
  margin: 14px 0 0;
}

.doc-callout {
  margin: 26px 0 8px;
  padding: 20px 22px;
  border-radius: 14px;
  background: #ECFDF5;
  border: 1px solid #C2EEDC;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.callout-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(14, 159, 110, .12);
  color: var(--green);
  display: grid;
  place-items: center;
  flex: 0 0 auto;
}
.callout-title { margin: 0; font-weight: 700; color: var(--ink); font-size: 15px; }
.callout-text {
  margin: 7px 0 0;
  color: var(--body);
  font-size: 14.5px;
  line-height: 1.65;
}

.sec { margin-top: 28px; }
.sec--first { margin-top: 30px; }
.sec-num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--cyan);
  font-weight: 600;
}
.sec-h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--ink);
  margin: 4px 0 0;
  letter-spacing: -.01em;
}
.sec-p {
  color: var(--body);
  font-size: 15px;
  line-height: 1.72;
  margin: 12px 0 0;
}

.doc-link { color: var(--blue); font-weight: 600; text-decoration: none; }

.doc-footer {
  margin: 36px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Print ===== */
@page { size: letter; margin: 0; }
@media print {
  html { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  html, body { margin: 0; padding: 0; background: #fff; }
  .screen-only { display: none !important; }
  .docwrap {
    max-width: none !important;
    margin: 0 !important;
    padding: 0 .75in !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
  }
  .sec, p, li { break-inside: avoid; }
  h1, h2 { break-after: avoid; }
}
