/* Base element styles. Colors only through tokens (literal colors live in tokens.css, themes/
   and brand/). */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-sans);
  font-size: var(--font-size-md);
  line-height: var(--line-height-body);
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

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

h1,
h2,
p,
dl,
dd {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

/* The hidden attribute always wins, even over a class that sets display. */
[hidden] {
  display: none !important;
}

/* Page containers that receive focus after a page change (for keyboard and screen readers). */
main:focus {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--color-focus);
  outline-offset: 2px;
}

.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex: none;
}

/* The SeinovFlow logo (vector, built by js/logo.js). Width comes from where it is placed. */
.logo {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.noscript {
  padding: var(--space-8);
  text-align: center;
}
