/* ===== CSS RESET ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ROOT VARIABLES ===== */
:root {
    /* Colors */
    --badge-bg: #E1FCAD;
    --text-primary: #1E1E1F;
    --background-primary: #F2F2F2;
    --white: #FFFFFF;
    --dark-teal: #2A4A4A;
    --light-green: #E1FCAD;
    
    /* Typography */
    --font-heading: 'Inter', Arial, sans-serif;
    --font-body: 'Inter', Arial, sans-serif;
    
    /* Font Sizes */
    --h1-size: 5rem;        /* 80px */
    --h2-size: 3rem;        /* 48px */
    --h3-size: 2rem;        /* 32px */
    --h4-size: 1.5rem;      /* 24px */
    --h5-size: 1.25rem;     /* 20px */
    --h6-size: 1rem;        /* 16px */
    --body-size: 1rem;      /* 16px */
    --small-size: 0.875rem; /* 14px */
    
    /* Line Heights */
    --h1-line-height: 100%;
    --h2-line-height: 110%;
    --h3-line-height: 120%;
    --h4-line-height: 130%;
    --h5-line-height: 140%;
    --h6-line-height: 145%;
    --body-line-height: 150%;
}

/* ===== BASE STYLES ===== */
html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    color: var(--text-primary);
    background-color: var(--background-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

h1 {
    font-size: var(--h1-size);
    line-height: var(--h1-line-height);
    font-weight: 300;
}

h2 {
    font-size: var(--h2-size);
    line-height: var(--h2-line-height);
    font-weight: 300;
}

h3 {
    font-size: var(--h3-size);
    line-height: var(--h3-line-height);
    font-weight: 400;
}

h4 {
    font-size: var(--h4-size);
    line-height: var(--h4-line-height);
    font-weight: 400;
}

h5 {
    font-size: var(--h5-size);
    line-height: var(--h5-line-height);
    font-weight: 500;
}

h6 {
    font-size: var(--h6-size);
    line-height: var(--h6-line-height);
    font-weight: 500;
}

/* ===== BODY TEXT ===== */
p {
    font-family: var(--font-body);
    font-size: var(--body-size);
    line-height: var(--body-line-height);
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.small-text {
    font-size: var(--small-size);
    line-height: 1.5;
}

.large-text {
    font-size: 1.125rem; /* 18px */
    line-height: 1.6;
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    background-color: var(--badge-bg);
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: var(--small-size);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

/* ===== RESPONSIVE TYPOGRAPHY ===== */
@media (max-width: 768px) {
    :root {
        --h1-size: 3rem;     /* 48px on mobile */
        --h2-size: 2rem;     /* 32px on mobile */
        --h3-size: 1.5rem;   /* 24px on mobile */
        --h4-size: 1.25rem;  /* 20px on mobile */
    }
}

@media (max-width: 480px) {
    :root {
        --h1-size: 2.5rem;   /* 40px on small mobile */
        --h2-size: 1.75rem;  /* 28px on small mobile */
    }
}

/* ===== UTILITY CLASSES ===== */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.font-light { font-weight: 300; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }

.text-white { color: var(--white); }
.text-primary { color: var(--text-primary); }

/* ===== LINKS ===== */
a {
    color: var(--text-primary);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}