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

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

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--color-charcoal);
  background-color: var(--color-pearl);
  min-height: 100vh;
  overflow-x: hidden;
}

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

a {
  color: var(--color-rose-dark);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover,
a:focus-visible {
  color: var(--color-rose);
}

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

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-tight);
  color: var(--color-charcoal);
}

h1 {
  font-size: var(--fs-hero);
}

h2 {
  font-size: var(--fs-xl);
}

h3 {
  font-size: var(--fs-lg);
}

h4 {
  font-size: var(--fs-md);
  font-family: var(--font-body);
  font-weight: 500;
}

p {
  margin-bottom: var(--space-4);
}

p:last-child {
  margin-bottom: 0;
}

strong {
  font-weight: 600;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, var(--container-narrow));
}

.section {
  padding-block: var(--section-pad);
}

.section--apricot {
  background-color: var(--color-apricot);
}

.section--blush {
  background-color: var(--color-blush);
}

.section__eyebrow {
  display: block;
  font-size: var(--fs-xs);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-rose-dark);
  margin-bottom: var(--space-3);
  font-weight: 500;
}

.section__title {
  margin-bottom: var(--space-4);
}

.section__lead {
  color: var(--color-muted);
  max-width: 38rem;
  font-size: var(--fs-md);
}

.section__header {
  margin-bottom: var(--space-7);
  max-width: 40rem;
}

.text-center {
  text-align: center;
}

.text-center .section__lead {
  margin-inline: auto;
}

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

.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-4);
  z-index: 2000;
  background: var(--color-charcoal);
  color: var(--color-white);
  padding: var(--space-3) var(--space-4);
}

.skip-link:focus {
  top: var(--space-4);
  color: var(--color-white);
}
