/*
  THEOS — Base / Reset
  ---------------------------------------------------------------
  Minimal global reset. Components own their own spacing/typography;
  this file only sets sane defaults on html/body and box-sizing.
*/

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--fg-primary);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-wrap: pretty;
}

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

img, svg { display: block; max-width: 100%; }

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

button, input, textarea, select { font-family: inherit; color: inherit; }

:focus-visible {
  outline: none;
  box-shadow: var(--shadow-focus-ring);
  border-radius: var(--radius-xs);
}

::selection { background: var(--ember-200); color: var(--ink-950); }
