:root {
    /* BizRipo logo palette: navy → blue → sky, plus bar teal */
    --bw-ink: #061018;
    --bw-slate: #132033;
    --bw-navy: #002454;
    --bw-blue: #0c6cb4;
    --bw-sky: #30a8e4;
    --bw-sea: #149b8c;
    --bw-sea-deep: #0c7a6e;
    --bw-sea-bright: #2dd4bf;
    --bw-glow: #5eead4;
    --bw-paper: #ffffff;
    --bw-mist: #eef3f7;
    --bw-line: rgba(6, 16, 24, 0.1);
    --bw-muted: #5b6b7c;
    --bw-font: "Inter", "Segoe UI", system-ui, sans-serif;
    --bw-display: "Inter", "Segoe UI", system-ui, sans-serif;
}

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

/* Single scroll root — avoid nested html+body scroll traps on mobile. */
html {
    height: auto;
    overflow-x: hidden;
    overflow-y: scroll;
    -webkit-overflow-scrolling: touch;
}

.bizrp-welcome-body {
    margin: 0;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
    font-family: var(--bw-font);
    color: var(--bw-ink);
    background: var(--bw-mist);
    -webkit-font-smoothing: antialiased;
}

.bw-shell {
    min-height: 100dvh;
    height: auto;
    overflow: visible;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(560px, 0.95fr);
    align-items: stretch;
}

/* ========== HERO ========== */
.bw-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: 100dvh;
    height: auto;
    max-height: none;
    padding: clamp(1.75rem, 3vw, 2.75rem) clamp(1.75rem, 4vw, 3.75rem) clamp(1.75rem, 3vw, 2.75rem);
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 2rem;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(48, 168, 228, 0.28), transparent 55%),
        radial-gradient(ellipse 70% 50% at 90% 80%, rgba(12, 108, 180, 0.22), transparent 50%),
        linear-gradient(145deg, #020810 0%, #001a3a 38%, #003056 72%, #04161a 100%);
}

.bw-hero-media {
    position: absolute;
    inset: 0;
    z-index: -3;
    overflow: hidden;
}

.bw-hero-media img,
.bw-hero-media .bw-hero-art {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.bw-hero-art {
    position: absolute;
    inset: 0;
    background:
        url("../img/bizrip-hero-art.svg") center / cover no-repeat;
    transform: scale(1.05);
    animation: bwKen 28s ease-in-out infinite alternate;
}

.bw-hero-mesh {
    position: absolute;
    inset: -10%;
    z-index: -2;
    background:
        radial-gradient(circle at 20% 30%, rgba(48, 168, 228, 0.32), transparent 32%),
        radial-gradient(circle at 78% 22%, rgba(94, 234, 212, 0.18), transparent 28%),
        radial-gradient(circle at 70% 75%, rgba(12, 108, 180, 0.28), transparent 34%),
        radial-gradient(circle at 30% 85%, rgba(36, 180, 156, 0.22), transparent 30%);
    filter: blur(8px);
    animation: bwMesh 14s ease-in-out infinite alternate;
    pointer-events: none;
}

.bw-hero-shade {
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(115deg, rgba(2, 12, 28, 0.62) 0%, rgba(2, 12, 28, 0.32) 42%, rgba(2, 12, 28, 0.5) 100%),
        linear-gradient(180deg, rgba(2, 12, 28, 0.28) 0%, transparent 32%, rgba(2, 12, 28, 0.7) 100%);
    pointer-events: none;
}

.bw-hero-glow {
    position: absolute;
    width: 55vmax;
    height: 55vmax;
    right: -18%;
    bottom: -24%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(48, 168, 228, 0.42) 0%, transparent 68%);
    filter: blur(24px);
    animation: bwPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

.bw-floaters {
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}

.bw-floater {
    position: absolute;
    border-radius: 22px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(14px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: bwFloatY 9s ease-in-out infinite;
}

.bw-floater-1 {
    width: min(280px, 34vw);
    height: 170px;
    right: 8%;
    top: 18%;
    padding: 1rem;
    animation-delay: 0s;
}

.bw-floater-2 {
    width: min(220px, 28vw);
    height: 130px;
    right: 18%;
    bottom: 22%;
    padding: 0.85rem;
    animation-delay: -3s;
}

.bw-floater-3 {
    width: min(160px, 22vw);
    height: 96px;
    right: 42%;
    bottom: 14%;
    padding: 0.7rem;
    animation-delay: -5.5s;
}

.bw-floater-bar {
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--bw-sky), var(--bw-glow));
    margin-bottom: 0.65rem;
    width: 42%;
}

.bw-floater-line {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    margin-bottom: 0.45rem;
}

