/* Static pages keep the original recruiting layout and use plain links for language switching. */
html,
body {
    display: block !important;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

body > header,
body > main,
body > footer {
    display: block;
    width: 100%;
    max-width: none;
    margin-right: 0;
    margin-left: 0;
    float: none;
    clear: both;
}

body > main.platform-home,
body > main.process-page,
body > main.app-download-page,
body > footer.platform-footer {
    position: relative;
    inset: auto;
}

.store-site-header.recruiting-site-header {
    width: 100%;
}

.platform-home .tech-hero,
.platform-home .section-pad,
.platform-home .final-cta,
.process-page .process-hero,
.process-page .process-section,
.app-download-page {
    width: 100%;
    float: none;
    clear: both;
}

.static-language-dropdown {
    position: relative;
    margin-right: 14px;
    color: #1f2a24;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.static-language-dropdown summary {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    list-style: none;
}

.static-language-dropdown summary::-webkit-details-marker { display: none; }
.static-language-dropdown summary::after { content: "▾"; color: #138c52; font-size: .72rem; }
.static-language-dropdown[open] summary { color: #138c52; }

.static-language-options {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 20;
    display: grid;
    min-width: 126px;
    padding: 6px;
    border: 1px solid #d8e4dc;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 12px 28px rgba(13, 31, 22, .14);
}

.static-language-options a {
    display: block;
    padding: 8px 10px;
    border-radius: 5px;
    color: #1f2a24;
    font-size: .78rem;
    font-weight: 700;
    text-decoration: none;
}

.static-language-options a:hover,
.static-language-options a[aria-current="page"] {
    background: #f0f5f0;
    color: #138c52;
}

@media (max-width: 767px) {
    body {
        overflow-x: hidden;
    }

    .tech-hero .container,
    .tech-hero .row,
    .tech-hero [class*="col-"],
    .system-stage,
    .console-shell,
    .console-body,
    .console-main {
        min-width: 0;
        max-width: 100%;
    }

    .tech-hero .container {
        width: 100% !important;
        padding-right: 18px;
        padding-left: 18px;
    }

    .tech-hero .row {
        width: 100%;
        margin-right: 0;
        margin-left: 0;
        --bs-gutter-x: 0;
    }

    .tech-hero h1 {
        width: 100%;
        max-width: 100%;
        font-size: clamp(2rem, 9vw, 2.65rem);
        overflow-wrap: anywhere;
        word-break: break-all;
    }

    .tech-lead {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
        word-break: break-all;
    }

    .hero-proof {
        grid-template-columns: 1fr !important;
    }

    .console-grid > *,
    .ops-row > * {
        min-width: 0;
    }

    .system-stage {
        overflow: hidden;
    }

    .static-language-dropdown {
        margin-right: 0;
    }

    .static-language-dropdown summary,
    .static-language-options a {
        font-size: .7rem;
    }
}
