:root {
    /* Mustard Seed logo palette (sampled from images/logo.PNG) */
    --brand-green: #043a16;
    --brand-green-deep: #003815;
    --brand-green-mid: #0a5c2e;
    --brand-green-light: #45881f;
    --brand-gold: #c09701;
    --brand-gold-deep: #9b7101;
    --brand-gold-soft: #c49d00;
    --brand-gold-pale: #f3e8c8;

    --bg: #eef4ef;
    --surface: #ffffff;
    --text: #0a2814;
    --muted: #5a6f60;
    --brand: var(--brand-green);
    --brand-soft: var(--brand-green-mid);
    --line: #d5e4d8;
    --shadow: 0 16px 36px rgba(4, 58, 22, 0.16);

    --gradient-brand-rail: linear-gradient(165deg, var(--brand-green-deep) 0%, var(--brand-green) 55%, var(--brand-green-mid) 100%);
    --gradient-hero: linear-gradient(165deg, var(--brand-green-deep) 0%, var(--brand-green) 62%, var(--brand-green-light) 100%);
    --gradient-btn: linear-gradient(145deg, var(--brand-green), var(--brand-gold));
    --gradient-consent-head: linear-gradient(150deg, var(--brand-green-deep), var(--brand-green-mid));
}

* {
    box-sizing: border-box;
}

[hidden] {
    display: none !important;
}

html,
body {
    margin: 0;
    padding: 0;
    font-family: "Segoe UI", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
}

button,
input {
    font: inherit;
}

.page {
    min-height: 100vh;
    width: 100%;
    max-width: none;
    margin: 0;
    background: var(--bg);
    display: flex;
    flex-direction: column;
}

/* Desktop / large tablet: split layout (brand rail + main flow), similar to guided reference */
.brand-rail {
    display: none;
}

