html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-bg-page);
  color: var(--color-fg-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-block: 0 0.65em;
  color: var(--color-fg-primary);
  font-family: var(--font-sans);
  font-weight: 650;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
}

h3 {
  font-size: clamp(1.375rem, 2vw, 1.5rem);
}

p,
ul,
ol {
  margin-block: 0 1.2em;
}

a {
  color: var(--color-action-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--color-action-hover);
}

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

::selection {
  background: var(--color-brand-soft);
}

.wp-site-blocks {
  min-height: 100vh;
}

.wp-site-blocks > main {
  min-height: 50vh;
}
