:root {
    --bg: #15223b;
    --text: #ffffff;
    --muted: rgba(255, 255, 255, 0.76);
    --soft: rgba(255, 255, 255, 0.58);
    --blue: #0a85ff;
    --purple: #961bee;
    --page-pad: clamp(1.5rem, 4vw, 3rem);
    --orbit-radius: min(44vw, 38svh);
    --orbit-duration: 41.5s;
}

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

html {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    min-height: 100svh;
    display: grid;
    place-items: center;
    padding: var(--page-pad);
    font-family: "Inter", sans-serif;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    top: 50%;
    left: 50%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
    transform-origin: center;
    animation: ambient-edge-orbit var(--orbit-duration) linear infinite;
}

body::before {
    width: min(48rem, 100vw);
    height: min(48rem, 100vw);
    transform: translate3d(-50%, -50%, 0) rotate(0deg) translateY(calc(var(--orbit-radius) * -1));
    background: radial-gradient(circle, rgba(10, 133, 255, 0.22) 0%, rgba(10, 133, 255, 0.08) 30%, transparent 70%);
}

body::after {
    width: min(34rem, 72vw);
    height: min(34rem, 72vw);
    transform: translate3d(-50%, -50%, 0) rotate(0deg) translateY(calc(var(--orbit-radius) * -1));
    background: radial-gradient(circle, rgba(150, 27, 238, 0.14) 0%, rgba(150, 27, 238, 0.05) 34%, transparent 72%);
    animation-delay: calc(var(--orbit-duration) / -2);
}

@keyframes ambient-edge-orbit {
    from {
        transform: translate3d(-50%, -50%, 0) rotate(0deg) translateY(calc(var(--orbit-radius) * -1));
    }

    to {
        transform: translate3d(-50%, -50%, 0) rotate(360deg) translateY(calc(var(--orbit-radius) * -1));
    }
}

.site-shell {
    width: min(100%, 44rem);
    min-height: calc(100vh - (var(--page-pad) * 2));
    min-height: calc(100svh - (var(--page-pad) * 2));
    display: grid;
    grid-template-rows: 1fr auto;
    gap: clamp(2rem, 4vw, 3rem);
    position: relative;
    z-index: 1;
}

.page {
    display: grid;
    align-items: center;
}

.panel {
    display: grid;
    justify-items: center;
    gap: clamp(1.15rem, 2.8vw, 1.9rem);
    padding: 0;
    text-align: center;
}

.brand-mark {
    display: block;
    width: min(92vw, 31rem);
    max-width: 100%;
    height: auto;
    margin-bottom: 0.2rem;
    filter: drop-shadow(0 18px 46px rgba(10, 133, 255, 0.14));
}

.copy-block {
    display: grid;
    gap: clamp(0.9rem, 2vw, 1.2rem);
    max-width: 36rem;
}


#page-title {
    margin: 0;
    max-width: 18ch;
    justify-self: center;
    text-align: center;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2rem, 4.7vw, 3rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -0.015em;
    text-wrap: balance;
}

.intro {
    margin: 0;
    max-width: 35rem;
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.75;
    color: var(--muted);
    text-wrap: pretty;
}

.tagline {
    margin: 0;
    font-family: "Montserrat", sans-serif;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.site-footer p {
    margin: 0;
    text-align: center;
    font-size: 0.875rem;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.54);
}

@media (max-width: 40rem) {
    .site-shell {
        gap: 2rem;
    }

    .status {
        letter-spacing: 0.18em;
    }

    .tagline {
        letter-spacing: 0.15em;
    }
}

@media (max-width: 28rem) {
    .brand-mark {
        width: min(90vw, 18rem);
    }

    .copy-block {
        gap: 0.9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    body::before,
    body::after {
        animation: none;
    }
}
