/* ==========================================================
   Purified LLC — Typography System
   File: typography.css
   Purpose: Headings, body text, labels, helper text
   ========================================================== */

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 var(--space-4);
    font-family: var(--font-heading);
    color: var(--color-text);
    line-height: var(--line-height-heading);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h1 {
    font-size: var(--font-size-hero);
    font-weight: 800;
    line-height: var(--line-height-tight);
    letter-spacing: -0.05em;
}

h1 span {
    color: var(--color-primary-500);
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.35rem, 2.2vw, 1.8rem);
}

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

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

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

p {
    margin: 0 0 var(--space-5);
    color: var(--color-muted);
    font-size: var(--font-size-base);
    line-height: var(--line-height-body);
}

.lead {
    font-size: var(--font-size-md);
    color: var(--color-text-soft);
}

.small-text {
    font-size: var(--font-size-sm);
    color: var(--color-muted-light);
}

.section-title span,
.hero-tag,
.contact span,
.eco-products span {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: var(--font-size-sm);
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-success-500);
}

.section-title h2 {
    margin-bottom: var(--space-5);
}

.section-title p {
    max-width: 720px;
    margin-inline: auto;
}

strong {
    font-weight: 700;
    color: var(--color-text);
}

@media (max-width: 980px) {
    h1 {
        text-align: center;
    }

    .lead {
        font-size: var(--font-size-base);
    }
}

@media (max-width: 640px) {
    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        font-size: 0.97rem;
    }
}
