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

html {
  min-width: 20rem;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  background: var(--surface-page);
  text-size-adjust: 100%;
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  background: var(--surface-page);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  font-weight: 430;
  line-height: var(--leading-body);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body:has(dialog[open]),
body.menu-open {
  overflow: hidden;
}

::selection {
  background: var(--blue-600);
  color: var(--white);
}

:where(h1, h2, h3, h4, p, figure, blockquote, dl, dd) {
  margin: 0;
}

:where(ul, ol) {
  margin: 0;
  padding: 0;
}

:where(button, input, select, textarea) {
  color: inherit;
  font: inherit;
}

:where(button, [type="button"], [type="submit"]) {
  touch-action: manipulation;
}

:where(button, input, textarea, select, summary, a) {
  -webkit-tap-highlight-color: transparent;
}

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

img {
  height: auto;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--blue-600);
}

button {
  border: 0;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--blue-500);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

[inert] {
  pointer-events: none;
  user-select: none;
}

.skip-link {
  position: fixed;
  z-index: calc(var(--z-dialog) + 1);
  top: var(--space-3);
  left: var(--space-3);
  min-height: 2.75rem;
  padding: 0.65rem 1rem;
  transform: translateY(calc(-100% - 1rem));
  border-radius: var(--radius-pill);
  background: var(--white);
  box-shadow: var(--shadow-md);
  color: var(--ink-950);
  font-weight: 750;
  text-decoration: none;
  transition: transform var(--duration) var(--ease-out);
}

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

.shell,
.container {
  width: min(calc(100% - (2 * var(--gutter))), var(--container));
  margin-inline: auto;
}

.content-shell {
  width: min(calc(100% - (2 * var(--gutter))), var(--content));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(4.5rem, 9vw, 8.5rem);
}

.section--compact {
  padding-block: clamp(3rem, 6vw, 5.5rem);
}

.section--light {
  background: var(--surface-page);
  color: var(--text-primary);
}

.section--paper {
  background: var(--paper);
  color: var(--text-primary);
}

.section--dark,
.dark-section {
  background: var(--surface-dark);
  color: var(--text-inverse);
}

.section--blue {
  background: var(--blue-600);
  color: var(--text-inverse);
}

.section-header {
  display: grid;
  gap: var(--space-5);
  max-width: 58rem;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-header--split {
  grid-template-columns: minmax(0, 1.3fr) minmax(18rem, 0.7fr);
  max-width: none;
  align-items: end;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  color: var(--blue-700);
  font-size: var(--step--1);
  font-weight: 780;
  letter-spacing: var(--tracking-label);
  line-height: 1.2;
  text-transform: uppercase;
}

.section--dark :where(.eyebrow, .section-kicker),
.dark-section :where(.eyebrow, .section-kicker) {
  color: var(--sky);
}

h1,
h2,
h3,
h4,
.display {
  max-width: 22ch;
  font-family: var(--font-display);
  font-weight: 760;
  letter-spacing: var(--tracking-heading);
  line-height: var(--leading-heading);
  text-wrap: balance;
}

h1,
.display--xl {
  font-size: var(--step-6);
  letter-spacing: var(--tracking-tight);
  line-height: var(--leading-tight);
}

h2,
.display--lg {
  font-size: var(--step-4);
}

h3,
.display--md {
  font-size: var(--step-2);
}

h4 {
  font-size: var(--step-1);
}

.lede {
  max-width: 42rem;
  color: var(--text-secondary);
  font-size: var(--step-1);
  line-height: 1.55;
  text-wrap: pretty;
}

.section--dark .lede,
.dark-section .lede {
  color: var(--text-inverse-muted);
}

.fine-print,
.meta {
  color: var(--text-muted);
  font-size: var(--step--1);
  line-height: 1.5;
}

.section--dark :where(.fine-print, .meta),
.dark-section :where(.fine-print, .meta) {
  color: var(--text-inverse-muted);
}

.flow > * + * {
  margin-top: var(--flow-space, 1em);
}

.stack {
  display: grid;
  gap: var(--space-6);
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-3);
}

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

.no-js [data-js-only] {
  display: none !important;
}

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

@media print {
  :root {
    color-scheme: light;
  }

  body {
    background: #fff;
    color: #000;
  }

  :where(.site-header, .mobile-menu, dialog, .voice-visualizer, [data-js-only]) {
    display: none !important;
  }

  .section,
  .section--dark,
  .dark-section {
    break-inside: avoid;
    padding-block: 2rem;
    background: #fff !important;
    color: #000 !important;
  }
}
