/* Reset + primitives */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-strong); text-decoration: none; }
a:hover { color: var(--accent-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; color: var(--ink); text-wrap: balance; }
h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
p { text-wrap: pretty; }
button { font: inherit; cursor: pointer; }
ul { padding: 0; list-style: none; }
del { color: var(--text-soft); font-weight: 400; }

.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(1rem, 4vw, 2rem); }
.center { text-align: center; }
.kicker {
  display: inline-block;
  font-size: var(--fs-small);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-strong);
  background: var(--green-100);
  border-radius: 999px;
  padding: 0.35em 1em;
  margin-bottom: 1rem;
}
.lede { font-size: var(--fs-lede); color: var(--text-soft); max-width: 42em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--accent-deep); color: #fff; padding: 0.6em 1.2em; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

.btn {
  display: inline-block;
  font-weight: 800;
  border-radius: 999px;
  padding: 0.8em 1.8em;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), background var(--dur) var(--ease);
}
.btn-primary { background: var(--accent-strong); color: #fff; box-shadow: var(--shadow); }
.btn-primary:hover { background: var(--accent-deep); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn-ghost { border: 2px solid var(--green-200); color: var(--accent-deep); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); background: var(--green-050); transform: translateY(-2px); }

/* Scroll reveal (progressive enhancement — visible without JS) */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
}
