/* ============================================================
   JHB DESIGN TOKENS
   Single source of truth for the Joe Homebuyer visual system.
   Edit colors here, in tailwind-config.js, and in
   franchise.config.json (build-script driven) to keep all three
   in sync. CSS custom properties are referenced throughout
   public-ui.css and can be used inline anywhere on the site.
   ============================================================ */
:root {
    /* Brand colors */
    --brand-navy: #1e3a5f;
    --brand-navy-deep: #142741;
    --brand-navy-soft: #2a5078;
    --brand-red: #b62c38;
    --brand-red-deep: #9a2430;
    --brand-red-soft: #c83545;
    --brand-paper: #f8fafc;

    /* Surface tokens (for cards / panels / nav) */
    --surface-0: #ffffff;
    --surface-1: #fafbfd;
    --surface-2: #f4f6fb;
    --surface-3: #eef1f7;

    /* Ink (text) tokens */
    --ink-strong: #0f172a;
    --ink-body: #334155;
    --ink-muted: #64748b;
    --ink-faint: #94a3b8;

    /* Border tokens */
    --line-strong: rgba(148, 163, 184, 0.55);
    --line: rgba(148, 163, 184, 0.32);
    --line-soft: rgba(148, 163, 184, 0.18);

    /* Radius scale */
    --radius-xs: 6px;
    --radius-sm: 10px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-2xl: 28px;

    /* Shadow scale (cards / hovers / heros) */
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 14px -8px rgba(15, 23, 42, 0.08);
    --shadow-md: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 28px -10px rgba(15, 23, 42, 0.12);
    --shadow-lg: 0 1px 2px rgba(15, 23, 42, 0.04), 0 22px 44px -14px rgba(15, 23, 42, 0.16);
    --shadow-hover: 0 1px 2px rgba(15, 23, 42, 0.04), 0 28px 52px -14px rgba(15, 23, 42, 0.18);

    /* Brand-tinted shadows for primary/secondary buttons */
    --shadow-red: 0 1px 0 rgba(255, 255, 255, 0.18) inset, 0 14px 28px -8px rgba(182, 44, 56, 0.45);
    --shadow-navy: 0 1px 0 rgba(255, 255, 255, 0.16) inset, 0 14px 28px -8px rgba(30, 58, 95, 0.45);

    /* Motion */
    --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
    --transition-fast: 140ms var(--ease-out);
    --transition-base: 220ms var(--ease-out);

    /* Legacy public-* tokens kept for back-compat with existing rules below */
    --public-bg-top: #f8fbff;
    --public-bg-bottom: #edf3ff;
    --public-ink: var(--ink-strong);
    --public-muted: var(--ink-body);
    --public-line: var(--line);
    --public-glass: rgba(255, 255, 255, 0.82);
    --public-glass-strong: rgba(255, 255, 255, 0.92);
    --public-shadow: var(--shadow-lg);
    --public-shadow-soft: var(--shadow-md);
    --public-nav-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    --public-hero-shadow: 0 34px 70px rgba(15, 23, 42, 0.15);
    --public-radius-xl: 2rem;
    --public-radius-lg: 1.4rem;
    --public-floating-inset-x: clamp(0.95rem, 1.35vw, 1.35rem);
    --public-floating-inset-y: clamp(0.95rem, 1.35vw, 1.2rem);
}

/* ============================================================
   JHB UTILITY CLASSES — opt-in, theme-cohesive primitives.
   New components should use these; older components still work
   via legacy tokens above.
   ============================================================ */

/* Eyebrow label — small uppercase tracker above headlines */
.jhb-eyebrow {
    display: inline-block;
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--brand-red);
}

/* Display headline — Outfit, tight tracking, strong weight */
.jhb-display {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 800;
    color: var(--brand-navy);
    letter-spacing: -0.024em;
    line-height: 1.08;
}

/* Card primitive — unified surface for all cards across the site */
.jhb-card {
    background: var(--surface-0);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
.jhb-card-hover:hover,
.jhb-card.is-interactive:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
    border-color: var(--line);
}

/* Top accent stripe (red→navy) for hero cards */
.jhb-accent-bar::before {
    content: '';
    display: block;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--brand-red), var(--brand-navy));
}

/* Focus ring — applied automatically to interactive elements */
:where(button, a, input, textarea, select, [tabindex]):focus-visible {
    outline: 2px solid var(--brand-navy);
    outline-offset: 2px;
    border-radius: 4px;
}

body.public-body {
    color: var(--public-ink);
    background:
        radial-gradient(circle at top left, rgba(96, 165, 250, 0.12), transparent 24%),
        radial-gradient(circle at top right, rgba(182, 44, 56, 0.1), transparent 22%),
        linear-gradient(180deg, var(--public-bg-top) 0%, var(--public-bg-bottom) 100%);
}

body.public-body nav.site-nav {
    background: rgba(255, 255, 255, 0.76);
    border-bottom: 1px solid rgba(226, 232, 240, 0.72);
    box-shadow: var(--public-nav-shadow);
    backdrop-filter: blur(18px);
}

body.public-body .site-brand {
    gap: 0.78rem;
    text-decoration: none;
}

body.public-body .site-logo-badge {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    width: 2.72rem;
    height: 2.72rem;
    border-radius: 1.08rem;
    background: linear-gradient(160deg, #0c2740 0%, #13426b 64%, #2a5e8b 100%);
    box-shadow: 0 16px 28px rgba(34, 56, 94, 0.18);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

body.public-body .site-brand:hover .site-logo-badge {
    transform: translateY(-1px);
    box-shadow: 0 20px 32px rgba(34, 56, 94, 0.22);
}

body.public-body .site-logo-badge::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    border: 1px solid rgba(255, 255, 255, 0.14);
}

body.public-body .site-logo-badge::after {
    content: '';
    position: absolute;
    inset: -12px auto auto -10px;
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.08) 48%, transparent 74%);
}

body.public-body .site-logo-house {
    position: relative;
    z-index: 1;
    width: 1.34rem;
    height: 1.34rem;
    color: #fff;
}

body.public-body .site-wordmark {
    color: #13426b;
    font-size: clamp(1.58rem, 1.22rem + 0.78vw, 1.88rem);
    font-family: "Outfit", "Inter", "Segoe UI", Arial, sans-serif;
    font-weight: 700;
    letter-spacing: -0.05em;
    line-height: 1;
    text-rendering: optimizeLegibility;
}

body.public-body .site-nav-link {
    position: relative;
    color: #475569;
    transition: color 160ms ease, transform 160ms ease;
}

body.public-body .site-nav-link:hover {
    color: #0f172a;
    transform: translateY(-1px);
}

body.public-body .site-nav-link-active {
    color: #10243f;
}

body.public-body .site-nav-link-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.5rem;
    height: 2px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #1e3a5f, #b62c38);
}

body.public-body .site-mobile-panel {
    background: rgba(255, 255, 255, 0.9);
    border-top: 1px solid rgba(226, 232, 240, 0.82);
    box-shadow: 0 18px 42px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

body.public-body .site-mobile-link {
    border-radius: 0.95rem;
    transition: background-color 160ms ease, color 160ms ease;
}

body.public-body .site-mobile-link:hover {
    background: rgba(241, 245, 249, 0.92);
}

body.public-body .site-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.26), transparent 24%),
        linear-gradient(180deg, rgba(255,255,255,0.68) 0%, rgba(255,255,255,0.38) 100%);
}

body.public-body .site-hero::before {
    content: '';
    position: absolute;
    inset: 5rem auto auto -5rem;
    width: 15rem;
    height: 15rem;
    border-radius: 9999px;
    background: rgba(30, 58, 95, 0.08);
    filter: blur(6px);
}

body.public-body .site-hero::after {
    content: '';
    position: absolute;
    right: -4rem;
    bottom: -5rem;
    width: 17rem;
    height: 17rem;
    border-radius: 9999px;
    background: rgba(182, 44, 56, 0.12);
    filter: blur(10px);
}

body.public-body .hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.08) 1px, transparent 0);
    background-size: 36px 36px;
}

body.public-body .site-header-logo {
    height: 44px;
    width: auto;
    max-width: 180px;
    display: block;
}
@media (min-width: 768px) {
    body.public-body .site-header-logo {
        height: 48px;
    }
}

body.public-body .site-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255, 255, 255, 0.72);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

body.public-body .site-hero-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--public-radius-xl);
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: var(--public-hero-shadow);
}

body.public-body .site-hero-card::before {
    content: '';
    position: absolute;
    inset: auto auto -2rem -2rem;
    width: 9rem;
    height: 9rem;
    border-radius: 9999px;
    background: rgba(255,255,255,0.18);
    z-index: 0;
}

body.public-body .site-hero-stat {
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255,255,255,0.82);
    box-shadow: 0 22px 42px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(14px);
}

body.public-body .btn-primary,
body.public-body .btn-secondary,
body.public-body .site-button-primary,
body.public-body .site-button-secondary {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.15);
    letter-spacing: 0.01em;
    transition: transform var(--transition-base), box-shadow var(--transition-base), filter var(--transition-fast);
}

body.public-body .btn-primary,
body.public-body .site-button-primary {
    background: linear-gradient(160deg, var(--brand-red-soft) 0%, var(--brand-red) 40%, var(--brand-red-deep) 100%);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
    box-shadow: var(--shadow-red);
}

body.public-body .btn-secondary,
body.public-body .site-button-secondary {
    background: linear-gradient(160deg, var(--brand-navy-soft) 0%, var(--brand-navy) 40%, var(--brand-navy-deep) 100%);
    text-shadow: 0 1px 2px rgba(0,0,0,0.18);
    box-shadow: var(--shadow-navy);
}

body.public-body .btn-primary:hover,
body.public-body .btn-secondary:hover,
body.public-body .site-button-primary:hover,
body.public-body .site-button-secondary:hover {
    transform: translateY(-2px);
    filter: brightness(1.05);
}

body.public-body .btn-primary:active,
body.public-body .btn-secondary:active,
body.public-body .site-button-primary:active,
body.public-body .site-button-secondary:active {
    transform: translateY(0);
    filter: brightness(0.98);
}

body.public-body .btn-primary::before,
body.public-body .btn-secondary::before,
body.public-body .site-button-primary::before,
body.public-body .site-button-secondary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 50%, rgba(0,0,0,0.06) 100%);
    pointer-events: none;
}

body.public-body .card-hover,
body.public-body .deal-card,
body.public-body .public-card-hover {
    border: 1px solid rgba(255,255,255,0.74);
    box-shadow: var(--public-shadow-soft);
}

body.public-body .card-hover,
body.public-body .public-card-hover {
    background: linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.82));
}

body.public-body .card-hover:hover,
body.public-body .deal-card:hover,
body.public-body .public-card-hover:hover {
    transform: translateY(-5px);
    box-shadow: var(--public-shadow);
}

body.public-body .deal-card {
    background: var(--surface-0);
    border: 1px solid var(--line-soft);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}
body.public-body .deal-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: var(--line);
}

body.public-body .deal-card .property-image {
    transform: scale(1.01);
    transition: transform 220ms ease, filter 220ms ease;
    filter: saturate(1.02) contrast(1.02);
}

body.public-body .deal-card:hover .property-image {
    transform: scale(1.04);
    filter: saturate(1.06) contrast(1.04);
}

body.public-body .deal-card .status-badge {
    border: 1px solid rgba(255,255,255,0.22);
    box-shadow: 0 14px 26px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(10px);
}

body.public-body .deal-card .grid.grid-cols-3 > div {
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.88));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

body.public-body .deal-type-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: #13426b;
    color: #fff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    box-shadow: 0 10px 20px rgba(19, 66, 107, 0.18);
}

body.public-body .deal-address-lock {
    display: block;
    margin-top: 0.75rem;
}

body.public-body .deal-address-lock-detail {
    margin-top: 0;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    width: fit-content;
    max-width: 100%;
}

body.public-body .deal-address-line {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.55rem;
    line-height: 1.45;
}

body.public-body .deal-street-wrap {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.32rem;
    min-height: 1.4rem;
    min-width: 0;
}

body.public-body .deal-street-number,
body.public-body .deal-street-name {
    display: inline-flex;
    align-items: center;
}

body.public-body .deal-street-number {
    white-space: nowrap;
    color: #334155;
}

body.public-body .street-blur {
    filter: blur(4px);
    opacity: 0.95;
    user-select: none;
    pointer-events: none;
    transition: filter 220ms ease, color 220ms ease;
}

body.public-body .street-blur.unlocked,
body.public-body .deal-address-lock.is-unlocked .street-blur {
    filter: none;
    user-select: text;
    pointer-events: auto;
}

body.public-body .deal-address-inline-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    border-radius: 8px;
    border: 1px solid rgba(182, 44, 56, 0.18);
    background: linear-gradient(135deg, rgba(182, 44, 56, 0.14), rgba(255, 255, 255, 0.96));
    padding: 0.38rem 0.78rem;
    font-size: 0.71rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #b62c38;
    box-shadow: 0 12px 24px rgba(182, 44, 56, 0.12);
    cursor: pointer;
}

body.public-body .deal-address-lock.is-unlocked .deal-address-inline-badge {
    display: none;
}

body.public-body .deal-locality {
    color: #475569;
    font-weight: 600;
    white-space: nowrap;
}

body.public-body .deal-address-meta {
    margin-top: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    padding: 0.9rem 1rem;
    border-radius: 1.15rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: linear-gradient(180deg, rgba(248,250,252,0.95), rgba(255,255,255,0.92));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.72);
}

body.public-body .deal-address-note {
    flex: 1 1 18rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #64748b;
}

body.public-body .deal-address-actions {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
}

body.public-body .deal-address-chip,
body.public-body .buyer-secondary-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    border-radius: 10px;
    border: 1px solid rgba(30, 58, 95, 0.16);
    background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(241,245,249,0.92));
    padding: 0.88rem 1.2rem;
    font-size: 0.88rem;
    font-weight: 800;
    color: #1e3a5f;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.1);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, background-color 160ms ease;
    cursor: pointer;
}

body.public-body .deal-address-chip:hover,
body.public-body .buyer-secondary-cta:hover {
    transform: translateY(-1px);
    border-color: rgba(182, 44, 56, 0.2);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.14);
}

body.public-body .deal-address-lock.is-unlocked .deal-address-chip {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.18);
    color: #166534;
}

body.public-body .deal-address-lock-compact {
    margin-top: 0;
}

body.public-body .deal-address-lock-compact .deal-address-line {
    gap: 0.4rem;
}

body.public-body .deal-address-lock-compact .deal-locality {
    font-weight: 500;
    white-space: normal;
}

body.public-body .deal-location-lock-shell {
    background: linear-gradient(180deg, rgba(226, 232, 240, 0.22), rgba(255,255,255,0.12));
}

/* Locked-map backdrop — was a CSS-gradient illusion. Now the JS embeds
   a real Google Maps iframe at city-level zoom (no street address) and
   we hard-blur it here so the map reads as authentic Google Maps tiles
   without ever revealing the property location. The .deal-location-lock-map
   selector is kept as a fallback for any caller that hasn't migrated. */
body.public-body .deal-location-lock-iframe {
    border: 0;
    pointer-events: none;
    /* Oversize the iframe + translate it back so the soft blur edges fall
       outside the visible frame — no gray fringe around the blurred tiles. */
    width: calc(100% + 80px);
    height: calc(100% + 80px);
    transform: translate(-40px, -40px);
    filter: blur(8px) saturate(1.18) contrast(1.04);
    -webkit-filter: blur(8px) saturate(1.18) contrast(1.04);
    will-change: transform;
}

body.public-body .deal-location-lock-map {
    background:
        radial-gradient(circle at 30% 25%, rgba(196, 219, 233, 0.6), transparent 55%),
        radial-gradient(circle at 75% 70%, rgba(208, 226, 200, 0.5), transparent 55%),
        linear-gradient(135deg, rgba(232, 240, 245, 0.95), rgba(238, 243, 234, 0.95));
}

body.public-body .deal-location-lock-overlay {
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.04), rgba(255,255,255,0.14) 70%, rgba(255,255,255,0.24) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.08), rgba(248,250,252,0.18));
    backdrop-filter: blur(2px) saturate(1.05);
    -webkit-backdrop-filter: blur(2px) saturate(1.05);
    pointer-events: none;
}

body.public-body .deal-location-lock-content {
    min-height: 100%;
}

body.public-body .deal-location-lock-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 1rem;
    border: 1px solid rgba(30, 58, 95, 0.12);
    background: rgba(255,255,255,0.78);
    color: #1e3a5f;
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
}

body.public-body .deal-location-lock-card {
    width: min(100%, 34rem);
    border-radius: 1.4rem;
    border: 1px solid rgba(255,255,255,0.78);
    background:
        radial-gradient(circle at top right, rgba(125, 211, 252, 0.10), transparent 50%),
        linear-gradient(180deg, rgba(255,255,255,0.92) 0%, rgba(248,250,252,0.86) 100%);
    box-shadow:
        0 24px 50px rgba(15, 23, 42, 0.16),
        inset 0 1px 0 rgba(255,255,255,0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 1rem;
}

body.public-body .deal-location-lock-card .deal-address-meta {
    justify-content: center;
    text-align: center;
    background: rgba(255,255,255,0.62);
}

body.public-body .deal-location-lock-card .deal-address-note {
    flex-basis: 100%;
}

body.public-body .deal-location-lock-card .deal-address-actions {
    width: 100%;
    justify-content: center;
}

/* Unlock CTA chip — premium navy gradient (matches View Full Address /
   View All Photos / RSVP / Visit Site CTA family). Adds a sky map-pin
   icon via ::before and a shimmer sweep on hover. */
body.public-body .deal-location-lock-card .deal-address-chip {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    min-width: 14rem;
    padding: 0.75rem 1.25rem;
    border-radius: 1rem;
    border: 1px solid rgba(125, 211, 252, 0.32) !important;
    background: linear-gradient(135deg, #0e2746 0%, #13426b 50%, #1a4f7b 100%) !important;
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.01em;
    box-shadow:
        0 16px 32px rgba(8, 15, 28, 0.28),
        0 0 0 1px rgba(255,255,255,0.06) inset,
        inset 0 1px 0 rgba(255,255,255,0.16) !important;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

body.public-body .deal-location-lock-card .deal-address-chip::before {
    content: '';
    width: 1.05rem;
    height: 1.05rem;
    margin-right: 0.55rem;
    background-color: #7dd3fc;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/><circle cx='12' cy='10' r='3'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0'/><circle cx='12' cy='10' r='3'/></svg>") center/contain no-repeat;
    flex-shrink: 0;
    z-index: 1;
}

body.public-body .deal-location-lock-card .deal-address-chip::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(125, 211, 252, 0.20) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
    z-index: 0;
}

body.public-body .deal-location-lock-card .deal-address-chip [data-address-chip-label] {
    position: relative;
    z-index: 1;
}

body.public-body .deal-location-lock-card .deal-address-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(125, 211, 252, 0.65) !important;
    background: linear-gradient(135deg, #07192e 0%, #0e2746 50%, #13426b 100%) !important;
    box-shadow:
        0 24px 44px rgba(8, 15, 28, 0.40),
        0 0 0 1px rgba(125, 211, 252, 0.22) inset,
        inset 0 1px 0 rgba(255,255,255,0.20) !important;
}

body.public-body .deal-location-lock-card .deal-address-chip:hover::after {
    transform: translateX(100%);
}

body.public-body .deal-address-lock-detail .deal-address-line {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: fit-content;
    max-width: 100%;
    font-size: 1.18rem;
    line-height: 1.35;
    text-align: center;
}

body.public-body .deal-address-lock-detail .deal-address-inline-badge {
    order: 3;
    margin-top: 0;
    padding: 0.3rem 0.72rem;
    font-size: 0.68rem;
    line-height: 1;
}

body.public-body .deal-address-lock-detail .deal-address-meta {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    gap: 0.7rem;
    justify-content: center;
    text-align: center;
}

body.public-body .deal-address-lock-detail .deal-street-wrap,
body.public-body .deal-address-lock-detail .deal-locality {
    font-size: 1.18rem;
}

body.public-body .deal-address-lock-detail .deal-address-note {
    max-width: 44rem;
    flex-basis: 100%;
    text-align: center;
}

body.public-body .deal-address-lock-detail .deal-address-actions {
    justify-content: center;
}

body.public-body .deal-address-lock-detail .deal-address-chip {
    padding: 0.8rem 1.1rem;
}

body.public-body .buyer-unlock-point {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

body.public-body .buyer-unlock-point-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.9);
    color: #1e3a5f;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

body.public-body .buyer-identity-dock {
    position: fixed;
    top: 5.9rem;
    right: 1rem;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.9);
    padding: 0.72rem 0.9rem;
    box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(18px);
}

body.public-body .buyer-identity-dock.hidden,
body.public-body .buyer-stay-connected.hidden,
body.public-body .buyer-stay-bubble.hidden,
body.public-body .buyer-profile-bubble.hidden {
    display: none !important;
}

body.public-body .buyer-identity-dock,
body.public-body .buyer-stay-connected,
body.public-body .buyer-stay-bubble,
body.public-body .buyer-profile-bubble,
body.public-body .public-chat-launcher {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
    transition:
        opacity 180ms ease,
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 160ms ease,
        border-color 160ms ease;
    will-change: transform, opacity;
}

body.public-body .buyer-floating-enter,
body.public-body .buyer-floating-exit {
    opacity: 0;
    transform: translate3d(0, 16px, 0) scale(0.96);
    pointer-events: none;
}

body.public-body .buyer-identity-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #10243f 0%, #1e3a5f 100%);
    color: #fff;
    box-shadow: 0 14px 24px rgba(30, 58, 95, 0.24);
}

