
/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Fonts — SF Pro (system font on Apple devices, fallbacks for others) */
body {
    font-family:
        "SF Pro Display",
        "SF Pro Rounded",
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    background: #141414;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow: hidden;
}

/* Centered content — positioned in upper third of viewport */
main {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding: 24px;
    margin-top: 15vh;
    opacity: 0;
    transform: scale(0);
    animation: scale-in 1.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}


/* Spinning circle icon */
.icon-wrapper {
    position: relative;
    z-index: 1;
}

.icon {
    width: 180px;
    height: 180px;
    animation: spin 8s linear infinite;
}

/* Wordmark below the icon */
.wordmark {
    width: 456px;
    height: auto;
    position: relative;
    z-index: 1;
}

/* Tagline */
.tagline {
    font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 300;
    font-size: 24px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
}

/* Continuous rightward spin */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* All elements scale up from nothing and fade in together */
@keyframes scale-in {
    0% {
        opacity: 0;
        transform: scale(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

/* ---- Responsive ---- */

/* Tablet (810px and below) */
@media (max-width: 810px) {
    main {
        margin-top: 14vh;
    }

    .icon {
        width: 152px;
        height: 152px;
    }

    .wordmark {
        width: 384px;
    }

    .tagline {
        font-size: 22px;
    }
}

/* Mobile (390px and below) */
@media (max-width: 480px) {
    main {
        margin-top: 12vh;
        gap: 20px;
    }

    .icon {
        width: 156px;
        height: 156px;
    }

    .wordmark {
        width: 312px;
    }

    .tagline {
        font-size: 18px;
    }
}