.bw-floater-line.short { width: 58%; }
.bw-floater-chart {
    margin-top: 0.55rem;
    height: 48px;
    border-radius: 12px;
    background:
        linear-gradient(180deg, transparent 55%, rgba(48, 168, 228, 0.4) 55%),
        repeating-linear-gradient(90deg, rgba(255,255,255,0.18) 0 10px, transparent 10px 18px);
    mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.bw-floater-kpi {
    display: flex;
    gap: 0.45rem;
    margin-top: 0.5rem;
}

.bw-floater-kpi span {
    flex: 1;
    height: 42px;
    border-radius: 12px;
    background: rgba(48, 168, 228, 0.28);
}

.bw-floater-kpi span:nth-child(2) { background: rgba(255, 255, 255, 0.1); }
.bw-floater-kpi span:nth-child(3) { background: rgba(36, 180, 156, 0.32); }

.bw-spark {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--bw-sky);
    box-shadow: 0 0 14px rgba(48, 168, 228, 0.9);
    animation: bwSpark 6s ease-in-out infinite;
    opacity: 0.7;
}

.bw-spark:nth-child(1) { left: 12%; top: 28%; animation-delay: 0s; }
.bw-spark:nth-child(2) { left: 28%; top: 62%; animation-delay: -1.2s; background: var(--bw-glow); box-shadow: 0 0 12px rgba(94, 234, 212, 0.9); }
.bw-spark:nth-child(3) { left: 55%; top: 24%; animation-delay: -2.4s; }
.bw-spark:nth-child(4) { left: 72%; top: 48%; animation-delay: -3.1s; }
.bw-spark:nth-child(5) { left: 40%; top: 78%; animation-delay: -4.2s; background: #fff; box-shadow: 0 0 10px rgba(255,255,255,0.7); }

.bw-hero-grain {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.14;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    mix-blend-mode: soft-light;
}

@keyframes bwMesh {
    from { transform: translate3d(-2%, -1%, 0) scale(1); }
    to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

@keyframes bwFloatY {
    0%, 100% { transform: translateY(0) rotate(-1deg); }
    50% { transform: translateY(-16px) rotate(1.5deg); }
}

@keyframes bwSpark {
    0%, 100% { transform: translateY(0) scale(1); opacity: 0.35; }
    50% { transform: translateY(-18px) scale(1.6); opacity: 0.95; }
}

.bw-topbar {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: bwIn 0.7s ease both;
}

.bw-brand {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    color: inherit;
}

.bw-brand img {
    height: clamp(44px, 4.5vw, 56px);
    width: auto;
    max-width: min(280px, 58vw);
    object-fit: contain;
    filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.35));
}

/* Keep full-color wordmark readable on the dark hero */
.bw-hero .bw-brand img {
    background: rgba(255, 255, 255, 0.96);
    border-radius: 14px;
    padding: 0.4rem 0.65rem;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    filter: none;
}

/* Wordmark already includes the brand name — avoid duplicate text */
.bw-brand-name {
    display: none;
}

.bw-topbar-actions,
.bw-panel-nav-actions {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    flex-shrink: 0;
}

.bw-locale {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    gap: 0.12rem;
}

.bw-locale-ink {
    border-color: rgba(12, 108, 180, 0.2);
    background: #fff;
    box-shadow: 0 4px 12px rgba(0, 36, 84, 0.06);
}

.bw-locale-btn {
    min-width: 2.35rem;
    min-height: 2rem;
    padding: 0.28rem 0.55rem;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.82);
    font-family: var(--bw-font);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}

.bw-locale-ink .bw-locale-btn {
    color: #5b6b7c;
}

.bw-locale-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.14);
}

.bw-locale-ink .bw-locale-btn:hover {
    color: var(--bw-blue);
    background: rgba(48, 168, 228, 0.12);
}

.bw-locale-btn.active,
.bw-locale-btn.is-active {
    background: linear-gradient(135deg, var(--bw-navy), var(--bw-blue));
    color: #fff;
    box-shadow: 0 6px 14px rgba(12, 108, 180, 0.32);
}

.bw-locale-ink .bw-locale-btn.active,
.bw-locale-ink .bw-locale-btn.is-active {
    background: linear-gradient(135deg, var(--bw-navy), var(--bw-blue));
    color: #fff;
}

