:root {
    --bg: #061A30;
    /* Donkere blauwtint */
    --fg: #fEf6E8;
    /* Warm wit */
    --accent: #FF7E2E;
    /* Saffraan-oranje */
}

html,
body {
    height: 100%;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--fg);
    font-family: ui-sans-serif, -apple-system, system-ui, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.25;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    min-height: 100svh;
    display: grid;
    place-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    isolation: isolate;
    padding: 2rem;
}

main::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--bg);
}

main::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
    mix-blend-mode: soft-light;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240' viewBox='0 0 240 240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
    background-size: 400px 400px;
}

.stack {
    display: grid;
    gap: 1rem;
}

.logo {
    width: min(20rem, 50vw);
    height: auto;
    margin: 0 auto;
}

h1 {
    margin: 0;
    font-weight: 800;
    letter-spacing: 0.02em;
    font-size: clamp(2.8rem, 6vw + 1rem, 7rem);
    color: var(--fg);
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.35);
}

.slogan {
    margin: 0;
    font-size: clamp(1rem, 1.1vw + .7rem, 1.5rem);
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.01em;
    display: inline-block;
    transition: opacity 0.3s, transform 0.3s;
}

.slogan.anim-out {
    opacity: 0;
    transform: translateY(-1em);
}

.slogan.anim-in {
    opacity: 1;
    transform: translateY(0);
}

.underline {
    width: min(18ch, 80vw);
    height: 3px;
    margin: .2rem auto 0 auto;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    filter: drop-shadow(0 0 0.25rem rgba(255, 79, 0, 0.35));
}

@media (prefers-reduced-motion: no-preference) {
    main {
        animation: fade-in 600ms ease-out both;
    }

    @keyframes fade-in {
        from {
            opacity: 0
        }

        to {
            opacity: 1
        }
    }
}