:root {
    --group-bg: #f5f7fb;
    --group-ink: #0a1020;
    --group-muted: #647084;
    --group-line: #e3e8f0;
    --group-card: #ffffff;
    --group-navy: #07111f;
    --group-blue: #2f4fff;
    --group-green: #0b7a61;
    --group-gold: #b98b3d;
    --group-shadow: 0 22px 70px rgba(10, 16, 32, 0.1);
    --group-soft-shadow: 0 14px 36px rgba(10, 16, 32, 0.07);
    --group-sidebar-width: 280px;
    --group-sidebar-rail: 84px;
}

html {
    overflow-x: hidden;
}

.group-public-body,
.group-app-body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, #fbfcff 0, #f5f7fb 420px, #f5f7fb 100%);
    color: var(--group-ink);
    font-family: "Manrope", system-ui, sans-serif;
}

.group-public-body h1,
.group-public-body h2,
.group-public-body h3,
.group-app-body h1,
.group-app-body h2,
.group-app-body h3 {
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    letter-spacing: 0;
}

.group-public-body .btn,
.group-app-body .btn {
    border-radius: 14px;
    font-weight: 850;
}

.group-public-body .btn-primary,
.group-app-body .btn-primary {
    border-color: var(--group-blue);
    background: linear-gradient(180deg, #425eff, #263fd6);
    box-shadow: 0 14px 28px rgba(47, 79, 255, 0.24);
}

.group-public-body .btn-outline-secondary,
.group-app-body .btn-outline-secondary,
.group-public-body .btn-outline-primary,
.group-app-body .btn-outline-primary {
    border-color: rgba(17, 24, 39, 0.12);
    background: #ffffff;
    color: #243044;
}

/* Landing page */
.group-landing-premium {
    min-height: 100vh;
}

.group-landing-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: 22px 0;
}

.group-landing-brand,
.group-sidebar-brand,
.group-mobile-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--group-ink);
}

.group-landing-brand strong,
.group-sidebar-brand strong {
    display: block;
    overflow: hidden;
    max-width: 180px;
    color: var(--group-ink);
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-landing-brand small,
.group-sidebar-brand small {
    display: block;
    color: var(--group-muted);
    font-size: 0.78rem;
    font-weight: 760;
}

.group-landing-actions,
.group-hero-actions,
.group-final-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.group-hero-premium {
    position: relative;
    overflow: hidden;
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    padding: clamp(34px, 7vw, 76px);
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 34px;
    background:
        linear-gradient(135deg, #ffffff, rgba(239, 244, 255, 0.82)),
        #ffffff;
    box-shadow: var(--group-shadow);
}

.group-hero-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(185, 139, 61, 0.16), transparent 34%),
        linear-gradient(300deg, rgba(11, 122, 97, 0.12), transparent 32%);
}

.group-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.74fr);
    gap: clamp(26px, 5vw, 60px);
    align-items: center;
}

.group-eyebrow,
.group-public-body .page-kicker,
.group-app-body .page-kicker {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 11px;
    border: 1px solid rgba(47, 79, 255, 0.12);
    border-radius: 999px;
    background: rgba(47, 79, 255, 0.07);
    color: #263fd6;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.group-hero-copy h1 {
    max-width: 760px;
    margin: 0;
    color: #060b16;
    font-size: clamp(2.55rem, 6vw, 5.3rem);
    font-weight: 760;
    line-height: 1;
}

.group-hero-copy p {
    max-width: 680px;
    margin: 22px 0 0;
    color: #536174;
    font-size: clamp(1rem, 2vw, 1.16rem);
    line-height: 1.75;
}

.group-hero-actions {
    margin-top: 28px;
}

.group-hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    max-width: 680px;
    margin-top: 28px;
}

.group-hero-trust span {
    padding: 12px;
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 16px;
    background: #ffffff;
    color: var(--group-muted);
    font-size: 0.85rem;
    font-weight: 850;
}

.group-hero-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border-radius: 28px;
    background: #e9eef7;
    box-shadow: var(--group-soft-shadow);
}

.group-hero-visual img,
.group-hero-placeholder {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.group-hero-placeholder {
    display: grid;
    place-items: center;
    color: var(--group-muted);
    font-size: 4rem;
}

.group-hero-property {
    position: absolute;
    right: 18px;
    bottom: 18px;
    left: 18px;
    padding: 18px;
    border: 1px solid #ffffff;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: var(--group-soft-shadow);
}

.group-hero-property span,
.group-hero-property small {
    display: block;
    color: var(--group-muted);
    font-weight: 820;
}

.group-hero-property strong {
    display: block;
    margin: 6px 0;
    color: var(--group-ink);
    font-size: 1.35rem;
    font-weight: 900;
}

.group-section {
    width: min(1180px, calc(100% - 36px));
    margin: clamp(34px, 6vw, 70px) auto 0;
}

.group-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.group-section-head h2,
.group-final-cta h2 {
    max-width: 720px;
    margin: 0;
    color: #07111f;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 760;
}

.group-section-head p,
.group-final-cta p {
    max-width: 600px;
    margin: 10px 0 0;
    color: var(--group-muted);
    line-height: 1.7;
}

.group-stat-grid,
.group-category-grid,
.group-benefit-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.group-stat-card,
.group-step-card,
.group-category-card,
.group-benefit-card {
    padding: 22px;
    border: 1px solid rgba(227, 232, 240, 0.92);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: var(--group-soft-shadow);
}

.group-stat-card i,
.group-category-card i,
.group-benefit-card i,
.group-step-number {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    border-radius: 15px;
    background: #eef2ff;
    color: var(--group-blue);
    font-weight: 900;
    font-size: 1.15rem;
}

.group-stat-card h3,
.group-step-card h3,
.group-category-card h3,
.group-benefit-card h3 {
    margin: 0 0 8px;
    color: var(--group-ink);
    font-size: 1.04rem;
    font-weight: 900;
}

.group-stat-card p,
.group-step-card p,
.group-category-card p,
.group-benefit-card p {
    margin: 0;
    color: var(--group-muted);
    line-height: 1.65;
}

.group-step-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.group-step-card {
    position: relative;
}

.group-step-number {
    background: #f8f1e6;
    color: #8a5d16;
}

.group-benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.group-final-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 36px));
    margin: clamp(34px, 6vw, 70px) auto;
    padding: clamp(26px, 5vw, 44px);
    border-radius: 30px;
    background:
        linear-gradient(135deg, #07111f, #111d32);
    color: #fff;
    box-shadow: var(--group-shadow);
}

.group-final-cta h2 {
    color: #fff;
}

.group-final-cta p {
    color: #c9d3e2;
}

/* Buyer dashboard shell */
.group-app-shell {
    min-height: 100vh;
    overflow-x: clip;
}

.group-app-body {
    overflow-x: hidden;
}

.group-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 1040;
    width: var(--group-sidebar-width);
    overflow-y: auto;
    overflow-x: hidden;
    padding: 18px;
    background:
        linear-gradient(180deg, rgba(47, 79, 255, 0.16), transparent 28%),
        var(--group-navy);
    color: #fff;
    box-shadow: 24px 0 70px rgba(7, 17, 31, 0.2);
    transition: width 220ms ease, transform 220ms ease, padding 220ms ease;
    transform: translateX(0);
}

.group-sidebar-backdrop {
    display: none;
}

.group-sidebar,
.group-main,
.group-main-inner,
.buyer-application-card,
.buyer-application-body,
.group-dashboard-grid > *,
.group-insight-card,
.group-action-card {
    min-width: 0;
}

.group-sidebar-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-height: 58px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(148, 163, 184, 0.1);
}

.group-sidebar-brand {
    min-width: 0;
    flex: 1 1 auto;
}

.group-sidebar-brand .brand-logo-sidebar {
    width: 38px;
    height: 38px;
    max-width: 38px;
    max-height: 38px;
    object-fit: contain;
    flex: 0 0 38px;
}

.group-sidebar-brand .brand-mark {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    border-radius: 12px;
}

.group-sidebar-brand span {
    min-width: 0;
    overflow: hidden;
}

.group-sidebar-brand strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #fff;
}

.group-sidebar-brand small {
    color: #98a6ba;
}

.group-icon-button {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, 0.12);
    border-radius: 14px;
    background: #fff;
    color: var(--group-ink);
}

.group-sidebar .group-icon-button {
    flex: 0 0 42px;
    border-color: rgba(148, 163, 184, 0.12);
    background: rgba(148, 163, 184, 0.08);
    color: #fff;
}

.group-sidebar .group-icon-button:hover,
.group-sidebar .group-icon-button:focus-visible {
    border-color: rgba(148, 163, 184, 0.24);
    background: rgba(148, 163, 184, 0.14);
    color: #fff;
}

.group-sidebar-nav {
    display: grid;
    gap: 10px;
    margin-top: 20px;
}

.group-nav-section {
    display: grid;
    gap: 6px;
}

.group-nav-section-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #b8c3d5;
    font-weight: 850;
    text-align: left;
    overflow: hidden;
    transition: background 180ms ease, color 180ms ease;
}

.group-nav-section-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.group-nav-label {
    min-width: 0;
}

.group-nav-label > i,
.group-nav-submenu a > i {
    width: 22px;
    flex: 0 0 22px;
    text-align: center;
    font-size: 1.05rem;
}

.group-nav-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.group-nav-section-toggle:hover,
.group-nav-section.is-open > .group-nav-section-toggle {
    background: rgba(148, 163, 184, 0.08);
    color: #fff;
}

.group-nav-section-toggle .bi-chevron-down {
    font-size: 0.78rem;
    transition: transform 180ms ease;
}

.group-nav-section.is-open .bi-chevron-down {
    transform: rotate(180deg);
}

.group-nav-submenu {
    display: none;
    gap: 4px;
    margin-left: 14px;
    padding-left: 12px;
    border-left: 1px solid rgba(148, 163, 184, 0.12);
}

