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

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

body {
  margin: 0;
  color: var(--rollin-color-ink);
  background: var(--rollin-color-paper);
  font-family: var(--rollin-font-body);
  font-size: var(--rollin-text-md);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

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

img {
  height: auto;
}

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

button,
[type="button"],
[type="submit"] {
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 3px solid var(--rollin-color-blue);
  outline-offset: 3px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 var(--rollin-space-4);
  font-family: var(--rollin-font-display);
  font-weight: 900;
  line-height: 0.98;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

h1 {
  font-size: var(--rollin-heading-lg);
}

h2 {
  font-size: var(--rollin-heading-md);
}

h3 {
  font-size: var(--rollin-heading-sm);
}

p {
  margin: 0 0 var(--rollin-space-4);
}

ul,
ol {
  padding-inline-start: 1.25em;
}

::selection {
  color: var(--rollin-color-ink);
  background: var(--rollin-color-cyan);
}

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

.screen-reader-text:focus {
  z-index: 100000;
  top: 1rem;
  left: 1rem;
  width: auto;
  height: auto;
  padding: 1rem;
  margin: 0;
  overflow: visible;
  clip: auto;
  color: var(--rollin-color-paper);
  background: var(--rollin-color-ink);
}
