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

html {
  color-scheme: light;
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle, rgba(0, 0, 0, 0.13) 0 1px, transparent 1.2px),
    var(--pb-root-bg);
  background-attachment: fixed;
  background-size: 36px 36px, auto;
  color: var(--pb-ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

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

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--pb-accent) 52%, transparent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--pb-root-accent);
}

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

summary {
  cursor: pointer;
}

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

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--pb-ink);
  color: var(--pb-root-bg);
  padding: 0.65rem 0.9rem;
  text-decoration: none;
}

.skip-link:focus {
  transform: translateY(0);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

strong {
  color: var(--pb-ink);
  font-weight: 650;
}