body.public-body .buyer-identity-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

body.public-body .buyer-identity-greeting {
    font-size: 0.92rem;
    font-weight: 800;
    color: #0f172a;
}

body.public-body .buyer-identity-email {
    font-size: 0.74rem;
    color: #64748b;
}

body.public-body .buyer-identity-dismiss {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(241, 245, 249, 0.92);
    color: #64748b;
    flex-shrink: 0;
    transition: background-color 160ms ease, color 160ms ease;
}

body.public-body .buyer-identity-dismiss:hover {
    background: rgba(226, 232, 240, 0.96);
    color: #334155;
}

body.public-body .buyer-stay-connected {
    position: fixed;
    left: var(--public-floating-inset-x);
    right: auto;
    bottom: var(--public-floating-inset-y);
    z-index: 45;
    width: min(100%, 22rem);
    border-radius: 1.6rem;
    border: 1px solid rgba(255, 255, 255, 0.78);
    background: rgba(255, 255, 255, 0.94);
    padding: 1.1rem 1.1rem 1rem;
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.15);
    backdrop-filter: blur(18px);
}

body.public-body .buyer-stay-dismiss {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(241, 245, 249, 0.94);
    color: #64748b;
}

body.public-body .buyer-stay-bubble {
    position: fixed;
    left: var(--public-floating-inset-x);
    right: auto;
    bottom: var(--public-floating-inset-y);
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.82rem 0.98rem 0.82rem 0.9rem;
    min-height: 3.4rem;
    max-width: min(18rem, calc(50vw - var(--public-floating-inset-x) - 0.4rem));
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

body.public-body .buyer-stay-bubble:hover {
    transform: translateY(-2px);
    border-color: rgba(182, 44, 56, 0.2);
    box-shadow: 0 28px 46px rgba(15, 23, 42, 0.16);
}

body.public-body .buyer-stay-bubble-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #b62c38 0%, #d23d4a 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(182, 44, 56, 0.2);
    flex-shrink: 0;
}

body.public-body .buyer-stay-bubble-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-width: 0;
}

body.public-body .buyer-stay-bubble-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.15;
}

body.public-body .buyer-stay-bubble-subtitle {
    font-size: 0.72rem;
    color: #64748b;
    min-height: 0;
}

body.public-body .buyer-stay-bubble-subtitle:empty {
    display: none;
}

body.public-body .public-chat-assistant {
    --public-chat-panel-bottom: 5.65rem;
    --public-chat-inset-x: var(--public-floating-inset-x);
}

body.public-body .public-chat-panel,
body.public-body .public-chat-launcher {
    position: fixed;
    left: auto;
    right: var(--public-chat-inset-x);
    z-index: 47;
}

body.public-body .public-chat-panel.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate3d(18px, 18px, 0) scale(0.98);
}

body.public-body .public-chat-panel {
    bottom: var(--public-chat-panel-bottom);
    width: min(100%, 24rem);
    max-height: min(70vh, 40rem);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1.7rem;
    border: 1px solid rgba(255, 255, 255, 0.86);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.95));
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(20px);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translate3d(0, 0, 0) scale(1);
    transform-origin: right bottom;
    transition:
        opacity 170ms ease,
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear;
    will-change: transform, opacity;
    isolation: isolate;
    overscroll-behavior: contain;
}

body.public-body .public-chat-panel::before {
    content: "";
    position: absolute;
    right: 1rem;
    bottom: 0.9rem;
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 9999px;
    background:
        radial-gradient(circle at 50% 55%, rgba(255, 255, 255, 0.42) 0%, rgba(191, 219, 254, 0.18) 34%, rgba(255, 255, 255, 0) 72%);
    opacity: 0;
    transform: translate3d(1.1rem, 1.25rem, 0) scale(0.42);
    pointer-events: none;
    filter: blur(4px);
    z-index: 0;
}

body.public-body .public-chat-panel > * {
    position: relative;
    z-index: 1;
}

body.public-body .public-chat-panel.public-chat-panel-opening::before {
    animation: public-chat-genie-plume 560ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.public-body .public-chat-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.85rem;
    flex-shrink: 0;
    padding: 1rem 1rem 0.85rem;
    border-bottom: 1px solid rgba(226, 232, 240, 0.86);
    background: linear-gradient(135deg, rgba(16, 36, 63, 0.04), rgba(182, 44, 56, 0.05));
}

@keyframes public-chat-genie-plume {
    0% {
        opacity: 0;
        transform: translate3d(1.15rem, 1.45rem, 0) scale(0.38);
    }
    24% {
        opacity: 0.38;
        transform: translate3d(0.45rem, 0.55rem, 0) scale(0.72);
    }
    62% {
        opacity: 0.2;
        transform: translate3d(-0.4rem, -0.8rem, 0) scale(1.02);
    }
    100% {
        opacity: 0;
        transform: translate3d(-0.9rem, -1.7rem, 0) scale(1.18);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.public-body .public-chat-panel,
    body.public-body .public-chat-launcher {
        transition: none;
    }

    body.public-body .public-chat-panel.public-chat-panel-opening::before {
        animation: none;
    }
}

body.public-body .public-chat-panel-eyebrow {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #b62c38;
}

body.public-body .public-chat-panel-title {
    margin-top: 0.35rem;
    font-size: 1.05rem;
    font-weight: 800;
    color: #10243f;
}

body.public-body .public-chat-panel-copy {
    margin-top: 0.35rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: #64748b;
    max-width: 17.5rem;
}

body.public-body .public-chat-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(241, 245, 249, 0.92);
    color: #64748b;
    flex-shrink: 0;
}

body.public-body .public-chat-close:hover {
    background: rgba(226, 232, 240, 0.95);
    color: #334155;
}

body.public-body .public-chat-message-stream {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    min-height: 0;
    max-height: 20.5rem;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}

body.public-body .public-chat-message {
    display: flex;
}

body.public-body .public-chat-message-assistant {
    justify-content: flex-start;
}

body.public-body .public-chat-message-user {
    justify-content: flex-end;
}

body.public-body .public-chat-bubble {
    max-width: 92%;
    border-radius: 1.2rem;
    padding: 0.82rem 0.9rem;
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
}

body.public-body .public-chat-message-assistant .public-chat-bubble {
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.98);
}

body.public-body .public-chat-message-user .public-chat-bubble {
    border: 1px solid rgba(30, 58, 95, 0.12);
    background: linear-gradient(135deg, rgba(16, 36, 63, 0.08), rgba(53, 95, 140, 0.08));
}

body.public-body .public-chat-message-label {
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #94a3b8;
}

body.public-body .public-chat-message-copy {
    margin-top: 0.35rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: #1e293b;
    white-space: pre-wrap;
    word-break: break-word;
}

body.public-body .public-chat-message-time {
    margin-top: 0.38rem;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #94a3b8;
}

body.public-body .public-chat-message-typing .public-chat-bubble {
    min-width: 4.25rem;
}

body.public-body .public-chat-typing-dots {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    margin-top: 0.35rem;
    min-height: 1.1rem;
}

body.public-body .public-chat-typing-dots span {
    width: 0.48rem;
    height: 0.48rem;
    border-radius: 9999px;
    background: rgba(100, 116, 139, 0.78);
    animation: public-chat-typing-bounce 1.05s infinite ease-in-out;
}

body.public-body .public-chat-typing-dots span:nth-child(2) {
    animation-delay: 0.14s;
}

body.public-body .public-chat-typing-dots span:nth-child(3) {
    animation-delay: 0.28s;
}

@keyframes public-chat-typing-bounce {
    0%, 80%, 100% {
        opacity: 0.4;
        transform: translateY(0) scale(0.94);
    }
    40% {
        opacity: 1;
        transform: translateY(-2px) scale(1);
    }
}

body.public-body .public-chat-actions,
body.public-body .public-chat-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

body.public-body .public-chat-actions {
    margin-top: 0.7rem;
}

body.public-body .public-chat-quick-actions {
    padding: 0 1rem 0.95rem;
    flex-shrink: 0;
}

body.public-body .public-chat-action-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.35rem;
    border-radius: 10px;
    border: 1px solid rgba(203, 213, 225, 0.92);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.62rem 0.88rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: #1e3a5f;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.06);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

body.public-body .public-chat-action-chip:hover {
    transform: translateY(-1px);
    border-color: rgba(30, 58, 95, 0.18);
    box-shadow: 0 14px 22px rgba(15, 23, 42, 0.09);
}

body.public-body .public-chat-action-chip-accent {
    color: #b62c38;
    border-color: rgba(182, 44, 56, 0.16);
}

body.public-body .public-chat-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.75rem;
    padding: 0 1rem 1rem;
    align-items: end;
    flex-shrink: 0;
}

body.public-body .public-chat-input {
    width: 100%;
    border-radius: 1rem;
    border: 1px solid rgba(203, 213, 225, 0.94);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.85rem 0.95rem;
    font-size: 0.88rem;
    color: #0f172a;
    outline: none;
    min-height: 3rem;
    max-height: 8rem;
    resize: none;
    overflow-y: auto;
    line-height: 1.45;
    transition: border-color 160ms ease, box-shadow 160ms ease;
}

body.public-body .public-chat-input:focus {
    border-color: rgba(30, 58, 95, 0.4);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.08);
}

body.public-body .public-chat-send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    font-size: 0.82rem;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #10243f 0%, #1e3a5f 52%, #355f8c 100%);
    box-shadow: 0 18px 30px rgba(30, 58, 95, 0.2);
}

body.public-body .public-chat-send:hover {
    transform: translateY(-1px);
}

body.public-body .public-chat-send:disabled,
body.public-body .public-chat-input:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

body.public-body .public-chat-launcher {
    bottom: var(--public-floating-inset-y);
    position: fixed;
    left: auto;
    right: var(--public-chat-inset-x);
    display: inline-flex;
    align-items: center;
    gap: 0.72rem;
    min-height: 3.4rem;
    max-width: min(18rem, calc(50vw - var(--public-chat-inset-x) - 0.25rem));
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.84);
    background: rgba(255, 255, 255, 0.96);
    padding: 0.82rem 1rem 0.82rem 0.92rem;
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

body.public-body .public-chat-launcher-status {
    position: absolute;
    top: 0.52rem;
    left: 0.62rem;
    width: 0.7rem;
    height: 0.7rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    box-shadow:
        0 0 0 3px rgba(255, 255, 255, 0.96),
        0 0 0 6px rgba(34, 197, 94, 0.12),
        0 10px 18px rgba(22, 163, 74, 0.24);
}

body.public-body .public-chat-launcher:hover,
body.public-body .public-chat-launcher-active {
    transform: translateY(-2px);
    border-color: rgba(30, 58, 95, 0.18);
    box-shadow: 0 28px 46px rgba(15, 23, 42, 0.17);
}

body.public-body .public-chat-launcher-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.3rem;
    height: 2.3rem;
    border-radius: 9999px;
    flex-shrink: 0;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #fff;
    background: linear-gradient(135deg, #10243f 0%, #1e3a5f 48%, #355f8c 100%);
    box-shadow: 0 12px 24px rgba(30, 58, 95, 0.22);
}

body.public-body .public-chat-launcher-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
    text-align: left;
}

body.public-body .public-chat-launcher-label {
    font-size: 0.84rem;
    font-weight: 800;
    line-height: 1.15;
    color: #0f172a;
}

body.public-body .public-chat-launcher-subtitle {
    font-size: 0.71rem;
    line-height: 1.15;
    color: #64748b;
}

body.public-body .deal-interest-prompt {
    position: fixed;
    right: 1rem;
    bottom: 6.5rem;
    z-index: 46;
    width: min(100%, 23rem);
    border-radius: 1.55rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 250, 252, 0.95));
    padding: 1rem 1rem 1rem;
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.17);
    backdrop-filter: blur(18px);
}

body.public-body .deal-interest-dismiss {
    position: absolute;
    top: 0.7rem;
    right: 0.7rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 9999px;
    background: rgba(241, 245, 249, 0.94);
    color: #64748b;
}

body.public-body .deal-interest-eyebrow {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: #b62c38;
}

body.public-body .deal-interest-title {
    margin-top: 0.75rem;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.2;
    color: #0f172a;
    max-width: 16rem;
}

body.public-body .deal-interest-copy {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    line-height: 1.55;
    color: #475569;
}

body.public-body .deal-interest-actions {
    display: grid;
    gap: 0.8rem;
    margin-top: 1rem;
}

body.public-body .deal-interest-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #b62c38 0%, #d23d4a 100%);
    padding: 0.88rem 1rem;
    font-size: 0.92rem;
    font-weight: 800;
    color: #fff;
    box-shadow: 0 18px 34px rgba(182, 44, 56, 0.24);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

body.public-body .deal-interest-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 22px 38px rgba(182, 44, 56, 0.28);
}

body.public-body .deal-interest-card-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    width: 100%;
    border-radius: 1.2rem;
    border: 1px solid rgba(203, 213, 225, 0.9);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.85rem 0.95rem;
    color: #1e3a5f;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.78);
}

body.public-body .deal-interest-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    background: rgba(30, 58, 95, 0.08);
    color: #1e3a5f;
    flex-shrink: 0;
}

body.public-body .deal-interest-card-copy {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

body.public-body .deal-interest-card-title {
    font-size: 0.86rem;
    font-weight: 800;
    color: #0f172a;
}

body.public-body .deal-interest-card-subtitle {
    font-size: 0.74rem;
    color: #64748b;
}

body.public-body .buyer-profile-bubble {
    position: fixed;
    top: 5.9rem;
    right: -0.35rem;
    z-index: 45;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    border-radius: 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.95);
    padding: 0.76rem 0.95rem 0.76rem 0.8rem;
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.14);
    backdrop-filter: blur(18px);
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

body.public-body .buyer-profile-bubble:hover {
    transform: translateY(-2px);
    border-color: rgba(30, 58, 95, 0.2);
    box-shadow: 0 28px 46px rgba(15, 23, 42, 0.16);
}

body.public-body .buyer-profile-bubble-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.2rem;
    height: 2.2rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #10243f 0%, #1e3a5f 100%);
    color: #fff;
    box-shadow: 0 12px 24px rgba(30, 58, 95, 0.2);
    flex-shrink: 0;
}

body.public-body .buyer-profile-bubble-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}

body.public-body .buyer-profile-bubble-title {
    font-size: 0.84rem;
    font-weight: 800;
    color: #0f172a;
}

body.public-body .buyer-profile-bubble-subtitle {
    font-size: 0.72rem;
    color: #64748b;
}

body.public-body .public-mobile-modal {
    overscroll-behavior: contain;
}

body.public-body .public-mobile-modal-card {
    width: min(96vw, 70rem);
}

body.public-body .buyer-unlock-modal-shell {
    width: min(96vw, 70rem);
}

body.public-body .buyer-unlock-side {
    min-width: 0;
}

body.public-body .buyer-unlock-side #buyerUnlockIntro,
body.public-body .buyer-unlock-side .buyer-unlock-point span:last-child,
body.public-body #buyerUnlockSuccessCopy {
    max-width: 34rem;
}

@media (max-width: 768px) {
    body.public-body .public-mobile-modal {
        align-items: flex-start;
        justify-content: center;
        overflow-y: auto;
        padding: max(0.75rem, env(safe-area-inset-top)) 0.75rem calc(0.9rem + env(safe-area-inset-bottom));
    }

    body.public-body .public-mobile-modal-card,
    body.public-body .buyer-unlock-modal-shell {
        width: 100%;
        max-width: none !important;
        max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 1.5rem);
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
    }

    body.public-body .buyer-unlock-modal-shell {
        border-radius: 1.5rem;
    }

    body.public-body .buyer-unlock-side {
        padding: 1.25rem;
    }

    body.public-body .buyer-unlock-side #buyerUnlockIntro,
    body.public-body .buyer-unlock-side .buyer-unlock-point span:last-child,
    body.public-body #buyerUnlockSuccessCopy {
        max-width: none;
    }

    body.public-body .buyer-identity-dock {
        top: 5.4rem;
        right: 0.85rem;
        max-width: calc(100vw - 1.7rem);
        padding: 0.65rem 0.85rem;
    }

    body.public-body .buyer-identity-email {
        max-width: 10.5rem;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.public-body .buyer-stay-connected {
        left: max(0.75rem, env(safe-area-inset-left));
        right: auto;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        width: min(100%, calc(100vw - 1.5rem));
        max-height: calc(100dvh - env(safe-area-inset-bottom) - 1.5rem);
        overflow-y: auto;
        border-radius: 1.35rem;
        padding: 0.95rem 0.95rem 0.9rem;
    }

    body.public-body .buyer-stay-bubble {
        left: max(0.75rem, env(safe-area-inset-left));
        right: auto;
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        max-width: min(12.5rem, calc(50vw - 0.9rem));
        padding: 0.72rem 0.85rem;
    }

    body.public-body .public-chat-panel,
    body.public-body .public-chat-launcher {
        left: auto;
        right: max(var(--public-floating-inset-x), env(safe-area-inset-right));
    }

    body.public-body .public-chat-launcher {
        bottom: calc(0.75rem + env(safe-area-inset-bottom));
        max-width: min(12.5rem, calc(50vw - 0.9rem));
        padding: 0.72rem 0.85rem 0.72rem 0.75rem;
    }

    body.public-body .public-chat-launcher-status {
        top: 0.44rem;
        left: 0.52rem;
        width: 0.64rem;
        height: 0.64rem;
    }

    body.public-body .public-chat-panel {
        bottom: max(calc(5.65rem + env(safe-area-inset-bottom)), var(--public-chat-panel-bottom));
        width: min(100%, calc(100vw - 1rem));
        height: min(78dvh, calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 6.35rem));
        max-height: min(78dvh, calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 6.35rem));
        border-radius: 1.3rem;
    }

    body.public-body .public-chat-panel-header,
    body.public-body .public-chat-message-stream,
    body.public-body .public-chat-quick-actions,
    body.public-body .public-chat-form {
        padding-left: 0.9rem;
        padding-right: 0.9rem;
    }

    body.public-body .public-chat-message-stream {
        max-height: none;
        padding-top: 0.85rem;
        padding-bottom: 0.85rem;
    }

    body.public-body .public-chat-panel-header {
        padding-top: 0.9rem;
        padding-bottom: 0.8rem;
    }

    body.public-body .public-chat-panel-copy {
        max-width: none;
    }

    body.public-body .public-chat-form {
        grid-template-columns: minmax(0, 1fr);
        gap: 0.65rem;
        padding-bottom: calc(0.9rem + env(safe-area-inset-bottom));
    }

    body.public-body .public-chat-send {
        width: 100%;
    }

    body.public-body .public-chat-input {
        font-size: 16px;
        min-height: 3.15rem;
        max-height: 6.75rem;
    }

    body.public-body .public-chat-quick-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.55rem;
        padding-bottom: 0.85rem;
    }

    body.public-body .public-chat-action-chip {
        width: 100%;
        min-height: 2.6rem;
        padding-left: 0.72rem;
        padding-right: 0.72rem;
    }

    body.public-body .public-chat-bubble {
        max-width: 96%;
    }

    body.public-body .public-chat-close {
        width: 2.1rem;
        height: 2.1rem;
    }

    body.public-body .buyer-profile-bubble {
        top: 5.4rem;
        right: -0.2rem;
        max-width: calc(100vw - 1.5rem);
        padding: 0.7rem 0.85rem 0.7rem 0.75rem;
    }

    body.public-body .deal-interest-prompt {
        right: 0.75rem;
        bottom: calc(5.6rem + env(safe-area-inset-bottom));
        width: min(100%, calc(100vw - 1.5rem));
        padding: 0.95rem 0.95rem 0.95rem;
        border-radius: 1.35rem;
    }

    body.public-body .deal-interest-title {
        max-width: none;
        font-size: 1rem;
    }

    body.public-body .deal-address-line {
        align-items: flex-start;
        gap: 0.5rem;
    }

    body.public-body .deal-locality {
        white-space: normal;
    }

    body.public-body .deal-address-meta {
        flex-direction: column;
        padding: 0.85rem 0.9rem;
    }

    body.public-body .deal-address-actions {
        width: 100%;
    }

    body.public-body .deal-address-chip {
        width: 100%;
    }

    body.public-body .deal-address-lock-detail .deal-address-meta {
        padding: 0;
    }
}

