:root {
    --bg: #000000;
    --fg: #f4f7fb;
    --muted: rgba(244, 247, 251, 0.62);
    --quiet: rgba(244, 247, 251, 0.42);
    --line: rgba(244, 247, 251, 0.14);
    --max: 1180px;
    color-scheme: dark;
}

* {
    box-sizing: border-box;
    scrollbar-width: none;
}

*::-webkit-scrollbar {
    display: none;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    background: #000000;
    color: var(--fg);
    font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
}

/* Frame 1: Hero */

.hero {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: url('/assets/spacescaping.png') center / cover no-repeat #000;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.62) 100%);
    z-index: 1;
    pointer-events: none;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 3.2vh, 34px);
    position: relative;
    z-index: 2;
}

.site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px clamp(24px, 4vw, 56px);
    display: flex;
    align-items: center;
}

.site-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.site-header-brand img {
    flex-shrink: 0;
    height: 1.35em;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
}

.coming-soon {
    margin: 0;
    color: rgba(244, 247, 251, 0.38);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.hero-headline {
    margin: 0;
    color: rgba(244, 247, 251, 0.88);
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 400;
    line-height: 1.45;
    letter-spacing: -0.01em;
}

/* Scroll cue */

.scroll-cue {
    display: block;
    position: absolute;
    left: 50%;
    bottom: 36px;
    z-index: 2;
    width: 22px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 999px;
    transform: translateX(-50%);
}

.scroll-cue::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    width: 3px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.75);
    transform: translateX(-50%);
}

/* Frame 2: Manifesto */

.manifesto {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(40px, 5vh, 64px) clamp(24px, 4vw, 56px) clamp(72px, 12vh, 140px);
}

.manifesto-frame {
    width: 100%;
    max-width: 980px;
    text-align: center;
}

.manifesto-kicker {
    margin: 0 0 clamp(16px, 2.8vh, 32px);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
}

.manifesto-lines {
    display: grid;
    gap: clamp(6px, 0.9vh, 10px);
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: clamp(14px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.manifesto-lines p {
    margin: 0;
}

.manifesto-lines .break {
    margin-top: clamp(10px, 1.8vh, 20px);
}

/* Frame 3: FAQ */

.faq {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(40px, 5vh, 64px) clamp(24px, 4vw, 56px);
}

.faq-frame {
    width: 100%;
    max-width: 980px;
    padding: 56px 0;
}

.faq-kicker {
    margin: 0 0 clamp(28px, 4vh, 48px);
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    text-align: center;
}

.faq-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--line);
}

.faq-item {
    border-bottom: 1px solid var(--line);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-q {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(18px, 2.2vh, 26px) 0;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.82);
    font-family: inherit;
    font-size: clamp(14px, 1.4vw, 18px);
    font-weight: 500;
    line-height: 1.35;
    letter-spacing: 0;
    text-align: left;
    cursor: pointer;
    transition: color 200ms ease;
}

.faq-q:hover {
    color: #ffffff;
}

.faq-caret {
    flex-shrink: 0;
    position: relative;
    width: 20px;
    height: 20px;
    transition: transform 340ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-caret::before,
.faq-caret::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 2px;
}

.faq-caret::before {
    width: 14px;
    height: 1px;
}

.faq-caret::after {
    width: 1px;
    height: 14px;
}

.faq-q[aria-expanded="true"] .faq-caret {
    transform: rotate(45deg);
}

.faq-a {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 380ms cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-a.is-open {
    grid-template-rows: 1fr;
}

.faq-a > div {
    overflow: hidden;
}

.faq-a p {
    margin: 0;
    max-width: 760px;
    padding-bottom: clamp(20px, 2.6vh, 30px);
    color: rgba(255, 255, 255, 0.5);
    font-size: clamp(13px, 1vw, 15px);
    line-height: 1.72;
}

.faq-a a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 180ms ease;
}

.faq-a a:hover {
    color: #ffffff;
}

/* Footer */

.site-footer {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(430px, 58vh, 640px);
    margin-top: -28px;
    padding: clamp(72px, 9vh, 108px) clamp(24px, 4vw, 56px) clamp(58px, 8vh, 84px);
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #020202 18%, #000000 58%, #000000 100%);
    box-shadow: inset 0 -180px 150px #000000;
}

.site-footer::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 34%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), #000000);
    pointer-events: none;
}

.footer-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(24px, 3.2vh, 34px);
    text-align: center;
    transform: translateY(-16px);
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: clamp(20px, 2.2vw, 38px);
    color: #f7f9ff;
    font-size: clamp(88px, 9.4vw, 178px);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1;
    text-shadow: 0 0 34px rgba(255, 255, 255, 0.12);
}

.footer-logo {
    width: clamp(82px, 8vw, 142px);
    height: clamp(82px, 8vw, 142px);
    flex: 0 0 auto;
    filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.24));
}

.tagline {
    margin: 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(14px, 1.2vw, 18px);
    line-height: 1.5;
    max-width: 760px;
}

.socials {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 24px;
}

