/* Reset, typography, container, utilities */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; background: var(--bg); }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font: 400 var(--fs-body)/1.6 var(--font-body);
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
main { flex: 1 0 auto; padding-top: calc(var(--header-top) + var(--header-h)); }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
::selection { background: rgb(210 255 77 / 0.85); color: var(--ink-on-signal); }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 8px; }

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 560; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-hero); line-height: 1.0; letter-spacing: -0.045em; }
h2 { font-size: var(--fs-h2); line-height: 1.05; letter-spacing: -0.035em; }
h3 { font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.02em; font-weight: 520; }
p { margin: 0; color: var(--ink-2); text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.6; color: var(--ink-2); max-width: 60ch; }
.mono { font-family: var(--font-mono); }

.grad {
  background: var(--grad-aurora);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.grad-signal { background: var(--grad-signal); -webkit-background-clip: text; background-clip: text; color: transparent; }

.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.section-tight { padding-block: calc(var(--section-y) * 0.55); }
.stack { display: grid; gap: var(--stack, 20px); align-content: start; }
.stack-l { --stack: 40px; }
[data-status-block][hidden] { display: none; }
.center { text-align: center; margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section-head { display: grid; gap: 22px; max-width: 820px; margin-bottom: clamp(48px, 6vw, 80px); }
.section-head.center { justify-items: center; text-align: center; }
.section-head .lead { margin-inline: inherit; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}
