:root {
    color-scheme: light;
    font-family: "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: #24303d;
    background: #f7f8fa;
    font-synthesis: none;
    text-rendering: optimizeLegibility;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
}

body {
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    background:
        radial-gradient(circle at 50% 42%, #ffffff 0, #ffffff 28%, transparent 62%),
        #f7f8fa;
}

.welcome {
    width: min(100%, 48rem);
    min-height: 100vh;
    min-height: 100svh;
    margin-inline: auto;
    padding: clamp(2rem, 6vw, 4.5rem) clamp(1.5rem, 5vw, 3rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    animation: welcome-in 900ms cubic-bezier(.22, 1, .36, 1) both;
}

.welcome__logo {
    display: block;
    width: clamp(13rem, 43vw, 24rem);
    max-height: 34vh;
    object-fit: contain;
    filter: drop-shadow(0 1rem 1.25rem rgb(22 34 48 / 14%));
}

.welcome__heading {
    margin-top: clamp(2rem, 5vh, 3.25rem);
}

h1,
.welcome__name,
.welcome__description {
    margin: 0;
}

h1 {
    font-size: clamp(1.55rem, 4.3vw, 2.35rem);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -.025em;
}

.welcome__name {
    margin-top: .45rem;
    color: #52606d;
    font-size: clamp(1.05rem, 2.8vw, 1.3rem);
    font-weight: 400;
    letter-spacing: .025em;
}

.welcome__description {
    max-width: 34rem;
    margin-top: clamp(1.8rem, 4.5vh, 2.75rem);
    color: #66727e;
    font-size: clamp(.9rem, 2.3vw, 1rem);
    line-height: 1.65;
}

.welcome__footer {
    margin-top: clamp(2.4rem, 6vh, 4rem);
    color: #929aa3;
    font-size: .8rem;
    letter-spacing: .04em;
}

@keyframes welcome-in {
    from {
        opacity: 0;
        transform: translateY(.75rem);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-height: 36rem) {
    .welcome {
        justify-content: flex-start;
    }

    .welcome__logo {
        max-height: 12rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .welcome {
        animation: none;
    }
}