.brand-rail-inner {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.brand-rail-title {
    margin: 26px 0 14px;
    font-size: clamp(1.45rem, 1.7vw + 0.95rem, 2.2rem);
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.brand-rail-title-intro,
.brand-rail-title-name {
    display: block;
}

.brand-rail-title-intro {
    font-size: clamp(1.2rem, 0.7vw + 0.95rem, 1.55rem);
    font-weight: 700;
    margin-bottom: 4px;
}

.brand-rail-title-name {
    font-size: clamp(1.45rem, 1.7vw + 0.95rem, 2.2rem);
    font-weight: 800;
}

.brand-rail-lead {
    margin: 0 0 8px;
    font-size: clamp(1rem, 0.6vw + 0.9rem, 1.2rem);
    line-height: 1.45;
    color: #edf9f1;
    max-width: 36ch;
}

.brand-rail-kicker {
    margin-top: 14px;
}

.brand-rail-pills {
    margin-top: 22px;
}

.flow-panel {
    flex: 1;
    min-width: 0;
    width: 100%;
    background: var(--surface);
    display: flex;
    flex-direction: column;
}

/* Small / tablet portrait: full-width sheet; from ~480px center a wider card */
@media (max-width: 899px) {
    .flow-panel {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        min-height: 100vh;
    }
}

@media (min-width: 480px) and (max-width: 899px) {
    .flow-panel {
        max-width: min(680px, 100%);
        box-shadow: 0 0 0 1px rgba(4, 58, 22, 0.06);
    }
}

@media (min-width: 900px) {
    .page--split {
        flex-direction: row;
        align-items: stretch;
    }

    .brand-rail {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        flex: 1 1 46%;
        min-width: min(300px, 36vw);
        max-width: none;
        padding: 56px clamp(28px, 4vw, 72px) 48px;
        background: var(--gradient-brand-rail);
        color: #fff;
        /* Avoid `position: sticky` here: in row flex layouts it can paint above the
           sibling column and steal clicks on the white panel (mobile has no rail). */
        position: relative;
        align-self: stretch;
        min-height: 100vh;
        box-sizing: border-box;
        z-index: 1;
        overflow-x: hidden;
        pointer-events: none;
    }

    .brand-rail-inner {
        max-width: 420px;
        width: 100%;
        margin: 0;
    }

    .brand-rail .hero-logo-wrap {
        margin-bottom: 4px;
    }

    .flow-panel {
        flex: 1 1 54%;
        min-width: 0;
        min-height: 100vh;
        overflow-y: auto;
        overflow-x: hidden;
        box-shadow: -12px 0 40px rgba(8, 19, 36, 0.08);
        position: relative;
        z-index: 5;
        isolation: isolate;
        pointer-events: auto;
    }

    /* Welcome lives in the brand rail; avoid duplicate headings on large screens */
    .home-view > .hero,
    .start-screen > .start-hero {
        display: none;
    }

    /* Home: use the full right pane — left-aligned block, vertically centered (no “postage stamp” in empty space) */
    .flow-panel > .home-view {
        width: 100%;
        max-width: none;
        margin: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 0 clamp(28px, 4vw, 72px);
        box-sizing: border-box;
    }

    .home-view > .content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 56px 0 56px;
        max-width: min(720px, 100%);
    }

    .home-view .content h2,
    .home-view .subhead {
        text-align: left;
    }

    .home-view .content h2::after {
        margin: 10px 0 0;
    }

    .home-view .info-note {
        text-align: left;
    }

    .home-view .faq-link {
        text-align: left;
        width: auto;
    }

    /* Journey screen: same rhythm as home */
    .flow-panel > .start-screen {
        width: 100%;
        max-width: none;
        margin: 0;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        padding: 0 clamp(28px, 4vw, 72px);
        box-sizing: border-box;
    }

    .start-screen .start-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 56px 0 48px;
        max-width: min(720px, 100%);
    }

    .start-screen .start-content h2 {
        text-align: left;
    }

    .flow-panel > .account-screen,
    .flow-panel > .ghana-screen {
        width: 100%;
        max-width: 880px;
        margin-left: auto;
        margin-right: auto;
        padding-left: clamp(20px, 3vw, 48px);
        padding-right: clamp(20px, 3vw, 48px);
        box-sizing: border-box;
    }

    .start-screen .start-action-label,
    .start-screen .start-divider {
        text-align: left;
    }

    .start-screen .start-faq-link,
    .start-screen .start-version,
    .start-screen .start-footer-link {
        text-align: left;
    }

    .home-view .service-list {
        gap: 16px;
        position: relative;
        z-index: 1;
    }

    .home-view .service-card {
        min-height: 112px;
        padding: 18px 20px;
        border-radius: 20px;
    }

    .home-view .service-copy strong {
        font-size: 1.65rem;
    }
}

/* Large desktops: cap content line length inside the white panel */
@media (min-width: 1200px) {
    .home-view > .content,
    .start-screen .start-content {
        max-width: min(800px, 100%);
    }

    .flow-panel > .account-screen,
    .flow-panel > .ghana-screen {
        max-width: 960px;
    }
}

.hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 18px 20px 28px;
    border-bottom-left-radius: 26px;
    border-bottom-right-radius: 26px;
}

.hero-logo-wrap {
    background: var(--brand-green-mid);
    width: fit-content;
    border-radius: 10px;
    padding: 8px 10px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--brand-gold-soft);
}

.hero-logo {
    width: 150px;
    max-width: 100%;
    display: block;
}

.hero h1 {
    margin: 8px 0 10px;
    font-size: 2.1rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero p {
    margin: 0;
    font-size: 1.12rem;
    color: #edf9f1;
}

.hero-kicker {
    margin-top: 14px;
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-gold-pale);
    font-weight: 700;
}

.hero-pill-row {
    margin-top: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(192, 151, 1, 0.45);
    font-size: 0.8rem;
    font-weight: 600;
}

.content {
    padding: 24px 18px 28px;
}

.content h2 {
    margin: 0;
    text-align: center;
    font-size: 1.9rem;
    line-height: 1.2;
    color: #103521;
    position: relative;
    padding-bottom: 8px;
}