body.public-body .cash-buyers-form-compact {
    gap: 1rem;
}

body.public-body .buyer-pref-card {
    border-radius: 1.5rem;
    border: 1px solid rgba(203, 213, 225, 0.85);
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(255, 255, 255, 0.94));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.75);
}

body.public-body .buyer-pref-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

body.public-body .buyer-pref-pill {
    display: inline-flex;
    align-items: center;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.96);
    border: 1px solid rgba(226, 232, 240, 0.92);
    padding: 0.35rem 0.75rem;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.05);
}

body.public-body .buyer-chip-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
}

body.public-body .buyer-chip-grid-tight {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.public-body .buyer-chip-option {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    border-radius: 1rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: rgba(255,255,255,0.98);
    padding: 0.75rem 0.85rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.76);
}

body.public-body .buyer-chip-option-tight {
    padding: 0.7rem 0.8rem;
}

body.public-body .buyer-chip-option span {
    color: #334155;
    font-weight: 600;
    line-height: 1.25rem;
}

@media (min-width: 768px) {
    body.public-body .buyer-chip-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.public-body .buyer-chip-grid-tight {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

body.public-body .deal-card .pt-3.border-t,
body.public-body .deal-card .pt-4.border-t {
    border-top-color: rgba(226, 232, 240, 0.9);
}

body.public-body .public-panel,
body.public-body .public-panel-soft {
    border-radius: var(--public-radius-xl);
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: var(--public-shadow-soft);
    backdrop-filter: blur(14px);
}

body.public-body .public-panel {
    background: rgba(255, 255, 255, 0.88);
}

body.public-body .public-panel-soft {
    background: rgba(248, 250, 252, 0.92);
}

body.public-body .bg-white.rounded-2xl.shadow-lg,
body.public-body .bg-white.rounded-2xl.shadow-xl,
body.public-body .bg-white.rounded-3xl.shadow-lg,
body.public-body .bg-white.rounded-3xl.shadow-2xl {
    border: 1px solid rgba(255,255,255,0.76);
    box-shadow: var(--public-shadow-soft);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(14px);
}

body.public-body .site-filter-bar {
    background: rgba(255,255,255,0.74);
    border-top: 1px solid rgba(255,255,255,0.45);
    border-bottom: 1px solid rgba(226, 232, 240, 0.78);
    box-shadow: 0 16px 32px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(18px);
}

body.public-body .filter-btn,
body.public-body .site-chip-button {
    border-radius: 0.5rem;
    border: 1px solid rgba(203, 213, 225, 0.88);
    background: rgba(255,255,255,0.82);
    color: #475569;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.65);
}

body.public-body .filter-btn:hover,
body.public-body .site-chip-button:hover {
    border-color: rgba(96, 165, 250, 0.34);
    color: #0f172a;
}

body.public-body .filter-active {
    background: linear-gradient(135deg, #10243f 0%, #1e3a5f 100%);
    color: #fff;
    border-color: rgba(30, 58, 95, 0.95);
    box-shadow: 0 16px 32px rgba(30, 58, 95, 0.16);
}

body.public-body .site-input,
body.public-body input[type="text"],
body.public-body input[type="email"],
body.public-body input[type="tel"],
body.public-body input[type="number"],
body.public-body textarea,
body.public-body select {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.58);
}

body.public-body .site-footer {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle 600px at 88% 0%, rgba(96, 165, 250, 0.22), transparent 60%),
        radial-gradient(circle 540px at 8% 100%, rgba(168, 50, 60, 0.18), transparent 60%),
        radial-gradient(circle 360px at 50% 50%, rgba(167, 139, 250, 0.10), transparent 65%),
        linear-gradient(135deg, #081a30 0%, #0e2746 35%, #13426b 70%, #1a4f7b 100%) !important;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04), 0 -16px 40px rgba(8, 26, 48, 0.18);
}

body.public-body .site-footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        conic-gradient(from 200deg at 70% 30%,
            rgba(96, 165, 250, 0) 0deg,
            rgba(96, 165, 250, 0.14) 80deg,
            rgba(167, 139, 250, 0.10) 160deg,
            rgba(244, 114, 182, 0.08) 240deg,
            rgba(251, 191, 36, 0.05) 320deg,
            rgba(96, 165, 250, 0) 360deg);
    mix-blend-mode: screen;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
    filter: none;
    width: auto;
    height: auto;
    border-radius: 0;
}

body.public-body .site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    bottom: auto;
    width: auto;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    border-radius: 0;
    filter: none;
    pointer-events: none;
    z-index: 1;
}

body.public-body .site-footer > * {
    position: relative;
    z-index: 1;
}

body.public-body .site-footer a {
    transition: color 160ms ease, transform 160ms ease;
}

body.public-body .site-footer a:hover {
    color: #fff;
    transform: translateX(2px);
}

body.public-body .site-footer .bg-secondary.rounded-lg.flex.items-center.justify-center {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.22), transparent 38%),
        linear-gradient(135deg, #b62c38 0%, #d23d4a 100%);
    box-shadow: 0 18px 28px rgba(182, 44, 56, 0.22);
}

body.public-body .site-footer .bg-blue-800.rounded-full.flex.items-center.justify-center {
    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

body.public-body .site-footer .bg-blue-800.rounded-full.flex.items-center.justify-center:hover {
    background: linear-gradient(135deg, #b62c38 0%, #d23d4a 100%);
    transform: translateY(-2px);
    box-shadow: 0 14px 26px rgba(182, 44, 56, 0.24);
}

body.public-body .site-section-soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.44), rgba(248,250,252,0.9));
}

body.public-body .site-stat-band {
    background:
        radial-gradient(circle at top left, rgba(255,255,255,0.14), transparent 24%),
        linear-gradient(135deg, #10243f 0%, #1e3a5f 52%, #355f8c 100%);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.14);
}

/* ──────────────────────────────────────────────────────────────────────────
   Aurora Navy Panel — shared aesthetic for premium dark surfaces.
   Lifted from .site-cta-panel + .site-footer (commit c990969). Apply to any
   dark hero / CTA / footer / panel container that should match the upgraded
   look. Also exposed as a body-class-free `.aurora-navy-panel` so it can be
   used inside admin/tools/genie without requiring `body.public-body`.
   ────────────────────────────────────────────────────────────────────────── */
.aurora-navy-panel,
body.public-body .site-cta-panel {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 2rem;
    background:
        radial-gradient(circle 480px at 90% 0%, rgba(96, 165, 250, 0.30), transparent 60%),
        radial-gradient(circle 420px at 0% 100%, rgba(168, 50, 60, 0.28), transparent 60%),
        radial-gradient(circle 340px at 50% 50%, rgba(167, 139, 250, 0.14), transparent 65%),
        linear-gradient(135deg, #081a30 0%, #0e2746 35%, #13426b 70%, #1a4f7b 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.08) inset,
        0 0 0 1px rgba(255, 255, 255, 0.02) inset,
        0 24px 50px rgba(8, 26, 48, 0.45),
        0 60px 120px rgba(8, 26, 48, 0.30);
    color: #fff;
}

.aurora-navy-panel::before,
body.public-body .site-cta-panel::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background:
        conic-gradient(from 220deg at 70% 30%,
            rgba(96, 165, 250, 0) 0deg,
            rgba(96, 165, 250, 0.18) 80deg,
            rgba(167, 139, 250, 0.12) 160deg,
            rgba(244, 114, 182, 0.10) 240deg,
            rgba(251, 191, 36, 0.08) 320deg,
            rgba(96, 165, 250, 0) 360deg);
    mix-blend-mode: screen;
    opacity: 0.7;
    pointer-events: none;
    z-index: 0;
}

.aurora-navy-panel::after,
body.public-body .site-cta-panel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 8%;
    right: 8%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    pointer-events: none;
    z-index: 0;
}

.aurora-navy-panel > *,
body.public-body .site-cta-panel > * {
    position: relative;
    z-index: 1;
}

/* Compact variant — for topbars / sidebars where the full radial spread is
   too much. Same colors, tighter spread, no conic shimmer overlay. */
.aurora-navy-panel--compact {
    background:
        radial-gradient(circle 320px at 92% 0%, rgba(96, 165, 250, 0.22), transparent 60%),
        radial-gradient(circle 260px at 4% 100%, rgba(168, 50, 60, 0.18), transparent 60%),
        linear-gradient(135deg, #081a30 0%, #0e2746 35%, #13426b 70%, #1a4f7b 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.06) inset,
        0 16px 32px rgba(8, 26, 48, 0.28);
}
.aurora-navy-panel--compact::before { opacity: 0.45; }

/* Old per-rule .site-cta-panel ::before/::after/>* removed — now handled by
   the consolidated .aurora-navy-panel selector group above. */

body.public-body .site-footer-cta {
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.16);
    background: rgba(255,255,255,0.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
}

body.public-body .site-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.85rem 1rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #b62c38 0%, #d23d4a 100%);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 16px 28px rgba(182, 44, 56, 0.24);
    transition: transform 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

body.public-body .site-footer-button:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 20px 32px rgba(182, 44, 56, 0.28);
}

body.public-body .site-faq-item {
    border-radius: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background: linear-gradient(180deg, rgba(248,250,252,0.94), rgba(255,255,255,0.9));
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

body.public-body .site-faq-item:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.36);
    box-shadow: 0 22px 38px rgba(15, 23, 42, 0.08);
}

body.public-body .site-faq-trigger {
    background: rgba(255,255,255,0.94);
    transition: background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

body.public-body .site-faq-trigger:hover {
    background: rgba(248,250,252,0.98);
}

body.public-body .site-faq-item-open {
    border-color: rgba(30, 58, 95, 0.22);
    box-shadow: 0 24px 42px rgba(15, 23, 42, 0.1);
}

body.public-body .site-faq-item-open .site-faq-trigger {
    background: linear-gradient(180deg, rgba(241,245,249,0.98), rgba(255,255,255,0.96));
    box-shadow: inset 0 -1px 0 rgba(226, 232, 240, 0.75);
    transform: translateY(1px);
}

body.public-body .site-faq-item-open .site-faq-answer {
    background: linear-gradient(180deg, rgba(248,250,252,0.98), rgba(255,255,255,0.95));
}

body.public-body .deal-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 4px;
    background: linear-gradient(90deg, rgba(30,58,95,0.9), rgba(182,44,56,0.92));
    opacity: 0.92;
}

body.public-body .deal-card::after {
    content: '';
    position: absolute;
    right: -28px;
    bottom: -34px;
    width: 110px;
    height: 110px;
    border-radius: 9999px;
    background: rgba(30, 58, 95, 0.06);
}

body.public-body .site-empty-state {
    background: rgba(255,255,255,0.7);
    border: 1px solid rgba(255,255,255,0.82);
    border-radius: var(--public-radius-xl);
    box-shadow: var(--public-shadow-soft);
    backdrop-filter: blur(12px);
}

body.public-body .site-inline-glass {
    background: rgba(255,255,255,0.78);
    border: 1px solid rgba(255,255,255,0.72);
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(14px);
}

body.public-body #propertyContent > .flex.flex-col.md\:flex-row.justify-between.items-start.gap-4.mb-6 {
    padding: 1.4rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.74);
    border-radius: 1.8rem;
    background: rgba(255,255,255,0.78);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(12px);
}

body.public-body #propertyContent button,
body.public-body #propertyContent a.inline-flex.items-center.gap-2.bg-primary {
    transition: transform 160ms ease, box-shadow 160ms ease;
}

body.public-body #propertyContent button:hover,
body.public-body #propertyContent a.inline-flex.items-center.gap-2.bg-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(15, 23, 42, 0.12);
}

body.public-body .site-kicker {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

body.public-body .site-page-frame {
    position: relative;
}

body.public-body .site-page-frame::before {
    content: '';
    position: fixed;
    inset: auto auto 2rem 2rem;
    width: 7rem;
    height: 7rem;
    border-radius: 9999px;
    background: rgba(30, 58, 95, 0.05);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

body.public-body .site-page-frame::after {
    content: '';
    position: fixed;
    inset: 10rem 2rem auto auto;
    width: 8rem;
    height: 8rem;
    border-radius: 9999px;
    background: rgba(182, 44, 56, 0.05);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

body.public-body details > summary,
body.public-body button,
body.public-body a.inline-flex,
body.public-body .deal-card,
body.public-body .public-panel,
body.public-body .public-panel-soft,
body.public-body .site-inline-glass,
body.public-body .site-empty-state {
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

body.public-body details[open] > summary + * {
    animation: publicSectionReveal 220ms cubic-bezier(0.22, 1, 0.36, 1);
    transform-origin: top center;
}

body.public-body .deal-card:hover,
body.public-body .public-panel:hover,
body.public-body .public-panel-soft:hover,
body.public-body .site-inline-glass:hover {
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow: 0 20px 34px rgba(15, 23, 42, 0.1);
}

@keyframes publicSectionReveal {
    0% {
        opacity: 0;
        transform: translateY(-6px) scale(0.995);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 768px) {
    body.public-body .site-brand {
        gap: 0.65rem;
    }

    body.public-body .site-logo-badge {
        width: 2.48rem;
        height: 2.48rem;
        border-radius: 1rem;
    }

    body.public-body .site-logo-house {
        width: 1.32rem;
        height: 1.32rem;
    }

    body.public-body .site-wordmark {
        font-size: 1.5rem;
    }

    body.public-body .site-nav-link-active::after {
        display: none;
    }

    body.public-body .site-hero-card,
    body.public-body .public-panel,
    body.public-body .public-panel-soft {
        border-radius: 1.5rem;
    }
}

/* ============================================================
   MODERN UI REFRESH — appended enhancements
   ============================================================ */

/* ── Scroll-fade entrance animations ── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 0 0 0 rgba(182, 44, 56, 0); }
    50%       { box-shadow: 0 0 0 8px rgba(182, 44, 56, 0.12); }
}
@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-6px); }
}

body.public-body .animate-fade-up {
    animation: fadeUp 0.55s cubic-bezier(0.22, 1, 0.36, 1) both;
}
body.public-body .animate-fade-up-delay-1 { animation-delay: 0.08s; }
body.public-body .animate-fade-up-delay-2 { animation-delay: 0.16s; }
body.public-body .animate-fade-up-delay-3 { animation-delay: 0.24s; }
body.public-body .animate-fade-up-delay-4 { animation-delay: 0.32s; }
body.public-body .animate-fade-up-delay-5 { animation-delay: 0.40s; }

body.public-body .animate-scale-in { animation: scaleIn 0.45s cubic-bezier(0.22, 1, 0.36, 1) both; }
body.public-body .animate-fade-in  { animation: fadeIn  0.45s ease both; }

/* ── Section heading style ── */
body.public-body .section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    background: rgba(182, 44, 56, 0.08);
    border: 1px solid rgba(182, 44, 56, 0.14);
    color: #b62c38;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

body.public-body .section-title-gradient {
    background: linear-gradient(135deg, #0f2848 0%, #1e3a5f 55%, #2a5fa0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

body.public-body .section-underline {
    display: inline-block;
    position: relative;
}
body.public-body .section-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -0.5rem;
    height: 3px;
    width: 3.5rem;
    border-radius: 9999px;
    background: linear-gradient(90deg, #b62c38, #1e3a5f);
}

body.public-body > section:not(.site-hero):not(.site-section-soft):not(.site-cta-band):not(.site-filter-bar):not(.how-buying-section) {
    position: relative;
}

body.public-body > section:not(.site-hero):not(.site-section-soft):not(.site-cta-band):not(.site-filter-bar):not(.how-buying-section)::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0), rgba(30, 58, 95, 0.18) 16%, rgba(182, 44, 56, 0.42) 50%, rgba(30, 58, 95, 0.18) 84%, rgba(15, 23, 42, 0));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75), 0 0 22px rgba(30, 58, 95, 0.08);
    pointer-events: none;
    z-index: 1;
}

/* ── Stats bar ── */
body.public-body .stats-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: stretch;
    justify-content: center;
    padding: 1.6rem 2rem;
    border-radius: 1.6rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.82);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(16px);
}

body.public-body .stat-item {
    flex: 1 1 9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.2rem;
    text-align: center;
    border-right: 1px solid rgba(226, 232, 240, 0.6);
}
body.public-body .stat-item:last-child { border-right: 0; }

body.public-body .stat-value {
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 1.85rem;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #b62c38 0%, #1e3a5f 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}
body.public-body .stat-label {
    font-size: 0.76rem;
    font-weight: 600;
    color: #64748b;
    margin-top: 0.28rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ── How It Works — connected steps ── */
body.public-body .steps-track {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.5rem;
}

body.public-body .steps-track-four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    align-items: stretch;
}

@media (max-width: 1023px) {
    body.public-body .steps-track {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Connector segments — draw a short line in each gap (not across cards) */
body.public-body .steps-track .step-node:not(:last-child)::before {
    content: '';
    position: absolute;
    top: 50%;
    right: -1.5rem;
    width: 1.5rem;
    height: 4px;
    background: linear-gradient(90deg, rgba(182,44,56,0.45), rgba(30,58,95,0.4));
    pointer-events: none;
    border-radius: 9999px;
    transform: translateY(-50%);
    z-index: 0;
}

@media (max-width: 1023px) {
    body.public-body .steps-track .step-node:not(:last-child)::before { display: none; }
}

@media (max-width: 1023px) {
    body.public-body .steps-track-four {
        grid-template-columns: 1fr;
    }
}

body.public-body .step-node {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.8rem 1.2rem 1.5rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.97), rgba(248,250,252,0.92));
    border: 1px solid rgba(226, 232, 240, 0.88);
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255,255,255,0.95);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
body.public-body .step-node:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 50px rgba(15, 23, 42, 0.12), inset 0 1px 0 rgba(255,255,255,0.95);
}

body.public-body .step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 9999px;
    font-family: "Outfit", "Inter", sans-serif;
    font-size: 1.25rem;
    font-weight: 800;
    color: #fff;
    margin: 0 auto 1rem;
    flex-shrink: 0;
    box-shadow: 0 16px 30px rgba(15, 23, 42, 0.18);
    position: relative;
    z-index: 1;
}
body.public-body .step-number-red {
    background: linear-gradient(135deg, #b62c38 0%, #d23d4a 100%);
}
body.public-body .step-number-navy {
    background: linear-gradient(135deg, #10243f 0%, #1e3a5f 52%, #355f8c 100%);
}

body.public-body .step-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #0f2848;
    margin-bottom: 0.5rem;
}
body.public-body .step-body {
    font-size: 0.9rem;
    line-height: 1.55;
    color: #64748b;
}

/* ── Feature cards ── */
body.public-body .feature-card {
    position: relative;
    overflow: hidden;
    padding: 2rem 1.75rem;
    border-radius: 1.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.93));
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.07), inset 0 1px 0 rgba(255,255,255,0.9);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
body.public-body .feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 55px rgba(15, 23, 42, 0.12);
    border-color: rgba(148, 163, 184, 0.52);
}
body.public-body .feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.02), transparent 50%, rgba(182, 44, 56, 0.02));
    pointer-events: none;
}

