:root {
  color-scheme: dark;
  --bp-header-height: 5rem;
  --bp-content-max: 82.5rem;
}

html {
  background: var(--wp--preset--color--background);
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

:where(p, li) {
  max-width: 68ch;
}

:where(img, video, iframe) {
  max-width: 100%;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid var(--wp--preset--color--accent);
  outline-offset: 3px;
}

:where(button, input, select, textarea) {
  font: inherit;
}

:where(button, [type="button"], [type="submit"], a) {
  -webkit-tap-highlight-color: transparent;
}

.screen-reader-text:not(:focus):not(:active) {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.bp-section {
  padding-block: clamp(4rem, 9vw, 9rem);
}

.bp-kicker {
  margin: 0 0 1rem;
  color: var(--wp--preset--color--muted);
  font-size: 0.8125rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.bp-light-section {
  color-scheme: light;
  background: var(--wp--preset--color--light);
  color: var(--wp--preset--color--ink);
}

.bp-light-section :where(h1, h2, h3, h4, h5, h6) {
  color: var(--wp--preset--color--ink);
}

.bp-light-section :where(p, li) {
  color: #444a57;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