.group-nav-section.is-open .group-nav-submenu {
    display: grid;
}

.group-nav-submenu a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 9px 10px;
    border-radius: 12px;
    color: #93a1b7;
    font-size: 0.86rem;
    font-weight: 780;
    min-width: 0;
    overflow: hidden;
    transition: background 180ms ease, color 180ms ease;
}

.group-nav-submenu a:hover,
.group-nav-submenu a.active {
    background: rgba(148, 163, 184, 0.08);
    color: #fff;
}

.group-nav-submenu a.active,
.group-nav-section-toggle.active,
.group-nav-section:has(.group-nav-submenu a.active) > .group-nav-section-toggle {
    box-shadow: inset 3px 0 0 rgba(93, 224, 194, 0.92);
}

.group-main {
    min-height: 100vh;
    margin-left: var(--group-sidebar-width);
    transition: margin-left 220ms ease;
}

.group-main-inner {
    width: min(100%, 1480px);
    margin: 0 auto;
    padding: 30px;
}

.group-mobile-header {
    display: none;
}

.group-page-heading,
.buyer-topbar {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding: 26px;
    border: 1px solid rgba(227, 232, 240, 0.88);
    border-radius: 26px;
    background: var(--group-card);
    box-shadow: var(--group-soft-shadow);
}

.group-page-heading h1,
.buyer-topbar h1 {
    margin: 0;
    color: #07111f;
    font-size: clamp(1.8rem, 3vw, 2.65rem);
    font-weight: 760;
    line-height: 1.08;
}

.group-page-heading p,
.buyer-topbar p {
    max-width: 780px;
    margin: 9px 0 0;
    color: var(--group-muted);
}

.group-welcome-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    margin-bottom: 20px;
    padding: 24px;
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 26px;
    background:
        linear-gradient(135deg, #ffffff, rgba(239, 244, 255, 0.74));
    box-shadow: var(--group-soft-shadow);
}

.group-welcome-card h2 {
    margin: 0 0 8px;
    color: var(--group-ink);
    font-size: clamp(1.45rem, 3vw, 2.1rem);
}

.group-welcome-card p {
    margin: 0;
    color: var(--group-muted);
}

.group-dashboard-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
    gap: 20px;
    margin-top: 20px;
}

.group-insight-card,
.group-action-card {
    padding: 22px;
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 24px;
    background: var(--group-card);
    box-shadow: var(--group-soft-shadow);
}

.group-insight-card h2,
.group-action-card h2 {
    margin: 0 0 12px;
    color: var(--group-ink);
    font-size: 1.18rem;
    font-weight: 900;
}

.group-mini-timeline {
    display: grid;
    gap: 12px;
}

.group-mini-timeline article {
    display: grid;
    grid-template-columns: 12px 1fr;
    gap: 12px;
}

.group-mini-timeline span {
    width: 10px;
    height: 10px;
    margin-top: 6px;
    border-radius: 999px;
    background: var(--group-blue);
    box-shadow: 0 0 0 5px rgba(47, 79, 255, 0.1);
}

.group-mini-timeline strong {
    display: block;
    color: var(--group-ink);
    font-weight: 850;
}

.group-mini-timeline small {
    color: var(--group-muted);
    font-weight: 700;
}

.group-app-body .dashboard-panel,
.group-app-body .group-kpi-card,
.group-app-body .buyer-application-card,
.group-app-body .contributor-progress-card,
.group-app-body .property-card {
    border-color: rgba(227, 232, 240, 0.9);
    background: var(--group-card);
    box-shadow: var(--group-soft-shadow);
}

.group-app-body .group-kpi-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.group-app-body .buyer-application-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.group-filter-panel {
    display: grid;
    grid-template-columns: minmax(240px, 1.5fr) minmax(180px, 1fr) minmax(180px, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-bottom: 22px;
    padding: 16px;
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 22px;
    background:
        linear-gradient(135deg, #ffffff, rgba(248, 250, 252, 0.92));
    box-shadow: 0 14px 36px rgba(10, 16, 32, 0.06);
}

.group-filter-panel .form-label {
    margin-bottom: 6px;
    color: #526073;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.group-filter-panel .form-control,
.group-filter-panel .form-select {
    min-height: 42px;
    border-radius: 12px;
    background-color: #fff;
}

.group-filter-actions {
    display: flex;
    align-items: end;
    gap: 10px;
}

.group-complete-banner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.7fr);
    gap: 22px;
    margin-top: 22px;
    padding: clamp(24px, 4vw, 34px);
    border: 1px solid rgba(11, 122, 97, 0.18);
    border-radius: 28px;
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.96), #ffffff),
        #ffffff;
    box-shadow: var(--group-soft-shadow);
}

.group-dismissible-complete-banner {
    padding-right: clamp(58px, 7vw, 78px);
    transition: opacity 180ms ease, transform 180ms ease, max-height 220ms ease, margin 220ms ease, padding 220ms ease;
}

.group-dismissible-complete-banner.is-dismissing {
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
}

