/* Reset + base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; tab-size: 4; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 18px;
  line-height: 1.8;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 400; line-height: 1.0; letter-spacing: -0.05em; margin: 0; }
h1 { font-size: clamp(2.4rem, 4.2vw, 3.6rem); }   /* ≈ 50px desktop */
h2 { font-size: clamp(1.875rem, 3.2vw, 2.6rem); letter-spacing: -0.04em; line-height: 1.05; }  /* ≈ 38px desktop */
h3 { font-size: clamp(1.35rem, 1.8vw, 1.6rem); letter-spacing: -0.03em; line-height: 1.1; }    /* ≈ 26px desktop */
p { margin: 0 0 1em; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease); }
a:hover, a:focus-visible { color: var(--color-accent); }
img, svg { max-width: 100%; height: auto; display: block; }
button { font: inherit; cursor: pointer; }

/* a11y */
:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

/* Layout helpers */
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--container-pad); }
.section { padding-block: var(--sp-8); }

/* Utility */
.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; }
