
/* ==========================================================
   ONEPLAN GROUP HEALTH SCHEME
   Full responsive stylesheet
   ========================================================== */

:root {
    --gh-blue: #0202E4;
    --gh-blue-dark: #0101a8;
    --gh-cyan: #6EF3FF;
    --gh-card: #B9F0FF;
    --gh-navy: #150A51;
    --gh-muted: #5c6478;
    --gh-line: #d1d3d4;
    --gh-white: #ffffff;
    --gh-page: #f4f5f7;
    --gh-hero-bg: #b5f9ff;
    --gh-maxw: 1100px;
    --gh-radius: 48px;
}

/* ==========================================================
   RESET / GLOBAL
   ========================================================== */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body.gh-page {
    margin: 0;
    font-family: 'Anek Latin', 'Segoe UI', Helvetica, Arial, sans-serif;
    color: var(--gh-navy);
    line-height: 1.4;
    background: var(--gh-page);
    -webkit-font-smoothing: antialiased;
}

.gh-container {
    width: 100%;
    max-width: var(--gh-maxw);
    margin: 0 auto;
    padding: 0 24px;
}

.gh-page img {
    max-width: 100%;
    height: auto;
    display: block;
}

.gh-page a {
    color: inherit;
}

/* ==========================================================
   BUTTONS
   ========================================================== */

.gh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--gh-blue);
    color: var(--gh-white);
    font-family: inherit;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: .01em;
    border: none;
    border-radius: 999px;
    padding: 9px 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background .2s ease, transform .1s ease;
}

    .gh-btn:hover {
        background: var(--gh-blue-dark);
    }

    .gh-btn:active {
        transform: translateY(1px);
    }

    .gh-btn:disabled {
        opacity: .6;
        cursor: not-allowed;
    }

/* ==========================================================
   PILLS / ACCENTS
   ========================================================== */

.gh-pill-blue {
    display: inline-block;
    background: var(--gh-blue);
    color: var(--gh-cyan);
    border-radius: 999px;
    padding: 5px 24px;
    white-space: nowrap;
}

.gh-pill-cyan {
    display: inline-block;
    background: var(--gh-cyan);
    color: var(--gh-navy);
    border-radius: 999px;
    padding: 0 10px;
}

/* ==========================================================
   HERO
   ========================================================== */

.gh-hero {
    background: var(--gh-white);
    padding: 28px 0 60px;
}

.gh-hero__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.gh-hero__logo {
    width: 170px;
    height: auto;
}

.gh-hero__eyebrow {
    font-weight: 500;
    color: var(--gh-navy);
    font-size: 16px;
    letter-spacing: 0;
}

.gh-hero__title {
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.12;
    font-weight: 700;
    letter-spacing: 0;
    margin: 0 0 24px;
    color: var(--gh-navy);
    white-space: nowrap;
}

.gh-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 36px;
    align-items: center;
}

.gh-hero__intro {
    min-width: 0;
}

.gh-hero__lead {
    font-size: 24px;
    font-weight: 500;
    line-height: 1.12;
    letter-spacing: 0;
    color: var(--gh-navy);
    margin: 0 auto 24px;
    max-width: 440px;
    text-align: center;
}

.gh-hero__media {
    display: block;
    width: 100%;
    max-width: 520px;
    aspect-ratio: 321 / 199;
    height: auto;
    object-fit: cover;
    object-position: center;
    border-radius: 40px;
}

.gh-hero__form {
    min-width: 0;
}

/* ==========================================================
   FORM CARD
   ========================================================== */

.gh-form-card {
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
}

.gh-hero__form .gh-form-card {
    background: var(--gh-page);
    border-radius: 22px;
    padding: 32px 24px;
    box-shadow: none;
}

.gh-form__heading {
    color: var(--gh-blue);
    font-weight: 700;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0;
    margin: 0 0 22px;
}

.gh-form__heading--center {
    text-align: center;
}

.gh-form__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 12px;
}

.gh-field {
    min-width: 0;
    margin-bottom: 12px;
}

.gh-field--full {
    grid-column: 1 / -1;
}

.gh-input,
.gh-select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 44px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.3;
    color: var(--gh-navy);
    padding: 10px 16px;
    border: 1px solid var(--gh-line);
    border-radius: 999px;
    background-color: var(--gh-white);
    outline: none;
    box-shadow: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

    .gh-input::placeholder {
        color: #9297a4;
        opacity: 1;
    }

    .gh-input:focus,
    .gh-select:focus {
        border-color: var(--gh-blue);
        box-shadow: 0 0 0 3px rgba(2, 2, 228, .10);
    }