.group-complete-banner-dismiss {
    position: absolute;
    top: 16px;
    right: 16px;
    display: inline-grid;
    width: 36px;
    height: 36px;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(6, 78, 59, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: #065f46;
    font-size: 1.65rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.group-complete-banner-dismiss:hover {
    border-color: #047857;
    background: #047857;
    color: #fff;
    transform: scale(1.06);
}

.group-complete-banner-dismiss:focus-visible {
    outline: 3px solid rgba(47, 79, 255, 0.38);
    outline-offset: 3px;
}

.group-complete-banner-dismiss:disabled {
    cursor: wait;
    opacity: 0.62;
}

.group-complete-dismiss-error {
    grid-column: 1 / -1;
    margin: 0;
    color: #b42318;
    font-size: 0.9rem;
    font-weight: 700;
}

.group-complete-banner h2 {
    margin: 12px 0 8px;
    color: #064e3b;
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    font-weight: 850;
}

.group-complete-banner p {
    margin: 0;
    color: #3f665c;
    line-height: 1.7;
}

.group-complete-banner ol {
    display: grid;
    gap: 10px;
    margin: 0;
    padding-left: 20px;
}

.group-complete-banner li {
    color: #12483d;
    font-weight: 800;
}

.buyer-application-card {
    grid-template-columns: minmax(150px, 200px) minmax(0, 1fr);
}

.buyer-application-body p,
.buyer-card-footer span,
.group-mini-timeline strong,
.group-mini-timeline small {
    overflow-wrap: anywhere;
}

.buyer-card-footer {
    flex-wrap: wrap;
}

.group-app-body .buyer-empty-state {
    border-color: rgba(47, 79, 255, 0.18);
    background:
        linear-gradient(135deg, #ffffff, rgba(239, 244, 255, 0.76));
}

body.group-sidebar-collapsed .group-sidebar {
    width: var(--group-sidebar-rail);
    padding-inline: 12px;
}

body.group-sidebar-collapsed .group-sidebar-head {
    justify-content: center;
    gap: 8px;
    padding-bottom: 16px;
}

body.group-sidebar-collapsed .group-sidebar-brand {
    flex: 0 0 auto;
}

body.group-sidebar-collapsed .group-sidebar-brand span,
body.group-sidebar-collapsed .group-nav-text,
body.group-sidebar-collapsed .group-nav-section-toggle .bi-chevron-down,
body.group-sidebar-collapsed .group-nav-submenu {
    display: none;
}

body.group-sidebar-collapsed .group-sidebar-brand .brand-logo-sidebar {
    width: 40px;
    height: 40px;
    max-width: 40px;
    max-height: 40px;
}

body.group-sidebar-collapsed .group-sidebar-brand .brand-mark {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
}

body.group-sidebar-collapsed .group-sidebar-close {
    width: 40px;
    height: 40px;
}

body.group-sidebar-collapsed .group-sidebar-head {
    flex-direction: column;
}

body.group-sidebar-collapsed .group-nav-section-toggle {
    justify-content: center;
    min-height: 48px;
    padding: 0;
    border-radius: 16px;
}

body.group-sidebar-collapsed .group-nav-label {
    justify-content: center;
}

body.group-sidebar-collapsed .group-nav-label > i {
    width: 24px;
    flex-basis: 24px;
    font-size: 1.15rem;
}

body.group-sidebar-collapsed .group-main {
    margin-left: var(--group-sidebar-rail);
}

@media (max-width: 1199.98px) {
    .group-stat-grid,
    .group-category-grid,
    .group-app-body .group-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .group-step-grid,
    .group-benefit-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .group-dashboard-grid {
        grid-template-columns: 1fr;
    }

    .group-filter-panel {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .group-filter-actions {
        grid-column: 1 / -1;
    }

    .group-complete-banner {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1399.98px) {
    .group-app-body .buyer-application-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 991.98px) {
    .group-landing-nav,
    .group-section-head,
    .group-final-cta,
    .group-page-heading,
    .buyer-topbar,
    .group-welcome-card {
        align-items: stretch;
        flex-direction: column;
    }

    .group-hero-grid,
    .group-app-body .buyer-application-grid {
        grid-template-columns: 1fr;
    }

    .group-hero-visual,
    .group-hero-visual img,
    .group-hero-placeholder {
        min-height: 380px;
    }

    .group-sidebar {
        width: min(310px, 86vw);
        padding: 18px;
        transform: translateX(-100%);
    }

    body.group-sidebar-open .group-sidebar {
        transform: translateX(0);
    }

    .group-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1030;
        display: none;
        background: rgba(7, 17, 31, 0.48);
    }

    body.group-sidebar-open .group-sidebar-backdrop {
        display: block;
    }

    body.group-sidebar-collapsed .group-sidebar {
        width: min(310px, 86vw);
        padding-inline: 18px;
        transform: translateX(-100%);
    }

    body.group-sidebar-collapsed .group-sidebar-head {
        flex-direction: row;
        justify-content: space-between;
    }

    body.group-sidebar-collapsed .group-sidebar-brand {
        flex: 1 1 auto;
    }

    body.group-sidebar-collapsed .group-sidebar-brand span,
    body.group-sidebar-collapsed .group-nav-text,
    body.group-sidebar-collapsed .group-nav-section-toggle .bi-chevron-down {
        display: inline-flex;
    }

    body.group-sidebar-collapsed .group-nav-section.is-open .group-nav-submenu {
        display: grid;
    }

    body.group-sidebar-collapsed .group-nav-section-toggle {
        justify-content: space-between;
        min-height: 44px;
        padding: 10px 12px;
    }

    body.group-sidebar-collapsed .group-nav-label {
        justify-content: flex-start;
    }

    .group-main,
    body.group-sidebar-collapsed .group-main {
        margin-left: 0;
    }

    .group-mobile-header {
        position: sticky;
        top: 0;
        z-index: 1020;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 62px;
        padding: 9px 14px;
        border-bottom: 1px solid rgba(219, 226, 238, 0.9);
        background: #ffffff;
        box-shadow: 0 12px 30px rgba(7, 17, 31, 0.08);
    }

    .group-mobile-header .group-icon-button {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(7, 17, 31, 0.08);
    }

    .group-mobile-brand {
        min-width: 0;
        color: var(--group-ink);
        font-weight: 900;
    }

    .group-mobile-brand .brand-logo-sidebar {
        width: 34px;
        height: 34px;
        max-width: 34px;
        max-height: 34px;
        object-fit: contain;
    }

    .group-mobile-brand span:last-child {
        overflow: hidden;
        max-width: 170px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .group-mobile-brand .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .group-main-inner {
        padding: 18px;
    }
}

@media (max-width: 575.98px) {
    .group-landing-nav,
    .group-hero-actions,
    .group-final-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .group-landing-actions,
    .group-landing-actions .btn,
    .group-hero-actions .btn,
    .group-final-actions .btn,
    .group-page-heading .btn,
    .buyer-topbar .btn,
    .group-welcome-card .btn,
    .buyer-card-footer .btn {
        width: 100%;
    }

    .group-hero-premium {
        width: min(100% - 24px, 1180px);
        padding: 24px;
        border-radius: 24px;
    }

    .group-hero-copy h1 {
        font-size: 2.45rem;
    }

    .group-hero-trust,
    .group-stat-grid,
    .group-step-grid,
    .group-category-grid,
    .group-benefit-grid,
    .group-app-body .group-kpi-grid {
        grid-template-columns: 1fr;
    }

    .group-section,
    .group-final-cta {
        width: min(100% - 24px, 1180px);
    }

    .group-final-cta,
    .group-page-heading,
    .buyer-topbar,
    .group-welcome-card,
    .group-insight-card,
    .group-action-card {
        padding: 20px;
        border-radius: 22px;
    }

    .group-main-inner {
        padding: 14px;
    }

    .group-app-body .dashboard-panel {
        padding: 18px;
    }

    .buyer-application-card {
        grid-template-columns: 1fr;
    }

    .group-filter-panel {
        grid-template-columns: 1fr;
    }

    .group-filter-actions,
    .group-filter-actions .btn {
        width: 100%;
    }

    .crm-table {
        min-width: 760px;
    }
}

/* Buyer sidebar: admin sidebar pattern adapted to group pages */
.group-app-body {
    overflow-x: hidden;
}

.group-app-shell {
    min-height: 100vh;
    overflow-x: clip;
}

.group-sidebar.app-sidebar {
    width: var(--group-sidebar-width);
    padding: 18px 16px;
    overflow-x: hidden;
    background:
        radial-gradient(circle at 30% 0%, rgba(48, 79, 254, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(148, 163, 184, 0.045), transparent 28%),
        var(--group-navy);
    border-right: 1px solid rgba(148, 163, 184, 0.08);
    box-shadow: 24px 0 70px rgba(6, 9, 20, 0.18);
    transform: none;
    transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.group-sidebar-collapsed .group-sidebar.app-sidebar {
    width: var(--group-sidebar-rail);
    padding-inline: 16px;
    transform: none;
}

.group-main {
    margin-left: var(--group-sidebar-width);
    transition: margin-left 220ms cubic-bezier(0.2, 0.8, 0.2, 1), padding 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

body.group-sidebar-collapsed .group-main {
    margin-left: var(--group-sidebar-rail);
}

.group-sidebar .sidebar-header {
    display: flex;
    align-items: center;
    min-height: 58px;
    gap: 10px;
    padding: 4px 0 18px;
    border-bottom: 0;
}

.group-sidebar .sidebar-header .brand {
    min-width: 0;
    overflow: hidden;
}

.group-sidebar .brand .brand-logo-sidebar {
    max-width: 150px;
    max-height: 38px;
    object-fit: contain;
}

.group-sidebar .brand-mark {
    flex: 0 0 44px;
}

.group-sidebar .sidebar-close {
    flex: 0 0 42px;
    margin-left: auto;
    border-color: rgba(148, 163, 184, 0.12);
    background: rgba(148, 163, 184, 0.075);
    color: #eef2ff;
    box-shadow: none;
}

.group-sidebar .sidebar-close:hover,
.group-sidebar .sidebar-close:focus-visible {
    background: rgba(148, 163, 184, 0.13);
    color: #fff;
    transform: translateY(-1px);
}

body.group-sidebar-collapsed .group-sidebar .sidebar-header {
    justify-content: center;
}

body.group-sidebar-collapsed .group-sidebar .sidebar-header .brand {
    display: none;
}

body.group-sidebar-collapsed .group-sidebar .sidebar-close {
    margin-left: 0;
}

.group-sidebar .sidebar-menu {
    display: grid;
    gap: 8px;
    margin-top: 0;
}

.group-sidebar .sidebar-link {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    min-height: 46px;
    padding: 12px 13px;
    border: 0;
    border-radius: 15px;
    background: transparent;
    color: #a8b3c7;
    font-family: "Manrope", system-ui, sans-serif;
    font-size: 0.9rem;
    font-weight: 760;
    text-align: left;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.group-sidebar .sidebar-link i:first-child {
    flex: 0 0 20px;
}

.group-sidebar .sidebar-link:hover {
    background: rgba(148, 163, 184, 0.075);
    color: #fff;
    transform: translateX(2px);
}

.group-sidebar .sidebar-link.active {
    background:
        linear-gradient(135deg, rgba(48, 79, 254, 0.33), rgba(148, 163, 184, 0.075)),
        rgba(148, 163, 184, 0.08);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(148, 163, 184, 0.1), 0 14px 34px rgba(0, 0, 0, 0.2);
}

.group-sidebar .sidebar-dropdown-toggle .bi-chevron-down {
    font-size: 0.78rem;
    transition: transform 180ms ease;
}

.group-sidebar .sidebar-dropdown-toggle[aria-expanded="true"] .bi-chevron-down {
    transform: rotate(180deg);
}

body.group-sidebar-collapsed .group-sidebar .sidebar-link {
    justify-content: center;
    padding-inline: 0;
}

body.group-sidebar-collapsed .group-sidebar .sidebar-link span,
body.group-sidebar-collapsed .group-sidebar .sidebar-dropdown-toggle .bi-chevron-down,
body.group-sidebar-collapsed .group-sidebar .sidebar-submenu {
    display: none !important;
}

body.group-sidebar-collapsed .group-sidebar .sidebar-link i:first-child {
    margin: 0;
    font-size: 1.06rem;
}

.group-sidebar .sidebar-submenu {
    display: none;
    gap: 4px;
    margin-left: 18px;
    padding-left: 18px;
    border-left: 1px solid rgba(148, 163, 184, 0.1);
}

.group-sidebar .sidebar-submenu.show {
    display: grid;
}

.group-sidebar .sidebar-sublink {
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 10px;
    border-radius: 11px;
    color: #919db2;
    font-size: 0.85rem;
    font-weight: 720;
}

.group-sidebar .sidebar-sublink:hover,
.group-sidebar .sidebar-sublink.active {
    background: rgba(148, 163, 184, 0.075);
    color: #fff;
}

.group-sidebar-backdrop {
    display: none;
}

@media (max-width: 991.98px) {
    .group-sidebar.app-sidebar {
        width: min(292px, 86vw);
        padding-inline: 16px;
        transform: translateX(-100%);
    }

    body.group-sidebar-open .group-sidebar.app-sidebar {
        width: min(292px, 86vw);
        transform: translateX(0);
    }

    body.group-sidebar-open .group-sidebar .sidebar-header {
        justify-content: space-between;
    }

    body.group-sidebar-open .group-sidebar .sidebar-header .brand {
        display: flex !important;
    }

    body.group-sidebar-open .group-sidebar .sidebar-close {
        margin-left: auto;
    }

    body.group-sidebar-open .group-sidebar .sidebar-link {
        justify-content: flex-start;
        padding: 12px 13px;
    }

    body.group-sidebar-open .group-sidebar .sidebar-link span,
    body.group-sidebar-open .group-sidebar .sidebar-dropdown-toggle .bi-chevron-down {
        display: inline-flex !important;
    }

    body.group-sidebar-open .group-sidebar .sidebar-submenu.show {
        display: grid !important;
    }

    body.group-sidebar-collapsed .group-sidebar.app-sidebar {
        width: min(292px, 86vw);
        transform: translateX(-100%);
    }

    body.group-sidebar-collapsed .group-sidebar .sidebar-header {
        justify-content: space-between;
    }

    body.group-sidebar-collapsed .group-sidebar .sidebar-header .brand {
        display: flex;
    }

    body.group-sidebar-collapsed .group-sidebar .sidebar-close {
        margin-left: auto;
    }

    body.group-sidebar-collapsed .group-sidebar .sidebar-link {
        justify-content: flex-start;
        padding: 12px 13px;
    }

    body.group-sidebar-collapsed .group-sidebar .sidebar-link span,
    body.group-sidebar-collapsed .group-sidebar .sidebar-dropdown-toggle .bi-chevron-down {
        display: inline-flex !important;
    }

    body.group-sidebar-collapsed .group-sidebar .sidebar-submenu.show {
        display: grid !important;
    }

    .group-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1030;
        display: none;
        background: rgba(7, 17, 31, 0.48);
    }

    body.group-sidebar-open .group-sidebar-backdrop {
        display: block;
    }

    .group-main,
    body.group-sidebar-collapsed .group-main {
        margin-left: 0;
    }

    .group-mobile-header {
        position: sticky;
        top: 0;
        z-index: 1020;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 62px;
        padding: 9px 14px;
        border-bottom: 1px solid rgba(219, 226, 238, 0.9);
        background: #ffffff;
        box-shadow: 0 12px 30px rgba(7, 17, 31, 0.08);
    }

    .group-mobile-header .group-icon-button {
        width: 40px;
        height: 40px;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 10px 24px rgba(7, 17, 31, 0.08);
    }

    .group-mobile-brand {
        min-width: 0;
        color: var(--group-ink);
        font-weight: 900;
    }

    .group-mobile-brand .brand-logo-sidebar {
        width: auto;
        max-width: 150px;
        max-height: 34px;
        object-fit: contain;
    }

    .group-mobile-brand .brand-mark {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .group-mobile-brand span:last-child {
        overflow: hidden;
        max-width: 170px;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

@media (max-width: 991.98px) {
    .group-app-body .group-main {
        padding-top: 62px;
    }

    .group-app-body .group-mobile-header {
        position: fixed;
        top: 0;
        right: 0;
        left: 0;
        z-index: 1050;
        min-height: 62px;
    }

    .group-app-body .group-sidebar,
    .group-app-body .group-sidebar.app-sidebar {
        z-index: 1060;
    }

    .group-app-body .group-sidebar-backdrop {
        z-index: 1055;
    }
}

/* Buyer application view: mobile overflow containment */
.group-app-body,
.group-app-body .group-app-shell,
.group-app-body .group-main,
.group-app-body .group-main-inner,
.group-app-body .dashboard-panel,
.group-app-body .module-panel,
.group-app-body .lead-detail-grid,
.group-app-body .group-dashboard-shell {
    max-width: 100%;
}

.group-app-body .responsive-table-wrap {
    max-width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 16px;
    background: #fff;
    -webkit-overflow-scrolling: touch;
}

.group-app-body .responsive-table-wrap::after {
    content: "Scroll to view";
    position: sticky;
    right: 0;
    bottom: 0;
    display: none;
    width: max-content;
    margin-left: auto;
    padding: 6px 10px;
    border-top-left-radius: 12px;
    background: rgba(248, 250, 252, 0.94);
    color: #647084;
    font-size: 0.72rem;
    font-weight: 850;
}

.group-app-body .responsive-table-wrap .crm-table {
    min-width: 680px;
    margin-bottom: 0;
}

.group-app-body .timeline,
.group-app-body .timeline-item,
.group-app-body .timeline-item > div,
.group-app-body .timeline-item strong,
.group-app-body .timeline-item small {
    max-width: 100%;
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 991.98px) {
    body.group-app-body {
        max-width: 100%;
        overflow-x: hidden;
    }

    @supports selector(html:has(body.group-app-body)) {
        html:has(body.group-app-body) {
            max-width: 100%;
            overflow-x: hidden;
        }
    }

    .group-app-body .group-main,
    .group-app-body .group-main-inner,
    .group-app-body .dashboard-panel,
    .group-app-body .module-panel,
    .group-app-body .lead-detail-grid,
    .group-app-body .group-dashboard-shell {
        min-width: 0;
        width: 100%;
        max-width: 100%;
    }

    .group-app-body .responsive-table-wrap {
        margin-inline: -2px;
        box-shadow: inset -18px 0 18px -22px rgba(15, 23, 42, 0.45);
    }

    .group-app-body .responsive-table-wrap::after {
        display: block;
    }

    .group-app-body .responsive-table-wrap .crm-table th,
    .group-app-body .responsive-table-wrap .crm-table td {
        white-space: nowrap;
    }

    .group-app-body .timeline-item {
        grid-template-columns: 12px minmax(0, 1fr);
    }
}

/* HIG Group Purchase landing page v2 */
.group-public-body:has(.group-purchase-landing-v2) {
    background:
        radial-gradient(circle at 18% 4%, rgba(47, 79, 255, 0.13), transparent 28rem),
        radial-gradient(circle at 86% 10%, rgba(11, 122, 97, 0.1), transparent 26rem),
        linear-gradient(180deg, #fbfcff 0%, var(--group-bg) 42%, #ffffff 100%);
    color: var(--group-ink);
}

.group-purchase-landing-v2 {
    --gp-ink: var(--group-ink);
    --gp-muted: var(--group-muted);
    --gp-primary: var(--group-blue);
    --gp-primary-dark: #263fd6;
    --gp-secondary: var(--group-navy);
    --gp-accent: var(--group-green);
    --gp-gold: var(--group-gold);
    --gp-line: var(--group-line);
    --gp-card: #ffffff;
    --gp-shadow: var(--group-shadow);
    min-height: 100vh;
    overflow: hidden;
    padding-top: 78px;
    color: var(--gp-ink);
}

.group-purchase-landing-v2 * {
    box-sizing: border-box;
}

.group-purchase-landing-v2 a {
    text-decoration: none;
}

.gp-site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 9999;
    border-bottom: 1px solid #ffffff;
    background: #ffffff;
    box-shadow: 0 14px 42px rgba(10, 16, 32, 0.08);
}

.gp-nav-shell,
.gp-mobile-menu,
.gp-hero-inner,
.gp-trust-strip,
.gp-section,
.gp-final-cta,
.gp-footer {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.gp-nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 78px;
}

.gp-brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
    color: var(--gp-ink);
}

.gp-brand-logo {
    width: auto;
    max-width: 148px;
    max-height: 46px;
    object-fit: contain;
}

.gp-brand .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 14px;
}

.gp-brand-fallback {
    display: grid;
    line-height: 1.05;
}

.gp-brand-fallback strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.gp-brand-fallback small {
    color: var(--gp-muted);
    font-size: 0.76rem;
    font-weight: 800;
}

.gp-desktop-nav,
.gp-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.gp-desktop-nav {
    padding: 8px;
    border: 1px solid var(--gp-line);
    border-radius: 999px;
    background: #ffffff;
}

.gp-desktop-nav a {
    padding: 9px 12px;
    border-radius: 999px;
    color: #243044;
    font-size: 0.88rem;
    font-weight: 850;
}

.gp-desktop-nav a:hover {
    background: rgba(47, 79, 255, 0.08);
    color: var(--gp-primary-dark);
}

.gp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 12px 18px;
    border: 1px solid transparent;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 900;
    line-height: 1.1;
    transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.gp-btn:hover {
    transform: translateY(-1px);
}

.gp-btn-primary {
    border-color: var(--gp-primary);
    background: linear-gradient(180deg, #425eff, var(--gp-primary-dark));
    box-shadow: 0 16px 32px rgba(47, 79, 255, 0.24);
    color: #ffffff;
}

.gp-btn-primary:hover {
    color: #ffffff;
    box-shadow: 0 20px 42px rgba(47, 79, 255, 0.28);
}

.gp-btn-ghost {
    border-color: var(--gp-line);
    background: #ffffff;
    color: #243044;
}

.gp-btn-large {
    min-height: 54px;
    padding-inline: 24px;
}

.gp-menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--gp-line);
    border-radius: 16px;
    background: #ffffff;
    color: var(--gp-ink);
    font-size: 1.28rem;
    box-shadow: 0 12px 26px rgba(10, 16, 32, 0.08);
}

.gp-mobile-menu {
    display: none;
    padding: 0 0 16px;
}

.gp-mobile-menu a:not(.gp-btn) {
    display: block;
    padding: 13px 4px;
    border-bottom: 1px solid var(--gp-line);
    color: #243044;
    font-weight: 850;
}

.gp-mobile-menu > div {
    display: grid;
    gap: 10px;
    padding-top: 14px;
}

.gp-hero {
    padding: clamp(18px, 3vw, 34px) 0 10px;
}

.gp-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.82fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: center;
    min-height: 520px;
    padding: clamp(22px, 3vw, 30px);
    border: 1px solid #ffffff;
    border-radius: 34px;
    background:
        linear-gradient(135deg, #ffffff, rgba(244, 247, 255, 0.78)),
        linear-gradient(145deg, rgba(47, 79, 255, 0.1), rgba(11, 122, 97, 0.1));
    box-shadow: var(--gp-shadow);
}

.gp-hero-inner::before {
    content: "";
    position: absolute;
    right: -120px;
    bottom: -160px;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background: rgba(47, 79, 255, 0.11);
    filter: blur(2px);
}

.gp-hero-copy,
.gp-hero-panel,
.gp-section > *,
.gp-final-cta > * {
    position: relative;
    z-index: 1;
}

.gp-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 14px;
    padding: 8px 12px;
    border: 1px solid rgba(47, 79, 255, 0.13);
    border-radius: 999px;
    background: rgba(47, 79, 255, 0.08);
    color: var(--gp-primary-dark);
    font-size: 0.72rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gp-hero h1,
.gp-section h2,
.gp-final-cta h2 {
    margin: 0;
    color: #060b16;
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    font-weight: 760;
    letter-spacing: 0;
}

.gp-hero h1 {
    max-width: 760px;
    font-size: clamp(2.55rem, 4.4vw, 3.6rem);
    line-height: 1;
}

.gp-hero p,
.gp-section-copy p,
.gp-final-cta p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--gp-muted);
    font-size: clamp(1rem, 1.6vw, 1.17rem);
    line-height: 1.72;
}

.gp-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.gp-hero-panel {
    display: grid;
    gap: 16px;
    padding: 16px;
    border: 1px solid #ffffff;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 24px 60px rgba(10, 16, 32, 0.12);
}

.gp-phone-stage {
    position: relative;
    justify-items: center;
    min-height: 500px;
    padding: 18px;
    background:
        linear-gradient(150deg, #ffffff, rgba(238, 242, 255, 0.64)),
        radial-gradient(circle at 78% 16%, rgba(47, 79, 255, 0.14), transparent 16rem);
}

.gp-phone-mockup {
    position: relative;
    z-index: 2;
    width: min(285px, 100%);
    padding: 10px;
    border: 1px solid rgba(7, 17, 31, 0.2);
    border-radius: 42px;
    background:
        linear-gradient(145deg, #101a2c, #050916 58%, #18223a);
    box-shadow:
        0 34px 78px rgba(7, 17, 31, 0.32),
        inset 0 0 0 1px rgba(148, 163, 184, 0.08);
    transform: rotate(2deg) scale(0.75);
}

.gp-phone-speaker {
    position: absolute;
    top: 18px;
    left: 50%;
    width: 78px;
    height: 6px;
    border-radius: 999px;
    background: rgba(148, 163, 184, 0.18);
    transform: translateX(-50%);
    z-index: 3;
}

.gp-phone-screen {
    min-height: 0;
    overflow: hidden;
    padding: 18px 12px 12px;
    border: 1px solid rgba(148, 163, 184, 0.08);
    border-radius: 32px;
    background:
        radial-gradient(circle at 10% 0%, rgba(47, 79, 255, 0.18), transparent 14rem),
        linear-gradient(180deg, #fbfcff 0%, #eef2ff 100%);
}

.gp-phone-status,
.gp-phone-appbar,
.gp-phone-section-title,
.gp-phone-contributors article,
.gp-floating-card {
    display: flex;
    align-items: center;
}

.gp-phone-status {
    justify-content: space-between;
    color: #526073;
    font-size: 0.72rem;
    font-weight: 900;
}

.gp-phone-appbar {
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
}

.gp-phone-appbar span,
.gp-phone-property span,
.gp-phone-funding span,
.gp-phone-section-title span {
    color: var(--gp-muted);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gp-phone-appbar strong {
    display: block;
    margin-top: 3px;
    color: var(--gp-ink);
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    font-size: 1.02rem;
    line-height: 1.12;
}

.gp-phone-appbar i {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    flex: 0 0 auto;
    border-radius: 14px;
    background: #ffffff;
    color: var(--gp-primary);
    box-shadow: 0 10px 24px rgba(10, 16, 32, 0.08);
}

.gp-phone-property,
.gp-phone-funding,
.gp-phone-contributors {
    margin-top: 10px;
    padding: 10px;
    border: 1px solid rgba(227, 232, 240, 0.92);
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(10, 16, 32, 0.07);
}

.gp-phone-property h2 {
    margin: 5px 0 6px;
    color: var(--gp-ink);
    font-size: 0.96rem;
    font-weight: 950;
    line-height: 1.15;
}

.gp-phone-property p {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--gp-muted);
    font-size: 0.86rem;
    font-weight: 850;
}

.gp-phone-funding {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.gp-phone-funding strong {
    display: block;
    margin-top: 4px;
    color: var(--gp-primary-dark);
    font-size: 0.86rem;
    font-weight: 950;
}

.gp-phone-progress {
    grid-column: 1 / -1;
}

.gp-phone-progress div,
.gp-phone-contributors em {
    display: block;
    overflow: hidden;
    height: 7px;
    border-radius: 999px;
    background: #e6eaf0;
}

.gp-phone-progress div span,
.gp-phone-contributors em::before {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gp-gold), var(--gp-primary));
    content: "";
}

.gp-phone-progress strong {
    margin-top: 6px;
}

.gp-phone-section-title {
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.gp-phone-section-title strong {
    color: var(--gp-primary-dark);
    font-size: 0.78rem;
    font-weight: 950;
}

.gp-phone-contributors {
    display: grid;
    gap: 6px;
}

.gp-phone-contributors article {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 5px 10px;
    padding: 6px 8px;
    border-radius: 16px;
    background: #f8f9ff;
}

.gp-phone-contributors article span,
.gp-phone-contributors article strong {
    color: var(--gp-ink);
    font-size: 0.78rem;
    font-weight: 950;
}

.gp-phone-contributors article small {
    display: block;
    margin-top: 1px;
    color: var(--gp-muted);
    font-size: 0.64rem;
    font-weight: 850;
}

.gp-phone-contributors em {
    grid-column: 1 / -1;
}

.gp-phone-contributors em::before {
    width: var(--member-progress);
}

.gp-floating-card {
    position: absolute;
    z-index: 3;
    gap: 8px;
    padding: 12px 14px;
    border: 1px solid rgba(227, 232, 240, 0.92);
    border-radius: 18px;
    background: #ffffff;
    color: #243044;
    font-size: 0.82rem;
    font-weight: 950;
    box-shadow: 0 18px 42px rgba(10, 16, 32, 0.12);
}

.gp-floating-card i {
    color: var(--gp-primary);
}

.gp-floating-card-top {
    top: 38px;
    left: 10px;
    transform: rotate(-5deg);
}

.gp-floating-card-bottom {
    right: 8px;
    bottom: 44px;
    transform: rotate(4deg);
}

.gp-property-preview,
.gp-ownership-card,
.gp-funding-card {
    border: 1px solid var(--gp-line);
    border-radius: 24px;
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(10, 16, 32, 0.08);
}

.gp-property-preview {
    display: grid;
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 14px;
    padding: 12px;
}

.gp-property-image {
    display: grid;
    place-items: center;
    min-height: 118px;
    overflow: hidden;
    border-radius: 18px;
    background:
        linear-gradient(135deg, rgba(47, 79, 255, 0.88), rgba(7, 17, 31, 0.92)),
        var(--gp-primary);
    color: #fff;
    font-size: 2rem;
}

.gp-property-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-property-preview span,
.gp-card-heading span,
.gp-funding-meta,
.gp-property-body > span,
.gp-mini-metric span {
    color: var(--gp-muted);
    font-size: 0.76rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.gp-property-preview h2 {
    margin: 9px 0 12px;
    color: var(--gp-ink);
    font-size: clamp(1.18rem, 2vw, 1.45rem);
    font-weight: 900;
    line-height: 1.12;
}

.gp-property-preview p {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--gp-muted);
    font-weight: 800;
}

.gp-ownership-card,
.gp-funding-card {
    padding: 13px;
}

.gp-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.gp-card-heading strong {
    color: var(--gp-primary-dark);
    font-weight: 950;
}

.gp-members {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.gp-members div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 9px;
    border-radius: 15px;
    background: #f8f9ff;
}

.gp-members span {
    color: #526073;
    font-size: 0.82rem;
    font-weight: 850;
}

.gp-members strong {
    color: var(--gp-primary-dark);
    font-weight: 950;
}

.gp-progress-track {
    height: 12px;
    overflow: hidden;
    border-radius: 999px;
    background: #e6eaf0;
}

.gp-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--gp-gold), var(--gp-primary));
}

.gp-funding-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 12px;
    text-transform: none;
}

.gp-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: clamp(54px, 8vw, 92px);
}

.gp-trust-strip article,
.gp-audience-grid article,
.gp-property-card,
.gp-faq-list details {
    border: 1px solid var(--gp-line);
    background: var(--gp-card);
    box-shadow: 0 14px 34px rgba(10, 16, 32, 0.08);
}

.gp-trust-strip article {
    min-height: 170px;
    padding: 22px;
    border-radius: 24px;
}

.gp-trust-strip i,
.gp-audience-grid i {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 15px;
    background: rgba(47, 79, 255, 0.09);
    color: var(--gp-primary-dark);
    font-size: 1.2rem;
}

.gp-trust-strip h2,
.gp-audience-grid h3,
.gp-steps h3,
.gp-property-body h3 {
    margin: 16px 0 8px;
    color: var(--gp-ink);
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    font-size: 1.05rem;
    font-weight: 850;
    line-height: 1.2;
}

.gp-trust-strip p,
.gp-steps p,
.gp-property-body p,
.gp-faq-list p,
.gp-footer p {
    margin: 0;
    color: var(--gp-muted);
    line-height: 1.65;
}

.gp-section {
    position: relative;
    padding: clamp(58px, 8vw, 102px) 0;
}

.gp-section-head,
.gp-explainer,
.gp-feature-band,
.gp-security {
    display: grid;
    gap: clamp(24px, 5vw, 56px);
}

.gp-section-head,
.gp-explainer,
.gp-feature-band,
.gp-security {
    grid-template-columns: minmax(0, 0.8fr) minmax(320px, 1fr);
    align-items: start;
}

.gp-section-head.landing-section-header {
    display: block;
    max-width: 760px;
    margin: 0 auto 48px;
    text-align: center;
}

.gp-section-head.landing-section-header .gp-eyebrow {
    margin-inline: auto;
}

.gp-section-head.landing-section-header h2 {
    margin-inline: auto;
}

.gp-section-head.landing-section-header.is-left {
    margin-left: 0;
    text-align: left;
}

.gp-section-head.landing-section-header.is-left .gp-eyebrow,
.gp-section-head.landing-section-header.is-left h2 {
    margin-inline: 0;
}

.gp-section-head h2,
.gp-section-copy h2,
.gp-final-cta h2 {
    max-width: 720px;
    font-size: clamp(2.1rem, 4.2vw, 4rem);
    line-height: 1.02;
}

.gp-explainer-panel {
    display: grid;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--gp-line);
    border-radius: 28px;
    background: linear-gradient(145deg, #ffffff, rgba(238, 242, 255, 0.72));
    box-shadow: var(--gp-shadow);
}

.gp-mini-metric {
    padding: 18px;
    border: 1px solid rgba(47, 79, 255, 0.1);
    border-radius: 20px;
    background: #ffffff;
}

.gp-mini-metric strong {
    display: block;
    margin-top: 7px;
    color: var(--gp-ink);
    font-size: 1.02rem;
    font-weight: 900;
}

.gp-audience-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    grid-column: 1 / -1;
}

.gp-audience-grid article {
    min-height: 150px;
    padding: 22px;
    border-radius: 24px;
}

.gp-steps-section {
    width: min(100%, 1320px);
    padding-inline: max(20px, calc((100% - 1180px) / 2));
    border-radius: 36px;
    background: linear-gradient(135deg, var(--gp-secondary), #111d32);
    color: #fff;
}

.gp-steps-section .gp-eyebrow {
    border-color: rgba(148, 163, 184, 0.14);
    background: rgba(148, 163, 184, 0.09);
    color: #eef2ff;
}

.gp-steps-section h2 {
    color: #ffffff;
}

.gp-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    grid-column: 1 / -1;
}

.gp-steps article {
    display: grid;
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 16px;
    padding: 22px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 24px;
    background: rgba(148, 163, 184, 0.07);
}

.gp-steps article > span {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 17px;
    background: rgba(47, 79, 255, 0.22);
    color: #dbe4ff;
    font-weight: 950;
}

.gp-steps h3 {
    margin-top: 0;
    color: #ffffff;
}

.gp-steps p {
    color: #c9d3e2;
}

.gp-feature-grid,
.gp-security-list {
    display: grid;
    gap: 12px;
}

.gp-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gp-feature-grid div,
.gp-security-list span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 15px 16px;
    border: 1px solid var(--gp-line);
    border-radius: 18px;
    background: #ffffff;
    color: #243044;
    font-weight: 850;
    box-shadow: 0 10px 24px rgba(10, 16, 32, 0.06);
}

.gp-feature-grid i {
    color: var(--gp-primary);
    font-size: 1.15rem;
}

.gp-properties-head {
    align-items: end;
}

.gp-property-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 30px;
}

.gp-property-card {
    overflow: hidden;
    border-radius: 28px;
}

.gp-card-image {
    position: relative;
    display: grid;
    min-height: 238px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gp-primary), var(--gp-secondary));
}