.bw-top-link {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.7rem 1.25rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.bw-top-link:hover {
    color: #fff;
    background: rgba(48, 168, 228, 0.22);
    border-color: rgba(48, 168, 228, 0.45);
    transform: translateY(-1px);
}

.bw-hero-main {
    position: relative;
    z-index: 2;
    max-width: 36rem;
    animation: bwUp 0.9s 0.08s ease both;
}

.bw-brand-mark {
    margin: 0 0 0.85rem;
    font-family: var(--bw-display);
    font-size: clamp(2.6rem, 6vw, 4.6rem);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.92;
    background: linear-gradient(110deg, #ffffff 6%, var(--bw-sky) 52%, #7dd3fc 88%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 80px rgba(48, 168, 228, 0.28);
}

.bw-hero-main h1 {
    margin: 0 0 1rem;
    font-family: var(--bw-display);
    font-size: clamp(1.65rem, 2.8vw, 2.35rem);
    font-weight: 700;
    line-height: 1.18;
    letter-spacing: -0.03em;
    color: rgba(255, 255, 255, 0.97);
    text-wrap: balance;
}

.bw-lead {
    margin: 0 0 1.75rem;
    max-width: 28rem;
    font-size: 1.05rem;
    line-height: 1.62;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 400;
}

.bw-hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.4rem;
}

.bw-primary-cta,
.bw-secondary-cta {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.72rem 1.15rem;
    border-radius: 13px;
    font-family: var(--bw-font);
    font-size: 0.85rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.bw-primary-cta {
    border: 1px solid rgba(125, 211, 252, .8);
    color: #041b2e;
    background: linear-gradient(115deg, #fff 0%, #dff6ff 48%, #70d8f3 100%);
    box-shadow: 0 12px 28px rgba(4, 25, 46, .28), 0 0 0 4px rgba(48, 168, 228, .1);
}

.bw-primary-cta i {
    font-size: 1rem;
    transition: transform .2s ease;
}

.bw-primary-cta:hover {
    color: #041b2e;
    transform: translateY(-2px);
    box-shadow: 0 17px 34px rgba(4, 25, 46, .34), 0 0 0 5px rgba(48, 168, 228, .14);
}

.bw-primary-cta:hover i { transform: translateX(3px); }

.bw-secondary-cta {
    border: 1px solid rgba(255, 255, 255, .24);
    color: rgba(255, 255, 255, .94);
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(12px);
}

.bw-secondary-cta:hover {
    border-color: rgba(125, 211, 252, .48);
    color: #fff;
    background: rgba(48, 168, 228, .16);
    transform: translateY(-2px);
}

/* Short hand-guide steps */
.bw-guide {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    max-width: 26rem;
}

.bw-guide li {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.9rem;
    align-items: start;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(10px);
    animation: bwUp 0.7s ease both;
}

.bw-guide li:nth-child(1) { animation-delay: 0.18s; }
.bw-guide li:nth-child(2) { animation-delay: 0.28s; }
.bw-guide li:nth-child(3) { animation-delay: 0.38s; }

.bw-guide-step {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--bw-display);
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--bw-ink);
    background: linear-gradient(145deg, var(--bw-sky), var(--bw-glow));
    box-shadow: 0 8px 20px rgba(48, 168, 228, 0.35);
    flex-shrink: 0;
}

.bw-guide strong {
    display: block;
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.15rem;
}

.bw-guide span {
    display: block;
    font-size: 0.86rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.68);
}

.bw-hero-foot {
    position: relative;
    z-index: 2;
    margin: 0;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.55);
    animation: bwIn 0.8s 0.35s ease both;
}

/* ========== FORM PANEL ========== */
.bw-panel {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    min-height: 100dvh;
    height: auto;
    overflow: visible;
    padding: 2rem clamp(1.25rem, 2.5vw, 2.5rem) 2.5rem;
    background:
        radial-gradient(ellipse 90% 55% at 100% -5%, rgba(12, 108, 180, 0.12), transparent 55%),
        radial-gradient(ellipse 70% 45% at -5% 105%, rgba(48, 168, 228, 0.1), transparent 50%),
        linear-gradient(180deg, #f4f8fc 0%, var(--bw-mist) 100%);
    animation: bwIn 0.55s ease both;
}

.bw-panel::before {
    content: "";
    position: absolute;
    inset: 1.1rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.7);
    pointer-events: none;
    opacity: 0.75;
}

.bw-card {
    position: relative;
    width: 100%;
    max-width: 680px;
    margin-block: auto;
    margin-inline: auto;
    flex: 0 0 auto;
    padding: 2rem 1.75rem 1.6rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(12, 108, 180, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.98) inset,
        0 28px 56px rgba(0, 36, 84, 0.1),
        0 8px 18px rgba(6, 16, 24, 0.04);
    backdrop-filter: blur(18px);
    animation: bwUp 0.75s 0.1s ease both;
}

.bw-card-head {
    margin-bottom: 1.35rem;
}

.bw-card-head h2 {
    margin: 0 0 0.4rem;
    font-family: var(--bw-display);
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -0.035em;
    color: var(--bw-ink);
}

.bw-card-head p {
    margin: 0;
    color: var(--bw-muted);
    font-size: 0.94rem;
    line-height: 1.5;
}

.bw-progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.bw-progress::before {
    content: "";
    position: absolute;
    top: 17px;
    right: 16.66%;
    left: 16.66%;
    height: 2px;
    background: #dce6ee;
}

.bw-progress li {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    color: #8a9aab;
    text-align: center;
}

.bw-progress li > span {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    border: 2px solid #dce6ee;
    border-radius: 50%;
    background: #fff;
    font-size: 0.75rem;
    font-weight: 800;
    transition: .25s ease;
}

