@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Newsreader:ital,opsz,wght@0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,500&display=swap');

/* ─── Reset ─── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
h1,h2,h3,h4 { margin: 0; line-height: 1.1; }
img { max-width: 100%; height: auto; }
button { font-family: inherit; }

/* ─── Design tokens (Variation A — Editorial Premium) ─── */
:root {
  --bg:         #f4f7fb;
  --surface:    #ffffff;
  --surface2:   #edf4f8;
  --border:     #d8e2eb;
  --cell-border:#d9e4ee;

  --text:       #162236;
  --muted:      #5f6f82;
  --muted2:     #8c9aac;

  --accent:       #e04f5f;
  --accent-hover: #cb4353;
  --accent-soft:  #fdecee;

  --accent2:      #d7a41f;
  --accent2-text: #162236;

  /* Festivos */
  --nat:      #e65a67;  --nat-t:  #ffffff;
  --nat-sust: #f0a0aa;  --nat-sust-t: #5a1520;
  --aut:      #f2c14b;  --aut-t:  #223047;
  --loc:      #8fc9e9;  --loc-t:  #17314d;

  --font-serif: 'Newsreader', 'Source Serif 4', Georgia, serif;
}

:root[data-theme="dark"] {
  --bg:         #0E1116;
  --surface:    #161B22;
  --surface2:   #1C232C;
  --border:     #252D38;
  --cell-border:#1C232C;

  --text:       #F5F2EC;
  --muted:      #8A93A0;
  --muted2:     #6B7380;

  --accent:       #E63946;
  --accent-hover: #CC2F3B;
  --accent-soft:  #3A1A1F;

  --accent2:      #F4C430;
  --accent2-text: #0E1116;

  --nat:      #E63946;  --nat-t:  #FFFFFF;
  --nat-sust: #f07080;  --nat-sust-t: #fff;
  --aut:      #F4C430;  --aut-t:  #0E1116;
  --loc:      #2A4A6B;  --loc-t:  #E5F0FA;
}
