        html {
            scroll-behavior: smooth;
        }

        @media ( prefers-reduced-motion: reduce ) {
            html {
                scroll-behavior: auto;
            }
        }

        .public-shell {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            background: linear-gradient( 160deg, #f5f7fa 0%, #e8f5ef 45%, #dff6fb 100% );
        }

        .public-header-wrap {
            position: sticky;
            top: 0;
            z-index: 9000;
            background: rgba( 255, 255, 255, 0.96 );
            backdrop-filter: blur( 10px );
            border-bottom: 1px solid rgba( 0, 0, 0, 0.07 );
            box-shadow: 0 2px 16px rgba( 0, 0, 0, 0.04 );
        }

        .public-topbar {
            display: flex;
            align-items: center;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 12px;
            padding: 16px 28px;
            background: rgba( 255, 255, 255, 0.92 );
            border-bottom: 1px solid rgba( 0, 0, 0, 0.06 );
            box-shadow: 0 1px 0 rgba( 255, 255, 255, 0.8 );
        }

        .public-topbar--site {
            max-width: 1100px;
            margin: 0 auto;
            width: 100%;
            flex-wrap: nowrap;
            padding: 12px 20px;
            gap: 8px 14px;
            border-bottom: none;
            box-shadow: none;
            background: transparent;
            display: grid;
            grid-template-columns: auto minmax( 0, 1fr ) auto;
            align-items: center;
        }

        @media ( max-width: 900px ) {
            .public-topbar--site {
                grid-template-columns: 1fr auto;
                grid-template-rows: auto auto;
            }

            .public-brand {
                grid-column: 1;
                grid-row: 1;
            }

            .public-topbar-actions {
                grid-column: 2;
                grid-row: 1;
            }

            .public-nav {
                grid-column: 1 / -1;
                grid-row: 2;
            }
        }

        .public-nav {
            display: flex;
            flex-wrap: nowrap;
            align-items: center;
            justify-content: center;
            gap: 4px 2px;
            overflow-x: auto;
            -webkit-overflow-scrolling: touch;
            padding: 4px 2px;
            margin: 0 -4px;
            scrollbar-width: thin;
        }

        .public-nav a {
            flex: 0 0 auto;
            font-size: 0.82rem;
            font-weight: 600;
            color: #3a3a3a;
            text-decoration: none;
            padding: 8px 12px;
            border-radius: 8px;
            white-space: nowrap;
            transition: background 0.15s ease, color 0.15s ease;
        }

        .public-nav a:hover {
            background: rgba( 67, 214, 116, 0.14 );
            color: #146b42;
        }

        @media ( max-width: 900px ) {
            .public-nav {
                justify-content: flex-start;
                border-top: 1px solid rgba( 0, 0, 0, 0.06 );
                padding-top: 10px;
                margin-top: 6px;
            }
        }

        .public-topbar-actions {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-wrap: nowrap;
            flex-shrink: 0;
        }

        .public-topbar-actions .public-btn {
            white-space: nowrap;
            flex-shrink: 0;
        }

        .public-section-anchor {
            scroll-margin-top: 96px;
        }

        .visually-hidden {
            position: absolute;
            width: 1px;
            height: 1px;
            padding: 0;
            margin: -1px;
            overflow: hidden;
            clip: rect( 0, 0, 0, 0 );
            white-space: nowrap;
            border: 0;
        }

        .public-engagement-next {
            text-align: center;
            margin-top: 20px;
        }

        .public-hero-ctas--center {
            justify-content: center;
        }

        .public-brand {
            display: flex;
            align-items: center;
            gap: 12px;
            font-weight: 700;
            font-size: 1.15rem;
            color: #222;
            text-decoration: none;
        }

        .public-brand img {
            width: 36px;
            height: 36px;
        }

        .public-btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 18px;
            border-radius: 8px;
            font-size: 0.95rem;
            font-weight: 600;
            text-decoration: none;
            transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
        }

        .public-btn--primary {
            color: #fff;
            background: linear-gradient( 135deg, #43d674 0%, #2bd5eb 100% );
            box-shadow: 0 4px 14px rgba( 67, 214, 116, 0.35 );
            border: none;
        }

        .public-btn--primary:hover {
            transform: translateY( -1px );
            box-shadow: 0 6px 18px rgba( 67, 214, 116, 0.45 );
            color: #fff;
        }

        .public-btn--ghost {
            color: #1a7a4c;
            background: rgba( 255, 255, 255, 0.85 );
            border: 1px solid rgba( 67, 214, 116, 0.45 );
        }

        .public-btn--ghost:hover {
            background: rgba( 67, 214, 116, 0.08 );
            color: #146b42;
        }

        @media ( max-width: 484px ) {
            .public-btn.public-btn--desktop-only {
                display: none;
            }
        }

        .public-main {
            flex: 1;
            max-width: 920px;
            margin: 0 auto;
            padding: 48px 24px 72px;
            padding-bottom: max( 72px, calc( 72px + env( safe-area-inset-bottom ) ) );
            width: 100%;
        }

        .public-hero {
            margin-bottom: 28px;
        }

        .public-hero h1 {
            font-size: clamp( 1.65rem, 4vw, 2.35rem );
            color: #1a1a1a;
            margin-bottom: 16px;
            line-height: 1.2;
            font-weight: 800;
        }

        .public-lead {
            font-size: 1.12rem;
            color: #3d3d3d;
            margin-bottom: 22px;
            line-height: 1.55;
            max-width: 38rem;
        }

        .public-hero-ctas {
            display: flex;
            flex-wrap: wrap;
            gap: 12px;
            margin-bottom: 18px;
        }

        .public-hero-wa-hint {
            font-size: 0.98rem;
            color: #4a5568;
            max-width: 36rem;
            line-height: 1.55;
            margin-bottom: 18px;
            padding: 14px 16px;
            background: rgba( 37, 211, 102, 0.08 );
            border-radius: 10px;
            border: 1px solid rgba( 37, 211, 102, 0.2 );
        }

        .public-wa-fab {
            position: fixed;
            right: max( 20px, env( safe-area-inset-right ) );
            bottom: max( 20px, env( safe-area-inset-bottom ) );
            z-index: 9999;
            width: 58px;
            height: 58px;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #25d366;
            color: #fff;
            font-size: 1.85rem;
            box-shadow: 0 6px 24px rgba( 37, 211, 102, 0.45 ), 0 2px 8px rgba( 0, 0, 0, 0.12 );
            transition: transform 0.2s ease, box-shadow 0.2s ease;
        }

        .public-wa-fab:hover {
            transform: scale( 1.06 );
            box-shadow: 0 8px 28px rgba( 37, 211, 102, 0.5 ), 0 4px 12px rgba( 0, 0, 0, 0.15 );
        }

        .public-wa-fab:focus-visible {
            outline: 3px solid #1a7a4c;
            outline-offset: 3px;
        }

        .public-trust {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 14px 18px;
            background: rgba( 255, 255, 255, 0.72 );
            border: 1px solid rgba( 0, 0, 0, 0.06 );
            border-radius: 10px;
            font-size: 0.95rem;
            color: #555;
            margin-bottom: 0;
        }

        .public-trust i {
            color: #43d674;
            font-size: 1.25rem;
        }

        .public-section-title {
            font-size: 1.45rem;
            color: #1a1a1a;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .public-section-intro {
            color: #555;
            margin-bottom: 24px;
            max-width: 40rem;
            line-height: 1.55;
        }

        .public-cards {
            display: grid;
            grid-template-columns: repeat( auto-fit, minmax( 260px, 1fr ) );
            gap: 20px;
            margin-bottom: 52px;
        }

        .public-card {
            background: rgba( 255, 255, 255, 0.88 );
            border: 1px solid rgba( 0, 0, 0, 0.06 );
            border-radius: 12px;
            padding: 22px;
            box-shadow: 0 8px 24px rgba( 0, 0, 0, 0.04 );
        }

        .public-card-icon {
            width: 44px;
            height: 44px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: linear-gradient( 135deg, rgba( 67, 214, 116, 0.2 ) 0%, rgba( 43, 213, 235, 0.2 ) 100% );
            color: #1a7a4c;
            font-size: 1.15rem;
            margin-bottom: 14px;
        }

        .public-card h3 {
            font-size: 1.08rem;
            color: #1a1a1a;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .public-card p {
            font-size: 0.98rem;
            color: #444;
            line-height: 1.55;
            margin-bottom: 12px;
        }

        .public-card ul {
            margin: 0;
            padding-left: 1.15rem;
            font-size: 0.92rem;
            color: #555;
            line-height: 1.5;
        }

        .public-card ul li {
            margin-bottom: 6px;
        }

        .public-card-footnote {
            font-size: 0.82rem;
            color: #666;
            margin-top: 12px;
            line-height: 1.45;
        }

        .public-steps {
            display: grid;
            grid-template-columns: repeat( auto-fit, minmax( 220px, 1fr ) );
            gap: 18px;
            margin-bottom: 52px;
            counter-reset: step;
        }

        .public-step {
            position: relative;
            padding: 20px 20px 20px 52px;
            background: rgba( 255, 255, 255, 0.75 );
            border-radius: 12px;
            border: 1px solid rgba( 0, 0, 0, 0.05 );
        }

        .public-step::before {
            counter-increment: step;
            content: counter( step );
            position: absolute;
            left: 16px;
            top: 18px;
            width: 28px;
            height: 28px;
            border-radius: 50%;
            background: linear-gradient( 135deg, #43d674, #2bd5eb );
            color: #fff;
            font-size: 0.85rem;
            font-weight: 700;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .public-step h3 {
            font-size: 1rem;
            color: #1a1a1a;
            margin-bottom: 8px;
            font-weight: 700;
        }

        .public-step p {
            font-size: 0.95rem;
            color: #555;
            line-height: 1.5;
            margin: 0;
        }

        .public-compare {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0;
            margin-bottom: 52px;
            border-radius: 12px;
            overflow: hidden;
            border: 1px solid rgba( 0, 0, 0, 0.08 );
        }

        @media ( max-width: 640px ) {
            .public-compare {
                grid-template-columns: 1fr;
            }
        }

        .public-compare-col {
            padding: 22px;
        }

        .public-compare-col--no {
            background: rgba( 0, 0, 0, 0.03 );
        }

        .public-compare-col--yes {
            background: rgba( 67, 214, 116, 0.1 );
        }

        .public-compare-col h3 {
            font-size: 1rem;
            margin-bottom: 14px;
            font-weight: 700;
        }

        .public-compare-col--no h3 {
            color: #555;
        }

        .public-compare-col--yes h3 {
            color: #146b42;
        }

        .public-compare-col ul {
            margin: 0;
            padding: 0;
            list-style: none;
            font-size: 0.94rem;
            color: #444;
            line-height: 1.55;
        }

        .public-compare-col li {
            padding: 8px 0 8px 26px;
            position: relative;
            border-top: 1px solid rgba( 0, 0, 0, 0.05 );
        }

        .public-compare-col li:first-of-type {
            border-top: none;
            padding-top: 0;
        }

        .public-compare-col--no li::before {
            content: '\f00d';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: #c45c5c;
            font-size: 0.75rem;
            top: 10px;
        }

        .public-compare-col--yes li::before {
            content: '\f00c';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: #2a9d5c;
            font-size: 0.75rem;
            top: 10px;
        }

        .public-engagement {
            margin-bottom: 0;
        }

        .public-section-block {
            margin-bottom: 48px;
        }

        .public-section-block:last-of-type {
            margin-bottom: 0;
        }

        .public-section-eyebrow {
            font-size: 0.75rem;
            font-weight: 700;
            letter-spacing: 0.04em;
            text-transform: uppercase;
            color: #1a7a4c;
            margin-bottom: 8px;
        }

        .public-checklist {
            background: rgba( 255, 255, 255, 0.88 );
            border-radius: 12px;
            padding: 24px;
            border: 1px solid rgba( 0, 0, 0, 0.06 );
            margin-bottom: 24px;
        }

        .public-checklist h3 {
            font-size: 1.1rem;
            margin-bottom: 14px;
            color: #1a1a1a;
            font-weight: 700;
        }

        .public-checklist ul {
            list-style: none;
            padding: 0;
            margin: 0;
        }

        .public-checklist li {
            padding: 10px 0 10px 32px;
            position: relative;
            font-size: 0.98rem;
            color: #444;
            border-bottom: 1px solid rgba( 0, 0, 0, 0.06 );
        }

        .public-checklist li:last-child {
            border-bottom: none;
        }

        .public-checklist li::before {
            content: '\f059';
            font-family: 'Font Awesome 6 Free';
            font-weight: 900;
            position: absolute;
            left: 0;
            color: #2bd5eb;
        }

        .public-chat-mock {
            max-width: 380px;
            margin: 0 auto;
            background: #e5ddd5;
            background-image:
                radial-gradient( circle at 20% 20%, rgba( 255, 255, 255, 0.35 ) 0%, transparent 45% ),
                radial-gradient( circle at 80% 60%, rgba( 67, 214, 116, 0.08 ) 0%, transparent 40% );
            border-radius: 14px;
            padding: 18px 14px;
            box-shadow: 0 12px 32px rgba( 0, 0, 0, 0.12 );
        }

        .public-chat-bubble {
            max-width: 88%;
            padding: 10px 14px;
            border-radius: 12px;
            margin-bottom: 10px;
            font-size: 0.9rem;
            line-height: 1.45;
            position: relative;
        }

        .public-chat-bubble--in {
            background: #fff;
            color: #222;
            margin-right: auto;
            border-bottom-left-radius: 4px;
            box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.06 );
        }

        .public-chat-bubble--out {
            background: #dcf8c6;
            color: #222;
            margin-left: auto;
            border-bottom-right-radius: 4px;
            box-shadow: 0 1px 1px rgba( 0, 0, 0, 0.06 );
        }

        .public-chat-caption {
            text-align: center;
            font-size: 0.85rem;
            color: #666;
            margin-top: 14px;
        }

        .public-close {
            text-align: center;
            padding: 36px 24px;
            background: rgba( 255, 255, 255, 0.75 );
            border-radius: 14px;
            border: 1px solid rgba( 0, 0, 0, 0.06 );
            margin-bottom: 40px;
        }

        .public-close h2 {
            font-size: 1.35rem;
            color: #1a1a1a;
            margin-bottom: 10px;
            font-weight: 700;
        }

        .public-close p {
            color: #555;
            margin-bottom: 20px;
            max-width: 28rem;
            margin-left: auto;
            margin-right: auto;
            line-height: 1.55;
        }

        .public-footer-note {
            text-align: center;
            font-size: 0.92rem;
            color: #666;
            padding-top: 8px;
            border-top: 1px solid rgba( 0, 0, 0, 0.06 );
        }

        .public-footer-note a {
            color: #1a7a4c;
            font-weight: 600;
            text-decoration: none;
        }

        .public-footer-note a:hover {
            text-decoration: underline;
        }

        .public-site-footer {
            margin-top: 8px;
            padding: 28px 0 20px;
            border-top: 1px solid rgba( 0, 0, 0, 0.08 );
            text-align: center;
        }

        .public-bonan-blurb {
            font-size: 0.9rem;
            color: #555;
            line-height: 1.6;
            max-width: 40rem;
            margin: 0 auto 22px;
            text-align: center;
        }

        .public-bonan-dev {
            display: flex;
            align-items: center;
            justify-content: center;
            flex-wrap: wrap;
            gap: 10px 14px;
        }

        .public-bonan-dev span {
            font-size: 0.88rem;
            color: #666;
        }

        .public-bonan-dev a {
            display: inline-flex;
            align-items: center;
            line-height: 0;
            text-decoration: none;
        }

        .public-bonan-dev a:focus-visible {
            outline: 2px solid #1a7a4c;
            outline-offset: 4px;
            border-radius: 6px;
        }

        .public-bonan-logo {
            height: 36px;
            width: auto;
            max-width: 150px;
            object-fit: contain;
            vertical-align: middle;
        }

/* —— Dark theme (public landing) —— */
:root[data-theme="dark"] .public-shell {
    background: linear-gradient(160deg, #0b141a 0%, #111b21 48%, #0a2520 100%);
}

:root[data-theme="dark"] .public-header-wrap {
    background: rgba(17, 27, 33, 0.92);
    border-bottom-color: var(--wa-border);
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.35);
}

:root[data-theme="dark"] .public-topbar {
    background: rgba(17, 27, 33, 0.88);
    border-bottom-color: var(--wa-border);
    box-shadow: none;
}

:root[data-theme="dark"] .public-nav a {
    color: var(--wa-text-secondary);
}

:root[data-theme="dark"] .public-nav a:hover {
    background: color-mix(in srgb, var(--wa-accent) 18%, transparent);
    color: var(--wa-accent-hover);
}

@media (max-width: 900px) {
    :root[data-theme="dark"] .public-nav {
        border-top-color: var(--wa-border);
    }
}

:root[data-theme="dark"] .public-brand {
    color: var(--wa-text-primary);
}

:root[data-theme="dark"] .public-btn--ghost {
    color: var(--wa-accent-hover);
    background: color-mix(in srgb, var(--wa-bg-elevated) 85%, transparent);
    border-color: color-mix(in srgb, var(--wa-accent) 45%, transparent);
}

:root[data-theme="dark"] .public-btn--ghost:hover {
    background: color-mix(in srgb, var(--wa-accent) 14%, transparent);
    color: var(--wa-accent-hover);
}

:root[data-theme="dark"] .public-hero h1,
:root[data-theme="dark"] .public-section-title,
:root[data-theme="dark"] .public-card h3,
:root[data-theme="dark"] .public-step h3,
:root[data-theme="dark"] .public-checklist h3,
:root[data-theme="dark"] .public-close h2 {
    color: var(--wa-text-primary);
}

:root[data-theme="dark"] .public-lead,
:root[data-theme="dark"] .public-section-intro,
:root[data-theme="dark"] .public-card p,
:root[data-theme="dark"] .public-card ul,
:root[data-theme="dark"] .public-step p,
:root[data-theme="dark"] .public-close p,
:root[data-theme="dark"] .public-trust,
:root[data-theme="dark"] .public-bonan-blurb,
:root[data-theme="dark"] .public-bonan-dev span,
:root[data-theme="dark"] .public-footer-note,
:root[data-theme="dark"] .public-chat-caption,
:root[data-theme="dark"] .public-card-footnote {
    color: var(--wa-text-secondary);
}

:root[data-theme="dark"] .public-section-eyebrow {
    color: var(--wa-accent-hover);
}

:root[data-theme="dark"] .public-hero-wa-hint {
    color: var(--wa-text-secondary);
    background: color-mix(in srgb, var(--wa-brand-green) 12%, var(--wa-bg-panel));
    border-color: color-mix(in srgb, var(--wa-brand-green) 28%, transparent);
}

:root[data-theme="dark"] .public-trust,
:root[data-theme="dark"] .public-card,
:root[data-theme="dark"] .public-step,
:root[data-theme="dark"] .public-checklist,
:root[data-theme="dark"] .public-close {
    background: color-mix(in srgb, var(--wa-bg-elevated) 88%, transparent);
    border-color: var(--wa-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

:root[data-theme="dark"] .public-card-icon {
    background: linear-gradient(135deg, color-mix(in srgb, var(--wa-accent) 22%, transparent) 0%, color-mix(in srgb, var(--wa-accent-hover) 18%, transparent) 100%);
    color: var(--wa-accent-hover);
}

:root[data-theme="dark"] .public-checklist li {
    color: var(--wa-text-secondary);
    border-bottom-color: var(--wa-border);
}

:root[data-theme="dark"] .public-compare {
    border-color: var(--wa-border);
}

:root[data-theme="dark"] .public-compare-col--no {
    background: var(--wa-bg-panel);
}

:root[data-theme="dark"] .public-compare-col--yes {
    background: color-mix(in srgb, var(--wa-accent) 14%, var(--wa-bg-panel));
}

:root[data-theme="dark"] .public-compare-col--no h3 {
    color: var(--wa-text-secondary);
}

:root[data-theme="dark"] .public-compare-col--yes h3 {
    color: var(--wa-accent-hover);
}

:root[data-theme="dark"] .public-compare-col ul {
    color: var(--wa-text-secondary);
}

:root[data-theme="dark"] .public-compare-col li {
    border-top-color: var(--wa-border);
}

:root[data-theme="dark"] .public-chat-mock {
    background: #0b141a;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.04) 0%, transparent 45%),
        radial-gradient(circle at 80% 60%, rgba(0, 168, 132, 0.1) 0%, transparent 40%);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
}

:root[data-theme="dark"] .public-chat-bubble--in {
    background: var(--wa-bubble-in);
    color: var(--wa-text-primary);
}

:root[data-theme="dark"] .public-chat-bubble--out {
    background: var(--wa-bubble-out);
    color: var(--wa-text-primary);
}

:root[data-theme="dark"] .public-site-footer,
:root[data-theme="dark"] .public-footer-note {
    border-top-color: var(--wa-border);
}

:root[data-theme="dark"] .public-footer-note a {
    color: var(--wa-accent-hover);
}

:root[data-theme="dark"] .public-bonan-dev a:focus-visible {
    outline-color: var(--wa-accent-hover);
}

:root[data-theme="dark"] .public-bonan-logo {
    filter: grayscale(1) invert(1);
}

:root[data-theme="dark"] .public-wa-fab:focus-visible {
    outline-color: var(--wa-accent-hover);
}
