:root {
  --site-font: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Ubuntu, Cantarell, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
  --loading-background: light-dark(#ececea, #312d32);
  font-family: var(--site-font);
}

.loading-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.loading-line {
  display: block;
  width: min(100%, 16rem);
  height: 1lh;
  border-radius: 4px;
  background: var(--loading-background);
}

.loading-line + .loading-line {
  width: min(65%, 10rem);
}

img[data-loading] {
  visibility: hidden;
}

:where(a[href]) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

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

@media (max-width: 760px), (pointer: coarse) {
  input:is(:not([type]), [type="text"], [type="search"], [type="email"], [type="password"], [type="tel"], [type="url"], [type="number"]),
  select,
  textarea,
  [contenteditable]:not([contenteditable="false" i]) {
    /* Keep the mobile size even when a page sets its own font shorthand. */
    font-size: max(16px, 1rem) !important;
  }
}

.hero-logo {
  display: block;
  width: 100%;
  height: auto;
}
