*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --fg: #c4f3dc;
    --accent-1: #7dd3fc;
    --accent-2: #a78bfa;
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: clamp(16px, 4vw, 48px);
    background:
        radial-gradient(120% 120% at 85% 0%, #506092 0%, #6983ba 45%, #13161d 100%),
        linear-gradient(135deg, #556f94, #223d7e);
    color: var(--fg);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.2;
    background-size: 160% 160%;
}

main {
    text-align: center;
    max-width: 60ch;
}

h1 {
    margin: 0 0 -0.3em;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-size: clamp(1.2rem, 4.7vw, 2.6rem);
    text-wrap: balance;
    background: linear-gradient(90deg, var(--accent-2), var(--accent-1));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

.tagline {
    margin: 0;
    font-weight: 600;
    font-size: clamp(1.1rem, 4.5vw, 2.2rem);
    text-wrap: balance;
    background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}

@media (prefers-reduced-motion: no-preference) {
    @keyframes shift {
        to {
            background-position: 100% 100%, 0% 0%;
        }
    }

    body {
        animation: shift 12s ease-in-out infinite alternate;
    }
}