:root {
  color-scheme: light;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font: var(--text-style-body);
  color: var(--text-primary);
  background: var(--surface-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, h6, p {
  margin: 0;
}

a {
  color: var(--text-link);
  text-decoration: none;
}

a:hover {
  color: var(--text-link-hover);
  text-decoration: underline;
}

button {
  font: inherit;
}

::selection {
  background: var(--brand-tint-10);
}

/* Fluent-style visible focus ring — never rely on color alone */
:focus-visible {
  outline: var(--border-width-thick) solid var(--border-focus);
  outline-offset: 1px;
}
