:root {
    --bn-ink: #0B1220;
    --bn-blue: #1e67b9;
    --bn-accent: #0472bb;
    --bn-sky: #38bdf8;
    --bn-ease: cubic-bezier(.16, 1, .3, 1);
}

/* The intro curtain: blue logo on a white tile */
.bx-intro-logo { background: #fff; padding: 14px; box-shadow: 0 30px 80px -20px rgba(56, 189, 248, .45); }

.bn-skip { position: fixed; left: 16px; top: -60px; z-index: 3000; padding: .7rem 1rem; border-radius: 10px; background: var(--bn-ink); color: #fff; font: 600 .9rem var(--bx-font); text-decoration: none; transition: top .3s; }
.bn-skip:focus { top: 16px; }
#main-content { position: absolute; }

.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0;
    font-family: var(--bx-font); pointer-events: none;
    transition: transform .55s var(--bn-ease), padding .45s var(--bn-ease);
}
.navbar *, .navbar *::before, .navbar *::after { box-sizing: border-box; }
.navbar.hidden { transform: translateY(-120%); }
.bn-shell {
    pointer-events: auto; position: relative; height: 84px; margin: 0; padding: 0 max(28px, calc((100% - 1320px) / 2 + 28px));
    display: flex; align-items: center; gap: 18px;
    border-radius: 0; isolation: isolate;
    background: transparent;
    border: 0; border-bottom: 1px solid rgba(11, 18, 32, .06);
    box-shadow: 0 14px 34px -26px rgba(11, 18, 32, .55);
    transition: height .45s var(--bn-ease), background .45s, box-shadow .45s;
}
/* A thin sky line glows along the bottom edge */
.bn-shell::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: none; opacity: .7; }
.navbar.scrolled .bn-shell { height: 70px; box-shadow: 0 18px 44px -24px rgba(11, 18, 32, .5); }
.navbar.scrolled .bn-shell::before { background: rgba(255, 255, 255, .98); }
.bn-shell::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: rgba(255, 255, 255, .95); -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7); transition: background .45s; }

.bn-logo { display: flex; align-items: center; flex-shrink: 0; height: 100%; padding: 8px 0; text-decoration: none; }
.bn-logo img { height: 58px; width: auto; display: block; transition: height .45s var(--bn-ease), transform .5s var(--bn-ease); }
.navbar.scrolled .bn-logo img { height: 46px; }
.bn-logo:hover img { transform: translateY(-1px) scale(1.03); }

.bn-nav { flex: 1; display: flex; justify-content: center; min-width: 0; }
.nav-menu { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a, .bn-drop-toggle {
    position: relative; display: inline-flex; align-items: center; gap: 6px; padding: 10px 13px; border-radius: 12px;
    font: 500 .93rem var(--bx-font); color: rgba(11, 18, 32, .78); text-decoration: none; white-space: nowrap;
    background: none; border: 0; cursor: pointer; transition: color .3s, background .3s;
}
.nav-menu > li > a::after, .bn-drop-toggle::after {
    content: ""; position: absolute; left: 13px; right: 13px; bottom: 5px; height: 2px; border-radius: 2px;
    background: var(--bn-accent); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--bn-ease);
}
.nav-menu > li > a:hover, .bn-drop-toggle:hover, .bn-drop.is-open .bn-drop-toggle { color: var(--bn-ink); background: rgba(4, 114, 187, .07); }
.nav-menu > li > a:hover::after, .bn-drop-toggle:hover::after { transform: scaleX(1); }
.nav-menu > li > a.active, .bn-drop-toggle.active { color: var(--bn-accent); font-weight: 600; }
.nav-menu > li > a.active::after, .bn-drop-toggle.active::after { transform: scaleX(1); }
.nav-menu a:focus-visible, .bn-drop-toggle:focus-visible, .bn-cta:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--bn-sky); outline-offset: 2px; }
.bn-caret { width: 7px; height: 7px; border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .35s var(--bn-ease); }
.bn-drop.is-open .bn-caret { transform: translateY(1px) rotate(-135deg); }

