/* =========================================================
   Tiska — estilos compartidos de páginas legales
   Reusa los tokens de marca de tiska-landing.html ("Luz cálida").
   ========================================================= */
:root {
  --primary: #2A3D2F;
  --primary-dark: #1E2E22;
  --primary-deep: #15271A;
  --accent: #F2EBD9;
  --bg: #FBFBF6;
  --surface: #FFFFFF;
  --surface-soft: #F8F6F0;
  --text: #1B2620;
  --text-muted: #5B6A60;
  --text-faint: #8C9990;
  --border: #E7E2D5;
  --border-strong: #CDC6B2;
  --font-display: 'Playfair Display', 'Noto Serif', Georgia, serif;
  --font-serif: 'Noto Serif', Georgia, 'Times New Roman', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 16px;
  --shadow: 0 10px 34px rgba(21, 39, 26, 0.08);
  --ease: cubic-bezier(.22, 1, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--primary); text-decoration: none; transition: color 0.2s var(--ease); }
a:hover { text-decoration: underline; }

/* ===== Header ===== */
.legal-nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(251, 251, 246, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.legal-nav .inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.legal-nav .logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--primary);
}
.legal-nav .logo:hover { text-decoration: none; }
.legal-nav .back { font-size: 14px; color: var(--text-muted); font-weight: 500; }
.legal-nav .back:hover { color: var(--primary); text-decoration: none; }

/* ===== Cuerpo del documento ===== */
.legal-article { max-width: 760px; margin: 0 auto; padding: 56px 24px 24px; }
.legal-article .doc-kicker {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-weight: 600;
  margin: 0 0 10px;
}
.legal-article h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.15;
  color: var(--primary-deep);
  margin: 0 0 8px;
}
.legal-article .updated { font-size: 14px; color: var(--text-muted); margin: 0 0 36px; }
.legal-article .intro p { font-size: 17px; color: var(--text-muted); }
.legal-article h2 {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 23px;
  color: var(--primary-deep);
  margin: 42px 0 14px;
}
.legal-article h3 { font-weight: 700; font-size: 17px; color: var(--text); margin: 26px 0 10px; }
.legal-article p { margin: 0 0 16px; }
.legal-article ul, .legal-article ol { margin: 0 0 16px; padding-left: 22px; }
.legal-article li { margin: 0 0 8px; }
.legal-article li > ul { margin-top: 8px; }
.legal-article strong { color: var(--primary-deep); font-weight: 700; }
.legal-article a { font-weight: 500; }
.legal-article hr { border: none; border-top: 1px solid var(--border); margin: 38px 0; }
.legal-article blockquote {
  margin: 0 0 16px;
  padding: 14px 18px;
  background: var(--surface-soft);
  border-left: 3px solid var(--border-strong);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 15px;
}
.legal-article blockquote p:last-child { margin: 0; }

/* ===== Footer ===== */
.legal-foot {
  max-width: 760px;
  margin: 24px auto 0;
  padding: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-faint);
}
.legal-foot .links { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.legal-foot a { color: var(--text-muted); font-weight: 500; }
.legal-foot a[aria-current] { color: var(--primary); }

@media (max-width: 560px) {
  .legal-article { padding: 36px 20px 20px; }
  .legal-article h1 { font-size: 30px; }
  .legal-article h2 { font-size: 20px; }
}
