/* ==========================================================================
   Beanline Typography System - "Cyberpunk Chic"
   Display: Space Grotesk (headlines, numbers)
   UI/Body: Inter (everything else)
   ========================================================================== */

:root {
  /* -------------------------------------------------------------------------
     Font Families
     ------------------------------------------------------------------------- */
  --font-display: 'Space Grotesk', sans-serif;
  --font-ui: 'Inter', sans-serif;

  /* -------------------------------------------------------------------------
     Font Weights
     ------------------------------------------------------------------------- */
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* -------------------------------------------------------------------------
     Type Scale (fluid sizing)
     ------------------------------------------------------------------------- */
  --fs-h1: clamp(1.75rem, 4vw + 1rem, 2.5rem);
  --fs-h2: clamp(1.5rem, 3vw + 0.75rem, 1.75rem);
  --fs-h3: clamp(1.1rem, 2vw + 0.5rem, 1.25rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-micro: 0.75rem;

  /* -------------------------------------------------------------------------
     Line Heights
     ------------------------------------------------------------------------- */
  --lh-tight: 1.2;
  --lh-normal: 1.6;

  /* -------------------------------------------------------------------------
     Letter Spacing
     ------------------------------------------------------------------------- */
  --ls-tight: -0.02em;
  --ls-wide: 0.08em;
}

/* ==========================================================================
   Base Reset - Typography Only
   ========================================================================== */

body {
  font-family: var(--font-ui);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Typography Utility Classes
   ========================================================================== */

/* Display - Hero titles, large impact text */
.t-display {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

/* Heading - Section titles, card headers */
.t-heading {
  font-family: var(--font-display);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-tight);
  letter-spacing: var(--ls-tight);
}

/* Number - Step numbers, counters */
.t-number {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: 1;
}

/* Body - Paragraphs, descriptions */
.t-body {
  font-family: var(--font-ui);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
}

/* Label - Form labels */
.t-label {
  font-family: var(--font-ui);
  font-weight: var(--fw-semibold);
  line-height: var(--lh-normal);
}

/* Input - Form inputs and selects */
.t-input {
  font-family: var(--font-ui);
  font-weight: var(--fw-regular);
}

/* CTA - Call-to-action buttons and links */
.t-cta {
  font-family: var(--font-ui);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}

/* Micro - Small helper text, captions */
.t-micro {
  font-family: var(--font-ui);
  font-weight: var(--fw-regular);
  font-size: var(--fs-micro);
  line-height: var(--lh-normal);
}

/* Chip - Tags, badges, pills (uppercase) */
.t-chip {
  font-family: var(--font-ui);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: var(--ls-wide);
}