.content h2::after {
    content: "";
    display: block;
    width: 84px;
    height: 4px;
    border-radius: 999px;
    background: var(--brand-gold-soft);
    margin: 10px auto 0;
}

.subhead {
    margin: 8px 0 16px;
    text-align: center;
    color: var(--muted);
    font-size: 1.1rem;
}

.service-list {
    display: grid;
    gap: 14px;
}

.service-card {
    width: 100%;
    border: 1px solid #d5e7da;
    border-radius: 18px;
    background: #fff;
    min-height: 104px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 14px;
    align-items: center;
    text-align: left;
    padding: 16px;
    box-shadow: 0 6px 16px rgba(4, 58, 22, 0.08);
    cursor: pointer;
}

.service-card:active {
    transform: scale(0.995);
}

.service-card--active {
    background: linear-gradient(145deg, var(--brand-green-mid), var(--brand-green-light));
    color: #fff;
    border-color: var(--brand-green-light);
}

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    display: inline-grid;
    place-items: center;
    font-size: 1.4rem;
    background: var(--brand-gold-pale);
    color: var(--brand-gold-deep);
}

.service-card--active .service-icon {
    background: rgba(192, 151, 1, 0.28);
    color: var(--brand-gold-pale);
}

.service-copy {
    display: grid;
    gap: 3px;
}

.service-tag {
    font-style: normal;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--brand-gold-pale);
    font-weight: 700;
}

.service-copy strong {
    font-size: 1.55rem;
    line-height: 1.1;
    font-weight: 800;
}

.service-copy small {
    font-size: 0.9rem;
    line-height: 1.2;
    color: #7b8798;
}

.service-card--active .service-copy small {
    color: #eef8f2;
}

.service-arrow {
    font-size: 1.8rem;
    color: #c49d00;
    margin-right: 2px;
}

.service-card--active .service-arrow {
    color: var(--brand-gold-pale);
}

.info-note {
    margin: 18px 0 8px;
    font-size: 0.9rem;
    color: var(--brand-gold);
    text-align: center;
}

.faq-link {
    border: 0;
    background: transparent;
    width: 100%;
    margin-top: 6px;
    color: var(--brand-gold);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.consent-overlay {
    position: fixed;
    inset: 0;
    background: rgba(7, 20, 42, 0.45);
    padding: 16px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 40;
}

.consent-overlay.is-open {
    display: flex;
}

.consent-modal {
    width: 100%;
    max-width: min(520px, 100%);
    max-height: min(96vh, 760px);
    background: var(--surface);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.consent-head {
    background: var(--gradient-consent-head);
    color: #ffffff;
    padding: 16px 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    border-bottom: 3px solid var(--brand-gold-soft);
}

.consent-head h3 {
    margin: 0;
    font-size: 1.2rem;
}

.consent-badge {
    font-size: 1.25rem;
    color: var(--brand-gold-pale);
}

.consent-body {
    padding: 18px;
    overflow: auto;
}

.consent-body h4 {
    margin: 0 0 12px;
    font-size: 1.35rem;
    color: var(--brand-gold);
}

.consent-body p {
    margin: 0 0 16px;
    font-size: 0.96rem;
    line-height: 1.4;
    color: #3b4453;
}

.consent-body a {
    color: var(--brand-gold);
    font-weight: 700;
}

.consent-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 14px;
}

.consent-check input {
    width: 24px;
    height: 24px;
    margin-top: 3px;
    accent-color: var(--brand-green);
    flex-shrink: 0;
}

.consent-check span {
    font-size: 0.95rem;
    line-height: 1.45;
    color: #364152;
}

.consent-status {
    min-height: 22px;
    margin: 12px 0 0;
    color: #b42318;
    font-size: 1rem;
    font-weight: 600;
}

.consent-actions {
    padding: 0 18px 18px;
    display: grid;
    gap: 10px;
}

.btn {
    min-height: 50px;
    border-radius: 12px;
    border: 0;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-btn);
    color: #fff;
}

.btn-primary:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.btn-outline {
    background: #fff;
    color: var(--brand-gold-deep);
    border: 2px solid #e8d4a8;
}