body.public-body .feature-icon-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 1rem;
    margin-bottom: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.1);
}
body.public-body .feature-icon-wrap-red {
    background: linear-gradient(135deg, rgba(182, 44, 56, 0.12), rgba(182, 44, 56, 0.06));
    border: 1px solid rgba(182, 44, 56, 0.14);
    color: #b62c38;
}
body.public-body .feature-icon-wrap-navy {
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.12), rgba(30, 58, 95, 0.05));
    border: 1px solid rgba(30, 58, 95, 0.12);
    color: #1e3a5f;
}

/* ── FAQ Accordion (smooth height) ── */
body.public-body .faq-item {
    overflow: hidden;
    border-radius: 1.15rem;
    border: 1px solid rgba(226, 232, 240, 0.8);
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}
body.public-body .faq-item.is-open {
    border-color: rgba(30, 58, 95, 0.18);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.09);
}
body.public-body .faq-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 1.25rem 1.5rem;
    text-align: left;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background-color 0.18s ease;
}
body.public-body .faq-trigger:hover {
    background: rgba(241, 245, 249, 0.8);
}
body.public-body .faq-trigger-icon {
    flex-shrink: 0;
    width: 1.65rem;
    height: 1.65rem;
    border-radius: 9999px;
    background: rgba(241, 245, 249, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.2s ease;
    color: #64748b;
}
body.public-body .faq-item.is-open .faq-trigger-icon {
    transform: rotate(180deg);
    background: rgba(30, 58, 95, 0.1);
    color: #1e3a5f;
}
body.public-body .faq-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
body.public-body .faq-item.is-open .faq-body {
    grid-template-rows: 1fr;
}
body.public-body .faq-body-inner {
    overflow: hidden;
}
body.public-body .faq-answer {
    padding: 0 1.5rem 1.25rem;
    color: #475569;
    line-height: 1.65;
    font-size: 0.96rem;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    padding-top: 1.1rem;
}

/* ── Filter pill buttons ── */
body.public-body .filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1.1rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.96);
    color: #475569;
    cursor: pointer;
    transition: all 0.18s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
body.public-body .filter-pill:hover {
    border-color: rgba(30, 58, 95, 0.22);
    color: #1e3a5f;
    background: rgba(241, 245, 249, 0.98);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.09);
}
body.public-body .filter-pill.is-active,
body.public-body .filter-pill.filter-active {
    background: linear-gradient(135deg, #10243f 0%, #1e3a5f 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 12px 26px rgba(30, 58, 95, 0.28);
}

/* ── Better form inputs ── */
body.public-body .modern-input {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 0.85rem;
    border: 1.5px solid rgba(203, 213, 225, 0.88);
    background: rgba(255, 255, 255, 0.97);
    color: #0f172a;
    font-size: 0.95rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}
body.public-body .modern-input::placeholder { color: #94a3b8; }
body.public-body .modern-input:hover { border-color: rgba(148, 163, 184, 0.7); }
body.public-body .modern-input:focus {
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* ── CTA section ── */
body.public-body .site-cta-band {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(ellipse at top right, rgba(182, 44, 56, 0.22), transparent 38%),
        radial-gradient(ellipse at bottom left, rgba(53, 95, 140, 0.2), transparent 40%),
        linear-gradient(135deg, #07192e 0%, #0f2848 50%, #1a3f72 100%);
}
body.public-body .site-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
    background-size: 36px 36px;
    pointer-events: none;
}

body.public-body .site-cta-band::after {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(96, 165, 250, 0.26) 16%, rgba(239, 68, 68, 0.4) 50%, rgba(96, 165, 250, 0.26) 84%, rgba(255, 255, 255, 0));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.18), 0 0 24px rgba(96, 165, 250, 0.12);
    pointer-events: none;
}

/* ── Footer enhancements ── */
body.public-body .site-footer {
    position: relative;
}
body.public-body .site-footer::before {
    /* Restored: animated 3px crimson→navy→blue→crimson stripe across the top
       of the footer. Flows right-to-left (animation-direction: reverse). */
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, #b62c38, #1e3a5f, #2a5fa0, #b62c38);
    background-size: 200% 100%;
    animation: shimmer 4s linear infinite;
    animation-direction: reverse;
    z-index: 2;
}
@media (prefers-reduced-motion: reduce) {
    body.public-body .site-footer::before { animation: none; }
}

body.public-body .site-footer-cta {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1.15rem;
    backdrop-filter: blur(8px);
    padding: 1.1rem 1.25rem;
}

body.public-body .site-footer-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.72rem 1.3rem;
    border-radius: 0.625rem;
    font-size: 0.88rem;
    font-weight: 700;
    background: linear-gradient(135deg, #b62c38 0%, #d23d4a 100%);
    color: #fff;
    border: 0;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.18s ease, box-shadow 0.18s ease;
    box-shadow: 0 12px 26px rgba(182, 44, 56, 0.3);
}
body.public-body .site-footer-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 32px rgba(182, 44, 56, 0.38);
}

/* ── Deal card modern refresh ── */
body.public-body .deal-card-badge-hot {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.3rem 0.7rem;
    border-radius: 0.5rem;
    background: linear-gradient(135deg, #b62c38, #d23d4a);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(182, 44, 56, 0.3);
}

/* ── Search input enhancements ── */
body.public-body .search-wrap {
    position: relative;
}
body.public-body .search-wrap .search-icon {
    position: absolute;
    left: 0.85rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #94a3b8;
}
body.public-body .search-input {
    width: 100%;
    padding: 0.65rem 0.9rem 0.65rem 2.5rem;
    border-radius: 0.625rem;
    border: 1.5px solid rgba(203, 213, 225, 0.88);
    background: rgba(255, 255, 255, 0.98);
    font-size: 0.9rem;
    color: #0f172a;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
body.public-body .search-input:focus {
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

/* ── Hero discount stat card ── */
body.public-body .site-hero-stat {
    animation: floatY 4.5s ease-in-out infinite;
}

/* ── Empty state ── */
body.public-body .site-empty-state-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 4rem 2rem;
    text-align: center;
}
body.public-body .site-empty-state-modern.hidden {
    display: none !important;
}
body.public-body .empty-state-icon {
    width: 5rem;
    height: 5rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08), rgba(182, 44, 56, 0.05));
    border: 1px solid rgba(226, 232, 240, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: #94a3b8;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.07);
}

body.public-body.deals-page {
    background: #f8fafc !important;
}

body.public-body.deals-page .deals-hero {
    margin-bottom: 0;
    padding-bottom: 4.35rem !important;
}

body.public-body.deals-page .deals-filter-seam {
    position: relative;
    margin-top: -2.7rem;
    padding-bottom: 0;
    z-index: 2;
    pointer-events: none;
}

body.public-body.deals-page .deals-filter-seam::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: calc(50% - 0.5px);
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(148, 163, 184, 0.25) 50%, transparent 95%);
    pointer-events: none;
}

body.public-body.deals-page .deals-filter-bar {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
    pointer-events: auto;
}

body.public-body.deals-page .deals-filter-surface {
    position: relative;
    width: min(100%, 64rem);
    margin: 0 auto;
    border-radius: 1.5rem;
    border: 1px solid rgba(226, 232, 240, 0.9);
    background: rgba(255, 255, 255, 0.97);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 18px 40px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    padding: 1rem 1.1rem;
}

body.public-body.deals-page .deals-filter-surface::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.92);
    pointer-events: none;
}

body.public-body.deals-page .deals-filter-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.public-body.deals-page .deals-filter-group {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    flex-wrap: wrap;
}

body.public-body.deals-page .deals-search-wrap .search-input {
    min-height: 3rem;
}

body.public-body.deals-page .deals-content-section {
    position: relative;
    z-index: 0;
    margin-top: 0;
    padding-top: 2.5rem !important;
    background: #f8fafc;
}

body.public-body.deals-page .deals-content-section::before {
    display: none;
}

body.public-body.deals-page .deals-results-stack {
    display: flex;
    flex-direction: column;
    gap: 2.75rem;
}

body.public-body.deals-page .deals-results-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
    z-index: 2;
}

body.public-body.deals-page .deals-results-heading {
    margin: 0.9rem 0 0;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: clamp(2rem, 3vw, 2.65rem);
    line-height: 1.05;
    font-weight: 800;
    color: #1e3a5f;
}

body.public-body.deals-page .deals-results-copy {
    margin: 0.7rem 0 0;
    max-width: 42rem;
    font-size: 1rem;
    line-height: 1.7;
    color: #64748b;
}

body.public-body.deals-page .deals-grid-stage,
body.public-body.deals-page #emptyState {
    margin: 0;
}

body.public-body.deals-page .deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 21.5rem), 21.5rem));
    justify-content: center;
    align-items: start;
    gap: 1.75rem;
}

body.public-body.deals-page .deals-grid > * {
    width: 100%;
}

body.public-body.deals-page .deals-grid-stage-muted {
    padding-top: 0.5rem;
}

body.public-body.deals-page .site-empty-state-modern {
    min-height: 25rem;
    justify-content: center;
    margin-top: 0.5rem;
}

body.public-body.deals-page #dealsGrid:empty,
body.public-body.deals-page #soldGrid:empty {
    display: none;
}

/* ── VIP badge ── */
body.public-body .vip-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 0.95rem;
    border-radius: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.12), rgba(245, 158, 11, 0.06));
    border: 1px solid rgba(245, 158, 11, 0.2);
    color: #b45309;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.12);
}

/* ── Floating label section CTA ── */
body.public-body .join-cta-card {
    position: relative;
    overflow: hidden;
    border-radius: 1.8rem;
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 36px 72px rgba(15, 23, 42, 0.18);
    backdrop-filter: blur(12px);
}

/* ── Smooth section transitions ── */
body.public-body .site-section-soft {
    position: relative;
}
body.public-body .site-section-soft::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0), rgba(30, 58, 95, 0.18) 16%, rgba(182, 44, 56, 0.42) 50%, rgba(30, 58, 95, 0.18) 84%, rgba(15, 23, 42, 0));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75), 0 0 22px rgba(30, 58, 95, 0.08);
}

/* ── Buyer chip modernization ── */
body.public-body .buyer-chip-option {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.55rem 0.85rem;
    border-radius: 0.85rem;
    border: 1.5px solid rgba(203, 213, 225, 0.8);
    background: rgba(255, 255, 255, 0.96);
    cursor: pointer;
    transition: all 0.18s ease;
    font-size: 0.875rem;
    font-weight: 500;
    color: #475569;
}
body.public-body .buyer-chip-option:hover {
    border-color: rgba(30, 58, 95, 0.22);
    color: #1e3a5f;
    background: rgba(241, 245, 249, 0.98);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.07);
}
body.public-body .buyer-chip-option:has(input:checked) {
    border-color: #1e3a5f;
    background: rgba(30, 58, 95, 0.06);
    color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1), 0 6px 18px rgba(15, 23, 42, 0.08);
}

/* ── Active nav shimmer dot ── */
@media (max-width: 768px) {
    body.public-body .steps-track {
        grid-template-columns: 1fr;
    }
    body.public-body .stat-item {
        border-right: 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.6);
    }
    body.public-body .stat-item:last-child { border-bottom: 0; }
    body.public-body .stats-bar {
        flex-direction: column;
        padding: 1.2rem 1.4rem;
        gap: 0;
    }
}

/* ================================================================
   PHASE 2 — BUTTON & MICRO-INTERACTION ENHANCEMENTS
   ================================================================ */

/* ── Enhanced button base — shared across all button types ── */
@keyframes btnRipple {
    0%   { transform: translate(-50%,-50%) scale(0); opacity: 0.5; }
    100% { transform: translate(-50%,-50%) scale(4); opacity: 0; }
}
@keyframes btnShine {
    0%   { left: -80%; }
    100% { left: 130%; }
}

body.public-body .btn-primary,
body.public-body .btn-secondary,
body.public-body .site-button-primary,
body.public-body .site-button-secondary,
body.public-body .site-footer-button,
body.public-body .btn-outline {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    cursor: pointer;
    text-decoration: none;
    transition:
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.22s ease,
        border-color 0.22s ease;
}

/* Shine sweep on hover */
body.public-body .btn-primary::after,
body.public-body .btn-secondary::after,
body.public-body .site-button-primary::after,
body.public-body .site-button-secondary::after,
body.public-body .site-footer-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-18deg);
    pointer-events: none;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.15s ease;
}
body.public-body .btn-primary:hover::after,
body.public-body .btn-secondary:hover::after,
body.public-body .site-button-primary:hover::after,
body.public-body .site-button-secondary:hover::after,
body.public-body .site-footer-button:hover::after {
    opacity: 1;
    animation: btnShine 0.65s ease forwards;
}

/* Active press state */
body.public-body .btn-primary:active,
body.public-body .btn-secondary:active,
body.public-body .site-button-primary:active,
body.public-body .site-button-secondary:active,
body.public-body .site-footer-button:active,
body.public-body .btn-outline:active {
    transform: translateY(0) scale(0.97);
    transition-duration: 0.08s;
}

/* Focus-visible ring for accessibility */
body.public-body .btn-primary:focus-visible,
body.public-body .btn-secondary:focus-visible,
body.public-body .site-button-primary:focus-visible,
body.public-body .site-button-secondary:focus-visible,
body.public-body .site-footer-button:focus-visible,
body.public-body .btn-outline:focus-visible {
    outline: 2px solid #1e3a5f;
    outline-offset: 3px;
}

/* ── Outline / ghost button variant ── */
body.public-body .btn-outline {
    border-radius: 0.5rem;
    border: 2px solid rgba(30, 58, 95, 0.22);
    background: rgba(255, 255, 255, 0.92);
    color: #1e3a5f;
    font-weight: 700;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(6px);
}
body.public-body .btn-outline:hover {
    border-color: #1e3a5f;
    background: rgba(30, 58, 95, 0.06);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}
body.public-body .btn-outline-red {
    border-color: rgba(182, 44, 56, 0.22);
    color: #b62c38;
}
body.public-body .btn-outline-red:hover {
    border-color: #b62c38;
    background: rgba(182, 44, 56, 0.05);
}

/* ── Improved primary/secondary hover shadows ── */
body.public-body .btn-primary:hover,
body.public-body .site-button-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 40px rgba(182, 44, 56, 0.25),
        0 0 0 1px rgba(182, 44, 56, 0.08);
}
body.public-body .btn-secondary:hover,
body.public-body .site-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 20px 40px rgba(30, 58, 95, 0.25),
        0 0 0 1px rgba(30, 58, 95, 0.08);
}

/* ── Icon inside buttons — smooth nudge on hover ── */
body.public-body .btn-primary [data-lucide],
body.public-body .btn-secondary [data-lucide],
body.public-body .btn-outline [data-lucide],
body.public-body .site-footer-button [data-lucide] {
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
body.public-body .btn-primary:hover [data-lucide],
body.public-body .btn-secondary:hover [data-lucide],
body.public-body .btn-outline:hover [data-lucide],
body.public-body .site-footer-button:hover [data-lucide] {
    transform: translateX(2px);
}

/* ── Nav link animated underline ── */
body.public-body .site-nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #b62c38, #1e3a5f);
    transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1), left 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
body.public-body .site-nav-link:hover::after {
    width: 100%;
    left: 0;
}

/* ── Card gradient border glow on hover ── */
body.public-body .feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(30,58,95,0.15), transparent, rgba(182,44,56,0.12));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.public-body .feature-card:hover::after {
    opacity: 1;
}

/* ── Step node gradient border glow ── */
body.public-body .step-node::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(182,44,56,0.18), transparent 40%, rgba(30,58,95,0.15));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}
body.public-body .step-node:hover::after {
    opacity: 1;
}

/* ── Step number scale bounce on card hover ── */
body.public-body .step-node:hover .step-number {
    transform: scale(1.1);
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ── FAQ item hover glow ── */
body.public-body .faq-item:hover {
    border-color: rgba(148, 163, 184, 0.5);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.07);
}

/* ── Modern form inputs with animated label-line effect ── */
body.public-body input.modern-input:not(:placeholder-shown),
body.public-body select.modern-input:not(:placeholder-shown),
body.public-body textarea.modern-input:not(:placeholder-shown) {
    border-color: rgba(30, 58, 95, 0.3);
}

/* Input group with left icon */
body.public-body .input-icon-wrap {
    position: relative;
}
body.public-body .input-icon-wrap .input-icon {
    position: absolute;
    left: 0.9rem;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 1;
}
body.public-body .input-icon-wrap input:focus ~ .input-icon,
body.public-body .input-icon-wrap select:focus ~ .input-icon {
    color: #1e3a5f;
}
body.public-body .input-icon-wrap input,
body.public-body .input-icon-wrap select {
    padding-left: 2.6rem;
}

/* ── Better inline form styling for CTA section inputs ── */
body.public-body .cash-buyers-form input,
body.public-body .cash-buyers-form select,
body.public-body .cash-buyers-form textarea {
    border-radius: 0.85rem;
    border: 1.5px solid rgba(203, 213, 225, 0.88);
    background: rgba(255, 255, 255, 0.97);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
body.public-body .cash-buyers-form input:hover,
body.public-body .cash-buyers-form select:hover,
body.public-body .cash-buyers-form textarea:hover {
    border-color: rgba(148, 163, 184, 0.7);
    background: #fff;
}
body.public-body .cash-buyers-form input:focus,
body.public-body .cash-buyers-form select:focus,
body.public-body .cash-buyers-form textarea:focus {
    border-color: #1e3a5f;
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
    background: #fff;
}

/* ── Floating label helper ── */
body.public-body .form-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    color: #334155;
    margin-bottom: 0.4rem;
    letter-spacing: 0.01em;
}
body.public-body .form-label .form-required {
    color: #b62c38;
    font-weight: 800;
}

/* ── Hero stat card — pulsing ring ── */
body.public-body .site-hero-stat::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: inherit;
    border: 2px solid rgba(30, 58, 95, 0.06);
    animation: pulseGlow 3s ease-in-out infinite;
    pointer-events: none;
}

