/* ============================================================
   Reach — Base element defaults + typography helpers
   ============================================================ */

:root {
  color-scheme: light;
}

body {
  font-family: var(--font-ui);
  font-size: var(--body-size);
  line-height: var(--body-lh);
  font-weight: var(--fw-regular);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- App headings (Roboto) ---- */
h1, .reach-h1 { font-size: var(--h1-size); line-height: var(--h1-lh); font-weight: var(--h1-weight); color: var(--text-heading); margin: 0; }
h2, .reach-h2 { font-size: var(--h2-size); line-height: var(--h2-lh); font-weight: var(--h2-weight); color: var(--text-heading); margin: 0; }
h3, .reach-h3 { font-size: var(--h3-size); line-height: var(--h3-lh); font-weight: var(--h3-weight); color: var(--text-heading); margin: 0; }
h4, .reach-h4 { font-size: var(--h4-size); line-height: var(--h4-lh); font-weight: var(--h4-weight); color: var(--text-heading); margin: 0; }
h5, .reach-h5 {
  font-size: var(--h5-size); line-height: var(--h5-lh); font-weight: var(--h5-weight);
  color: var(--text-muted); margin: 0;
  text-transform: uppercase; letter-spacing: 0.06em;
}

p { margin: 0; }

/* ---- Links ---- */
a { color: var(--text-link); text-decoration: none; }
a:hover { color: var(--text-link-hover); text-decoration: underline; }

/* ---- Marketing display type (Lato) ---- */
.reach-display {
  font-family: var(--font-marketing);
  font-weight: var(--fw-black);
  color: var(--brand-blue);
  line-height: 1.05;
  letter-spacing: -0.01em;
}