@media (max-width: 420px) {
    .hero h1 {
        font-size: 1.85rem;
    }

    .hero p,
    .subhead {
        font-size: 1rem;
    }

    .content h2 {
        font-size: 1.7rem;
    }

    .service-copy strong {
        font-size: 1.35rem;
    }

    .consent-body h4 {
        font-size: 1.2rem;
    }

    .consent-body p,
    .consent-check span {
        font-size: 0.9rem;
    }

    .btn {
        min-height: 48px;
        font-size: 0.95rem;
    }
}

/* Account setup intro page */
.start-body {
    background: #ecf4ee;
}

.start-page {
    min-height: 100vh;
    width: 100%;
    max-width: 460px;
    margin: 0 auto;
    background: #fff;
}

.start-hero {
    background: var(--gradient-hero);
    color: #fff;
    padding: 18px 20px 24px;
}

.start-hero h1 {
    margin: 16px 0 8px;
    font-size: 2rem;
    line-height: 1.18;
}

.start-hero p {
    margin: 0;
    color: #eaf8ef;
    font-size: 1.02rem;
}

.start-content {
    padding: 22px 18px 26px;
}

.start-content h2 {
    margin: 0 0 14px;
    font-size: 1.5rem;
    color: #153924;
}

.journey-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.journey-item {
    display: grid;
    grid-template-columns: 32px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px 10px 10px 0;
}

.journey-index {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--brand-gold);
    color: #fff;
    font-size: 0.9rem;
    font-weight: 700;
}

.journey-item h3 {
    margin: 0;
    font-size: 1.15rem;
    line-height: 1.2;
    color: #173a25;
}

.journey-item p {
    margin: 4px 0 0;
    font-size: 0.95rem;
    line-height: 1.38;
    color: #5f6e63;
}

.start-actions {
    margin-top: 20px;
}

.start-action {
    display: grid;
    place-items: center;
    text-decoration: none;
    width: 100%;
}

.start-action-label {
    margin: 0 0 8px;
    text-align: center;
    color: var(--brand-gold);
    font-size: 0.95rem;
}

.start-divider {
    margin: 10px 0;
    text-align: center;
    color: var(--brand-gold);
    font-weight: 600;
}

.start-faq-link {
    border: 0;
    background: transparent;
    display: block;
    width: 100%;
    margin-top: 18px;
    text-align: center;
    color: #165734;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
}

.start-version {
    margin: 20px 0 0;
    text-align: center;
    color: #7c8a80;
    font-size: 0.86rem;
}

.start-footer-link {
    margin: 14px 0 0;
    text-align: center;
}

.start-footer-link a {
    color: var(--brand-green-mid);
    font-weight: 700;
    text-decoration: none;
}

.start-footer-link button {
    border: 0;
    background: transparent;
    color: var(--brand-green-mid);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 420px) {
    .start-hero h1 {
        font-size: 1.8rem;
    }

    .start-content h2 {
        font-size: 1.35rem;
    }

    .journey-item h3 {
        font-size: 1.05rem;
    }
}

/* Account type selection screen */
.account-screen {
    min-height: 100vh;
    background: #fbfdfb;
}

.account-topbar {
    min-height: 64px;
    display: grid;
    grid-template-columns: 42px 1fr 42px;
    align-items: center;
    padding: 0 14px;
    border-bottom: 1px solid #e6efe8;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 8;
}

.account-back {
    border: 0;
    background: transparent;
    color: #264132;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.account-topbar h2 {
    margin: 0;
    text-align: center;
    font-size: 1.6rem;
    color: var(--text);
}

.account-body {
    padding: 16px 14px 110px;
}

.account-body h3 {
    margin: 0;
    font-size: 2rem;
    color: #112a1d;
}

.account-lead {
    margin: 8px 0 18px;
    font-size: 1.12rem;
    color: #617267;
}

.account-group-title {
    margin: 0 0 12px;
    color: var(--brand-green-deep);
    font-weight: 700;
    font-size: 1.3rem;
}