.socials a {
    display: inline-grid;
    place-items: center;
    width: 54px;
    height: 54px;
    color: #ffffff;
    transition: opacity 180ms ease, transform 180ms ease;
}

.socials a:hover,
.socials a:focus-visible {
    opacity: 0.7;
    transform: translateY(-2px);
}

.socials img {
    width: 40px;
    height: 40px;
}

.footer-bottom {
    width: 100%;
    max-width: 1180px;
    margin-top: clamp(28px, 4vh, 44px);
    padding-top: 22px;
    display: flex;
    justify-content: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.35);
    font-size: 14px;
    line-height: 1.5;
    text-align: center;
}

/* Responsive */

.info-page {
    min-height: 100vh;
    min-height: 100dvh;
    display: grid;
    place-items: center;
    padding: clamp(32px, 6vw, 72px);
}

.info-panel {
    width: min(100%, 880px);
    display: grid;
    gap: clamp(24px, 4vh, 40px);
    text-align: left;
}

.info-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: #ffffff;
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
}

.info-brand img {
    width: clamp(34px, 4vw, 56px);
    height: clamp(34px, 4vw, 56px);
}

.info-title {
    margin: 0;
    color: #ffffff;
    font-size: clamp(40px, 7vw, 92px);
    font-weight: 800;
    line-height: 0.98;
    letter-spacing: -0.04em;
}

.info-copy {
    display: grid;
    gap: 18px;
    max-width: 760px;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(18px, 2.2vw, 28px);
    line-height: 1.42;
}

.info-copy p {
    margin: 0;
}

.info-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.info-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 800;
    transition: border-color 180ms ease, background 180ms ease;
}

.info-link:hover,
.info-link:focus-visible {
    border-color: rgba(255, 255, 255, 0.58);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) and (min-width: 761px) {
    .hero-headline {
        font-size: clamp(18px, 2.4vw, 26px);
    }

    .manifesto-lines {
        font-size: clamp(14px, 1.8vw, 19px);
    }

    .faq-q {
        font-size: clamp(14px, 1.7vw, 17px);
    }

    .footer-brand {
        font-size: clamp(72px, 9.4vw, 140px);
    }

    .footer-logo {
        width: clamp(68px, 7vw, 110px);
        height: clamp(68px, 7vw, 110px);
    }
}

@media (max-width: 760px) {
    .hero-headline {
        font-size: clamp(17px, 5.5vw, 24px);
    }

    .manifesto {
        padding: clamp(30px, 4vh, 50px) 24px clamp(50px, 9vh, 90px);
    }

    .manifesto-kicker {
        margin-bottom: 20px;
    }

    .manifesto-lines {
        gap: 7px;
        font-size: clamp(13px, 4vw, 17px);
        line-height: 1.5;
    }

    .manifesto-lines .break {
        margin-top: 10px;
    }

    .faq-frame {
        padding: 40px 0;
    }

    .faq-kicker {
        margin-bottom: 24px;
    }

    .faq-q {
        gap: 16px;
        font-size: clamp(13px, 4vw, 16px);
        padding: 16px 0;
    }

    .faq-a p {
        padding-bottom: 20px;
        font-size: clamp(12px, 3.5vw, 14px);
    }

    .site-footer {
        min-height: 430px;
        margin-top: -18px;
        padding: 68px 24px 48px;
    }

    .footer-inner {
        gap: 24px;
        transform: translateY(-8px);
    }

    .footer-brand {
        gap: 18px;
        font-size: clamp(48px, 16vw, 76px);
    }

    .tagline {
        max-width: 420px;
        font-size: clamp(13px, 3.8vw, 16px);
        line-height: 1.5;
    }

    .socials {
        gap: 18px;
    }

    .socials a {
        width: 50px;
        height: 50px;
    }

    .socials img {
        width: 36px;
        height: 36px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .site-footer {
        padding-right: 20px;
        padding-left: 20px;
    }

    .footer-brand {
        font-size: clamp(43px, 14vw, 58px);
        letter-spacing: -0.06em;
    }

    .footer-logo {
        display: none;
    }
}

@supports (padding: env(safe-area-inset-bottom)) {
    .site-header {
        padding-left: max(clamp(24px, 4vw, 56px), env(safe-area-inset-left));
        padding-right: max(clamp(24px, 4vw, 56px), env(safe-area-inset-right));
    }

    .site-footer {
        padding-left: max(clamp(24px, 4vw, 56px), env(safe-area-inset-left));
        padding-right: max(clamp(24px, 4vw, 56px), env(safe-area-inset-right));
        padding-bottom: max(clamp(58px, 8vh, 84px), env(safe-area-inset-bottom));
    }

    @media (max-width: 760px) {
        .site-header {
            padding-left: max(24px, env(safe-area-inset-left));
            padding-right: max(24px, env(safe-area-inset-right));
        }

        .site-footer {
            padding-left: max(24px, env(safe-area-inset-left));
            padding-right: max(24px, env(safe-area-inset-right));
            padding-bottom: max(48px, env(safe-area-inset-bottom));
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .hero-video {
        display: none;
    }
}

@media (hover: none) {
    .scroll-cue {
        display: none !important;
    }
}
