/* Modern CSS reset (same base as HW1 and HW2) */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  background-color: var(--bg-primary);
  color: var(--text-primary);
}

h1,
h2 {
  line-height: 1.2;
}

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

/* Form controls do not inherit typography by default */
input,
button {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

/* Keyboard focus ring; :focus-visible keeps it off mouse clicks and taps */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}
