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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  color: var(--color-ink);
  background: var(--color-white);
  overflow-x: hidden;
}

body.has-bottom-nav {
  padding-bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom));
}

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

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

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

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
}

button,
.btn {
  font-family: var(--font-display);
}

.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;
}

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

.section {
  padding-block: var(--space-3xl);
}

.section--dark {
  background: var(--color-black);
  color: var(--color-white);
}

.section--ice {
  background: linear-gradient(180deg, var(--color-white) 0%, var(--color-ice) 100%);
}

.section-label {
  font-family: var(--font-display);
  font-size: clamp(0.75rem, 2vw, 0.875rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--color-brand);
}

.section-lead {
  margin-top: var(--space-md);
  color: var(--color-muted);
  font-size: 0.9375rem;
}

.section--dark .section-lead {
  color: rgba(255, 255, 255, 0.65);
}

.section--dark .section-title {
  color: var(--color-white);
}

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--transition), transform var(--transition);
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 768px) {
  body.has-bottom-nav {
    padding-bottom: 0;
  }
}
