/* Base: reset, typography defaults and shared utilities. */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-orchid); }
a:hover { color: var(--c-text-strong); }

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

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

:focus-visible { outline: var(--focus); outline-offset: 3px; }

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Lock page scroll while a modal dialog is open */
html.has-dialog { overflow: hidden; }
