/* ============================================================
   Base reset + typography + shared primitives
   ============================================================ */
@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Hanken+Grotesk:ital,wght@0,400;0,500;0,600;0,700;1,500&family=Nunito:wght@600;700&display=swap");

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

h1, h2, h3 { font-family: var(--font-display); color: var(--text-primary); margin: 0; font-weight: var(--fw-medium); }
h1 { font-size: var(--fs-display); line-height: var(--lh-display); }
h2 { font-size: var(--fs-h2);      line-height: var(--lh-h2); }
h3 { font-size: var(--fs-h3);      line-height: var(--lh-h3); }

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

/* --- Button primitive (consolidated from Figma's many button sets) ---
   Modifiers map to Figma variant props: colour + radius + size. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-8);
  padding: 13px var(--space-32);   /* ~44px tall (v8 ui/button min-h 44) */
  font-family: var(--font-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  line-height: 1;
  border: 1.5px solid transparent;
  border-radius: var(--radius-sm);   /* v8: buttons are 4px, not pills */
  white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--brand   { background: var(--surface-brand);   color: var(--text-inverse); }
.btn--brand:hover   { background: var(--teal-600); }
.btn--primary { background: var(--surface-primary); color: var(--text-inverse); }
.btn--primary:hover { background: var(--navy-700); }
.btn--ghost   { background: transparent; color: var(--text-inverse); border-color: rgba(255,255,255,.85); }
.btn--ghost:hover   { background: rgba(255,255,255,.15); }
.btn--pill { border-radius: var(--radius-pill); }
.btn .btn__icon { width: 20px; height: 20px; flex: 0 0 auto; }

/* small caps caption label used across sections */
.eyebrow {
  font-family: var(--font-body);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-primary);
}
.eyebrow--brand { color: var(--text-brand); }
