/* ============================================================
   Base
   Element-level defaults only. Everything else styles semantic
   classes (no inline styles anywhere in the prototype).
   ============================================================ */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

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

::selection {
  background: rgba(20, 184, 166, .28);
}

::placeholder {
  color: var(--placeholder);
}

select option {
  background: var(--field);
  color: var(--text);
}

a {
  color: var(--accent-lt);
}

a:hover {
  color: var(--accent-lt2);
}

/* Keyboard only. Clicking a button focuses it too, and some browsers ring it
   anyway — on a teal button that ring reads as a glow, so it's turned off
   explicitly and :active carries the press instead. */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}
