/* Reset, typography, layout primitives, buttons, motion utilities */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3 { color: var(--navy); font-weight: 650; text-wrap: balance; }
p { text-wrap: pretty; }

:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 100;
  background: var(--navy); color: #fff; padding: 10px 16px; border-radius: var(--r-sm);
}
.skip-link:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }

.eyebrow {
  font-size: var(--fs-eyebrow); font-weight: 650; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue); line-height: 1.4;
}
.h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.06; letter-spacing: -0.03em; }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.14; letter-spacing: -0.022em; }
.lead { font-size: var(--fs-lead); line-height: 1.65; color: var(--ink); max-width: 62ch; }

.section-head { text-align: center; max-width: 62rem; margin-inline: auto; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head .lead { margin: 20px auto 0; max-width: 42rem; text-wrap: balance; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: var(--r-sm);
  font-weight: 650; font-size: 0.9375rem; letter-spacing: 0.005em; white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.2s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn--primary { background: var(--blue); color: #fff; box-shadow: 0 1px 2px rgba(11, 111, 220, 0.3), 0 8px 20px rgba(11, 111, 220, 0.18); }
.btn--primary:hover { background: var(--blue-hover); }
.btn--secondary { background: #fff; color: var(--navy); border: 1px solid var(--line-strong); }
.btn--secondary:hover { border-color: var(--blue-300); background: var(--blue-50); }
.btn--sm { min-height: 42px; padding: 0 18px; }

/* scroll reveal — only when JS is present, so content is never hidden without it */
.js [data-reveal] { opacity: 0; transform: translateY(12px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); transition-delay: var(--d, 0ms); }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition-duration: 0.01ms !important; transition-delay: 0ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
