/* responsive-typography.css */

body {
    font-size: 16px;
    line-height: 1.5;
}

h1 {
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.1;
    margin-bottom: 0.6em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    line-height: 1.15;
    margin-bottom: 0.6em;
}

h3 {
    font-size: clamp(1.4rem, 2.2vw, 2rem);
    line-height: 1.2;
    margin-bottom: 0.6em;
}

h4 {
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    line-height: 1.25;
    margin-bottom: 0.6em;
}

h5 {
    font-size: clamp(1.05rem, 1.4vw, 1.3rem);
    line-height: 1.3;
    margin-bottom: 0.6em;
}

h6 {
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    line-height: 1.35;
    margin-bottom: 0.6em;
}

p,
main li {
    font-size: clamp(1rem, 1.1vw, 1.125rem);
    line-height: 1.6;
}

a,
button,
.button {
    font-size: clamp(1rem, 1vw, 1.05rem);
    line-height: 1.4;
}

small {
    font-size: clamp(0.85rem, 0.9vw, 0.95rem);
    line-height: 1.4;
}

p {
    margin-bottom: 1em;
}