/* ── Link arrow nudge ── */
body.public-body a[href]:not(.btn-primary):not(.btn-secondary):not(.btn-outline):not(.site-nav-link):not(.site-brand):not(.site-mobile-link) [data-lucide*="arrow"] {
    transition: transform 0.2s ease;
}
body.public-body a[href]:hover [data-lucide*="arrow"] {
    transform: translateX(3px);
}

/* ── Badge bounce on load ── */
@keyframes badgeBounce {
    0%   { transform: scale(0.8); opacity: 0; }
    60%  { transform: scale(1.05); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}
body.public-body .site-badge {
    animation: badgeBounce 0.5s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

/* ── Social icon hover lift ── */
body.public-body .site-footer a[aria-label] {
    transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}
body.public-body .site-footer a[aria-label]:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 22px rgba(0,0,0,0.2);
}

/* ── Stats bar value count-up feel ── */
body.public-body .stat-value {
    transition: transform 0.22s ease;
}
body.public-body .stat-item:hover .stat-value {
    transform: scale(1.08);
}

/* ── Mobile touch feedback ── */
@media (hover: none) {
    body.public-body .btn-primary:active,
    body.public-body .btn-secondary:active,
    body.public-body .btn-outline:active {
        transform: scale(0.95);
    }
    body.public-body .feature-card:active,
    body.public-body .step-node:active {
        transform: scale(0.98);
    }
}

/* ── Smooth scroll-linked section separator ── */
body.public-body .site-section-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent 5%, rgba(148, 163, 184, 0.25) 50%, transparent 95%);
}

/* ── Better select dropdowns ── */
body.public-body select.modern-select {
    appearance: none;
    padding-right: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.85rem center;
    background-size: 1rem;
    cursor: pointer;
}

/* ── Loading shimmer for placeholders ── */
@keyframes contentShimmer {
    0%   { background-position: -200% center; }
    100% { background-position: 200% center; }
}
body.public-body .shimmer-placeholder {
    background: linear-gradient(90deg, rgba(226,232,240,0.6) 25%, rgba(241,245,249,0.9) 50%, rgba(226,232,240,0.6) 75%);
    background-size: 200% 100%;
    animation: contentShimmer 1.5s linear infinite;
    border-radius: 0.5rem;
}

/* ================================================================
   PHASE 3 — PREMIUM POLISH & REFINED DEPTH
   ================================================================ */

/* ── Upgraded nav — thinner, more refined ── */
body.public-body nav.site-nav {
    background: rgba(255, 255, 255, 0.72);
    border-bottom: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9),
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 16px 36px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

/* ── Hero section — luxury aurora mesh, sleek modern impressive ── */
body.public-body .site-hero {
    background:
        radial-gradient(circle 720px at 12% -10%, rgba(30, 58, 95, 0.22), transparent 55%),
        radial-gradient(circle 620px at 85% 5%, rgba(96, 165, 250, 0.22), transparent 60%),
        radial-gradient(circle 540px at 98% 70%, rgba(168, 50, 60, 0.10), transparent 60%),
        radial-gradient(circle 460px at 6% 95%, rgba(167, 139, 250, 0.14), transparent 60%),
        radial-gradient(circle 380px at 50% 55%, rgba(255, 255, 255, 0.72), transparent 70%),
        linear-gradient(180deg, #eef2fb 0%, #f8faff 50%, #ffffff 100%) !important;
    position: relative;
    isolation: isolate;
}
body.public-body .site-hero.hero-pattern {
    background-image:
        radial-gradient(circle at 1px 1px, rgba(15, 23, 42, 0.04) 1px, transparent 0),
        radial-gradient(circle 720px at 12% -10%, rgba(30, 58, 95, 0.22), transparent 55%),
        radial-gradient(circle 620px at 85% 5%, rgba(96, 165, 250, 0.22), transparent 60%),
        radial-gradient(circle 540px at 98% 70%, rgba(168, 50, 60, 0.10), transparent 60%),
        radial-gradient(circle 460px at 6% 95%, rgba(167, 139, 250, 0.14), transparent 60%),
        radial-gradient(circle 380px at 50% 55%, rgba(255, 255, 255, 0.72), transparent 70%),
        linear-gradient(180deg, #eef2fb 0%, #f8faff 50%, #ffffff 100%) !important;
    background-size: 40px 40px, auto, auto, auto, auto, auto, auto !important;
}
body.public-body .site-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        conic-gradient(from 200deg at 60% 30%,
            rgba(96, 165, 250, 0) 0deg,
            rgba(96, 165, 250, 0.10) 70deg,
            rgba(167, 139, 250, 0.08) 140deg,
            rgba(244, 114, 182, 0.06) 210deg,
            rgba(251, 191, 36, 0.05) 280deg,
            rgba(96, 165, 250, 0) 360deg);
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 0;
    opacity: 0.85;
}
body.public-body .site-hero::after {
    content: none;
}
body.public-body .site-hero > * {
    position: relative;
    z-index: 1;
}

/* ── Hero card premium shadow stack ── */
body.public-body .site-hero-card {
    box-shadow:
        0 2px 4px rgba(0,0,0,0.04),
        0 8px 16px rgba(0,0,0,0.06),
        0 24px 48px rgba(15, 23, 42, 0.1),
        0 48px 80px rgba(15, 23, 42, 0.08);
    border: 1px solid rgba(255,255,255,0.4);
}

/* ── Premium glass stats bar ── */
body.public-body .stats-bar {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.9);
    box-shadow:
        0 1px 0 rgba(255,255,255,1),
        0 4px 12px rgba(15, 23, 42, 0.04),
        0 16px 40px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.95);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
}

/* ── Premium feature cards — frosted glass v2 ── */
body.public-body .feature-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(248,250,252,0.95) 100%);
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 4px 8px rgba(15, 23, 42, 0.03),
        0 12px 28px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.95);
}
body.public-body .feature-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 8px 16px rgba(15, 23, 42, 0.05),
        0 24px 48px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.95);
    border-color: rgba(148, 163, 184, 0.4);
}

/* ── Elevated icon wraps ── */
body.public-body .feature-icon-wrap {
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.04),
        0 8px 20px rgba(15, 23, 42, 0.08);
    border-radius: 0.85rem;
}
body.public-body .feature-icon-wrap-red {
    background: linear-gradient(145deg, rgba(182, 44, 56, 0.1), rgba(182, 44, 56, 0.04));
    border: 1px solid rgba(182, 44, 56, 0.1);
}
body.public-body .feature-icon-wrap-navy {
    background: linear-gradient(145deg, rgba(30, 58, 95, 0.1), rgba(30, 58, 95, 0.04));
    border: 1px solid rgba(30, 58, 95, 0.08);
}

/* ── Premium step nodes ── */
body.public-body .step-node {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(248,250,252,0.94) 100%);
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 4px 8px rgba(15, 23, 42, 0.03),
        0 14px 32px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.95);
}
body.public-body .step-node:hover {
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 8px 16px rgba(15, 23, 42, 0.06),
        0 24px 50px rgba(15, 23, 42, 0.1),
        inset 0 1px 0 rgba(255,255,255,0.95);
}

/* ── Step numbers with premium depth ── */
body.public-body .step-number {
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 20px rgba(15, 23, 42, 0.15),
        inset 0 1px 0 rgba(255,255,255,0.2);
    border: 1px solid rgba(255,255,255,0.15);
}
body.public-body .step-number-red {
    background: linear-gradient(160deg, #d4404f 0%, #b62c38 50%, #9a2430 100%);
}
body.public-body .step-number-navy {
    background: linear-gradient(160deg, #3a6ea5 0%, #1e3a5f 50%, #10243f 100%);
}

/* ── Premium FAQ items ── */
body.public-body .faq-item {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 2px 6px rgba(15, 23, 42, 0.03),
        0 8px 24px rgba(15, 23, 42, 0.04);
}
body.public-body .faq-item.is-open {
    border-color: rgba(30, 58, 95, 0.14);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 4px 12px rgba(15, 23, 42, 0.05),
        0 16px 40px rgba(15, 23, 42, 0.08);
}
body.public-body .faq-trigger-icon {
    width: 1.8rem;
    height: 1.8rem;
    background: linear-gradient(180deg, rgba(241, 245, 249, 0.95), rgba(226, 232, 240, 0.6));
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
}

/* ── Premium filter pills ── */
body.public-body .filter-pill {
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 10px rgba(15, 23, 42, 0.04);
    border: 1px solid rgba(226, 232, 240, 0.8);
    backdrop-filter: blur(8px);
}
body.public-body .filter-pill.is-active,
body.public-body .filter-pill.filter-active {
    background: linear-gradient(160deg, #2a5a8a 0%, #1e3a5f 50%, #10243f 100%);
    box-shadow:
        0 2px 4px rgba(30, 58, 95, 0.15),
        0 8px 20px rgba(30, 58, 95, 0.2),
        inset 0 1px 0 rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* ── Premium outline button upgrade ── */
body.public-body .btn-outline {
    background: rgba(255, 255, 255, 0.96);
    border: 1.5px solid rgba(30, 58, 95, 0.16);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.05);
    backdrop-filter: blur(8px);
}
body.public-body .btn-outline:hover {
    border-color: rgba(30, 58, 95, 0.4);
    background: rgba(30, 58, 95, 0.04);
    box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 8px 24px rgba(15, 23, 42, 0.08),
        0 20px 40px rgba(15, 23, 42, 0.06);
    transform: translateY(-2px);
}
body.public-body .btn-outline-red {
    border-color: rgba(182, 44, 56, 0.16);
}
body.public-body .btn-outline-red:hover {
    border-color: rgba(182, 44, 56, 0.4);
    background: rgba(182, 44, 56, 0.03);
}

/* ── Premium CTA band — deeper, richer ── */
body.public-body .site-cta-band {
    background:
        radial-gradient(ellipse 40% 60% at 100% 0%, rgba(182, 44, 56, 0.2), transparent),
        radial-gradient(ellipse 50% 50% at 0% 100%, rgba(53, 95, 140, 0.25), transparent),
        radial-gradient(ellipse 30% 30% at 50% 50%, rgba(42, 90, 138, 0.15), transparent),
        linear-gradient(145deg, #05111f 0%, #0a1e38 30%, #132f54 60%, #1a3f72 100%);
}

/* ── Premium form cards ── */
body.public-body .cash-buyers-form {
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 4px 8px rgba(15, 23, 42, 0.03),
        0 16px 36px rgba(15, 23, 42, 0.08),
        0 32px 64px rgba(15, 23, 42, 0.05);
}

/* ── Premium form inputs with inner depth ── */
body.public-body .cash-buyers-form input,
body.public-body .cash-buyers-form select,
body.public-body .cash-buyers-form textarea {
    border-radius: 0.75rem;
    border: 1.5px solid rgba(203, 213, 225, 0.7);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
body.public-body .cash-buyers-form input:hover,
body.public-body .cash-buyers-form select:hover,
body.public-body .cash-buyers-form textarea:hover {
    border-color: rgba(148, 163, 184, 0.6);
    background: #fff;
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.03);
}
body.public-body .cash-buyers-form input:focus,
body.public-body .cash-buyers-form select:focus,
body.public-body .cash-buyers-form textarea:focus {
    border-color: #1e3a5f;
    box-shadow:
        0 0 0 3px rgba(30, 58, 95, 0.08),
        inset 0 1px 2px rgba(15, 23, 42, 0.03);
    background: #fff;
}

/* ── Premium buyer chip options ── */
body.public-body .buyer-chip-option {
    border: 1.5px solid rgba(203, 213, 225, 0.65);
    background: rgba(255, 255, 255, 0.98);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.03),
        inset 0 1px 0 rgba(255,255,255,0.95);
    border-radius: 0.75rem;
}
body.public-body .buyer-chip-option:hover {
    border-color: rgba(30, 58, 95, 0.18);
    background: rgba(248, 250, 252, 0.98);
    box-shadow:
        0 2px 6px rgba(15, 23, 42, 0.05),
        inset 0 1px 0 rgba(255,255,255,0.95);
    transform: translateY(-1px);
    transition: all 0.18s cubic-bezier(0.22, 1, 0.36, 1);
}
body.public-body .buyer-chip-option:has(input:checked) {
    border-color: #1e3a5f;
    background: linear-gradient(180deg, rgba(30, 58, 95, 0.06), rgba(30, 58, 95, 0.03));
    box-shadow:
        0 0 0 3px rgba(30, 58, 95, 0.08),
        0 2px 8px rgba(15, 23, 42, 0.06),
        inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ── Section eyebrow premium ── */
body.public-body .section-eyebrow {
    background: linear-gradient(135deg, rgba(182, 44, 56, 0.07), rgba(182, 44, 56, 0.03));
    border: 1px solid rgba(182, 44, 56, 0.1);
    box-shadow: 0 2px 8px rgba(182, 44, 56, 0.06);
    backdrop-filter: blur(4px);
}

/* ── Premium hero stat card ── */
body.public-body .site-hero-stat {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(255,255,255,0.8);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.03),
        0 8px 16px rgba(0,0,0,0.05),
        0 24px 48px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(16px);
}

/* ── Section underline — wider and more prominent ── */
body.public-body .section-underline::after {
    height: 3px;
    width: 4rem;
    background: linear-gradient(90deg, #b62c38, #1e3a5f);
    box-shadow: 0 2px 6px rgba(182, 44, 56, 0.2);
}

/* ── Footer premium depth ── */
body.public-body .site-footer {
    isolation: isolate;
    background:
        radial-gradient(circle 600px at 88% 0%, rgba(96, 165, 250, 0.22), transparent 60%),
        radial-gradient(circle 540px at 8% 100%, rgba(168, 50, 60, 0.18), transparent 60%),
        radial-gradient(circle 360px at 50% 50%, rgba(167, 139, 250, 0.10), transparent 65%),
        linear-gradient(135deg, #081a30 0%, #0e2746 35%, #13426b 70%, #1a4f7b 100%) !important;
    box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.04), 0 -16px 40px rgba(8, 26, 48, 0.18);
}

/* ── Footer CTA card glass upgrade ── */
body.public-body .site-footer-cta {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.25rem;
    backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.06),
        0 8px 24px rgba(0,0,0,0.15);
}

/* ── Footer button premium ── */
body.public-body .site-footer-button {
    background: linear-gradient(160deg, #d4404f 0%, #b62c38 50%, #9a2430 100%);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 20px rgba(182, 44, 56, 0.25);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
body.public-body .site-footer-button:hover {
    box-shadow:
        0 2px 4px rgba(0,0,0,0.08),
        0 12px 28px rgba(182, 44, 56, 0.32);
}

/* ── Premium deal cards ── */
body.public-body .deal-card {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.99) 0%, rgba(248,250,252,0.96) 100%);
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 4px 8px rgba(15, 23, 42, 0.03),
        0 16px 36px rgba(15, 23, 42, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.9);
}
body.public-body .deal-card:hover {
    transform: translateY(-6px);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 8px 16px rgba(15, 23, 42, 0.06),
        0 28px 56px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.9);
    border-color: rgba(148, 163, 184, 0.5);
}

/* ── Deal card accent bar — smoother gradient ── */
body.public-body .deal-card-accent {
    height: 3px;
    background: linear-gradient(90deg, #b62c38 0%, #1e3a5f 50%, #22c55e 100%);
    opacity: 0.85;
}

/* ── Elevated badge styles ── */
body.public-body .site-badge {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.7);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 4px 12px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(8px);
}

/* ── Smoother hero photo rotated bg ── */
body.public-body .hero-photo-stack > .absolute:first-child {
    border-radius: 1.5rem;
    background: linear-gradient(135deg, rgba(182,44,56,0.12), rgba(30,58,95,0.12)) !important;
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.08);
}

/* ── Buy box pref card — premium ── */
body.public-body .buyer-pref-card {
    background: linear-gradient(180deg, rgba(248,250,252,0.98), rgba(241,245,249,0.95));
    border: 1px solid rgba(226, 232, 240, 0.7) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.95),
        0 2px 8px rgba(15, 23, 42, 0.04);
}

/* ── Premium consent checkboxes ── */
body.public-body label:has(input[name="isRealtor"]),
body.public-body label:has(input[name="textAlertsConsent"]),
body.public-body label:has(input[name="communicationConsent"]) {
    border-radius: 0.85rem;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.03);
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}
body.public-body label:has(input[name="isRealtor"]):hover,
body.public-body label:has(input[name="textAlertsConsent"]):hover,
body.public-body label:has(input[name="communicationConsent"]):hover {
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
    transform: translateY(-1px);
}

/* ── Smooth section bg transitions ── */
body.public-body section {
    position: relative;
}

/* ── Premium search input ── */
body.public-body .search-input {
    border: 1.5px solid rgba(203, 213, 225, 0.7);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04);
}
body.public-body .search-input:focus {
    border-color: #1e3a5f;
    box-shadow:
        0 0 0 3px rgba(30, 58, 95, 0.08),
        inset 0 1px 2px rgba(15, 23, 42, 0.03);
}

/* ── Premium mobile menu ── */
body.public-body .site-mobile-panel {
    background: rgba(255, 255, 255, 0.95);
    border-top: 1px solid rgba(226, 232, 240, 0.5);
    box-shadow: 0 16px 48px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
}
body.public-body .site-mobile-link {
    border-radius: 0.75rem;
    padding: 0.6rem 0.85rem;
    transition: all 0.15s ease;
}
body.public-body .site-mobile-link:hover {
    background: rgba(30, 58, 95, 0.04);
}

/* ── Decorative floating orbs for hero ── */
@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25%      { transform: translate(12px, -8px) scale(1.02); }
    50%      { transform: translate(-6px, -16px) scale(0.98); }
    75%      { transform: translate(-12px, -4px) scale(1.01); }
}
body.public-body .hero-orb {
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
    filter: blur(60px);
    animation: orbFloat 12s ease-in-out infinite;
    will-change: transform;
}
body.public-body .hero-orb-1 {
    width: 300px; height: 300px;
    top: -50px; left: -80px;
    background: rgba(30, 58, 95, 0.07);
    animation-delay: 0s;
}
body.public-body .hero-orb-2 {
    width: 200px; height: 200px;
    bottom: -30px; right: 10%;
    background: rgba(182, 44, 56, 0.05);
    animation-delay: -4s;
}

/* ── Section heading — larger text, better contrast ── */
body.public-body .section-title-gradient {
    background: linear-gradient(140deg, #0a1e38 0%, #1e3a5f 50%, #3a6ea5 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ── Premium buyers panel (cash-buyers page form container) ── */
body.public-body .buyers-panel {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow:
        0 1px 0 rgba(255,255,255,0.98),
        0 4px 8px rgba(15, 23, 42, 0.03),
        0 16px 36px rgba(15, 23, 42, 0.07),
        0 32px 64px rgba(15, 23, 42, 0.04);
}

body.public-body.cash-buyers-page #cash-buyers-form {
    padding: 2rem;
}

body.public-body.cash-buyers-page #cash-buyers-form .cash-buyers-form {
    border: 0;
    box-shadow: none;
    background: transparent;
    padding: 0;
}

body.public-body.cash-buyers-page #cash-buyers-form > .mb-6 {
    margin-bottom: 1.5rem;
    padding-bottom: 1.35rem;
}

body.public-body.cash-buyers-page #cash-buyers-form .buyer-pref-card {
    border-color: rgba(226, 232, 240, 0.85);
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0.9), rgba(241, 245, 249, 0.72));
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.8),
        0 10px 24px rgba(15, 23, 42, 0.04);
}

body.public-body.cash-buyers-page #cash-buyers-form .buyer-form-status,
body.public-body.cash-buyers-page #cash-buyers-form > .cash-buyers-form > label,
body.public-body.cash-buyers-page #cash-buyers-form > .cash-buyers-form > button {
    position: relative;
    z-index: 1;
}

