/* ==========================================================================
   Answerly — Typography tokens (all-sans system)
   ========================================================================== */
:root {
  /* ---- Families ---- */
  --font-sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  /* ---- Weights ---- */
  --fw-regular:  400; /* @kind font */
  --fw-medium:   500; /* @kind font */
  --fw-semibold: 600; /* @kind font */
  --fw-bold:     700; /* @kind font */
  --fw-extrabold:800; /* @kind font */

  /* ---- Display / headline scale (tight, bold grotesque) ---- */
  --text-display-2xl: 5rem;     /* 80px — hero */
  --text-display-xl:  3.75rem;  /* 60px */
  --text-display-lg:  3rem;     /* 48px */
  --text-h1: 2.5rem;            /* 40px */
  --text-h2: 2rem;              /* 32px */
  --text-h3: 1.5rem;            /* 24px */
  --text-h4: 1.25rem;           /* 20px */

  /* ---- Body / UI scale ---- */
  --text-body-lg: 1.125rem;     /* 18px */
  --text-body:    1rem;         /* 16px */
  --text-sm:      0.875rem;     /* 14px */
  --text-xs:      0.75rem;      /* 12px */
  --text-eyebrow: 0.8125rem;    /* 13px — uppercase tracked label */

  /* ---- Line heights ---- */
  --lh-tight:   1.04;  /* @kind font */
  --lh-snug:    1.15;  /* @kind font */
  --lh-normal:  1.5;   /* @kind font */
  --lh-relaxed: 1.65;  /* @kind font */

  /* ---- Letter spacing ---- */
  --ls-tighter: -0.03em; /* @kind font */
  --ls-tight:   -0.02em; /* @kind font */
  --ls-normal:  0;       /* @kind font */
  --ls-eyebrow: 0.08em;  /* @kind font */
  --ls-mono:    0.01em;  /* @kind font */
}

/* ---- Document defaults ---- */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--lh-normal);
  color: var(--text-primary);
  font-feature-settings: 'ss01', 'cv01';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
