html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
p { margin: 0; }
img { max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  margin: 0;
  letter-spacing: -0.025em;
}

.h2 { font-size: clamp(34px, 4.4vw, 54px); line-height: 1.08; font-weight: 600; }
.h2--md { font-size: clamp(32px, 4vw, 48px); line-height: 1.1; }
.h3 { font-size: 22px; font-weight: 600; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.page { display: flex; flex-direction: column; min-height: 100vh; }
.container { max-width: var(--container); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