@media (min-width: 768px) {
    body.public-body.cash-buyers-page #cash-buyers-form {
        padding: 2.15rem 2.2rem;
    }
}

/* ── Refined link hover colors ── */
body.public-body .site-nav-link:hover {
    color: #1e3a5f;
}

/* ── Premium section backgrounds ── */
body.public-body section.bg-white,
body.public-body section[class*="bg-white"] {
    background:
        radial-gradient(ellipse 40% 30% at 80% 80%, rgba(30, 58, 95, 0.02), transparent),
        radial-gradient(ellipse 30% 30% at 20% 20%, rgba(182, 44, 56, 0.015), transparent),
        #fff !important;
}

body.public-body .rent-estimate-shell {
    border: 1px solid #d8e0ea;
    border-radius: 1.75rem;
    background: #f8fbff;
    box-shadow: 0 16px 34px rgba(15, 23, 42, 0.06);
    padding: 1.5rem;
}

body.public-body .rent-estimate-gauge-wrap {
    position: relative;
    max-width: 18.75rem;
    min-height: 12.4rem;
    margin: 0 auto;
}

body.public-body .rent-estimate-gauge {
    display: block;
    width: 100%;
    height: auto;
}

body.public-body .rent-estimate-center {
    pointer-events: none;
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    padding-bottom: 1.25rem;
    text-align: center;
}

body.public-body .rent-estimate-value {
    font-family: 'Outfit', 'Inter', sans-serif;
    max-width: 11rem;
    font-size: clamp(1.45rem, 3.6vw, 1.95rem);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.035em;
    white-space: nowrap;
    color: #173a63;
    text-shadow: none;
}

body.public-body .rent-estimate-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.7rem;
    border-radius: 0.55rem;
    padding: 0.46rem 0.95rem;
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #1f2937;
    background: linear-gradient(180deg, #fcd34d 0%, #f59e0b 100%);
    border: 1px solid rgba(180, 83, 9, 0.28);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.55) inset,
        0 -1px 0 rgba(120, 53, 15, 0.16) inset,
        0 4px 10px rgba(180, 83, 9, 0.22),
        0 1px 2px rgba(15, 23, 42, 0.08);
}

body.public-body .rent-estimate-range-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.15rem;
    padding: 0 0.3rem;
}

body.public-body .rent-estimate-range-stat {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #64748b;
}

body.public-body .rent-estimate-range-value {
    margin-top: 0.35rem;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #12263f;
    text-transform: none;
}

body.public-body .rent-estimate-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
    margin-top: 1rem;
}

body.public-body .rent-estimate-stat-card,
body.public-body .rent-estimate-footer {
    border: 1px solid #d8e2ec;
    border-radius: 1.25rem;
    background: #ffffff;
    box-shadow: 0 10px 20px rgba(15, 23, 42, 0.04);
}

body.public-body .rent-estimate-stat-card {
    padding: 0.9rem 1rem;
    text-align: center;
}

body.public-body .rent-estimate-stat-label {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748b;
}

body.public-body .rent-estimate-stat-value {
    margin-top: 0.55rem;
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #12263f;
}

body.public-body .rent-estimate-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    margin-top: 1rem;
    padding: 0.95rem 1rem;
    background: #ffffff;
}

@media (max-width: 640px) {
    body.public-body .rent-estimate-gauge-wrap {
        min-height: 11.2rem;
    }

    body.public-body .rent-estimate-center {
        padding-bottom: 1rem;
    }

    body.public-body .rent-estimate-value {
        font-size: clamp(1.25rem, 6vw, 1.65rem);
    }
}

/* ── Refined deal analyzer inputs ── */
body.public-body .deal-analyzer-input {
    border: 1.5px solid rgba(203, 213, 225, 0.7);
    background: rgba(255, 255, 255, 0.98);
    box-shadow: inset 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
body.public-body .deal-analyzer-input:focus {
    border-color: #1e3a5f;
    box-shadow:
        0 0 0 3px rgba(30, 58, 95, 0.08),
        inset 0 1px 2px rgba(15, 23, 42, 0.03);
    outline: none;
}

/* ── Checkbox styling ── */
body.public-body input[type="checkbox"] {
    border-radius: 0.3rem;
    border: 1.5px solid rgba(148, 163, 184, 0.6);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
body.public-body input[type="checkbox"]:checked {
    border-color: #1e3a5f;
    box-shadow: 0 0 0 2px rgba(30, 58, 95, 0.08);
}

/* ── Scrollbar styling ── */
body.public-body ::-webkit-scrollbar {
    width: 8px;
}
body.public-body ::-webkit-scrollbar-track {
    background: rgba(241, 245, 249, 0.8);
}
body.public-body ::-webkit-scrollbar-thumb {
    background: rgba(148, 163, 184, 0.4);
    border-radius: 9999px;
}
body.public-body ::-webkit-scrollbar-thumb:hover {
    background: rgba(148, 163, 184, 0.6);
}

/* ================================================================
   PHASE 4 — UNIFIED FLOATING UI + FONT CONSISTENCY + DETAIL PAGE
   ================================================================ */

/* ── Global font consistency ── */
body.public-body,
body.public-body * {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}
body.public-body h1,
body.public-body h2,
body.public-body .site-wordmark,
body.public-body .stat-value,
body.public-body .step-number {
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
}

/* ── Unified floating element base — consistent glass treatment ── */
body.public-body .buyer-stay-bubble,
body.public-body .buyer-profile-bubble,
body.public-body .public-chat-launcher,
body.public-body .buyer-identity-dock {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 20px rgba(15, 23, 42, 0.08),
        0 24px 48px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
    transition:
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s ease;
}
body.public-body .buyer-stay-bubble:hover,
body.public-body .buyer-profile-bubble:hover,
body.public-body .public-chat-launcher:hover {
    transform: translateY(-3px);
    border-color: rgba(148, 163, 184, 0.3);
    box-shadow:
        0 1px 2px rgba(0,0,0,0.03),
        0 12px 28px rgba(15, 23, 42, 0.1),
        0 32px 56px rgba(15, 23, 42, 0.08);
}

/* ── Unified floating icon circles ── */
body.public-body .buyer-stay-bubble-icon {
    width: 2.35rem;
    height: 2.35rem;
    background: linear-gradient(160deg, #d4404f 0%, #b62c38 50%, #9a2430 100%);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 18px rgba(182, 44, 56, 0.2);
}
body.public-body .public-chat-launcher-icon {
    width: 2.35rem;
    height: 2.35rem;
    background: linear-gradient(160deg, #3a6ea5 0%, #1e3a5f 50%, #10243f 100%);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 18px rgba(30, 58, 95, 0.2);
}
body.public-body .buyer-profile-bubble-icon {
    width: 2.35rem;
    height: 2.35rem;
    background: linear-gradient(160deg, #3a6ea5 0%, #1e3a5f 50%, #10243f 100%);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 18px rgba(30, 58, 95, 0.2);
}
body.public-body .buyer-identity-icon {
    background: linear-gradient(160deg, #3a6ea5 0%, #1e3a5f 50%, #10243f 100%);
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.1),
        0 8px 18px rgba(30, 58, 95, 0.2);
}

/* ── Unified floating text styles ── */
body.public-body .buyer-stay-bubble-title,
body.public-body .buyer-profile-bubble-title,
body.public-body .public-chat-launcher-label,
body.public-body .buyer-identity-greeting {
    font-family: 'Inter', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
body.public-body .buyer-stay-bubble-subtitle,
body.public-body .buyer-profile-bubble-subtitle,
body.public-body .public-chat-launcher-subtitle,
body.public-body .buyer-identity-email {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    color: #64748b;
    line-height: 1.2;
    letter-spacing: 0;
}

/* ── Stay-connected panel — match premium glass ── */
body.public-body .buyer-stay-connected {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 20px rgba(15, 23, 42, 0.08),
        0 32px 56px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

/* ── Chat panel — unified glass ── */
body.public-body .public-chat-panel {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 20px rgba(15, 23, 42, 0.08),
        0 32px 56px rgba(15, 23, 42, 0.1);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

/* ── Deal interest prompt — match floating system ── */
body.public-body .deal-interest-prompt {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 8px 20px rgba(15, 23, 42, 0.08),
        0 32px 56px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(24px) saturate(1.4);
    -webkit-backdrop-filter: blur(24px) saturate(1.4);
}

/* ── Deal detail page — standardized buttons ── */
body.public-body .bg-primary {
    background: linear-gradient(160deg, #2a5a8a 0%, #1e3a5f 40%, #10243f 100%) !important;
}
body.public-body .bg-secondary {
    background: linear-gradient(160deg, #c83545 0%, #b62c38 40%, #9a2430 100%) !important;
}
body.public-body .hover\:bg-red-700:hover {
    background: linear-gradient(160deg, #d4404f 0%, #b62c38 40%, #9a2430 100%) !important;
}
body.public-body .hover\:bg-blue-800:hover {
    background: linear-gradient(160deg, #3a6ea5 0%, #1e3a5f 40%, #10243f 100%) !important;
}

/* ── Deal detail — pill buttons + border radius consistency ── */
body.public-body button.rounded-lg,
body.public-body a.rounded-lg {
    border-radius: 0.85rem;
}
body.public-body button.rounded-xl,
body.public-body a.rounded-xl {
    border-radius: 1rem;
}

/* ── Deal detail — standardized shadow on action buttons ── */
body.public-body button[onclick="contactAboutDeal()"],
body.public-body button[onclick="scheduleShowing()"],
body.public-body button[onclick="shareDeal()"] {
    border-radius: 0.85rem;
    box-shadow:
        0 1px 2px rgba(0,0,0,0.04),
        0 4px 12px rgba(15, 23, 42, 0.06);
    transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
body.public-body button[onclick="contactAboutDeal()"]:hover,
body.public-body button[onclick="scheduleShowing()"]:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.06),
        0 8px 24px rgba(15, 23, 42, 0.1);
}
body.public-body button[onclick="contactAboutDeal()"] {
    border: 1px solid rgba(255,255,255,0.15);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

/* ── Deal detail — Make an Offer button ── */
body.public-body button[onclick="contactAboutDeal()"].w-full {
    border-radius: 0.85rem;
    font-size: 1.05rem;
    padding: 1rem 1.5rem;
    border: 1px solid rgba(255,255,255,0.15);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.08),
        0 8px 20px rgba(182, 44, 56, 0.2),
        0 20px 40px rgba(182, 44, 56, 0.1);
    text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
body.public-body button[onclick="contactAboutDeal()"].w-full:hover {
    box-shadow:
        0 2px 4px rgba(0,0,0,0.06),
        0 12px 28px rgba(182, 44, 56, 0.25),
        0 28px 48px rgba(182, 44, 56, 0.12);
}

/* ── Deal detail agent card ── */
body.public-body .bg-primary.rounded-2xl {
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow:
        0 2px 4px rgba(0,0,0,0.06),
        0 8px 20px rgba(30, 58, 95, 0.15),
        0 24px 48px rgba(15, 23, 42, 0.1);
}

/* ── Detail page stat boxes ── */
body.public-body .bg-gray-50.rounded-lg {
    background: linear-gradient(180deg, rgba(248,250,252,0.98), rgba(241,245,249,0.95)) !important;
    border: 1px solid rgba(226, 232, 240, 0.6);
    border-radius: 0.85rem !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

/* ── Success modal — premium ── */
body.public-body #successModal > div {
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow:
        0 4px 8px rgba(0,0,0,0.04),
        0 16px 36px rgba(15, 23, 42, 0.1),
        0 48px 80px rgba(15, 23, 42, 0.08);
}

/* ── Pref pill badges ── */
body.public-body .buyer-pref-pill {
    font-family: 'Inter', sans-serif;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(226, 232, 240, 0.6);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
}

/* ── Consent label text ── */
body.public-body label .text-sm.font-medium {
    font-family: 'Inter', sans-serif;
}

/* ── Chat panel title font ── */
body.public-body .public-chat-panel-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
}

/* Public-page premium layout overrides */
body.public-body .section-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.7rem;
}

body.public-body .section-stack > .section-eyebrow {
    margin-bottom: 0;
}

body.public-body .section-stack > .section-underline {
    margin-bottom: 0;
}

body.public-body .section-stack > p {
    margin-top: 0;
}

body.public-body .section-copy-tight {
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

body.public-body .section-underline {
    display: inline-flex;
    width: fit-content;
    padding-bottom: 1rem;
}

body.public-body .section-underline::after {
    left: 0;
    transform: none;
    width: 100%;
    height: 4px;
    bottom: 0;
    border-radius: 9999px;
    background: linear-gradient(90deg, #c93645 0%, #b62c38 32%, #1e3a5f 100%);
    box-shadow: 0 8px 18px rgba(30, 58, 95, 0.14);
}

body.public-body .stats-rail-wrap {
    position: relative;
    padding: 0;
}

body.public-body .stats-rail-wrap::before {
    display: none;
}

body.public-body .stats-rail-wrap::after {
    display: none;
}

body.public-body > .hero-stats-seam.relative.z-20 {
    display: none;
}

body.public-body .how-buying-section {
    position: relative;
    padding-top: 7rem;
}

body.public-body .how-buying-section::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 23, 42, 0), rgba(30, 58, 95, 0.18) 16%, rgba(182, 44, 56, 0.42) 50%, rgba(30, 58, 95, 0.18) 84%, rgba(15, 23, 42, 0));
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.75), 0 0 22px rgba(30, 58, 95, 0.08);
    pointer-events: none;
    z-index: 1;
}

body.public-body .how-buying-section > .hero-stats-seam {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transform: translateY(-50%);
    z-index: 2;
}

body.public-body .how-buying-section > .hero-stats-seam::before {
    display: none;
}

body.public-body .stats-bar {
    position: relative;
    width: min(100%, 48rem);
    max-width: 48rem;
    margin: 0 auto;
    z-index: 2;
    gap: 0;
    padding: 0;
    border-radius: 1.7rem;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.92);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    overflow: hidden;
}

body.public-body .stats-bar::before {
    display: none;
}

body.public-body .stat-item {
    position: relative;
    z-index: 1;
    min-height: 5.45rem;
    padding: 1.15rem 1.3rem 1rem;
    border-right: 0;
}

body.public-body .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 18%;
    right: 0;
    width: 1px;
    height: 64%;
    background: rgba(226, 232, 240, 0.92);
}

body.public-body .stat-value {
    font-size: 2rem;
    letter-spacing: -0.04em;
}

body.public-body .stat-label {
    margin-top: 0.34rem;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

body.public-body .buyer-network-shell {
    display: grid;
    gap: 1.4rem;
}

body.public-body .buyer-network-shell-preview {
    height: 100%;
    align-content: start;
}

body.public-body .buyer-network-preview-shell {
    overflow: hidden;
    height: 100%;
    max-height: 54rem;
    opacity: 1;
    transform: translateY(0);
    transition: max-height 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, transform 0.24s ease;
}

body.public-body .buyer-network-shell.is-open .buyer-network-preview-shell {
    max-height: 0;
    opacity: 0;
    transform: translateY(-12px);
}

body.public-body .buyer-network-preview-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.95rem;
    width: 100%;
    min-height: 28.75rem;
    height: 100%;
    padding: 1.2rem 1.2rem 1.1rem;
    border-radius: 1.9rem;
    text-align: left;
    color: #0f2848;
    background: linear-gradient(180deg, rgba(248,250,252,0.98), rgba(255,255,255,0.96));
    border: 1px solid rgba(226, 232, 240, 0.88);
    box-shadow: 0 26px 46px rgba(15, 23, 42, 0.16), inset 0 1px 0 rgba(255,255,255,0.94);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.public-body .buyer-network-preview-card::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 5px;
    background: linear-gradient(90deg, #c93645 0%, #b62c38 38%, #1e3a5f 100%);
}

body.public-body .buyer-network-preview-card::after {
    content: '';
    position: absolute;
    inset: auto -4rem -4rem auto;
    width: 12rem;
    height: 12rem;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.1) 0%, rgba(30, 58, 95, 0.03) 48%, transparent 72%);
    pointer-events: none;
}

body.public-body .buyer-network-preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 30px 54px rgba(15, 23, 42, 0.18), inset 0 1px 0 rgba(255,255,255,0.94);
    border-color: rgba(148, 163, 184, 0.34);
}

body.public-body .buyer-network-preview-header,
body.public-body .buyer-network-preview-footer {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

body.public-body .buyer-network-preview-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.72rem 0.95rem;
    border-radius: 1rem;
    background: rgba(182, 44, 56, 0.08);
    border: 1px solid rgba(182, 44, 56, 0.12);
    color: #9a2430;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.public-body .buyer-network-preview-action {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.82rem;
    border-radius: 0.5rem;
    background: rgba(30, 58, 95, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.24);
    color: #48617f;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.public-body .buyer-network-preview-copy,
body.public-body .buyer-network-preview-form {
    position: relative;
    z-index: 1;
}

body.public-body .buyer-network-copy-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 1.2rem;
}

body.public-body .buyer-network-copy-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.46rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
}

body.public-body .buyer-network-copy-chip.is-light {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.16);
    color: rgba(255, 255, 255, 0.95);
}

body.public-body .buyer-network-copy-chip.is-dark {
    background: rgba(15, 23, 42, 0.05);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #1e3a5f;
}

body.public-body .buyer-network-preview-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.6rem;
    line-height: 1.05;
    font-weight: 800;
    color: #0f2848;
}

body.public-body .buyer-network-preview-text {
    margin-top: 0.5rem;
    color: #53657f;
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 0;
}

body.public-body .buyer-network-preview-signal-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

body.public-body .buyer-network-preview-signal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.78rem;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, rgba(201, 54, 69, 0.12), rgba(30, 58, 95, 0.08));
    border: 1px solid rgba(148, 163, 184, 0.2);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.85);
    color: #29476d;
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.public-body .buyer-network-preview-form {
    display: grid;
    gap: 0.75rem;
    padding: 0.95rem;
    border-radius: 1.45rem;
    background: rgba(248, 250, 252, 0.92);
    border: 1px solid rgba(226, 232, 240, 0.88);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

body.public-body .buyer-network-preview-grid {
    display: grid;
    gap: 0.7rem;
}

body.public-body .buyer-network-preview-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.public-body .buyer-network-preview-field,
body.public-body .buyer-network-preview-panel {
    padding: 0.8rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(226, 232, 240, 0.88);
}

body.public-body .buyer-network-preview-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.public-body .buyer-network-preview-input {
    margin-top: 0.6rem;
    height: 2.55rem;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, rgba(241,245,249,0.95), rgba(248,250,252,0.98));
    border: 1px solid rgba(203, 213, 225, 0.82);
}

body.public-body .buyer-network-preview-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.8rem;
    flex-wrap: wrap;
}

body.public-body .buyer-network-preview-pill {
    display: inline-flex;
    align-items: center;
    padding: 0.36rem 0.66rem;
    border-radius: 0.5rem;
    background: rgba(16, 36, 63, 0.06);
    color: #48617f;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.public-body .buyer-network-preview-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.7rem;
}

body.public-body .buyer-network-preview-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 0.78rem;
    border-radius: 0.5rem;
    background: rgba(30, 58, 95, 0.06);
    border: 1px solid rgba(148, 163, 184, 0.22);
    color: #1e3a5f;
    font-size: 0.76rem;
    font-weight: 700;
}

body.public-body .buyer-network-preview-checks {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.45rem;
}

body.public-body .buyer-network-preview-check {
    min-height: 3.55rem;
    border-radius: 1rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.95));
    border: 1px solid rgba(203, 213, 225, 0.82);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.06), inset 0 1px 0 rgba(255,255,255,0.88);
}

