*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Plus Jakarta Sans', 'IBM Plex Sans Arabic', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

[dir="rtl"] {
    font-family: 'IBM Plex Sans Arabic', 'Plus Jakarta Sans', system-ui, sans-serif;
}

a {
    color: #00A648;
    text-decoration: none;
}

a:hover {
    color: #0C1B14;
}

input {
    font-family: inherit;
}

::placeholder {
    color: #9BAaa2;
}

.bh-page {
    --pad: clamp(24px, 5.5vw, 72px);
    min-height: 100vh;
    width: 100%;
    background: #fff;
    color: #0C1B14;
    display: flex;
    flex-direction: column;
}

/* header */
.bh-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px var(--pad);
    border-bottom: 1px solid #EDF2EF;
}

.bh-logo {
    height: 38px;
    width: auto;
    object-fit: contain;
    display: block;
}

.lang-switch {
    position: relative;
}

.lang-switch__button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 14px;
    background: #fff;
    border: 1px solid #DCEAE1;
    border-radius: 0;
    font-size: 13.5px;
    font-weight: 700;
    color: #2A3A32;
    cursor: pointer;
    font-family: inherit;
}

.lang-switch__button:hover {
    background: #EDF8F1;
    border-color: #C7E5D3;
}

.lang-switch__button svg:first-child {
    stroke: #00A648;
    flex-shrink: 0;
}

.lang-switch__caret {
    stroke: #8BA093;
    transition: transform .18s;
    flex-shrink: 0;
}

.lang-switch.is-open .lang-switch__caret {
    transform: rotate(180deg);
}

.lang-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    inset-inline-end: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #E4EFE8;
    border-radius: 0;
    box-shadow: 0 18px 40px -22px rgba(12, 27, 20, .4);
    padding: 6px;
    z-index: 5;
    display: none;
}

.lang-switch.is-open .lang-switch__menu {
    display: block;
}

.lang-switch__option {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 14px;
    font-weight: 600;
    color: #2A3A32;
    cursor: pointer;
    font-family: inherit;
    text-align: start;
}

.lang-switch__option:hover,
.lang-switch__option.is-active {
    background: #EDF8F1;
}

.lang-switch__option svg {
    stroke: #00A648;
    display: none;
    flex-shrink: 0;
}

.lang-switch__option.is-active svg {
    display: block;
}

/* hero */
.bh-hero {
    display: grid;
    grid-template-columns: 1fr 46%;
    flex: 1;
    min-height: 0;
}

.bh-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 64px var(--pad);
    max-width: 720px;
}

.bh-eyebrow {
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .14em;
    color: #00A648;
}

.bh-h1 {
    font-size: 54px;
    line-height: 1.05;
    font-weight: 800;
    letter-spacing: -.035em;
    margin-top: 22px;
    text-wrap: balance;
}

.bh-subhead {
    font-size: 18.5px;
    line-height: 1.62;
    color: #46564E;
    font-weight: 500;
    margin-top: 20px;
    text-wrap: pretty;
}

/* signup */
.signup-block {
    margin-top: 34px;
    padding-top: 30px;
    border-top: 1px solid #EDF2EF;
}

.signup-prompt {
    font-size: 14.5px;
    font-weight: 600;
    color: #2A3A32;
    margin-bottom: 12px;
}

.signup-form {
    display: flex;
    gap: 10px;
    align-items: stretch;
    max-width: 520px;
}

.signup-form__input {
    flex: 1;
    min-width: 0;
    height: 54px;
    min-height: 54px;
    padding: 0 18px;
    border: 1.5px solid #D3E4D9;
    border-radius: 0;
    font-size: 15px;
    outline: none;
    color: #0C1B14;
    background: #fff;
    text-align: start;
}

.signup-form__input:focus {
    border-color: #00C455;
    box-shadow: inset 0 0 0 1px #00C455;
}

.signup-form__submit {
    height: 54px;
    padding: 0 28px;
    border: none;
    border-radius: 0;
    background: #00C455;
    color: #fff;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    font-family: inherit;
    box-shadow: 0 12px 22px -12px rgba(0, 196, 85, .95);
    white-space: nowrap;
}

.signup-form__submit:hover {
    background: #00A648;
}

.signup-form__submit[disabled] {
    opacity: .6;
    cursor: default;
}

/* honeypot: hidden from sighted users, still present for bots.
   Uses a clip-based technique (not left:-9999px) so it doesn't blow out
   the scrollable area when the page direction is RTL. */
.signup-form__hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.signup-status {
    margin-top: 14px;
    font-size: 13.5px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
}

.signup-status--success {
    color: #00A648;
}

.signup-status--error {
    color: #D64545;
}

/* media */
.bh-media {
    padding: 40px var(--pad) 40px 0;
}

[dir="rtl"] .bh-media {
    padding: 40px 0 40px var(--pad);
}

.bh-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

/* footer */
.bh-footer {
    border-top: 1px solid #EDF2EF;
    padding: 22px var(--pad);
}

.bh-footer p {
    font-size: 13.5px;
    font-weight: 600;
    color: #5A6A62;
    line-height: 1.4;
}

.bh-footer a {
    color: #00A648;
    font-weight: 700;
}

.bh-footer a:hover {
    color: #0C1B14;
}

@media (max-width: 860px) {
    .bh-hero {
        grid-template-columns: 1fr;
    }
    .bh-media {
        height: 340px;
        order: 2;
        padding: 0 var(--pad) 24px;
    }
    [dir="rtl"] .bh-media {
        padding: 0 var(--pad) 24px;
    }
    .bh-h1 {
        font-size: 40px !important;
    }
    .signup-form {
        flex-direction: column !important;
        align-items: stretch !important;
    }
    .signup-form__input,
    .signup-form__submit {
        width: 100% !important;
        flex: 0 0 auto !important;
        height: 54px !important;
    }
}

@media (max-width: 520px) {
    .bh-h1 {
        font-size: 32px !important;
    }
}
