:root {
    color-scheme: light;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Helvetica,
        Arial,
        sans-serif;
    background: #ffffff;
    color: #171717;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: #ffffff;
}

body {
    min-width: 320px;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    overflow-x: hidden;
    background: #ffffff;
    color: #171717;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

.temporary-page {
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding:
        max(1rem, env(safe-area-inset-top))
        max(1rem, env(safe-area-inset-right))
        max(1rem, env(safe-area-inset-bottom))
        max(1rem, env(safe-area-inset-left));
}

.temporary-page__content {
    width: min(100%, 96rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: clamp(0.25rem, 1.2vw, 0.9rem);
    text-align: center;
}

.logo-stage {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.site-logo {
    display: block;
    width: min(116vw, 92rem);
    max-width: none;
    height: auto;
    object-fit: contain;
}

h1 {
    margin: 0;
    max-width: 32rem;
    font-size: clamp(1rem, 0.7rem + 0.9vw, 1.45rem);
    line-height: 1.35;
    font-weight: 600;
    letter-spacing: 0.015em;
    color: #202020;
}

@media (max-height: 520px) and (orientation: landscape) {
    .temporary-page {
        padding-block: 0.5rem;
    }

    .temporary-page__content {
        gap: 0;
    }

    .site-logo {
        width: min(82vw, 58rem);
    }

    h1 {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
    }
}