.gp-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gp-card-image > div {
    display: grid;
    place-items: center;
    gap: 10px;
    min-height: 238px;
    padding: 24px;
    color: #ffffff;
    text-align: center;
}

.gp-card-image i {
    font-size: 2.35rem;
}

.gp-card-image span {
    font-weight: 900;
}

.gp-property-body {
    display: grid;
    gap: 12px;
    padding: 22px;
}

.gp-property-body h3 {
    margin: 0;
    font-size: 1.32rem;
}

.gp-property-body p {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.gp-property-meta {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 8px;
}

.gp-property-meta strong {
    color: var(--gp-primary-dark);
    font-size: 1.05rem;
    font-weight: 950;
}

.gp-property-meta small {
    color: var(--gp-muted);
    font-weight: 850;
}

.gp-security {
    padding: clamp(34px, 6vw, 68px);
    border: 1px solid #ffffff;
    border-radius: 34px;
    background:
        linear-gradient(135deg, #ffffff, rgba(238, 242, 255, 0.78)),
        #ffffff;
    box-shadow: var(--gp-shadow);
}

.gp-security-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gp-security-list span::before {
    content: "";
    width: 10px;
    height: 10px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--gp-primary);
}

.gp-faq-list {
    display: grid;
    gap: 12px;
    grid-column: 1 / -1;
}

.gp-faq-list details {
    border-radius: 20px;
    overflow: hidden;
}

.gp-faq-list summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 22px;
    cursor: pointer;
    color: var(--gp-ink);
    font-weight: 900;
    list-style: none;
}

