@font-face {
    font-family: "Geist Pixel Square";
    src: url("/fonts/GeistPixel-Square.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: #0c0c0c;
    color: #ebebeb;
    font-family: Inter, Arial, sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.top {
    display: flex;
    align-items: center;
    height: 64px;
    padding: 0 28px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.top a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #9098b0;
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    text-decoration: none;
}

.top a:hover {
    color: #ebebeb;
}

.stage {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rails {
    position: absolute;
    top: 0;
    bottom: 0;
    width: min(560px, calc(100% - 32px));
    border-left: 1px solid rgba(255, 255, 255, 0.14);
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    pointer-events: none;
}

.panel {
    position: relative;
    width: min(432px, calc(100% - 64px));
    z-index: 1;
}

.panel > :not(.dots) {
    position: relative;
    z-index: 1;
}

.dots {
    position: absolute;
    left: 50%;
    top: -180px;
    width: 720px;
    height: 520px;
    transform: translateX(-50%);
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.22) 1px, transparent 1px);
    background-size: 22px 22px;
    mask-image: radial-gradient(ellipse 520px 340px at 50% 230px, #000 0%, transparent 100%);
}

.mark {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 0 28px;
}

h1 {
    margin: 0 0 8px;
    font-family: "Geist Pixel Square", Inter, sans-serif;
    font-size: 22px;
    font-weight: 500;
    letter-spacing: -0.03em;
    line-height: 1.5;
}

p {
    margin: 0 0 24px;
    color: #9098b0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

code {
    color: #ebebeb;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 0.92em;
}

a.button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 44px;
    border-radius: 8px;
    background: linear-gradient(90deg, #00b4dc 0%, #7ee7f7 100%);
    color: #041016;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

a.button:hover {
    background: linear-gradient(90deg, #009ab8 0%, #00b4dc 100%);
}

a.link {
    color: #00b4dc;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

a.link:hover {
    text-decoration: underline;
}

.foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 150px;
    padding: 16px 24px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    color: #9098b0;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
}

.foot p {
    margin: 0;
    width: 250px;
    text-align: center;
    color: #9098b0;
    font-size: 12px;
}

.foot iframe {
    display: block;
    border: 0;
}

@media (max-width: 992px) {
    .foot {
        gap: 48px;
    }
}

@media (max-width: 768px) {
    .foot {
        display: grid;
        justify-items: center;
        gap: 16px;
    }

    .foot iframe {
        order: -1;
        width: 198px;
        height: 30px;
    }

    .foot p {
        width: 100%;
    }
}