.account-card-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.account-card {
    position: relative;
    display: flex;
    cursor: pointer;
}

.account-option-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.account-card-inner {
    border: 1px solid #deeadf;
    border-radius: 14px;
    padding: 11px;
    background: #fff;
    box-shadow: 0 6px 16px rgba(4, 58, 22, 0.06);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    width: 100%;
    min-height: 132px;
    display: grid;
    grid-template-rows: auto 1fr;
    align-content: start;
}

.account-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.account-card-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.account-card-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--brand-gold-pale);
    color: var(--brand-gold-deep);
    display: inline-grid;
    place-items: center;
    font-size: 1.15rem;
}

.account-card h4 {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.2;
    color: #1a2f22;
}

.account-card p {
    margin: 8px 0 0;
    color: #5f6f65;
    font-size: 0.92rem;
    line-height: 1.3;
}

@media (min-width: 700px) {
    .account-card-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .account-card {
        height: 100%;
    }

    .account-card-inner {
        padding: 12px;
        min-height: 176px;
        height: 100%;
    }
}

.account-radio {
    width: 24px;
    height: 24px;
    border-radius: 999px;
    border: 2px solid #5a6a5f;
    flex-shrink: 0;
    position: relative;
}

.account-radio::after {
    content: "";
    position: absolute;
    inset: 5px;
    border-radius: 999px;
    background: var(--brand-green);
    transform: scale(0);
    transition: transform 0.2s ease;
}

.account-option-input:checked + .account-card-inner {
    border-color: var(--brand-green-light);
    background: #f5fbf7;
    box-shadow: 0 10px 18px rgba(4, 58, 22, 0.11);
}

.account-option-input:checked + .account-card-inner .account-radio {
    border-color: var(--brand-green);
}

.account-option-input:checked + .account-card-inner .account-radio::after {
    transform: scale(1);
}

