* {
  box-sizing: border-box;
}

html {
  color-scheme: light;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + var(--product-nav-height) + 16px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

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

img {
  height: auto;
}

p,
ul,
ol,
dl {
  margin-top: 0;
}

p {
  color: var(--color-text-muted);
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--color-text);
  font-weight: 680;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

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

h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.3rem, 2vw, 1.65rem);
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.4);
  outline-offset: 4px;
  border-radius: 6px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--color-text);
  color: #fff;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 64px), var(--container));
  margin-inline: auto;
}

.reading-width,
.prose {
  max-width: var(--reading);
}

.section {
  padding: clamp(72px, 7vw, 96px) 0;
}

.section--compact {
  padding: clamp(56px, 6vw, 80px) 0;
}

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

.section-heading {
  max-width: 740px;
  margin-bottom: clamp(32px, 4vw, 48px);
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 14px;
}

.section-heading > p:last-child {
  max-width: 650px;
  margin-bottom: 0;
  font-size: clamp(1rem, 1.5vw, 1.12rem);
}

.section-heading--center > p:last-child {
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 0.75rem;
  font-weight: 720;
  letter-spacing: 0.08em;
}

.large-copy {
  color: var(--color-text-soft);
  font-size: clamp(1.15rem, 1.9vw, 1.45rem);
  line-height: 1.5;
  letter-spacing: -0.015em;
}

.muted {
  color: var(--color-text-muted);
}

.reveal {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 360ms ease, transform 360ms ease;
}

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

.prose h2 {
  margin: 42px 0 12px;
  font-size: clamp(1.55rem, 2.5vw, 2rem);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p {
  margin-bottom: 18px;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .container {
    width: min(calc(100% - 48px), var(--container));
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  h1 {
    font-size: clamp(2.25rem, 10vw, 2.75rem);
  }

  h2 {
    font-size: clamp(1.75rem, 8vw, 2.1rem);
  }

  .container {
    width: min(calc(100% - 36px), var(--container));
  }

  .section,
  .section--compact {
    padding: 48px 0;
  }

  .section-heading {
    margin-bottom: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
