/* css/typography.css */
@import url("https://fonts.googleapis.com/css2?family=Spline+Sans:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Piazzolla:wght@900&display=swap");

:root {
  --font-family-sans: "Spline Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial,
    sans-serif;
  --font-family-headers: "Piazzolla", Georgia, serif;

  --font-size-base: 1rem; /* 16px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-lg: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem; /* 36px */
  --font-size-5xl: 3rem; /* 48px */

  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-black: 900;

  --line-height-normal: 1.5;
  --line-height-snug: 1.375;
  --line-height-tight: 1.25;
}

body {
  font-family: var(--font-family-sans);
  font-size: var(--font-size-base);
  color: var(--color-text);
  line-height: var(--line-height-normal);
}

h1,
h2,
h3 {
  line-height: var(--line-height-tight);
  margin: 0;
}

h1 {
  font-size: var(--font-size-4xl);
  font-family: var(--font-family-sans);
  font-weight: var(--font-weight-semibold);
}

h2 {
  font-size: var(--font-size-3xl);
  font-family: var(--font-family-headers);
  font-weight: var(--font-weight-black);
}

h3 {
  font-size: var(--font-size-xl);
  font-family: var(--font-family-headers);
  font-weight: var(--font-weight-black);
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}
