/* base.css — tipografia di base, link, focus, selezione */

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  font-weight: 400;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: -.01em;
}
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); font-weight: 500; }
h4 { font-size: var(--fs-h4); font-weight: 500; }

a {
  color: var(--acc2);
  text-decoration-thickness: 1px;
  text-underline-offset: .2em;
}
a:hover { text-decoration-thickness: 2px; }

strong, b { font-weight: 700; }

code, kbd, pre, samp { font-family: var(--font-mono); font-size: .92em; }

hr { border: 0; border-top: 1px solid var(--line); }

::selection { background: color-mix(in srgb, var(--acc) 35%, transparent); }

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

.meta { color: var(--mut); font-size: var(--fs-sm); }
