/* Shared legal/doc styles for the privacy pages (privacy/ + es/privacy/). */
:root {
  color-scheme: light dark;
  --brand: #5145e8;
  --brand-strong: #4133cf;
  --ink: #0e1116;
  --muted: #6b7280;
  --line: #e7e7ec;
  --bg: #ffffff;
  --bg-alt: #f4f4f6;
  --header-bg: rgba(255,255,255,.82);
  --maxw: 1200px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Inter", sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root {
    --brand: #7c72f2;
    --brand-strong: #6a5ff0;
    --ink: #f3f4f7;
    --muted: #969ba6;
    --line: #292b32;
    --bg: #0d0e12;
    --bg-alt: #15161b;
    --header-bg: rgba(13,14,18,.82);
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--bg);
  line-height: 1.65; -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-strong); text-decoration: underline; }
img { display: block; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-left: 24px; padding-right: 24px; }

header {
  position: sticky; top: 0; z-index: 50; background: var(--header-bg);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: -.02em; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand .logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-right .lang { font-size: 14px; font-weight: 600; color: var(--muted); }
.nav-right .lang:hover { color: var(--brand); text-decoration: none; }
.nav-right .back { font-size: 15px; font-weight: 600; }

main { padding: 56px 0 72px; }
.doc { max-width: 760px; margin-inline: auto; }
.doc h1 { font-size: clamp(30px, 5vw, 44px); font-weight: 800; letter-spacing: -.02em; margin: 0 0 8px; }
.updated { color: var(--muted); font-size: 15px; margin: 0 0 40px; }
.doc h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -.01em;
  margin: 40px 0 12px; padding-top: 24px; border-top: 1px solid var(--line);
}
.doc h3 { font-size: 16px; font-weight: 700; margin: 22px 0 6px; }
.doc p { margin: 0 0 14px; color: var(--ink); }
.doc ul { margin: 0 0 16px; padding-left: 22px; }
.doc li { margin-bottom: 7px; }
.doc strong { font-weight: 700; }

footer { border-top: 1px solid var(--line); padding: 40px 0; }
.foot { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 14px; }
.foot .brand { font-size: 17px; }
.foot .links { margin-left: auto; display: flex; gap: 20px; }
.copyright { color: var(--muted); font-size: 13px; margin-top: 20px; }
/* Courtesy-translation banner (used on es/privacy). */
.note {
  background: var(--bg-alt); border: 1px solid var(--line); border-radius: 12px;
  padding: 14px 18px; font-size: 14px; color: var(--muted); margin: 0 0 40px;
}
