* { box-sizing: border-box; }

html { scroll-behavior: smooth; background: var(--color-night); }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--color-night);
  color: var(--color-white);
  font-family: var(--font-sans);
  text-rendering: optimizeLegibility;
}

body::selection { background: var(--color-signal); color: var(--color-night); }

a { color: inherit; text-decoration: none; }
button, input, select { color: inherit; font: inherit; }
button { cursor: pointer; }
p, h1, h2, h3, dl, dd { margin: 0; }

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

.section { padding-block: clamp(88px, 11vw, 156px); }

h1, h2, h3 { text-wrap: balance; }
h1 { font-size: clamp(3.65rem, 8vw, 7.2rem); font-weight: 700; letter-spacing: -0.078em; line-height: 0.91; }
h2 { max-width: 820px; font-size: clamp(2.45rem, 5vw, 4.5rem); font-weight: 650; letter-spacing: -0.065em; line-height: 0.98; }
h3 { font-size: 1.35rem; letter-spacing: -0.035em; }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--color-signal);
  font: 500 0.7rem/1.3 var(--font-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before { width: 30px; height: 1px; background: currentColor; content: ""; }

.section-heading { margin-bottom: clamp(42px, 7vw, 80px); }
.section-heading .eyebrow { margin-bottom: 22px; }
.section-copy { max-width: 590px; color: var(--color-fog); font-size: 1.08rem; line-height: 1.75; }

:focus-visible { outline: 2px solid var(--color-signal); outline-offset: 4px; }

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