/*
  Ported unchanged from /preview/assets/css/base.css.
  theme.json's styles.color/typography set the same body background,
  text color and font already (so the block editor canvas matches too);
  these rules are kept as the front-end's own explicit statement of the
  same values, exactly as in the static build.
*/

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

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

body {
  margin: 0;
  background: var(--wp--preset--color--warm-white);
  color: var(--wp--preset--color--charcoal);
  font-family: var(--font-sans);
  font-size: var(--wp--preset--font-size--base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  color: var(--wp--preset--color--near-black);
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Consistent, visible keyboard focus everywhere */
:focus-visible {
  outline: 2px solid var(--wp--preset--color--near-black);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

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