@layer base {
    :root {
        --ff-primary: "Lay Grotesk", "Lay Grotesk - Trial", sans-serif;
        --ff-feature: Castoro, serif;

        --fs-38-58: clamp(2.375rem, 1.9107rem + 1.9048vw, 3.625rem);
        --fs-30-48: clamp(1.875rem, 1.4571rem + 1.7143vw, 3rem);
        --fs-24-48: clamp(1.5rem, 0.9429rem + 2.2857vw, 3rem);
        --fs-30-36: clamp(1.875rem, 1.7357rem + 0.5714vw, 2.25rem);
        --fs-24-36: clamp(1.5rem, 1.2214rem + 1.1429vw, 2.25rem);
        --fs-19-24: clamp(1.1875rem, 1.0714rem + .4762vw, 1.5rem);
        --fs-19-21: clamp(1.1875rem, 1.1411rem + 0.1905vw, 1.3125rem);
        --fs-16-24: clamp(1rem, 0.8143rem + 0.7619vw, 1.5rem);
        --fs-17-19: clamp(1.0625rem, 1.0161rem + .1905vw, 1.1875rem);
        --fs-16-19: clamp(1rem, .9304rem + .2857vw, 1.1875rem);
        --fs-16-17: clamp(1rem, 0.9768rem + 0.0952vw, 1.0625rem);
        --fs-15-17: clamp(.9375rem, .8911rem + .1905vw, 1.0625rem);
        --fs-14-17: clamp(0.875rem, 0.8054rem + 0.2857vw, 1.0625rem);
        --fs-13-17: clamp(0.8125rem, 0.7196rem + 0.381vw, 1.0625rem);
        --fs-14-16: clamp(.875rem, .8286rem + .1905vw, 1rem);
        --fs-11-16: clamp(0.6875rem, 0.5714rem + 0.4762vw, 1rem);
        --fs-14-15: clamp(0.875rem, 0.8518rem + 0.0952vw, 0.9375rem);
        --fs-13-15: clamp(.8125rem, .7661rem + .1905vw, .9375rem);
        --fs-12-14: clamp(.75rem, .7036rem + .1905vw, .875rem);
        --fs-10-14: clamp(0.625rem, 0.5321rem + 0.381vw, 0.875rem);
        --fs-12-13: clamp(0.75rem, 0.7268rem + 0.0952vw, 0.8125rem);
        --fs-11-12: clamp(.6875rem, .6643rem + .0952vw, .75rem);
        --fs-10-14: clamp(0.625rem, 0.5321rem + 0.381vw, 0.875rem);
        --fs-10-12: clamp(.625rem, .5786rem + .1905vw, .75rem);
    }

    *, ::before, ::after {
        text-box: trim-both cap alphabetic;
    }

    html {
        text-rendering: geometricPrecision;
    }

    body {
        font-family: var(--ff-primary);
        font-size: var(--fs-17-19);
        font-optical-sizing: auto;
        font-weight: 400;
        font-style: normal;
        line-height: 1.3;
        letter-spacing: 0;
        color: var(--c-body-dark);
        background-color: var(--c-grey-beige);
    }

    h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
        color: var(--c-dark-purple);
        font-weight: 500;
        line-height: 1.2;
    }

    h1, .h1 {
        font-size: var(--fs-38-58);
        line-height: 1.15;
    }

    h2, .h2 {
        font-size: var(--fs-30-48);
    }

    h3, .h3 {
        font-size: var(--fs-24-36);
    }

    h4, .h4 {
        font-size: var(--fs-19-24);
    }

    h5, .h5 {
        font-size: var(--fs-16-19);
        line-height: 1.3;
    }

    h6, .h6 {
        font-size: var(--fs-14-16);
        line-height: 1.3;
    }

    a {
        color: var(--c-dark-purple);
        font-weight: 500;
        text-decoration: underline;
    }

    .text-content p a {
        color: var(--c-feature);
    }

    strong, b {
        font-weight: 600;
    }

    .text-featured {
        font-family: var(--ff-feature);
        font-weight: 400;
        font-style: italic;
    }

    .text-small {
        font-size: var(--fs-13-15);
    }

    .text-medium {
        font-size: var(--fs-15-17);
    }

    .text-large {
        font-size: var(--fs-17-19);
    }

    :where(.is-dark) {
        color: var(--c-body-light);
    }

    :where(.is-dark) :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .btn) {
        color: var(--c-white);
    }

    :where(.is-dark) a {
        color: var(--c-body-light);
    }
}
