@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 3.5rem;
    min-height: 100vh;
    color: var(--text-color);
    font-family: var(--font);
    font-size: 1rem;
    line-height: 1.6;
    background-color: var(--bg-color);
    background-image:
        radial-gradient(ellipse 70% 50% at 15% 0%, color-mix(in srgb, var(--color-blue) 40%, transparent), transparent 55%),
        radial-gradient(ellipse 55% 45% at 90% 8%, color-mix(in srgb, var(--color-yellow) 22%, transparent), transparent 50%),
        radial-gradient(ellipse 60% 40% at 70% 55%, color-mix(in srgb, var(--color-blue) 20%, transparent), transparent 55%),
        radial-gradient(ellipse 50% 35% at 10% 85%, color-mix(in srgb, var(--color-yellow) 12%, transparent), transparent 50%);
    background-attachment: fixed;
}

main {
    width: 100%;
    margin-inline: auto;
    padding: 0;
}

h1,
h2,
h3,
h4 {
    margin: 0 0 0.75rem;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-color);
}

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

h2 {
    font-size: clamp(1.5rem, 2.5vw, 1.85rem);
}

h3 {
    font-size: 1.2rem;
}

h4 {
    font-size: 1.05rem;
}

p {
    margin: 0 0 1rem;
    color: var(--text-color-muted);
    max-width: none;
}

a {
    color: var(--color-blue-bright);
    text-underline-offset: 0.15em;
}

a:hover {
    color: var(--color-yellow);
}

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

em {
    color: var(--text-color-muted);
    font-style: italic;
}

/* Screen-reader only (keeps content available to assistive tech) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Material Symbols base */
.material-symbols-outlined {
    font-family: "Material Symbols Outlined";
    font-weight: normal;
    font-style: normal;
    font-size: 1.35rem;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    direction: ltr;
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    -webkit-font-smoothing: antialiased;
    color: var(--color-blue-bright);
    user-select: none;
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}