/* Mega panel */
.bn-panel {
    position: absolute; top: calc(100% + 16px); left: 50%; width: 640px; padding: 14px;
    display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px;
    background: #fff;
    border: 1px solid #E6E2DA; border-radius: 4px; box-shadow: 0 40px 90px -30px rgba(11, 18, 32, .45);
    opacity: 0; visibility: hidden; transform: translate(-50%, -10px); transition: opacity .35s, transform .45s var(--bn-ease), visibility 0s .35s;
}
.bn-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -18px; height: 18px; }   /* hover bridge */
.bn-drop.is-open .bn-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s, transform .45s var(--bn-ease); }
@media (hover: hover) and (min-width: 1101px) {
    .bn-drop:hover .bn-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition: opacity .35s, transform .45s var(--bn-ease); }
    .bn-drop:hover .bn-caret { transform: translateY(1px) rotate(-135deg); }
}
.bn-panel-grid { display: grid; gap: 4px; }
.bn-item { display: flex; align-items: center; gap: 14px; padding: 10px; border-radius: 14px; text-decoration: none; color: var(--bn-ink); transition: background .3s; }
.bn-item:hover, .bn-item.active { background: #F3F7FB; }
.bn-item strong { display: block; font-size: .92rem; font-weight: 600; }
.bn-item small { display: block; font-size: .78rem; color: #6b7686; margin-top: 1px; }
.bn-mini { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 28%; background: var(--bn-accent) center / cover; box-shadow: 0 0 0 1px var(--bn-sky); transition: transform .4s var(--bn-ease); }
.bn-item:hover .bn-mini { transform: scale(1.06) rotate(-3deg); }
.navbar .bn-feature, .navbar .bn-feature strong { color: #fff !important; }
.bn-feature { position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; min-height: 220px; padding: 18px; border-radius: 4px; overflow: hidden; isolation: isolate; text-decoration: none; color: #fff; background: var(--bn-ink) center / cover; }
.bn-feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(11,18,32,0.59); transition: background .4s; }
.bn-feature:hover::before { background: rgba(11,18,32,0.63); }
.bn-feature strong { font-family: var(--bx-font); font-size: 1.25rem; line-height: 1.2; font-weight: 600; }
.bn-feature strong::after { content: " \2192"; font-family: var(--bx-font); font-size: .9rem; color: var(--bn-sky); }
.bn-feature-tag { align-self: flex-start; padding: .25rem .6rem; border-radius: 999px; background: var(--bn-accent); font-family: var(--bx-font); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }

/* CTA */
.bn-cta {
    flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; height: 48px; padding: 0 1.4rem; border-radius: 15px;
    font: 600 .9rem var(--bx-font); color: #fff !important; text-decoration: none;
    background: var(--bn-accent); background-size: 160% 160%; box-shadow: 0 14px 30px -14px rgba(4, 114, 187, .9);
    position: relative; overflow: hidden; isolation: isolate; transition: transform .35s var(--bn-ease), background-position .6s, box-shadow .35s;
}
.bn-cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: none; transform: translateX(-120%); transition: transform .8s; }
.bn-cta:hover { transform: translateY(-2px); background-position: 100% 0; box-shadow: 0 18px 36px -14px rgba(4, 114, 187, 1); }
.bn-cta:hover::after { transform: translateX(120%); }
.navbar.scrolled .bn-cta { height: 42px; }

/* Hamburger -> X */
.nav-toggle { display: none; position: relative; z-index: 1002; width: 48px; height: 48px; margin-left: auto; border-radius: 14px; border: 0; cursor: pointer; background: var(--bn-ink); flex-direction: column; justify-content: center; align-items: center; gap: 5px; padding: 0; }
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: #fff; transition: transform .45s var(--bn-ease), opacity .3s; }
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile curtain */
.nav-mobile {
    position: fixed; inset: 0; z-index: 999; display: flex; flex-direction: column; padding: 110px 24px 28px; overflow-y: auto;
    background: #F6F4EF;
    font-family: var(--bx-font); clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .7s var(--bn-ease), visibility 0s .7s;
}
.nav-mobile.active { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .7s var(--bn-ease); }
.bn-m-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.bn-m-logo { display: none; }
.bn-m-label { font-family: var(--bx-font); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bn-accent); }
.nav-mobile-menu { list-style: none; margin: 0; padding: 0; }
.nav-mobile-menu > li { border-bottom: 1px solid #E6E2DA; opacity: 0; transform: translateY(18px); transition: opacity .5s, transform .6s var(--bn-ease); }
.nav-mobile.active .nav-mobile-menu > li { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + .2s); }
.nav-mobile-menu > li > a, .bn-m-details summary {
    display: flex; align-items: baseline; gap: 14px; padding: 16px 0; list-style: none; cursor: pointer;
    font-family: var(--bx-font); font-size: 1.65rem; font-weight: 600; color: var(--bn-ink); text-decoration: none;
}
.bn-m-details summary::-webkit-details-marker { display: none; }
.bn-m-details summary::after { content: "+"; margin-left: auto; font-family: var(--bx-font); font-size: 1.2rem; color: var(--bn-accent); transition: transform .35s; }
.bn-m-details[open] summary::after { transform: rotate(45deg); }
.nav-mobile-menu a.active { color: var(--bn-accent); }
.bn-m-no { font-family: var(--bx-font); font-size: .72rem; font-weight: 400; color: #94a3b8; letter-spacing: .1em; }
.bn-m-sub { display: grid; gap: 4px; padding: 0 0 14px 34px; }
.bn-m-sub a { display: flex; align-items: center; gap: 12px; padding: 8px 0; font-size: 1rem; font-weight: 500; color: var(--bn-ink); text-decoration: none; }
.bn-m-sub .bn-mini { flex-basis: 36px; width: 36px; height: 36px; }
.bn-m-foot { margin-top: auto; padding-top: 26px; display: grid; gap: 14px; }
.bn-cta--block { width: 100%; height: 54px; }
.bn-m-phone { text-align: center; font-family: var(--bx-font); font-size: .85rem; color: var(--bn-ink); text-decoration: none; }

@media (max-width: 1320px) {
    .nav-menu > li > a, .bn-drop-toggle { padding: 10px 9px; font-size: .88rem; }
    .nav-menu > li > a::after, .bn-drop-toggle::after { left: 9px; right: 9px; }
}
@media (max-width: 1180px) { .bn-cta:not(.bn-cta--block) { display: none; } }
@media (max-width: 1100px) {
    .bn-nav { display: none; }
    .nav-toggle { display: flex; }
    .bn-shell { height: 72px; }
    .navbar.scrolled .bn-shell { height: 64px; }
    .bn-logo img { height: 48px; }
    .navbar.scrolled .bn-logo img { height: 42px; }
}
@media (max-width: 480px) {
    .bn-shell { padding: 0 16px; }

    .nav-toggle { width: 44px; height: 44px; }
    .nav-mobile-menu > li > a, .bn-m-details summary { font-size: 1.4rem; padding: 13px 0; }
}

.bp-toolbar { top: 84px !important; transition: top .55s var(--bn-ease); }
body.nav-scrolled .bp-toolbar { top: 70px !important; }
body.nav-hidden .bp-toolbar { top: 0 !important; }
@media (max-width: 1100px) { .bp-toolbar { top: 72px !important; } body.nav-scrolled .bp-toolbar { top: 64px !important; } }

.bf { position: relative; overflow: hidden; isolation: isolate; font-family: var(--bx-font); color: #94a3b8; background: #0B1220; }
.bf *, .bf *::before, .bf *::after { box-sizing: border-box; }
.bf::before {   /* faint blueprint grid */
    content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
    background-image: none;
    background-size: 64px 64px;
     
}
.bf-wrap { max-width: 1320px; margin: 0 auto; padding: 0 28px; }
.bf a { color: inherit; text-decoration: none; }

/* Blue call-to-action band */
.bf-cta {
    position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(50px, 7vw, 90px);
    display: grid; grid-template-columns: minmax(0, 1.3fr) auto; gap: 28px; align-items: center;
    padding: clamp(30px, 4.5vw, 54px); border-radius: 4px; color: #e0f2fe;
    background: #1e67b9;
    box-shadow: 0 50px 90px -50px rgba(4, 114, 187, .9);
}
.bf-cta::before { content: ""; position: absolute; width: 520px; height: 520px; right: -160px; top: -260px; z-index: -1; border-radius: 50%; display: none; }
.bf-cta::after {
    content: ""; position: absolute; inset: 0; z-index: -1; opacity: .5;
    background-image: none; background-size: 44px 44px;
     
}
.bf-eyebrow { display: inline-flex; align-items: center; gap: .7rem; font-family: var(--bx-font); font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: #bae6fd; }
.bf-eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; }
.bf-cta h2 { margin: .8rem 0 .5rem; font-family: var(--bx-font); font-weight: 600; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; letter-spacing: -.02em; color: #fff; }
.bf-cta h2 em { color: #bae6fd; }
.bf-cta p { margin: 0; max-width: 520px; color: #cfe8fb; }
.bf-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.bf-btn { display: inline-flex; align-items: center; gap: .6rem; height: 54px; padding: 0 1.5rem; border-radius: 16px; font-weight: 600; font-size: .95rem; transition: transform .35s var(--bn-ease), box-shadow .35s, background .35s; }
.bf-btn--white { background: #fff; color: var(--bn-ink) !important; box-shadow: 0 18px 36px -18px rgba(0, 0, 0, .6); }
.bf-btn--white::after { content: "\2192"; font-family: var(--bx-font); color: var(--bn-accent); transition: transform .35s; }
.bf-btn--white:hover::after { transform: translateX(4px); }
.bf-btn--wa { background: #25D366; color: #fff !important; box-shadow: 0 18px 36px -18px rgba(37, 211, 102, .9); }
.bf-btn--wa svg { width: 20px; height: 20px; fill: currentColor; }
.bf-btn:hover { transform: translateY(-3px); }

/* Columns */
.bf-grid { display: grid; grid-template-columns: 1.4fr .9fr .9fr 1.2fr; gap: clamp(28px, 4vw, 60px); padding: clamp(50px, 6vw, 80px) 0 clamp(30px, 4vw, 50px); }
.bf-logo-tile { display: inline-flex; padding: 14px 20px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px rgba(56, 189, 248, .45), 0 30px 60px -28px rgba(56, 189, 248, .75); transition: transform .5s var(--bn-ease); }
.bf-logo-tile:hover { transform: translateY(-3px) rotate(-1deg); }
.bf-brand img { height: 84px; width: auto; display: block; }
.bf-brand p { margin: 1.5rem 0 1.4rem; max-width: 330px; line-height: 1.75; font-size: .98rem; color: #94a3b8; }
.bf-social { display: flex; gap: 10px; }
.bf-social a {
    width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center;
    font-family: var(--bx-font); font-size: .76rem; font-weight: 500; color: #e2e8f0;
    background: rgba(255, 255, 255, .06); box-shadow: 0 0 0 1px rgba(255, 255, 255, .14);
    transition: background .3s, color .3s, transform .35s var(--bn-ease);
}
.bf-social a:hover { background: var(--bn-accent); color: #fff; transform: translateY(-3px); }
.bf h4 { margin: 0 0 1.2rem; font-family: var(--bx-font); font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--bn-sky); }
.bf-links { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.bf-links a { position: relative; display: inline-block; padding: .38rem 0; color: #cbd5e1; font-size: .96rem; transition: color .3s, transform .35s var(--bn-ease); }
.bf-links a::before { content: "\2192"; position: absolute; left: -18px; opacity: 0; font-family: var(--bx-font); color: var(--bn-sky); transition: opacity .3s, left .35s var(--bn-ease); }
.bf-links a:hover { color: #fff; transform: translateX(16px); }
.bf-links a:hover::before { opacity: 1; left: -16px; }
.bf-contact { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.bf-contact li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.bf-contact .bn-mini { width: 40px; height: 40px; flex-basis: 40px; display: grid; place-items: center; font-family: var(--bx-font); font-size: .64rem; color: #fff; }
.bf-contact small { display: block; font-family: var(--bx-font); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: #64748b; }
.bf-contact span, .bf-contact a { font-size: .94rem; color: #e2e8f0; line-height: 1.45; }
.bf-contact a:hover { color: var(--bn-sky); }

/* Giant wordmark fading into the page */
.bf-word {
    display: block; margin: 0 0 -.18em; text-align: center; user-select: none; pointer-events: none;
    font-family: var(--bx-font); font-weight: 700; font-size: clamp(5rem, 21vw, 20rem); line-height: .9; letter-spacing: -.06em;
    color: rgba(56, 189, 248, .12);
}
.bf-bottom { border-top: 1px solid rgba(255, 255, 255, .08); background: rgba(6, 10, 20, .55); }
.bf-bottom .bf-wrap { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; align-items: center; padding-top: 20px; padding-bottom: 20px; font-size: .86rem; color: #64748b; }
.bf-bottom strong { color: #fff; }
.bf-bottom nav { display: flex; gap: 18px; }
.bf-bottom nav a:hover { color: var(--bn-sky); }
.bf-heart { display: inline-block; width: 10px; height: 10px; margin: 0 2px; background: var(--bn-accent); transform: rotate(45deg); border-radius: 2px; }

@media (max-width: 992px) {
    .bf-grid { grid-template-columns: 1fr 1fr; }
    .bf-brand { grid-column: 1 / -1; }
    .bf-cta { grid-template-columns: 1fr; }
}
@media (max-width: 576px) {
    .bf-wrap { padding: 0 18px; }
    .bf-grid { grid-template-columns: 1fr; }
    .bf-brand img { height: 76px; }
    .bf-btn { flex: 1 1 100%; justify-content: center; }
    .bf-bottom .bf-wrap { flex-direction: column; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
    .navbar, .bn-panel, .nav-mobile, .nav-mobile-menu > li { transition: none !important; }
}