.gh-select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%235c6478' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 18px center;
    background-size: 12px 8px;
    padding-right: 40px;
    cursor: pointer;
}

.gh-form__actions {
    text-align: center;
    margin-top: 18px;
}

.gh-form__msg {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 12px;
    text-align: center;
    display: none;
}

    .gh-form__msg.is-error {
        color: #c0392b;
        display: block;
    }

    .gh-form__msg.is-success {
        color: #1e7d4c;
        display: block;
    }

/* ==========================================================
   FEATURES
   ========================================================== */

.gh-features {
    background: var(--gh-navy);
    color: var(--gh-white);
    padding: 65px 0;
}

.gh-features__title {
    text-align: center;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0;
    margin: 0 0 18px;
}

.gh-features__lead {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 42px;
    color: var(--gh-white);
    font-size: 17px;
    line-height: 1.45;
}

.gh-feature-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 24px 30px;
}

.gh-feature {
    display: flex;
    align-items: center;
    gap: 18px;
    min-width: 0;
    min-height: 96px;
    background: var(--gh-card);
    border-radius: 999px;
    padding: 10px 20px 10px 10px;
}

.gh-feature__icon {
    flex: 0 0 68px;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--gh-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gh-white);
    font-size: 24px;
}

    .gh-feature__icon img {
        width: auto;
        height: auto;
        max-width: 45px;
        max-height: 45px;
        display: block;
    }

.gh-feature__title {
    font-weight: 700;
    font-size: 17px;
    line-height: 1.2;
    margin: 0 0 4px;
    color: var(--gh-navy);
}

.gh-feature__text {
    color: var(--gh-navy);
    font-size: 14px;
    line-height: 1.35;
    margin: 0;
}

/* ==========================================================
   BETTER HEALTH / BETTER WORK
   ========================================================== */

.gh-better {
    background: var(--gh-page);
}

