.beta-tester-hero {
    min-height: calc(100vh - 80px);
    background: radial-gradient(circle at 15% 15%, rgba(66, 132, 196, .2), transparent 34%), linear-gradient(155deg, #07111f, #0b2034);
}

.beta-tester-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(28px, 5vw, 56px);
}

.beta-tester-intro {
    display: grid;
    max-width: 980px;
    color: #eaf5ff;
    gap: 12px;
}

.beta-tester-intro h1 {
    max-width: none;
    margin: .25rem 0 .5rem;
    font-size: clamp(2.7rem, 6vw, 5.4rem);
    line-height: .98;
}

.beta-tester-intro > p:last-of-type {
    max-width: 760px;
    margin: 0;
    color: #b8c8d8;
    font-size: 1.08rem;
    line-height: 1.7;
}

.beta-tester-intro ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 12px 0 0;
    list-style: none;
    gap: 12px 24px;
}

.beta-tester-intro li {
    display: flex;
    align-items: center;
    color: #cce4f7;
    gap: 10px;
}

.beta-tester-intro li::before {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #7dd3fc;
    box-shadow: 0 0 18px #38bdf8;
    content: "";
}

.beta-tester-panel {
    width: 100%;
    box-sizing: border-box;
    padding: clamp(20px, 3vw, 38px);
    border: 1px solid rgba(119, 180, 230, .25);
    border-radius: 22px;
    background: rgba(7, 23, 38, .92);
    box-shadow: 0 28px 70px rgba(0, 0, 0, .25);
}

.beta-tester-form {
    display: grid;
    gap: 22px;
}

.beta-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.beta-tester-form .form-field {
    display: grid;
    gap: 7px;
}

.beta-tester-form label {
    color: #e7f1fb;
    font-weight: 650;
}

.beta-tester-form label span,
.beta-projects > p {
    color: #89a0b4;
    font-weight: 400;
}

.beta-tester-form input,
.beta-tester-form textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 13px;
    border: 1px solid #31516b;
    border-radius: 10px;
    background: #061521;
    color: #fff;
    font: inherit;
}

.beta-tester-form input:focus,
.beta-tester-form textarea:focus {
    border-color: #6bbcff;
    outline: 3px solid rgba(81, 169, 241, .25);
}

.beta-projects {
    min-width: 0;
    padding: 0;
    border: 0;
}

.beta-projects > legend {
    font-size: 1.15rem;
    font-weight: 750;
    color: #eef7ff;
}

.beta-projects > p {
    margin: .3rem 0 1rem;
}

.beta-project-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: clamp(16px, 2vw, 24px);
}

.beta-project-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #28465f;
    border-radius: 18px;
    background: #071927;
    box-shadow: 0 16px 36px rgba(0, 0, 0, .18);
}

.beta-app-heading {
    display: flex;
    align-items: center;
    min-height: 76px;
    padding: 16px 18px 10px;
    gap: 12px;
}

.beta-app-heading img {
    width: 58px;
    height: 58px;
    flex: 0 0 auto;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 0 7px 20px rgba(0, 0, 0, .28);
}

.beta-app-heading strong {
    color: #f5f9fd;
    font-size: 1.15rem;
    line-height: 1.25;
}

.beta-project-copy {
    display: grid;
    padding: 10px 18px 18px;
    gap: 14px;
}

.beta-app-description {
    min-height: 4.5em;
    margin: 0;
    color: #dce8f2;
    font-size: .95rem;
    line-height: 1.5;
}

.beta-app-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(170px, 18vw, 260px);
    overflow: hidden;
    border-radius: 14px;
    background: linear-gradient(145deg, #0b2134, #06111d);
    gap: 8px;
}

.beta-app-gallery img {
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    border: 1px solid #31516b;
    border-radius: 11px;
    object-fit: cover;
    object-position: top center;
}

.beta-app-gallery.has-one > img,
.beta-app-gallery > img:nth-child(3):last-child,
.beta-app-gallery > .beta-screenshot-empty {
    grid-column: 1 / -1;
}

