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

html { scroll-behavior: smooth; }

html { color-scheme: light; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 19px;
  font-weight: 400;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

button, input { font: inherit; color: inherit; }

h1, h2, h3, p { margin: 0; text-wrap: balance; }

h1 {
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
}

h2 {
  font-size: clamp(40px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

h3 {
  font-size: clamp(24px, 2.2vw, 28px);
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.15;
}

.sub {
  font-size: clamp(21px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.3;
  color: var(--fg-2);
}

.eyebrow {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}

.wrap {
  width: min(var(--max), calc(100% - 48px));
  margin-inline: auto;
}

.wrap-narrow { width: min(820px, calc(100% - 48px)); margin-inline: auto; }

.center { text-align: center; }

.lede { max-width: 720px; }
.lede.center, .center .lede { margin-inline: auto; }

section { position: relative; }

.skip {
  position: absolute;
  left: 16px;
  top: -40px;
  background: var(--fg);
  color: var(--bg);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus { top: 12px; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

kbd {
  font-family: ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 0.82em;
  line-height: 1;
  border: 1px solid var(--hairline-2);
  background: var(--bg-elev-2);
  border-radius: 6px;
  padding: 0.18em 0.42em;
  margin: 0 0.08em;
}

@media (max-width: 767px) {
  .wrap, .wrap-narrow { width: min(100% - 32px, var(--max)); }
}
