/**
 * Sweets Website
 * =============================================================
 * File: typography.css
 * Description: Typography system and text utilities
 * Author: Sweets Website Team
 * Version: 1.0.0
 * =============================================================
 */

body {
    font-family: var(--ff-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--clr-text-main);
    background-color: var(--clr-bg-warm);
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--ff-heading);
    font-weight: 400;
    /* Quando is typically 400 */
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--clr-secondary);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.25rem;
}

.text-accent {
    color: var(--clr-accent);
}

.text-muted {
    color: var(--clr-text-muted);
}

.text-white {
    color: var(--clr-white);
}

.font-heading {
    font-family: var(--ff-heading);
}

.font-body {
    font-family: var(--ff-body);
}

.font-secondary {
    font-family: var(--ff-secondary);
}

/* ── Global Mobile Typography Overrides ── */
@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    p {
        margin-bottom: 0.95rem;
    }
}