/**
 * public.app.css — unified public site styles (extracted from Blade)
 */
/* ===== layouts/public ===== */
* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        :root {
            --navy: #000032;
            --deep: #0e0017;
            --accent: #1DDF99;
            --text: #000032;
            --text-light: #4a4a62;
            --bg: #ffffff;
            --bg-light: #f5f6f8;
            --border: #e2e4ec;
            --success: #10b981;
            --warning: #f59e0b;
            --primary: var(--accent);
            --secondary: var(--deep);
            /* Callout notices — tints from --navy / --warning / --success + --bg / --text */
            --notice-radius: 10px;
            --notice-pad-y: 0.75rem;
            --notice-pad-x: 0.875rem;
            --notice-info-bg: rgba(0, 0, 50, 0.055);
            --notice-info-border: rgba(0, 0, 50, 0.14);
            --notice-info-text: var(--text);
            --notice-warning-bg: rgba(245, 158, 11, 0.14);
            --notice-warning-border: rgba(245, 158, 11, 0.42);
            --notice-warning-text: var(--text);
            --notice-success-bg: rgba(16, 185, 129, 0.12);
            --notice-success-border: rgba(16, 185, 129, 0.38);
            --notice-success-text: var(--text);
        }

        a {
            color: var(--navy) !important;
            text-decoration: none;
            font-weight: 600;
            font-size: 0.9rem;
            text-decoration: underline;
        }

        /* Callout boxes (legal copy, informational banners) */
        .notice {
            padding: var(--notice-pad-y) var(--notice-pad-x);
            border-radius: var(--notice-radius);
            margin: 0 0 1.125rem;
            border: 1px solid transparent;
            font-size: 0.95rem;
            line-height: 1.5;
            color: var(--text);
        }

        .notice--info {
            background: var(--notice-info-bg);
            border-color: var(--notice-info-border);
            color: var(--notice-info-text);
        }

        .notice--warning {
            background: var(--notice-warning-bg);
            border-color: var(--notice-warning-border);
            color: var(--notice-warning-text);
        }

        .notice--success {
            background: var(--notice-success-bg);
            border-color: var(--notice-success-border);
            color: var(--notice-success-text);
        }

        .notice--spacing-top {
            margin-top: 0.75rem;
        }

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
            line-height: 1.6;
            color: var(--text);
            background: var(--bg);
        }

        /* Anchor scroll offset under sticky header */
        section[id] {
            scroll-margin-top: 88px;
        }

        /* Site chrome only — avoid bare `header` so section headings (<header>) inside main are not styled as the nav bar */
        #pubSiteHeader {
            background: var(--navy);
            border-bottom: 1px solid rgba(255,255,255,0.08);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 12px rgba(0,0,17,0.35);
        }

        body.pub-home-landing header.pub-header--over-hero {
            background: transparent;
            border-bottom: none;
            box-shadow: none;
            position: absolute;
            left: 0;
            right: 0;
            top: 0;
        }

        body.pub-home-landing header.pub-header--over-hero.pub-header--scrolled {
            position: sticky;
            background: rgba(0, 0, 50, 0.92);
            border-bottom: 1px solid rgba(255,255,255,0.1);
            backdrop-filter: blur(12px);
            -webkit-backdrop-filter: blur(12px);
            box-shadow: 0 4px 24px rgba(0,0,17,0.4);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1rem 1.5rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 1rem;
        }

        /* Desktop: logo left | pill nav + actions right */
        .main-nav {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            flex: 1;
            gap: 1rem;
            min-width: 0;
        }
        .main-nav-links {
            display: flex;
            flex: 1;
            justify-content: flex-end;
            flex-wrap: wrap;
            gap: 1rem 1.25rem;
            align-items: center;
        }
        .header-nav-pill .main-nav-links {
            /*flex: 0 1 auto;*/
            /*justify-content: center;*/
            gap: 0.35rem 1rem;
        }
        .main-nav-links a {
            font-size: 0.85rem;
            white-space: nowrap;
            font-weight: 300;
            color: var(--bg-light) !important;
        }
        .main-nav-actions {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            flex-shrink: 0;
        }

        .logo {
            display: flex;
            align-items: center;
            text-decoration: none;
            height: 40px;
        }

        .logo img {
            height: 40px;
            width: auto;
            max-width: 200px;
        }

        .logo.logo--brand {
            height: auto;
            gap: 10px;
        }

        .logo.logo--brand .logo__mark {
            width: 40px;
            height: 40px;
            border-radius: 11px;
            object-fit: cover;
            flex-shrink: 0;
            box-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
        }

        .logo.logo--brand .logo__text {
            color: #fff;
            font-weight: 700;
            font-size: 1.35rem;
            letter-spacing: -0.03em;
            line-height: 1;
        }

        .header-nav-pill {
            background: rgba(255, 255, 255, 0.07);
            border: 1px solid rgba(255, 255, 255, 0.18);
            border-radius: 999px;
            padding: 0.35rem 1rem;
            display: flex;
            align-items: center;
            gap: 0.95rem;
            width: 100%;
            justify-content: flex-start;
            margin-left: auto;
        }

        .header-nav-brand {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            text-decoration: none;
            padding-right: 0.8rem;
            margin-right: 0.2rem;
            border-right: 1px solid rgba(255, 255, 255, 0.14);
            flex-shrink: 0;
        }

        .header-nav-brand .logo__mark {
            width: 22px;
            height: 22px;
            border-radius: 6px;
            box-shadow: none;
        }

        .header-nav-brand .logo__text {
            font-size: 0.95rem;
            letter-spacing: -0.01em;
        }

        @media (max-width: 899px) {
            .header-nav-pill {
                background: transparent;
                border: none;
                padding: 0;
                border-radius: 0;
                width: 100%;
            }

            .header-nav-brand {
                display: none;
            }
        }

        .menu-toggle {
            display: none;
            background: none;
            border: none;
            cursor: pointer;
            padding: 0;
            align-items: center;
            justify-content: center;
            z-index: 1003;
        }

        .logo-menu-toggle {
            text-decoration: none;
            display: none;
            border-radius: 999px;
            border: 1px solid rgba(255, 255, 255, 0.22);
            background: rgba(0, 0, 50, 0.6);
            padding: 0.35rem 0.55rem;
            gap: 0.45rem;
            transition: border-color 0.2s ease, background 0.2s ease;
        }

        .logo-menu-toggle .logo__mark {
            width: 24px;
            height: 24px;
            border-radius: 7px;
            box-shadow: none;
        }

        .logo-menu-toggle .logo__text {
            font-size: 0.85rem;
            letter-spacing: -0.01em;
            font-weight: 300;
        }

        .logo-menu-toggle.active,
        .logo-menu-toggle:hover {
            border-color: rgba(29, 223, 153, 0.68);
            background: rgba(0, 0, 50, 0.82);
        }

        nav {
            display: flex;
            gap: 1.5rem;
            align-items: center;
        }

        nav a {
            color: rgba(255,255,255,0.92);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.2s;
        }

        nav a:hover {
            color: var(--accent);
        }

        @media (max-width: 899px) {
            .menu-toggle {
                display: flex;
                margin-right: auto;
            }

            .logo-menu-toggle {
                display: inline-flex;
            }

            .main-nav {
                position: fixed;
                top: 0;
                right: -100%;
                width: min(320px, 88vw);
                height: 100vh;
                background: var(--deep);
                flex-direction: column;
                align-items: stretch;
                justify-content: flex-start;
                padding: 4.5rem 1.75rem 2rem;
                box-shadow: -4px 0 24px rgba(0,0,17,0.5);
                transition: right 0.3s ease;
                z-index: 1002;
                gap: 0;
                flex: none;
                overflow-y: auto;
            }

            .main-nav.active {
                right: 0;
            }

            .main-nav-links {
                flex-direction: column;
                align-items: stretch;
                justify-content: flex-start;
                /*flex: 0;*/
                gap: 0;
            }

            .main-nav-links a {
                padding: 0.85rem 0;
                border-bottom: 1px solid rgba(255,255,255,0.1);
                width: 100%;
                white-space: normal;
            }

            .main-nav-actions {
                flex-direction: column;
                align-items: stretch;
                margin-top: 1.5rem;
                padding-top: 1.5rem;
                border-top: 1px solid rgba(255,255,255,0.12);
            }

            .main-nav-actions .locale-switcher {
                justify-content: center;
                width: 100%;
            }

            .main-nav-actions .btn {
                width: 100%;
                text-align: center;
            }
        }

        @media (min-width: 900px) {
            .menu-toggle {
                display: none !important;
            }

            .logo-menu-toggle {
                display: none !important;
            }

            .main-nav-links {
                justify-content: flex-end;
                flex: 1;
            }

            .main-nav {
                position: static;
                height: auto;
                width: auto;
                background: transparent;
                box-shadow: none;
                padding: 0;
                overflow: visible;
            }
        }

        .locale-switcher {
            display: flex;
            gap: 0.5rem;
            align-items: center;
        }

        .locale-switcher a {
            padding: 0.25rem 0.75rem;
            border-radius: 0.375rem;
            text-decoration: none;
            font-size: 0.875rem;
            transition: all 0.2s;
        }

        .locale-switcher a.active {
            background: var(--accent);
            color: var(--navy);
        }

        .locale-switcher a:not(.active) {
            color: var(--bg-light) !important;

        }

        .locale-switcher a:not(.active):hover {
            background: rgba(255,255,255,0.1);
            color: #fff;
        }

        .btn {
            display: inline-block;
            padding: 0.75rem 1.5rem;
            border-radius: 0.5rem;
            text-decoration: none;
            font-weight: 300;
            transition: all 0.2s;
            border: none;
            cursor: pointer;
            font-size: 1rem;
        }

        .btn-primary {
            background: var(--accent);
            color: var(--navy);
            border: none;
            padding: .6rem 0.85rem;
            border-radius: 0.7rem;
            text-decoration: none;
            font-size: 0.75rem;
            transition: all 0.2s;
            font-weight: 400;
        }

        .btn-primary:hover {
            /*filter: brightness(1.06);*/
            /*transform: translateY(-1px);*/
            /*box-shadow: 0 4px 16px rgba(29, 223, 153, 0.45);*/
            background: var(--accent);
            color: var(--navy);
        }

        .btn-secondary {
            background: rgba(255,255,255,0.12);
            color: #fff;
            border: 1px solid rgba(255,255,255,0.25);
        }

        .btn-secondary:hover {
            background: rgba(255,255,255,0.2);
            border-color: rgba(255,255,255,0.35);
        }

        /* Main Content */
        main {
            min-height: calc(100vh - 200px);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 1.5rem;
        }

        .section {
            padding: 4rem 0;
        }

        .section-alt {
            background: var(--bg-light);
        }

        /* Hero Section */
        .hero {
            position: relative;
            color: white;
            padding: 6rem 0;
            text-align: center;
            overflow: hidden;
            min-height: 500px;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(145deg, var(--navy) 0%, var(--deep) 45%, #001a28 100%);
            z-index: 0;
        }

        .hero-background {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: 1;
            opacity: 0;
            animation: heroFade 10s infinite;
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
            transition: opacity 1.5s ease-in-out;
        }

        .hero-background:nth-child(1) {
            animation-delay: 0s;
        }

        .hero-background:nth-child(2) {
            animation-delay: 5s;
        }

        @keyframes heroFade {
            0% {
                opacity: 0;
            }
            2% {
                opacity: 0.4;
            }
            48% {
                opacity: 0.4;
            }
            50% {
                opacity: 0;
            }
            100% {
                opacity: 0;
            }
        }

        .hero-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, rgba(0, 0, 50, 0.82) 0%, rgba(14, 0, 23, 0.88) 55%, rgba(29, 223, 153, 0.18) 100%);
            z-index: 2;
        }

        .hero-content {
            position: relative;
            z-index: 3;
            width: 100%;
        }

        .hero h1 {
            font-size: 3rem;
            font-weight: 800;
            margin-bottom: 1rem;
            line-height: 1.2;
            color: white;
            text-shadow: 0 2px 8px rgba(0,0,0,0.3);
        }

        .hero .subtitle {
            font-size: 1.5rem;
            margin-bottom: 1.5rem;
            color: white;
            opacity: 1;
            text-shadow: 0 2px 6px rgba(0,0,0,0.3);
            font-weight: 600;
        }

        .hero .description {
            font-size: 1.125rem;
            margin-bottom: 2.5rem;
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
            color: white;
            opacity: 1;
            text-shadow: 0 1px 4px rgba(0,0,0,0.3);
        }

        .hero-cta {
            display: flex;
            gap: 1rem;
            justify-content: center;
            flex-wrap: wrap;
        }

        /* Typography */
        h2 {
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 1rem;
            color: var(--text);
        }

        h3 {
            font-size: 1.75rem;
            font-weight: 600;
            margin-bottom: 0.75rem;
            color: var(--text);
        }

        h4 {
            font-size: 1.25rem;
            font-weight: 600;
            margin-bottom: 0.5rem;
            color: var(--text);
        }

        p {
            margin-bottom: 1rem;
            color: var(--text-light);
        }

        /* Cards */
        .card {
            background: white;
            border-radius: 0.75rem;
            padding: 2rem;
            box-shadow: 0 1px 3px rgba(0,0,0,0.1);
            border: 1px solid var(--border);
        }

        .card-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
            margin-top: 2rem;
        }

        .step-card {
            text-align: center;
            padding: 2rem;
        }

        .step-number {
            width: 3rem;
            height: 3rem;
            border-radius: 50%;
            background: var(--accent);
            color: var(--navy);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            font-weight: 700;
            margin: 0 auto 1rem;
        }

        /* Lists */
        ul {
            list-style: none;
            padding-left: 0;
        }

        ul li {
            padding: 0.5rem 0;
            padding-left: 1.5rem;
            position: relative;
            color: var(--text-light);
        }

        ul li:before {
            content: "✓";
            position: absolute;
            left: 0;
            color: var(--success);
            font-weight: 700;
        }

        /* Footer */
        footer {
            background: var(--navy);
            color: white;
            padding: 2.6rem 0 1.25rem;
            margin-top: 0;
            border-top: 1px solid rgba(255, 255, 255, 0.08);
        }

        .footer-content {
            display: grid;
            grid-template-columns: minmax(280px, 1.75fr) repeat(3, minmax(130px, 1fr));
            gap: 2rem;
            margin-bottom: 2rem;
        }

        .footer-brand-head {
            display: inline-flex;
            align-items: center;
            gap: 0.45rem;
            margin: 0 0 0.9rem;
            color: #fff;
            font-size: 1rem;
            font-weight: 700;
            letter-spacing: -0.01em;
        }

        .footer-brand-head img {
            width: 18px;
            height: 18px;
            border-radius: 4px;
            object-fit: cover;
        }

        .footer-brand-copy {
            color: rgba(255, 255, 255, 0.68);
            max-width: 22rem;
            margin-bottom: 0.25rem;
            font-size: 0.85rem;
            line-height: 1.5;
            font-weight: 300;
        }

        .footer-section h4 {
            color: rgba(255, 255, 255, 0.55);
            margin: 0 0 0.95rem;
            font-size: 0.72rem;
            font-weight: 700;
            letter-spacing: 0.08em;
            text-transform: uppercase;
        }

        .footer-section a {
            color: rgba(255, 255, 255, 0.78) !important;
            text-decoration: none;
            display: block;
            padding: 0.38rem 0;
            transition: color 0.2s;
            font-size: 0.85rem;
            font-weight: 300;
        }

        .footer-section a:hover {
            color: #fff;
        }

        footer .footer-locale-switcher {
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            gap: 0.5rem;
            margin-top: 0.75rem;
        }

        footer .footer-section .footer-locale-switcher a {
            display: inline-block;
            padding: 0.25rem 0.75rem;
        }

        .footer-auth-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.65rem;
            margin-top: 1.05rem;
            align-items: center;
        }

        .footer-section .footer-auth-actions a.btn {
            display: inline-block;
            padding: 0.58rem 1.1rem;
            font-size: 0.82rem;
            border-radius: 999px;
            width: auto;
            color: var(--bg-light) !important;
        }

        .footer-bottom {
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            padding-top: 1rem;
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            gap: 0.8rem 1.5rem;
            color: rgba(255, 255, 255, 0.48);
            font-size: 0.72rem;
            line-height: 1.4;
        }

        /* Responsive */
        @media (max-width: 768px) {
            .header-container {
                position: relative;
            }

            .hero {
                min-height: 400px;
                padding: 4rem 0;
            }

            .hero h1 {
                font-size: 2rem;
            }

            .hero img[alt="Voiyant"] {
                height: 100px !important;
            }

            .hero .subtitle {
                font-size: 1.25rem;
            }

            .logo img {
                height: 32px;
                max-width: 150px;
            }

            .hero .description {
                font-size: 1rem;
            }

            h2 {
                font-size: 2rem;
            }

            .section {
                padding: 3rem 0;
            }

            .card-grid {
                grid-template-columns: 1fr;
            }

            .footer-content {
                grid-template-columns: 1fr 1fr;
                gap: 1.6rem;
            }

            .footer-section--brand {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 480px) {
            .container {
                padding: 0 1rem;
            }

            .hero {
                min-height: 350px;
                padding: 3rem 0;
            }

            .hero img[alt="Voiyant"] {
                height: 80px !important;
            }

            .hero h1 {
                font-size: 1.75rem;
            }

            .hero-cta {
                flex-direction: column;
            }

            .hero-cta .btn {
                width: 100%;
            }

            .footer-content {
                grid-template-columns: 1fr;
                gap: 1.25rem;
            }

            .footer-bottom {
                flex-direction: column;
                align-items: flex-start;
            }
        }

        /* Fallback for images not loading */
        @supports not (animation: heroFade) {
            .hero-background {
                display: none;
            }
        }

/* ===== public/home (landing) ===== */
.lp-accent { color: var(--accent); }

    .lp-container {
        max-width: 1120px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }

    .lp-section {
        padding: clamp(3rem, 6vw, 5rem) 0;
    }

    .lp-section--tight {
        padding: clamp(2.5rem, 5vw, 4rem) 0;
    }

    /* ========== Hero ========== */
    .lp-hero {
        position: relative;
        overflow: hidden;


        padding: clamp(5.5rem, 12vw, 7rem) 0 clamp(4rem, 10vw, 7rem);
    }

    .lp-hero::before {
        content: '';
        position: absolute;
        inset: 0;
        background:
            radial-gradient(ellipse 90% 70% at 50% 0%, rgba(29, 223, 153, 0.18), transparent 52%),
            radial-gradient(ellipse 50% 45% at 85% 40%, rgba(29, 223, 153, 0.09), transparent 55%),
            linear-gradient(180deg, rgba(14, 0, 23, 0.88) 0%, rgba(0, 0, 50, 0.82) 45%, rgba(10, 0, 28, 0.92) 100%);
        pointer-events: none;
    }

    .lp-hero::after {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(255,255,255,0.07) 1px, transparent 1px);
        background-size: 48px 48px;
        opacity: 0.35;
        pointer-events: none;
        mix-blend-mode: overlay;
    }

    .lp-hero-grid {
        position: relative;
        z-index: 2;
        display: grid;
        grid-template-columns: 1fr;
        gap: clamp(2rem, 5vw, 3.5rem);
        align-items: center;
    }

    @media (min-width: 960px) {
        .lp-hero-grid {
            grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
            gap: 3rem;
            align-items: center;
        }
    }

    .lp-hero-title {
        font-size: clamp(2.15rem, 5vw, 3.75rem);
        font-weight: 800;
        line-height: 1.08;
        letter-spacing: -0.035em;
        margin: 0 0 1rem;
        text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
    }

    .lp-hero-title-accent {
        display: block;
        color: #1DDF99;
    }

    .lp-hero-title-white {
        display: block;
        margin-top: 0.2em;
        color: #fff;
    }

    .lp-hero-tagline {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: 0.85rem;
        font-weight: 300; /* Inter Light — requires wght@300 in the Google Fonts link */
        font-style: normal;
        color: rgba(255, 255, 255, 0.92);
        margin: 0 0 1.75rem;
        letter-spacing: 0.02em;
    }

    /* Login / signup hero: main padding tightened via body.pub-auth-page.pub-auth-has-hero at end of file */

    .lp-auth-section .lp-auth-grid {
        align-items: stretch;
    }

    .lp-auth-hero-copy {
        position: relative;
        z-index: 2;
    }

    .lp-auth-hero-title {
        font-size: clamp(2rem, 4.5vw, 3.25rem);
        font-weight: 800;
        line-height: 1.1;
        letter-spacing: -0.03em;
        margin: 0 0 1rem;
        color: #fff;
        text-shadow: 0 4px 32px rgba(0, 0, 0, 0.45);
    }

    .lp-auth-hero-tagline {
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-size: clamp(0.95rem, 1.5vw, 1.05rem);
        font-weight: 300; /* Inter Light — same as .lp-hero-tagline */
        font-style: normal;
        color: rgba(255, 255, 255, 0.88);
        margin: 0;
        line-height: 1.55;
        max-width: 28rem;
    }

    .lp-auth-panel {
        position: relative;
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lp-auth-panel .auth-container {
        box-shadow: 0 24px 56px rgba(0, 0, 25, 0.35);
    }

    .lp-store-row {
        margin-top: 0.25rem;
    }

    .lp-store-label {
        display: block;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.55);
        margin-bottom: 0.65rem;
    }

    .lp-store-badges {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 0.65rem 1rem;
    }

    .lp-store-badges a {
        display: inline-block;
        line-height: 0;
        transition: opacity 0.2s, transform 0.2s;
    }

    .lp-store-badges a:hover {
        opacity: 0.92;
        transform: translateY(-1px);
    }

    .lp-store-badges img {
        height: 44px;
        width: auto;
        display: block;
    }

    .lp-hero-visual {
        position: relative;
        z-index: 1;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        gap: clamp(1rem, 4vw, 2rem);
        min-height: 260px;
    }

    .lp-hero-stage {
        position: relative;
        flex: 0 0 auto;
    }

    .lp-hero-cube {
        width: min(240px, 58vw);
        aspect-ratio: 1;
        border-radius: 28px;
        /*background: linear-gradient(155deg, #ffffff 0%, #e8eaef 55%, #ffffff 100%);*/
        /*box-shadow:*/
        /*    0 24px 60px rgba(0, 0, 20, 0.45),*/
        /*    0 0 0 1px rgba(255, 255, 255, 0.35),*/
        /*    inset 0 1px 0 rgba(255, 255, 255, 0.9);*/
        display: flex;
        align-items: center;
        justify-content: center;
        transform: perspective(900px) rotateY(-8deg) rotateX(4deg);
    }

    .lp-hero-cube-img {
        width: 52%;
        height: auto;
        border-radius: 14px;
        filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.25));
    }

    .lp-hero-notifs {
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        width: min(100%, 280px);
    }

    .lp-notif {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0.75rem;
        background: rgba(255, 255, 255, 0.96);
        color: var(--navy);
        padding: 0.65rem 0.85rem;
        border-radius: 12px;
        font-size: 0.8125rem;
        font-weight: 600;
        box-shadow: 0 10px 36px rgba(0, 0, 20, 0.28);
    }

    .lp-notif::after {
        content: '›';
        font-size: 1rem;
        font-weight: 700;
        color: var(--accent);
        opacity: 0.85;
    }

    @media (max-width: 959px) {
        .lp-hero-visual {
            flex-direction: column;
        }
        .lp-hero-cube {
            transform: none;
        }
        .lp-hero-notifs {
            width: 100%;
            max-width: 340px;
        }
    }

    /* ========== Intro / video ========== */
    .lp-intro {
        background: #fff;
    }

    .lp-intro-head {
        text-align: center;
        max-width: 40rem;
        margin: 0 auto 2.5rem;
    }

    .lp-intro-head h2 {
        font-size: clamp(1.6rem, 3.2vw, 2.1rem);
        margin: 0 0 0.5rem;
        color: var(--navy);
    }

    .lp-intro-sub {
        margin: 0;
        font-size: 0.85rem;
        color: var(--text-light);
        line-height: 1.55;
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
        font-weight: 300;
    }

    .lp-split {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        align-items: center;
    }

    @media (min-width: 900px) {
        .lp-split {
            grid-template-columns: 1fr 1fr;
            gap: 3rem;
        }
    }

    .lp-checklist {
        list-style: none;
        padding: 0;
        margin: 0 0 1.75rem;
    }

    .lp-checklist li {
        position: relative;
        padding: 0.65rem 0 0.65rem 2rem;
        border: none;
        color: var(--text-light);
        font-size: 0.85rem;
    }

    .lp-checklist li::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1.35rem;
        height: 1.35rem;
        border-radius: 50%;
        background: rgba(29, 223, 153, 0.2);
        /*border: 2px solid var(--accent);*/
    }

    .lp-checklist li::after {
        content: '✓';
        position: absolute;
        left: 0.28rem;
        top: 50%;
        transform: translateY(-50%);
        font-size: 0.75rem;
        font-weight: 800;
        color: var(--navy);
    }

    .lp-video-shell {
        position: relative;
        aspect-ratio: 16 / 10;
        border-radius: 20px;
        background: linear-gradient(145deg, var(--navy), var(--deep));
        display: flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        box-shadow: 0 16px 48px rgba(0, 0, 32, 0.18);
    }

    .lp-video-play {
        width: 72px;
        height: 72px;
        border-radius: 50%;
        border: none;
        background: var(--accent);
        color: var(--navy);
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 8px 28px rgba(29, 223, 153, 0.45);
        transition: transform 0.2s, filter 0.2s;
    }

    .lp-video-play:hover {
        transform: scale(1.06);
        filter: brightness(1.05);
    }

    .lp-video-badge {
        position: absolute;
        z-index: 2;
        font-size: 0.68rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.07em;
        color: #fff;
        padding: 0.35rem 0.55rem;
        border-radius: 8px;
        background: rgba(0, 0, 50, 0.65);
        border: 1px solid rgba(29, 223, 153, 0.45);
        pointer-events: none;
    }

    .lp-video-badge--tl { top: 14px; left: 14px; }
    .lp-video-badge--tr { top: 14px; right: 14px; }

    /* ========== How it works ========== */
    .lp-how {
        background: var(--bg-light);
    }

    .lp-section-head {
        text-align: center;
        max-width: 42rem;
        margin: 0 auto 2.75rem;
    }

    .lp-section-head h2 {
        font-size: clamp(1.65rem, 3vw, 2.25rem);
        margin: 0 0 0.5rem;
        color: var(--navy);
    }

    .lp-section-head p {
        margin: 0;
        font-size: .8rem;
        font-weight: 300;
        /*color: var(--accent);*/
    }

    .lp-steps {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    @media (min-width: 700px) {
        .lp-steps {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .lp-step-card {
        background: #fff;
        border-radius: 18px;
        padding: 1.75rem 1.5rem;
        border: 1px solid var(--border);
        box-shadow: 0 4px 20px rgba(0, 0, 40, 0.06);
    }

    .lp-step-card__top {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .lp-step-card .lp-step-icon {
        width: 64px;
        height: 64px;
        flex-shrink: 0;
        border-radius: 14px;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .lp-step-card .lp-step-icon img {
        display: block;
        width: 64px;
        height: 64px;
        object-fit: contain;
    }

    .lp-step-badge {
        flex-shrink: 0;
        width: 30px;
        height: 30px;
        border-radius: 999px;
        background: rgba(29, 223, 153, 0.18);
        color: var(--navy);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1;
    }

    .lp-step-card h3 {
        font-size: 1.125rem;
        margin: 0 0 0.5rem;
        color: var(--navy);
    }

    .lp-step-card p {
        margin: 0;
        font-size: 0.85rem;
        color: var(--text-light);
        line-height: 1.55;
        font-weight: 300;
    }

    /* ========== Features grid (dark) ========== */
    .lp-platform {
        background: var(--navy);
        color: #fff;
    }

    .lp-platform .lp-section-head h2 {
        color: #fff;
    }

    .lp-platform .lp-section-head--platform {
        text-align: center;
        max-width: 46rem;
        margin-inline: auto;
        margin-bottom: 2.75rem;
    }

    .lp-platform .lp-platform-kicker {
        color: rgba(255, 255, 255, 0.55);
        font-size: 0.72rem;
        font-weight: 700;
        letter-spacing: 0.14em;
        text-transform: uppercase;
        margin: 0 0 0.75rem;
    }

    .lp-platform .lp-section-head--platform h2 {
        color: #fff;
        font-size: clamp(1.75rem, 3.2vw, 2.5rem);
        font-weight: 800;
        line-height: 1.15;
        margin: 0;
        letter-spacing: -0.02em;
    }

    .lp-feature-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    @media (min-width: 640px) {
        .lp-feature-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 960px) {
        .lp-feature-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .lp-feature-card {
        background: #fff;
        border-radius: 18px;
        padding: 1.5rem 1.35rem;
        border: 1px solid rgba(0, 0, 50, 0.06);
        box-shadow: 0 12px 40px rgba(0, 0, 40, 0.2);
    }

    .lp-feature-card .lp-feat-ico {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        margin-bottom: 0.85rem;
        overflow: hidden;
        border-radius: 10px;
    }

    .lp-feature-card .lp-feat-ico__img {
        display: block;
        width: 40px;
        height: 40px;
        flex-shrink: 0;
        object-fit: contain;
    }

    .lp-feature-card h3 {
        font-size: 1.05rem;
        margin: 0 0 0.4rem;
        color: var(--navy);
    }

    .lp-feature-card p {
        margin: 0;
        font-size: 0.85rem;
        color: var(--text-light);
        line-height: 1.55;
        font-weight: 300;
    }

    /* ========== Use cases ========== */
    .lp-usecases {
        background: #fff;
    }

    .lp-use-head {
        margin-bottom: 2rem;
        max-width: 36rem;
    }

    .lp-use-head .lp-kicker {
        display: inline-block;
        align-self: flex-start;
        font-size: 0.85rem;
        font-weight: 400;
        /*letter-spacing: 0.02em;*/
        color: var(--accent);
        background: rgba(0, 0, 50, 0.06);
        padding: 0.28rem 0.55rem;
        border-radius: 6px;
        margin-bottom: 0.65rem;
        line-height: 1.2;
    }

    .lp-use-head h2 {
        font-size: clamp(1.6rem, 3vw, 2.2rem);
        margin: 0;
        color: var(--navy);
        line-height: 1.2;
    }

    .lp-use-head__title em {
        font-style: italic;
        font-weight: inherit;
    }

    .lp-use-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    @media (min-width: 640px) {
        .lp-use-grid {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    @media (min-width: 960px) {
        .lp-use-grid {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .lp-use-card {
        background: var(--bg-light);
        border-radius: 16px;
        padding: 1.35rem 1.25rem;
        border: 1px solid var(--border);
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-height: 11rem;
    }

    .lp-use-tag {
        display: inline-block;
        align-self: flex-start;
        font-size: 0.75rem;
        font-weight: 600;
        letter-spacing: 0.02em;
        color: var(--text-light);
        background: rgba(0, 0, 50, 0.06);
        padding: 0.28rem 0.55rem;
        border-radius: 6px;
        margin-bottom: 0.65rem;
        line-height: 1.2;
    }

    .lp-use-card__title {
        font-size: 1.05rem;
        font-weight: 700;
        margin: 0 0 0.45rem;
        color: var(--navy);
        line-height: 1.28;
        letter-spacing: -0.02em;
    }

    .lp-use-card__desc {
        flex: 1 1 auto;
        margin: 0;
        font-size: 0.85rem;
        font-weight: 300;
        color: var(--text-light);
        line-height: 1.52;
    }

    .lp-use-card a {
        margin-top: auto;
        padding-top: 1rem;
        font-size: 0.6rem;
        font-weight: 400;
        color: var(--accent);
        text-decoration: none;
        align-self: flex-start;
    }

    .lp-use-card a:hover {
        text-decoration: underline;
    }

    /* ========== Dual (clients / avatars) ========== */
    .lp-dual {
        background: linear-gradient(180deg, var(--navy) 0%, var(--deep) 100%);
        color: #fff;
    }

    .lp-dual-head {
        text-align: center;
        margin-bottom: 2.75rem;
    }

    .lp-dual-kicker {
        display: inline-block;
        margin: 0 0 1rem;
        padding: 0.35rem 1rem;
        border-radius: 999px;
        /*background: #1DDF99;*/
        /*color: var(--navy);*/
        font-size: 0.85rem;
        font-weight: 400;
        letter-spacing: 0.02em;
    }

    .lp-dual-title {
        font-size: clamp(1.65rem, 3vw, 2.35rem);
        font-weight: 800;
        margin: 0;
        max-width: 40rem;
        margin-inline: auto;
        line-height: 1.15;
        letter-spacing: -0.03em;
        color: #ffffff;
    }

    .lp-dual-title-accent {
        color: #1DDF99;
        font-style: italic;
        font-weight: 800;
    }

    .lp-dual-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    @media (min-width: 900px) {
        .lp-dual-grid {
            grid-template-columns: 1fr 1fr;
            gap: 2.5rem;
            align-items: stretch;
        }
    }

    .lp-dual-card {
        display: flex;
        flex-direction: column;
        background: rgba(255, 255, 255, 0.055);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 22px;
        padding: 1.75rem 1.5rem 1.5rem;
    }

    .lp-dual-card__top {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .lp-dual-pill {
        display: inline-block;
        padding: 0.28rem 0.85rem;
        border-radius: 999px;
        background: #1DDF99;
        color: var(--navy);
        font-size: 0.75rem;
        font-weight: 700;
    }

    .lp-dual-meta {
        font-size: 0.75rem;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.42);
        letter-spacing: 0.03em;
    }

    .lp-dual-card__headline {
        font-size: 1.1rem;
        font-weight: 400;
        margin: 0 0 1.15rem;
        color: #fff;
        line-height: 1.28;
        letter-spacing: -0.02em;
    }

    .lp-dual-list {
        list-style: none;
        padding: 0;
        margin: 0 0 1.25rem;
        flex: 1;
    }

    .lp-dual-list li {
        position: relative;
        padding: 0.42rem 0 0.42rem 2rem;
        color: rgba(255, 255, 255, 0.9);
        font-size: 0.85rem;
        font-weight: 300;
        line-height: 1.45;
    }

    .lp-dual-list li::before {
        content: '✓';
        position: absolute;
        left: 0;
        top: 0.38rem;
        width: 1.25rem;
        height: 1.25rem;
        border-radius: 50%;
        background: #1DDF99;
        color: var(--navy);
        font-size: 0.62rem;
        font-weight: 800;
        line-height: 1.25rem;
        text-align: center;
    }

    .lp-dual-phone {
        margin-top: auto;
        padding-top: 1rem;
        display: flex;
        justify-content: center;
    }

    .lp-dual-phone__frame {
        position: relative;
        max-width: 248px;
        width: 100%;
        padding: 10px;
        border-radius: 36px;
        background: linear-gradient(
            145deg,
            rgba(29, 223, 153, 0.42) 0%,
            rgba(29, 223, 153, 0.08) 55%,
            rgba(14, 0, 23, 0.6) 100%
        );
        box-shadow:
            0 0 52px rgba(29, 223, 153, 0.38),
            0 20px 44px rgba(0, 0, 0, 0.45);
    }

    .lp-dual-phone__frame img {
        display: block;
        width: 100%;
        height: auto;
        border-radius: 26px;
        vertical-align: middle;
    }

    /* ========== Trust ========== */
    .lp-trust {
        background: #f8f9fb;
    }

    .lp-trust-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.25rem;
        align-items: start;
    }

    @media (min-width: 960px) {
        .lp-trust-grid {
            grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
            gap: clamp(2rem, 4vw, 3.5rem);
            align-items: center;
        }
    }

    .lp-trust-kicker {
        display: inline-block;
        align-self: flex-start;
        font-size: 0.85rem;
        font-weight: 400;
        /* letter-spacing: 0.02em; */
        color: var(--accent);
        background: rgba(0, 0, 50, 0.06);
        padding: 0.28rem 0.55rem;
        border-radius: 6px;
        margin-bottom: 0.65rem;
        line-height: 1.2;
    }

    .lp-trust-title {
        font-size: clamp(1.6rem, 2.6vw, 2.05rem);
        margin: 0 0 1rem;
        color: #0f172a;
        font-weight: 800;
        line-height: 1.2;
        letter-spacing: -0.03em;
    }

    .lp-trust-title em {
        font-style: italic;
        font-weight: inherit;
    }

    .lp-trust-intro {
        margin: 0;
        max-width: 28rem;
        color: #475569;
        font-size: 0.98rem;
        line-height: 1.65;
        font-weight: 400;
    }

    .lp-trust-cards {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    @media (min-width: 560px) {
        .lp-trust-cards {
            grid-template-columns: repeat(2, 1fr);
        }

        .lp-trust-card--span-left {
            grid-column: 1;
            max-width: 100%;
        }
    }

    .lp-trust-card {
        background: #fff;
        border-radius: 10px;
        padding: 1.25rem 1.2rem 1.35rem;
        border: 1px solid rgba(226, 232, 240, 0.9);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
    }

    .lp-trust-card__ico {
        display: block;
        margin-bottom: 0.85rem;
        line-height: 0;
    }

    .lp-trust-card__ico svg {
        display: block;
    }

    .lp-trust-card__title {
        font-size: 1rem;
        font-weight: 700;
        margin: 0 0 0.45rem;
        color: #0f172a;
        line-height: 1.3;
        letter-spacing: -0.02em;
    }

    .lp-trust-card__desc {
        margin: 0;
        font-size: 0.875rem;
        font-weight: 400;
        color: #475569;
        line-height: 1.55;
    }

    /* ========== Testimonials ========== */
    .lp-quote-section {
        background: #f4f6f8;
    }

    .lp-quote-head {
        text-align: center;
        max-width: 44rem;
        margin: 0 auto 2.5rem;
    }

    .lp-quote-kicker {
        display: inline-block;
        align-self: flex-start;
        font-size: 0.85rem;
        font-weight: 400;
        /* letter-spacing: 0.02em; */
        color: var(--accent);
        background: rgba(0, 0, 50, 0.06);
        padding: 0.28rem 0.55rem;
        border-radius: 6px;
        margin-bottom: 0.65rem;
        line-height: 1.2;
    }

    .lp-quote-title {
        margin: 0;
        font-size: clamp(1.5rem, 2.8vw, 2rem);
        font-weight: 800;
        color: #0a0b2b;
        line-height: 1.2;
        letter-spacing: -0.03em;
    }

    .lp-quote-title__line {
        display: inline;
    }

    .lp-quote-title__accent {
        font-style: italic;
        font-weight: 800;
        color: inherit;
    }

    .lp-quotes {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    @media (min-width: 800px) {
        .lp-quotes {
            grid-template-columns: repeat(3, 1fr);
        }
    }

    .lp-quote-card {
        background: #fff;
        border-radius: 14px;
        padding: 1.5rem 1.4rem 1.45rem;
        border: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 12px 28px rgba(15, 23, 42, 0.05);
        text-align: left;
    }

    .lp-quote-card__mark {
        width: 2.5rem;
        height: 2.5rem;
        border-radius: 10px;
        background: #e1f5f1;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
    }

    .lp-quote-card__mark-char {
        font-family: Georgia, 'Times New Roman', serif;
        font-size: 1.65rem;
        line-height: 1;
        font-weight: 700;
        color: #4adeb3;
    }

    .lp-quote-card blockquote {
        margin: 0 0 1.15rem;
        font-size: 0.97rem;
        line-height: 1.58;
        color: #1e293b;
        font-style: normal;
        font-weight: 500;
    }

    .lp-quote-card cite {
        display: block;
        font-size: 0.8125rem;
        font-weight: 400;
        font-style: normal;
        color: #64748b;
    }

    /* ========== Monetization ========== */
    .lp-money {
        background: #fff;
    }

    .lp-money-intro {
        max-width: 40rem;
        margin-bottom: 2rem;
    }

    .lp-money-intro h2 {
        font-size: clamp(1.65rem, 3vw, 2.15rem);
        margin: 0 0 0.5rem;
        color: var(--navy);
    }

    .lp-money-intro .tag {
        font-weight: 700;
        color: var(--accent);
        margin-bottom: 0.75rem;
        display: block;
        font-size: 1.05rem;
    }

    .lp-two-col {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    @media (min-width: 800px) {
        .lp-two-col {
            grid-template-columns: 1fr 1fr;
        }
    }

    .lp-panel {
        background: var(--bg-light);
        border-radius: 18px;
        padding: 1.5rem 1.35rem;
        border: 1px solid var(--border);
    }

    .lp-panel h3 {
        margin: 0 0 0.75rem;
        font-size: 1.15rem;
        color: var(--navy);
    }

    /* ========== Final CTA ========== */
    .lp-cta {
        background: linear-gradient(135deg, var(--deep) 0%, var(--navy) 100%);
        color: #fff;
        text-align: center;
        padding: clamp(3.5rem, 8vw, 5rem) 0;
    }

    .lp-cta h2 {
        font-size: clamp(1.65rem, 3.5vw, 2.35rem);
        margin: 0 auto 0.75rem;
        max-width: 28rem;
        line-height: 1.2;
    }

    .lp-cta > .lp-container > p {
        margin: 0 auto 1.75rem;
        max-width: 26rem;
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.85rem;
        font-weight: 300;
    }

    .lp-cta-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem 1rem;
        justify-content: center;
        align-items: center;
    }

    .lp-cta-actions .btn-primary {
        padding: 0.9rem 2rem;
        border-radius: 999px;
        font-size: 1.05rem;
    }

    .lp-cta-actions a ,
    .pub-auth-oauth--apple{
        font-size: 0.85rem;
        white-space: nowrap;
        font-weight: 300;
        color: var(--bg-light) !important;
    }

    .lp-cta-actions a.link-muted {
        color: rgba(255, 255, 255, 0.85);
        font-weight: 600;
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .lp-cta-actions a.link-muted:hover {
        color: var(--accent);
    }

    /* Lightbox + images */
    .home-img-wrap {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        cursor: pointer;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }
    .home-img-wrap:hover {
        transform: scale(1.02);
        box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    }
    .home-img-wrap img {
        width: 100%;
        height: auto;
        display: block;
        vertical-align: middle;
    }
    .home-img-wrap.grid { max-width: 100%; }
    .home-img-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        margin-top: 2rem;
    }
    .home-img-grid .home-img-wrap { max-width: 100%; }
    .home-lightbox {
        display: none;
        position: fixed;
        inset: 0;
        z-index: 9999;
        background: rgba(0,0,0,0.9);
        align-items: center;
        justify-content: center;
        padding: 2rem;
        cursor: pointer;
    }
    .home-lightbox.active { display: flex; }
    .home-lightbox img {
        max-width: 95%;
        max-height: 95vh;
        object-fit: contain;
        border-radius: 8px;
        pointer-events: none;
    }
    .home-lightbox-close {
        position: absolute;
        top: 1rem;
        right: 1rem;
        background: rgba(255,255,255,0.2);
        color: white;
        border: none;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.2s;
    }
    .home-lightbox-close:hover { background: rgba(255,255,255,0.3); }

    .lp-money-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    .lp-money-list li {
        position: relative;
        padding: 0.5rem 0 0.5rem 1.5rem;
        color: var(--text-light);
        font-size: 0.98rem;
        line-height: 1.5;
    }
    .lp-money-list li::before {
        content: '✓';
        position: absolute;
        left: 0;
        top: 0.55rem;
        color: var(--accent);
        font-weight: 800;
        font-size: 0.85rem;
    }

/* ===== auth/login ===== */
body.pub-auth-page {
        background: var(--bg-light);
        min-height: 100vh;
    }

    body.pub-auth-page main {
        display: block;
        padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 8vw, 5rem);
        min-height: calc(100vh - 200px);
    }

    body.pub-auth-page .auth-container {
        background: white;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        max-width: 480px;
        width: 100%;
        padding: 40px;
    }

    .auth-container h1,
    .auth-container .auth-container__title {
        font-size: 28px;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 8px;
    }

    .auth-container .subtitle {
        color: #6b7280;
        font-size: 14px;
        margin-bottom: 32px;
    }

    .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
    }

    .form-group input[type="email"],
    .form-group input[type="password"] {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.2s;
    }

    .form-group input:focus {
        outline: none;
        border-color: #1bc8d5;
    }

    .error {
        background: #fee2e2;
        border: 1px solid #fca5a5;
        color: #991b1b;
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 14px;
    }

    body.pub-auth-page .auth-container button[type="submit"] {
        width: 100%;
        padding: 14px;
        background: var(--accent);
        color: var(--navy);
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    body.pub-auth-page .auth-container button[type="submit"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(27, 200, 213, 0.45);
    }

    .auth-link {
        text-align: center;
        margin-top: 24px;
        font-size: 14px;
        color: #6b7280;
    }

    .auth-link a {
        color: var(--navy) !important;
        text-decoration: none;
        font-weight: 600;
    }

    .auth-link a:hover {
        text-decoration: underline;
    }

    .app-downloads {
        margin-top: 28px;
        padding-top: 24px;
        border-top: 1px solid #e5e7eb;
        text-align: center;
    }
    .app-downloads p {
        font-size: 13px;
        color: #6b7280;
        margin-bottom: 12px;
    }
    .app-downloads a {
        display: inline-block;
        margin: 0 6px;
        transition: opacity 0.2s;
    }
    .app-downloads a:hover {
        opacity: 0.85;
    }
    .app-downloads img {
        height: 44px;
        width: auto;
        display: block;
    }

    body.pub-auth-page .pub-auth-oauth-row {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-top: 0.5rem;
    }

    body.pub-auth-page .pub-auth-oauth {
        display: block;
        width: 100%;
        padding: 12px 16px;
        text-align: center;
        border-radius: 8px;
        font-size: 15px;
        font-weight: 600;
        text-decoration: none;
        box-sizing: border-box;
    }

    body.pub-auth-page .pub-auth-oauth--google {
        border: 2px solid var(--border);
        color: var(--text);
        background: #fff;
    }

    body.pub-auth-page .pub-auth-oauth--google:hover {
        border-color: var(--accent);
        color: var(--navy);
    }

    body.pub-auth-page .pub-auth-oauth--apple {
        border: 2px solid var(--navy);
        color: #fff;
        background: var(--navy);
    }

    body.pub-auth-page .pub-auth-oauth--apple:hover {
        opacity: 0.92;
    }

    body.pub-auth-page .auth-container .btn.btn-primary,
    body.pub-auth-page .auth-container .btn.btn-secondary {
        width: 100%;
        padding: 14px 16px;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        display: block;
        box-sizing: border-box;
        text-align: center;
    }

    body.pub-auth-page .auth-container form.role-buttons .btn {
        margin-bottom: 12px;
    }

/* ===== auth/signup ===== */
body.pub-auth-page {
        background: var(--bg-light);
        min-height: 100vh;
    }

    body.pub-auth-page main {
        display: block;
        padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 8vw, 5rem);
        min-height: calc(100vh - 200px);
    }

    body.pub-auth-page .auth-container {
        background: white;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        max-width: 480px;
        width: 100%;
        padding: 40px;
    }

    body.pub-auth-page .auth-container h1,
    body.pub-auth-page .auth-container .auth-container__title {
        font-size: 28px;
        font-weight: 700;
        color: #1f2937;
        margin-bottom: 8px;
    }

    body.pub-auth-page .auth-container .subtitle {
        color: #6b7280;
        font-size: 14px;
        margin-bottom: 32px;
    }

    body.pub-auth-page .form-group {
        margin-bottom: 20px;
    }

    .form-group label {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #374151;
        margin-bottom: 8px;
    }

    .form-group input[type="text"],
    .form-group input[type="email"],
    .form-group input[type="password"] {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.2s;
    }

    .form-group input:focus {
        outline: none;
        border-color: #1bc8d5;
    }

    .role-selector {
        display: flex;
        gap: 12px;
        margin-bottom: 20px;
    }

    .role-option {
        flex: 1;
        padding-top: 15px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        cursor: pointer;
        text-align: center;
        transition: all 0.2s;
    }

    .role-option:hover {
        border-color: #1bc8d5;
        background: rgba(27, 200, 213, 0.08);
    }

    .role-option.selected {
        border-color: var(--accent);
        background: var(--accent);
        color: var(--navy);
    }

    .role-option input[type="radio"] {
        display: none;
    }

    .role-option label {
        cursor: pointer;
        margin: 0;
        font-weight: 600;
    }

    .error {
        background: #fee2e2;
        border: 1px solid #fca5a5;
        color: #991b1b;
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 14px;
    }

    .terms-checkbox {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
        font-size: 14px;
    }

    .terms-checkbox input[type="checkbox"] {
        margin-top: 2px;
        width: 18px;
        height: 18px;
        cursor: pointer;
    }

    .terms-checkbox label {
        color: #6b7280;
        cursor: pointer;
    }

    .terms-checkbox a {
        color: var(--navy) !important;
        text-decoration: none;
        font-weight: 600;
    }

    .terms-checkbox a:hover {
        text-decoration: underline;
    }

    body.pub-auth-page .auth-container button[type="submit"] {
        width: 100%;
        padding: 14px;
        background: var(--accent);
        color: var(--navy);
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
    }

    body.pub-auth-page .auth-container button[type="submit"]:hover:not(:disabled) {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(27, 200, 213, 0.45);
    }

    body.pub-auth-page .auth-container button[type="submit"]:disabled {
        opacity: 0.6;
        cursor: not-allowed;
    }

    .auth-link {
        text-align: center;
        margin-top: 24px;
        font-size: 14px;
        color: #6b7280;
    }

    .auth-link a {
        color: #1bc8d5;
        text-decoration: none;
        font-weight: 600;
    }

    .auth-link a:hover {
        text-decoration: underline;
    }

    .app-downloads {
        margin-top: 28px;
        padding-top: 24px;
        border-top: 1px solid #e5e7eb;
        text-align: center;
    }
    .app-downloads p {
        font-size: 13px;
        color: #6b7280;
        margin-bottom: 12px;
    }
    .app-downloads a {
        display: inline-block;
        margin: 0 6px;
        transition: opacity 0.2s;
    }
    .app-downloads a:hover {
        opacity: 0.85;
    }
    .app-downloads img {
        height: 44px;
        width: auto;
        display: block;
    }

/* ===== auth/forgot-password ===== */
body.pub-auth-page { background: var(--bg-light); min-height: 100vh; }
    body.pub-auth-page main { display: block; padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 8vw, 5rem); min-height: calc(100vh - 200px); }
    .auth-container {
        background: white;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        max-width: 480px;
        width: 100%;
        padding: 40px;
    }
    .auth-container h1,
    .auth-container .auth-container__title { font-size: 28px; font-weight: 700; color: #1f2937; margin-bottom: 8px; }
    .auth-container .subtitle { color: #6b7280; font-size: 14px; margin-bottom: 32px; }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 8px; }
    .form-group input[type="email"] {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.2s;
    }
    .form-group input:focus { outline: none; border-color: #1bc8d5; }
    .error {
        background: #fee2e2;
        border: 1px solid #fca5a5;
        color: #991b1b;
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 14px;
    }
    .success {
        background: #d1fae5;
        border: 1px solid #10b981;
        color: #065f46;
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 14px;
    }
    body.pub-auth-page .auth-container button[type="submit"] {
        width: 100%;
        padding: 14px;
        background: var(--accent);
        color: var(--navy);
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    body.pub-auth-page .auth-container button[type="submit"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(27, 200, 213, 0.45);
    }
    .auth-link { text-align: center; margin-top: 24px; font-size: 14px; color: #6b7280; }
    .auth-link a { color: #1bc8d5; text-decoration: none; font-weight: 600; }
    .auth-link a:hover { text-decoration: underline; }

/* ===== auth/reset-password ===== */
body.pub-auth-page { background: var(--bg-light); min-height: 100vh; }
    body.pub-auth-page main { display: block; padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 8vw, 5rem); min-height: calc(100vh - 200px); }
    .auth-container {
        background: white;
        border-radius: 16px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.3);
        max-width: 480px;
        width: 100%;
        padding: 40px;
    }
    .auth-container h1,
    .auth-container .auth-container__title { font-size: 28px; font-weight: 700; color: #1f2937; margin-bottom: 8px; }
    .auth-container .subtitle { color: #6b7280; font-size: 14px; margin-bottom: 32px; }
    .form-group { margin-bottom: 20px; }
    .form-group label { display: block; font-size: 14px; font-weight: 600; color: #374151; margin-bottom: 8px; }
    .form-group input[type="email"],
    .form-group input[type="password"] {
        width: 100%;
        padding: 12px 16px;
        border: 2px solid #e5e7eb;
        border-radius: 8px;
        font-size: 16px;
        transition: border-color 0.2s;
    }
    .form-group input:focus { outline: none; border-color: #1bc8d5; }
    .error {
        background: #fee2e2;
        border: 1px solid #fca5a5;
        color: #991b1b;
        padding: 12px;
        border-radius: 8px;
        margin-bottom: 20px;
        font-size: 14px;
    }
    body.pub-auth-page .auth-container button[type="submit"] {
        width: 100%;
        padding: 14px;
        background: var(--accent);
        color: var(--navy);
        border: none;
        border-radius: 8px;
        font-size: 16px;
        font-weight: 600;
        cursor: pointer;
        transition: transform 0.2s, box-shadow 0.2s;
    }
    body.pub-auth-page .auth-container button[type="submit"]:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(27, 200, 213, 0.45);
    }
    .auth-link { text-align: center; margin-top: 24px; font-size: 14px; color: #6b7280; }
    .auth-link a { color: #1bc8d5; text-decoration: none; font-weight: 600; }
    .auth-link a:hover { text-decoration: underline; }

/* ===== auth/choose-role ===== */
body.pub-auth-page { background: var(--bg-light); min-height: 100vh; }
    body.pub-auth-page main { display: block; padding: clamp(2rem, 5vw, 3rem) 0 clamp(3rem, 8vw, 5rem); min-height: calc(100vh - 200px); }
    .auth-container { background: white; border-radius: 16px; box-shadow: 0 20px 60px rgba(0,0,0,0.3); max-width: 480px; width: 100%; padding: 40px; }
    .auth-container h1,
    .auth-container .auth-container__title { font-size: 28px; font-weight: 700; color: #1f2937; margin-bottom: 8px; }
    .auth-container .subtitle { color: #6b7280; font-size: 14px; margin-bottom: 24px; }
    .role-buttons { display: flex; flex-direction: column; gap: 12px; }
    .role-buttons a, .role-buttons button { display: block; width: 100%; padding: 14px; text-align: center; border-radius: 8px; font-size: 16px; font-weight: 600; text-decoration: none; border: 2px solid #e5e7eb; background: white; color: #374151; cursor: pointer; transition: all 0.2s; }
    .role-buttons a:hover, .role-buttons button:hover { border-color: #1bc8d5; background: rgba(27, 200, 213, 0.1); color: #000032; }
    .role-buttons .avatar { border-color: #1bc8d5; }
    .role-buttons .avatar:hover { background: #f5f3ff; border-color: #6d28d9; color: #6d28d9; }
    .error { background: #fee2e2; color: #991b1b; padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 14px; }

/* ===== public/coming-soon ===== */
.coming-soon-hero {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
        align-items: start;
        margin-bottom: 3rem;
    }
    @media (max-width: 900px) {
        .coming-soon-hero { grid-template-columns: 1fr; }
    }
    .coming-soon-hero .card { margin-bottom: 0; }
    .kicker {
        font-size: 0.95rem;
        color: var(--text-light);
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    .kicker .dot {
        display: inline-block;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--primary);
        vertical-align: middle;
        margin-right: 6px;
    }
    .coming-soon-hero h1 {
        font-size: 1.75rem;
        margin-bottom: 1rem;
        line-height: 1.3;
    }
    .coming-soon-hero .lead {
        font-size: 1rem;
        color: var(--text-light);
        margin-bottom: 1rem;
    }
    .insight {
        background: var(--bg-light);
        border-left: 4px solid var(--primary);
        padding: 1rem 1.25rem;
        border-radius: 0 8px 8px 0;
        margin: 1.25rem 0;
        font-size: 0.95rem;
        color: var(--text);
    }
    .cta-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.75rem;
        margin-top: 1.25rem;
    }
    .cta-row .btn { margin-right: 0; }
    .subnote {
        font-size: 0.8rem;
        color: var(--text-light);
        margin-top: 1rem;
    }
    .panel h3 {
        font-size: 1.1rem;
        margin-bottom: 0.75rem;
    }
    .panel .list { margin: 0; padding: 0; list-style: none; }
    .panel .list .item {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 0.4rem 0;
        color: var(--text-light);
        font-size: 0.95rem;
    }
    .panel .list .item:before {
        content: "✓";
        color: var(--success);
        font-weight: 700;
        flex-shrink: 0;
    }
    .panel .list li:before { content: none; }
    .panel .list .check {
        display: inline-block;
        color: var(--success);
        font-weight: 700;
        flex-shrink: 0;
    }
    .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .tag {
        display: inline-block;
        padding: 0.35rem 0.75rem;
        background: var(--bg-light);
        border: 1px solid var(--border);
        border-radius: 9999px;
        font-size: 0.8rem;
        color: var(--text);
    }
    .section-card { margin-bottom: 2rem; }
    .section-card h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
    .section-card p { margin-bottom: 0.75rem; }
    .examples { list-style: none; padding: 0; margin: 0; }
    .examples .ex {
        padding: 0.35rem 0;
        padding-left: 1.25rem;
        position: relative;
        color: var(--text-light);
        font-size: 0.95rem;
    }
    .examples .ex:before {
        content: "•";
        position: absolute;
        left: 0;
        color: var(--primary);
    }
    .waitlist-form {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;
    }
    .waitlist-form input[type="email"] {
        flex: 1;
        min-width: 200px;
        padding: 0.75rem 1rem;
        border: 2px solid var(--border);
        border-radius: 0.5rem;
        font-size: 1rem;
    }
    .waitlist-form input:focus {
        outline: none;
        border-color: var(--primary);
    }
    .waitlist-form button[type="submit"] {
        padding: 0.75rem 1.5rem;
        background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
        color: white;
        border: none;
        border-radius: 0.5rem;
        font-weight: 600;
        cursor: pointer;
    }
    .coming-soon-footer-extra {
        text-align: center;
        padding-top: 1rem;
        border-top: 1px solid rgba(255,255,255,0.1);
        margin-top: 1rem;
        font-size: 0.85rem;
        font-weight: 300;
    }
    .coming-soon-footer-extra a {
        color: white;
        text-decoration: none;
        border-bottom: 1px solid rgba(255,255,255,0.3);
    }
    /* Images: same feel as home – smaller, rounded, shadow */
    .coming-soon-img-wrap {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    }
    .coming-soon-img-wrap img {
        width: 100%;
        height: auto;
        display: block;
    }
    .coming-soon-img-wrap.wide { max-width: 720px; }
    .coming-soon-img-wrap.narrow { max-width: 420px; }

/* ===== public/search-avatars (Agent directory — aligned with landing sections) ===== */
body.pub-search-page {
    background: var(--bg-light);
}

body.pub-search-page .lp-search-top {
    background: #fff;
    border-bottom: 1px solid rgba(0, 0, 50, 0.07);
    box-shadow: 0 4px 24px rgba(0, 0, 25, 0.03);
}

body.pub-search-page .lp-search-head {
    margin-bottom: 1.75rem;
    max-width: 42rem;
}

body.pub-search-page .lp-search-title {
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 0.5rem;
    color: var(--navy);
}

body.pub-search-page .lp-search-lead {
    margin: 0;
    font-size: 1.05rem;
    color: var(--text-light);
    line-height: 1.55;
}

body.pub-search-page .search-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

/* Tab buttons on light background (global .btn-secondary is for dark header) */
body.pub-search-page .search-tabs .btn {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
    border-radius: 0.5rem;
}

body.pub-search-page .search-tabs .btn-primary {
    border: none;
}

body.pub-search-page .search-tabs .btn-secondary {
    background: #fff;
    color: var(--navy);
    border: 2px solid rgba(0, 0, 50, 0.12);
}

body.pub-search-page .search-tabs .btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(29, 223, 153, 0.08);
    color: var(--navy);
}

body.pub-search-page .search-filters {
    background: #fff;
    border: 1px solid rgba(0, 0, 50, 0.08);
    border-radius: 18px;
    padding: 1.35rem 1.35rem 1.2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 25, 0.04);
}

body.pub-search-page .lp-search-body {
    background: #fff;
}

body.pub-search-page .filters-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto auto;
    gap: 1rem;
    align-items: end;
}

body.pub-search-page .filters-grid--name {
    grid-template-columns: minmax(0, 1fr) auto auto;
}

body.pub-search-page .filters-grid--discover {
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 1.25rem;
}

body.pub-search-page .discover-intro {
    margin: 0;
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.5;
}

body.pub-search-page .online-toggle--link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    border-radius: 0.5rem;
    padding: 0.35rem 0.5rem;
    margin: -0.35rem -0.5rem;
    transition: background 0.15s;
}

body.pub-search-page .online-toggle--link:hover {
    background: rgba(0, 0, 50, 0.04);
}

body.pub-search-page .online-toggle-state {
    font-size: 0.85rem;
    color: var(--text-light);
}

body.pub-search-page .filter-group {
    display: flex;
    flex-direction: column;
}

body.pub-search-page .filter-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 0.35rem;
}

body.pub-search-page .filter-group input,
body.pub-search-page .filter-group select {
    padding: 0.65rem 0.75rem;
    border: 2px solid rgba(0, 0, 50, 0.1);
    border-radius: 10px;
    font-size: 1rem;
    background: #fff;
}

body.pub-search-page .filter-group input:focus,
body.pub-search-page .filter-group select:focus {
    outline: none;
    border-color: var(--accent);
}

body.pub-search-page .search-filters .btn-primary {
    padding: 0.65rem 1.35rem;
    font-size: 1rem;
    border-radius: 0.5rem;
    width: 100%;
    max-width: 220px;
    text-align: center;
}

body.pub-search-page #location-input,
body.pub-search-page #name-input {
    width: 100%;
}

body.pub-search-page .pac-container {
    z-index: 1000 !important;
}

body.pub-search-page .online-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
}

body.pub-search-page .online-toggle input[type="checkbox"] {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--accent);
    cursor: pointer;
}

body.pub-search-page .online-toggle label {
    margin: 0;
    cursor: pointer;
    font-weight: 500;
}

body.pub-search-page .online-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

body.pub-search-page .online-dot.on {
    background: #22c55e;
}

body.pub-search-page .online-dot.off {
    background: var(--border);
}

body.pub-search-page .results-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

body.pub-search-page .results-container--split {
    grid-template-columns: minmax(0, 1fr) minmax(280px, min(42vw, 460px));
    max-width: none;
}

body.pub-search-page .avatars-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

body.pub-search-page .avatars-list.avatars-list--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
    gap: 1.25rem;
    width: 100%;
    min-width: 0;
}

body.pub-search-page .avatars-list--grid .no-results {
    grid-column: 1 / -1;
}

body.pub-search-page .avatars-list--grid .avatar-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 100%;
    padding: 0;
    overflow: hidden;
}

body.pub-search-page .avatar-card__head-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

body.pub-search-page .avatar-card__thumb {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(0, 0, 50, 0.06);
    border: 1px solid rgba(0, 0, 50, 0.08);
}

body.pub-search-page .avatar-card__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

body.pub-search-page .avatar-card__fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(0, 0, 50, 0.38);
}

body.pub-search-page .avatar-card__fallback svg {
    width: 22px;
    height: 22px;
}

body.pub-search-page .avatar-card__head-main {
    flex: 1;
    min-width: 0;
}

body.pub-search-page .avatar-card__inner {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
    padding: 1rem 1.15rem 1.15rem;
}

body.pub-search-page .avatar-card-top {
    flex: 1;
    min-width: 0;
}

body.pub-search-page .avatar-card {
    background: #fff;
    border-radius: 18px;
    padding: 0;
    border: 1px solid rgba(0, 0, 50, 0.06);
    transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
    cursor: pointer;
    overflow: hidden;
}

body.pub-search-page .avatar-card:hover {
    box-shadow: 0 12px 36px rgba(0, 0, 30, 0.08);
    transform: translateY(-2px);
    border-color: rgba(29, 223, 153, 0.35);
}

body.pub-search-page .avatar-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0;
    gap: 1rem;
}

body.pub-search-page .avatar-name {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--navy);
}

body.pub-search-page .avatar-location {
    color: var(--text-light);
    font-size: 0.875rem;
}

body.pub-search-page .avatar-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

body.pub-search-page .rating-stars {
    color: var(--warning);
}

body.pub-search-page .rating-text {
    font-size: 0.875rem;
    color: var(--text-light);
}

body.pub-search-page .avatar-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(0, 0, 50, 0.06);
}

body.pub-search-page .info-label {
    font-size: 0.75rem;
    color: var(--text-light);
    padding-right: 0.2rem;
}

body.pub-search-page .info-value {
    font-weight: 600;
    color: var(--text);
    font-size: 0.8rem;
}

body.pub-search-page .avatar-card-top .avatar-bio {
    margin-left: calc(40px + 0.75rem);
}

body.pub-search-page .avatar-bio {
    color: var(--text-light);
    margin: 0.5rem 0 0;
    line-height: 1.55;
    font-size: 0.92rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

body.pub-search-page .avatar-online {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    color: #22c55e;
}

/* Google Maps InfoWindow — compact avatar card (same visual language as search grid) */
body.pub-search-page .voiyant-map-info {
    padding: 0;
    margin: 0;
    line-height: normal;
    font-family: inherit;
}

body.pub-search-page .avatar-card--map-popup {
    cursor: default;
    max-width: 248px;
    border-radius: 14px;
    pointer-events: auto;
}

body.pub-search-page .avatar-card--map-popup:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(0, 0, 50, 0.06);
}

body.pub-search-page .avatar-card--map-popup .avatar-card__inner {
    padding: 0.65rem 0.72rem 0.72rem;
}

body.pub-search-page .avatar-card--map-popup .avatar-card__thumb {
    width: 34px;
    height: 34px;
}

body.pub-search-page .avatar-card--map-popup .avatar-card__fallback svg {
    width: 18px;
    height: 18px;
}

body.pub-search-page .avatar-card--map-popup .avatar-header {
    gap: 0.45rem;
}

body.pub-search-page .avatar-card--map-popup .avatar-name {
    font-size: 0.95rem;
    line-height: 1.25;
}

body.pub-search-page .avatar-card--map-popup .avatar-location {
    font-size: 0.78rem;
    line-height: 1.35;
}

body.pub-search-page .avatar-card--map-popup .rating-text {
    font-size: 0.78rem;
}

body.pub-search-page .avatar-card--map-popup .avatar-info {
    grid-template-columns: 1fr;
    gap: 0.45rem;
    padding-top: 0.55rem;
    margin-top: 0.45rem;
}

body.pub-search-page .avatar-card--map-popup .info-label {
    font-size: 0.68rem;
}

body.pub-search-page .avatar-card--map-popup .info-value {
    font-size: 0.78rem;
}

body.pub-search-page .avatar-card--map-popup .avatar-online {
    font-size: 0.74rem;
}

body.pub-search-page .avatar-card--map-popup .avatar-card-top .avatar-bio {
    margin-left: 0;
}

body.pub-search-page .avatar-card--map-popup .avatar-bio {
    margin-top: 0.35rem;
    margin-bottom: 0;
    font-size: 0.76rem;
    line-height: 1.45;
    -webkit-line-clamp: 2;
}

body.pub-search-page .avatar-card__map-cta.btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.55rem;
    padding: 0.42rem 0.65rem;
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: 11px;
    box-sizing: border-box;
    text-decoration: none;
    text-align: center;
}

body.pub-search-page .map-container {
    position: sticky;
    top: 1.5rem;
    height: 520px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 50, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 25, 0.05);
}

/* Discover: full-width map, then same card grid as "By name" */
body.pub-search-page .discover-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

body.pub-search-page .map-container.discover-map-top {
    position: relative;
    top: auto;
    height: min(52vh, 520px);
    min-height: 260px;
    max-height: 640px;
    box-shadow: 0 4px 20px rgba(0, 0, 25, 0.05);
}

body.pub-search-page #map {
    width: 100%;
    height: 100%;
}

body.pub-search-page .no-results {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--text-light);
}

body.pub-search-page .no-results-icon {
    font-size: 3rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    body.pub-search-page .results-container--split {
        grid-template-columns: 1fr;
    }

    body.pub-search-page .map-container {
        position: relative;
        height: 400px;
    }

    body.pub-search-page .filters-grid {
        grid-template-columns: 1fr 1fr auto auto;
    }
}

@media (max-width: 768px) {
    body.pub-search-page .filters-grid {
        grid-template-columns: 1fr;
    }

    body.pub-search-page .filters-grid--name {
        grid-template-columns: 1fr;
    }

    body.pub-search-page .filters-grid--discover {
        grid-template-columns: 1fr;
    }

    body.pub-search-page .search-tabs {
        gap: 0.35rem;
    }

    body.pub-search-page .search-tabs .btn {
        padding: 0.55rem 1rem;
        font-size: 0.875rem;
    }
}

/* ===== legal pages (content only — header/footer match global public layout) ===== */
body.pub-legal.embedded header,
body.pub-legal.embedded footer {
    display: none;
}

body.pub-legal:not(.embedded) main {
    padding: clamp(2rem, 5vw, 3rem) 0;
}

body.pub-legal.embedded main {
    padding: 0;
    min-height: 100vh;
}

body.pub-legal .legal-container {
    max-width: 980px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

body.pub-legal.embedded .legal-container {
    padding: 1.5rem;
}

body.pub-legal .legal-card {
    background: #fff;
    border: 1px solid rgba(0, 0, 50, 0.08);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 24px rgba(17, 24, 39, 0.06);
}

body.pub-legal .legal-card h1 {
    font-size: 28px;
    margin: 0 0 8px;
    color: var(--text);
}

body.pub-legal .legal-card .meta {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 18px;
}

body.pub-legal .legal-card h2 {
    font-size: 18px;
    margin-top: 22px;
    border-top: 1px solid #eef2ff;
    padding-top: 18px;
    color: var(--text);
}

body.pub-legal .legal-card h3 {
    font-size: 15px;
    margin-top: 16px;
    color: var(--text);
}

body.pub-legal .legal-card p,
body.pub-legal .legal-card li {
    line-height: 1.55;
    font-size: 15px;
    color: var(--text);
}

body.pub-legal .legal-card ul {
    padding-left: 18px;
}

body.pub-legal .legal-card a {
    color: var(--navy);
    text-decoration: none;
}

body.pub-legal .legal-card a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    body.pub-legal .legal-container {
        padding: 0 1rem;
    }

    body.pub-legal.embedded .legal-container {
        padding: 1rem;
    }

    body.pub-legal .legal-card {
        padding: 1.5rem;
    }
}

/* ===== public/invite-landing (body.pub-invite-landing — never style global body here) ===== */
body.pub-invite-landing *,
body.pub-invite-landing {
            box-sizing: border-box;
        }
        body.pub-invite-landing {
            font-family: 'Inter', system-ui, sans-serif;
            margin: 0;
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient(145deg, #000032 0%, #0e0017 100%);
            padding: 20px;
        }
        body.pub-invite-landing .card {
            background: #fff;
            border-radius: 16px;
            padding: 2rem;
            max-width: 420px;
            width: 100%;
            box-shadow: 0 10px 40px rgba(0,0,0,0.08);
            text-align: center;
        }
        body.pub-invite-landing .card h1 {
            font-size: 1.5rem;
            color: #000032;
            margin: 0 0 0.5rem 0;
        }
        body.pub-invite-landing .card > p {
            color: #4a4a62;
            margin: 0 0 1.5rem 0;
            line-height: 1.5;
        }
        body.pub-invite-landing .btn {
            display: inline-block;
            width: 100%;
            padding: 14px 24px;
            border-radius: 10px;
            font-weight: 600;
            font-size: 1rem;
            text-decoration: none;
            text-align: center;
            cursor: pointer;
            border: none;
            margin-bottom: 12px;
        }
        body.pub-invite-landing .btn-primary {
            background: #1bc8d5;
            color: #000032;
        }
        body.pub-invite-landing .btn-secondary {
            background: rgba(0, 0, 50, 0.06);
            color: #000032;
            border: 1px solid #e2e4ec;
        }
        body.pub-invite-landing .btn:hover { opacity: 0.95; }



/* ===== layouts/app (simple app shell) — body.pub-app-shell only ===== */
        body.pub-app-shell {
            font-family: 'Inter', system-ui, sans-serif;
            margin: 0;
            background: #f5f6f8;
            color: var(--navy);
        }
        body.pub-app-shell header {
            background: var(--navy);
            color: #fff;
            padding: 14px 18px;
            border-bottom: 1px solid rgba(255,255,255,0.08);
        }
        body.pub-app-shell header a {
            color: rgba(255,255,255,0.92);
            text-decoration: none;
        }
        body.pub-app-shell header a:hover {
            color: var(--accent);
        }

/* Login/signup hero: remove extra main padding so #auth-hero matches home #hero */
body.pub-auth-page.pub-auth-has-hero main {
    padding-top: 0;
    padding-bottom: 0;
    min-height: auto;
}
