:root {
  --bg: #000000;
  --surface: #131317;
  --surface-raised: #1c1c21;
  --border: rgba(255,255,255,0.08);
  --text: #ffffff;
  --text-secondary: #a1a1aa;
  --text-tertiary: #6e6e78;
  --move: #FA114F;
  --exercise: #92E82A;
  --stand: #1AD5FF;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; text-decoration: none; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
header.site nav { display: flex; align-items: center; gap: 20px; }
header.site nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 15px;
  font-weight: 600;
}
header.site nav a:hover { color: var(--text); }

.lang-switch {
  display: flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}
.lang-switch button {
  border: none;
  background: transparent;
  color: var(--text-tertiary);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  font-family: inherit;
}
.lang-switch button[aria-pressed="true"] {
  background: var(--surface-raised);
  color: var(--text);
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--exercise);
}

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0 40px;
  margin-top: 40px;
}
footer.site .row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-tertiary);
}
footer.site .links { display: flex; gap: 20px; }
footer.site a { text-decoration: none; color: var(--text-secondary); font-weight: 600; }
footer.site a:hover { color: var(--text); }

/* Paginas de texto (privacidad / terminos) */
.doc { padding: 24px 0 60px; max-width: 720px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; margin: 0 0 6px; letter-spacing: -0.02em; }
.doc .updated { color: var(--text-tertiary); font-size: 14px; margin: 0 0 36px; }
.doc h2 { font-size: 20px; font-weight: 800; margin: 36px 0 10px; }
.doc p { color: var(--text-secondary); line-height: 1.65; font-size: 16px; margin: 0 0 14px; }
.doc ul { color: var(--text-secondary); line-height: 1.65; font-size: 16px; padding-left: 20px; margin: 0 0 14px; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--text); }
.doc a { color: var(--stand); font-weight: 600; }
.doc .notice {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--move);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 0 0 28px;
}
.doc .notice p { margin: 0; color: var(--text); font-size: 15px; }