.gp-faq-list summary::-webkit-details-marker {
    display: none;
}

.gp-faq-list details[open] summary i {
    transform: rotate(180deg);
}

.gp-faq-list p {
    padding: 0 22px 22px;
}

.gp-final-cta {
    display: grid;
    place-items: center;
    position: relative;
    isolation: isolate;
    margin-top: clamp(40px, 7vw, 88px);
    padding: clamp(46px, 8vw, 86px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 34px;
    background:
        linear-gradient(135deg, rgba(18, 18, 18, 0.96), rgba(38, 63, 214, 0.92)),
        var(--gp-secondary);
    color: #ffffff;
    text-align: center;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.gp-final-cta .gp-eyebrow {
    border-color: rgba(11, 122, 97, 0.42);
    background: rgba(11, 122, 97, 0.15);
    color: var(--gp-accent);
}

.gp-final-cta > * {
    position: relative;
    z-index: 2;
}

.gp-final-cta h2 {
    color: #ffffff;
    opacity: 1;
    font-weight: 700;
}

.gp-final-cta p {
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.7;
}

.gp-footer {
    display: grid;
    grid-template-columns: minmax(260px, 1.4fr) minmax(160px, 0.7fr) minmax(220px, 0.9fr);
    gap: 28px;
    margin-top: 48px;
    padding: 40px 0 24px;
    border-top: 1px solid var(--gp-line);
}

.gp-footer h2 {
    margin: 0 0 14px;
    color: var(--gp-ink);
    font-size: 0.98rem;
    font-weight: 950;
}

.gp-footer a,
.gp-footer p {
    display: block;
    margin: 0 0 10px;
    color: var(--gp-muted);
    font-weight: 750;
}

.gp-footer-brand {
    display: grid;
    gap: 16px;
}

.gp-footer-brand p {
    max-width: 450px;
}

.gp-footer-bottom {
    grid-column: 1 / -1;
    padding-top: 20px;
    border-top: 1px solid var(--gp-line);
    color: var(--gp-muted);
    font-size: 0.92rem;
    font-weight: 750;
}

@media (max-width: 1100px) {
    .gp-desktop-nav {
        display: none;
    }

    .gp-hero-inner,
    .gp-section-head,
    .gp-explainer,
    .gp-feature-band,
    .gp-security {
        grid-template-columns: 1fr;
    }

    .gp-trust-strip,
    .gp-audience-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gp-property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

@media (max-width: 767.98px) {
    .group-purchase-landing-v2 {
        padding-top: 67px;
    }

    .group-purchase-landing-v2 .gp-site-header {
        z-index: 9999;
    }

    .gp-nav-shell,
    .gp-mobile-menu,
    .gp-hero-inner,
    .gp-trust-strip,
    .gp-section,
    .gp-final-cta,
    .gp-footer {
        width: min(100% - 28px, 1180px);
    }

    .gp-nav-shell {
        min-height: 66px;
    }

    .gp-header-actions {
        display: none;
    }

    .gp-menu-toggle {
        display: inline-flex;
    }

    .gp-mobile-menu.is-open {
        display: block;
    }

    .gp-brand-logo {
        max-width: 132px;
        max-height: 38px;
    }

    .gp-hero {
        padding-top: 18px;
    }

    .gp-hero-inner {
        min-height: auto;
        padding: 26px;
        border-radius: 28px;
    }

    .gp-hero h1 {
        font-size: clamp(2.12rem, 10vw, 2.85rem);
    }

    .gp-hero-actions,
    .gp-final-cta .gp-hero-actions {
        display: grid;
        width: 100%;
    }

    .gp-hero-actions .gp-btn,
    .gp-final-cta .gp-btn,
    .gp-mobile-menu .gp-btn {
        width: 100%;
    }

    .gp-hero-panel {
        padding: 12px;
        border-radius: 24px;
    }

    .gp-phone-stage {
        min-height: auto;
        padding: 18px 14px 28px;
    }

    .gp-phone-mockup {
        width: min(300px, 100%);
        transform: none;
    }

    .gp-phone-screen {
        min-height: 480px;
        padding-inline: 14px;
    }

    .gp-floating-card {
        position: relative;
        inset: auto;
        width: fit-content;
        max-width: 100%;
        transform: none;
    }

    .gp-floating-card-top {
        justify-self: start;
        margin-bottom: -4px;
    }

    .gp-floating-card-bottom {
        justify-self: end;
        margin-top: -4px;
    }

    .gp-property-preview {
        grid-template-columns: 1fr;
    }

    .gp-property-image {
        min-height: 210px;
    }

    .gp-funding-meta,
    .gp-property-meta {
        align-items: start;
        flex-direction: column;
    }

    .gp-trust-strip,
    .gp-audience-grid,
    .gp-steps,
    .gp-feature-grid,
    .gp-property-grid,
    .gp-security-list,
    .gp-footer {
        grid-template-columns: 1fr;
    }

    .gp-section {
        padding-block: 50px;
    }

    .gp-section-head h2,
    .gp-section-copy h2,
    .gp-final-cta h2 {
        font-size: clamp(2rem, 10vw, 2.8rem);
    }

    .gp-steps-section {
        width: calc(100% - 20px);
        padding-inline: 14px;
        border-radius: 28px;
    }

    .gp-steps article {
        grid-template-columns: 1fr;
    }

    .gp-security,
    .gp-final-cta {
        padding: 30px 22px;
        border-radius: 26px;
    }

    .gp-footer-bottom {
        grid-column: auto;
    }
}

@media (max-width: 420px) {
    .gp-hero-inner {
        padding: 22px 18px;
    }

    .gp-trust-strip article,
    .gp-audience-grid article,
    .gp-property-body,
    .gp-ownership-card,
    .gp-funding-card {
        padding: 18px;
    }

    .gp-phone-mockup {
        width: 100%;
    }

    .gp-phone-funding {
        grid-template-columns: 1fr;
    }

    .gp-btn {
        padding-inline: 14px;
    }
}

/* HIG OS buyer dashboard premium UI upgrade */
.group-app-body {
    background: linear-gradient(180deg, #f6f9ff 0, #edf5ff 360px, #f8fbff 100%);
    color: var(--group-ink);
    font-family: "Plus Jakarta Sans", "Manrope", "Inter", system-ui, sans-serif;
}

.group-sidebar .sidebar-link.active {
    background: linear-gradient(135deg, rgba(48, 79, 254, 0.36), rgba(148, 163, 184, 0.08));
}

.group-sidebar .sidebar-sublink.active {
    background: rgba(48, 79, 254, 0.18);
    color: #fff;
}

.group-main-inner {
    padding: 24px clamp(14px, 2.2vw, 32px) 36px;
}

.buyer-dashboard-topbar {
    position: sticky;
    top: 16px;
    z-index: 1015;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 16px;
    border-radius: 22px;
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(7, 17, 31, 0.07);
}

.buyer-dashboard-topbar h1 {
    font-size: clamp(1.35rem, 2.2vw, 2rem);
}

.buyer-dashboard-topbar p {
    max-width: 640px;
    margin-top: 5px;
    font-size: 0.92rem;
}

.buyer-topbar-actions,
.group-mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.buyer-desktop-menu {
    display: inline-flex;
}

.group-notification-button {
    position: relative;
}

.group-notification-button span {
    position: absolute;
    top: 9px;
    right: 10px;
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #ef4444;
}

.group-mobile-avatar {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--group-blue);
    color: #fff;
    font-weight: 900;
    box-shadow: 0 10px 22px rgba(47, 79, 255, 0.22);
}

.buyer-summary-card {
    grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
    border-radius: 24px;
    background: #fff;
}

.buyer-summary-progress {
    display: grid;
    gap: 4px;
    padding: 16px;
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 20px;
    background: #f8fbff;
}

.buyer-summary-progress strong {
    color: var(--group-ink);
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.buyer-summary-progress span {
    color: var(--group-muted);
    font-weight: 800;
}

.group-app-body .group-kpi-grid {
    grid-template-columns: repeat(4, minmax(170px, 1fr));
    gap: 14px;
}

.group-app-body .group-kpi-card {
    display: grid;
    gap: 8px;
    min-height: 150px;
    padding: 20px;
    border-radius: 20px;
    background: #fff;
}

.group-app-body .group-kpi-card i {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #edf3ff;
    color: var(--group-blue);
    font-size: 1.1rem;
}

.group-app-body .group-kpi-card span {
    color: var(--group-muted);
    font-size: 0.82rem;
    font-weight: 850;
}

.group-app-body .group-kpi-card strong {
    color: var(--group-ink);
    font-family: "Space Grotesk", "Plus Jakarta Sans", sans-serif;
    font-size: 2rem;
    line-height: 1;
}

.group-app-body .group-kpi-card small {
    color: var(--group-muted);
    font-weight: 700;
}

.group-dashboard-grid {
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.group-app-body .dashboard-panel,
.group-insight-card,
.group-action-card,
.buyer-application-card {
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(7, 17, 31, 0.06);
}

.group-app-body .buyer-application-grid {
    gap: 14px;
}

.buyer-application-card {
    overflow: hidden;
    border-left: 4px solid var(--group-blue);
}

.buyer-application-media {
    background: #eef5ff;
}

.buyer-application-body h3 {
    color: var(--group-ink);
    font-weight: 900;
}

.group-progress-track {
    height: 10px;
    background: #eef4f6;
}

.group-progress-track div {
    border-radius: inherit;
    background: linear-gradient(90deg, var(--group-blue), var(--group-green));
}

.buyer-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.buyer-action-tile {
    display: grid;
    gap: 6px;
    min-height: 132px;
    padding: 18px;
    border-radius: 18px;
    color: #fff;
}

.buyer-action-tile:hover {
    color: #fff;
    transform: translateY(-2px);
}

.buyer-action-tile i {
    font-size: 1.35rem;
}

.buyer-action-tile strong {
    font-size: 0.98rem;
}

.buyer-action-tile span {
    opacity: 0.9;
    font-size: 0.82rem;
    font-weight: 700;
}

.buyer-action-tile.primary {
    background: #377cff;
}

.buyer-action-tile.success {
    background: #20bf69;
}

.buyer-action-tile.slate {
    background: #667085;
}

.buyer-action-tile.violet {
    background: #8b35e8;
}

.group-mini-timeline article,
.document-link {
    padding: 12px;
    border: 1px solid rgba(227, 232, 240, 0.9);
    border-radius: 16px;
    background: #f9fbff;
}

@media (max-width: 1199.98px) {
    .group-dashboard-grid,
    .buyer-summary-card {
        grid-template-columns: 1fr;
    }

    .group-app-body .group-kpi-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .group-app-body .group-main {
        padding-top: 62px;
    }

    .group-main-inner {
        padding: 14px;
    }

    .buyer-dashboard-topbar {
        position: relative;
        top: auto;
        grid-template-columns: minmax(0, 1fr);
        margin-bottom: 14px;
        padding: 20px;
    }

    .buyer-desktop-menu,
    .buyer-desktop-avatar,
    .buyer-dashboard-topbar .group-notification-button,
    .buyer-dashboard-topbar .page-kicker,
    .buyer-dashboard-topbar p {
        display: none;
    }

    .buyer-topbar-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .buyer-topbar-actions .btn {
        width: 100%;
    }

    .group-mobile-header {
        border-bottom-color: rgba(219, 226, 238, 0.9);
        background: #ffffff;
    }
}

@media (max-width: 575.98px) {
    .group-app-body .group-kpi-grid,
    .buyer-action-grid,
    .group-app-body .buyer-application-grid {
        grid-template-columns: 1fr;
    }

    .buyer-action-tile {
        min-height: 118px;
    }

    .buyer-summary-progress {
        padding: 14px;
    }
}

/* Targeted buyer duplicate hamburger fix */
.buyer-dashboard-topbar {
    grid-template-columns: minmax(0, 1fr) auto;
}

.buyer-desktop-menu {
    display: none !important;
}

@media (max-width: 991.98px) {
    .buyer-dashboard-topbar {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Global solid SaaS surface correction */
:root {
    --group-card: #ffffff;
    --gp-card: #ffffff;
    --surface: #ffffff;
    --surface-soft: #f8fafc;
    --border: #e5e7eb;
    --group-ink: #111827;
    --group-muted: #4b5563;
    --gp-ink: #111827;
    --gp-muted: #4b5563;
    --shadow-soft: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
    --shadow-card: 0 1px 2px rgba(0, 0, 0, .04), 0 10px 28px rgba(0, 0, 0, .08);
}

.group-validation-summary {
    margin-bottom: 18px;
}

.group-field-error {
    margin-top: 6px;
    color: #b42318;
    font-size: 0.84rem;
    font-weight: 800;
}

.group-field-invalid.form-check {
    padding: 10px 12px;
    border: 1px solid #dc3545;
    border-radius: 8px;
    background: #fff5f5;
}

.group-app-body,
.group-public-body {
    color: #111827;
}

.group-app-body .text-muted,
.group-app-body small,
.group-public-body .text-muted,
.group-public-body small {
    color: #6b7280 !important;
}

.group-page-heading p,
.buyer-dashboard-topbar p,
.group-app-body .dashboard-panel p,
.group-app-body .group-kpi-card span,
.group-app-body .group-kpi-card small,
.group-insight-card p,
.group-action-card p {
    color: #4b5563 !important;
}

.group-public-nav,
.group-stat-card,
.group-step-card,
.group-category-card,
.group-benefit-card,
.group-page-heading,
.buyer-topbar,
.buyer-dashboard-topbar,
.group-mobile-header,
.group-welcome-card,
.group-insight-card,
.group-action-card,
.group-complete-banner,
.group-app-body .dashboard-panel,
.group-app-body .group-kpi-card,
.group-app-body .buyer-application-card,
.group-app-body .contributor-progress-card,
.group-app-body .property-card,
.buyer-summary-card,
.buyer-summary-progress,
.group-filter-panel,
.buyer-empty-state,
.document-link,
.group-mini-timeline article,
.gp-nav,
.gp-dashboard-panel,
.gp-floating-card,
.gp-ownership-card,
.gp-funding-card,
.gp-property-card,
.gp-security,
.gp-audience-grid article,
.gp-trust-strip article {
    border: 1px solid var(--border) !important;
    background: #ffffff !important;
    opacity: 1 !important;
    box-shadow: var(--shadow-soft) !important;
    filter: none !important;
}

.group-mobile-header,
.buyer-dashboard-topbar,
.buyer-topbar,
.group-page-heading,
.gp-nav {
    background: #ffffff !important;
    border-bottom: 1px solid var(--border);
}

.group-stat-card:hover,
.group-step-card:hover,
.group-category-card:hover,
.group-benefit-card:hover,
.group-insight-card:hover,
.group-action-card:hover,
.group-app-body .dashboard-panel:hover,
.group-app-body .group-kpi-card:hover,
.group-app-body .buyer-application-card:hover,
.group-app-body .property-card:hover,
.gp-floating-card:hover,
.gp-property-card:hover {
    border-color: #d7dce5 !important;
    background: #ffffff !important;
    box-shadow: var(--shadow-card) !important;
}

.group-sidebar-backdrop,
.gp-phone-shell,
.gp-phone-screen,
.gp-property-card,
.gp-floating-card {
    filter: none !important;
}

.group-filter-panel .form-control,
.group-filter-panel .form-select,
.group-app-body .form-control,
.group-app-body .form-select {
    background-color: #ffffff !important;
    color: #111827 !important;
}

.group-app-body .table,
.group-app-body .crm-table {
    --bs-table-bg: #ffffff !important;
    --bs-table-hover-bg: #f9fafb !important;
    background: #ffffff !important;
    color: #111827 !important;
}

.group-app-body .crm-table thead th {
    background: #f8fafc !important;
    border-bottom: 1px solid var(--border) !important;
    color: #4b5563 !important;
}

.group-app-body .crm-table tbody td {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    color: #111827 !important;
}

.buyer-action-tile {
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.12);
    filter: none !important;
}

/* Fast buyer sidebar submenu collapse */
.group-sidebar .collapsing,
.group-sidebar .collapse.collapsing,
.group-sidebar .sidebar-submenu.collapsing {
    transition: height 120ms ease !important;
}

.group-sidebar .sidebar-dropdown-toggle .bi-chevron-down {
    transition: transform 120ms ease !important;
}

/* Buyer mobile sidebar slide-in fix */
@media (max-width: 991.98px) {
    .group-app-body .group-sidebar,
    .group-app-body .group-sidebar.app-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        bottom: auto;
        width: 280px;
        max-width: 86vw;
        height: 100vh;
        min-height: 100vh;
        display: block;
        overflow-y: auto;
        z-index: 1100;
        transform: translateX(-100%) !important;
        transition: transform 200ms ease;
        will-change: transform;
    }

    body.group-sidebar-open .group-sidebar,
    body.group-sidebar-open .group-sidebar.app-sidebar {
        transform: translateX(0) !important;
    }

    .group-app-body .group-sidebar-backdrop {
        position: fixed;
        inset: 0;
        z-index: 1090;
        display: none;
        background: rgba(15, 23, 42, 0.45);
        pointer-events: auto;
    }

body.group-sidebar-open .group-sidebar-backdrop {
        display: block;
    }

    body.group-sidebar-open {
        overflow: hidden;
    }
}

.group-notification-button [data-notification-badge].has-count {
    width: auto;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 900;
    line-height: 1;
}

/* HIG Crowdfunding onboarding */
.crowdfunding-onboarding {
    min-height: 100vh;
    display: grid;
    grid-template-columns: minmax(0, 1.02fr) minmax(430px, 0.72fr);
    gap: clamp(22px, 4vw, 48px);
    padding: clamp(18px, 3vw, 34px);
    background:
        radial-gradient(circle at 12% 8%, rgba(47, 79, 255, 0.12), transparent 30rem),
        radial-gradient(circle at 88% 0%, rgba(11, 122, 97, 0.1), transparent 28rem),
        #f5f7fb;
    color: #111827;
}

.onboarding-hero-panel,
.onboarding-flow-card {
    min-width: 0;
    border: 1px solid #e5e7eb;
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 8px 24px rgba(0, 0, 0, .06);
}

.onboarding-hero-panel {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: space-between;
    gap: 28px;
    padding: clamp(24px, 5vw, 52px);
    background:
        linear-gradient(145deg, #ffffff 0%, #f7f9ff 62%, #eef5ff 100%);
}

.onboarding-hero-panel::after {
    content: "";
    position: absolute;
    right: -90px;
    bottom: -120px;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: #e6f6ef;
}

.onboarding-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    width: fit-content;
    color: #111827;
}

.onboarding-brand span {
    display: grid;
    gap: 2px;
}

.onboarding-brand strong {
    font-weight: 900;
}

.onboarding-brand small,
.onboarding-card-stack small {
    color: #6b7280;
    font-weight: 760;
}

.onboarding-hero-copy {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.onboarding-hero-copy > span,
.onboarding-step-head > span {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 12px;
    padding: 7px 11px;
    border: 1px solid rgba(47, 79, 255, 0.14);
    border-radius: 999px;
    background: #eef2ff;
    color: #263fd6;
    font-size: 0.72rem;
    font-weight: 900;
    text-transform: uppercase;
}

.onboarding-hero-copy h1,
.onboarding-step-head h2 {
    margin: 0;
    color: #07111f;
    font-family: "Space Grotesk", "Manrope", system-ui, sans-serif;
    font-weight: 760;
    letter-spacing: 0;
}

.onboarding-hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.45rem, 5.8vw, 5.1rem);
    line-height: 0.98;
}

.onboarding-hero-copy p,
.onboarding-step-head p {
    margin: 16px 0 0;
    color: #4b5563;
    line-height: 1.75;
}

.onboarding-hero-copy p {
    max-width: 680px;
    font-size: clamp(1rem, 1.6vw, 1.13rem);
}

.onboarding-illustration {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(210px, 330px) minmax(210px, 280px);
    align-items: end;
    gap: 18px;
    min-height: 310px;
}

.onboarding-building {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    min-height: 260px;
    padding: 24px;
    border: 1px solid #dbe3ef;
    border-radius: 28px;
    background: #07111f;
    box-shadow: 0 24px 58px rgba(7, 17, 31, 0.22);
}

.onboarding-building span {
    border-radius: 14px;
    background: linear-gradient(180deg, #f9fafb, #dbeafe);
}

.onboarding-building span:nth-child(2),
.onboarding-building span:nth-child(5) {
    background: linear-gradient(180deg, #f6dca9, #b98b3d);
}

.onboarding-card-stack,
.onboarding-feature-list,
.onboarding-input-grid,
.buyer-type-grid {
    display: grid;
    gap: 12px;
}

.onboarding-card-stack article,
.onboarding-feature-list article {
    display: flex;
    align-items: center;
    gap: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

.onboarding-card-stack article {
    display: grid;
    gap: 4px;
    padding: 16px;
}

.onboarding-card-stack i {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 14px;
    background: #eef2ff;
    color: #2f4fff;
    font-size: 1.15rem;
}

.onboarding-card-stack strong {
    color: #111827;
    font-weight: 900;
}

.onboarding-trust-strip {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.onboarding-trust-strip span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    border: 1px solid #e5e7eb;
    border-radius: 999px;
    background: #ffffff;
    color: #4b5563;
    font-size: 0.86rem;
    font-weight: 850;
}

.onboarding-flow-card {
    align-self: center;
    padding: clamp(22px, 3vw, 34px);
}

.onboarding-progress {
    margin-bottom: 22px;
}

.onboarding-progress > div:first-child {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: #4b5563;
    font-size: 0.82rem;
    font-weight: 850;
}

.onboarding-progress strong {
    color: #111827;
}

.onboarding-progress-track {
    height: 9px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.onboarding-progress-track span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #b98b3d, #2f4fff);
    transition: width 240ms ease;
}

.onboarding-step {
    display: none;
    animation: onboardingFade 220ms ease both;
}

.onboarding-step.is-active {
    display: block;
}

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

.onboarding-step-head {
    margin-bottom: 22px;
}

.onboarding-step-head.center {
    text-align: center;
}

.onboarding-step-head.center span {
    margin-inline: auto;
}

.onboarding-step-head h2 {
    font-size: clamp(1.8rem, 4vw, 2.65rem);
    line-height: 1.05;
}

.onboarding-feature-list {
    margin-bottom: 22px;
}

.onboarding-feature-list article {
    padding: 14px;
    color: #111827;
    font-weight: 820;
}

.onboarding-feature-list i {
    color: #0b7a61;
    font-size: 1.12rem;
}

.onboarding-form label {
    display: grid;
    gap: 8px;
    color: #374151;
    font-size: 0.84rem;
    font-weight: 850;
}

.onboarding-form input,
.otp-inputs input {
    width: 100%;
    border: 1px solid #dbe1ea;
    background: #ffffff;
    color: #111827;
    outline: none;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

.onboarding-form input {
    min-height: 50px;
    padding: 12px 14px;
    border-radius: 14px;
}

.onboarding-form input:focus,
.otp-inputs input:focus {
    border-color: #2f4fff;
    box-shadow: 0 0 0 4px rgba(47, 79, 255, 0.12);
}

.password-strength-hint,
.otp-message {
    margin: 12px 0 18px;
    color: #6b7280;
    font-size: 0.86rem;
    font-weight: 760;
}

.password-strength-hint.is-strong {
    color: #0b7a61;
}

.onboarding-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.onboarding-actions .btn {
    flex: 1 1 190px;
}

.onboarding-actions.split .btn {
    flex-basis: 0;
}

.onboarding-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    border: 0;
    background: transparent;
    color: #4b5563;
    font-weight: 850;
}

.otp-panel {
    padding: 18px;
    border: 1px solid #e5e7eb;
    border-radius: 22px;
    background: #f8fafc;
}

.otp-inputs {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 8px;
}

.otp-inputs input {
    aspect-ratio: 1;
    border-radius: 16px;
    text-align: center;
    font-size: clamp(1.35rem, 5vw, 1.8rem);
    font-weight: 900;
}

.buyer-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 20px;
}

.buyer-type-option {
    position: relative;
}

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

.buyer-type-option span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 58px;
    padding: 14px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    color: #111827;
    font-weight: 850;
    cursor: pointer;
    transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.buyer-type-option i {
    color: #2f4fff;
    font-size: 1.12rem;
}

.buyer-type-option input:checked + span {
    border-color: #2f4fff;
    box-shadow: 0 0 0 4px rgba(47, 79, 255, 0.1);
    transform: translateY(-1px);
}

.onboarding-success-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 18px;
    border-radius: 24px;
    background: #ecfdf5;
    color: #0b7a61;
    font-size: 2.1rem;
}

.onboarding-alert {
    border-radius: 16px;
}

@media (max-width: 1080px) {
    .crowdfunding-onboarding {
        grid-template-columns: 1fr;
    }

    .onboarding-flow-card {
        align-self: stretch;
    }
}

@media (max-width: 640px) {
    .crowdfunding-onboarding {
        padding: 12px;
    }

    .onboarding-hero-panel,
    .onboarding-flow-card {
        border-radius: 22px;
        padding: 20px;
    }

    .onboarding-illustration {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .onboarding-building {
        min-height: 190px;
    }

    .buyer-type-grid {
        grid-template-columns: 1fr;
    }

    .onboarding-actions,
    .onboarding-actions.split {
        display: grid;
    }

    .onboarding-actions .btn {
        width: 100%;
    }
}
