/* Explain: Base styles, typography, and page defaults with playful kid-themed gradients. */
* {
    box-sizing: border-box;
}

html {
    background: var(--background-color);
    color: var(--text-color);
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        radial-gradient(circle at top left, rgba(79, 195, 247, 0.22), transparent 34rem),
        radial-gradient(circle at top right, rgba(255, 216, 77, 0.22), transparent 30rem),
        radial-gradient(circle at bottom left, rgba(107, 224, 122, 0.20), transparent 30rem),
        radial-gradient(circle at bottom right, rgba(255, 123, 181, 0.22), transparent 30rem),
        linear-gradient(180deg, #FFF9EC 0%, #E1F5FF 50%, #FFE6F2 100%);
    color: var(--text-color);
    font-family: var(--font-body);
    letter-spacing: 0.01em;
}

body.has-mobile-sticky {
    padding-bottom: 0;
}

h1,
h2,
h3,
.brand-mark {
    font-family: var(--font-heading);
    letter-spacing: -0.035em;
}

img {
    max-width: 100%;
    display: block;
}

:focus-visible {
    outline: 2px solid var(--rose-nude-color);
    outline-offset: 4px;
}

::selection {
    background: var(--champagne-color);
    color: var(--espresso-color);
}

@media (max-width: 767px) {
    body.has-mobile-sticky {
        padding-bottom: 96px;
    }
}
