
    .hbh-modal { position: fixed; inset: 0; z-index: 100050; display: flex; align-items: center; justify-content: center; padding: 20px 16px; }
    .hbh-modal[hidden], .hbh-modal [hidden] { display: none !important; }
    .hbh-modal h2:focus { outline: none; }
    .hbh-modal__backdrop { position: absolute; inset: 0; background: rgba(3, 9, 20, .72); }
    @media (hover: hover) and (min-width: 1025px) {
        .hbh-modal__backdrop { -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
    }
    /* No blur on phones (the iOS GPU rules in assets/index.css strip it), so
       the page behind gets a darker veil instead. */
    @media (max-width: 1024px), (hover: none) {
        .hbh-modal__backdrop { background: rgba(3, 9, 20, .84); }
    }
    .hbh-modal__card {
        position: relative; width: 100%; max-width: 440px; max-height: calc(100dvh - 40px); overflow-y: auto;
        padding: 40px 34px 26px; border-radius: 22px; text-align: center; color: #fff;
        font-family: inherit;
        background:
            radial-gradient(1.2px 1.2px at 14% 12%, rgba(255, 255, 255, .55), transparent 60%),
            radial-gradient(1px 1px at 32% 6%, rgba(255, 255, 255, .45), transparent 60%),
            radial-gradient(1.3px 1.3px at 74% 9%, rgba(255, 255, 255, .5), transparent 60%),
            radial-gradient(1px 1px at 88% 30%, rgba(255, 255, 255, .35), transparent 60%),
            radial-gradient(1px 1px at 8% 46%, rgba(255, 255, 255, .3), transparent 60%),
            radial-gradient(1.2px 1.2px at 92% 64%, rgba(255, 255, 255, .3), transparent 60%),
            radial-gradient(1px 1px at 18% 84%, rgba(255, 255, 255, .3), transparent 60%),
            radial-gradient(120% 70% at 50% 0%, rgba(38, 74, 120, .55) 0%, transparent 60%),
            linear-gradient(180deg, #0c2546 0%, #061a35 55%, #04162f 100%);
        border: 1.5px solid #e9c463;
        box-shadow: 0 0 0 1px rgba(255, 228, 150, .18), 0 0 22px rgba(240, 190, 70, .38), 0 24px 60px rgba(0, 0, 0, .6), inset 0 0 18px rgba(240, 190, 70, .12);
        animation: hbhIn .22s ease-out;
    }
    @keyframes hbhIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
    @media (prefers-reduced-motion: reduce) { .hbh-modal__card { animation: none; } }
    .hbh-modal .hbh-modal__x {
        position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; border-radius: 50%;
        display: flex; align-items: center; justify-content: center; cursor: pointer;
        background: #233955; border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: 0;
    }
    .hbh-modal .hbh-modal__x:hover { background: #2d4868; }
    .hbh-modal .hbh-modal__x:focus-visible, .hbh-modal .hbh-submit:focus-visible, .hbh-modal .hbh-link:focus-visible { outline: 2px solid #ffe08a; outline-offset: 3px; }
    .hbh-modal__x svg { width: 16px; height: 16px; }
    .hbh-modal__icon {
        width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 16px;
        display: flex; align-items: center; justify-content: center; color: #f6c955;
        background: linear-gradient(180deg, rgba(255, 255, 255, .07) 0%, rgba(0, 0, 0, .18) 100%), #12243d;
        border: 1.5px solid rgba(240, 199, 99, .85);
        box-shadow: 0 0 14px rgba(240, 190, 70, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
    }
    .hbh-modal__icon svg { width: 32px; height: 32px; }
    .hbh-modal__icon .hbh-ico-done { display: none; }
    .hbh-modal.is-done .hbh-modal__icon .hbh-ico-form { display: none; }
    .hbh-modal.is-done .hbh-modal__icon .hbh-ico-done { display: block; }
    .hbh-modal h2 { margin: 0 0 10px; font-size: 27px; line-height: 1.2; font-weight: 700; color: #f6c955; letter-spacing: -.2px; text-shadow: 0 0 14px rgba(246, 201, 85, .22); }
    .hbh-modal__lead { margin: 0 0 22px; font-size: 15px; font-weight: 300; line-height: 1.5; color: #eef3fa; }
    .hbh-modal form { margin: 0; text-align: left; }
    /* assets/index.css styles every `form label` with !important (dark grey,
       weight 300, 14px) and other site rules thin the inputs to weight 200 —
       both unreadable on this navy card. The id outranks them. */
    #hbHiaaModal label { display: block; margin: 0 0 8px !important; font-size: 15px !important; font-weight: 700 !important; color: #fff !important; transition: none !important; }
    .hbh-field {
        position: relative; display: flex; align-items: center; height: 50px; border-radius: 10px;
        background: #0c213b; border: 1px solid rgba(150, 175, 205, .45); transition: border-color .15s, box-shadow .15s;
    }
    .hbh-field svg { position: absolute; left: 15px; width: 19px; height: 19px; color: #b8c6d8; pointer-events: none; }
    #hbHiaaModal .hbh-field input {
        width: 100%; height: 100%; min-width: 0; border: 0 !important; outline: none !important; box-shadow: none !important;
        background: transparent !important; color: #fff !important; padding: 0 14px 0 46px !important;
        font-size: 16px; font-weight: 400; font-family: inherit; border-radius: 10px;
    }
    /* The header forces every placeholder white (!important), which reads as a
       typed value; the mockup keeps them a muted grey. */
    #hbHiaaModal .hbh-field input::placeholder { color: #8d9db3 !important; opacity: 1; font-weight: 400; }
    .hbh-field:focus-within { border-color: #e9c463; box-shadow: 0 0 0 3px rgba(233, 196, 99, .18); }
    .hbh-field.is-bad { border-color: #ff8a8a; box-shadow: 0 0 0 3px rgba(255, 120, 120, .15); }
    .hbh-field input:-webkit-autofill { -webkit-box-shadow: 0 0 0 1000px #0c213b inset !important; -webkit-text-fill-color: #fff !important; caret-color: #fff; }
    .hbh-err { min-height: 0; margin: 6px 2px 0; font-size: 13px; color: #ffb0b0; }
    .hbh-err:empty { margin: 0; }
    .hbh-gap { height: 18px; }
    .hbh-err--form { text-align: center; margin-top: 14px; }
    .hbh-modal .hbh-submit {
        display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 54px; margin-top: 24px;
        border: 0; border-radius: 999px; cursor: pointer; font-family: inherit; font-size: 18px; font-weight: 800; color: #111a2c;
        background: linear-gradient(180deg, #fcd774 0%, #f2bb44 100%);
        box-shadow: 0 0 18px rgba(246, 190, 64, .45), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(160, 105, 10, .25);
        transition: transform .15s, box-shadow .15s, filter .15s;
    }
    .hbh-modal .hbh-submit:hover { transform: translateY(-1px); filter: brightness(1.04); box-shadow: 0 0 26px rgba(246, 190, 64, .6), inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -2px 0 rgba(160, 105, 10, .25); }
    .hbh-modal .hbh-submit[disabled] { cursor: progress; filter: saturate(.8) brightness(.92); transform: none; }
    .hbh-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid rgba(17, 26, 44, .25); border-top-color: #111a2c; animation: hbhSpin .7s linear infinite; display: none; }
    .hbh-submit.is-busy .hbh-spin { display: inline-block; }
    @keyframes hbhSpin { to { transform: rotate(360deg); } }
    .hbh-note { margin: 16px 0 0; text-align: center; font-size: 12.5px; color: #b9c6d6; }
    .hbh-done-email { color: #ffe08a; font-weight: 700; word-break: break-all; }
    .hbh-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 2px; color: #ffe08a; font-weight: 700; font-size: 15px; text-decoration: none; border-bottom: 1px solid rgba(255, 224, 138, .45); padding-bottom: 2px; }
    .hbh-link:hover { color: #fff; border-color: #fff; }
    .hbh-link svg { width: 17px; height: 17px; }
    html.hbh-lock, html.hbh-lock body { overflow: hidden !important; }
    @media (max-width: 480px) {
        .hbh-modal { padding: 14px; }
        .hbh-modal__card { padding: 34px 20px 22px; border-radius: 20px; }
        .hbh-modal h2 { font-size: 24px; }
        .hbh-modal__lead { font-size: 14px; margin-bottom: 18px; }
        .hbh-modal .hbh-submit { height: 52px; font-size: 17px; }
    }