body.public-body .buyer-network-preview-check-accent:nth-child(1) {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(255,255,255,0.98));
    border-color: rgba(96, 165, 250, 0.22);
}

body.public-body .buyer-network-preview-check-accent:nth-child(2) {
    background: linear-gradient(135deg, rgba(201, 54, 69, 0.08), rgba(255,255,255,0.98));
    border-color: rgba(248, 113, 113, 0.18);
}

body.public-body .buyer-network-preview-check-accent:nth-child(3) {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(255,255,255,0.98));
    border-color: rgba(52, 211, 153, 0.2);
}

body.public-body .buyer-network-preview-check-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #1e3a5f 0%, #294d7a 100%);
    color: #fff;
    box-shadow: 0 10px 18px rgba(30, 58, 95, 0.18);
}

body.public-body .buyer-network-preview-check-text {
    color: #28415f;
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.45;
}

body.public-body .buyer-network-preview-footer {
    margin-top: auto;
    padding-top: 0.2rem;
}

body.public-body .buyer-network-preview-footnote {
    color: #53657f;
    font-size: 0.88rem;
    line-height: 1.45;
    max-width: 26rem;
}

body.public-body .buyer-network-preview-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.82rem 1.1rem;
    border-radius: 0.625rem;
    background: linear-gradient(135deg, #c93645 0%, #b62c38 42%, #9a2430 100%);
    color: #fff;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    box-shadow: 0 16px 28px rgba(182, 44, 56, 0.24);
}

body.public-body .buyer-network-preview-icon {
    transition: transform 0.24s ease;
}

body.public-body .buyer-network-shell.is-open .buyer-network-preview-icon {
    transform: rotate(180deg);
}

body.public-body .buyer-network-form-shell {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease, transform 0.24s ease;
}

body.public-body .buyer-network-shell.is-open .buyer-network-form-shell {
    max-height: 2400px;
    opacity: 1;
    transform: translateY(0);
}

body.public-body .buyer-network-toggle {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem;
    width: 100%;
    border-radius: 1.75rem;
    background: linear-gradient(135deg, rgba(201, 54, 69, 0.96) 0%, rgba(182, 44, 56, 0.98) 46%, rgba(136, 31, 44, 0.98) 100%);
    color: #fff;
    padding: 1.2rem 1.25rem;
    font-weight: 800;
    letter-spacing: 0.01em;
    text-align: left;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 24px 40px rgba(182, 44, 56, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

body.public-body .buyer-network-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 44px rgba(182, 44, 56, 0.28);
    border-color: rgba(255, 255, 255, 0.24);
}

body.public-body .buyer-network-toggle-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    align-self: start;
    padding: 0.72rem 0.9rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.public-body .buyer-network-toggle-copy {
    min-width: 0;
}

body.public-body .buyer-network-toggle-copy-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

body.public-body .buyer-network-toggle-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 1.15rem;
    line-height: 1.1;
}

body.public-body .buyer-network-toggle-action {
    display: inline-flex;
    align-items: center;
    padding: 0.32rem 0.7rem;
    border-radius: 0.5rem;
    background: rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

body.public-body .buyer-network-toggle-text {
    margin-top: 0.55rem;
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.95rem;
    line-height: 1.55;
}

body.public-body .buyer-network-toggle-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.85rem;
}

body.public-body .buyer-network-toggle-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.42rem 0.72rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    font-weight: 700;
}

body.public-body .buyer-network-home-signals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1.15rem;
}

body.public-body .buyer-network-home-signal {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.48rem 0.78rem;
    border-radius: 0.5rem;
    background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
    border: 1px solid rgba(255,255,255,0.14);
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 10px 18px rgba(15, 23, 42, 0.16);
    color: rgba(255,255,255,0.94);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

body.public-body .buyer-network-home-benefits {
    display: grid;
    gap: 0.7rem;
    margin-top: 1.45rem;
}

body.public-body .buyer-network-home-benefit {
    min-height: 3.55rem;
    border-radius: 1rem;
    border: 1px solid rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 1rem;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 18px 28px rgba(15, 23, 42, 0.14);
}

body.public-body .buyer-network-home-benefit-blue {
    background: linear-gradient(135deg, rgba(41, 94, 163, 0.3), rgba(12, 33, 64, 0.58));
    border-color: rgba(103, 232, 249, 0.18);
}

body.public-body .buyer-network-home-benefit-red {
    background: linear-gradient(135deg, rgba(148, 43, 55, 0.38), rgba(16, 36, 63, 0.56));
    border-color: rgba(248, 113, 113, 0.16);
}

body.public-body .buyer-network-home-benefit-green {
    background: linear-gradient(135deg, rgba(22, 101, 52, 0.22), rgba(12, 33, 64, 0.56));
    border-color: rgba(167, 243, 208, 0.16);
}

body.public-body.cash-buyers-page .buyer-network-home-benefit {
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 20px 36px rgba(15, 23, 42, 0.18);
}

body.public-body.cash-buyers-page .buyer-network-home-benefit-blue {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.78), rgba(15, 23, 42, 0.86));
    border-color: rgba(147, 197, 253, 0.44);
}

body.public-body.cash-buyers-page .buyer-network-home-benefit-red {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.76), rgba(30, 41, 59, 0.84));
    border-color: rgba(252, 165, 165, 0.42);
}

body.public-body.cash-buyers-page .buyer-network-home-benefit-green {
    background: linear-gradient(135deg, rgba(22, 163, 74, 0.74), rgba(15, 23, 42, 0.84));
    border-color: rgba(134, 239, 172, 0.4);
}

body.public-body.cash-buyers-page .buyer-network-home-benefit-icon {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.28);
    box-shadow: 0 12px 22px rgba(15, 23, 42, 0.18);
}

body.public-body.cash-buyers-page label:has(input[name="isRealtor"]) {
    background: linear-gradient(135deg, rgba(255, 247, 237, 0.96), rgba(255, 237, 213, 0.98)) !important;
    border-color: rgba(251, 146, 60, 0.42) !important;
    box-shadow: 0 12px 22px rgba(251, 146, 60, 0.12);
}

body.public-body.cash-buyers-page label:has(input[name="textAlertsConsent"]) {
    background: linear-gradient(135deg, rgba(236, 253, 245, 0.98), rgba(209, 250, 229, 0.98)) !important;
    border-color: rgba(34, 197, 94, 0.34) !important;
    box-shadow: 0 12px 22px rgba(34, 197, 94, 0.12);
}

body.public-body.cash-buyers-page label:has(input[name="communicationConsent"]) {
    background: linear-gradient(135deg, rgba(239, 246, 255, 0.98), rgba(219, 234, 254, 0.98)) !important;
    border-color: rgba(59, 130, 246, 0.34) !important;
    box-shadow: 0 12px 22px rgba(59, 130, 246, 0.12);
}

body.public-body.cash-buyers-page .buyer-network-preview-check-accent:nth-child(1) {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.18), rgba(255,255,255,0.99));
    border-color: rgba(59, 130, 246, 0.3);
}

body.public-body.cash-buyers-page .buyer-network-preview-check-accent:nth-child(2) {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.18), rgba(255,255,255,0.99));
    border-color: rgba(239, 68, 68, 0.28);
}

body.public-body.cash-buyers-page .buyer-network-preview-check-accent:nth-child(3) {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.18), rgba(255,255,255,0.99));
    border-color: rgba(34, 197, 94, 0.28);
}

body.public-body .buyer-network-home-benefit-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.16);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.12);
}

body.public-body .buyer-network-home-benefit-text {
    color: rgba(255,255,255,0.96);
    font-size: 0.92rem;
    font-weight: 650;
    line-height: 1.45;
}

body.public-body .buyer-network-toggle-chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

body.public-body .buyer-network-toggle-icon {
    transition: transform 0.24s ease;
}

body.public-body .buyer-network-shell.is-open .buyer-network-toggle-icon {
    transform: rotate(180deg);
}

body.public-body .buyer-network-shell.is-open .buyer-network-toggle-action {
    background: rgba(15, 23, 42, 0.26);
}

body.public-body .site-cta-band {
    padding-top: 6.5rem;
    padding-bottom: 6.5rem;
}

body.public-body .site-cta-band .cash-buyers-form {
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.18);
}

@media (max-width: 768px) {
    body.public-body .buyer-network-preview-card {
        min-height: 26.5rem;
        padding: 1rem;
    }

    body.public-body .buyer-network-preview-grid-two {
        grid-template-columns: 1fr;
    }

    body.public-body .buyer-network-preview-footer {
        align-items: flex-start;
    }

    body.public-body .buyer-network-toggle {
        grid-template-columns: 1fr;
        gap: 0.95rem;
        padding: 1rem;
    }

    body.public-body .buyer-network-toggle-copy-top {
        align-items: flex-start;
    }

    body.public-body .buyer-network-toggle-chevron {
        width: 100%;
        height: 2.5rem;
    }
}

body.public-body .site-footer {
    position: relative;
}

body.public-body .site-footer::before {
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    border-radius: 9999px;
}

body.public-body .site-footer-grid {
    display: grid;
    gap: 2rem;
}

@media (min-width: 768px) {
    body.public-body .site-footer-grid {
        grid-template-columns: 1.35fr 0.95fr 1.25fr 0.72fr 1.12fr;
        align-items: start;
    }
}

body.public-body .site-footer-contact {
    min-width: 0;
}

body.public-body .site-footer-social {
    padding-left: 0.25rem;
}

body.public-body .site-footer-cta {
    min-height: 100%;
}

body.public-body .tracker-point-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.public-body .tracker-point-card p {
    display: none;
}

body.public-body .tracker-shell-wide {
    max-width: 7rem;
}

body.public-body .metric-premium-card {
    border-radius: 1.6rem;
    border: 1px solid rgba(226, 232, 240, 0.82);
    background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.94));
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

body.public-body .coaching-bundle-card {
    background: linear-gradient(135deg, #143150 0%, #1b4166 42%, #244d76 100%);
    box-shadow: 0 28px 56px rgba(15, 23, 42, 0.16);
}

body.public-body .site-profile-menu {
    position: relative;
    display: flex;
    align-items: center;
}

body.public-body .site-profile-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3.2rem;
    height: 3.2rem;
    border-radius: 9999px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.98), rgba(241,245,249,0.96)),
        radial-gradient(circle at top, rgba(30,58,95,0.1), transparent 55%);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 12px 28px rgba(15, 23, 42, 0.1);
    color: #1e3a5f;
    transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.public-body .site-profile-trigger:hover {
    transform: translateY(-1px);
    border-color: rgba(148, 163, 184, 0.95);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.06),
        0 16px 34px rgba(15, 23, 42, 0.12);
}

body.public-body .site-profile-trigger:focus-visible,
body.public-body .site-profile-item:focus-visible {
    outline: 2px solid #1e3a5f;
    outline-offset: 3px;
}

body.public-body .site-profile-trigger-badge {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
}

body.public-body .site-profile-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: currentColor;
}

body.public-body .site-profile-trigger-mini-badge {
    position: absolute;
    right: -0.52rem;
    bottom: -0.4rem;
    min-width: 1.2rem;
    height: 1.2rem;
    padding: 0 0.24rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(160deg, #b62c38 0%, #8f2130 100%);
    box-shadow: 0 8px 18px rgba(182, 44, 56, 0.3);
    border: 2px solid rgba(255,255,255,0.95);
    color: #fff;
    font-size: 0.56rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
}

body.public-body .site-profile-panel {
    position: absolute;
    top: calc(100% + 0.8rem);
    right: 0;
    width: min(18.5rem, calc(100vw - 2rem));
    padding: 0.95rem;
    border-radius: 1.4rem;
    border: 1px solid rgba(226, 232, 240, 0.92);
    background:
        linear-gradient(180deg, rgba(255,255,255,0.985), rgba(248,250,252,0.97)),
        radial-gradient(circle at top right, rgba(30,58,95,0.08), transparent 38%);
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
    backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 160ms ease, transform 160ms ease, visibility 160ms ease;
    z-index: 120;
}

body.public-body .site-profile-menu.is-open .site-profile-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

body.public-body .site-profile-panel-head {
    padding: 0.1rem 0.15rem 0.8rem;
}

body.public-body .site-profile-panel-title {
    color: #10243f;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

body.public-body .site-profile-panel-subtitle {
    margin-top: 0.22rem;
    color: #64748b;
    font-size: 0.82rem;
    line-height: 1.45;
}

body.public-body .site-profile-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: flex-start;
    border-radius: 1rem;
    padding: 0.78rem 0.9rem;
    color: #1e293b;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    background: transparent;
    border: 1px solid transparent;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

body.public-body .site-profile-item:hover {
    background: rgba(241, 245, 249, 0.96);
    border-color: rgba(226, 232, 240, 0.92);
    transform: translateX(1px);
}

body.public-body .site-profile-item + .site-profile-item {
    margin-top: 0.2rem;
}

body.public-body .site-profile-item-primary {
    background: linear-gradient(160deg, rgba(182,44,56,0.1), rgba(182,44,56,0.04));
    border-color: rgba(182, 44, 56, 0.16);
    color: #9a2430;
}

body.public-body .site-profile-item-danger {
    color: #b62c38;
}

body.public-body .site-profile-item-danger:hover {
    background: rgba(254, 242, 242, 0.96);
    border-color: rgba(252, 165, 165, 0.42);
    color: #9f1239;
}

body.public-body .site-profile-trigger-mobile {
    width: 100%;
    height: auto;
    padding: 0.95rem 1rem;
    justify-content: space-between;
    border-radius: 1.1rem;
}

body.public-body .site-profile-trigger-copy {
    flex: 1 1 auto;
    padding-left: 0.85rem;
    text-align: left;
    color: #10243f;
    font-size: 0.96rem;
    font-weight: 700;
}

body.public-body .site-profile-trigger-chevron {
    width: 1rem;
    height: 1rem;
    color: #64748b;
}

body.public-body .site-profile-menu-mobile {
    width: 100%;
}

body.public-body .site-profile-panel-mobile {
    position: static;
    width: 100%;
    margin-top: 0.75rem;
    transform: none;
    box-shadow: 0 18px 38px rgba(15, 23, 42, 0.1);
    display: none;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

body.public-body .site-profile-menu-mobile.is-open .site-profile-panel-mobile {
    display: block;
}

@media (max-width: 1023px) {
    body.public-body .stats-bar {
        gap: 0.3rem;
    }

    body.public-body .stat-item {
        flex: 1 1 calc(50% - 0.3rem);
        border-right: 0;
        border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    }

    body.public-body .stat-item:nth-last-child(-n+2) {
        border-bottom: 0;
    }
}

@media (max-width: 767px) {
    body.public-body .section-stack {
        gap: 0.55rem;
    }

    body.public-body .hero-stats-seam {
        transform: translateY(-50%);
    }

    body.public-body .stats-rail-wrap {
        padding-top: 0;
        padding-bottom: 0;
    }

    body.public-body .stats-bar {
        padding: 0.85rem;
    }

    body.public-body .stat-item {
        flex-basis: 100%;
        border-bottom: 1px solid rgba(226, 232, 240, 0.7);
    }

    body.public-body .stat-item:not(:last-child)::after {
        display: none;
    }

    body.public-body .stat-item:last-child {
        border-bottom: 0;
    }

    body.public-body .how-buying-section {
        padding-top: 5.8rem;
    }

    body.public-body.deals-page .deals-hero {
        padding-bottom: 4.9rem !important;
    }

    body.public-body.deals-page .deals-filter-bar {
        width: 100%;
    }

    body.public-body.deals-page .deals-filter-surface {
        padding: 0.9rem;
        border-radius: 1.25rem;
    }

    body.public-body.deals-page .deals-filter-toolbar {
        align-items: stretch;
    }

    body.public-body.deals-page .deals-filter-group {
        justify-content: center;
    }

    body.public-body.deals-page .deals-filter-seam {
        margin-top: -2.35rem;
        padding-bottom: 0;
    }

    body.public-body.deals-page .deals-content-section {
        padding-top: 2.15rem !important;
    }

    body.public-body.deals-page .deals-results-heading {
        font-size: 1.8rem;
    }

    body.public-body.deals-page .deals-results-copy {
        max-width: none;
    }

    body.public-body.deals-page .deals-grid {
        grid-template-columns: minmax(0, 22rem);
    }

    body.public-body .tracker-point-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   v2 polish layer — additive refinement, no structural changes.
   Tightens type, modernizes hero overlay for distressed photos,
   adds subtle motion, sharpens cards and CTAs.
   ============================================================ */

body.public-body h1,
body.public-body h2,
body.public-body h3,
body.public-body .section-title-gradient {
    text-wrap: balance;
    letter-spacing: -0.018em;
}

body.public-body h1 {
    line-height: 1.04;
}

body.public-body h2 {
    line-height: 1.12;
}

body.public-body p {
    text-wrap: pretty;
}

body.public-body .gradient-text,
body.public-body .section-title-gradient {
    background: linear-gradient(135deg, #1e3a5f 0%, #355f8c 38%, #b62c38 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

body.public-body .section-eyebrow {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 0.9rem;
    border-radius: 0.5rem;
    border: 1px solid rgba(182, 44, 56, 0.16);
    background: linear-gradient(135deg, rgba(182, 44, 56, 0.08), rgba(30, 58, 95, 0.06));
    color: #b62c38;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    box-shadow: 0 8px 18px rgba(182, 44, 56, 0.08);
}

body.public-body .section-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 0.45rem;
}

body.public-body .section-underline::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 3.6rem;
    height: 3px;
    border-radius: 9999px;
    background: linear-gradient(90deg, #b62c38, #1e3a5f 70%, #22c55e);
}

/* Hero photo overlay — heavier contrast so darker distressed photos read clean */
body.public-body .hero-slide-frame::after,
.hero-slide-frame::after {
    background:
        linear-gradient(180deg, rgba(15, 23, 42, 0.06) 0%, rgba(15, 23, 42, 0.18) 38%, rgba(15, 23, 42, 0.42) 100%),
        radial-gradient(circle at 86% 10%, rgba(182, 44, 56, 0.16), transparent 36%);
}

body.public-body .hero-slide,
.hero-slide {
    filter: saturate(0.92) contrast(1.08) brightness(0.86);
}

body.public-body .hero-slide-label,
.hero-slide-label {
    border: 1px solid rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.94);
    color: #13426b;
    font-weight: 700;
    backdrop-filter: blur(6px);
}

body.public-body .site-hero-card,
.site-hero-card {
    border-radius: 1.7rem;
}

/* Buttons — subtle inner highlight on hover, crisp focus ring */
body.public-body .btn-primary,
body.public-body .btn-secondary,
body.public-body .site-button-primary,
body.public-body .site-button-secondary {
    will-change: transform, box-shadow;
}

body.public-body .btn-primary::after,
body.public-body .btn-secondary::after,
body.public-body .site-button-primary::after,
body.public-body .site-button-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.18) 50%, transparent 70%);
    transform: translateX(-110%);
    transition: transform 540ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}

body.public-body .btn-primary:hover::after,
body.public-body .btn-secondary:hover::after,
body.public-body .site-button-primary:hover::after,
body.public-body .site-button-secondary:hover::after {
    transform: translateX(110%);
}

body.public-body .btn-primary:focus-visible,
body.public-body .btn-secondary:focus-visible,
body.public-body .site-button-primary:focus-visible,
body.public-body .site-button-secondary:focus-visible {
    outline: 2px solid rgba(182, 44, 56, 0.6);
    outline-offset: 3px;
}

/* Card polish — slightly tighter border radius, refined hover lift */
body.public-body .feature-card,
body.public-body .step-node,
body.public-body .card-hover,
body.public-body .public-card-hover {
    border-radius: 1.35rem;
    transition:
        transform 220ms cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 220ms cubic-bezier(0.22, 1, 0.36, 1),
        border-color 220ms ease;
}

body.public-body .feature-card:hover,
body.public-body .step-node:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(15, 23, 42, 0.12);
    border-color: rgba(148, 163, 184, 0.55);
}

