/* Reset + typography + layout */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { color: #6aebb0; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: var(--lh-tight);
  letter-spacing: var(--tracking-hero);
  font-weight: 650;
  color: var(--text);
  margin: 0;
}

h1 { font-size: var(--fs-hero); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: 1.125rem; letter-spacing: -0.01em; }

p { margin: 0 0 var(--space-4); }
p:last-child { margin-bottom: 0; }

ul, ol {
  margin: 0;
  padding-left: 1.25rem;
}
li { margin: 0.28rem 0; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--content-w));
  margin-inline: auto;
}

.section {
  padding: var(--space-7) 0;
}

.section-head {
  margin-bottom: var(--space-5);
}

.section-head h2 {
  margin-bottom: var(--space-2);
}

.eyebrow {
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.06em;
  text-transform: none;
  margin: 0 0 var(--space-3);
}

.muted { color: var(--text-muted); }
.faint { color: var(--text-faint); font-size: var(--fs-sm); }

.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;
}

@media (max-width: 640px) {
  .section { padding: var(--space-6) 0; }
}
