/* Estilos compartidos de las páginas secundarias de educronos.com
   (novedades, aviso legal, privacidad). La portada lleva su CSS inline. */
:root {
  --bg: #fafaf9; --surface: #ffffff; --surface-2: #f4f4f2;
  --border: rgba(0,0,0,.08); --border-strong: rgba(0,0,0,.12);
  --text: #111110; --muted: #6b6b63; --muted-2: #a8a89e;
  --red: #e63329; --red-soft: rgba(230,51,41,.08); --red-mid: rgba(230,51,41,.15);
  --green: #16a34a; --green-soft: rgba(22,163,74,.08); --amber: #d97706;
  --shadow-sm: 0 2px 8px rgba(0,0,0,.06); --shadow: 0 8px 32px rgba(0,0,0,.08);
  --radius: 20px; --radius-sm: 12px; --max: 1100px;
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); background: var(--bg); line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }

header { position: sticky; top: 0; z-index: 40; background: rgba(250,250,249,.92); backdrop-filter: blur(16px); border-bottom: 1px solid var(--border); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; }
.nav .links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav .links a { color: var(--muted); font-weight: 500; font-size: 14px; padding: 8px 10px; border-radius: 8px; white-space: nowrap; }
.nav .links a:hover { color: var(--text); background: var(--surface-2); }
.btn-cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 99px; color: white; font-weight: 700; font-size: 14px; letter-spacing: -.2px; white-space: nowrap; background: linear-gradient(135deg, var(--red), #f97316); box-shadow: 0 4px 16px rgba(230,51,41,.25); transition: transform .15s, box-shadow .15s; }
.btn-cta:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(230,51,41,.35); }

main { padding: 56px 0 72px; }
.page { max-width: 820px; }
.page.wide { max-width: var(--max); }
.section-label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red); margin-bottom: 10px; }
h1 { font-weight: 800; font-size: clamp(30px, 3.6vw, 44px); line-height: 1.08; letter-spacing: -1.2px; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.65; margin-bottom: 36px; max-width: 64ch; }
.lead strong { color: var(--text); font-weight: 600; }
h2 { font-weight: 800; font-size: 24px; letter-spacing: -.6px; line-height: 1.2; margin: 44px 0 14px; scroll-margin-top: 90px; }
h3 { font-weight: 700; font-size: 17px; letter-spacing: -.3px; margin: 26px 0 8px; line-height: 1.3; }
p { margin-bottom: 14px; color: var(--text); }
.page p, .page li { font-size: 15.5px; }
.page ul, .page ol { padding-left: 22px; margin: 0 0 16px; }
.page li { margin-bottom: 7px; }
.page li strong, .page p strong { font-weight: 600; }
.page a { color: var(--red); text-decoration: underline; text-underline-offset: 2px; }
.muted { color: var(--muted); }
.meta { font-size: 13.5px; color: var(--muted-2); margin-bottom: 28px; }
.box { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px 22px; margin: 18px 0 22px; box-shadow: var(--shadow-sm); }
.box.green { border-left: 4px solid var(--green); }
.box.amber { border-left: 4px solid var(--amber); }
.pending { background: #fef3c7; color: #92400e; padding: 0 4px; border-radius: 4px; font-weight: 600; }
table { width: 100%; border-collapse: collapse; margin: 12px 0 22px; font-size: 14.5px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
th, td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
tr:last-child td { border-bottom: 0; }

/* Novedades */
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.toc a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--border-strong); font-size: 13px; font-weight: 600; color: var(--text); text-decoration: none; background: var(--surface); }
.toc a:hover { background: var(--red-soft); border-color: var(--red-mid); color: var(--red); }
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin: 18px 0 8px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow-sm); }
.card h3 { margin: 0 0 8px; font-size: 16px; }
.card p { font-size: 14.5px; color: var(--muted); margin-bottom: 0; }
.card p strong { color: var(--text); }
.card .tag { display: inline-block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.card.hl { border-color: var(--red-mid); background: linear-gradient(160deg, var(--surface) 0%, rgba(230,51,41,.04) 100%); }
.version-pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 99px; background: var(--green-soft); border: 1px solid rgba(22,163,74,.2); color: var(--green); font-weight: 600; font-size: 13px; margin-bottom: 18px; }
.version-pill .dot { width: 7px; height: 7px; border-radius: 99px; background: var(--green); }
@media (max-width: 720px) { .cards { grid-template-columns: 1fr; } main { padding: 36px 0 56px; } }

footer { padding: 32px 0; border-top: 1px solid var(--border); background: var(--surface); }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 14px; font-size: 14px; }
.footer-links a { color: var(--muted); }
.footer-links a:hover { color: var(--text); }
.footer-legal { font-size: 12px; color: var(--muted-2); line-height: 1.6; }
.footer-legal a { color: var(--muted); text-decoration: underline; text-underline-offset: 2px; }
