/* Shared stylesheet for the standalone legal pages (terminos.html,
   privacidad.html) — same design tokens as index.html's inline <style>,
   trimmed to just what an article-style legal page needs. */

:root {
  --bg: #FCFCFD;
  --surface: #FFFFFF;
  --ink: #10151F;
  --body: #4B5568;
  --muted: #7C8598;
  --line: #E3E6EE;
  --line-strong: #CDD3E0;
  --accent: #4F46E5;
  --accent-hover: #4338CA;
  --on-accent: #FFFFFF;
  --r-i: 10px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0B1120;
    --surface: #121A2C;
    --ink: #F1F4FA;
    --body: #A3AEC6;
    --muted: #7D88A1;
    --line: #232F4B;
    --line-strong: #33415F;
    --accent: #6366F1;
    --accent-hover: #818CF8;
  }
}

:root[data-theme="dark"] {
  --bg: #0B1120;
  --surface: #121A2C;
  --ink: #F1F4FA;
  --body: #A3AEC6;
  --muted: #7D88A1;
  --line: #232F4B;
  --line-strong: #33415F;
  --accent: #6366F1;
  --accent-hover: #818CF8;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}

h1, h2 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.028em;
  line-height: 1.15;
}

p { margin: 0; max-width: 65ch; }

.shell {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-family: inherit;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-i);
  padding: 12px 20px;
  cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease;
}

.btn-quiet { color: var(--ink); border-color: var(--line-strong); background: transparent; }
.btn-quiet:hover { background: var(--surface); }

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav { height: 68px; display: flex; align-items: center; gap: 20px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}

.brand-wage { color: #10B981; }

.nav-links { margin-left: auto; display: flex; align-items: center; gap: 22px; }

.nav-a {
  font-size: 15px;
  color: var(--body);
  text-decoration: none;
  transition: color .18s ease;
}

.nav-a:hover { color: var(--ink); }

.legal {
  max-width: 720px;
  padding-block: 56px 80px;
}

.legal h1 { font-size: clamp(28px, 4vw, 38px); }

.legal .updated {
  margin-top: 10px;
  font-size: 14px;
  color: var(--muted);
}

.legal > p, .legal > ul {
  margin-top: 18px;
}

.legal h2 {
  font-size: 19px;
  margin-top: 40px;
  margin-bottom: 4px;
}

.legal ul {
  padding-left: 22px;
  max-width: 65ch;
}

.legal li + li { margin-top: 10px; }

.legal a { color: var(--accent); }
.legal a:hover { color: var(--accent-hover); }

footer {
  border-top: 1px solid var(--line);
  padding-block: 30px 44px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}
