/* Home UI override for the streamlined production landing page. */

body[data-page="home"] header{
    background:transparent;
    border-bottom:0;
    box-shadow:none;
}

body[data-page="home"] header.is-scrolled{
    background:rgba(8,18,28,.42);
    border-bottom:1px solid rgba(255,255,255,.08);
    backdrop-filter:blur(18px);
}

body[data-page="home"] .logo a,
body[data-page="home"] header.is-scrolled .logo a{
    min-height:auto;
    padding:0;
    border:0;
    border-radius:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
}

body[data-page="home"] nav{
    gap:0;
}

.sample-profile-link{
    width:46px;
    height:46px;
    border-radius:50%;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    background:rgba(255,255,255,.16);
    border:1px solid rgba(255,255,255,.34);
    box-shadow:0 14px 30px rgba(9,20,40,.18);
    backdrop-filter:blur(16px);
}

.sample-profile-link span{
    position:relative;
    width:21px;
    height:21px;
    display:block;
}

.sample-profile-link span::before,
.sample-profile-link span::after{
    content:"";
    position:absolute;
    left:50%;
    transform:translateX(-50%);
    background:#fff;
}

.sample-profile-link span::before{
    top:1px;
    width:8px;
    height:8px;
    border-radius:50%;
}

.sample-profile-link span::after{
    bottom:1px;
    width:18px;
    height:9px;
    border-radius:999px 999px 4px 4px;
}

.hero-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    width:100%;
    max-width:min(420px, calc(100% - 36px));
    margin-left:auto;
    margin-right:auto;
    box-sizing:border-box;
    padding-left:0;
    padding-right:0;
}

.hero-actions{
    grid-template-columns:1fr;
    width:100%;
    max-width:100%;
    margin-left:0;
    margin-right:0;
    justify-items:stretch;
    box-sizing:border-box;
    justify-self:center;
}

.hero-actions .cta-btn{
    width:100%;
    max-width:100%;
    box-sizing:border-box;
}

.hero-actions .cta-btn.primary{
    order:1;
    background:#fff;
    color:var(--primary);
}

.hero-actions .hero-action-left{
    order:2;
}

.hero-actions .hero-action-right{
    order:3;
}

.sample-hidden{
    display:none !important;
}

body[data-page="home"] .home-bottom-links{
    display:none !important;
}

body[data-page="home"] .scroll-down{
    display:none !important;
}

body[data-page="home"] footer{
    position:absolute;
    width:1px;
    height:1px;
    overflow:hidden;
    clip:rect(0 0 0 0);
}

@media (max-width:900px){
    body[data-page="home"] header{
        grid-template-columns:1fr auto 1fr;
        justify-items:stretch;
        padding:18px 22px;
    }

    body[data-page="home"] .logo{
        grid-column:2;
        justify-self:center;
    }

    body[data-page="home"] nav{
        grid-column:3;
        justify-self:end;
        justify-content:flex-end;
        width:auto;
    }

    .sample-profile-link{
        width:44px;
        height:44px;
    }
}

@media (max-width:480px){
    body[data-page="home"] header{
        padding:14px 18px;
    }

    .hero-content{
        width:100%;
        max-width:calc(100% - 36px);
    }
}

@media (display-mode: standalone), (max-width:900px){
    body[data-page="home"] .hero{
        overflow-x:clip;
    }

    body[data-page="home"] .hero-content{
        left:auto;
        right:auto;
        transform:none;
    }

    body[data-page="home"] .hero-actions{
        min-width:0;
    }
}
