/* ============================================================
   MKTelinks — Base: reset, tipografía, scrollbar
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  font-family: var(--font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h1 { font-size: 22px; }
h2 { font-size: 17px; }
h3 { font-size: 15px; }
p  { margin: 0; }
a  { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-strong); }

::selection { background: rgba(11, 143, 94, 0.18); }

/* Scrollbar */
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: var(--scroll);
  border-radius: 8px;
  border: 3px solid var(--bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--scroll-hover); }

/* Iconos Lucide */
.lucide { display: inline-block; vertical-align: -0.15em; stroke-width: 2.2; }

/* Utilidades */
.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.mono  { font-family: var(--font-mono); font-size: 12.5px; }
.right { text-align: right; }
.center{ text-align: center; }
.strong{ font-weight: 700; }
.nowrap{ white-space: nowrap; }
.muted-link { color: var(--text-2); }
.muted-link:hover { color: var(--text); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}