body.public-body .deal-card {
    border-radius: 1.4rem;
}

body.public-body .deal-card-accent {
    height: 5px;
    background:
        linear-gradient(90deg, rgba(182, 44, 56, 1) 0%, rgba(30, 58, 95, 0.96) 52%, rgba(34, 197, 94, 0.78) 100%);
    box-shadow: 0 4px 14px rgba(182, 44, 56, 0.16);
}

/* Property thumbnail crispness */
body.public-body .property-image,
.property-image {
    filter: saturate(1.04) contrast(1.04);
}

/* Stats bar — tighter spine, modernized rail */
body.public-body .stats-bar {
    border-radius: 1.5rem;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.7) inset,
        0 22px 50px rgba(15, 23, 42, 0.1);
}

/* Refined link focus rings sitewide */
body.public-body a:focus-visible,
body.public-body button:focus-visible {
    outline: 2px solid rgba(30, 58, 95, 0.55);
    outline-offset: 2px;
    border-radius: 0.5rem;
}

/* Smoother scroll on the public site */
html.scroll-smooth body.public-body {
    scroll-behavior: smooth;
}

/* Selection highlight — branded */
body.public-body ::selection {
    background: rgba(182, 44, 56, 0.18);
    color: #0f172a;
}

/* Polished form inputs (auth, lead capture, etc) */
body.public-body input[type="text"],
body.public-body input[type="email"],
body.public-body input[type="tel"],
body.public-body input[type="password"],
body.public-body input[type="search"],
body.public-body input[type="number"],
body.public-body input[type="url"],
body.public-body textarea,
body.public-body select {
    transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

body.public-body input[type="text"]:focus,
body.public-body input[type="email"]:focus,
body.public-body input[type="tel"]:focus,
body.public-body input[type="password"]:focus,
body.public-body input[type="search"]:focus,
body.public-body input[type="number"]:focus,
body.public-body input[type="url"]:focus,
body.public-body textarea:focus,
body.public-body select:focus {
    border-color: rgba(30, 58, 95, 0.55);
    box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.12);
    outline: none;
}

@media (prefers-reduced-motion: reduce) {
    body.public-body .btn-primary::after,
    body.public-body .btn-secondary::after,
    body.public-body .site-button-primary::after,
    body.public-body .site-button-secondary::after {
        display: none;
    }
}

/* Home stats bar — pure white surface */
body.public-body .stats-bar {
    background: #ffffff;
}
body.public-body .stat-value {
    background: linear-gradient(90deg, #1e3a5f 0%, #a8323c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Remove crimson → navy → green underline bars beneath section headings sitewide */
body.public-body .section-underline::after {
    display: none !important;
}
body.public-body .section-underline {
    padding-bottom: 0 !important;
}

/* =====================================================================
   Deal cards — premium upgrade 2026-05-01
   Lifts the card surface, refines stat tiles, swaps the navy/crimson/green
   top bar for a subtle amber hairline, upgrades the View Deal CTA to a
   navy→crimson gradient strip with amber arrow accent on hover. Loaded
   late so it wins over the earlier polish layers in this file.
   ===================================================================== */
body.public-body .deal-card {
    position: relative;
    border-radius: 1.5rem !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    background:
        radial-gradient(circle at top right, rgba(252, 211, 77, 0.06), transparent 35%),
        linear-gradient(180deg, rgba(255,255,255,0.99), rgba(248,250,252,0.96)) !important;
    box-shadow:
        0 26px 58px rgba(15, 23, 42, 0.12),
        inset 0 1px 0 rgba(255,255,255,0.86) !important;
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
                border-color 240ms ease,
                box-shadow 240ms ease !important;
}
body.public-body .deal-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(252, 211, 77, 0.45) !important;
    box-shadow:
        0 36px 76px rgba(15, 23, 42, 0.18),
        0 0 0 1px rgba(252, 211, 77, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.9) !important;
}
/* Replace the navy/crimson/green top bar with an amber hairline that
   only shows on hover — quieter at rest, premium on hover. */
body.public-body .deal-card::before {
    content: '' !important;
    position: absolute !important;
    inset: 0 0 auto 0 !important;
    height: 2px !important;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(252, 211, 77, 0.0) 12%,
        rgba(252, 211, 77, 0.85) 50%,
        rgba(220, 38, 38, 0.55) 80%,
        transparent 100%) !important;
    opacity: 0 !important;
    transition: opacity 240ms ease !important;
    z-index: 2 !important;
}
body.public-body .deal-card:hover::before { opacity: 1 !important; }
body.public-body .deal-card::after { display: none !important; }

/* Status badge — glassier */
body.public-body .deal-card .status-badge {
    border: 1px solid rgba(255,255,255,0.28) !important;
    box-shadow:
        0 16px 32px rgba(15, 23, 42, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.18) !important;
    backdrop-filter: blur(14px) !important;
    letter-spacing: 0.16em !important;
}

/* Image area — tighter overlay, smoother zoom */
body.public-body .deal-card .property-image {
    transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1),
                filter 280ms ease !important;
}
body.public-body .deal-card:hover .property-image {
    transform: scale(1.045) !important;
    filter: saturate(1.08) contrast(1.04) !important;
}

/* Title — slight letter-spacing tightening + Outfit display feel */
body.public-body .deal-card h3 {
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Deal type badge — subtler, glassier, hairline border */
body.public-body .deal-type-badge {
    background: linear-gradient(135deg, #13426b 0%, #1a4f7b 100%) !important;
    border: 1px solid rgba(252, 211, 77, 0.28) !important;
    box-shadow:
        0 10px 22px rgba(19, 66, 107, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.16) !important;
    letter-spacing: 0.04em !important;
}

/* 3-column stat tiles — premium gradient backgrounds + tabular numerics */
body.public-body .deal-card .grid.grid-cols-3 > div {
    background:
        radial-gradient(circle at top, rgba(252, 211, 77, 0.05), transparent 70%),
        linear-gradient(180deg, rgba(255,255,255,1), rgba(248,250,252,0.92)) !important;
    border: 1px solid rgba(226, 232, 240, 0.92) !important;
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.86),
        0 1px 2px rgba(15, 23, 42, 0.04) !important;
    transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
body.public-body .deal-card .grid.grid-cols-3 > div:hover {
    border-color: rgba(252, 211, 77, 0.4) !important;
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,0.9),
        0 8px 16px rgba(15, 23, 42, 0.08) !important;
}
body.public-body .deal-card .grid.grid-cols-3 > div p:first-child {
    font-size: 10px !important;
    font-weight: 700 !important;
    letter-spacing: 0.2em !important;
    color: rgba(100, 116, 139, 0.85) !important;
}
body.public-body .deal-card .grid.grid-cols-3 > div p:last-child {
    font-variant-numeric: tabular-nums;
    font-size: 0.95rem !important;
    line-height: 1.15;
}

/* Bed/bath/sqft row — slightly stronger contrast */
body.public-body .deal-card .flex.items-center.gap-4.text-sm.text-gray-600 {
    color: #475569 !important;
    font-weight: 500;
}
body.public-body .deal-card .flex.items-center.gap-4.text-sm.text-gray-600 i {
    color: rgba(19, 66, 107, 0.75) !important;
}

/* "View Deal Details" CTA — navy→crimson gradient strip, amber arrow on hover.
   Targets the bottom row inside the card body (4-col flex with arrow). */
body.public-body .deal-card .mt-4.flex.items-center.justify-between.rounded-2xl {
    background: linear-gradient(135deg,
        #0e2746 0%,
        #13426b 50%,
        #1a4f7b 100%) !important;
    border: 1px solid rgba(252, 211, 77, 0.22) !important;
    color: #ffffff !important;
    box-shadow:
        0 12px 24px rgba(8, 15, 28, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.12) !important;
    transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
    position: relative;
    overflow: hidden;
}
body.public-body .deal-card .mt-4.flex.items-center.justify-between.rounded-2xl::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 35%, rgba(252, 211, 77, 0.18) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
    pointer-events: none;
}
body.public-body .deal-card:hover .mt-4.flex.items-center.justify-between.rounded-2xl::before {
    transform: translateX(100%);
}
body.public-body .deal-card .mt-4.flex.items-center.justify-between.rounded-2xl span {
    color: #ffffff !important;
}
body.public-body .deal-card .mt-4.flex.items-center.justify-between.rounded-2xl i[data-lucide="eye"] {
    color: #fcd34d !important;
}
body.public-body .deal-card .mt-4.flex.items-center.justify-between.rounded-2xl i[data-lucide="arrow-up-right"] {
    color: rgba(252, 211, 77, 0.75) !important;
    transition: transform 200ms ease, color 200ms ease;
}
body.public-body .deal-card:hover .mt-4.flex.items-center.justify-between.rounded-2xl {
    border-color: rgba(252, 211, 77, 0.45) !important;
    box-shadow:
        0 18px 32px rgba(8, 15, 28, 0.32),
        inset 0 1px 0 rgba(255,255,255,0.16) !important;
}
body.public-body .deal-card:hover .mt-4.flex.items-center.justify-between.rounded-2xl i[data-lucide="arrow-up-right"] {
    color: #fcd34d !important;
    transform: translate(2px, -2px);
}

/* =====================================================================
   How Buying Works — navy footer-style background with inverted text
   Matches the site footer's navy gradient so the section reads as a
   dark-mode panel. Headings, eyebrow, and step copy switch to white.
   ===================================================================== */
body.public-body .how-buying-section {
    background: linear-gradient(160deg, #07192e 0%, #0f2848 55%, #162f56 100%) !important;
}
body.public-body .how-buying-section .section-eyebrow {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}
body.public-body .how-buying-section .section-eyebrow i {
    color: #fcd34d !important;
}
body.public-body .how-buying-section h2,
body.public-body .how-buying-section .section-underline {
    color: #ffffff !important;
}
body.public-body .how-buying-section .section-copy-tight,
body.public-body .how-buying-section .section-stack > p {
    color: rgba(255, 255, 255, 0.78) !important;
}
body.public-body .how-buying-section .step-node {
    background: rgba(255, 255, 255, 0.06) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    box-shadow:
        0 18px 36px rgba(0, 0, 0, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.08) !important;
}
body.public-body .how-buying-section .step-node:hover {
    background: rgba(255, 255, 255, 0.10) !important;
    border-color: rgba(252, 211, 77, 0.45) !important;
    box-shadow:
        0 22px 44px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
}
body.public-body .how-buying-section .step-title {
    color: #ffffff !important;
}
body.public-body .how-buying-section .step-body {
    color: rgba(255, 255, 255, 0.78) !important;
}
body.public-body .how-buying-section .steps-track::before {
    background: rgba(255, 255, 255, 0.18) !important;
}
body.public-body .how-buying-section .step-node::after {
    border-color: rgba(255, 255, 255, 0.22) !important;
}

/* =====================================================================
   Recently Sold Deals — same navy footer-style background as
   How Buying Works. Deal cards inside keep their premium treatment.
   ===================================================================== */
body.public-body .recently-sold-section {
    background: linear-gradient(160deg, #07192e 0%, #0f2848 55%, #162f56 100%) !important;
}
body.public-body .recently-sold-section .section-eyebrow {
    background: rgba(255, 255, 255, 0.12) !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.25) !important;
}
body.public-body .recently-sold-section .section-eyebrow i {
    color: #fcd34d !important;
}
body.public-body .recently-sold-section h2,
body.public-body .recently-sold-section .section-underline {
    color: #ffffff !important;
}
body.public-body .recently-sold-section .section-copy-tight,
body.public-body .recently-sold-section .section-stack > p {
    color: rgba(255, 255, 255, 0.78) !important;
}
body.public-body .recently-sold-section .section-stack > p.text-gray-400 {
    color: rgba(255, 255, 255, 0.55) !important;
}

/* =====================================================================
   Footer brand — Joe Homebuyer logo image stacked above the wordmark
   ===================================================================== */
body.public-body .site-footer-brand {
    line-height: 1;
}
body.public-body .site-footer-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 13rem;
    max-height: 4.5rem;
    object-fit: contain;
}

/* ============================================================
   JHB INPUT PRIMITIVE — unifies .auth-input / .admin-input / .jv-input
   so every form field on the site has identical look + focus state.
   ============================================================ */
.jhb-input,
body.public-body .auth-input,
body.public-body .admin-input,
body.public-body .jv-input,
body.public-body .public-form-input,
#settings-section .adm-brand-input,
.adm-brand-input {
    width: 100%;
    border: 1px solid var(--line);
    background: var(--surface-2);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.95rem;
    font-size: 0.92rem;
    color: var(--ink-strong);
    font-family: 'Inter', sans-serif;
    transition: border-color var(--transition-fast),
                box-shadow var(--transition-fast),
                background var(--transition-fast);
}
.jhb-input::placeholder,
body.public-body .auth-input::placeholder,
body.public-body .admin-input::placeholder,
body.public-body .jv-input::placeholder,
body.public-body .public-form-input::placeholder,
#settings-section .adm-brand-input::placeholder,
.adm-brand-input::placeholder {
    color: var(--ink-faint);
}
.jhb-input:hover,
body.public-body .auth-input:hover,
body.public-body .admin-input:hover,
body.public-body .jv-input:hover,
body.public-body .public-form-input:hover,
#settings-section .adm-brand-input:hover,
.adm-brand-input:hover {
    border-color: var(--line-strong);
}
.jhb-input:focus,
body.public-body .auth-input:focus,
body.public-body .admin-input:focus,
body.public-body .jv-input:focus,
body.public-body .public-form-input:focus,
#settings-section .adm-brand-input:focus,
.adm-brand-input:focus {
    outline: none;
    background: var(--surface-0);
    border-color: var(--brand-navy);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.12);
}
.jhb-input:disabled,
body.public-body .auth-input:disabled,
body.public-body .admin-input:disabled,
body.public-body .jv-input:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    background: var(--surface-3);
}

/* ============================================================
   JHB LOADING + EMPTY STATE PRIMITIVES
   ============================================================ */
@keyframes jhb-skeleton-shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
.jhb-skeleton {
    display: block;
    border-radius: var(--radius-sm);
    background: linear-gradient(
        90deg,
        var(--surface-2) 0%,
        var(--surface-3) 40%,
        var(--surface-2) 80%
    );
    background-size: 200% 100%;
    animation: jhb-skeleton-shimmer 1.4s ease-in-out infinite;
    color: transparent;
    user-select: none;
    pointer-events: none;
}
.jhb-skeleton-line { height: 0.85rem; margin: 0.45rem 0; }
.jhb-skeleton-line.is-short { width: 40%; }
.jhb-skeleton-line.is-medium { width: 70%; }
.jhb-skeleton-card { height: 11rem; border-radius: var(--radius-lg); }
.jhb-skeleton-circle { width: 3rem; height: 3rem; border-radius: 9999px; }

.jhb-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.85rem;
    padding: 2.5rem 1.5rem;
    text-align: center;
    border: 1px dashed var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-1);
    color: var(--ink-muted);
}
.jhb-empty-icon {
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-navy) 0%, var(--brand-navy-deep) 100%);
    color: #fff;
    box-shadow: var(--shadow-md);
}
.jhb-empty-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--ink-strong);
    letter-spacing: -0.01em;
}
.jhb-empty-body {
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 26rem;
}

@keyframes jhb-spinner-rotate {
    to { transform: rotate(360deg); }
}
.jhb-spinner {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 9999px;
    animation: jhb-spinner-rotate 0.7s linear infinite;
    vertical-align: -2px;
}
.jhb-spinner-lg { width: 1.5rem; height: 1.5rem; border-width: 3px; }

/* ============================================================
   JHB MOBILE / RESPONSIVE POLISH
   ============================================================ */
@media (max-width: 640px) {
    body.public-body main h1 {
        font-size: clamp(2rem, 9vw, 2.75rem);
        line-height: 1.1;
        letter-spacing: -0.02em;
    }
    body.public-body main h2 {
        font-size: clamp(1.5rem, 6vw, 2rem);
    }
    body.public-body main p.text-xl,
    body.public-body main p.text-2xl {
        font-size: 1.05rem;
        line-height: 1.55;
    }
    body.public-body .section-hero {
        padding: 1.25rem 1rem;
    }
    body.public-body .section-hero-title,
    body.public-body .admin-display-font {
        font-size: clamp(1.4rem, 6vw, 1.85rem);
    }
    body.public-body .deal-card,
    body.public-body .jhb-card {
        border-radius: var(--radius-lg);
    }
    body.public-body .btn-primary,
    body.public-body .btn-secondary,
    body.public-body .site-button-primary,
    body.public-body .site-button-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.85rem 1rem;
    }
    body.public-body .btn-primary.btn-inline,
    body.public-body .btn-secondary.btn-inline {
        width: auto;
    }
    body.public-body .site-header-logo {
        height: 38px;
        max-width: 150px;
    }
    body.public-body .site-footer-grid {
        gap: 2rem;
    }
    body.public-body .public-chat-launcher,
    body.public-body .buyer-stay-bubble {
        max-width: calc(100vw - 1.5rem);
        font-size: 0.85rem;
    }
}

/* ============================================================
   JHB DARK MODE
   Activates via OS prefers-color-scheme, or [data-theme="dark"]
   on <html>/<body> for explicit toggle. Tokens flip; component
   CSS that references the tokens just works.
   ============================================================ */
@media (prefers-color-scheme: dark) {
    :root:not([data-theme="light"]) {
        --surface-0: #0f1c30;
        --surface-1: #122236;
        --surface-2: #18293f;
        --surface-3: #1f3149;
        --ink-strong: #f1f5f9;
        --ink-body: #cbd5e1;
        --ink-muted: #94a3b8;
        --ink-faint: #64748b;
        --line-strong: rgba(148, 163, 184, 0.45);
        --line: rgba(148, 163, 184, 0.22);
        --line-soft: rgba(148, 163, 184, 0.12);
        --brand-paper: #18293f;
        --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 14px -8px rgba(0, 0, 0, 0.4);
        --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 28px -10px rgba(0, 0, 0, 0.5);
        --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.3), 0 22px 44px -14px rgba(0, 0, 0, 0.55);
        --shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.3), 0 28px 52px -14px rgba(0, 0, 0, 0.6);
        --public-bg-top: #0a1626;
        --public-bg-bottom: #0f1c30;
        --public-glass: rgba(15, 28, 48, 0.82);
        --public-glass-strong: rgba(15, 28, 48, 0.92);
    }
}
[data-theme="dark"] {
    --surface-0: #0f1c30;
    --surface-1: #122236;
    --surface-2: #18293f;
    --surface-3: #1f3149;
    --ink-strong: #f1f5f9;
    --ink-body: #cbd5e1;
    --ink-muted: #94a3b8;
    --ink-faint: #64748b;
    --line-strong: rgba(148, 163, 184, 0.45);
    --line: rgba(148, 163, 184, 0.22);
    --line-soft: rgba(148, 163, 184, 0.12);
    --brand-paper: #18293f;
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3), 0 6px 14px -8px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 1px 2px rgba(0, 0, 0, 0.3), 0 14px 28px -10px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 1px 2px rgba(0, 0, 0, 0.3), 0 22px 44px -14px rgba(0, 0, 0, 0.55);
    --shadow-hover: 0 1px 2px rgba(0, 0, 0, 0.3), 0 28px 52px -14px rgba(0, 0, 0, 0.6);
    --public-bg-top: #0a1626;
    --public-bg-bottom: #0f1c30;
    --public-glass: rgba(15, 28, 48, 0.82);
    --public-glass-strong: rgba(15, 28, 48, 0.92);
}
