:root {
    color-scheme: dark;
    --bg: #121215;
    --panel: #141414;
    --panel-hover: #1a1a1a;
    --border: #3b3b3b;
    --text: #f4f4f4;
    --muted: #9b9b9b;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;

    overflow: hidden;

    background: var(--bg);
    color: var(--text);
    font-family: Satoshi, Arial, sans-serif;
}

.wrapper {
    width: 100%;
    padding: 50px 24px;
}

.hero {
    width: min(700px, 100%);
    margin-inline: auto;
    text-align: center;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3rem, 5vw, 4.75rem);
    font-weight: 800;
    letter-spacing: -.03em;
    line-height: 1.05;

    opacity: 0;
    animation: appear .5s forwards;
}

.subtitle {
    max-width: 650px;
    margin: 26px auto;

    color: var(--muted);
    font-size: clamp(.95rem, 1.2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.6;

    opacity: 0;
    animation: appear .5s .1s forwards;
}

.preview {
    margin: 0 auto 30px;

    opacity: 0;
    animation: appear .5s .2s forwards;
}

.preview img {
    display: block;
    width: 100%;
    max-width: 700px;

    border: none;
    border-radius: 0;

    background: transparent;
}

.buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.buttons a {
    display: flex;
    justify-content: center;
    align-items: center;

    min-height: 46px;

    text-decoration: none;

    color: var(--text);
    background: var(--panel);

    border: 1px solid var(--border);
    border-radius: 10px;

    font-size: .95rem;
    font-weight: 800;

    transition:
        background .2s,
        border-color .2s;

    opacity: 0;
    animation: appear .45s forwards;
}

.buttons a:first-child {
    animation-delay: .3s;
}

.buttons a:last-child {
    animation-delay: .4s;
}

.buttons a:hover,
.buttons a:focus-visible {
    background: var(--panel-hover);
    border-color: #777;
    outline: none;
}

@keyframes appear {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media (max-width: 620px) {

    .wrapper {
        padding: 40px 20px;
    }

    .subtitle {
        margin: 22px auto;
    }

    .buttons {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    * {
        animation: none !important;
        transition: none !important;
    }

    h1,
    .subtitle,
    .preview,
    .buttons a {
        opacity: 1;
    }
}