.bw-progress li > strong {
    overflow: hidden;
    font-size: 0.7rem;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bw-progress li.is-active > span,
.bw-progress li.is-complete > span {
    border-color: transparent;
    color: #fff;
    background: linear-gradient(135deg, var(--bw-navy), var(--bw-sky));
    box-shadow: 0 6px 14px rgba(12, 108, 180, 0.24);
}

.bw-progress li.is-active { color: var(--bw-navy); }
.bw-progress li.is-complete { color: var(--bw-blue); }

.bw-form-step {
    animation: bwStepIn .32s ease both;
}

.bw-section-kicker {
    display: block;
    margin-bottom: 0.22rem;
    color: var(--bw-blue);
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bw-details-head {
    margin-bottom: 1.15rem;
}

.bw-details-head h3 {
    margin: 0 0 0.25rem;
    color: var(--bw-ink);
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.025em;
}

.bw-details-head p {
    margin: 0;
    color: var(--bw-muted);
    font-size: 0.82rem;
}

.bw-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.15rem 0.8rem;
}

.bw-form-group {
    min-width: 0;
}

.bw-form-group > label {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.38rem;
    color: #33465a;
    font-size: 0.76rem;
    font-weight: 750;
}

.bw-form-group > label > span:not(.bw-optional) { color: #d14355; }
.bw-optional { margin-left: auto; color: #8a9aab; font-size: 0.64rem; font-weight: 650; }
.bw-form-group > small { display: block; margin: -0.55rem 0 0.75rem; color: #8291a2; font-size: 0.68rem; line-height: 1.35; }

.bw-password-grid {
    margin-top: 0.05rem;
    padding-top: 0.8rem;
    border-top: 1px solid #e9eef3;
}

.bw-password-strength {
    height: 4px;
    margin: -0.55rem 0 0.75rem;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eef3;
}

.bw-password-strength span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #d14355;
    transition: width .25s ease, background .25s ease;
}

.bw-password-strength[data-score="1"] span { width: 25%; }
.bw-password-strength[data-score="2"] span { width: 50%; background: #d48619; }
.bw-password-strength[data-score="3"] span { width: 75%; background: var(--bw-sky); }
.bw-password-strength[data-score="4"] span { width: 100%; background: var(--bw-sea); }

.bw-step-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: 0.65rem;
}

.bw-step-actions-end { justify-content: flex-end; }
.bw-step-actions .bw-submit { flex: 1 1 auto; width: auto; }
.bw-step-actions-end .bw-submit { max-width: 310px; }

.bw-back {
    display: inline-flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0 1.15rem;
    border: 1px solid #d7e2eb;
    border-radius: 15px;
    color: #40566b;
    background: #fff;
    font-weight: 750;
    cursor: pointer;
    transition: .2s ease;
}

.bw-back:hover {
    border-color: #a8cfe5;
    color: var(--bw-blue);
    background: #f5fbfe;
    transform: translateX(-2px);
}

@keyframes bwStepIn {
    from { opacity: 0; transform: translateX(12px); }
    to { opacity: 1; transform: translateX(0); }
}

.bw-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.85rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: linear-gradient(120deg, rgba(12, 108, 180, 0.12), rgba(48, 168, 228, 0.18));
    color: var(--bw-blue);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.bw-card .form-label {
    margin-bottom: 0.4rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #3d4d5c;
}

.bw-card .form-control {
    min-height: 48px;
    border-radius: 14px;
    border: 1.5px solid var(--bw-line);
    background: #fff;
    font-size: 0.98rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bw-card .form-control:focus {
    border-color: var(--bw-sky);
    box-shadow: 0 0 0 4px rgba(48, 168, 228, 0.18);
    outline: none;
}

.bw-card .form-control:focus-visible {
    border-color: var(--bw-sky);
    box-shadow: 0 0 0 4px rgba(48, 168, 228, 0.22);
}

.bw-submit:focus-visible,
.bw-panel-link:focus-visible,
.bw-top-link:focus-visible,
.bw-locale-btn:focus-visible,
.bw-type:focus-within {
    outline: 2px solid var(--bw-sky);
    outline-offset: 2px;
}

.bw-field {
    position: relative;
    margin-bottom: 0.9rem;
}

.bw-field .form-control {
    padding-left: 2.85rem;
}

.bw-field:focus-within .bw-field-icon {
    color: var(--bw-blue);
}

.bw-field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9aab;
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.18s ease;
}

.bw-pass-wrap {
    position: relative;
}

.bw-pass-wrap .form-control {
    padding-right: 2.85rem;
}

.bw-pass-toggle {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #8a9aab;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
}

.bw-pass-toggle:hover { color: var(--bw-blue); }

.bw-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin-bottom: 1rem;
    max-height: none;
}

.bw-types.bw-types-all {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: min(46vh, 360px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.85rem;
    margin-bottom: 0.35rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(12, 108, 180, 0.35) transparent;
}

.bw-types.bw-types-all::-webkit-scrollbar {
    width: 6px;
}

.bw-types.bw-types-all::-webkit-scrollbar-thumb {
    background: rgba(12, 108, 180, 0.35);
    border-radius: 999px;
}

.bw-type {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.08rem;
    min-height: 0;
    padding: 0.7rem 0.7rem 0.65rem;
    border-radius: 14px;
    border: 1.5px solid var(--bw-line);
    background: #fff;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: inherit;
    overflow: hidden;
    transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.bw-type::before {
    content: "";
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    width: 1.05rem;
    height: 1.05rem;
    border-radius: 999px;
    border: 1.5px solid rgba(12, 108, 180, 0.2);
    background: #fff;
    opacity: 0.7;
    transition: background 0.2s ease, border-color 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.bw-type::after {
    content: "";
    position: absolute;
    inset: auto -20% -40% auto;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(48, 168, 228, 0.18), transparent 70%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.bw-type:hover {
    transform: translateY(-2px);
    border-color: rgba(12, 108, 180, 0.35);
    box-shadow: 0 12px 24px rgba(0, 36, 84, 0.07);
}

.bw-type.is-active {
    border-color: var(--bw-blue);
    background: linear-gradient(165deg, rgba(48, 168, 228, 0.12) 0%, #fff 55%);
    box-shadow: 0 0 0 3px rgba(48, 168, 228, 0.16), 0 12px 24px rgba(0, 36, 84, 0.06);
}

.bw-type.is-active::before {
    opacity: 1;
    border-color: var(--bw-blue);
    background:
        radial-gradient(circle at 50% 50%, #fff 0 2px, transparent 2.5px),
        linear-gradient(135deg, var(--bw-navy), var(--bw-sky));
    box-shadow: 0 4px 10px rgba(12, 108, 180, 0.28);
}

.bw-type.is-active::after { opacity: 1; }

.bw-type input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.bw-type-icon {
    width: 30px;
    height: 30px;
    margin-bottom: 0.28rem;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    background: #e6f7f4;
    color: var(--bw-sea);
}

.bw-type[data-mode="small_shop"] .bw-type-icon {
    background: #ecfdf5;
    color: #047857;
}

.bw-type[data-mode="retail"] .bw-type-icon {
    background: #e6f7f4;
    color: var(--bw-sea);
}

.bw-type[data-mode="supermarket"] .bw-type-icon {
    background: #e8f4fc;
    color: var(--bw-blue);
}

.bw-type[data-mode="wholesale"] .bw-type-icon {
    background: #e8eef8;
    color: var(--bw-navy);
}

.bw-type[data-mode="service"] .bw-type-icon {
    background: #e7f8f4;
    color: var(--bw-sea-deep);
}

.bw-type[data-mode="manufacturing"] .bw-type-icon {
    background: #e6f3fb;
    color: #0369a1;
}

.bw-type[data-mode="industry"] .bw-type-icon {
    background: #e0f2fe;
    color: var(--bw-sky);
}

.bw-type[data-mode="multi_branch"] .bw-type-icon {
    background: #e2e8f0;
    color: #334155;
}

.bw-type[data-mode="mixed"] .bw-type-icon {
    background: #f1f2f4;
    color: var(--bw-slate);
}

.bw-type strong {
    position: relative;
    z-index: 1;
    font-size: 0.84rem;
    font-weight: 750;
    letter-spacing: 0;
}

.bw-type small {
    position: relative;
    z-index: 1;
    font-size: 0.66rem;
    color: var(--bw-muted);
    line-height: 1.25;
}

.bw-audience {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin: 0 0 1.5rem;
    max-width: 34rem;
}

.bw-audience span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.42rem 0.8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(48, 168, 228, 0.22);
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(8px);
    transition: background 0.2s ease, border-color 0.2s ease;
}

.bw-audience span:hover {
    background: rgba(48, 168, 228, 0.16);
    border-color: rgba(48, 168, 228, 0.4);
}

.bw-audience i {
    color: var(--bw-sky);
    font-size: 0.9rem;
}

.bw-submit {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--bw-navy) 0%, var(--bw-blue) 48%, var(--bw-sky) 100%);
    color: #fff;
    font-family: var(--bw-display);
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    box-shadow: 0 14px 28px rgba(12, 108, 180, 0.28);
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.bw-submit::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 -40%;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
    transform: skewX(-18deg);
    animation: bwShine 4.5s ease-in-out infinite;
    pointer-events: none;
}

@keyframes bwShine {
    0%, 55%, 100% { left: -40%; opacity: 0; }
    60% { opacity: 1; }
    85% { left: 120%; opacity: 0; }
}

a.bw-submit {
    padding: 0 1.25rem;
}

.bw-submit:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(12, 108, 180, 0.42);
    filter: brightness(1.04);
}

.bw-submit:disabled {
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

.bw-card.is-opening {
    pointer-events: none;
}

.bw-card.is-opening .bw-submit {
    opacity: 0.92;
}

.bw-card.is-opening .bw-field,
.bw-card.is-opening .bw-row-actions,
.bw-card.is-opening .bw-demo {
    opacity: 0.55;
    transition: opacity 0.2s ease;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.bw-meta {
    margin-top: 1.15rem;
    text-align: center;
    font-size: 0.92rem;
    color: var(--bw-muted);
}

.bw-meta a {
    color: var(--bw-blue);
    font-weight: 700;
    text-decoration: none;
}

.bw-meta a:hover {
    color: var(--bw-navy);
    text-decoration: underline;
}

.bw-note {
    margin-top: 0.85rem;
    text-align: center;
    font-size: 0.78rem;
    color: #8a9aab;
    line-height: 1.4;
}

/* Keep Bootstrap utility buttons on auth cards on-brand */
.bizrp-welcome-body .btn-primary {
    background: linear-gradient(135deg, var(--bw-navy), var(--bw-blue));
    border-color: var(--bw-blue);
    box-shadow: 0 8px 18px rgba(12, 108, 180, 0.22);
}

.bizrp-welcome-body .btn-primary:hover,
.bizrp-welcome-body .btn-primary:focus {
    background: linear-gradient(135deg, var(--bw-blue), var(--bw-sky));
    border-color: var(--bw-sky);
}

.bizrp-welcome-body .btn-outline-primary {
    color: var(--bw-blue);
    border-color: rgba(12, 108, 180, 0.45);
}

.bizrp-welcome-body .btn-outline-primary:hover,
.bizrp-welcome-body .btn-outline-primary:focus {
    background: rgba(12, 108, 180, 0.08);
    color: var(--bw-navy);
    border-color: var(--bw-blue);
}

/* Mobile panel nav (shown under 992px) */
.bw-panel-nav {
    display: none;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    width: 100%;
    max-width: 520px;
    margin: 0 auto 0.85rem;
    padding: 0.15rem 0.15rem 0.35rem;
}

.bw-brand-ink img {
    height: 40px;
    filter: none;
}

.bw-panel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1.5px solid rgba(12, 108, 180, 0.28);
    background: #fff;
    color: var(--bw-blue);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(0, 36, 84, 0.05);
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease, color 0.2s ease;
}

.bw-panel-link:hover {
    background: rgba(48, 168, 228, 0.12);
    border-color: var(--bw-sky);
    color: var(--bw-navy);
    transform: translateY(-1px);
}

.bw-industry-block {
    margin-bottom: 1.05rem;
}

.bw-industry-toolbar {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.45rem;
}

.bw-industry-count {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #8a9aab;
    white-space: nowrap;
}

.bw-industry-search {
    position: relative;
    margin-bottom: 0.55rem;
}

.bw-industry-search > i {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #8a9aab;
    font-size: 1rem;
    pointer-events: none;
}

.bw-industry-search .form-control {
    min-height: 42px;
    padding-left: 2.55rem;
    border-radius: 12px;
    font-size: 0.92rem;
}

.bw-industry-picked {
    margin: 0 0 0.65rem;
    padding: 0.65rem 0.8rem;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(12, 108, 180, 0.08), rgba(48, 168, 228, 0.12));
    border: 1px solid rgba(12, 108, 180, 0.16);
    color: var(--bw-slate);
    font-size: 0.8rem;
    line-height: 1.4;
}

.bw-industry-picked strong {
    color: var(--bw-blue);
    font-weight: 750;
}

.bw-industry-empty {
    margin: 0.35rem 0 0;
    font-size: 0.82rem;
    color: var(--bw-blue);
    text-align: center;
}

.bw-types-wrap {
    position: relative;
}

.bw-types-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.95));
    opacity: 0.9;
    border-radius: 0 0 12px 12px;
}

.bw-type.is-filtered-out {
    display: none;
}

.bw-trust {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem 0.85rem;
}

.bw-trust li {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.74rem;
    font-weight: 650;
    color: #6b7c8d;
}

.bw-trust i {
    color: var(--bw-blue);
    font-size: 0.95rem;
}

.bw-demo {
    margin-bottom: 1.1rem;
    padding: 0.85rem 1rem;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8f4fc, #e6f7f4);
    border: 1px solid rgba(12, 108, 180, 0.14);
    font-size: 0.82rem;
    color: var(--bw-slate);
    line-height: 1.5;
}

.bw-demo strong { color: var(--bw-ink); }

.bw-row-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: 0.15rem 0 1.1rem;
    font-size: 0.88rem;
}