.account-footer {
    position: sticky;
    bottom: 0;
    z-index: 7;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: linear-gradient(to top, #ffffff 70%, rgba(255, 255, 255, 0.2));
    border-top: 1px solid #e4ece5;
}

.account-continue-btn {
    width: 100%;
}

@media (max-width: 420px) {
    .account-topbar h2 {
        font-size: 1.35rem;
    }

    .account-body h3 {
        font-size: 1.75rem;
    }
}

@media (min-width: 1000px) {
    .account-card-list {
        gap: 14px;
    }

    .account-card-inner {
        min-height: 186px;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* Ghana card step */
.ghana-screen {
    min-height: 100vh;
    background: #fbfdfb;
}

.ghana-body {
    padding: 64px 16px 24px;
}

.ghana-body h3 {
    margin: 0;
    text-align: center;
    font-size: 2rem;
    color: var(--text);
    line-height: 1.2;
}

.ghana-lead {
    margin: 10px 0 20px;
    text-align: center;
    color: #66756b;
    font-size: 1.1rem;
    line-height: 1.35;
}

.ghana-steps {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
}

.ghana-steps li {
    display: grid;
    grid-template-columns: 28px 1fr;
    gap: 8px;
    align-items: start;
    padding: 8px 10px;
    border: 1px solid #deeadf;
    border-radius: 10px;
    background: #ffffff;
}

.ghana-step-index {
    width: 28px;
    height: 28px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--brand-gold);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.ghana-steps p {
    margin: 4px 0 0;
    color: #43554a;
    font-size: 0.92rem;
    line-height: 1.35;
}

.ghana-verify-btn {
    width: 100%;
    margin-top: 8px;
}

.ghana-status {
    min-height: 22px;
    margin: 12px 0 0;
    text-align: center;
    color: var(--brand-gold-deep);
    font-size: 0.95rem;
}

.ghana-status.err {
    color: #b42318;
}

.ghana-status.ok {
    color: var(--brand-green);
}

.ghana-result-card {
    margin-top: 16px;
    border: 1px solid #deeadf;
    border-radius: 14px;
    background: #fff;
    padding: 12px;
}

.ghana-result-card h4 {
    margin: 0 0 10px;
    color: var(--brand-green-deep);
    font-size: 1.02rem;
}

.ghana-passport-wrap {
    display: none;
    margin: 0 0 10px;
}

.ghana-passport-wrap.show {
    display: block;
}

.ghana-photo-row {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    margin: 0 0 12px;
    padding: 0 2px 6px;
}

.ghana-passport-wrap.show {
    display: block;
    flex: 0 0 auto;
    margin-bottom: 0;
}

.ghana-passport-label {
    margin: 0 0 6px;
    color: #4a5d50;
    font-size: 0.82rem;
    font-weight: 600;
    white-space: nowrap;
}

.ghana-passport-frame {
    width: 96px;
    height: 120px;
    border-radius: 10px;
    border: 1px solid #d8e6d9;
    overflow: hidden;
    background: #f6faf7;
}

.ghana-passport-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ghana-signature-frame {
    width: 132px;
    height: 72px;
}

.ghana-signature-frame img {
    object-fit: contain;
    background: #fff;
}

@media (max-width: 419px) {
    .ghana-result-card {
        padding: 12px 10px;
    }

    .ghana-result-card h4 {
        font-size: 0.98rem;
    }

    .ghana-result-grid input {
        font-size: 0.88rem;
        min-height: 38px;
    }

    .ghana-passport-frame {
        width: 88px;
        height: 110px;
    }

    .ghana-signature-frame {
        width: 120px;
        height: 66px;
    }
}

@media (min-width: 420px) {
    .ghana-photo-row {
        display: grid;
        grid-template-columns: repeat(3, auto);
        justify-content: start;
        gap: 14px;
        overflow-x: visible;
        padding-bottom: 0;
    }

    .ghana-passport-wrap.show {
        display: block;
    }
}

@media (min-width: 700px) {
    .ghana-photo-row {
        gap: 16px;
    }

    .ghana-passport-frame {
        width: 104px;
        height: 128px;
    }

    .ghana-signature-frame {
        width: 148px;
        height: 80px;
    }
}

.ghana-result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.ghana-result-grid > div {
    display: grid;
    gap: 4px;
}

.ghana-result-grid > div.full,
.ghana-result-grid > p.full {
    grid-column: 1 / -1;
}

.ghana-result-subhead {
    margin: 4px 0 -2px;
    color: var(--brand-green-deep);
    font-size: 0.86rem;
    font-weight: 700;
}

.ghana-result-grid label {
    color: #5e6f64;
    font-size: 0.8rem;
    font-weight: 600;
}

.ghana-result-grid input {
    min-height: 40px;
    border: 1px solid #d8e6d9;
    border-radius: 8px;
    background: #f7fbf8;
    color: #23352b;
    padding: 8px 10px;
    font-size: 0.92rem;
}

.ghana-result-grid > div.ghana-field-empty,
.ghana-result-grid > p.ghana-field-empty,
.ghana-result-grid > div[hidden],
.ghana-result-grid > p[hidden] {
    display: none !important;
}

@media (min-width: 420px) {
    .ghana-result-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1000px) {
    .ghana-result-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Post-verify: step 2 address/contact (mobile wizard + desktop inline) */
.ghana-post-verify {
    margin-top: 4px;
}

.ghana-followup-card {
    margin-top: 14px;
    border: 1px solid #deeadf;
    border-radius: 14px;
    background: #fff;
    padding: 14px 12px 16px;
}

.ghana-followup-section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 10px;
    color: var(--brand-green-deep);
    font-size: 1.05rem;
    font-weight: 700;
}

.ghana-followup-section-title--contact {
    margin-top: 18px;
}

.ghana-followup-section-title--muted {
    margin-top: 18px;
    color: #4a5d50;
}

.ghana-followup-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.ghana-followup-subtitle {
    margin: 0 0 4px;
    color: #5e6f64;
    font-size: 0.88rem;
    font-weight: 600;
}

.ghana-followup-hint {
    margin: 0 0 12px;
    color: #7a8a80;
    font-size: 0.82rem;
    line-height: 1.35;
}

.ghana-followup-hint--last {
    margin-bottom: 0;
}

.ghana-followup-field {
    margin-bottom: 14px;
}

.ghana-followup-field label {
    display: block;
    margin: 0 0 6px;
    color: #4a5d50;
    font-size: 0.84rem;
    font-weight: 600;
}

.ghana-followup-field label .req {
    color: #c41e3a;
}

.ghana-followup-field input {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c5d4e8;
    border-radius: 10px;
    background: #fff;
    color: var(--text);
    padding: 10px 12px 10px 40px;
    font-size: 0.95rem;
    box-sizing: border-box;
    background-repeat: no-repeat;
    background-position: 12px center;
    background-size: 18px 18px;
}

#gc_mob_state_community,
#gc_mob_region,
#gc_mob_city,
#gc_mob_digital {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z'/%3E%3C/svg%3E");
}

#gc_mob_email {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/%3E%3C/svg%3E");
}

#gc_mob_phone {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M6.6 10.8c1.4 2.8 3.8 5.1 6.6 6.6l2.2-2.2c.3-.3.7-.4 1-.2 1.1.4 2.3.6 3.6.6.6 0 1 .4 1 1V20c0 .6-.4 1-1 1-9.4 0-17-7.6-17-17 0-.6.4-1 1-1h3.5c.6 0 1 .4 1 1 0 1.3.2 2.5.6 3.6.1.3 0 .7-.2 1L6.6 10.8z'/%3E%3C/svg%3E");
}

