/* Maerev: what maerev.css holds that tokens.json cannot (fonts, gradient, motion, variables for the
   type scale and weights) plus its base rules. Colors, spacing, radii and shadows come from tokens.css. */

/* Webfonts: Josefin Sans, Fraunces, JetBrains Mono (served from Google Fonts; no font files were supplied). */
@import url('https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@400;500;600;700&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;1,9..144,400;1,9..144,600&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  color-scheme: light;

  /* The signature gradient: 135deg, cyan to indigo, no extra stops. */
  --gradient-signature: linear-gradient(135deg, var(--maerev-cyan) 0%, var(--maerev-indigo) 100%);

  /* Weight ladder */
  --weight-bold: 700;
  --weight-semibold: 600;
  --weight-medium: 500;
  --weight-regular: 400;

  /* Type scale variables used by the components and the starter page */
  --text-display: clamp(56px, 8vw, 96px);
  --text-h1: 44px;
  --text-h2: 26px;
  --text-h3: 19px;
  --text-body-size: 16px;
  --leading-body: 1.6;
  --text-caption: 12px;
  --tracking-caption: 0.06em;
  --leading-tight: 1.1;
  --leading-heading: 1.2;

  /* Motion: quick fades and gentle eases, no bounces */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --duration-fast: 120ms;
  --duration-base: 200ms;
}

body {
  font-family: var(--font-sans);
  font-size: var(--text-body-size);
  line-height: var(--leading-body);
  color: var(--text-body);
  background: var(--surface-page);
  -webkit-font-smoothing: antialiased;
}
a {
  color: var(--link);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