.bw-row-actions a {
    color: var(--bw-blue);
    font-weight: 700;
    text-decoration: none;
}

.bw-row-actions a:hover {
    color: var(--bw-navy);
    text-decoration: underline;
}

.bw-check {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin: 0.2rem 0 1.05rem;
    font-size: 0.86rem;
    color: var(--bw-muted);
    line-height: 1.4;
}

.bw-check input { margin-top: 0.15rem; accent-color: var(--bw-blue); }

.bw-alert {
    border-radius: 14px;
    font-size: 0.88rem;
    margin-bottom: 0.95rem;
}

.bw-forgot-success {
    text-align: center;
    padding: 0.35rem 0 0.5rem;
    animation: bwUp 0.45s ease both;
}

.bw-forgot-success-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin: 0 auto 1rem;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(12, 108, 180, 0.16), rgba(48, 168, 228, 0.28));
    color: var(--bw-blue);
    font-size: 1.45rem;
}

.bw-forgot-success h2 {
    margin: 0 0 0.45rem;
    font-family: var(--bw-display);
    font-size: 1.55rem;
    font-weight: 750;
}

.bw-forgot-success p {
    margin: 0 0 0.85rem;
    color: var(--bw-muted);
    font-size: 0.95rem;
    line-height: 1.45;
}