.ghana-followup-field input:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(4, 58, 22, 0.15);
}

.ghana-followup-row {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ghana-followup-section-title--products {
    margin-top: 20px;
}

.ghana-followup-hint--products {
    margin-bottom: 14px;
}

.ghana-followup-field--select .ghana-followup-select {
    width: 100%;
    min-height: 48px;
    border: 1px solid #c5d4e8;
    border-radius: 10px;
    background-color: #fff;
    color: var(--text);
    padding: 10px 36px 10px 40px;
    font-size: 0.95rem;
    box-sizing: border-box;
    appearance: none;
    -webkit-appearance: none;
    background-repeat: no-repeat;
    background-position: 12px center, right 12px center;
    background-size: 18px 18px, 14px 14px;
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M12 21.35l-1.45-1.32C5.4 15.36 2 12.28 2 8.5 2 5.42 4.42 3 7.5 3c1.74 0 3.41.81 4.5 2.09C13.09 3.81 14.76 3 16.5 3 19.58 3 22 5.42 22 8.5c0 3.78-3.4 6.86-8.55 11.54L12 21.35z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

#gc_mob_occupation {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M20 6h-4V4c0-1.11-.89-2-2-2h-4c-1.11 0-2 .89-2 2v2H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2zm-6 0h-4V4h4v2z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

#gc_mob_branch {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M4 10v7h3v-7H4zm6 0v7h3v-7h-3zm6 0v7h3v-7h-3zM2 22h20v-2H2v2zm2-8h2V7H4v7zm6 0h2V7h-2v7zm6 0h2V7h-2v7zM12 2L2 7v2h20V7L12 2z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2364748b'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
}

.ghana-followup-field--select .ghana-followup-select:focus {
    outline: none;
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(4, 58, 22, 0.15);
}

.ghana-product-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ghana-product-option {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 14px 14px 14px 12px;
    border: 1px solid #d8e3f0;
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    box-sizing: border-box;
}

.ghana-product-option:focus-within {
    border-color: var(--brand-green);
    box-shadow: 0 0 0 2px rgba(4, 58, 22, 0.12);
}

.ghana-product-option-icon {
    flex: 0 0 auto;
    font-size: 1.35rem;
    line-height: 1;
}

.ghana-product-option-body {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ghana-product-option-title {
    color: var(--brand-green-deep);
    font-size: 0.98rem;
    font-weight: 700;
}

.ghana-product-option-desc {
    color: #7a8a80;
    font-size: 0.82rem;
    line-height: 1.35;
}

.ghana-product-option input[type="checkbox"] {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    margin: 0;
    accent-color: var(--brand-green);
    cursor: pointer;
}

.ghana-account-summary {
    margin-top: 20px;
    padding: 16px;
    border-radius: 14px;
    background: linear-gradient(180deg, var(--brand-gold-pale) 0%, #e8f2eb 100%);
    border: 1px solid #d4dfc8;
}

.ghana-account-summary-kicker {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 600;
}

.ghana-account-summary-kicker-icon {
    font-size: 1rem;
    line-height: 1;
}

.ghana-account-summary-title {
    margin: 0 0 12px;
    color: var(--brand-green-deep);
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1.25;
}

.ghana-account-summary-desc {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    padding: 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dce8de;
}

.ghana-account-summary-desc-icon {
    flex: 0 0 auto;
    color: var(--brand-gold-deep);
    font-size: 1rem;
    line-height: 1.3;
}

.ghana-account-summary-desc p {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.45;
}

.ghana-account-summary-ready {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: var(--brand-green);
    font-size: 0.9rem;
    font-weight: 600;
}

.ghana-account-summary-ready span[aria-hidden="true"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e3f3e8;
    font-size: 0.75rem;
}

.ghana-step-final-actions {
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ghana-create-account-btn {
    width: 100%;
    min-height: 50px;
    font-size: 1rem;
    font-weight: 700;
}

.ghana-step-back-link {
    display: block;
    width: 100%;
    margin: 0;
    padding: 8px;
    border: 0;
    background: transparent;
    color: #5e6f64;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
}

.ghana-step-back-link:hover,
.ghana-step-back-link:focus {
    color: var(--brand-green-deep);
    text-decoration: underline;
}

.ghana-mobile-nav {
    display: none;
}

@media (max-width: 899px) {
    .ghana-body {
        padding-bottom: calc(88px + env(safe-area-inset-bottom));
    }

    /* After verify: hide how-to steps on mobile wizard (verified details / address / extras) */
    .ghana-body.ghana-body--post-verify-mobile .ghana-verify-intro {
        display: none !important;
    }

    .ghana-body.ghana-body--post-verify-mobile {
        padding-top: 16px;
    }

    .ghana-mobile-nav {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        position: sticky;
        bottom: 0;
        z-index: 12;
        margin: 16px -16px -24px;
        padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: linear-gradient(to top, #fbfdfb 85%, rgba(251, 253, 251, 0));
        border-top: 1px solid #deeadf;
    }

    .ghana-mobile-nav-btn {
        flex: 1 1 0;
        min-width: 0;
        min-height: 44px;
        padding: 10px 12px;
        font-size: 0.92rem;
    }

    .ghana-mobile-nav-step {
        flex: 0 0 auto;
        color: #5e6f64;
        font-size: 0.8rem;
        font-weight: 600;
        white-space: nowrap;
    }

    .ghana-post-verify[data-mobile-step="1"] .ghana-mobile-panel:not([data-mobile-step="1"]) {
        display: none !important;
    }

    .ghana-post-verify[data-mobile-step="2"] .ghana-mobile-panel:not([data-mobile-step="2"]) {
        display: none !important;
    }

    .ghana-post-verify[data-mobile-step="3"] .ghana-mobile-panel:not([data-mobile-step="3"]) {
        display: none !important;
    }

    .ghana-post-verify[data-mobile-step="1"] #ghana-mobile-prev-btn {
        visibility: hidden;
        pointer-events: none;
    }

    .ghana-post-verify.ghana-post-verify--final-step .ghana-mobile-nav {
        display: none;
    }

    .ghana-post-verify.ghana-post-verify--final-step {
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
    }
}

@media (min-width: 900px) {
    .ghana-mobile-panel[data-mobile-step="2"],
    .ghana-mobile-panel[data-mobile-step="3"] {
        display: block !important;
    }

    .ghana-mobile-panel[data-mobile-step="2"][hidden],
    .ghana-mobile-panel[data-mobile-step="3"][hidden] {
        display: block !important;
    }
}
