*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-mobile) + 12px); }
@media (min-width: 768px) { html { scroll-padding-top: calc(var(--header-h) + 16px); } }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--ff-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  min-height: 100vh;
}
img, picture, svg, video, iframe { display: block; max-width: 100%; }
img { height: auto; }
figure { margin: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
table { border-collapse: collapse; width: 100%; }
[hidden] { display: none !important; }

h1, h2, h3, h4 {
  font-family: var(--ff-display);
  color: var(--text);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
}
h1 { font-size: clamp(2.2rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); }
p { color: var(--text-2); }

::selection { background: var(--accent); color: #fff; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--accent) 50%, transparent); border-radius: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
::placeholder { color: var(--text-mute); opacity: 1; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
@media (min-width: 768px) { .container { padding: 0 32px; } }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* Section base, mobile-first padding */
section { padding: 48px 0; }
@media (min-width: 768px) { section { padding: 80px 0; } }
.section-eyebrow {
  font-family: var(--ff-ui);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.section-eyebrow::before {
  content: ""; width: 28px; height: 1px; background: var(--accent);
}
.section-title {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.1;
  max-width: 22ch;
  margin-bottom: 12px;
}
.section-title em { font-style: italic; color: var(--accent); }
.section-lede {
  font-size: clamp(1rem, 1.4vw, 1.1rem);
  color: var(--text-2);
  max-width: 58ch;
  margin-bottom: clamp(28px, 4vw, 44px);
}