.bw-forgot-sent-to {
    font-size: 0.88rem !important;
    color: var(--bw-ink) !important;
    font-weight: 600;
}

.bw-forgot-dev {
    text-align: left;
    margin: 0 0 1rem;
    padding: 0.85rem 1rem;
    border-radius: 14px;
    background: rgba(12, 108, 180, 0.08);
    border: 1px solid rgba(12, 108, 180, 0.18);
    font-size: 0.82rem;
}

.bw-forgot-dev strong {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--bw-blue);
}

.bw-forgot-dev a {
    word-break: break-all;
    color: var(--bw-ink);
}

.bw-forgot-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.bw-forgot-actions .bw-submit {
    margin: 0;
}

.bw-submit-secondary {
    background: transparent;
    color: var(--bw-blue);
    border: 1.5px solid rgba(12, 108, 180, 0.45);
    box-shadow: none;
}

.bw-submit-secondary:hover:not(:disabled) {
    background: rgba(12, 108, 180, 0.08);
    color: var(--bw-navy);
    transform: none;
    box-shadow: none;
}

.bw-submit-secondary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    background: rgba(6, 16, 24, 0.03);
    color: var(--bw-muted);
    border-color: rgba(6, 16, 24, 0.12);
}

.bw-forgot-back {
    display: inline-block;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--bw-blue);
    text-decoration: none;
}

