html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-b);
  font-size: var(--fs-1);
  line-height: var(--lh-normal);
  color: var(--c-text);
  background-color: var(--c-bg);
}

main {
  padding-top: calc(72px + var(--sp-10) + var(--sp-4));
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--ff-h);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  color: var(--c-primary);
}

h1 { font-size: var(--fs-5); }
h2 { font-size: var(--fs-4); }
h3 { font-size: var(--fs-3); }
h4 { font-size: var(--fs-2); }

p {
  margin-bottom: var(--sp-4);
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--c-forest);
  text-decoration: none;
  transition: color var(--tr-fast);
}

a:hover {
  color: var(--c-text);
}

strong, b {
  font-weight: var(--fw-semibold);
}

::selection {
  background-color: var(--c-secondary);
  color: white;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section {
  padding-block: var(--sp-14);
}

.section--dark {
  background: var(--gradient-brand);
  color: white;
  max-width: var(--container-max);
  margin-inline: auto;
  border-radius: 16px;
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: white;
}

.section--dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section--dark a:not(.btn) {
  color: white;
}

.section--dark .btn--primary {
  background: transparent;
  border-color: white;
  color: white;
  box-shadow: none;
}

.section--dark .btn--primary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  color: white;
  box-shadow: none;
}

.section--surface {
  background-color: var(--c-surface);
}

.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;
}

.text-muted {
  color: var(--c-muted);
}

.text-center {
  text-align: center;
}

.text-accent {
  color: var(--c-forest);
}

.mono {
  font-family: var(--ff-m);
}
