/* Shared early access announcement for the home, pricing and signup pages. */
.beta-access {
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    padding: 18px;
    border: 1px solid #1479bf;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(16, 43, 80, 0.12);
    color: #102b50;
    text-align: left;
}

.beta-access::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #bdeeff, #ffd166);
    pointer-events: none;
}

.beta-access__badge {
    display: inline-block;
    margin-bottom: 0.5rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid #c9e4ff;
    border-radius: 6px;
    background: #d9eeff;
    color: #075bd2;
    font-size: max(0.875rem, 14px);
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.1em;
}

.beta-access .beta-access__title {
    margin: 0;
    padding: 0;
    color: #102b50;
    font-family: 'Nexa Bold', sans-serif;
    font-size: 1.625rem;
    font-weight: 700;
    line-height: 1.25;
}

.beta-access__subtitle {
    display: block;
    margin-top: 0.375rem;
    color: #34475f;
    font-family: Roboto, sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.4;
}

.beta-access .beta-access__button {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 1.25rem;
    border: 2px solid #075bd2;
    border-radius: 5px;
    background: #075bd2;
    color: #fff;
    font-size: max(1rem, 16px);
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;
}

.beta-access .beta-access__button:hover {
    border-color: #064fb6;
    background: #064fb6;
    color: #fff;
}

.beta-access .beta-access__button:focus {
    outline: 3px solid #075bd2 !important;
    outline-offset: 4px;
}

#main-hero.beta-home-hero,
#main-hero.beta-pricing-hero {
    max-height: none;
}

.beta-access--home {
    width: 100%;
    margin-bottom: 0;
}

#main-hero.beta-home-hero {
    padding-top: 1rem !important;
    padding-bottom: 1.5rem;
}

.beta-home-hero .columns.beta-home-layout {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: center;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.beta-home-hero .beta-home-layout > .column {
    min-width: 0;
    width: auto;
    margin: 0;
}

.beta-home-hero .caption-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
}

.beta-home-hero .beta-home-description {
    margin: 0;
}

.beta-home-hero .clean-hero-mockup {
    position: relative;
    width: 100%;
    height: auto;
    margin: 0;
}

.beta-home-hero .cta-wrapper {
    padding: 0;
}

.beta-home-section ~ #start-features.section {
    padding-top: 24px;
}

.beta-home-section ~ #start-features .section-title-wrapper {
    padding-top: 12px !important;
}

.beta-home-hero .beta-home-trial-note,
.beta-home-hero .beta-home-registration-note {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.4;
}

.beta-home-hero .beta-home-trial-note {
    margin-top: 1rem;
}

.beta-home-hero .beta-home-registration-note {
    margin-top: 0.5rem;
}

.beta-access--home .beta-access__title {
    font-size: clamp(1.625rem, 2.2vw, 2.25rem);
}

.beta-access--home .beta-access__button {
    margin-top: 0.75rem;
}

.beta-access--pricing {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    max-width: 40rem;
    margin: 0 auto 1rem;
    text-align: center;
}

#main-hero.beta-pricing-hero {
    padding-top: 1rem;
    padding-bottom: 4.5rem;
}

.beta-pricing-hero > .container > .columns {
    margin-bottom: 0;
}

.beta-pricing-hero .header-caption .subtitle {
    padding: 4px 0;
}

.login-wrapper.columns.beta-trial-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    grid-template-areas: "form visual";
}

.beta-access--signup {
    width: 100%;
    max-width: 40rem;
    margin: 0 auto 0.75rem;
    text-align: center;
}

.login-wrapper.beta-trial-layout > .beta-trial-form {
    grid-area: form;
    width: 100%;
}

.beta-trial-layout > .beta-trial-form > .hero {
    min-height: 0;
    height: 100%;
    justify-content: flex-start;
}

.login-wrapper.beta-trial-layout .beta-trial-form .hero-body {
    flex-grow: 0;
    align-items: flex-start;
    padding: 1rem 0 1.5rem;
}

.beta-trial-form .intro-section .intro-text .intro-sub {
    padding: 8px 20px;
}

.beta-trial-layout > .beta-trial-visual {
    grid-area: visual;
    min-width: 0;
}

.login-wrapper.columns.beta-trial-layout--registered {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(100vh, auto);
    grid-template-areas: "visual";
}

.beta-trial-layout .hero.signup-hero {
    min-height: 100%;
}

.beta-trial-layout .signup-hero > .has-text-centered > div {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.beta-trial-layout .signup-hero .already {
    position: static;
    order: -1;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem;
}

.beta-trial-layout .signup-hero img.mockup {
    position: static;
    width: 80%;
    margin: 0 auto 1rem;
}

@media (max-width: 1000px) {
    .beta-home-hero .columns.beta-home-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 1.25rem;
        max-width: 40rem;
        margin: 0 auto;
    }

    .beta-home-hero .caption-column {
        align-items: center;
    }

    .beta-home-hero .beta-home-description,
    .beta-access--home {
        text-align: center;
    }

    .beta-access--pricing {
        margin-right: 1.5rem;
        margin-left: 1.5rem;
    }
}

@media (max-width: 768px) {
    .beta-access {
        padding: 14px;
    }

    .login-wrapper.columns.beta-trial-layout {
        display: flex;
        flex-direction: column;
    }
}
