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

html {
  min-width: 320px;
  background: var(--page-blue-dark);
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--page-blue-dark);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}

img,
picture,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

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

h1,
p {
  margin: 0;
}

h1 {
  display: grid;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.02;
}

h1 span {
  white-space: nowrap;
}

:focus-visible {
  border-radius: var(--radius-sm);
  outline: 3px solid var(--app-sun);
  outline-offset: 4px;
}

::selection {
  background: var(--app-sun);
  color: var(--app-deep);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (min-width: 641px) {
  h1 {
    font-size: 4.65rem;
  }
}

@media (min-width: 1025px) {
  h1 {
    font-size: 5.45rem;
  }
}
