.gm-page {
    background: #07111c;
    color: #e7eef8;
}

.gm-hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: flex-end;
    background: #05070d;
    overflow: hidden;
}

.gm-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #05070d;
}

.gm-hero-fade {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    height: clamp(14rem, 42vh, 26rem);
    pointer-events: none;
    background: linear-gradient(
        to bottom,
        rgba(7, 17, 28, 0) 0%,
        rgba(7, 17, 28, 0.28) 38%,
        rgba(7, 17, 28, 0.78) 72%,
        #07111c 100%
    );
}

.gm-hero-bar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    width: min(100% - 3rem, 1100px);
    margin: 0 auto;
    padding: 0 0 3.4rem;
}

.gm-hero h1 {
    margin: 0 0 0.75rem;
    color: #f4f7fb;
    font-size: clamp(2.5rem, 5.2vw, 4.35rem);
    font-weight: 700;
    letter-spacing: -0.045em;
    line-height: 0.98;
}

.gm-hero-lead {
    margin: 0;
    max-width: 34rem;
    color: rgba(237, 244, 255, 0.82);
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.45;
}

.gm-toggle {
    flex: none;
    margin: 0 0 0.2rem;
    padding: 0.55rem 0.9rem;
    border: 1px solid rgba(237, 244, 255, 0.28);
    border-radius: 999px;
    background: rgba(7, 17, 28, 0.35);
    color: #f4f7fb;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
}

.gm-toggle:hover {
    border-color: rgba(244, 247, 251, 0.7);
}

.gm-toggle:focus-visible {
    outline: 2px solid #8ec9d4;
    outline-offset: 4px;
}

.gm-body {
    padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(5rem, 9vw, 7rem);
}

.gm-body .home-shell {
    width: min(100% - 3rem, 740px);
}

.gm-body section + section {
    margin-top: 3.4rem;
}

.gm-body h2 {
    margin: 0 0 0.95rem;
    color: #f4f7fb;
    font-size: clamp(1.7rem, 3vw, 2.25rem);
    line-height: 1.08;
}

.gm-body p {
    margin: 0 0 1rem;
    color: #b7c3d4;
    font-size: 1.05rem;
    line-height: 1.7;
}

.gm-body p:last-child {
    margin-bottom: 0;
}

.gm-repo {
    display: inline-flex;
    margin-top: 0.35rem;
    color: #d5e0ec;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    border-bottom: 1px solid rgba(213, 224, 236, 0.35);
    padding-bottom: 0.12rem;
}

.gm-repo:hover {
    color: #f4f7fb;
    border-bottom-color: rgba(244, 247, 251, 0.75);
}

.gm-repo:focus-visible {
    outline: 2px solid #8ec9d4;
    outline-offset: 4px;
    border-radius: 2px;
}

@media (max-width: 720px) {
    .gm-hero-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.25rem;
        width: min(100% - 2rem, 740px);
        padding-bottom: 2.4rem;
    }

    .gm-hero h1 {
        font-size: clamp(2.15rem, 10vw, 2.8rem);
    }

    .gm-hero-lead,
    .gm-body p {
        font-size: 1rem;
    }

    .gm-body .home-shell {
        width: min(100% - 2rem, 740px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .gm-toggle {
        transition: none;
    }
}