.bw-forgot-back:hover {
    color: var(--bw-navy);
    text-decoration: underline;
}

.bw-pass-meter {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.35rem;
    margin: -0.35rem 0 0.45rem;
}

.bw-pass-meter span {
    height: 4px;
    border-radius: 99px;
    background: rgba(6, 16, 24, 0.1);
    transition: background 0.2s ease;
}

.bw-pass-meter span.is-on { background: #94a3b8; }
.bw-pass-meter[data-score="2"] span.is-on { background: var(--bw-sky); }
.bw-pass-meter[data-score="3"] span.is-on { background: var(--bw-blue); }
.bw-pass-meter[data-score="4"] span.is-on { background: var(--bw-navy); }

.bw-pass-hint {
    margin: 0 0 0.95rem;
    font-size: 0.8rem;
    color: var(--bw-muted);
    line-height: 1.35;
}

.bw-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

@keyframes bwIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bwUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes bwKen {
    from { transform: scale(1.06) translate3d(0, 0, 0); }
    to { transform: scale(1.12) translate3d(-1.8%, -1.2%, 0); }
}

@keyframes bwPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.95; transform: scale(1.1); }
}

@media (max-width: 991.98px) {
    /* One column document flow — form then hero, full-page scroll only. */
    .bw-shell {
        display: flex;
        flex-direction: column;
        grid-template-columns: none;
        min-height: 0;
        height: auto;
        overflow: visible;
        align-items: stretch;
    }

    .bw-panel {
        order: -1;
        position: relative;
        z-index: 2;
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        height: auto;
        overflow: visible;
        padding: 0.55rem 0.9rem 1.25rem;
        padding-top: 0.35rem;
        background: var(--bw-mist);
    }

    .bw-hero {
        order: 0;
        position: relative;
        z-index: 1;
        top: auto;
        flex: 0 0 auto;
        width: 100%;
        min-height: 0;
        max-height: none;
        height: auto;
        overflow: hidden;
        padding: 1.35rem 1.15rem calc(1.5rem + env(safe-area-inset-bottom, 0px));
        gap: 1.1rem;
        margin: 0;
    }

    .bw-floaters { display: none; }

    .bw-panel-nav {
        display: flex;
        position: relative;
        top: auto;
        z-index: 2;
        margin-bottom: 0.65rem;
        padding: 0.55rem 0.15rem;
        padding-top: calc(0.55rem + env(safe-area-inset-top, 0px));
        background: transparent;
        backdrop-filter: none;
    }

    /* Avoid duplicate nav: panel has brand + CTA on mobile */
    .bw-hero .bw-topbar { display: none; }

    .bw-panel::before { display: none; }

    .bw-card {
        margin-block: 0;
        margin-inline: auto;
        padding: 1.2rem 1.05rem 1.1rem;
        border-radius: 20px;
        max-width: 100%;
        box-shadow:
            0 1px 0 rgba(255, 255, 255, 0.98) inset,
            0 16px 32px rgba(6, 16, 24, 0.08);
    }

    .bw-top-link {
        display: inline-flex;
        align-items: center;
        padding: 0.45rem 0.85rem;
        min-height: 44px;
    }

    .bw-topbar-actions,
    .bw-panel-nav-actions {
        gap: 0.4rem;
    }

    .bw-locale-btn {
        min-height: 2.15rem;
    }

    .bw-brand-mark {
        font-size: clamp(1.85rem, 9vw, 2.6rem);
        margin-bottom: 0.35rem;
    }

    .bw-hero-main h1 {
        font-size: clamp(1.25rem, 5vw, 1.65rem);
        line-height: 1.25;
    }

    .bw-lead {
        margin-bottom: 1rem;
        font-size: 0.95rem;
        line-height: 1.5;
        display: block;
        -webkit-line-clamp: unset;
        overflow: visible;
    }

    .bw-audience {
        gap: 0.4rem;
        margin-bottom: 0.85rem;
        max-height: none;
        overflow: visible;
    }

    .bw-audience span {
        font-size: 0.78rem;
        padding: 0.35rem 0.55rem;
    }

    .bw-guide {
        max-width: none;
        gap: 0.55rem;
    }

    .bw-guide li {
        padding: 0.6rem 0.75rem;
    }

    .bw-hero-foot {
        margin-top: 0.25rem;
    }

    .bw-card-head {
        margin-bottom: 1.05rem;
    }

    .bw-card-head h2 {
        font-size: clamp(1.35rem, 5vw, 1.55rem);
    }

    .bw-card .form-control,
    .bw-industry-search .form-control {
        font-size: 16px; /* avoid iOS zoom on focus */
        min-height: 48px;
    }

    .bw-industry-search .form-control {
        min-height: 44px;
    }

    .bw-industry-picked {
        font-size: 0.78rem;
        padding: 0.55rem 0.7rem;
    }

    /* Let the page scroll — do not trap industry tiles in a nested pane. */
    .bw-types,
    .bw-types.bw-types-all {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.45rem;
        max-height: none;
        overflow: visible;
        padding: 0.1rem 0;
        margin-bottom: 0.75rem;
        overscroll-behavior: auto;
    }

    .bw-types-wrap::after {
        display: none;
    }

    .bw-type {
        padding: 0.55rem 0.55rem 0.5rem;
        border-radius: 12px;
        min-height: 72px;
    }

    .bw-type:active {
        transform: scale(0.98);
    }

    .bw-type strong {
        font-size: 0.78rem;
        line-height: 1.25;
    }

    .bw-type small {
        font-size: 0.62rem;
        line-height: 1.3;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .bw-type-icon {
        width: 26px;
        height: 26px;
        font-size: 0.9rem;
        margin-bottom: 0.15rem;
    }

    .bw-submit {
        min-height: 50px;
        width: 100%;
    }

    .bw-split {
        gap: 0.55rem;
    }

    .bw-row-actions {
        gap: 0.75rem;
        flex-wrap: wrap;
    }

    .bw-trust {
        margin-top: 0.85rem;
        gap: 0.4rem 0.7rem;
    }
}

/* Side-by-side on landscape phones / short tablets */
@media (max-width: 991.98px) and (orientation: landscape) and (min-height: 420px) {
    .bw-shell {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
        align-items: stretch;
        min-height: auto;
    }

    .bw-panel {
        order: 0;
        min-height: 100dvh;
    }

    .bw-hero {
        order: 0;
        position: relative;
        min-height: 100dvh;
        max-height: none;
        height: auto;
        padding: 1rem;
    }

    .bw-panel-nav {
        position: static;
        padding-top: 0.35rem;
        background: transparent;
    }

    .bw-hero .bw-topbar { display: flex; }
    .bw-panel-nav { display: none; }

    .bw-guide { display: flex; }

    .bw-types,
    .bw-types.bw-types-all {
        max-height: min(52vh, 260px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 575.98px) {
    .bw-guide { display: none; }

    .bw-form-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .bw-step-actions {
        align-items: stretch;
        flex-direction: column-reverse;
    }

    .bw-step-actions .bw-submit,
    .bw-step-actions .bw-back,
    .bw-step-actions-end .bw-submit {
        width: 100%;
        max-width: none;
    }

    .bw-hero-main {
        gap: 0.65rem;
    }

    .bw-hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .bw-primary-cta,
    .bw-secondary-cta {
        width: 100%;
    }

    .bw-lead {
        display: block;
        overflow: visible;
    }

    .bw-audience {
        max-height: none;
        overflow: visible;
    }

    .bw-brand-mark {
        font-size: clamp(1.55rem, 8vw, 2.1rem);
    }

    .bw-industry-toolbar {
        align-items: center;
    }
}

@media (max-width: 420px) {
    .bw-split { grid-template-columns: 1fr; }

    .bw-types,
    .bw-types.bw-types-all {
        max-height: none;
        overflow: visible;
    }

    .bw-panel-link {
        padding: 0.4rem 0.75rem;
        font-size: 0.82rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .bw-shell {
        grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    }

    .bw-card {
        max-width: 100%;
        padding: 1.65rem 1.4rem 1.4rem;
    }

    .bw-types.bw-types-all {
        max-height: min(42vh, 340px);
        overflow-y: auto;
        padding-bottom: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .bw-hero-media img,
    .bw-hero-art,
    .bw-hero-mesh,
    .bw-hero-glow,
    .bw-floater,
    .bw-spark,
    .bw-topbar,
    .bw-hero-main,
    .bw-guide li,
    .bw-hero-foot,
    .bw-panel,
    .bw-card,
    .bw-type,
    .bw-submit::after {
        animation: none !important;
        transition: none !important;
    }
}