.beta-screenshot-empty {
    display: grid;
    min-height: 220px;
    padding: 28px;
    text-align: center;
    color: #9bb1c4;
    place-items: center;
    align-content: center;
    gap: 8px;
}

.beta-screenshot-empty span {
    color: #5681a1;
    font-size: 3rem;
}

.beta-screenshot-empty strong {
    color: #dceaf5;
    font-size: 1.1rem;
}

.beta-screenshot-empty small {
    max-width: 260px;
}

.beta-tester-description {
    padding-top: 10px;
    border-top: 1px solid rgba(93, 132, 164, .25);
    color: #9fb5c8;
}

.beta-tester-description summary {
    color: #bfe5ff;
    font-size: .86rem;
    font-weight: 700;
    cursor: pointer;
}

.beta-tester-description p {
    margin: 10px 0 0;
    color: #9fb5c8;
    font-size: .9rem;
    line-height: 1.5;
}

.beta-platform-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.beta-platform-badges span {
    display: inline-block;
    padding: 4px 9px;
    border: 1px solid #315a78;
    border-radius: 99px;
    color: #9fd8ff;
    font-size: .74rem;
    font-weight: 750;
}

.beta-projects .beta-platform-choice {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border: 0;
    gap: 8px 14px;
}

.beta-projects .beta-platform-choice legend {
    width: 100%;
    margin-bottom: 3px;
    color: #9fb5c8;
    font-size: .8rem;
}

.beta-projects .beta-platform-choice label {
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    background: none;
    font-size: .84rem;
    font-weight: 600;
    gap: 6px;
    cursor: pointer;
}

.beta-projects input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    accent-color: #4db5f5;
}

.beta-projects .beta-project-select {
    display: flex;
    align-items: center;
    padding: 12px;
    border: 1px solid #315c79;
    border-radius: 10px;
    background: #0a2132;
    gap: 10px;
    cursor: pointer;
}

.beta-project-select:has(input:checked) {
    border-color: #55bdf8;
    background: #0d3047;
}

.beta-consent {
    align-items: flex-start;
}

.beta-consent input {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    margin-top: 2px;
}

.beta-submit {
    width: 100%;
    justify-content: center;
}

.beta-privacy {
    margin: 0;
    color: #8297aa;
    font-size: .82rem;
}

.beta-privacy a {
    color: #8ed0ff;
}

.beta-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.beta-tester-result {
    display: grid;
    max-width: 640px;
    padding: clamp(30px, 6vw, 60px);
    margin: auto;
    text-align: center;
    color: #eaf5ff;
    place-items: center;
}

.beta-tester-result > span {
    display: grid;
    width: 62px;
    height: 62px;
    border: 1px solid rgba(91, 229, 166, .45);
    border-radius: 50%;
    background: rgba(29, 129, 82, .25);
    color: #75e4ac;
    font-size: 2rem;
    place-items: center;
}

.beta-tester-result h1,
.beta-tester-result h2 {
    margin: 20px 0 8px;
}

.beta-tester-result p {
    max-width: 540px;
    margin: 0 0 24px;
    color: #a9bed0;
    line-height: 1.65;
}

.beta-confirm {
    min-height: calc(100vh - 80px);
    background: linear-gradient(155deg, #07111f, #0b2034);
}

.beta-tester-result.is-unavailable > span {
    border-color: rgba(240, 182, 76, .5);
    background: rgba(115, 75, 18, .25);
    color: #ffd17c;
}

@media (max-width: 760px) {
    .beta-tester-hero {
        padding-top: 38px;
    }

    .beta-tester-intro ul {
        display: grid;
    }

    .beta-field-grid,
    .beta-project-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .beta-tester-panel {
        padding: 18px;
    }

    .beta-app-description {
        min-height: 0;
    }

    .beta-app-gallery {
        grid-auto-rows: clamp(150px, 54vw, 240px);
    }
}

@media (max-width: 420px) {
    .beta-app-gallery {
        gap: 6px;
    }

    .beta-app-heading,
    .beta-project-copy {
        padding-right: 14px;
        padding-left: 14px;
    }
}
