:root {
  /* Font Families */
  --font-family-base: "Inter", system-ui, sans-serif;
  --font-family-heading: "Inter", system-ui, sans-serif;
  --font-family-mono: "Fira Code", "Courier New", monospace;

  /* Font Sizes */
  --font-size-base: 16px;
  --font-size-h1: 2.5rem;
  --font-size-h2: 2rem;
  --font-size-h3: 1.75rem;
  --font-size-h4: 1.5rem;
  --font-size-h5: 1.25rem;
  --font-size-h6: 1rem;
  --font-size-small: 0.875rem;
  --font-size-tiny: 0.75rem;

  /* Line Heights */
  --line-height-base: 1.6;
  --line-height-heading: 1.2;
  --line-height-tight: 1.4;
  --line-height-loose: 1.8;

  /* Font Weights */
  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;

  /* Letter Spacing */
  --letter-spacing-tight: -0.025em;
  --letter-spacing-normal: 0;
  --letter-spacing-wide: 0.025em;
  --letter-spacing-wider: 0.05em;

  /* Paragraph Spacing */
  --paragraph-spacing: 1em;
}

/* Global Typography Styles */
body {
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-normal);
  letter-spacing: var(--letter-spacing-normal);
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  line-height: var(--line-height-heading);
  font-weight: var(--font-weight-bold);
  margin-top: 0;
  margin-bottom: 0.5em;
  letter-spacing: var(--letter-spacing-tight);
}

h1 {
  font-size: var(--font-size-h1);
}

h2 {
  font-size: var(--font-size-h2);
}

h3 {
  font-size: var(--font-size-h3);
}

h4 {
  font-size: var(--font-size-h4);
}

h5 {
  font-size: var(--font-size-h5);
}

h6 {
  font-size: var(--font-size-h6);
}

/* Paragraphs */
p {
  margin-top: 0;
  margin-bottom: var(--paragraph-spacing);
  line-height: var(--line-height-base);
}

/* Small Text */
small, .text-small {
  font-size: var(--font-size-small);
}

.text-tiny {
  font-size: var(--font-size-tiny);
}

/* Text Utilities */
.text-tight {
  line-height: var(--line-height-tight);
}

.text-loose {
  line-height: var(--line-height-loose);
}

.font-light {
  font-weight: var(--font-weight-light);
}

.font-normal {
  font-weight: var(--font-weight-normal);
}

.font-medium {
  font-weight: var(--font-weight-medium);
}

.font-semibold {
  font-weight: var(--font-weight-semibold);
}

.font-bold {
  font-weight: var(--font-weight-bold);
}

.font-extrabold {
  font-weight: var(--font-weight-extrabold);
}

/* Monospace */
code, pre, kbd, samp {
  font-family: var(--font-family-mono);
  font-size: 0.9em;
}

/* Lists */
ul, ol {
  margin-top: 0;
  margin-bottom: var(--paragraph-spacing);
  line-height: var(--line-height-base);
}

/* Blockquotes */
blockquote {
  margin: 1.5em 0;
  padding-left: 1em;
  border-left: 3px solid var(--color-border, #e2e8f0);
  font-style: italic;
  line-height: var(--line-height-loose);
}