.gh-better__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.gh-better__media {
    min-height: 480px;
    background-color: #0d1a3a;
    background-image: linear-gradient( 90deg, rgba(13, 26, 58, 0), rgba(13, 26, 58, .35) ), url('better-health.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 40px 56px;
}

.gh-better__copy {
    color: var(--gh-white);
    text-align: right;
}

.gh-better__headline {
    font-size: 54px;
    font-weight: 700;
    line-height: .9;
    letter-spacing: 0;
    margin: 0;
}

.gh-better__work {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: 0;
    margin: 6px 0 0;
}

.gh-better__sub {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    margin: 24px 0 0;
}

.gh-better__form-col {
    padding: 48px 56px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: var(--gh-page);
    min-width: 0;
}

    .gh-better__form-col .gh-form-card {
        max-width: 440px;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .gh-better__form-col .gh-form__actions {
        text-align: left;
    }

/* ==========================================================
   FOOTER
   ========================================================== */

.gh-footer {
    background: var(--gh-navy);
    color: #cfd2ec;
    padding: 55px 0 48px;
}

.gh-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: start;
}

.gh-footer__col {
    text-align: center;
}

.gh-footer__logo {
    width: 180px;
    margin: 0 auto 26px;
}

.gh-footer__legal {
    font-size: 11px;
    line-height: 1.45;
    max-width: 350px;
    margin: 0 auto;
    color: #cfd2ec;
}

    .gh-footer__legal + .gh-footer__legal {
        margin-top: 14px;
    }

.gh-footer__bryte-lockup {
    position: relative;
    display: inline-block;
    margin-bottom: 24px;
}

.gh-footer__uw {
    position: absolute;
    top: 4px;
    left: 34px;
    font-size: 9px;
    line-height: 14px;
    letter-spacing: 0;
    color: #cfd2ec;
}

.gh-footer__bryte {
    width: 145px;
    display: block;
}

.gh-footer__dctext {
    font-size: 11px;
    line-height: 1.45;
    max-width: 260px;
    margin: 0 auto 14px;
    color: #cfd2ec;
}

.gh-footer__debicheck {
    width: 105px;
    margin: 0 auto;
}

/* ==========================================================
   SMALL DESKTOP / TABLET
   ========================================================== */

@media (max-width: 1100px) {

    .gh-hero__title {
        font-size: clamp(34px, 5vw, 54px);
    }

    .gh-hero__grid {
        gap: 28px;
    }

    .gh-hero__lead {
        font-size: 22px;
    }

    .gh-hero__form .gh-form-card {
        padding: 28px 20px;
    }

    .gh-better__media {
        padding: 35px;
    }

    .gh-better__form-col {
        padding: 35px;
    }
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 900px) {

    .gh-container {
        padding: 0 24px;
    }

    .gh-hero {
        padding: 26px 0 50px;
    }

    .gh-hero__top {
        margin-bottom: 32px;
    }

    .gh-hero__title {
        font-size: clamp(34px, 5.5vw, 48px);
        white-space: normal;
    }

    .gh-hero__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gh-hero__intro {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .gh-hero__lead {
        max-width: 520px;
        font-size: 23px;
    }

    .gh-hero__media {
        max-width: 100%;
        margin: 0 auto;
    }

    .gh-hero__form {
        width: 100%;
        max-width: 600px;
        margin: 0 auto;
    }

    .gh-feature-grid {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 650px;
        margin: 0 auto;
    }

    .gh-feature {
        border-radius: 999px;
    }

    .gh-better__grid {
        grid-template-columns: 1fr;
    }

    .gh-better__media {
        min-height: 360px;
        padding: 35px;
    }

    .gh-better__headline {
        font-size: 48px;
    }

    .gh-better__work {
        font-size: 32px;
    }

    .gh-better__form-col {
        padding: 40px 24px;
        justify-content: center;
    }

        .gh-better__form-col .gh-form-card {
            max-width: 600px;
        }

    .gh-footer__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* ==========================================================
   MOBILE
   ========================================================== */

@media (max-width: 560px) {

    /* General */

    .gh-container {
        padding: 0 20px;
    }

    /* Hero */

    .gh-hero {
        padding: 20px 0 44px;
    }

    .gh-hero__top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        margin-bottom: 32px;
    }

    .gh-hero__logo {
        width: 125px;
        flex-shrink: 0;
    }

    .gh-hero__eyebrow {
        font-size: 12px;
        text-align: right;
    }

    .gh-hero__title {
        font-size: clamp(27px, 7vw, 38px);
        line-height: 1.18;
        text-align: center;
        margin: 0 0 28px;
        letter-spacing: -.02em;
        white-space: normal;
    }

    .gh-pill-blue {
        padding: 5px 12px;
        white-space: nowrap;
    }

    .gh-hero__grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .gh-hero__intro {
        width: 100%;
        max-width: 100%;
    }

    .gh-hero__lead {
        font-size: 22px;
        font-weight: 500;
        line-height: 1.2;
        max-width: 100%;
        text-align: center;
        margin: 0 auto 30px;
    }

    .gh-hero__media {
        width: 100%;
        max-width: 100%;
        border-radius: 36px;
        aspect-ratio: 321 / 199;
        object-fit: cover;
    }

    /* Mobile form - transparent as in Figma */

    .gh-hero__form {
        width: 100%;
        max-width: 100%;
    }

        .gh-hero__form .gh-form-card {
            background: transparent;
            border: none;
            border-radius: 0;
            box-shadow: none;
            padding: 0;
        }

    .gh-form__heading {
        font-size: 22px;
        line-height: 1.25;
        font-weight: 700;
        text-align: center;
        margin: 0 0 28px;
    }

    .gh-form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .gh-field {
        margin-bottom: 15px;
    }

    .gh-input,
    .gh-select {
        min-height: 52px;
        font-size: 16px;
        line-height: 1.3;
        padding: 13px 20px;
        border: 1px solid var(--gh-line);
        border-radius: 999px;
    }

    .gh-select {
        padding-right: 44px;
        background-position: right 20px center;
    }

    .gh-form__actions {
        text-align: center;
        margin-top: 26px;
    }

    .gh-btn {
        font-size: 16px;
        font-weight: 700;
        padding: 12px 26px;
        min-height: 44px;
    }

    .gh-form__msg {
        font-size: 14px;
        line-height: 1.4;
    }

    /* Features */

    .gh-features {
        padding: 48px 0;
    }

    .gh-features__title {
        font-size: 25px;
        line-height: 1.25;
        margin-bottom: 20px;
    }

    .gh-pill-cyan {
        padding: 2px 9px;
    }

    .gh-features__lead {
        font-size: 16px;
        line-height: 1.45;
        margin-bottom: 32px;
    }

    .gh-feature-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .gh-feature {
        min-height: 100px;
        padding: 14px 16px;
        gap: 14px;
        border-radius: 30px;
        align-items: center;
    }

    .gh-feature__icon {
        flex: 0 0 60px;
        width: 60px;
        height: 60px;
    }

        .gh-feature__icon img {
            max-width: 40px;
            max-height: 40px;
        }

    .gh-feature__title {
        font-size: 16px;
        line-height: 1.2;
        margin-bottom: 4px;
    }

    .gh-feature__text {
        font-size: 14px;
        line-height: 1.35;
    }

    /* Better Health */

    .gh-better__grid {
        grid-template-columns: 1fr;
    }

    .gh-better__media {
        min-height: 350px;
        padding: 24px;
        background-position: center;
    }

    .gh-better__copy {
        text-align: right;
    }

    .gh-better__headline {
        font-size: 42px;
        line-height: .95;
    }

    .gh-better__work {
        font-size: 30px;
        line-height: 1.1;
    }

    .gh-better__sub {
        font-size: 15px;
        line-height: 1.3;
        margin-top: 18px;
    }

    .gh-better__form-col {
        padding: 42px 20px 50px;
        justify-content: center;
    }

        .gh-better__form-col .gh-form-card {
            max-width: 100%;
        }

        .gh-better__form-col .gh-form__actions {
            text-align: center;
        }

    /* Footer */

    .gh-footer {
        padding: 46px 0;
    }

    .gh-footer__grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .gh-footer__logo {
        width: 165px;
        margin-bottom: 24px;
    }

    .gh-footer__legal {
        font-size: 11px;
        line-height: 1.5;
        max-width: 320px;
    }

    .gh-footer__bryte {
        width: 140px;
    }

    .gh-footer__dctext {
        font-size: 11px;
        line-height: 1.5;
        max-width: 280px;
    }

    .gh-footer__debicheck {
        width: 105px;
    }
}

/* ==========================================================
   VERY SMALL MOBILE
   ========================================================== */

@media (max-width: 380px) {

    .gh-container {
        padding: 0 16px;
    }

    .gh-hero__logo {
        width: 110px;
    }

    .gh-hero__eyebrow {
        font-size: 11px;
    }

    .gh-hero__title {
        font-size: 27px;
    }

    .gh-pill-blue {
        padding: 4px 9px;
    }

    .gh-hero__lead {
        font-size: 20px;
    }

    .gh-form__heading {
        font-size: 20px;
    }

    .gh-features__title {
        font-size: 23px;
    }

    .gh-feature {
        padding: 12px;
        gap: 12px;
    }

    .gh-feature__icon {
        flex-basis: 54px;
        width: 54px;
        height: 54px;
    }

    .gh-feature__title {
        font-size: 15px;
    }

    .gh-feature__text {
        font-size: 13px;
    }

    .gh-better__headline {
        font-size: 38px;
    }

    .gh-better__work {
        font-size: 27px;
    }
}

/* ==========================================================
   THANK-YOU CONFIRMATION
   ========================================================== */

.gh-success {
    display: none;
    width: 100%;
    text-align: center;
    color: var(--gh-navy);
    padding: 12px 8px;
}

.gh-success__icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    border-radius: 50%;
    background: var(--gh-cyan);
    display: flex;
    align-items: center;
    justify-content: center;
}

    .gh-success__icon img {
        width: 48px;
        height: 48px;
        object-fit: contain;
    }

.gh-success h2 {
    color: var(--gh-blue);
    font-size: 26px;
    font-weight: 800;
    line-height: 1;
    margin: 0;
}

.gh-success h3 {
    color: var(--gh-blue);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 18px;
}

.gh-success p {
    color: var(--gh-navy);
    font-size: 15px;
    line-height: 1.3;
    margin: 0;
}

    .gh-success p strong {
        font-weight: 700;
    }

/* Apply only after a successful submission. JavaScript will
   add this class to the corresponding card in Step 3. */
.gh-hero__form .gh-form-card.gh-form-card--success {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gh-better__form-col .gh-form-card.gh-form-card--success {
    min-height: 340px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 560px) {
    .gh-hero__form .gh-form-card.gh-form-card--success {
        background: var(--gh-page);
        border-radius: 22px;
        padding: 28px 14px;
        min-height: 320px;
    }

    .gh-success {
        padding: 10px 0;
    }

    .gh-success__icon {
        width: 72px;
        height: 72px;
        margin-bottom: 18px;
    }

        .gh-success__icon img {
            width: 42px;
            height: 42px;
        }

    .gh-success h2 {
        font-size: 24px;
    }

    .gh-success h3 {
        font-size: 16px;
    }

    .gh-success p {
        font-size: 14px;
    }
}
