:root {
    --bg: #f5f7fa;
    --text: #0f172a;
    --muted: #637188;
    --primary: #2dd4bf;
    --dark-1: #001a39;
    --dark-2: #022745;
    --dark-3: #082f4f;
    --border: #dae3ee;
    /* Fixed header bar height (.topbar min-height + border) — keeps main content below the bar */
    --site-header-offset: 72px;
    --dash-page-shell-bg: #f1f5f9;
    /* User dashboard .dash-sidebar (marketing hero/footer) */
    --dash-sidebar-bg: #060f2b;
    --dash-sidebar-border: #142140;
}

* { box-sizing: border-box; }
/* overflow-x on html/body breaks position:sticky for the header; clip overflow on content sections instead */
html {
    overflow-x: visible;
}
body {
    margin: 0;
    color: var(--text);
    background: var(--bg);
    font: 14px/1.45 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100%;
}
main {
    max-width: 100%;
    overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
/* Full-width layout; 20px gutters (or safe-area on notched devices) */
.container {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    /* Fixed (not sticky): overflow-x on html/body breaks sticky in Chrome/Safari; fixed always stays on top */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 200;
    isolation: isolate;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.site-header + main {
    padding-top: var(--site-header-offset);
}
/* Sales product pages: extra air below fixed header (page-shell top padding is overridden by rule above) */
.site-header + main.page-shell.sales-page {
    padding-top: calc(var(--site-header-offset) + 24px + env(safe-area-inset-top, 0px));
}
.topbar {
    min-height: 68px;
    padding-top: 6px;
    padding-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}
.site-nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #f1f5f9;
    color: #334155;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.15s ease, color 0.15s ease;
}
.site-nav-toggle:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.site-nav-toggle:focus {
    outline: none;
}
.site-nav-toggle:focus-visible {
    outline: 2px solid #7ec8e8;
    outline-offset: 2px;
}
.site-nav-toggle-bars,
.site-nav-toggle-bars::before,
.site-nav-toggle-bars::after {
    display: block;
    width: 20px;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
}
.site-nav-toggle-bars {
    position: relative;
}
.site-nav-toggle-bars::before,
.site-nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
}
.site-nav-toggle-bars::before {
    top: -6px;
}
.site-nav-toggle-bars::after {
    top: 6px;
}
.site-header.is-nav-open .site-nav-toggle-bars {
    background: transparent;
}
.site-header.is-nav-open .site-nav-toggle-bars::before {
    top: 0;
    transform: rotate(45deg);
}
.site-header.is-nav-open .site-nav-toggle-bars::after {
    top: 0;
    transform: rotate(-45deg);
}
.site-topbar-nav {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    justify-content: flex-end;
    gap: 12px;
}
.topbar-nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 0;
    position: relative;
}
.site-topbar-nav .main-nav {
    display: inline-flex;
    flex: 0 1 auto;
}
.site-topbar-nav .auth-links {
    margin-left: 0;
    flex-shrink: 0;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #0f172a;
    font-weight: 800;
    font-size: 17px;
    letter-spacing: 1px;
}
.brand-logo {
    height: 44px;
    width: auto;
    display: block;
    max-width: 160px;
    border-radius: 2px;
}
.brand-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}
.main-nav {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}
.nav-pill {
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 8px 14px;
    border-radius: 99px;
    cursor: pointer;
}
.nav-pill.is-active,
.nav-pill:hover {
    background: #f1f5f9;
    color: #0f172a;
}
.nav-pill:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.nav-trigger::after {
    content: " ▾";
    font-size: 12px;
    opacity: 0.75;
}
.nav-trigger.is-open {
    background: #e2e8f0;
    color: #0f172a;
}
/* Help: compact dropdown (not full mega bar) */
.nav-dropdown {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: stretch;
}
.nav-dropdown__trigger {
    border: 0;
    background: transparent;
    color: #475569;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.01em;
    padding: 8px 14px;
    border-radius: 99px;
    cursor: pointer;
    font-family: inherit;
    text-align: left;
}
.nav-dropdown__trigger::after {
    content: " ▾";
    font-size: 12px;
    opacity: 0.75;
}
.nav-dropdown__trigger:hover {
    background: #f1f5f9;
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.nav-dropdown.is-open .nav-dropdown__trigger {
    background: #e2e8f0;
    color: #0f172a;
}
.nav-dropdown__panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
    min-width: 240px;
    max-width: min(300px, calc(100vw - 48px));
    padding: 6px 0;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    z-index: 260;
    box-sizing: border-box;
}
.nav-dropdown.is-open .nav-dropdown__panel {
    display: block;
}
.nav-dropdown__list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.nav-dropdown__link {
    display: block;
    padding: 10px 16px;
    color: #334155;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
}
.nav-dropdown__link:hover {
    background: #f8fafc;
    color: #0f172a;
}
.nav-dropdown__link:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: -2px;
}
a.nav-pill--link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
}
.nav-pill--link::after {
    content: none !important;
}
.auth-links {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.auth-links a {
    color: #475569;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
}
.auth-links a:hover {
    color: #0f172a;
}
/* Same height for log in + CTA; different backgrounds */
.auth-links__login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 20px !important;
    box-sizing: border-box;
    border-radius: 10px;
    border: 1px solid #cbd5e1 !important;
    background: #ffffff !important;
    color: #334155 !important;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.05);
}
.auth-links__login:hover {
    background: #f8fafc !important;
    color: #0f172a !important;
    border-color: #94a3b8 !important;
}
.auth-links__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-height: 44px;
    padding: 0 20px;
    box-sizing: border-box;
    border-radius: 10px;
    background: #22c55e;
    color: #fff !important;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    text-decoration: none;
    border: 1px solid #16a34a;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.35);
    white-space: nowrap;
    transition: filter 0.15s ease, box-shadow 0.15s ease;
}
.auth-links__cta:hover {
    background: #16a34a;
    color: #fff !important;
    filter: brightness(1.03);
    box-shadow: 0 4px 14px rgba(34, 197, 94, 0.4);
}
.auth-links__cta:active {
    filter: brightness(0.97);
}
.auth-links__cta:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}
.auth-links__cta-ico {
    font-size: 1.05em;
    line-height: 1;
}
.auth-links > a:not(.auth-links__cta):not(.auth-links__login) {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 10px;
}
@keyframes megaGlassIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mega-wrap {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    z-index: 250;
    --mega-dropdown-bg: #f8fafc;
    background: var(--mega-dropdown-bg);
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.1);
}
/* Full viewport width under fixed header (desktop) */
@media (min-width: 981px) {
    .site-header .mega-wrap {
        position: fixed;
        left: 0 !important;
        right: 0 !important;
        top: var(--site-header-offset) !important;
        width: 100vw;
        max-width: 100%;
        margin-left: 0;
        box-sizing: border-box;
    }
}
.mega-wrap.is-open {
    display: block;
    animation: megaGlassIn 0.2s ease forwards;
    max-height: min(78vh, calc(100vh - var(--site-header-offset) - 24px));
    max-height: min(78vh, calc(100dvh - var(--site-header-offset) - 24px));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}
.mega-wrap__inner {
    max-width: 1320px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 8px max(20px, env(safe-area-inset-right, 0px)) 8px max(20px, env(safe-area-inset-left, 0px));
    box-sizing: border-box;
}
.mega-panel {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr)) 248px;
    gap: 22px;
    padding: 24px 0 28px;
}
.mega-panel--grid3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 20px 4px 22px;
    margin: 4px 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.mega-panel--grid2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    padding: 20px 4px 22px;
    margin: 4px 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.mega-panel--grid4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    padding: 20px 4px 22px;
    margin: 4px 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.mega-panel--grid5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    padding: 20px 4px 22px;
    margin: 4px 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.mega-panel--cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) 248px;
}
.mega-panel--help-flat {
    grid-template-columns: minmax(0, 1fr) 248px;
}
.mega-panel--help-nav {
    grid-template-columns: minmax(0, min(380px, 100%));
    justify-content: center;
    justify-items: stretch;
    gap: 0;
    padding: 20px 4px 22px;
    margin: 4px 0 12px;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.mega-panel--help-nav__inner {
    min-width: 0;
}
.mega-heading--mega-section {
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 12px;
    font-weight: 700;
    padding-bottom: 10px;
    margin: 0 0 6px;
    border-bottom: 1px solid #e2e8f0;
    color: #0f172a;
}
.mega-list--help-flat .mega-list__link {
    padding: 10px 0;
}
/* Teal accent stripe — Partners-style treatment for all primary mega panels */
.mega-panel--accent.mega-panel--grid2,
.mega-panel--accent.mega-panel--grid3,
.mega-panel--accent.mega-panel--grid4,
.mega-panel--accent.mega-panel--grid5 {
    border-left: 3px solid rgba(45, 212, 191, 0.45);
    padding-left: 16px;
    box-sizing: border-box;
}
.mega-panel--accent .mega-list__future-desc {
    margin-bottom: 0.65rem;
}
.mega-list__future-label {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #64748b;
}
.mega-list__future-desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #64748b;
    max-width: 18rem;
}
.mega-panel--grid4 .mega-list__future-desc,
.mega-panel--grid5 .mega-list__future-desc {
    max-width: none;
}
.mega-panel.is-open { display: grid; }
.mega-panel--with-cta.mega-panel--grid4 {
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(200px, 260px);
    align-items: start;
}
.mega-panel--with-cta.mega-panel--grid5 {
    grid-template-columns: repeat(5, minmax(0, 1fr)) minmax(200px, 260px);
    align-items: start;
}
.mega-panel__cta {
    align-self: start;
    padding: 18px 18px 20px;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(45, 212, 191, 0.14) 0%, rgba(15, 118, 110, 0.08) 100%);
    border: 1px solid rgba(45, 212, 191, 0.38);
    box-sizing: border-box;
}
.mega-panel__cta-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #0f766e;
}
.mega-panel__cta-title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}
.mega-panel__cta-desc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}
.mega-panel__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, #0d9488 0%, #0f766e 100%);
    border: none;
    transition: filter 0.15s ease;
}
.mega-panel__cta-btn:hover {
    filter: brightness(1.06);
    text-decoration: none;
}

/* About mega — right promo column */
.mega-panel__promo {
    align-self: start;
    padding: 18px 18px 20px;
    border-radius: 12px;
    background: linear-gradient(165deg, rgba(37, 99, 235, 0.1) 0%, rgba(45, 212, 191, 0.12) 100%);
    border: 1px solid rgba(37, 99, 235, 0.28);
    box-sizing: border-box;
}
.mega-panel__promo-kicker {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #1d4ed8;
}
.mega-panel__promo-title {
    margin: 0 0 10px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
    color: #0f172a;
}
.mega-panel__promo-list {
    list-style: none;
    margin: 0 0 12px;
    padding: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}
.mega-panel__promo-list li {
    position: relative;
    padding-left: 1.15em;
    margin-bottom: 6px;
}
.mega-panel__promo-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    color: #0d9488;
    font-size: 12px;
    line-height: 1.5;
}
.mega-panel__promo-tagline {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.4;
}
.mega-panel__promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 10px 14px;
    margin-bottom: 12px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border: none;
    transition: filter 0.15s ease;
}
.mega-panel__promo-btn:hover {
    filter: brightness(1.06);
    text-decoration: none;
}
.mega-panel__promo-mini {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 14px;
    padding-top: 4px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}
.mega-panel__promo-mini-link {
    font-size: 13px;
    font-weight: 600;
    color: #0f766e !important;
    text-decoration: none;
}
.mega-panel__promo-mini-link:hover {
    text-decoration: underline;
}
.mega-panel__promo-powered {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: #64748b;
}
.mega-panel__promo-powered strong {
    color: #334155;
}
.mega-panel__promo-cac {
    font-size: 10px;
    letter-spacing: 0.02em;
    color: #94a3b8;
}

.mega-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 11px;
    color: #0f172a;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.mega-heading-icon {
    flex-shrink: 0;
    color: #0d9488;
    display: flex;
    align-items: center;
}
.mega-icon-svg {
    display: block;
}
.mega-heading--emoji {
    margin: 0 0 12px;
    padding: 0;
    color: #0f172a;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    line-height: 1.3;
}
.mega-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.mega-list li {
    margin: 0;
    padding: 0;
}
.mega-list__link {
    display: block;
    padding: 8px 4px 8px 0;
    color: #475569;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.15s ease, transform 0.15s ease;
}
.mega-list__link:hover {
    color: #0f172a;
    transform: translateX(5px);
}
.mega-list__link:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}
.mega-link {
    display: block;
    padding: 11px 12px;
    border-radius: 9px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    margin-bottom: 9px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.mega-link:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}
.mega-link:focus-visible {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}
.mega-link-title {
    display: block;
    color: #0f172a;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 3px;
    letter-spacing: 0.01em;
}
.mega-link:hover .mega-link-title {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.mega-link-desc {
    display: block;
    color: #64748b;
    font-size: 14px;
    line-height: 1.4;
}
.mega-link.mega-link--external .mega-link-title::after {
    content: " ↗";
    font-size: 0.82em;
    opacity: 0.75;
    font-weight: 600;
}
.mega-panel--marketplace .mega-link {
    border-color: rgba(45, 212, 191, 0.12);
    background: rgba(45, 212, 191, 0.04);
}
.mega-panel--marketplace .mega-link:hover {
    border-color: rgba(45, 212, 191, 0.28);
    background: rgba(45, 212, 191, 0.09);
}
.mega-cta--marketplace {
    border-color: rgba(45, 212, 191, 0.2);
    box-shadow: inset 0 1px 0 rgba(45, 212, 191, 0.08);
}
.mega-cta {
    background: linear-gradient(180deg, #0f416d 0%, #0a3050 100%);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    padding: 18px 16px;
    align-self: start;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.mega-cta h5 {
    margin: 0 0 8px;
    color: #f8fcff;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
    line-height: 1.25;
}
.mega-cta p {
    margin: 0 0 12px;
    color: #c8dde9;
    font-size: 15px;
    line-height: 1.45;
}
.mega-cta a {
    display: inline-block;
    background: #2dd4bf;
    color: #07352e;
    font-size: 15px;
    font-weight: 700;
    border-radius: 7px;
    padding: 11px 16px;
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: filter 0.15s ease;
}
.mega-cta a:hover {
    filter: brightness(1.07);
}
.mega-cta a:focus-visible {
    outline: 2px solid #eaf6ff;
    outline-offset: 2px;
}

/* Home hero: aligns with .container full-width gutters */
.hero-static {
    /* Gradient from site header blue (#012a4a) through deeper nav blues — subtle teal wash matches brand CTAs */
    background:
        radial-gradient(100% 90% at 90% 0%, rgba(45, 212, 191, 0.1) 0%, transparent 55%),
        radial-gradient(80% 70% at 0% 100%, rgba(1, 26, 57, 0.85) 0%, transparent 55%),
        linear-gradient(155deg, #012a4a 0%, #062844 32%, #022745 62%, #001a39 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: hidden;
    overflow-y: visible;
    color: #f1faf5;
    max-width: 100%;
}

.hero-static-container {
    width: 100%;
}

.hero-static .hero-split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, min(392px, 100%));
    gap: clamp(28px, 4.5vw, 52px);
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 36px 0 52px;
    box-sizing: border-box;
}

.hero-static .hero-copy {
    min-width: 0;
    max-width: 36rem;
    padding-top: 0;
    overflow-wrap: anywhere;
    word-wrap: break-word;
    align-self: center;
}

.hero-pill {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #063d35;
    background: linear-gradient(135deg, #a7f3d0 0%, #2dd4bf 55%, #14b8a6 100%);
    padding: 7px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.25) inset,
        0 8px 24px rgba(45, 212, 191, 0.28);
}

.hero-static .hero-copy .eyebrow {
    margin-top: 0;
    margin-bottom: 10px;
}

.hero-static .hero-copy h1 {
    color: #f7fffb;
    text-shadow: 0 1px 28px rgba(0, 0, 0, 0.18);
    max-width: 100%;
    letter-spacing: -0.02em;
    margin-bottom: 0.35em;
}

.hero-static .lead,
.hero-static .hero-lead {
    color: #c2e8d8;
    max-width: 100%;
}

.hero-lead {
    font-size: clamp(15px, 1.45vw, 17px);
    line-height: 1.58;
}

.hero-micro-trust {
    margin: 14px 0 0;
    font-size: 12px;
    color: #8ccfaf;
    line-height: 1.45;
    max-width: 28rem;
}

.hero-static .hero-cta-row {
    margin-top: 8px;
    flex-wrap: wrap;
    max-width: 100%;
    gap: 12px;
}

.hero-static .hero-cta-row .btn {
    flex: 0 1 auto;
    min-width: 0;
    text-align: center;
}

.hero-static .hero-btn-primary {
    padding-left: 18px;
    padding-right: 18px;
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.35);
}

.hero-trust-list {
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    font-size: 12px;
    color: #a8dcc8;
}

.hero-trust-list li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.hero-trust-list li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 2px rgba(45, 212, 191, 0.35);
}

.hero-static .hero-visual-column {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    width: 100%;
    max-width: 392px;
    justify-self: end;
    align-self: center;
}

/* Single glass panel: illustration + form read as one product module */
.hero-static .hero-panel-outline {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.11) 0%, rgba(255, 255, 255, 0.04) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow:
        0 4px 0 rgba(255, 255, 255, 0.06) inset,
        0 28px 64px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.hero-static .hero-visual-top {
    position: relative;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 152px;
    max-height: 172px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 100%);
    isolation: isolate;
}

.hero-static .hero-visual-top .hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.48;
    pointer-events: none;
    animation: hero-orb-drift 10s ease-in-out infinite;
}

.hero-static .hero-orb--a {
    width: min(160px, 42vw);
    height: min(160px, 42vw);
    background: #2dd4bf;
    top: -12%;
    left: 8%;
}

.hero-static .hero-orb--b {
    width: min(130px, 36vw);
    height: min(130px, 36vw);
    background: #2563eb;
    bottom: -18%;
    right: 12%;
    animation-delay: -3.3s;
}

.hero-static .hero-orb--c {
    width: min(100px, 30vw);
    height: min(100px, 30vw);
    background: #a78bfa;
    top: 30%;
    right: 8%;
    animation-delay: -6.6s;
}

@keyframes hero-orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.42; }
    40% { transform: translate(10px, -12px) scale(1.06); opacity: 0.55; }
    70% { transform: translate(-8px, 8px) scale(0.95); opacity: 0.48; }
}

.hero-static .hero-anim-svg-wrap {
    position: relative;
    z-index: 1;
    width: min(100%, 320px);
    margin: 0 auto;
    animation: hero-svg-float 7s ease-in-out infinite;
}

.hero-static .hero-anim-svg {
    width: 100%;
    height: auto;
    display: block;
    opacity: 0.95;
}

.hero-static .hero-flow-line {
    stroke-dashoffset: 0;
    animation: hero-dash-flow 1.4s linear infinite;
}

@keyframes hero-dash-flow {
    to { stroke-dashoffset: -24; }
}

.hero-static .hero-pulse-node {
    animation: hero-node-pulse 2.8s ease-in-out infinite;
}

.hero-static .hero-pulse-node--delay {
    animation-delay: -1.4s;
}

@keyframes hero-node-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.hero-static .hero-lock-group {
    animation: hero-lock-glow 3.2s ease-in-out infinite;
}

.hero-static .hero-lock-core {
    animation: hero-lock-core 2s ease-in-out infinite;
}

@keyframes hero-lock-glow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.82; }
}

@keyframes hero-lock-core {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.65; }
}

@keyframes hero-svg-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-static .hero-escrow-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    align-self: stretch;
    background: rgba(4, 22, 19, 0.35);
    border: none;
    border-radius: 0;
    padding: 20px 20px 18px;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-sizing: border-box;
}

.hero-escrow-card-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-escrow-title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: #f7fffb;
    letter-spacing: -0.02em;
}

.hero-escrow-sub {
    margin: 0;
    font-size: 12px;
    line-height: 1.5;
    color: #b8ead9;
}

.hero-escrow-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-static .hero-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.hero-field-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9ed9c4;
    margin-bottom: 5px;
}

.hero-static .hero-field-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(2, 18, 15, 0.65);
    color: #f1faf5;
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 13px;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-static .hero-field-input::placeholder {
    color: rgba(241, 250, 245, 0.45);
}

.hero-static .hero-field-input:hover {
    border-color: rgba(45, 212, 191, 0.5);
}

.hero-static .hero-field-input:focus {
    outline: none;
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.22);
}

.hero-static select.hero-field-input {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-color: rgba(2, 18, 15, 0.65);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2398ccb9' d='M3 4.5L6 8l3-3.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 32px;
}

.hero-form-submit {
    width: 100%;
    margin-top: 6px;
    padding: 13px 16px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 6px 20px rgba(45, 212, 191, 0.32);
}

.hero-form-foot {
    margin: 10px 0 0;
    font-size: 11px;
    line-height: 1.5;
    color: #9bcab8;
    text-align: center;
    overflow-wrap: anywhere;
}

.muted-hero {
    color: #9bcab8;
}

.hero-inline-link {
    color: #b8f5e8;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.hero-inline-link:hover {
    color: #fff;
}

@media (prefers-reduced-motion: reduce) {
    .hero-static .hero-orb,
    .hero-static .hero-anim-svg-wrap,
    .hero-static .hero-flow-line,
    .hero-static .hero-pulse-node,
    .hero-static .hero-lock-group,
    .hero-static .hero-lock-core {
        animation: none !important;
    }
}

.eyebrow {
    color: #98ccb9;
    margin: 0 0 8px;
    font-size: 10px;
    letter-spacing: 1.1px;
    font-weight: 700;
}
h1 {
    margin: 0;
    font-size: clamp(2rem, 3.2vw, 3rem);
    line-height: 1.08;
    max-width: 620px;
}
.lead {
    margin: 10px 0 16px;
    color: #b7d7c8;
    max-width: 560px;
}
.btn-row { display: flex; gap: 10px; align-items: center; }
.btn {
    border-radius: 3px;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 12px;
    cursor: pointer;
}
.btn-primary {
    background: #2dd4bf;
    color: #08332d;
}
.btn-ghost {
    background: #fff;
    color: #1c2f43;
    border: 1.5px solid #d1dce8;
}
/* —— Marketing home (below hero): stats, bands, splits, code panels —— */
.stats-bar {
    background: linear-gradient(180deg, #fafbfd 0%, #fff 100%);
    border-bottom: 1px solid #e8eef5;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset;
    scroll-margin-top: calc(var(--site-header-offset) + 12px);
}
/* Below hero: desktop = one row of four cells; mobile = two stacked sections */
.stats-bar__layout {
    min-height: 72px;
    display: grid;
    grid-template-columns: 1.15fr 1fr 1.1fr minmax(160px, auto);
    gap: clamp(16px, 3vw, 28px);
    align-items: center;
    padding: 18px 0;
}
.stats-bar__metrics,
.stats-bar__explore {
    display: contents;
}
.stat-block__value {
    display: block;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.stat-block__label {
    display: block;
    margin-top: 4px;
    color: #64748b;
    font-size: 12px;
    line-height: 1.35;
    max-width: 220px;
}
.stat-block--cta .stat-block__label--inline {
    display: block;
    margin-bottom: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}
.stat-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.stat-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    color: #0f4c6e;
    background: #fff;
    border: 1px solid #cfe8f0;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}
.stat-pill:hover {
    border-color: #2dd4bf;
    color: #065f46;
    box-shadow: 0 4px 14px rgba(45, 212, 191, 0.15);
}
.stat-pill:focus-visible {
    outline: 2px solid #2dd4bf;
    outline-offset: 2px;
}

/* —— Home refresh (React-inspired): hero “how it works”, trust strip, flow grid, 2-up accounts, final CTA —— */
.hero-static .hero-split {
    grid-template-columns: minmax(0, 1.12fr) minmax(280px, min(440px, 100%));
}

.hero-static .hero-visual-column {
    max-width: 440px;
}

.home-hero-howitworks {
    background: #fff;
    color: #1e293b;
    border-radius: 14px;
    padding: 16px 18px 18px;
    margin-bottom: 14px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.55);
}

.home-hero-howitworks__title {
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.home-hero-howitworks__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
}

.home-hero-howitworks__list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.home-hero-howitworks__step {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 11px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-page .home-hero-btn-marketplace {
    background: #fff;
    color: #1e40af;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
    font-weight: 700;
}

.home-page .home-hero-btn-marketplace:hover {
    background: #f8fafc;
    color: #1e3a8a;
    border-color: #fff;
}

.stats-bar.home-stats-v2 {
    padding-top: 28px;
    padding-bottom: 22px;
}

.home-stats-v2__highlight {
    text-align: center;
    padding-bottom: 20px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e8eef5;
}

.home-stats-v2__title {
    margin: 0 0 14px;
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.home-stats-v2__checks {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 22px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

.home-stats-v2__checks li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.home-stats-v2__checks li::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #22c55e;
}

.home-flow-grid-section {
    padding: clamp(40px, 6vw, 56px) 0;
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.home-flow-grid-section__title {
    margin: 0 0 clamp(20px, 3vw, 28px);
    text-align: center;
    font-size: clamp(1.25rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

.home-flow-grid {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.home-flow-grid__cell {
    background: #fff;
    padding: 14px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    color: #334155;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
    border: 1px solid #e2e8f0;
}

@media (max-width: 900px) {
    .home-flow-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .home-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.home-account-duo__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(18px, 3vw, 24px);
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .home-account-duo__grid {
        grid-template-columns: 1fr;
    }
}

.home-account-duo__more {
    text-align: center;
    margin: clamp(20px, 3vw, 28px) 0 0;
    font-size: 14px;
    color: #64748b;
}

.home-account-duo__more a {
    color: #1e4a8c;
    font-weight: 600;
}

.home-account-duo__cta--business {
    background: #059669;
    border-color: #047857;
    color: #fff;
}

.home-account-duo__cta--business:hover {
    background: #047857;
    border-color: #065f46;
}

.home-final-cta {
    background: linear-gradient(160deg, #1e40af 0%, #1d4ed8 45%, #2563eb 100%);
    color: #fff;
    padding: clamp(48px, 8vw, 72px) 0;
    text-align: center;
}

.home-final-cta__inner {
    max-width: 560px;
    margin: 0 auto;
}

.home-final-cta__title {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.home-final-cta__sub {
    margin: 0 0 22px;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.88);
}

.home-final-cta__btn {
    font-weight: 800;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
}

.home-properties__emoji {
    margin-right: 6px;
}

@media (max-width: 900px) {
    .hero-static .hero-visual-column {
        justify-self: stretch;
        max-width: none;
    }
}

/* Home: featured property listings — horizontal scroll on small screens */
.home-properties {
    padding: clamp(32px, 5vw, 48px) 0;
    background: #fff;
    border-bottom: 1px solid #e8eef5;
}
.home-properties__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: clamp(18px, 3vw, 24px);
}
.home-properties__head-text {
    min-width: min(100%, 260px);
}
.home-properties h2 {
    margin: 0 0 6px;
    font-size: clamp(1.25rem, 2.4vw, 1.5rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.home-properties__sub {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #64748b;
    max-width: 520px;
}
.home-properties__all {
    font-size: 14px;
    font-weight: 700;
    color: #1e4a8c;
    text-decoration: none;
    white-space: nowrap;
}
.home-properties__all:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.home-properties__scroller {
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px)));
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}
.home-properties__track {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 4px 0 12px;
    width: max-content;
    min-width: 100%;
}
.home-properties__track > li {
    flex: 0 0 min(280px, 82vw);
    max-width: min(280px, 82vw);
    scroll-snap-align: start;
}
@media (min-width: 768px) {
    .home-properties__scroller {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
        scroll-snap-type: none;
    }
    .home-properties__track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: auto;
        min-width: 0;
        gap: clamp(16px, 2vw, 22px);
    }
    .home-properties__track > li {
        flex: none;
        max-width: none;
        min-width: 0;
    }
}

.market-section {
    padding: clamp(40px, 6vw, 72px) 0;
    border-top: 1px solid #e8eef5;
    scroll-margin-top: calc(var(--site-header-offset) + 16px);
}
.market-section--tint {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 50%, #f8fafc 100%);
    border-top-color: #e2e8f0;
}
.market-section--bottom {
    padding-bottom: clamp(48px, 8vw, 88px);
}
.market-intro {
    text-align: center;
    max-width: 1120px;
    margin: 0 auto;
}
.market-eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0d6e5f;
}
.market-title {
    margin: 0;
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    line-height: 1.18;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.market-lede {
    margin: 14px auto 0;
    max-width: 640px;
    color: #64748b;
    font-size: 16px;
    line-height: 1.55;
}

/* Homepage: account types grid */
.account-types-section .account-types-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 24px);
}

.account-type-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 18px 16px 16px;
    box-shadow: 0 12px 28px rgba(148, 163, 184, 0.18);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.account-type-title {
    margin: 0 0 2px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}

.account-type-text {
    margin: 0 0 4px;
    font-size: 13px;
    color: #64748b;
}

.account-type-points {
    margin: 4px 0 10px;
    padding-left: 18px;
    font-size: 12px;
    color: #475569;
    line-height: 1.5;
}

.account-type-points li + li {
    margin-top: 4px;
}

.account-type-cta {
    margin-top: auto;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #ecfdf5;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.account-type-cta:hover {
    background: #115e59;
    border-color: #115e59;
}

@media (max-width: 980px) {
    .account-types-section .account-types-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .account-types-section .account-types-grid {
        grid-template-columns: 1fr;
    }
}

.process-track {
    list-style: none;
    margin: 40px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: clamp(10px, 2vw, 18px);
    text-align: left;
    counter-reset: none;
}
.process-step {
    position: relative;
    margin: 0;
    padding: 18px 14px 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.process-step__rail {
    display: none;
}
.process-step__head {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.process-step__num {
    font-size: 11px;
    font-weight: 800;
    color: #94a3b8;
    letter-spacing: 0.04em;
}
.process-step__icon {
    color: #14b8a6;
    display: flex;
}
.process-step__title {
    margin: 0 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.25;
}
.process-step__text {
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: #64748b;
}

.market-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(28px, 5vw, 56px);
    align-items: center;
}
.market-split--reverse .market-split__visual {
    order: -1;
}
.market-split__title {
    margin: 12px 0 10px;
    font-size: clamp(1.45rem, 2.6vw, 2rem);
    line-height: 1.2;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.market-split__text {
    margin: 0 0 16px;
    font-size: 15px;
    line-height: 1.55;
    max-width: 520px;
}
.market-points {
    margin: 0 0 18px;
    padding: 0;
    list-style: none;
}
.market-points li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}
.market-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}
.market-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #0d5c6e;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: color 0.15s ease, border-color 0.15s ease;
}
.market-link:hover {
    color: #0f766e;
    border-bottom-color: rgba(15, 118, 110, 0.35);
}
.market-link--quiet {
    font-weight: 600;
    color: #64748b;
    margin-left: 4px;
}
.market-split__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}
.chip {
    border-radius: 999px;
    background: #f1f5f9;
    color: #64748b;
    font-weight: 600;
    font-size: 11px;
    padding: 6px 12px;
    border: 1px solid transparent;
}
.chip.is-active {
    color: #0f766e;
    border-color: #99f6e4;
    background: #ecfdf5;
}

.market-split__visual--work {
    min-height: 220px;
    border-radius: 16px;
    background:
        radial-gradient(80% 70% at 90% 20%, rgba(45, 212, 191, 0.18) 0%, transparent 55%),
        radial-gradient(60% 50% at 10% 80%, rgba(1, 42, 74, 0.12) 0%, transparent 50%),
        linear-gradient(145deg, #e0f2fe 0%, #f0fdfa 45%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
}
.market-visual-card {
    width: 100%;
    max-width: 280px;
    padding: 20px 18px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.market-visual-card__tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #0d9488;
    margin-bottom: 8px;
}
.market-visual-card__title {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.market-visual-card__meta {
    margin: 0;
    font-size: 12px;
    color: #64748b;
}

/* Homepage: use cases tabs + illustrations */
.use-cases-section .use-cases-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 700;
}
.use-case-tabs {
    display: flex;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 6px;
    width: 100%;
    margin-bottom: 18px;
}
.use-case-tab {
    font-family: inherit;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    margin: 0;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
    color: #64748b;
    padding: 8px 8px;
    line-height: 1.2;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}
.use-case-tab:hover {
    color: #0f172a;
    background: #f1f5f9;
    border-color: #e2e8f0;
}
.use-case-tab[aria-selected="true"] {
    color: #0f766e;
    border-color: #5eead4;
    background: #ecfdf5;
    box-shadow: 0 0 0 1px rgba(45, 212, 191, 0.28);
}
.use-case-tab:focus {
    outline: none;
}
.use-case-tab:focus-visible {
    outline: 2px solid #0d9488;
    outline-offset: 2px;
}
.use-case-panels {
    min-height: 8rem;
}
.use-case-panel:focus {
    outline: none;
}
.use-case-visual .use-case-art {
    position: relative;
    width: 100%;
    min-height: 260px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}
.use-case-slide {
    width: 100%;
    max-width: 360px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}
.use-case-slide[hidden] {
    display: none !important;
}
.use-case-illu {
    width: 100%;
    max-width: 360px;
    height: auto;
    display: block;
    border-radius: 14px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}
.use-case-visual .use-case-card {
    max-width: 300px;
    margin: 0;
}

/* Homepage: developer API + checkout hero illustrations */
.home-feature-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.home-feature-illu-frame {
    margin: 0;
    width: 100%;
    max-width: 448px;
    padding: clamp(12px, 2vw, 16px);
    border-radius: 22px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.98) 0%, #f8fafc 45%, #f1f5f9 100%);
    border: 1px solid rgba(226, 232, 240, 0.95);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.65) inset;
}
.market-section--tint .home-feature-illu-frame {
    background: linear-gradient(165deg, #ffffff 0%, #f1f5f9 55%, #eef7f6 100%);
    box-shadow:
        0 32px 72px rgba(1, 42, 74, 0.11),
        0 0 0 1px rgba(255, 255, 255, 0.75) inset;
}
.home-feature-illu-frame--api {
    border-color: rgba(45, 212, 191, 0.4);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.11),
        0 0 0 1px rgba(45, 212, 191, 0.12) inset,
        0 0 48px rgba(45, 212, 191, 0.08);
}
.home-feature-illu-frame--checkout {
    border-color: rgba(13, 148, 136, 0.35);
    box-shadow:
        0 26px 60px rgba(15, 23, 42, 0.1),
        0 0 0 1px rgba(13, 148, 136, 0.1) inset,
        0 0 40px rgba(20, 184, 166, 0.09);
}
.home-feature-illu {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    vertical-align: middle;
}

.code-panel {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #1e3a5f;
    box-shadow: 0 16px 48px rgba(1, 26, 57, 0.18);
    background: #0a2540;
}
.code-panel--compact .code-panel__pre {
    padding: 14px 16px 10px;
}
.code-panel__chrome {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    background: #071d33;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.code-panel__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #334155;
}
.code-panel__dot:nth-child(1) { background: #f87171; }
.code-panel__dot:nth-child(2) { background: #fbbf24; }
.code-panel__dot:nth-child(3) { background: #4ade80; }
.code-panel__label {
    margin-left: auto;
    font-size: 11px;
    font-weight: 600;
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}
.code-panel__pre {
    margin: 0;
    padding: 18px 16px 20px;
    overflow-x: auto;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 12px;
    line-height: 1.55;
    color: #cbd5e1;
}
.code-panel__pre code {
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}
.code-k { color: #5eead4; font-weight: 700; }
.code-s { color: #93c5fd; }
.code-c { color: #64748b; }
.code-p { color: #7dd3fc; }
.code-n { color: #fcd34d; }
.code-str { color: #86efac; }
.code-panel__foot {
    margin: 0;
    padding: 0 16px 16px;
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.4;
}

.trust-bento {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.trust-bento__cell {
    padding: 18px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.trust-bento__cell:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.07);
}
.trust-bento__icon {
    display: flex;
    color: #0d9488;
    margin-bottom: 10px;
}
.trust-bento__label {
    display: block;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 4px;
}
.trust-bento__hint {
    display: block;
    font-size: 12px;
    line-height: 1.35;
    color: #64748b;
}

.muted { color: var(--muted); }
.more-link {
    color: #2f78b8;
    font-weight: 700;
    font-size: 12px;
}
.btn.small {
    font-size: 11px;
    padding: 7px 14px;
}
.text-link {
    margin-left: 8px;
    color: #566983;
    font-weight: 700;
}

/* Homepage only: +2px on all text sizes (hero + marketing body; header/footer unchanged) */
.home-page {
    font-size: 16px;
}
.home-page .hero-pill {
    font-size: 12px;
}
.home-page .eyebrow {
    font-size: 12px;
}
.home-page .hero-copy h1 {
    font-size: clamp(calc(2rem + 2px), calc(3.2vw + 2px), calc(3rem + 2px));
}
.home-page .hero-lead {
    font-size: clamp(17px, calc(1.45vw + 2px), 19px);
}
.home-page .hero-micro-trust {
    font-size: 14px;
}
.home-page .hero-trust-list {
    font-size: 14px;
}
.home-page .hero-escrow-title {
    font-size: 18px;
}
.home-page .hero-escrow-sub {
    font-size: 14px;
}
.home-page .hero-field-label {
    font-size: 12px;
}
.home-page .hero-field-input {
    font-size: 15px;
}
.home-page .hero-form-submit {
    font-size: 15px;
}
.home-page .hero-form-foot {
    font-size: 13px;
}
.home-page .hero-static .hero-cta-row .btn {
    font-size: 14px;
}
.home-page .stat-block__value {
    font-size: 17px;
}
.home-page .stat-block__label {
    font-size: 14px;
}
.home-page .stat-block__label--inline {
    font-size: 13px;
}
.home-page .stat-pill {
    font-size: 14px;
}
.home-page .market-eyebrow {
    font-size: 14px;
}
.home-page .market-title {
    font-size: clamp(calc(1.65rem + 2px), calc(3.2vw + 2px), calc(2.35rem + 2px));
}
.home-page .market-lede {
    font-size: 18px;
}
.home-page .process-step__num {
    font-size: 13px;
}
.home-page .process-step__title {
    font-size: 15px;
}
.home-page .process-step__text {
    font-size: 14px;
}
.home-page .market-split__title {
    font-size: clamp(calc(1.45rem + 2px), calc(2.6vw + 2px), calc(2rem + 2px));
}
.home-page .market-split__text {
    font-size: 17px;
}
.home-page .market-points li {
    font-size: 16px;
}
.home-page .market-points li strong {
    font-size: inherit;
}
.home-page .market-link {
    font-size: 16px;
}
.home-page .chips .chip {
    font-size: 13px;
}
.home-page .use-case-tab {
    font-size: clamp(10px, 1.45vw, 13px);
    padding: 9px 4px;
    white-space: normal;
    hyphens: auto;
}
.home-page .market-visual-card__tag {
    font-size: 12px;
}
.home-page .market-visual-card__title {
    font-size: 18px;
}
.home-page .market-visual-card__meta {
    font-size: 14px;
}
.home-page .code-panel__label {
    font-size: 13px;
}
.home-page .code-panel__pre {
    font-size: 14px;
}
.home-page .code-panel__foot {
    font-size: 14px;
}
.home-page .trust-bento__label {
    font-size: 16px;
}
.home-page .trust-bento__hint {
    font-size: 14px;
}
.home-page .btn.small {
    font-size: 13px;
}

.site-footer {
    margin-top: 0;
    background: #001a39;
    color: #b5d0e1;
    padding: 52px 0 26px;
}
.footer-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    column-gap: clamp(18px, 2.2vw, 26px);
    row-gap: 20px;
}
/* Column titles: align with header nav weight & readability */
.footer-grid h4 {
    margin: 0 0 14px;
    color: #e7f8ff;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    white-space: nowrap;
}
/* Brand column: match header .brand emphasis */
.footer-grid > div:first-child h4 {
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: none;
    color: #e2f5ff;
}
.footer-grid a,
.footer-grid p {
    display: block;
    margin: 0 0 10px;
    color: #b5d0e1;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: 0.01em;
}
.footer-grid > div:first-child p {
    font-weight: 500;
    color: #a8c9dc;
    max-width: 14em;
}
.footer-powered {
    font-size: 13px !important;
    line-height: 1.45 !important;
    color: #8eb9d4 !important;
    max-width: 22em !important;
}
.footer-powered strong {
    color: #cfe8f7;
}
.footer-grid a {
    color: #b5d0e1;
}
.footer-grid a:hover {
    color: #e7f8ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-bottom {
    margin-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 16px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #8ab1c8;
}
.footer-bottom__left {
    margin: 0;
    flex: 1 1 auto;
    min-width: min(100%, 280px);
    text-align: left;
    line-height: 1.5;
    color: #8ab1c8;
}
.footer-bottom__left strong {
    color: #cfe8f7;
    font-weight: 700;
}
.footer-bottom__nav {
    margin: 0;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
    row-gap: 6px;
    line-height: 1.45;
}
.footer-bottom__nav a {
    color: #b5d0e1;
    text-decoration: none;
    white-space: nowrap;
}
.footer-bottom__nav a:hover {
    color: #e7f8ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.footer-bottom__sep {
    display: inline-block;
    padding: 0 0.65em;
    color: rgba(255, 255, 255, 0.22);
    font-weight: 400;
    user-select: none;
}
.footer-baseline {
    margin: 0;
    color: #8ab1c8;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: left;
    line-height: 1.45;
}
.footer-baseline-links {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    color: #8ab1c8;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
}
.footer-baseline-links a {
    color: #b5d0e1;
}
.footer-baseline-links a:hover {
    color: #e7f8ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.form-shell {
    min-height: calc(100vh - 150px);
    display: grid;
    place-items: center;
    padding: 40px 0;
}
.auth-standalone-page {
    min-height: 100vh;
    background: radial-gradient(120% 120% at 0% 0%, #0a2f4f 0%, #07243d 42%, #061c33 100%);
}

.admin-auth-standalone-page {
    min-height: 100vh;
    background: #1f2a3a !important; /* Admin sidebar background */
}

.admin-auth-standalone-shell {
    min-height: 100vh;
    display: grid !important;
    place-items: center !important;
    padding: 24px;
}

.admin-auth-card {
    width: min(580px, 100%);
    background: #ffffff !important;
    border: 1px solid #d8e3ef;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
    color: #1e2635;
}

.admin-auth-card a {
    color: #5de0bf;
}

.admin-auth-card .form-alert {
    background: #f3f4f6;
    border-color: #d8e3ef;
    color: #1e2635;
}

.admin-auth-card .field-input,
.admin-auth-card .field-select,
.admin-auth-card .field-textarea {
    background: #ffffff;
    border-color: #cfd8e6;
    color: #0f172a;
}

.admin-auth-card .auth-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 8px !important;
}

.admin-auth-card .auth-row p {
    margin: 6px 0 !important;
}

.admin-auth-card .field-input,
.admin-auth-card .field-select,
.admin-auth-card .field-textarea {
    background: #ffffff !important;
    border: 1px solid #cfd8e6 !important;
    color: #0f172a !important;
}
.auth-standalone-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

/* ── Get-started page (combined login + signup) ───────────────────────── */
.gs-card {
    width: min(640px, 100%);
}
.gs-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.gs-card__brand { font-size: 1rem; color: #0f172a; letter-spacing: .04em; }
.gs-card__home  { font-size: 13px; }
.gs-card__title {
    font-size: clamp(1.4rem, 4vw, 1.9rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 4px;
}
.gs-card__sub { margin: 0 0 20px; font-size: 0.9rem; }

/* Tabs */
.gs-tabs {
    display: flex;
    gap: 0;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 24px;
}
.gs-tab {
    flex: 1;
    padding: 12px 16px;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    border: none;
    background: #f8fafc;
    color: #64748b;
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}
.gs-tab[aria-selected="true"] {
    background: #0369a1;
    color: #fff;
}
.gs-tab:hover:not([aria-selected="true"]) {
    background: #e0f2fe;
    color: #0369a1;
}
.gs-type-label {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 10px;
}
.auth-logo-link {
    display: inline-block;
    line-height: 0;
}

.auth-logo {
    display: block;
    height: auto;
    max-width: 140px;
}

.auth-standalone-card {
    width: min(580px, 100%);
    background: #ffffff;
    border: 1px solid #d8e3ef;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 12px 34px rgba(2, 12, 27, 0.24);
}
.auth-standalone-card h2 {
    margin: 0 0 14px;
    font-size: 1.75rem;
    line-height: 1.2;
}
.auth-standalone-card .muted {
    font-size: 0.95rem;
}
.auth-standalone-card .btn-row {
    margin-top: 14px;
    flex-wrap: wrap;
}
.auth-standalone-card .btn {
    min-height: 40px;
}
.auth-standalone-card .field-label {
    margin-top: 10px;
}

@media (max-width: 640px) {
    .auth-standalone-shell {
        padding: max(12px, env(safe-area-inset-top)) max(12px, env(safe-area-inset-right)) max(20px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));
        align-content: center;
        min-height: 100vh;
        box-sizing: border-box;
    }
    .auth-standalone-card,
    .signup-standalone-card {
        width: 100%;
        max-width: 100%;
        padding: 14px 14px 16px;
        border-radius: 8px;
    }
    .auth-standalone-card h2 {
        font-size: 1.35rem;
        margin: 0 0 10px;
    }
    .auth-standalone-card .muted {
        font-size: 0.88rem;
    }
    .auth-standalone-card .field-label {
        margin-top: 8px;
        font-size: 0.88rem;
        margin-bottom: 4px;
    }
    .auth-standalone-card .field-input {
        padding: 9px 10px;
        font-size: 16px; /* avoids iOS zoom on focus */
    }

    .auth-standalone-card .inline-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .account-type-grid {
        grid-template-columns: 1fr;
    }
    .signup-model-grid {
        gap: 10px;
        margin-top: 8px;
    }
    .signup-model-card {
        padding: 10px 12px 10px;
        gap: 6px;
        border-radius: 8px;
    }
    .signup-model-heading {
        font-size: 1.35rem;
        line-height: 1.15;
    }
    .signup-model-subtext {
        font-size: 12px;
        line-height: 1.3;
    }
    .signup-model-badge {
        font-size: 9px;
        padding: 2px 6px;
    }
    .signup-model-list {
        font-size: 11px;
        gap: 4px;
    }
    .signup-model-list li {
        padding-left: 16px;
    }
    .signup-model-actions {
        margin-top: 10px;
    }
    .signup-model-actions .btn {
        width: 100%;
        min-height: 42px;
    }
    .signup-details {
        margin-top: 10px;
        padding-top: 10px;
    }
    .auth-standalone-card .btn-row {
        margin-top: 10px;
    }
    .auth-standalone-card .btn-row .btn {
        width: 100%;
        text-align: center;
        min-height: 44px;
    }
    /* Login / signup footer links: stack instead of squeezed columns */
    .auth-standalone-card .auth-row {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 8px;
        margin-top: 14px;
    }
    .auth-standalone-card .auth-row p {
        margin: 0;
        font-size: 0.88rem;
        line-height: 1.4;
    }
    .form-alert {
        padding: 8px 10px;
        font-size: 11px;
        margin-bottom: 10px;
    }
}
@media (max-width: 380px) {
    .auth-standalone-shell {
        padding-top: max(10px, env(safe-area-inset-top));
        padding-bottom: max(16px, env(safe-area-inset-bottom));
        padding-left: max(10px, env(safe-area-inset-left));
        padding-right: max(10px, env(safe-area-inset-right));
    }
    .auth-standalone-card,
    .signup-standalone-card {
        padding: 12px 12px 14px;
    }
    .signup-model-heading {
        font-size: 1.2rem;
    }
}
.form-card {
    width: min(580px, 100%);
    background: #fff;
    border: 1px solid #d8e3ef;
    border-radius: 8px;
    padding: 24px;
}
.form-card h2 { margin: 0 0 14px; }
.form-alert {
    border-radius: 6px;
    padding: 10px 12px;
    margin-bottom: 12px;
    font-size: 12px;
}
.form-alert-success {
    background: #ecfdf3;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.form-alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.field-label {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 10px 0 6px;
}
.field-input,
.field-select,
.field-textarea {
    width: 100%;
    border: 1px solid #cfd8e6;
    border-radius: 6px;
    padding: 11px 12px;
    font: inherit;
}
.field-textarea { min-height: 90px; resize: vertical; }
.inline-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.account-type-grid {
    display: grid;
    gap: 10px;
    grid-template-columns: 1fr 1fr;
}
.account-type-card {
    display: grid;
    gap: 6px;
    border: 1px solid #cfdae6;
    border-radius: 8px;
    padding: 10px;
    background: #fbfdff;
}
.account-type-card input[type="radio"] {
    margin: 0;
}
.account-type-title {
    font-weight: 700;
    color: #0f1f38;
}
.account-type-desc {
    color: #4d5f78;
    font-size: 12px;
}
.signup-standalone-card {
    width: min(940px, 100%);
}
.signup-model-grid {
    margin-top: 10px;
    display: grid;
    /* Desktop (769px+): Personal | Business side by side */
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: auto;
    gap: 12px;
    align-items: stretch;
}
/* Mobile / narrow tablet: one column, two rows — Personal (first in DOM), then Business */
@media (max-width: 768px) {
    .signup-model-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto;
        grid-auto-flow: row;
    }
}
.signup-model-card {
    border: 1.5px solid #d5e1ef;
    border-radius: 2px;
    padding: 14px 14px 12px;
    background: #fff;
    display: grid;
    gap: 7px;
}
.signup-model-card:has(.signup-model-radio:checked) {
    border-color: #2f78b8;
    box-shadow: 0 0 0 1px rgba(47, 120, 184, 0.2) inset;
}
.signup-model-card.is-selected {
    border-color: #2f78b8;
    box-shadow: 0 0 0 1px rgba(47, 120, 184, 0.2) inset;
}
.signup-model-radio {
    width: 18px;
    height: 18px;
    margin: 0;
}
.signup-model-heading {
    font-size: 39px;
    line-height: 1.05;
    font-weight: 800;
    color: #06162f;
}
.signup-model-subtext {
    color: #273c59;
    font-size: 13px;
    line-height: 1.35;
}
.signup-model-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
    font-weight: 700;
}
.signup-model-badge.personal {
    color: #1f4f83;
    border-color: #8ab8ef;
    background: #eef6ff;
}
.signup-model-badge.business {
    color: #0a5a4a;
    border-color: #69d6bd;
    background: #e6fff8;
}
.signup-model-card.is-selected .signup-model-badge {
    animation: signupBadgePulse 1.4s ease-in-out infinite;
}
@keyframes signupBadgePulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(47, 120, 184, 0.22);
    }
    65% {
        transform: scale(1.03);
        box-shadow: 0 0 0 8px rgba(47, 120, 184, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(47, 120, 184, 0);
    }
}
.signup-model-list {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 6px;
    color: #243a57;
    font-size: 12px;
}
.signup-model-list li {
    position: relative;
    padding-left: 18px;
}
.signup-model-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #2f78b8;
    font-weight: 700;
}
.signup-model-actions {
    margin-top: 14px;
    display: flex;
    justify-content: center;
}
.signup-model-actions.is-hidden {
    display: none;
}
.signup-details {
    margin-top: 12px;
    border-top: 1px solid #e3ebf4;
    padding-top: 12px;
    display: none;
}
.signup-details.is-open {
    display: block;
}
.tab-row { display: flex; gap: 8px; flex-wrap: wrap; }
.auth-row {
    margin-top: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.auth-row p {
    margin: 0;
}
.auth-row-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.trust-chip-public {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 6px;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1px solid transparent;
}
.trust-chip-public.business {
    color: #0a5a4a;
    border-color: #69d6bd;
    background: #e6fff8;
}
.trust-chip-public.personal {
    color: #1f4f83;
    border-color: #8ab8ef;
    background: #eef6ff;
}
.page-shell {
    padding: clamp(40px, 6vw, 64px) 0 clamp(56px, 8vw, 88px);
}
/* Legacy page-hero (old two-column style — scoped away from new dark hero) */
.page-hero--legacy {
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid #e8eef5;
}
.page-hero--legacy .page-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0d6e5f;
}
.page-hero--legacy h1 {
    margin: 0 0 12px;
    font-size: clamp(1.75rem, 3vw, 2.45rem);
    line-height: 1.18;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.page-hero--legacy .page-hero__lede {
    margin: 0;
    max-width: 560px;
    font-size: 16px;
    line-height: 1.55;
    color: #64748b;
}
.page-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.page-shell .page-grid > article.card {
    scroll-margin-top: calc(var(--site-header-offset) + 12px);
    margin: 0;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.035);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.page-shell .page-grid > article.card:hover {
    border-color: #cfe8f0;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.08);
}
.page-shell .page-grid > article.card:focus-within {
    outline: none;
}
.page-shell .page-grid > article.card:target {
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}
.page-shell .page-grid > article.card h3 {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.01em;
}
.page-shell .page-grid > article.card .muted {
    margin: 0;
    font-size: 14px;
    line-height: 1.45;
}

.sales-panel {
    max-width: 640px;
    margin-top: 8px;
    padding: 28px 26px;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    box-shadow: 0 8px 36px rgba(15, 23, 42, 0.06);
}
.sales-panel h2 {
    margin: 0 0 10px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}
.sales-panel .muted {
    margin: 0 0 18px;
    font-size: 15px;
    line-height: 1.5;
}
.sales-panel__row {
    margin: 0 0 10px;
    font-size: 14px;
    line-height: 1.5;
    color: #334155;
}
.sales-panel__row strong {
    color: #0f172a;
    font-weight: 700;
}
.sales-panel__cta {
    margin-top: 20px;
}
.sales-panel__cta a {
    font-weight: 700;
    color: #0d6e5f;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* —— Sales-style product pages (personal, business, cards, developer, help) —— */
main.container.page-shell.sales-page {
    box-sizing: border-box;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    max-width: 100vw;
    overflow-x: clip;
}

/* —— Partners / agents squeeze page (template 1: light shell, hero + form) —— */
body.partners-page--no-chrome {
    background: #f1f5f9;
    color: #0f172a;
    min-height: 100vh;
}
main.container.page-shell.sales-page.partners-squeeze {
    max-width: 1000px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    overflow-x: visible;
    overflow-y: visible;
    padding-bottom: 28px;
    background: transparent;
}
body.partners-page--no-chrome main.container.page-shell.sales-page.partners-squeeze {
    padding-top: max(16px, env(safe-area-inset-top, 0px));
}
body.partners-page--no-chrome main.page-shell.sales-page.partners-squeeze {
    background: transparent !important;
}
.site-header + main.container.page-shell.sales-page.partners-squeeze {
    padding-top: calc(var(--site-header-offset) + 12px + env(safe-area-inset-top, 0px));
}

.partners-squeeze__topbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 16px;
    margin-bottom: 4px;
}
.partners-squeeze__topbrand {
    font-size: 1.125rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0f172a;
    text-decoration: none;
}
.partners-squeeze__topbrand:hover {
    color: #0d9488;
}
.partners-squeeze__toplinks {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: 14px;
    font-weight: 600;
}
.partners-squeeze__toplinks a {
    color: #475569;
    text-decoration: none;
}
.partners-squeeze__toplinks a:hover {
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.partners-squeeze__flash {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1.4;
}
.partners-squeeze__flash--success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}
.partners-squeeze__flash--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}
.partners-squeeze__flash--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.partners-squeeze__shell {
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.07);
    background: #fff;
    overflow: hidden;
    isolation: isolate;
}
.partners-squeeze__stack {
    position: relative;
    overflow: visible;
}
.partners-squeeze__hero {
    box-sizing: border-box;
    margin: 0;
    padding: 24px clamp(14px, 3vw, 22px) 56px;
    background: linear-gradient(160deg, #0f172a 0%, #1e293b 50%, #0f172a 100%);
    color: #e2e8f0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.15);
    overflow: visible;
}
.partners-squeeze__hero-inner {
    max-width: none;
    margin: 0;
}
.partners-squeeze__kicker {
    margin: 0 0 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(248, 250, 252, 0.85);
}
.partners-squeeze__hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(200px, 280px);
    gap: 20px 28px;
    align-items: center;
}
.partners-squeeze__title {
    margin: 0;
    font-size: clamp(1.45rem, 3.2vw, 2.2rem);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #f8fafc;
}
.partners-squeeze__title-accent {
    color: #4ade80;
}
.partners-squeeze__hero-note {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(226, 232, 240, 0.9);
    max-width: 36rem;
}
.partners-squeeze__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}
.partners-squeeze__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    border: 2px solid transparent;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.partners-squeeze__btn--primary {
    background: #22c55e;
    color: #052e16;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
}
.partners-squeeze__btn--primary:hover {
    background: #16a34a;
    color: #022c16;
}
.partners-squeeze__btn--ghost {
    background: transparent;
    color: #e2e8f0;
    border-color: rgba(148, 163, 184, 0.45);
}
.partners-squeeze__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: #cbd5e1;
}
.partners-squeeze__btn--lg {
    padding: 13px 24px;
    font-size: 15px;
}

.partners-squeeze__hero-art {
    position: relative;
    height: 138px;
    max-width: 220px;
    margin-left: auto;
    margin-right: 4px;
    overflow: visible;
}
.partners-squeeze__doc {
    position: absolute;
    right: 4px;
    width: 84%;
    border-radius: 8px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(30, 41, 59, 0.95);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
}
.partners-squeeze__doc--back {
    top: 8px;
    height: 92px;
    transform: rotate(-4deg);
    opacity: 0.65;
}
.partners-squeeze__doc--mid {
    top: 16px;
    height: 100px;
    transform: rotate(2deg);
    opacity: 0.85;
    right: 10px;
}
.partners-squeeze__doc--front {
    top: 26px;
    height: 110px;
    width: 88%;
    background: linear-gradient(180deg, #334155 0%, #1e293b 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    box-sizing: border-box;
    transform: rotate(-1.5deg);
}
.partners-squeeze__doc-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    text-align: center;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #4ade80;
    line-height: 1.2;
}
.partners-squeeze__doc-label-line {
    display: block;
}


.partners-squeeze__split-wrap {
    margin-top: -40px;
    position: relative;
    z-index: 2;
    padding: 0 clamp(8px, 2vw, 12px) 20px;
}
.partners-squeeze__split {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.1);
    border: 1px solid #e2e8f0;
}
.partners-squeeze__split-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: clamp(18px, 3vw, 28px);
    padding: clamp(18px, 2.5vw, 26px);
    align-items: start;
}
.partners-squeeze__block-title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.partners-squeeze__column--copy .partners-squeeze__block-title:not(:first-child) {
    margin-top: 22px;
}
.partners-squeeze__value-list {
    margin: 0 0 0;
    padding-left: 1.15rem;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}
.partners-squeeze__value-list li {
    margin-bottom: 10px;
}
.partners-squeeze__step-list {
    margin: 0;
    padding-left: 1.25rem;
    font-size: 14px;
    line-height: 1.55;
    color: #475569;
}
.partners-squeeze__step-list li {
    margin-bottom: 10px;
}
.partners-squeeze__earnings {
    margin-top: 20px;
    padding: 14px 16px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid #bbf7d0;
}
.partners-squeeze__earnings-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    color: #14532d;
}
.partners-squeeze__earnings-text {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.5;
    color: #166534;
}
.partners-squeeze__earnings-note {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: #64748b;
}
.partners-squeeze__micro-cta {
    margin: 18px 0 0;
    font-size: 13px;
    color: #64748b;
}
.partners-squeeze__micro-cta a {
    color: #0d9488;
    font-weight: 700;
    text-decoration: none;
}
.partners-squeeze__micro-cta a:hover {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.partners-squeeze__form-card {
    padding: 0;
}
.partners-squeeze__apply-pretitle {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 800;
    color: #0f172a;
}
.partners-squeeze__form-lead {
    margin: 0 0 6px;
    font-family: Georgia, "Times New Roman", ui-serif, serif;
    font-size: 1.15rem;
    font-style: italic;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.3;
}
.partners-squeeze__form-hint {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.45;
}
.partners-squeeze__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 12px;
}
.partners-squeeze__label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    grid-column: 1 / -1;
}
.partners-squeeze__label--half {
    grid-column: auto;
}
.partners-squeeze__label--full {
    grid-column: 1 / -1;
}
.partners-squeeze__label-text {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}
.partners-squeeze__opt {
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0;
    color: #94a3b8;
}
.partners-squeeze__input,
.partners-squeeze__textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    background: #f8fafc;
    color: #0f172a;
    transition: border-color 0.15s, background 0.15s;
}
.partners-squeeze__input:focus,
.partners-squeeze__textarea:focus {
    outline: none;
    border-color: #0d9488;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.2);
}
.partners-squeeze__textarea {
    resize: vertical;
    min-height: 72px;
}
.partners-squeeze__submit {
    width: 100%;
    margin-top: 14px;
    padding: 13px 18px;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    cursor: pointer;
    font-family: inherit;
}
.partners-squeeze__submit--green {
    background: #22c55e;
    color: #052e16;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.35);
}
.partners-squeeze__submit--green:hover {
    background: #16a34a;
}
.partners-squeeze__disclaimer {
    margin: 12px 0 0;
    font-size: 11px;
    line-height: 1.45;
    color: #94a3b8;
}
.partners-squeeze__disclaimer a {
    color: #0d9488;
    font-weight: 600;
}

.partners-squeeze__band {
    margin: 0;
    padding: 22px clamp(16px, 3vw, 24px);
    background: #f1f5f9;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.partners-squeeze__band-inner {
    display: flex;
    align-items: flex-start;
    gap: 18px;
}
.partners-squeeze__avatar {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(145deg, #0f766e, #14b8a6);
    color: #ecfdf5;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 118, 110, 0.35);
}
.partners-squeeze__quote {
    margin: 0;
}
.partners-squeeze__quote p {
    margin: 0 0 12px;
    font-family: Georgia, "Times New Roman", ui-serif, serif;
    font-size: 15px;
    font-style: italic;
    line-height: 1.55;
    color: #334155;
}
.partners-squeeze__quote footer {
    font-family: system-ui, -apple-system, sans-serif;
    font-size: 13px;
    font-style: normal;
    font-weight: 700;
    color: #0f172a;
}
.partners-squeeze__quote-role {
    font-weight: 500;
    color: #64748b;
}

.partners-squeeze__footer-cta {
    padding: 24px clamp(16px, 3vw, 24px) 28px;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    color: #f1f5f9;
    text-align: center;
}
.partners-squeeze__footer-cta-inner {
    max-width: 36rem;
    margin: 0 auto;
}
.partners-squeeze__footer-title {
    margin: 0 0 10px;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 800;
    color: #f8fafc;
}
.partners-squeeze__footer-lede {
    margin: 0 0 20px;
    font-size: 15px;
    color: #94a3b8;
    line-height: 1.5;
}

.partners-squeeze__page-foot {
    margin-top: 24px;
    padding-top: 16px;
    text-align: center;
    border-top: 1px solid #e2e8f0;
}
.partners-squeeze__page-foot-line {
    margin: 0;
    font-size: 13px;
    color: #64748b;
}
.partners-squeeze__page-foot-line a {
    color: #475569;
    font-weight: 600;
    text-decoration: none;
}
.partners-squeeze__page-foot-line a:hover {
    color: #0d9488;
    text-decoration: underline;
}

#partner-apply,
#how-it-works {
    scroll-margin-top: calc(var(--site-header-offset) + 20px);
}

@media (max-width: 820px) {
    .partners-squeeze__hero-grid {
        grid-template-columns: 1fr;
    }
    .partners-squeeze__hero-art {
        margin: 8px auto 0;
        max-width: 200px;
        height: 120px;
    }
    .partners-squeeze__split-inner {
        grid-template-columns: 1fr;
    }
    .partners-squeeze__column--copy {
        order: 1;
    }
    .partners-squeeze__column--form {
        order: 2;
    }
}
@media (max-width: 540px) {
    .partners-squeeze__fields {
        grid-template-columns: 1fr;
    }
    .partners-squeeze__label--half {
        grid-column: 1 / -1;
    }
    .partners-squeeze__hero-actions .partners-squeeze__btn {
        flex: 1 1 auto;
        justify-content: center;
    }
    .partners-squeeze__band-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


.sales-hero {
    margin-bottom: clamp(40px, 6vw, 56px);
    padding-bottom: clamp(36px, 5vw, 48px);
    border-bottom: 1px solid #e8eef5;
}
.sales-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, min(420px, 100%));
    gap: clamp(28px, 5vw, 48px);
    align-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.sales-hero__eyebrow {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #0d6e5f;
}
.sales-hero__title {
    margin: 0 0 14px;
    font-size: clamp(1.85rem, 3.2vw, 2.65rem);
    line-height: 1.15;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.03em;
}
.sales-hero__lede {
    margin: 0 0 22px;
    max-width: 520px;
    font-size: 17px;
    line-height: 1.55;
    color: #64748b;
}
.sales-hero__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}
.sales-hero__actions .btn {
    font-size: 13px;
    padding: 11px 18px;
    border-radius: 6px;
}
.sales-hero__ghost {
    font-size: 14px;
    font-weight: 700;
    color: #0d6e5f;
    text-decoration: none;
    border-bottom: 1px solid transparent;
}
.sales-hero__ghost:hover {
    border-bottom-color: rgba(13, 110, 95, 0.35);
}
.sales-hero__art {
    justify-self: end;
    width: 100%;
    max-width: 420px;
}
.sales-hero__art img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(1, 26, 57, 0.12);
}
.sales-pillars {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-bottom: clamp(40px, 6vw, 56px);
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.sales-pillars--4col {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sales-pillars > * {
    min-width: 0;
}
.sales-pillar {
    padding: 22px 20px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border: 1px solid #e8eef5;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}
.sales-pillar h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.sales-pillar p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #64748b;
}
.sales-band {
    padding: clamp(36px, 5vw, 48px);
    margin-bottom: clamp(40px, 6vw, 56px);
    background: linear-gradient(135deg, #f0fdfa 0%, #f8fafc 50%, #eff6ff 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}
.sales-band h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.2vw, 1.65rem);
    font-weight: 800;
    color: #0f172a;
}
.sales-band p {
    margin: 0;
    max-width: 720px;
    font-size: 16px;
    line-height: 1.55;
    color: #475569;
}
.sales-map {
    margin-bottom: clamp(48px, 7vw, 72px);
}
.sales-map__head {
    margin-bottom: 10px;
}
.sales-map__head h2 {
    margin: 0 0 8px;
    font-size: clamp(1.45rem, 2.4vw, 1.85rem);
    font-weight: 800;
    color: #0f172a;
}
.sales-map__head p {
    margin: 0;
    font-size: 15px;
    color: #64748b;
    max-width: 560px;
}

.about-page section[id],
.about-page .sales-pillars .sales-pillar[id] {
    scroll-margin-top: calc(var(--site-header-offset, 72px) + 16px);
}
.about-powered {
    margin: clamp(32px, 5vw, 48px) auto clamp(24px, 4vw, 40px);
    padding: clamp(22px, 4vw, 28px) clamp(20px, 4vw, 28px);
    border-radius: 14px;
    background: linear-gradient(125deg, rgba(37, 99, 235, 0.08) 0%, rgba(45, 212, 191, 0.1) 100%);
    border: 1px solid rgba(37, 99, 235, 0.2);
}
.about-powered__inner {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}
.about-powered__title {
    margin: 0 0 6px;
    font-size: 1.125rem;
    font-weight: 800;
    color: #0f172a;
}
.about-powered__cac {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #2563eb;
    letter-spacing: 0.03em;
}
.about-powered__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
}
.about-page__muted {
    background: #f8fafc;
    border-radius: 12px;
    padding: clamp(24px, 4vw, 36px) !important;
    border: 1px solid #e2e8f0;
}
.about-page__cta {
    margin-bottom: clamp(48px, 7vw, 80px);
}

.sales-map__group {
    margin-top: 32px;
}
.sales-map__group:first-of-type {
    margin-top: 28px;
}
.sales-map__label {
    margin: 0 0 14px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #0d6e5f;
}
.sales-map__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
    gap: 16px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.sales-map__grid > * {
    min-width: 0;
}
.sales-spotlight {
    scroll-margin-top: calc(var(--site-header-offset) + 14px);
    margin: 0;
    padding: 22px 20px;
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.sales-spotlight:hover {
    border-color: #cfe8f0;
}
.sales-spotlight:target {
    border-color: #2dd4bf;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}
.sales-spotlight h3 {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 800;
    color: #0f172a;
}
.sales-spotlight p {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.45;
    color: #64748b;
}
.sales-spotlight__foot {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.sales-spotlight__link {
    font-size: 14px;
    font-weight: 700;
    color: #0d6e5f;
    text-decoration: none;
}
.sales-spotlight__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.sales-spotlight__meta {
    font-size: 12px;
    color: #94a3b8;
}
/* ── Cards page — multi-currency band ─────────────────────────────────── */
.cards-currency-band {
    background: linear-gradient(135deg, #0c4a6e 0%, #0369a1 100%);
    border-radius: 16px;
    padding: clamp(28px, 4vw, 48px);
    margin: 32px 0;
    color: #fff;
    text-align: center;
}
.cards-currency-band__title { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; margin: 0 0 8px; }
.cards-currency-band__sub   { font-size: 1rem; opacity: 0.85; margin: 0 0 24px; }
.cards-currency-pills {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}
.cards-currency-pill {
    background: rgba(255,255,255,0.18);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 30px;
    padding: 8px 20px;
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}
.cards-currency-pill--arrow {
    background: none;
    border: none;
    font-size: 1.3rem;
    padding: 0 4px;
    opacity: 0.7;
}
.cards-currency-band__flow { font-size: 13px; opacity: 0.8; max-width: 540px; margin: 0 auto; }

/* ── Cards page — currency swap steps ──────────────────────────────────── */
.cards-swap-flow {
    padding: clamp(24px, 3vw, 40px) 0;
}
.cards-swap-flow__title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 28px;
    text-align: center;
}
.cards-swap-flow__steps {
    display: flex;
    align-items: flex-start;
    gap: 0;
    flex-wrap: wrap;
    justify-content: center;
}
.cards-swap-step {
    flex: 1 1 160px;
    max-width: 200px;
    text-align: center;
    padding: 0 12px;
}
.cards-swap-step__num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0369a1;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
}
.cards-swap-step__title { font-size: 14px; font-weight: 700; color: #0f172a; margin: 0 0 6px; }
.cards-swap-step__desc  { font-size: 12px; color: #64748b; line-height: 1.5; margin: 0; }
.cards-swap-step__arrow {
    align-self: center;
    font-size: 1.5rem;
    color: #94a3b8;
    flex-shrink: 0;
    padding: 0 4px;
}

/* ── Cards page — comparison grid ──────────────────────────────────────── */
.cards-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 20px;
}
.cards-compare-card {
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 28px 24px;
    background: #f8fafc;
}
.cards-compare-card__badge {
    font-size: 12px;
    font-weight: 700;
    color: #0369a1;
    background: #e0f2fe;
    display: inline-block;
    padding: 3px 10px;
    border-radius: 20px;
    margin: 0 0 10px;
}
.cards-compare-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 14px;
}
.cards-compare-list {
    list-style: none;
    margin: 0 0 20px;
    padding: 0;
}
.cards-compare-list li {
    font-size: 13px;
    color: #334155;
    padding: 5px 0;
    border-bottom: 1px solid #e2e8f0;
}
.cards-compare-list li:last-child { border-bottom: none; }

/* ── How it works page ──────────────────────────────────────────────────── */
.hiw-hero__art {
    display: flex;
    align-items: center;
    justify-content: center;
}
.hiw-hero__graphic {
    width: 260px;
    height: 200px;
    border-radius: 20px;
    background: linear-gradient(135deg, #0c4a6e 0%, #0ea5e9 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #fff;
}
.hiw-hero__icon { font-size: 3.5rem; }
.hiw-hero__graphic p { font-size: 14px; font-weight: 600; margin: 0; opacity: 0.9; }

.hiw-quick-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 40px;
    padding: 16px 20px;
    background: #f1f5f9;
    border-radius: 12px;
}
.hiw-quick-nav__item {
    padding: 7px 16px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s;
}
.hiw-quick-nav__item:hover {
    background: #0369a1;
    border-color: #0369a1;
    color: #fff;
}

.hiw-section {
    padding: clamp(32px, 4vw, 56px) 0;
    border-bottom: 1px solid #e2e8f0;
}
.hiw-section--alt {
    background: #f8fafc;
    margin: 0 clamp(-16px, -3vw, -40px);
    padding-left: clamp(16px, 3vw, 40px);
    padding-right: clamp(16px, 3vw, 40px);
    border-radius: 16px;
}
.hiw-section__head {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 28px;
}
.hiw-section__icon {
    font-size: 2.4rem;
    flex-shrink: 0;
    line-height: 1;
}
.hiw-section__title {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
}
.hiw-section__sub {
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
}
.hiw-section__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}
.hiw-video-wrap {
    position: relative;
}
.hiw-video {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    border: none;
    background: #0f172a;
}
.hiw-video__caption {
    font-size: 12px;
    margin: 8px 0 0;
    color: #94a3b8;
}
.hiw-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.hiw-step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.hiw-step__num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #0369a1;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hiw-step strong {
    font-size: 14px;
    color: #0f172a;
    display: block;
    margin-bottom: 2px;
}
.hiw-step p {
    font-size: 13px;
    color: #64748b;
    margin: 0;
    line-height: 1.5;
}
.hiw-section__cta {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

@media (max-width: 700px) {
    .hiw-section__body { grid-template-columns: 1fr; }
    .cards-swap-step__arrow { display: none; }
    .cards-swap-flow__steps { flex-direction: column; align-items: center; }
    .cards-swap-step { max-width: 100%; }
    .hiw-quick-nav { gap: 8px; }
}

.sales-cta-bar {
    padding: clamp(28px, 4vw, 40px);
    border-radius: 16px;
    background: linear-gradient(125deg, #012a4a 0%, #062844 45%, #0c4a6e 100%);
    color: #e2f5ff;
    text-align: center;
}
.sales-cta-bar h2 {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.2vw, 1.75rem);
    font-weight: 800;
    color: #fff;
}
.sales-cta-bar p {
    margin: 0 auto 18px;
    max-width: 480px;
    font-size: 15px;
    line-height: 1.5;
    color: #b5d0e1;
}
.sales-cta-bar .btn-primary {
    background: #2dd4bf;
    color: #07352e;
    border-radius: 6px;
    padding: 12px 22px;
    font-size: 14px;
}
.sales-cta-bar .btn-ghost {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border-radius: 6px;
    padding: 12px 22px;
    font-size: 14px;
    margin-left: 8px;
}

@media (max-width: 900px) {
    .sales-hero__grid {
        grid-template-columns: 1fr;
    }
    .sales-hero__art {
        justify-self: center;
        max-width: min(360px, 100%);
        order: -1;
        /* First row in stack: keep SVG clear of the fixed header */
        margin-top: 4px;
    }
    .sales-pillars {
        grid-template-columns: 1fr;
    }
    /* One spotlight column on tablet/small laptop for readable line length */
    .sales-map__grid {
        grid-template-columns: 1fr;
    }
}

/* Product landings (personal, business, developer, cards, help): compact mobile */
@media (max-width: 640px) {
    .site-header + main.page-shell.sales-page {
        padding-top: calc(var(--site-header-offset) + 22px + env(safe-area-inset-top, 0px));
    }
    .page-shell.sales-page {
        padding: 18px 0 32px;
    }
    /* Reinforce side inset on small phones (base rule uses clamp; this guarantees minimum breathing room) */
    main.container.page-shell.sales-page {
        padding-left: calc(max(22px, 6vw) + env(safe-area-inset-left, 0px));
        padding-right: calc(max(22px, 6vw) + env(safe-area-inset-right, 0px));
    }
    .sales-hero {
        margin-bottom: 24px;
        padding-bottom: 20px;
    }
    .sales-hero__grid {
        gap: 16px;
    }
    .sales-hero__eyebrow {
        font-size: 11px;
        margin-bottom: 6px;
    }
    .sales-hero__title {
        font-size: clamp(1.4rem, 6.5vw, 1.75rem);
        line-height: 1.18;
        margin-bottom: 10px;
    }
    .sales-hero__lede {
        font-size: 14px;
        line-height: 1.5;
        margin-bottom: 14px;
        max-width: none;
    }
    .sales-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    .sales-hero__actions .btn {
        width: 100%;
        justify-content: center;
        min-height: 44px;
        font-size: 14px;
    }
    .sales-hero__art {
        max-width: 100%;
        margin-top: 8px;
    }
    .sales-hero__art img {
        border-radius: 12px;
    }
    .sales-pillars {
        gap: 10px;
        margin-bottom: 24px;
    }
    .sales-pillar {
        padding: 14px 14px 16px;
        border-radius: 11px;
    }
    .sales-pillar h3 {
        font-size: 14px;
        margin-bottom: 6px;
    }
    .sales-pillar p {
        font-size: 13px;
        line-height: 1.45;
    }
    .sales-band {
        padding: 16px 14px;
        margin-bottom: 24px;
        border-radius: 12px;
    }
    .sales-band h2 {
        font-size: 1.15rem;
        line-height: 1.25;
    }
    .sales-band p {
        font-size: 14px;
        line-height: 1.5;
    }
    .sales-band code {
        font-size: 0.88em;
        word-break: break-word;
    }
    .sales-map {
        margin-bottom: 28px;
    }
    .sales-map__head {
        margin-bottom: 8px;
    }
    .sales-map__head h2 {
        font-size: 1.2rem;
        line-height: 1.25;
    }
    .sales-map__head p {
        font-size: 13px;
        line-height: 1.45;
        max-width: none;
    }
    .sales-map__group {
        margin-top: 20px;
    }
    .sales-map__group:first-of-type {
        margin-top: 18px;
    }
    .sales-map__label {
        margin-bottom: 8px;
        font-size: 11px;
    }
    .sales-map__grid {
        gap: 10px;
    }
    .sales-spotlight {
        padding: 14px 12px;
        border-radius: 10px;
    }
    .sales-spotlight h3 {
        font-size: 14px;
    }
    .sales-spotlight p {
        font-size: 13px;
        margin-bottom: 10px;
        line-height: 1.42;
    }
    .sales-spotlight__foot {
        gap: 8px;
    }
    .sales-spotlight__meta {
        font-size: 11px;
        line-height: 1.35;
    }
    .sales-cta-bar {
        padding: 18px 14px;
        border-radius: 12px;
        text-align: center;
    }
    .sales-cta-bar h2 {
        font-size: 1.15rem;
        line-height: 1.25;
    }
    .sales-cta-bar p {
        font-size: 14px;
        margin-bottom: 12px;
        max-width: none;
    }
    .sales-cta-bar .btn-primary,
    .sales-cta-bar .btn-ghost {
        display: inline-flex;
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        margin-left: 0;
        margin-bottom: 8px;
        min-height: 44px;
    }
    .sales-cta-bar .btn:last-child {
        margin-bottom: 0;
    }
    .sales-panel {
        margin-top: 0;
        padding: 18px 14px;
        border-radius: 12px;
    }
    .sales-panel h2 {
        font-size: 1.1rem;
    }
    .sales-panel .muted {
        font-size: 14px;
        margin-bottom: 14px;
    }
}

/* Legal sales page — full policy text */
.sales-legal-doc {
    margin-top: clamp(40px, 6vw, 64px);
    padding-bottom: clamp(8px, 2vw, 16px);
}
.sales-legal-doc__head {
    margin-bottom: 20px;
}
.sales-legal-doc__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.sales-legal-doc__lede {
    margin: 0;
    font-size: 16px;
    color: #64748b;
    line-height: 1.5;
    max-width: 560px;
}
.sales-legal-doc__chips {
    margin-bottom: 24px;
}
.sales-legal-doc__chips .chip {
    text-decoration: none;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.sales-legal-doc__chips .chip:hover {
    background: #e2e8f0;
    color: #0f172a;
}
.sales-legal-doc__card {
    padding: clamp(24px, 4vw, 40px);
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 14px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}
.sales-legal-doc__card h2 {
    margin: 2em 0 12px;
    font-size: 1.2rem;
    font-weight: 800;
    color: #0f172a;
    scroll-margin-top: calc(var(--site-header-offset) + 16px);
}
.sales-legal-doc__card h2:first-child {
    margin-top: 0;
}
.sales-legal-doc__card h3 {
    margin: 1.25em 0 8px;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}
.sales-legal-doc__card p {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.6;
    color: #475569;
}
.deal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}
.deal-table th,
.deal-table td {
    padding: 10px 8px;
    border-bottom: 1px solid #e6edf4;
    text-align: left;
    white-space: nowrap;
}
.deal-table th {
    color: #3b4e63;
    font-weight: 700;
}
.deal-actions {
    display: grid;
    gap: 6px;
    min-width: 240px;
}
.deal-actions form {
    display: flex;
    gap: 6px;
    align-items: center;
    flex-wrap: wrap;
}
.deal-reason-input {
    border: 1px solid #cfdae6;
    border-radius: 6px;
    padding: 6px 8px;
    font-size: 12px;
}
.inline-topup-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

@media (max-width: 980px) {
    .site-nav-toggle {
        display: inline-flex;
        margin-left: auto;
    }
    .site-topbar-nav {
        display: none;
        flex-direction: column;
        align-items: stretch;
        flex: 1 1 100%;
        width: 100%;
        order: 5;
        padding: 14px 0 10px;
        margin-top: 4px;
        border-top: 1px solid #e2e8f0;
        gap: 12px;
        position: relative;
    }
    .site-header.is-nav-open .site-topbar-nav {
        display: flex;
    }
    .topbar-nav-center {
        flex: 1 1 100%;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
    }
    .site-topbar-nav .main-nav {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 4px;
    }
    .site-topbar-nav .nav-pill {
        width: 100%;
        text-align: left;
        justify-content: flex-start;
        min-height: 44px;
        padding: 10px 14px;
        font-size: 15px;
    }
    .site-topbar-nav .nav-dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
    .site-topbar-nav .nav-dropdown__trigger {
        width: 100%;
        min-height: 44px;
        padding: 10px 14px;
        box-sizing: border-box;
        display: flex;
        align-items: center;
    }
    .site-topbar-nav .nav-dropdown__panel {
        position: static;
        transform: none;
        left: auto;
        margin-top: 4px;
        margin-bottom: 4px;
        max-width: none;
        width: 100%;
        min-width: 0;
    }
    .site-topbar-nav .auth-links {
        margin-left: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
        padding-top: 12px;
        border-top: 1px solid #e2e8f0;
    }
    .site-topbar-nav .auth-links a {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 6px 4px;
    }
    .site-topbar-nav .auth-links .auth-links__login {
        width: 100%;
    }
    .site-topbar-nav .auth-links .auth-links__cta {
        justify-content: center;
        padding: 0 16px;
        width: 100%;
        box-sizing: border-box;
    }
    .topbar { flex-wrap: wrap; padding: 12px 0; min-height: 0; }
    .hero-static .hero-split {
        grid-template-columns: 1fr;
        align-items: stretch;
    }
    .market-split, .process-track, .trust-bento { grid-template-columns: 1fr; }
    /* Footer: brand blurb full width; link columns in two columns */
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: clamp(14px, 4vw, 24px);
        row-gap: 22px;
        align-items: start;
    }
    .footer-grid > div:first-child {
        grid-column: 1 / -1;
    }
    .stats-bar__layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 14px 0 18px;
        min-height: 0;
    }
    .stats-bar__metrics {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 10px 12px;
        align-items: start;
        padding: 12px 14px;
        background: rgba(255, 255, 255, 0.85);
        border: 1px solid #e2e8f0;
        border-radius: 12px;
        box-shadow: 0 1px 0 rgba(255, 255, 255, 0.9) inset;
    }
    .stats-bar__explore {
        display: flex;
        flex-direction: column;
        gap: 12px;
        padding: 14px 14px 16px;
        background: linear-gradient(180deg, #f1f5f9 0%, #fff 100%);
        border: 1px solid #e2e8f0;
        border-radius: 12px;
    }
    .stats-bar__explore .stat-block--cta {
        padding-bottom: 0;
    }
    .home-page .stats-bar__metrics .stat-block__value {
        font-size: clamp(13px, 3.4vw, 16px);
        word-break: break-word;
    }
    .home-page .stats-bar__metrics .stat-block__label {
        font-size: clamp(11px, 2.8vw, 13px);
        line-height: 1.3;
    }
    h1 { font-size: 33px; }
    .market-title { font-size: 1.55rem; }
    .market-split__title { font-size: 1.35rem; }
    .home-page .market-title { font-size: calc(1.55rem + 2px); }
    .home-page .market-split__title { font-size: calc(1.35rem + 2px); }
    .market-split--reverse .market-split__visual { order: 0; }
    .stat-block__label { max-width: none; }
    .site-header.is-nav-open {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    /* Mega lives in the drawer directly under main nav pills, above auth / CTA */
    .site-header .mega-wrap {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        z-index: 2;
        margin-top: 2px;
        margin-bottom: 6px;
        box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
        border-radius: 0 0 12px 12px;
    }
    .mega-wrap.is-open {
        /* Taller menus scroll inside the panel; keeps auth links reachable with less outer scroll */
        max-height: min(62vh, 480px);
        overflow-x: hidden;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }
    .mega-wrap__inner {
        max-width: none;
        width: 100%;
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: max(20px, env(safe-area-inset-right, 0px));
    }
    .mega-panel {
        grid-template-columns: 1fr;
        gap: 14px;
        padding: 12px 0 16px;
    }
    .mega-panel__promo {
        border-radius: 10px;
    }
    .mega-panel--grid2,
    .mega-panel--grid3,
    .mega-panel--grid4,
    .mega-panel--grid5,
    .mega-panel--with-cta.mega-panel--grid4,
    .mega-panel--with-cta.mega-panel--grid5 {
        margin: 8px 0 10px;
        padding: 14px 4px 16px;
        border-radius: 0;
        grid-template-columns: 1fr;
        background: transparent;
        border: 0;
        box-shadow: none;
    }
    .mega-panel--accent.mega-panel--grid2,
    .mega-panel--accent.mega-panel--grid3,
    .mega-panel--accent.mega-panel--grid4,
    .mega-panel--accent.mega-panel--grid5 {
        padding-left: 14px;
    }
    .mega-panel--help-nav {
        grid-template-columns: 1fr;
        max-width: none;
        justify-content: stretch;
        padding: 14px 4px 16px;
    }
    .mega-heading {
        font-size: 11px;
        letter-spacing: 0.45px;
        gap: 6px;
        margin: 0 0 6px;
        padding-top: 2px;
    }
    .mega-heading--emoji {
        font-size: 13px;
        margin-bottom: 8px;
    }
    .mega-list__link {
        min-height: 40px;
        display: flex;
        align-items: center;
        padding: 10px 8px;
    }
    .mega-heading-icon {
        transform: scale(0.88);
        transform-origin: left center;
    }
    .mega-icon-svg {
        width: 16px;
        height: 16px;
    }
    .mega-link {
        min-height: 36px;
        padding: 7px 10px;
        margin-bottom: 6px;
        border-radius: 8px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        box-sizing: border-box;
    }
    .mega-link-title {
        font-size: 13px;
        font-weight: 600;
        margin-bottom: 2px;
        line-height: 1.28;
    }
    .mega-link-desc {
        font-size: 11.5px;
        line-height: 1.32;
        margin-top: 1px;
    }
    .mega-cta {
        padding: 12px 12px;
        border-radius: 8px;
    }
    .mega-cta h5 {
        font-size: 14px;
        margin: 0 0 5px;
        line-height: 1.25;
    }
    .mega-cta p {
        font-size: 12px;
        line-height: 1.38;
        margin: 0 0 8px;
    }
    .mega-cta a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-height: 40px;
        padding: 8px 12px;
        font-size: 13px;
        width: 100%;
        box-sizing: border-box;
        border-radius: 6px;
    }
    .footer-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }
    .footer-bottom__left {
        min-width: 0;
    }
    .footer-bottom__nav {
        justify-content: flex-start;
    }
    .footer-grid h4 {
        white-space: normal;
    }
    .footer-baseline-links {
        justify-content: flex-start;
    }
    .page-grid {
        grid-template-columns: 1fr;
    }
    .deal-actions {
        min-width: 0;
    }
    .hero-static .hero-form-grid {
        grid-template-columns: 1fr;
    }
    .hero-static .hero-escrow-card {
        max-width: none;
    }
    .hero-static .hero-visual-column {
        max-width: none;
        justify-self: stretch;
        align-self: stretch;
    }
    .hero-static .hero-copy {
        max-width: none;
        align-self: stretch;
    }
}

@media (max-width: 380px) {
    .stats-bar__metrics {
        grid-template-columns: 1fr;
    }
}

@media (min-width: 1100px) {
    .page-shell .page-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }
}

@media (min-width: 981px) {
    .footer-grid {
        width: 100%;
    }
    .hero-static .hero-split {
        align-items: center;
        padding-top: 44px;
        padding-bottom: 60px;
    }
    .hero-static .hero-copy {
        align-self: center;
    }
    .hero-static .hero-visual-column {
        align-self: center;
    }
    .hero-static .hero-visual-top {
        width: 100%;
        max-width: 100%;
    }
}

@media (min-width: 1280px) {
    .footer-grid {
        grid-template-columns: repeat(8, max-content);
        justify-content: space-between;
        column-gap: 20px;
    }
}

/* ===== Homepage: Escrow Happy Path Animation ===== */
.home-happypath {
    position: relative;
    --tp-dur: 22s;
    --tp-ease: cubic-bezier(0.22, 1, 0.36, 1);
    --tp-meet: 88px;
}

.home-happypath-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.home-happypath-head {
    text-align: center;
    max-width: 860px;
}

/* One row: animation left, account copy right (stacks only on narrow viewports) */
.home-happypath-split {
    align-self: stretch;
    width: 100%;
    max-width: 1120px;
    margin-top: 8px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    gap: clamp(20px, 3.5vw, 40px);
    box-sizing: border-box;
}

.home-happypath-split > .home-happypath-col {
    flex: 1 1 0;
    min-width: 0;
}

.home-happypath-col--visual {
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Approach distance scales with column width */
    --tp-meet: 76px;
}

.home-happypath-col--accounts {
    padding: clamp(8px, 1.2vw, 14px) 0;
}

.home-happypath-side-title {
    margin: 0 0 8px;
    font-size: clamp(1.15rem, 2.2vw, 1.35rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #0f172a;
}

.home-happypath-side-lede {
    margin: 0 0 18px;
    font-size: 0.95rem;
    line-height: 1.55;
    color: #475569;
}

.home-happypath-account {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.65);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
    margin-bottom: 14px;
}

.home-happypath-account:last-of-type {
    margin-bottom: 0;
}

.home-happypath-account-title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.home-happypath-account-text {
    margin: 0 0 10px;
    font-size: 0.88rem;
    line-height: 1.5;
    color: #64748b;
}

.home-happypath-account-points {
    margin: 0 0 14px;
    padding-left: 1.15rem;
    font-size: 0.84rem;
    line-height: 1.45;
    color: #475569;
}

.home-happypath-account-points li {
    margin-bottom: 4px;
}

.home-happypath-account-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    border-radius: 12px;
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(135deg, #4f46e5 0%, #6366f1 55%, #7c3aed 100%);
    box-shadow: 0 10px 24px rgba(79, 70, 229, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.home-happypath-account-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(79, 70, 229, 0.35);
}

.home-happypath-visual {
    width: 100%;
    margin-top: 26px;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(241, 245, 249, 0.98) 100%);
    box-shadow: 0 22px 60px rgba(15, 23, 42, 0.06);
    padding: clamp(14px, 2vw, 18px);
    overflow: clip;
}

.home-happypath-split .home-happypath-visual {
    margin-top: 0;
    max-width: 100%;
}

.home-happypath-caption {
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid rgba(148, 163, 184, 0.3);
    font-size: 11px;
    line-height: 1.4;
    color: #475569;
    text-align: center;
    min-height: 2.8em;
    white-space: normal;
    overflow: visible;
    padding-left: 8px;
    padding-right: 8px;
    box-sizing: border-box;
}

.tp-caption {
    display: none;
}

.tp-caption--1,
.tp-caption--2,
.tp-caption--3,
.tp-caption--4 {
    display: inline;
    opacity: 0;
    animation: tpCaptionSeq var(--tp-dur) var(--tp-ease) infinite;
}

.tp-caption--4 {
    font-size: clamp(9px, 1.15vw, 10.2px);
    letter-spacing: -0.01em;
}

.tp-caption--2 { animation-delay: calc(var(--tp-dur) * 0.25); }
.tp-caption--3 { animation-delay: calc(var(--tp-dur) * 0.50); }
.tp-caption--4 { animation-delay: calc(var(--tp-dur) * 0.75); }

@keyframes tpCaptionSeq {
    0%, 18% { opacity: 1; }
    28%, 100% { opacity: 0; }
}

/* Developer API + Cards: compact blinking SVGs under main animation */
.home-happypath-mini-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
}

.home-happypath-mini {
    flex: 1 1 148px;
    max-width: 220px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 10px 12px 12px;
    border-radius: 16px;
    border: 1px solid rgba(226, 232, 240, 0.95);
    background: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    color: #334155;
    transition: box-shadow 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.home-happypath-mini:hover {
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.07);
    transform: translateY(-2px);
    border-color: rgba(148, 163, 184, 0.45);
}

.home-happypath-mini:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 3px;
    border-color: rgba(99, 102, 241, 0.45);
}

.home-happypath-mini-label {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #475569;
    text-align: center;
    line-height: 1.25;
}

.home-happypath-mini-svg {
    width: 100%;
    height: auto;
    display: block;
    max-height: 78px;
}

.tp-mini-dev-float {
    animation: tpMiniFloat 3.2s ease-in-out infinite;
}

.tp-mini-cards-float {
    animation: tpMiniFloat 3.6s ease-in-out infinite;
    animation-delay: -0.6s;
}

@keyframes tpMiniFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2.5px); }
}

.tp-mini-cursor {
    animation: tpMiniCursorBlink 1s steps(2, start) infinite;
}

@keyframes tpMiniCursorBlink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

.tp-mini-dot {
    animation: tpMiniDotPulse 1.5s ease-in-out infinite;
}

.tp-mini-dot--slow {
    animation-delay: 0.4s;
}

@keyframes tpMiniDotPulse {
    0%, 100% { opacity: 0.35; }
    50% { opacity: 1; }
}

.tp-mini-eye-l,
.tp-mini-eye-r {
    transform-origin: center;
    transform-box: fill-box;
    animation: tpMiniEyeBlink 5s ease-in-out infinite;
}

.tp-mini-eye-r {
    animation-delay: 0.12s;
}

@keyframes tpMiniEyeBlink {
    0%, 36%, 46%, 100% { transform: scaleY(1); }
    38%, 44% { transform: scaleY(0.12); }
}

.tp-mini-sparkle {
    transform-origin: center;
    transform-box: fill-box;
    animation: tpMiniSparkle 2.2s ease-in-out infinite;
}

@keyframes tpMiniSparkle {
    0%, 100% { opacity: 0.45; transform: rotate(0deg) scale(0.92); }
    50% { opacity: 1; transform: rotate(18deg) scale(1.06); }
}

.home-happypath-svg {
    width: 100%;
    height: auto;
    display: block;
}

.home-happypath.tp-happypath--paused * {
    animation-play-state: paused !important;
}

.home-happypath-svg .tp-meet-path {
    stroke-dasharray: 8 10;
    stroke-dashoffset: 0;
    animation: tp-meet-path-dash 2s linear infinite;
}

@keyframes tp-meet-path-dash {
    to { stroke-dashoffset: -36; }
}

/* Buyer & seller walk in toward Afripay, hold, then loop */
.tp-anim-seller {
    animation: tpMeetApproachSeller var(--tp-dur) var(--tp-ease) infinite;
}

.tp-anim-buyer {
    animation: tpMeetApproachBuyer var(--tp-dur) var(--tp-ease) infinite;
}

@keyframes tpMeetApproachSeller {
    0%, 74%, 100% { transform: translateX(calc(var(--tp-meet) * -1)); }
    34%, 70% { transform: translateX(0); }
}

@keyframes tpMeetApproachBuyer {
    0%, 74%, 100% { transform: translateX(var(--tp-meet)); }
    34%, 70% { transform: translateX(0); }
}

.tp-meet-hub {
    transform-origin: 200px 110px;
    transform-box: fill-box;
    animation: tpMeetHubPulse var(--tp-dur) var(--tp-ease) infinite;
}

@keyframes tpMeetHubPulse {
    0%, 28% { transform: scale(0.94); opacity: 0.92; }
    34%, 68% { transform: scale(1); opacity: 1; }
    74%, 100% { transform: scale(0.94); opacity: 0.92; }
}

.tp-meet-handshake {
    opacity: 0;
    animation: tpMeetShowHandshake var(--tp-dur) var(--tp-ease) infinite;
}

@keyframes tpMeetShowHandshake {
    0%, 30% { opacity: 0; }
    34%, 54% { opacity: 1; }
    58%, 100% { opacity: 0; }
}

.tp-meet-secure {
    opacity: 0;
    animation: tpMeetShowSecure var(--tp-dur) var(--tp-ease) infinite;
}

@keyframes tpMeetShowSecure {
    0%, 44% { opacity: 0; }
    48%, 69% { opacity: 1; }
    73%, 100% { opacity: 0; }
}

.tp-meet-success {
    opacity: 0;
    animation: tpMeetShowSuccess var(--tp-dur) var(--tp-ease) infinite;
}

@keyframes tpMeetShowSuccess {
    0%, 58% { opacity: 0; transform: scale(0.88); }
    62%, 72% { opacity: 1; transform: scale(1); }
    76%, 100% { opacity: 0; transform: scale(0.88); }
}

/* Keep two columns in one row until phones; narrow tablets stay side-by-side */
@media (max-width: 639px) {
    .home-happypath-split {
        flex-direction: column;
        flex-wrap: wrap;
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .home-happypath-split > .home-happypath-col {
        flex: 1 1 auto;
        width: 100%;
    }

    .home-happypath-col--visual {
        --tp-meet: 64px;
    }

    .home-happypath-col--accounts {
        padding-top: 4px;
    }
}

@media (max-width: 760px) {
    .home-happypath-head {
        text-align: left;
        padding: 0 8px;
    }
    .home-happypath-visual {
        border-radius: 22px;
    }
}

@media (max-width: 520px) {
    .home-happypath-caption {
        font-size: 10.5px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-happypath {
        --tp-dur: 34s;
    }
    .home-happypath-svg .tp-meet-path {
        animation: none !important;
    }
    .tp-mini-dev-float,
    .tp-mini-cards-float {
        animation: none !important;
    }
    .tp-mini-cursor {
        animation: none !important;
        opacity: 1 !important;
    }
    .tp-mini-dot,
    .tp-mini-dot--slow {
        animation: none !important;
        opacity: 1 !important;
    }
    .tp-mini-eye-l,
    .tp-mini-eye-r {
        animation: none !important;
        transform: none !important;
    }
    .tp-mini-sparkle {
        animation: none !important;
        opacity: 0.85 !important;
        transform: none !important;
    }
}

/* Payment link sales landing + thank you */
.pay-landing-body {
    background: linear-gradient(165deg, #f0f7ff 0%, #f8fafc 45%, #eef6ff 100%);
}
.pay-landing-shell {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 24px 16px 40px;
    box-sizing: border-box;
}
.pay-landing-card {
    background: #fff;
    border: 1px solid #d8e3ef;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}
.pay-landing-hero {
    background: #e8f0fa;
}
.pay-landing-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: cover;
}
.pay-landing-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    background: linear-gradient(135deg, #dbeafe 0%, #e0e7ff 100%);
}
.pay-landing-placeholder-icon {
    font-size: 3rem;
    opacity: 0.35;
    color: #1e3a5f;
}
.pay-landing-body-text {
    padding: 22px 22px 26px;
}
.pay-landing-eyebrow {
    font-size: 0.72rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
    margin: 0 0 8px;
    font-weight: 600;
}
.pay-landing-title {
    margin: 0 0 10px;
    font-size: 1.45rem;
    line-height: 1.25;
    color: #0f172a;
}
.pay-landing-price {
    font-size: 1.75rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 12px;
}
.pay-landing-currency {
    font-size: 1rem;
    font-weight: 600;
    color: #475569;
    margin-left: 4px;
}
.pay-landing-desc {
    margin: 14px 0 18px;
    line-height: 1.5;
    font-size: 0.95rem;
}
.pay-landing-alert {
    margin-top: 8px;
}
.pay-landing-cta {
    margin-top: 8px;
}
.pay-landing-btn {
    width: 100%;
    text-align: center;
    min-height: 48px;
    font-size: 1rem;
}
.pay-landing-foot {
    margin: 20px 0 0;
    font-size: 0.8rem;
    text-align: center;
}
.pay-checkout-back {
    margin: 0 0 12px;
}
.pay-thanks-card {
    text-align: center;
}
.pay-thanks-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #ecfdf3;
    border: 2px solid #a7f3d0;
    color: #065f46;
    font-size: 1.75rem;
    line-height: 52px;
    font-weight: 700;
}
.pay-thanks-custom {
    margin: 16px 0;
    text-align: left;
    line-height: 1.5;
}
.pay-thanks-next {
    margin: 18px 0 8px;
}
.pay-thanks-next .auth-row-link {
    display: inline-block;
    margin-left: 12px;
}
.pl-sales-fieldset {
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}
.pl-sales-heading {
    margin: 0 0 8px;
    font-size: 1rem;
}
.pl-sales-fieldset--prominent {
    margin: 20px 0;
    padding: 16px 18px;
    border: 1px solid rgba(45, 212, 191, 0.4);
    border-radius: 12px;
    background: rgba(13, 58, 47, 0.06);
}
.pl-sales-fieldset--prominent .pl-sales-heading {
    font-size: 1.05rem;
}
.pl-checkout-only-callout {
    margin: 16px 0 0;
    padding: 14px 16px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 0.95rem;
    line-height: 1.55;
}
.pl-business-tools-card .pl-business-tools-list {
    list-style: disc;
}
#pl-landing-extra > div {
    margin-top: 12px;
}

/* Pay link flow: product vs service templates + stepper */
.pay-flow-nav {
    width: 100%;
    max-width: 520px;
    margin: 0 auto 18px;
    padding: 0 8px;
    box-sizing: border-box;
}
.pay-flow-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    gap: 6px;
}
.pay-flow-step {
    flex: 1;
    text-align: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: #94a3b8;
    padding: 8px 4px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid #e2e8f0;
}
.pay-flow-step--current {
    color: #0f172a;
    border-color: #93c5fd;
    background: #eff6ff;
}
.pay-flow-step--done {
    color: #047857;
    border-color: #a7f3d0;
    background: #ecfdf5;
}
.pay-flow-step-num {
    display: block;
    font-size: 0.65rem;
    opacity: 0.85;
    margin-bottom: 2px;
}
.pay-flow-tagline {
    text-align: center;
    font-size: 0.78rem;
    margin: 10px 0 0;
    line-height: 1.35;
}
.pay-landing-card--product {
    border-top: 4px solid #3b82f6;
}
.pay-landing-card--service {
    border-top: 4px solid #8b5cf6;
}

.pay-merchant-preview-banner {
    background: linear-gradient(90deg, #1e3a5f 0%, #0f172a 100%);
    color: #f8fafc;
    text-align: center;
    padding: 10px 16px;
    font-size: 0.88rem;
    line-height: 1.45;
}
.pay-merchant-preview-banner strong {
    color: #fde68a;
}
.pay-merchant-preview-body .pay-flow-nav {
    margin-top: 0;
}

.trust-chip-public--compact {
    margin-left: 8px;
    font-size: 0.75rem;
    vertical-align: middle;
}

.pay-premium-landing {
    max-width: 960px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.12);
    overflow: hidden;
}
.pay-premium-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 22px;
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
}
.pay-premium-logo {
    font-weight: 700;
    font-size: 1.05rem;
    color: #0f172a;
    letter-spacing: -0.02em;
}
.pay-premium-top-cta {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid #1d4ed8;
    color: #1d4ed8;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
}
.pay-premium-top-cta:hover {
    background: #eff6ff;
}

.pay-premium-hero {
    background: linear-gradient(135deg, #0f2942 0%, #1e3a5f 55%, #0c4a6e 100%);
    color: #f8fafc;
    padding: 36px 22px 44px;
}
.pay-premium-hero-inner {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 880px;
    margin: 0 auto;
    align-items: center;
}
@media (min-width: 840px) {
    .pay-premium-hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
    }
}
.pay-premium-hero-title {
    font-size: clamp(1.55rem, 4vw, 2.15rem);
    line-height: 1.15;
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -0.03em;
}
.pay-premium-hero-sub {
    font-size: 1rem;
    line-height: 1.55;
    opacity: 0.92;
    margin: 0 0 18px;
}
.pay-premium-price-line {
    font-size: 1.15rem;
    margin: 0 0 18px;
}
.pay-premium-price-line span:first-of-type {
    margin-left: 6px;
    opacity: 0.85;
    font-weight: 500;
}
.pay-premium-hero-cta {
    display: inline-block;
    background: #ea580c;
    color: #fff !important;
    border: none;
    padding: 14px 26px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(234, 88, 12, 0.35);
}
.pay-premium-hero-cta:hover {
    filter: brightness(1.06);
}
.pay-premium-hero-visual {
    display: flex;
    justify-content: center;
}
.pay-premium-hero-shot {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    max-width: 360px;
    width: 100%;
    background: #0f172a;
}
.pay-premium-hero-shot img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}
.pay-premium-hero-shot--placeholder {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    opacity: 0.5;
}

.pay-premium-trust-strip {
    text-align: center;
    padding: 14px 16px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #64748b;
    background: #f1f5f9;
    border-bottom: 1px solid #e2e8f0;
}

.pay-premium-section {
    padding: 36px 22px 28px;
    max-width: 880px;
    margin: 0 auto;
}
.pay-premium-section-title {
    font-size: 1.5rem;
    margin: 0 0 12px;
    color: #0f172a;
}
.pay-premium-section-body {
    font-size: 1rem;
    line-height: 1.65;
    margin-bottom: 28px;
}

.pay-premium-tiles {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}
@media (min-width: 700px) {
    .pay-premium-tiles {
        grid-template-columns: repeat(3, 1fr);
    }
}
.pay-premium-tile {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    background: #fafafa;
}
.pay-premium-tile-media {
    aspect-ratio: 16/10;
    border-radius: 8px;
    background: linear-gradient(145deg, #1d4ed8, #0ea5e9);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}
.pay-premium-tile-play {
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.95;
}
.pay-premium-tile-title {
    font-size: 1rem;
    margin: 0 0 8px;
    color: #0f172a;
}
.pay-premium-tile-caption {
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.pay-premium-mid-cta {
    text-align: center;
    margin-top: 28px;
}

.pay-premium-host {
    padding: 0 22px 32px;
    max-width: 880px;
    margin: 0 auto;
}
.pay-premium-host-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: start;
    padding: 24px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}
@media (min-width: 600px) {
    .pay-premium-host-card {
        grid-template-columns: 140px 1fr;
    }
}
.pay-premium-host-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}
.pay-premium-host-photo--placeholder {
    background: linear-gradient(145deg, #cbd5e1, #94a3b8);
}
.pay-premium-host-name {
    margin: 0 0 6px;
    font-size: 1.25rem;
    color: #0f172a;
}
.pay-premium-host-role {
    margin: 0 0 10px;
    font-size: 0.9rem;
}
.pay-premium-host-bio {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.pay-premium-alert {
    margin: 16px 22px;
}
.pay-premium-foot {
    text-align: center;
    padding: 16px 22px 24px;
    font-size: 0.88rem;
}

.pl-premium-fields {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #cbd5e1;
}
.pl-premium-fields h6 {
    margin: 0 0 10px;
    font-size: 0.95rem;
}
.pl-preview-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}
.pl-preview-actions a {
    font-size: 0.88rem;
}

.pay-checkout-login-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 14px 0;
}
.pay-thanks-escrow {
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 12px 0 0;
}

/* —— Property listings (escrow-backed rent/sale) —— */
.property-browse__empty {
    margin: 1rem 0 2rem;
}

.property-card-grid {
    list-style: none;
    margin: 0 0 3rem;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.property-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.property-card__media {
    display: block;
    aspect-ratio: 16 / 10;
    background: #f1f5f9;
}

.property-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.property-card__placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.9rem;
}

.property-card__body {
    padding: 1rem 1.1rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex: 1;
}

.property-card__type {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.property-card__title {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.35;
}

.property-card__title a {
    color: #0f172a;
    text-decoration: none;
}

.property-card__title a:hover {
    color: #2563eb;
}

.property-card__loc {
    margin: 0;
    font-size: 0.88rem;
    color: #64748b;
}

.property-card__meta {
    margin: 0;
    font-size: 0.82rem;
    color: #475569;
}

.property-card__price {
    margin: 0.35rem 0 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #1d4ed8;
}

.property-card__per {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 0.25rem;
}

.property-card__cta {
    margin-top: auto;
    align-self: flex-start;
    text-align: center;
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
}

.property-detail__hero {
    margin-bottom: 1.25rem;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.property-detail__hero-img {
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.property-detail__hero-placeholder {
    padding: 3rem 1rem;
    text-align: center;
    color: #94a3b8;
}

.property-detail__main {
    max-width: 720px;
}

.property-detail__title {
    margin: 0.25rem 0 0;
    font-size: 1.75rem;
    line-height: 1.2;
    color: #0f172a;
}

.property-detail__loc {
    margin: 0.5rem 0 0;
    color: #64748b;
}

.property-detail__beds {
    margin: 0.35rem 0 0;
    font-size: 0.9rem;
    color: #475569;
}

.property-detail__price {
    margin: 1rem 0 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1d4ed8;
}

.property-detail__desc {
    margin-top: 1.25rem;
    line-height: 1.6;
    color: #334155;
}

.property-detail__seller {
    margin-top: 1rem;
}

.property-detail__note {
    margin-top: 1rem;
}

.property-detail__escrow-title {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
}

.property-escrow-box {
    margin-top: 1.25rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
}

.property-detail__escrow-form .field-label {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.88rem;
    font-weight: 600;
}

.property-detail__escrow-form .field-input {
    max-width: 12rem;
}

.property-detail__badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin-bottom: 0.35rem;
}

.property-verified-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #fff;
    background: #15803d;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.property-verified-badge--sm {
    font-size: 0.65rem;
    padding: 0.12rem 0.4rem;
    vertical-align: middle;
}

.property-pending-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #92400e;
    background: #fef3c7;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.property-rejected-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: #991b1b;
    background: #fee2e2;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
}

.property-detail__chat {
    margin-top: 1.25rem;
}

.property-chat-log--compact {
    max-height: 200px;
    overflow-y: auto;
    margin: 0.75rem 0;
    padding: 0.5rem 0;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

.property-chat-msg {
    margin-bottom: 0.75rem;
    font-size: 0.9rem;
}

.property-chat-msg__who {
    font-weight: 700;
    color: #0f172a;
    margin-right: 0.35rem;
}

.property-chat-msg__time {
    font-size: 0.75rem;
}

.property-chat-msg__body {
    margin-top: 0.2rem;
    color: #334155;
    line-height: 1.45;
}

.property-chat-compose textarea {
    width: 100%;
    max-width: 32rem;
    box-sizing: border-box;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 0.5rem 0.65rem;
    font: inherit;
}

/* —— Property marketplace (full UI shell: navy + yellow flyer-style) —— */
.pm-market.page-shell {
    padding-top: 0;
    padding-bottom: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    width: 100%;
    box-sizing: border-box;
}

/* Marketplace + property detail: stretch content edge-to-edge with modest gutters; align header/footer */
body.property-venue .site-header > .container.topbar {
    max-width: none;
    width: 100%;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

body.property-venue .site-footer > .container {
    max-width: none;
    width: 100%;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

body.property-venue .mhfx-footer > .mhfx-container {
    max-width: none;
    width: 100%;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

body.property-venue .pm-browse-root,
body.property-venue .pm-detail-mock-root {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

body.property-venue .pm-browse--mock .pm-browse-root {
    max-width: none;
}

.pm-market.pm-browse {
    min-height: calc(100vh - var(--site-header-offset));
    background: #f1f5f9;
}

.pm-browse-root {
    max-width: 1240px;
    margin: 0 auto;
    padding: clamp(20px, 3vw, 32px) clamp(16px, 4vw, 28px) clamp(40px, 6vw, 64px);
    box-sizing: border-box;
}

.pm-page-head {
    margin-bottom: clamp(20px, 3vw, 28px);
    padding: clamp(18px, 2.5vw, 24px) clamp(20px, 3vw, 28px);
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.pm-page-head__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.pm-page-head__eyebrow {
    margin: 0 0 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #64748b;
}

.pm-page-head__domain {
    color: #1e4a8c;
    text-decoration: none;
}

.pm-page-head__domain:hover {
    text-decoration: underline;
}

.pm-page-head__title {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.15;
}

.pm-page-head__tagline {
    margin: 0;
    max-width: 640px;
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
}

.pm-page-head__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    min-width: 200px;
}

.pm-page-head__link {
    font-size: 13px;
    font-weight: 600;
    color: #1e4a8c;
    text-align: center;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pm-browse-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, 288px);
    gap: clamp(20px, 3vw, 28px);
    align-items: start;
}

.pm-browse-main {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
    min-width: 0;
}

.pm-trust-banner {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px clamp(16px, 3vw, 24px);
    background: linear-gradient(90deg, #ecfdf5 0%, #d1fae5 100%);
    border-bottom: 1px solid #a7f3d0;
    font-size: 14px;
    line-height: 1.5;
    color: #064e3b;
}

.pm-trust-banner__icon {
    flex-shrink: 0;
    font-size: 1.25rem;
    line-height: 1;
}

.pm-trust-banner p {
    margin: 0;
}

.pm-filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 14px 16px;
    padding: clamp(16px, 2.5vw, 20px) clamp(16px, 3vw, 24px);
    border-bottom: 1px solid #e5e7eb;
    background: #fafbfc;
}

.pm-filter-bar__field {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 140px;
}

.pm-filter-bar__field--price {
    min-width: 110px;
    max-width: 140px;
}

.pm-filter-label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.pm-filter-input,
.pm-filter-select {
    font: inherit;
    font-size: 14px;
    padding: 8px 10px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    background: #fff;
    color: #0f172a;
}

.pm-filter-clear {
    margin-left: auto;
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #475569;
    cursor: pointer;
}

.pm-filter-clear:hover {
    border-color: #94a3b8;
    color: #0f172a;
}

.pm-filter-empty {
    margin: 0;
    padding: 28px 24px;
    text-align: center;
    color: #64748b;
    font-size: 14px;
}

.pm-feed-head {
    padding: clamp(16px, 2.5vw, 22px) clamp(16px, 3vw, 24px) 12px;
    border-bottom: 1px solid #f1f5f9;
}

.pm-feed-head__title {
    margin: 0;
    font-size: clamp(1.05rem, 1.8vw, 1.2rem);
    font-weight: 800;
    color: #1e3a5f;
    letter-spacing: -0.02em;
}

.pm-feed-head__meta {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
}

.pm-feed {
    list-style: none;
    margin: 0;
    padding: clamp(12px, 2vw, 18px);
}

.pm-feed--grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: clamp(14px, 2vw, 20px);
}

.pm-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.pm-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

.pm-card--demo {
    border-left: 3px solid #f5c400;
}

.pm-card__media {
    display: block;
    position: relative;
    aspect-ratio: 4 / 3;
    background: #f1f5f9;
    overflow: hidden;
}

.pm-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pm-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 140px;
    font-size: 12px;
    color: #94a3b8;
}

.pm-card__body {
    padding: 12px 14px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0;
}

.pm-card__tags {
    margin: 0 0 6px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #64748b;
}

.pm-card__title {
    margin: 0 0 8px;
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 800;
}

.pm-card__title a {
    color: #1e4a8c;
    text-decoration: none;
}

.pm-card__title a:hover {
    color: #0f172a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pm-card__excerpt {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.45;
    color: #64748b;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.pm-card__address {
    margin: 0 0 10px;
    font-size: 12px;
    font-weight: 700;
    color: #334155;
    line-height: 1.35;
}

.pm-card__foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.pm-card__price {
    font-size: 1.05rem;
    font-weight: 800;
    color: #1e4a8c;
}

.pm-card__per {
    font-size: 0.72rem;
    font-weight: 600;
    color: #64748b;
    margin-left: 2px;
}

.pm-card__beds {
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    padding: 3px 8px;
    background: #f1f5f9;
    border-radius: 99px;
}

.pm-card__cta {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 700;
    color: #152238;
    background: #f5c400;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    margin-top: auto;
}

.pm-card__cta:hover {
    filter: brightness(1.05);
}

.pm-trust-sidebar {
    min-width: 0;
}

.pm-trust-sidebar__sticky {
    position: sticky;
    top: calc(var(--site-header-offset) + 12px);
    padding: clamp(18px, 2.5vw, 22px);
    background: linear-gradient(165deg, #152238 0%, #1a2b4c 50%, #0f172a 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    color: #e8f1f8;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.2);
}

.pm-trust-sidebar__title {
    margin: 0 0 12px;
    font-size: 1.05rem;
    font-weight: 800;
    line-height: 1.3;
    color: #fff;
}

.pm-trust-sidebar__lede {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(226, 236, 245, 0.9);
}

.pm-trust-sidebar__list {
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.5;
}

.pm-trust-sidebar__list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 10px;
    color: rgba(220, 234, 245, 0.95);
}

.pm-trust-sidebar__check {
    color: #4ade80;
    flex-shrink: 0;
    font-weight: 700;
}

.pm-trust-sidebar__rule {
    margin: 0 0 14px;
    font-size: 12px;
    line-height: 1.45;
    color: #f5c400;
    font-weight: 600;
}

.pm-trust-sidebar__link {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #7dd3fc;
    text-decoration: none;
    margin-top: 8px;
}

.pm-trust-sidebar__link:hover {
    color: #fff;
    text-decoration: underline;
}

.pm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    padding: 12px 18px;
    border-radius: 6px;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    font-family: inherit;
    transition: filter 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.pm-btn--primary {
    background: #f5c400;
    color: #152238;
    border-color: #f5c400;
}

.pm-btn--primary:hover {
    filter: brightness(1.05);
}

.pm-btn--outline {
    background: #fff;
    color: #1e3a5f;
    border-color: #cbd5e1;
}

.pm-btn--outline:hover {
    border-color: #1e4a8c;
    background: #f8fafc;
}

.pm-btn--ghost {
    background: transparent;
    color: #1e3a5f;
    border-color: rgba(30, 58, 95, 0.35);
}

.pm-btn--ghost:hover {
    border-color: #1e4a8c;
    background: rgba(30, 74, 140, 0.06);
}

.pm-btn--inline {
    display: inline-flex;
}

.pm-empty {
    padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 36px);
    text-align: center;
    color: #475569;
}

.pm-empty p {
    margin: 0 0 8px;
}

.pm-empty__hint a {
    font-weight: 700;
    color: #1e4a8c;
}

/* Detail page */
.pm-detail .pm-flash {
    padding: 12px clamp(20px, 4vw, 36px);
    font-size: 14px;
    font-weight: 600;
}

.pm-flash {
    background: #f8fafc;
    color: #334155;
    border-bottom: 1px solid #e2e8f0;
}

.pm-flash--success {
    background: #ecfdf5;
    color: #065f46;
    border-bottom: 1px solid #a7f3d0;
}

.pm-flash--error {
    background: #fef2f2;
    color: #991b1b;
    border-bottom: 1px solid #fecaca;
}

/* ── Guest registration nudge banner (shown after first chat message) ─── */
.pd-reg-cta {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border-bottom: 2px solid #fbbf24;
    padding: 14px clamp(16px, 4vw, 36px);
    animation: pdRegCtaIn 0.35s ease;
}
@keyframes pdRegCtaIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.pd-reg-cta__inner {
    display: flex;
    align-items: center;
    gap: 14px;
    max-width: 900px;
    flex-wrap: wrap;
}
.pd-reg-cta__icon {
    font-size: 1.6rem;
    flex-shrink: 0;
    line-height: 1;
}
.pd-reg-cta__body {
    flex: 1;
    min-width: 0;
}
.pd-reg-cta__title {
    display: block;
    font-size: 15px;
    color: #92400e;
    margin-bottom: 2px;
}
.pd-reg-cta__text {
    margin: 0;
    font-size: 13px;
    color: #78350f;
    line-height: 1.45;
}
.pd-reg-cta__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}
.pd-reg-cta__btn {
    display: inline-block;
    background: #d97706;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease;
}
.pd-reg-cta__btn:hover {
    background: #b45309;
    color: #fff;
}
.pd-reg-cta__dismiss {
    background: none;
    border: none;
    cursor: pointer;
    color: #92400e;
    font-size: 16px;
    padding: 4px 6px;
    line-height: 1;
    opacity: 0.6;
    transition: opacity 0.15s;
}
.pd-reg-cta__dismiss:hover {
    opacity: 1;
}
@media (max-width: 600px) {
    .pd-reg-cta__inner {
        gap: 10px;
    }
    .pd-reg-cta__actions {
        width: 100%;
        justify-content: space-between;
    }
    .pd-reg-cta__btn {
        flex: 1;
        text-align: center;
    }
}

/* ── Persistent guest registration strip (below sidebar chat form) ─────── */
.pd-guest-reg-strip {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 12px;
    background: #fefce8;
    border: 1px solid #fde68a;
    border-radius: 8px;
    font-size: 13px;
    line-height: 1.4;
}
.pd-guest-reg-strip__icon {
    font-size: 15px;
    flex-shrink: 0;
    margin-top: 1px;
}
.pd-guest-reg-strip__text {
    color: #78350f;
}
.pd-guest-reg-strip__link {
    font-weight: 700;
    color: #b45309;
    text-decoration: underline;
}
.pd-guest-reg-strip__link:hover {
    color: #92400e;
}

.pm-detail-layout {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    min-height: calc(100vh - var(--site-header-offset));
    align-items: stretch;
}

.pm-detail-sidebar {
    position: relative;
    color: #f0f4f8;
    background: linear-gradient(180deg, #1a2b4c 0%, #152238 100%);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.pm-detail-sidebar::before {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -12deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.02) 10px,
        rgba(255, 255, 255, 0.02) 11px
    );
    pointer-events: none;
}

.pm-detail-sidebar__sticky {
    position: sticky;
    top: var(--site-header-offset);
    padding: clamp(22px, 3vw, 32px) clamp(18px, 2.5vw, 24px) 28px;
    z-index: 1;
}

.pm-detail-back {
    display: inline-block;
    margin-bottom: 18px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(200, 220, 235, 0.95);
    text-decoration: none;
}

.pm-detail-back:hover {
    color: #f5c400;
}

.pm-detail-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.pm-detail-brand__icon {
    color: #f5c400;
    display: flex;
}

.pm-detail-sidebar__type {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(245, 196, 0, 0.95);
}

.pm-detail-sidebar__price {
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 1.85rem);
    font-weight: 800;
    color: #f5c400;
    line-height: 1.15;
}

.pm-detail-sidebar__per {
    font-size: 0.65em;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.75);
    margin-left: 4px;
}

.pm-detail-sidebar__beds {
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(226, 236, 245, 0.9);
}

.pm-detail-sidebar__loc {
    margin: 12px 0 0;
    font-size: 13px;
    line-height: 1.45;
    color: rgba(200, 215, 230, 0.92);
}

.pm-detail-sidebar__jump {
    margin-top: 22px;
    width: 100%;
    box-sizing: border-box;
}

.pm-detail-main {
    background: #fff;
    min-width: 0;
}

.pm-detail-hero {
    border-bottom: 1px solid #e5e7eb;
}

.pm-detail-hero__img {
    width: 100%;
    max-height: min(52vh, 480px);
    object-fit: cover;
    display: block;
}

.pm-detail-hero__placeholder {
    padding: 4rem 1.5rem;
    text-align: center;
    background: #f8fafc;
    color: #94a3b8;
}

.pm-detail-copy {
    padding: clamp(22px, 3.5vw, 36px) clamp(20px, 4vw, 48px) clamp(40px, 6vw, 64px);
    max-width: 720px;
}

.pm-detail-badges {
    margin-bottom: 8px;
}

.pm-detail-title {
    margin: 0;
    font-size: clamp(1.5rem, 2.8vw, 2rem);
    font-weight: 800;
    color: #1e3a5f;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.pm-detail-seller {
    margin: 10px 0 0;
    font-size: 14px;
    color: #64748b;
}

.pm-detail-desc {
    margin-top: 1.25rem;
    line-height: 1.65;
    color: #334155;
    font-size: 15px;
}

.pm-trust-box {
    margin-top: 1.5rem;
    padding: 1.15rem 1.25rem;
    border-radius: 10px;
    border: 1px solid #bbf7d0;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
}

.pm-trust-box--owner {
    border-color: #bae6fd;
    background: linear-gradient(135deg, #f0f9ff 0%, #eff6ff 100%);
}

.pm-trust-box__title {
    margin: 0 0 10px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #14532d;
    line-height: 1.3;
}

.pm-trust-box--owner .pm-trust-box__title {
    color: #1e3a8a;
}

.pm-trust-box__text {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.55;
    color: #166534;
}

.pm-trust-box--owner .pm-trust-box__text {
    color: #1e40af;
}

.pm-trust-box__list {
    margin: 0;
    padding-left: 1.15rem;
    font-size: 14px;
    line-height: 1.55;
    color: #15803d;
}

.pm-trust-box__list li {
    margin-bottom: 6px;
}

.pm-detail-note {
    margin-top: 1.25rem;
    font-size: 14px;
    line-height: 1.5;
}

.pm-detail-note a {
    font-weight: 700;
    color: #1e4a8c;
}

.pm-listing-safety-note {
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 0;
}

.pm-listing-safety-note a {
    font-weight: 600;
    color: #b45309;
}

.pm-listing-safety-note--banner {
    margin: 0 0 16px;
    max-width: 100%;
}

.pm-listing-safety-note--prominent {
    border-left: 4px solid #f59e0b;
    margin-top: 12px;
}

.pm-listing-safety-note--compact {
    margin-top: 10px;
    padding: 8px 10px;
    font-size: 12px;
}

.pm-guest-contact__card .pm-listing-safety-note--prominent {
    margin-top: 16px;
}

.pd-agent-card__phone--masked {
    font-family: ui-monospace, monospace;
    letter-spacing: 0.02em;
}

.pm-partial-escrow-callout {
    border-left-color: #3b82f6;
}

.pm-market .pm-panel,
.pm-market .property-escrow-box {
    border: 1px solid #e2e8f0;
    border-left: 4px solid #f5c400;
    border-radius: 0 10px 10px 0;
    background: linear-gradient(180deg, #fffefb 0%, #fff 100%);
    box-shadow: 0 4px 20px rgba(21, 34, 56, 0.06);
}

.pm-market .property-detail__escrow-title {
    color: #152238;
}

.pm-detail--missing {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--site-header-offset) - 80px);
    padding: 40px 24px 64px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.pm-missing {
    text-align: center;
    max-width: 400px;
    padding: 36px 32px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.08);
}

.pm-missing__title {
    margin: 0 0 8px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #1e3a5f;
}

.pm-missing__text {
    margin: 0 0 20px;
    color: #64748b;
    font-size: 14px;
}

.pm-demo-banner {
    padding: 12px clamp(20px, 4vw, 36px);
    font-size: 13px;
    line-height: 1.45;
    color: #422006;
    background: linear-gradient(90deg, #fef9c3 0%, #fef08a 100%);
    border-bottom: 1px solid rgba(245, 196, 0, 0.65);
}

.pm-demo-banner strong {
    color: #713f12;
}

.pm-demo-banner a {
    margin-left: 10px;
    font-weight: 700;
    color: #1e3a5f;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pm-demo-banner a:hover {
    color: #0f172a;
}

.pm-demo-banner--hero {
    text-align: left;
    border-radius: 10px;
    border: 1px solid rgba(245, 196, 0, 0.5);
    margin-bottom: 0;
}

.pm-demo-banner--detail {
    text-align: center;
}

.pm-demo-banner--detail a {
    margin-left: 14px;
}

.property-demo-badge {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #422006;
    background: #fde047;
    padding: 0.2rem 0.55rem;
    border-radius: 6px;
    border: 1px solid rgba(180, 130, 0, 0.35);
}

.property-demo-badge--sm {
    font-size: 0.65rem;
    padding: 0.12rem 0.4rem;
    vertical-align: middle;
}

.pm-demo-callout__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 14px;
}

.pm-demo-callout .pm-btn--ghost {
    border-color: #1e3a5f;
    color: #1e3a5f;
    background: rgba(30, 58, 95, 0.04);
}

.pm-demo-callout .pm-btn--ghost:hover {
    background: rgba(30, 58, 95, 0.08);
    border-color: #0f172a;
    color: #0f172a;
}

@media (max-width: 900px) {
    .pm-browse-grid {
        grid-template-columns: 1fr;
    }

    .pm-browse-grid > .pm-trust-sidebar--mock {
        margin-top: 20px;
        padding-top: 4px;
    }

    .pm-trust-sidebar__sticky {
        position: relative;
        top: auto;
    }

    .pm-filter-bar .pm-filter-clear {
        margin-left: 0;
        width: 100%;
    }

    .pm-detail-layout {
        grid-template-columns: 1fr;
    }

    .pm-detail-sidebar__sticky {
        position: relative;
        top: auto;
    }

    .pm-detail-sidebar {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* —— Property marketplace: Afripay UI mockup template —— */
.pm-browse--mock.pm-market.pm-browse {
    background: #f0f2f5;
}

.pm-browse--mock .pm-browse-root {
    max-width: 1220px;
}

.pm-mock-hero {
    text-align: center;
    padding: clamp(8px, 2vw, 12px) 0 clamp(22px, 4vw, 32px);
}

.pm-mock-hero__title {
    margin: 0 0 10px;
    font-size: clamp(1.75rem, 4vw, 2.35rem);
    font-weight: 800;
    color: #1f2937;
    letter-spacing: -0.03em;
    line-height: 1.15;
    display: block;
    text-align: center;
    width: 100%;
}

.pm-mock-hero__subtitle {
    margin: 0 auto 14px;
    max-width: 560px;
    font-size: clamp(15px, 2vw, 17px);
    line-height: 1.55;
    color: #6b7280;
    display: block;
    text-align: center;
    width: 100%;
}

.pm-mock-hero__links {
    margin: 0;
    font-size: 13px;
    color: #6b7280;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    width: 100%;
    text-align: center;
}

.pm-mock-hero__links a {
    color: #2b59c3;
    font-weight: 600;
    text-decoration: none;
}

.pm-mock-hero__links a:hover {
    text-decoration: underline;
}

.pm-mock-hero__dot {
    margin: 0 6px;
    color: #d1d5db;
}

.pm-search-strip {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    margin-bottom: clamp(22px, 3vw, 30px);
    overflow: hidden;
}

.pm-search-strip__field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1 1 140px;
    min-width: 0;
    padding: 12px 14px;
    border-right: 1px solid #e5e7eb;
}

.pm-search-strip__icon {
    flex-shrink: 0;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pm-search-strip__cell {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pm-search-strip__label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.pm-search-strip__input,
.pm-search-strip__select {
    width: 100%;
    border: 0;
    padding: 2px 0;
    font: inherit;
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    background: transparent;
    box-sizing: border-box;
}

.pm-search-strip__input::placeholder {
    color: #c4c9d2;
}

.pm-search-strip__input:focus,
.pm-search-strip__select:focus {
    outline: none;
}

.pm-search-strip__actions {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
    padding: 12px 14px;
    flex: 0 0 auto;
    border-right: none;
    background: #fafafa;
}

.pm-search-strip__submit {
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 28px;
    border: none;
    border-radius: 8px;
    background: #2b59c3;
    color: #fff;
    cursor: pointer;
    white-space: nowrap;
    transition: filter 0.15s ease, background 0.15s ease;
}

.pm-search-strip__submit:hover {
    filter: brightness(1.06);
    background: #244a9f;
}

.pm-search-strip__reset {
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border: none;
    background: transparent;
    color: #6b7280;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.pm-browse-main--mock {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

.pm-feed-head--mock {
    padding: 0 0 16px;
    border-bottom: none;
}

.pm-feed-head--mock .pm-feed-head__title {
    color: #1f2937;
    font-size: 1.15rem;
}

.pm-feed--mock.pm-feed--grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
    padding: 0 0 32px;
}

.pm-card--mock {
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.pm-card--mock:hover {
    border-color: #cfcfcf;
    box-shadow: 0 8px 24px rgba(43, 89, 195, 0.12);
}

.pm-card--off-market.pm-card--mock {
    opacity: 0.95;
}

.pm-card--off-market.pm-card--mock .pm-card__title,
.pm-card--off-market.pm-card--mock .pm-card__title a {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    font-weight: 800;
    color: #4b5563;
}

.pm-card--off-market.pm-card--mock .pm-card__price {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    color: #6b7280;
}

.pm-card__ribbon--unavailable {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #991b1b;
    color: #fff;
    font-weight: 800;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 6px 10px;
    border-radius: 6px;
    line-height: 1.2;
    pointer-events: none;
}

.pm-card--mock .pm-card__body {
    padding: 14px 16px 16px;
}

.pm-card__price-row {
    margin: 0 0 8px;
    order: -1;
}

.pm-card--mock .pm-card__price {
    font-size: 1.125rem;
    font-weight: 800;
    color: #2b59c3;
}

.pm-card--mock .pm-card__per {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6b7280;
    margin-left: 4px;
}

.pm-card--mock .pm-card__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
}

.pm-card--mock .pm-card__title a {
    color: inherit;
}

.pm-card--mock .pm-card__title a:hover {
    color: #2b59c3;
}

.pm-card--mock .pm-card__address {
    margin: 0 0 10px;
    font-size: 13px;
    font-weight: 500;
    color: #9ca3af;
}

.pm-card--mock .pm-card__tags {
    margin: 0 0 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #9ca3af;
}

.pm-card__cta--mock {
    background: #2b59c3;
    color: #fff;
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 13px;
    font-weight: 700;
}

.pm-card__cta--mock:hover {
    filter: brightness(1.06);
    background: #244a9f;
}

.pm-card__trust-line {
    margin: 0 0 10px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #059669;
}

.pm-trust-sidebar--mock .pm-trust-sidebar__sticky {
    position: sticky;
    top: calc(var(--site-header-offset) + 12px);
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
}

.pm-sidebar-secure__banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: linear-gradient(180deg, #1a8938 0%, #157d32 100%);
    color: #fff;
    border-radius: 10px 10px 0 0;
    border: 1px solid #146c2e;
    border-bottom: none;
}

.pm-sidebar-secure__shield {
    flex-shrink: 0;
    display: flex;
    color: rgba(255, 255, 255, 0.95);
}

.pm-sidebar-secure__banner-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
}

.pm-sidebar-secure__banner-text strong {
    display: block;
    font-size: 15px;
    margin-bottom: 2px;
}

.pm-sidebar-secure__card {
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    padding: 18px 18px 16px;
    border-radius: 0 0 10px 10px;
}

.pm-sidebar-secure__list {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 1.5;
    color: #374151;
}

.pm-sidebar-secure__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 10px;
}

.pm-sidebar-secure__list li:last-child {
    margin-bottom: 0;
}

.pm-sidebar-secure__tick {
    flex-shrink: 0;
    color: #1a8938;
    font-weight: 800;
}

.pm-sidebar-secure__powered {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid #eee;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.pm-sidebar-secure__art {
    margin-top: 14px;
    padding: 12px 8px 8px;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e5e7eb;
}

.pm-sidebar-secure__cloud-lock {
    display: block;
    width: 100%;
    max-width: 200px;
    height: auto;
    margin: 0 auto;
}

.pm-sidebar-secure__footer {
    margin: 14px 0 4px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    color: #374151;
}

.pm-sidebar-secure__more {
    display: block;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    color: #2b59c3;
    text-decoration: none;
}

.pm-sidebar-secure__more:hover {
    text-decoration: underline;
}

/* Wide layout only: do not override .pm-browse-grid { 1fr } inside @media (max-width: 900px) */
@media (min-width: 901px) {
    .pm-browse--mock .pm-browse-grid {
        grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    }
}

@media (max-width: 1100px) {
    .pm-feed--mock.pm-feed--grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 820px) {
    .pm-feed--mock.pm-feed--grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pm-search-strip__field {
        flex: 1 1 45%;
        border-bottom: 1px solid #e5e7eb;
    }

    .pm-search-strip__actions {
        flex: 1 1 100%;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-start;
        align-items: center;
    }
}

@media (max-width: 520px) {
    .pm-feed--mock.pm-feed--grid {
        grid-template-columns: 1fr;
    }

    .pm-search-strip__field {
        flex: 1 1 100%;
        border-right: none;
    }
}

@media (max-width: 800px) {
    .pm-browse--mock .pm-search-strip {
        flex-direction: column;
        align-items: stretch;
        border-radius: 12px;
    }

    .pm-browse--mock .pm-search-strip__field {
        flex: none;
        width: 100%;
        max-width: none;
        border-right: none;
        border-bottom: 1px solid #e5e7eb;
    }

    .pm-browse--mock .pm-search-strip__actions {
        flex: none;
        width: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: stretch;
        gap: 10px;
        box-sizing: border-box;
    }

    .pm-browse--mock .pm-search-strip__submit {
        flex: 1 1 140px;
        min-width: 0;
    }

    .pm-browse--mock .pm-search-strip__reset {
        flex: 0 0 auto;
        padding: 10px 12px;
        min-height: 44px;
        align-self: center;
    }
}

/* Property detail — same mock template as marketplace */
.pm-detail--mock.pm-market.page-shell {
    background: #f0f2f5;
}

.pm-detail-mock-root {
    max-width: 1220px;
    margin: 0 auto;
    padding: clamp(16px, 3vw, 28px) clamp(16px, 4vw, 28px) clamp(40px, 6vw, 56px);
    box-sizing: border-box;
}

.pm-detail-mock-back {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    color: #2b59c3;
    text-decoration: none;
}

.pm-detail-mock-back:hover {
    text-decoration: underline;
}

.pm-detail-mock-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: clamp(18px, 2.5vw, 26px);
    align-items: start;
}

.pm-detail-mock-hero-wrap {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.pm-detail-mock-hero__img {
    width: 100%;
    max-height: min(440px, 52vh);
    object-fit: cover;
    display: block;
}

.pm-detail-mock-hero__placeholder {
    padding: 4rem 1.5rem;
    text-align: center;
    background: #f9fafb;
    color: #9ca3af;
    font-size: 14px;
}

.pm-detail-mock-body {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: clamp(20px, 3vw, 28px) clamp(18px, 3vw, 26px) clamp(28px, 4vw, 36px);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.pm-detail-mock-body .pm-detail-title {
    color: #1f2937;
}

.pm-detail-mock-body .pm-detail-seller {
    color: #6b7280;
}

.pm-detail-mock-summary {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    padding: 18px 18px 20px;
    margin-bottom: 16px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.pm-detail-mock-summary__brand {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6b7280;
}

.pm-detail-mock-summary__brand a {
    color: #2b59c3;
    text-decoration: none;
}

.pm-detail-mock-summary__brand a:hover {
    text-decoration: underline;
}

.pm-detail-mock-summary__type {
    margin: 0 0 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #9ca3af;
}

.pm-detail-mock-summary__price {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.5vw, 1.65rem);
    font-weight: 800;
    color: #2b59c3;
    line-height: 1.2;
}

.pm-detail-mock-summary__per {
    font-size: 0.82rem;
    font-weight: 600;
    color: #6b7280;
}

.pm-detail-mock-summary__beds {
    margin: 0 0 8px;
    font-size: 14px;
    color: #374151;
}

.pm-detail-mock-summary__loc {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.45;
    color: #9ca3af;
}

.pm-detail-mock-summary__cta {
    display: block;
    text-align: center;
    padding: 12px 16px;
    background: #2b59c3;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: filter 0.15s ease;
}

.pm-detail-mock-summary__cta:hover {
    filter: brightness(1.07);
}

.pm-trust-sidebar--detail .pm-trust-sidebar__sticky {
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    position: sticky;
    top: calc(var(--site-header-offset) + 12px);
}

.pm-detail--mock .pm-btn--primary {
    background: #2b59c3;
    border-color: #2b59c3;
    color: #fff;
}

.pm-detail--mock .pm-btn--primary:hover {
    filter: brightness(1.08);
}

.pm-detail--mock.pm-detail--missing {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - var(--site-header-offset) - 80px);
    padding: 32px 16px 48px;
}

.pm-detail--mock.pm-detail--missing .pm-detail-mock-root {
    width: 100%;
    display: flex;
    justify-content: center;
}

@media (max-width: 900px) {
    .pm-detail-mock-grid {
        grid-template-columns: 1fr;
    }

    /* Later .pd-detail-grid rule wins specificity; force single column on small viewports */
    .pm-detail-mock-grid.pd-detail-grid,
    .pd-detail-grid {
        grid-template-columns: 1fr;
    }

    .pm-trust-sidebar--detail .pm-trust-sidebar__sticky {
        position: relative;
        top: auto;
    }
}

/* Listed property detail (pd-*) */
.pd-breadcrumb {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 14px;
}

.pd-breadcrumb a {
    color: #2563eb;
    font-weight: 600;
}

.pd-breadcrumb a:hover {
    text-decoration: underline;
}

.pd-breadcrumb__sep {
    margin: 0 0.35em;
    color: #94a3b8;
}

.pd-breadcrumb__current {
    color: #334155;
    font-weight: 600;
}

.pd-detail-grid {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(20px, 3vw, 32px);
}

.pd-detail-header {
    margin-bottom: 18px;
}

.pd-detail-header--off-market .pd-unavailable-banner {
    margin: 0 0 14px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #7f1d1d;
    font-size: 15px;
    line-height: 1.45;
}

.pd-detail-header__title {
    margin: 0 0 8px;
    font-size: clamp(1.5rem, 3.2vw, 2rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.pd-detail-header__title--struck {
    text-decoration: line-through;
    text-decoration-thickness: 3px;
    color: #374151;
}

.pd-detail-header__loc {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
}

.pd-detail-header__pin {
    display: inline-flex;
    color: #2563eb;
}

.pd-gallery {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.pd-gallery__main {
    position: relative;
    background: #0f172a;
}

.pd-gallery__img {
    display: block;
    width: 100%;
    max-height: min(420px, 50vh);
    object-fit: cover;
    vertical-align: middle;
}

.pd-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
    transition: background 0.15s ease, transform 0.15s ease;
}

.pd-gallery__nav:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.04);
}

.pd-gallery__nav--prev {
    left: 12px;
}

.pd-gallery__nav--next {
    right: 12px;
}

.pd-gallery--single .pd-gallery__nav {
    display: none;
}

.pd-gallery__thumbs {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.pd-gallery__thumb {
    flex: 0 0 28%;
    max-width: 140px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #e2e8f0;
    transition: border-color 0.15s ease, opacity 0.15s ease;
}

.pd-gallery__thumb img {
    display: block;
    width: 100%;
    height: 72px;
    object-fit: cover;
}

.pd-gallery__thumb:hover {
    opacity: 0.92;
}

.pd-gallery__thumb.is-active {
    border-color: #2563eb;
    box-shadow: 0 0 0 1px rgba(37, 99, 235, 0.2);
}

.pd-gallery--empty .pd-gallery__placeholder {
    padding: 3.5rem 1.5rem;
    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    background: #f8fafc;
}

.pd-agent-media-guide {
    margin: 0 0 1.25rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    border: 1px solid #c7d2fe;
    background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}

.pd-agent-media-guide__title {
    margin: 0 0 0.65rem;
    font-size: 1rem;
    font-weight: 700;
    color: #312e81;
}

.pd-agent-media-guide__list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 13px;
    line-height: 1.55;
    color: #4338ca;
}

.pd-showcase {
    margin-bottom: 1.5rem;
}

.pd-showcase__label {
    margin: 0 0 0.5rem;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

.pd-showcase__hero {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    background: #0f172a;
    cursor: zoom-in;
    aspect-ratio: 16 / 10;
    max-height: 520px;
}

.pd-showcase__video,
.pd-showcase__hero-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-showcase__video {
    object-fit: contain;
    background: #000;
}

.pd-showcase__video[hidden],
.pd-showcase__hero-img[hidden] {
    display: none !important;
}

.pd-showcase__embed-shell[hidden] {
    display: none !important;
}

.pd-showcase__strip {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.pd-showcase__thumb {
    width: 72px;
    height: 54px;
    padding: 0;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    cursor: pointer;
}

.pd-showcase__thumb.is-active {
    border-color: #2563eb;
}

.pd-showcase__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-showcase__thumb-video {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #1e293b;
    color: #fff;
    font-size: 18px;
}

.pd-lightbox {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(15, 23, 42, 0.88);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
}

/* Author display rules above must not beat the HTML hidden attribute (breaks close + shows stacked videos/iframes). */
.pd-lightbox[hidden] {
    display: none !important;
}

.pd-lightbox__video[hidden],
.pd-lightbox__img[hidden],
.pd-lightbox__embed[hidden] {
    display: none !important;
}

.pd-lightbox__inner {
    position: relative;
    max-width: min(1100px, 100%);
    max-height: 100%;
    width: 100%;
}

.pd-lightbox__close {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 10060;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 999px;
    background: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
}

.pd-lightbox__title {
    margin: 0 0 8px;
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 600;
}

.pd-lightbox__video,
.pd-lightbox__img {
    max-width: 100%;
    max-height: min(78vh, 720px);
    border-radius: 10px;
    display: block;
    margin: 0 auto;
}

.pd-lightbox__video {
    width: 100%;
    background: #000;
}

.pd-lightbox__embed {
    width: 100%;
    max-width: min(960px, 100%);
    min-height: min(60vh, 480px);
    max-height: min(78vh, 720px);
    border: 0;
    border-radius: 10px;
    background: #000;
    display: block;
    margin: 0 auto;
}

.pd-showcase__embed-shell {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: min(440px, 52vh);
    background: #0f172a;
    border-radius: 10px;
    overflow: hidden;
}

.pd-showcase__embed {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pd-location-map {
    margin-bottom: 1.25rem;
}

.pd-location-map__frame-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    max-height: 360px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background: #f1f5f9;
}

.pd-location-map__frame {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.pd-location-map__hint {
    font-size: 13px;
    margin-top: 0;
}

.pd-location-map__open {
    margin: 10px 0 0;
}

.pd-inspection__disclaimer {
    font-size: 14px;
    line-height: 1.55;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 16px;
}

.pd-inspection__check {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
    cursor: pointer;
}

.pd-inspection__check input {
    margin-top: 4px;
    flex-shrink: 0;
}

.pd-aside-chat {
    margin-top: 14px;
}

.pd-aside-chat__log {
    max-height: min(280px, 40vh);
    overflow-y: auto;
    margin-bottom: 10px;
}

@media (max-width: 900px) {
    .pm-detail-mock-grid.pd-detail-grid {
        grid-template-columns: 1fr;
    }
}

.lp-form--crossbrowser input[type="text"],
.lp-form--crossbrowser input[type="number"],
.lp-form--crossbrowser input[type="tel"],
.lp-form--crossbrowser input[type="email"],
.lp-form--crossbrowser input[type="date"],
.lp-form--crossbrowser select,
.lp-form--crossbrowser textarea {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-height: 44px;
    font: inherit;
    line-height: 1.35;
}

.lp-form--crossbrowser textarea {
    min-height: 88px;
    resize: vertical;
}

.lp-form--crossbrowser select {
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 2px), calc(100% - 12px) calc(50% - 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    padding-right: 32px;
}

.lp-form--crossbrowser fieldset {
    border: 0;
    padding: 0;
    margin: 0;
    min-width: 0;
}

.lp-form--crossbrowser .lp-radio input,
.lp-form--crossbrowser .lp-check input {
    min-height: auto;
    width: auto;
}

.pd-lightbox__nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 14px;
}

.pd-lightbox__prev,
.pd-lightbox__next {
    min-width: 48px;
    min-height: 48px;
    border-radius: 10px;
    border: 1px solid #475569;
    background: #1e293b;
    color: #f8fafc;
    font-size: 22px;
    cursor: pointer;
}

.pd-authority-docs {
    margin-bottom: 1.25rem;
}

.pd-authority-docs__lede {
    font-size: 14px;
    margin-top: 0;
}

.pd-authority-docs__list {
    margin: 0.5rem 0 0;
    padding-left: 1.2rem;
    font-size: 14px;
}

.property-chat-msg__att {
    margin-top: 8px;
}

.property-chat-msg__att img {
    max-width: min(100%, 360px);
    max-height: 240px;
    border-radius: 8px;
    object-fit: cover;
}

.property-chat-msg__att video {
    max-width: min(100%, 420px);
    max-height: 240px;
    border-radius: 8px;
    background: #000;
}

.property-chat-msg__file {
    font-size: 14px;
    font-weight: 600;
}

.lp-page--pro .lp-page-head--pro {
    padding-bottom: 8px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 1.25rem;
}

.lp-standards-callout {
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.35rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.lp-standards-callout__title {
    margin: 0 0 0.65rem;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.lp-standards-callout__list {
    margin: 0;
    padding-left: 1.2rem;
    font-size: 13px;
    line-height: 1.55;
    color: #475569;
}

.lp-form--pro .lp-section {
    background: #fff;
    border: 1px solid #e8ecf1;
    border-radius: 14px;
    padding: 1.35rem 1.5rem 1.5rem;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lp-progress--pro {
    gap: 10px;
    margin-bottom: 1.5rem;
}

.lp-dropzone--pro {
    border-radius: 12px;
    border-style: dashed;
    border-color: #cbd5e1;
    background: #fafbfc;
}

.lp-dropzone--video {
    margin-top: 1rem;
}

.lp-field input[type="text"],
.lp-field input[type="number"],
.lp-field input[type="tel"],
.lp-field input[type="email"],
.lp-field select,
.lp-field textarea {
    border-radius: 10px;
    border-color: #d1d5db;
}

.pd-tabs {
    margin-bottom: 24px;
}

.pd-tabs__bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 0;
}

.pd-tabs__btn {
    padding: 10px 16px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s ease, color 0.15s ease;
}

.pd-tabs__btn:hover {
    color: #0f172a;
    background: #f1f5f9;
}

.pd-tabs__btn.is-active {
    background: #eff6ff;
    color: #1d4ed8;
}

.pd-tabs__pill {
    margin-left: auto;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.pd-tabs__panel {
    display: none;
    padding-top: 20px;
}

.pd-tabs__panel.is-active {
    display: block;
}

.pd-detail-body-inner {
    border: none;
    box-shadow: none;
    padding: 0;
    background: transparent;
}

.pd-section-title {
    margin: 0 0 4px;
    font-size: 1.25rem;
    font-weight: 800;
    color: #0f172a;
}

.pd-section-loc {
    margin: 0 0 16px;
    font-size: 14px;
    color: #64748b;
}

.pd-detail-desc {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #334155;
}

.pd-specs {
    width: 100%;
    max-width: 520px;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 8px;
}

.pd-specs th,
.pd-specs td {
    padding: 10px 12px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

.pd-specs th {
    width: 42%;
    color: #64748b;
    font-weight: 600;
}

.pd-specs td {
    color: #0f172a;
}

.pd-specs__features {
    line-height: 1.45;
}

.pd-reviews-placeholder {
    max-width: 560px;
    font-size: 15px;
    line-height: 1.55;
    color: #475569;
}

.pd-similar {
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid #e2e8f0;
}

.pd-similar__title {
    margin: 0 0 16px;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
}

.pd-similar__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.pd-similar-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.pd-similar-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.pd-similar-card__img-wrap {
    display: block;
    aspect-ratio: 4 / 3;
    background: #e2e8f0;
    overflow: hidden;
}

.pd-similar-card__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pd-similar-card__img-wrap--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: #94a3b8;
}

.pd-similar-card__price {
    padding: 10px 12px 4px;
    font-size: 15px;
    font-weight: 800;
    color: #1d4ed8;
}

.pd-similar-card__per {
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}

.pd-similar-card__title {
    padding: 0 12px 4px;
    font-size: 14px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.pd-similar-card__loc {
    padding: 0 12px 12px;
    font-size: 12px;
    color: #64748b;
}

.pd-similar-card__badge {
    display: block;
    padding: 0 12px 4px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #991b1b;
}

.pd-similar-card__price--struck {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    color: #64748b;
}

.pd-similar-card__title--struck {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    color: #4b5563;
}

.pd-detail-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--site-header-offset) + 16px);
    align-self: start;
}

.pd-deal-card,
.pd-agent-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 18px 18px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.pd-deal-card__price {
    margin: 0 0 10px;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
}

.pd-deal-card__off-badge {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
    color: #7f1d1d;
    font-weight: 600;
}

.pd-deal-card__price--struck {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    color: #64748b;
}

.pd-listing-unavailable {
    border-color: #fecaca;
    background: #fffafa;
}

.pd-deal-card__per {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.pd-deal-card__verified {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 700;
    color: #047857;
    display: flex;
    align-items: center;
    gap: 6px;
}

.pd-deal-card__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-size: 12px;
}

.pd-deal-card__pending {
    margin: 0 0 12px;
    font-size: 13px;
    font-weight: 600;
    color: #b45309;
}

.pd-deal-card__lead {
    margin: 0 0 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #475569;
}

.pd-deal-card__bullets {
    margin: 0 0 18px;
    padding-left: 0;
    list-style: none;
    font-size: 13px;
    line-height: 1.5;
    color: #334155;
}

.pd-deal-card__bullets li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.pd-deal-card__bullets li span {
    color: #10b981;
    flex-shrink: 0;
    margin-top: 2px;
}

.pd-deal-card__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    background: #2563eb;
    color: #fff !important;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: filter 0.15s ease, transform 0.1s ease;
    box-sizing: border-box;
}

.pd-deal-card__cta:hover {
    filter: brightness(1.06);
}

.pd-deal-card__cta--secondary {
    background: #f1f5f9;
    color: #0f172a !important;
}

.pd-deal-card__cta--secondary:hover {
    filter: none;
    background: #e2e8f0;
}

.pd-deal-card__cta--disabled {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    background: #e2e8f0;
    color: #64748b;
    font-size: 15px;
    font-weight: 700;
    cursor: not-allowed;
}

.pd-deal-card__cta-lock {
    flex-shrink: 0;
}

.pd-agent-card__avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.pd-agent-card__label {
    margin: 0;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #94a3b8;
}

.pd-agent-card__name {
    margin: 4px 0 8px;
    font-size: 17px;
    font-weight: 800;
    color: #0f172a;
}

.pd-agent-card__phone {
    margin: 0 0 14px;
    font-size: 14px;
}

.pd-agent-card__phone a {
    color: #2563eb;
    font-weight: 600;
}

.pd-agent-card__phone--muted {
    color: #94a3b8;
    font-size: 13px;
}

.pd-agent-card__contact-hint {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 6px;
    font-size: 13px;
    color: #475569;
    font-family: 'Courier New', Courier, monospace;
    letter-spacing: 0.01em;
}

.pd-agent-card__chat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    background: #059669;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: filter 0.15s ease;
}

.pd-agent-card__chat:hover {
    filter: brightness(1.05);
}

.pd-agent-card__chat--disabled {
    background: #e2e8f0;
    color: #64748b !important;
    cursor: default;
    pointer-events: none;
}

.pd-ask-strip {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    border-radius: 10px;
    background: #1d4ed8;
    color: #fff !important;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: filter 0.15s ease;
}

.pd-ask-strip:hover {
    filter: brightness(1.08);
}

.pd-ask-strip__chev {
    margin-left: auto;
    font-size: 18px;
    opacity: 0.9;
    flex-shrink: 0;
    align-self: center;
}

.pd-ask-strip__main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.pd-ask-strip__text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    text-align: left;
}

.pd-ask-strip__title {
    line-height: 1.3;
}

.pd-ask-strip__sub {
    font-size: 11px;
    font-weight: 600;
    opacity: 0.9;
    line-height: 1.35;
}

/* —— Password reveal toggle — global, works on every page —— */
.password-input-wrapper {
    position: relative;
    display: block;
    width: 100%;
}

.password-input-wrapper .field-input,
.password-input-wrapper input[type="password"],
.password-input-wrapper input[type="text"] {
    padding-right: 44px !important;
    width: 100%;
    box-sizing: border-box;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--muted, #64748b);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease;
    z-index: 2;
    line-height: 1;
}

.password-toggle:hover {
    color: var(--text, #0f172a);
}

.password-toggle:focus {
    outline: none;
}

.password-toggle:focus-visible {
    outline: 2px solid var(--primary, #2563eb);
    border-radius: 4px;
    outline-offset: 2px;
}

.password-toggle-icon {
    width: 18px;
    height: 18px;
    display: block;
    pointer-events: none;
}

/* —— Mobile sticky action bar (property detail) ——
   Hidden on desktop; fixed to the bottom of the viewport on phones.
*/
.pd-mob-bar {
    display: none; /* hidden by default; shown via mobile media query below */
}

/* Full marketplace-style escrow sidebar on demo property detail (nested inside sticky aside) */
.pd-detail-aside .pd-detail-trust-demo {
    margin-top: 4px;
}

.pd-detail-aside .pd-detail-trust-demo .pm-trust-sidebar__sticky {
    position: relative;
    top: auto;
}

@media (max-width: 900px) {
    .pd-detail-aside {
        position: relative;
        top: auto;
    }

    .pd-similar__row {
        grid-template-columns: 1fr;
    }
}

/* Tablet-only: stack listing-type pill (avoid breaking horizontal tab scroll on phones) */
@media (max-width: 900px) and (min-width: 641px) {
    .pd-tabs__bar {
        flex-wrap: wrap;
    }

    .pd-tabs__pill {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: 4px;
    }
}

/* —— List property form (dashboard) —— */
.lp-page {
    max-width: 1200px;
}

.lp-page-head {
    margin-bottom: 20px;
}

.lp-page-head__crumb {
    margin: 0 0 6px;
    font-size: 12px;
    color: #64748b;
}

.lp-page-head__title {
    margin: 0 0 8px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #0f172a;
}

.lp-page-head__sub {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    max-width: 720px;
}

.lp-progress {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 22px;
    padding: 10px 12px;
    background: #f1f5f9;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.lp-progress__step {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: #64748b;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    font-family: inherit;
}

.lp-progress__step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #475569;
    font-size: 11px;
}

.lp-progress__step.is-active {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}

.lp-progress__step.is-active span {
    background: #1d4ed8;
    color: #fff;
}

.lp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
    gap: 28px;
    align-items: start;
}

.lp-form-col {
    min-width: 0;
}

.lp-section {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px 20px 22px;
    margin-bottom: 18px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.lp-section--submit {
    border-color: #c7d2fe;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
}

.lp-section__title {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.lp-section__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #1d4ed8;
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.lp-subhead {
    margin: 20px 0 12px;
    font-size: 14px;
    font-weight: 800;
    color: #334155;
}

.lp-field {
    margin-bottom: 14px;
}

.lp-field--grow {
    flex: 1 1 200px;
}

.lp-field--inline {
    border: none;
    padding: 0;
    margin-bottom: 14px;
}

.lp-field--inline legend {
    font-weight: 700;
    font-size: 13px;
    color: #334155;
    margin-bottom: 8px;
}

.lp-field label,
.lp-field .field-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: 600;
    color: #334155;
}

.lp-field input[type="text"],
.lp-field input[type="number"],
.lp-field input[type="tel"],
.lp-field input[type="email"],
.lp-field select,
.lp-field textarea {
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    box-sizing: border-box;
}

.lp-field textarea {
    resize: vertical;
    min-height: 100px;
}

.lp-field-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.lp-field-row .lp-field {
    flex: 1 1 180px;
    margin-bottom: 14px;
}

.lp-field-row--4 .lp-field {
    flex: 1 1 100px;
}

.lp-radio {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 16px;
    font-size: 14px;
    cursor: pointer;
}

.lp-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    cursor: pointer;
    line-height: 1.4;
}

.lp-check-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}

.lp-req {
    color: #dc2626;
}

.lp-muted {
    color: #94a3b8;
    font-weight: 500;
}

.lp-hint {
    margin: 0 0 12px;
    font-size: 13px;
    color: #64748b;
    line-height: 1.45;
}

.lp-pill {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #ecfdf5;
    color: #047857;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lp-dropzone {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 24px 16px;
    margin-bottom: 14px;
    background: #f8fafc;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.lp-dropzone.is-dragover {
    border-color: #2563eb;
    background: #eff6ff;
}

.lp-dropzone__input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

.lp-dropzone__label {
    display: block;
    text-align: center;
    pointer-events: none;
    font-size: 14px;
    color: #475569;
    line-height: 1.5;
}

.lp-file-list {
    margin: 12px 0 0;
    padding-left: 1.2rem;
    font-size: 13px;
    color: #64748b;
}

.lp-trust-banner {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 10px;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    font-size: 13px;
    color: #1e3a8a;
    line-height: 1.45;
}

.lp-trust-banner--prominent {
    margin-top: 0;
    margin-bottom: 10px;
    padding: 14px 16px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #6ee7b7;
    color: #064e3b;
    font-size: 14px;
}

.lp-submit-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

.lp-btn {
    padding: 12px 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.lp-btn--draft {
    background: #f1f5f9;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.lp-btn--draft:hover {
    background: #e2e8f0;
}

.lp-btn--publish {
    background: #2563eb;
    color: #fff;
}

.lp-btn--publish:hover {
    filter: brightness(1.06);
}

.lp-save-hint {
    margin: 10px 0 0;
    font-size: 12px;
    color: #64748b;
}

.lp-preview-col {
    min-width: 0;
}

.lp-preview-sticky {
    position: sticky;
    top: calc(var(--site-header-offset, 56px) + 16px);
}

.lp-preview-label {
    margin: 0 0 10px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #94a3b8;
}

.lp-preview-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    margin-bottom: 16px;
}

.lp-preview-card__img {
    aspect-ratio: 4 / 3;
    background: linear-gradient(145deg, #e2e8f0, #f1f5f9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 13px;
}

.lp-preview-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lp-preview-card__body {
    padding: 14px 14px 16px;
}

.lp-preview-card__pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: #ecfdf5;
    color: #047857;
    margin-bottom: 8px;
}

.lp-preview-card__title {
    margin: 0 0 6px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.3;
}

.lp-preview-card__loc {
    margin: 0 0 10px;
    font-size: 12px;
    color: #64748b;
}

.lp-preview-card__price {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1d4ed8;
}

.lp-preview-trust {
    background: #fff;
    border: 1px solid #d1fae5;
    border-radius: 12px;
    padding: 16px;
}

.lp-preview-trust__tag {
    margin: 0 0 8px;
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #059669;
}

.lp-preview-trust__title {
    margin: 0 0 10px;
    font-size: 14px;
    font-weight: 800;
    color: #0f172a;
}

.lp-preview-trust__list {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 13px;
    color: #475569;
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .lp-grid {
        grid-template-columns: 1fr;
    }

    .lp-preview-sticky {
        position: relative;
        top: auto;
    }
}

/* —— Property marketplace, listing detail, list-property form: mobile & touch —— */
@media (max-width: 640px) {
    .pm-browse-grid {
        gap: 16px;
    }

    .pm-browse-root {
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: max(20px, env(safe-area-inset-right, 0px));
        padding-bottom: max(28px, env(safe-area-inset-bottom, 0px));
    }

    .pm-mock-hero__title {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    }

    .pm-mock-hero__subtitle {
        font-size: 15px;
        padding: 0 4px;
    }

    .pm-mock-hero__links {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        gap: 8px 12px;
        max-width: 100%;
    }

    .pm-mock-hero__dot {
        display: none;
    }

    .pm-demo-banner--hero {
        font-size: 12px;
        line-height: 1.45;
        padding: 10px 12px;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        box-sizing: border-box;
    }

    .pm-search-strip__submit {
        min-height: 44px;
    }

    .pm-search-strip__input,
    .pm-search-strip__select {
        font-size: 16px;
    }

    .pm-search-strip__field {
        min-height: 48px;
        box-sizing: border-box;
    }

    .pm-browse--mock .pm-feed-head--mock {
        padding-left: 0;
        padding-right: 0;
    }

    .pm-browse--mock .pm-feed-head--mock .pm-feed-head__title {
        font-size: 1.05rem;
        line-height: 1.25;
    }

    .pm-browse--mock .pm-feed-head--mock .pm-feed-head__meta {
        font-size: 13px;
        line-height: 1.5;
    }

    .pm-detail-mock-root {
        padding-left: max(20px, env(safe-area-inset-left, 0px));
        padding-right: max(20px, env(safe-area-inset-right, 0px));
        padding-bottom: max(32px, env(safe-area-inset-bottom, 0px));
    }

    .pm-card--mock .pm-card__body {
        padding: 12px 14px 14px;
    }

    .pm-card__cta--mock {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100%;
        min-height: 44px;
        box-sizing: border-box;
    }

    .pm-feed--mock.pm-feed--grid {
        gap: 16px;
        padding-bottom: 24px;
    }

    .pd-breadcrumb {
        font-size: 12px;
        line-height: 1.45;
    }

    .pd-gallery__img {
        max-height: min(320px, 56vh);
    }

    .pd-gallery__nav {
        width: 44px;
        height: 44px;
        min-width: 44px;
        min-height: 44px;
        font-size: 20px;
        touch-action: manipulation;
    }

    .pd-gallery__nav--prev {
        left: 6px;
    }

    .pd-gallery__nav--next {
        right: 6px;
    }

    .pd-gallery__thumbs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 8px;
        padding: 10px 12px;
        scroll-snap-type: x proximity;
    }

    .pd-gallery__thumb {
        flex: 0 0 auto;
        width: 72px;
        max-width: none;
        scroll-snap-align: start;
    }

    .pd-gallery__thumb img {
        height: 54px;
    }

    .pd-tabs__bar {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding-bottom: 8px;
        margin-left: -2px;
        margin-right: -2px;
        padding-left: 2px;
        padding-right: 2px;
        scrollbar-width: thin;
    }

    .pd-tabs__btn {
        flex-shrink: 0;
        padding: 10px 14px;
        min-height: 44px;
    }

    .pd-tabs__pill {
        flex-shrink: 0;
        align-self: center;
    }

    .pd-section-title {
        font-size: 1.15rem;
    }

    .pd-specs {
        font-size: 13px;
    }

    .pd-specs th,
    .pd-specs td {
        padding: 8px 10px;
    }

    .pd-deal-card__cta,
    .pd-agent-card__chat,
    .pd-ask-strip {
        min-height: 48px;
        box-sizing: border-box;
    }

    .pd-ask-strip {
        padding: 14px;
    }

    /* ── Sidebar aside: compact on mobile ── */
    .pd-detail-aside {
        gap: 12px;
    }

    /* Deal card: hide verbose text to keep it compact */
    .pd-deal-card {
        padding: 16px 14px 14px;
    }

    .pd-deal-card__lead,
    .pd-deal-card__bullets {
        display: none;
    }

    .pd-deal-card__price {
        font-size: 1.3rem;
        margin-bottom: 8px;
    }

    /* Agent card: compact avatar and reduced spacing */
    .pd-agent-card {
        padding: 14px 12px;
    }

    .pd-agent-card__avatar {
        width: 40px;
        height: 40px;
        font-size: 14px;
        margin-bottom: 8px;
    }

    .pd-agent-card__name {
        font-size: 15px;
        margin-bottom: 6px;
    }

    /* Chat panel: better height for mobile */
    .pd-aside-chat {
        margin-top: 0;
    }

    .pd-aside-chat__log {
        max-height: min(240px, 35vh);
    }

    /* Ask strip: slightly smaller on very narrow screens */
    .pd-ask-strip__title {
        font-size: 13px;
    }

    /* ── Sticky mobile action bar ── */
    .pd-mob-bar {
        display: flex;
        align-items: stretch;
        gap: 8px;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 160;
        padding: 8px max(10px, env(safe-area-inset-right, 0px)) max(12px, env(safe-area-inset-bottom, 0px)) max(10px, env(safe-area-inset-left, 0px));
        background: #fff;
        border-top: 1px solid #e2e8f0;
        box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
    }

    .pd-mob-bar__btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 5px;
        flex: 1 1 0;
        min-width: 0;
        min-height: 42px;
        padding: 7px 8px;
        border-radius: 9px;
        font: inherit;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.25;
        text-decoration: none;
        text-align: center;
        border: none;
        cursor: pointer;
        box-sizing: border-box;
        transition: filter 0.15s ease;
        white-space: normal;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    /* Hide icon on very narrow screens to maximise text space */
    @media (max-width: 380px) {
        .pd-mob-bar__btn svg {
            display: none;
        }
    }

    .pd-mob-bar__btn--chat {
        background: #059669;
        color: #fff;
    }

    .pd-mob-bar__btn--chat:hover {
        filter: brightness(1.06);
        color: #fff;
    }

    .pd-mob-bar__btn--deal {
        background: #2563eb;
        color: #fff;
    }

    .pd-mob-bar__btn--deal:hover {
        filter: brightness(1.06);
        color: #fff;
    }

    .pd-mob-bar__btn--secondary {
        background: #f1f5f9;
        color: #0f172a;
    }

    .pd-mob-bar__btn--disabled {
        background: #e2e8f0;
        color: #94a3b8;
        cursor: not-allowed;
        pointer-events: none;
    }

    /* Add bottom padding to the page content so sticky bar doesn't cover the aside */
    .pm-detail-mock-root {
        padding-bottom: max(80px, calc(env(safe-area-inset-bottom, 0px) + 72px));
    }

    .pm-detail--mock .field-input,
    .pm-detail--mock .property-detail__escrow-form input[type="number"],
    .pm-detail--mock .property-chat-compose textarea {
        font-size: 16px;
    }

    .lp-page {
        max-width: 100%;
    }

    .lp-progress {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 6px;
        padding: 8px 10px;
        scrollbar-width: thin;
    }

    .lp-progress__step {
        flex-shrink: 0;
        min-height: 44px;
    }

    .lp-section {
        padding: 16px 14px 18px;
        margin-bottom: 14px;
    }

    .lp-field input[type="text"],
    .lp-field input[type="number"],
    .lp-field input[type="tel"],
    .lp-field input[type="email"],
    .lp-field select,
    .lp-field textarea {
        font-size: 16px;
    }

    .lp-submit-row {
        flex-direction: column;
    }

    .lp-btn {
        width: 100%;
        min-height: 48px;
    }

    .lp-check-grid {
        grid-template-columns: 1fr;
    }

    .lp-preview-card__body {
        padding: 12px;
    }
}

@media (max-width: 400px) {
    .pd-detail-header__title {
        font-size: 1.3rem;
    }

    .pd-deal-card {
        padding: 16px 14px;
    }

    .pd-deal-card__price {
        font-size: 1.2rem;
    }

    .pm-feed--mock.pm-feed--grid {
        gap: 12px;
    }

    .pm-card--mock .pm-card__title {
        font-size: 0.95rem;
    }
}

/* =============================================================================
   Marketing homepage (AfripayHome-style shell + sections)
   ============================================================================= */
.mh-body {
    margin: 0;
    min-height: 100vh;
    background: #f9fafb;
    color: #111827;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

.mh-main {
    overflow-x: clip;
}

/* —— Header —— */
.mh-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.mh-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 0;
    min-height: 56px;
}

.mh-brand {
    font-size: 1.25rem;
    font-weight: 800;
    color: #1d4ed8;
    text-decoration: none;
    letter-spacing: -0.02em;
}

.mh-brand:hover {
    color: #1e40af;
}

.mh-nav {
    display: none;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
}

.mh-nav__link {
    text-decoration: none;
    color: #374151;
}

.mh-nav__link:hover {
    color: #1d4ed8;
}

.mh-header__actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.mh-btn-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    padding: 8px 4px;
}

.mh-btn-text:hover {
    color: #1d4ed8;
}

.mh-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: #2563eb;
    text-decoration: none;
    border: none;
    cursor: pointer;
    white-space: nowrap;
}

.mh-btn-primary:hover {
    background: #1d4ed8;
    color: #fff;
}

.mh-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 10px;
    background: #f3f4f6;
    color: #111827;
    cursor: pointer;
}

.mh-menu-toggle__bars {
    display: block;
    width: 20px;
    height: 14px;
    border-top: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    position: relative;
}

.mh-menu-toggle__bars::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    margin-top: -1px;
    border-top: 2px solid currentColor;
}

.mh-drawer {
    border-top: 1px solid #e5e7eb;
    background: #fff;
    padding: 12px 0 16px;
}

.mh-drawer__nav {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-width: none;
    width: 100%;
    margin: 0 auto;
    padding: 0 max(20px, env(safe-area-inset-left, 0px)) 0 max(20px, env(safe-area-inset-right, 0px));
    box-sizing: border-box;
}

.mh-drawer__link,
.mh-drawer__cta {
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #374151;
}

.mh-drawer__link:hover {
    background: #f3f4f6;
}

.mh-drawer__cta {
    margin-top: 8px;
    text-align: center;
    background: #2563eb;
    color: #fff;
    font-weight: 600;
}

.mh-drawer__cta:hover {
    background: #1d4ed8;
    color: #fff;
}

@media (min-width: 768px) {
    .mh-nav,
    .mh-header__actions {
        display: flex;
    }

    .mh-menu-toggle {
        display: none;
    }

    .mh-drawer {
        display: none !important;
    }
}

/* —— Hero (no inline form — professional split + glass panel) —— */
.mh-hero {
    background: linear-gradient(118deg, #0f172a 0%, #1e3a8a 42%, #1d4ed8 100%);
    color: #fff;
    padding: clamp(44px, 9vw, 88px) 0 clamp(52px, 10vw, 96px);
    position: relative;
    overflow: hidden;
}

.mh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 20%, rgba(56, 189, 248, 0.12) 0%, transparent 55%);
    pointer-events: none;
}

.mh-hero .container {
    position: relative;
    z-index: 1;
}

.mh-hero__grid {
    display: grid;
    gap: clamp(32px, 6vw, 56px);
    align-items: center;
}

@media (min-width: 900px) {
    .mh-hero__grid {
        grid-template-columns: 1.15fr minmax(300px, 400px);
    }
}

.mh-hero__eyebrow {
    margin: 0 0 12px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(191, 219, 254, 0.9);
}

.mh-hero__title {
    margin: 0;
    font-size: clamp(1.9rem, 4.5vw, 2.65rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    max-width: 17ch;
}

@media (min-width: 900px) {
    .mh-hero__title {
        max-width: none;
    }
}

.mh-hero__lede {
    margin: 1.15rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(226, 232, 240, 0.92);
    max-width: 38rem;
}

.mh-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 12px;
    margin-top: 1.65rem;
}

.mh-hero__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
    border: 1px solid transparent;
}

.mh-hero__btn:hover {
    transform: translateY(-1px);
}

.mh-hero__btn--primary {
    background: #0d9488;
    color: #f0fdfa;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.35);
}

.mh-hero__btn--primary:hover {
    background: #0f766e;
    color: #fff;
    box-shadow: 0 6px 28px rgba(13, 148, 136, 0.4);
}

.mh-hero__btn--secondary {
    background: #fff;
    color: #1e40af;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
}

.mh-hero__btn--secondary:hover {
    background: #f8fafc;
    color: #1e3a8a;
}

.mh-hero__btn--ghost {
    background: transparent;
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.35);
}

.mh-hero__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.mh-hero__micro {
    margin: 1.1rem 0 0;
    font-size: 0.875rem;
    color: rgba(148, 163, 184, 0.95);
}

.mh-hero__micro a {
    color: #7dd3fc;
    font-weight: 600;
    text-decoration: none;
}

.mh-hero__micro a:hover {
    text-decoration: underline;
    color: #bae6fd;
}

.mh-hero__aside {
    margin: 0;
}

.mh-hero__panel {
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 26px 24px 24px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.25);
}

.mh-hero__panel-label {
    margin: 0 0 16px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(148, 163, 184, 0.95);
}

.mh-hero__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px 20px;
    margin: 0;
}

.mh-hero__stat {
    margin: 0;
}

.mh-hero__stat-label {
    margin: 0 0 4px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(148, 163, 184, 0.95);
    line-height: 1.3;
}

.mh-hero__stat-value {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
    line-height: 1.15;
}

.mh-hero__divider {
    height: 1px;
    margin: 22px 0 18px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.18), transparent);
}

.mh-hero__panel-sub {
    margin: 0 0 14px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #cbd5e1;
}

.mh-hero__pipeline {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mh-hero__pipeline-step {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    align-items: start;
    position: relative;
    padding-bottom: 14px;
}

.mh-hero__pipeline-step:last-child {
    padding-bottom: 0;
}

.mh-hero__pipeline-step:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 16px;
    bottom: 2px;
    width: 2px;
    background: linear-gradient(180deg, rgba(45, 212, 191, 0.55), rgba(56, 189, 248, 0.25));
    border-radius: 1px;
}

.mh-hero__pipeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 3px;
    flex-shrink: 0;
    background: linear-gradient(145deg, #2dd4bf, #0d9488);
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.25);
    position: relative;
    z-index: 1;
}

.mh-hero__pipeline-text {
    font-size: 0.875rem;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.4;
    padding-top: 1px;
}

.mh-hero__panel-foot {
    margin: 20px 0 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
    line-height: 1.5;
    color: rgba(148, 163, 184, 0.9);
}

/* —— Trust strip —— */
.mh-trust-strip {
    background: #fff;
    padding: clamp(32px, 5vw, 42px) 0;
    text-align: center;
    border-bottom: 1px solid #e5e7eb;
}

.mh-trust-strip__title {
    margin: 0;
    font-size: clamp(1.1rem, 2.2vw, 1.35rem);
    font-weight: 700;
    color: #111827;
}

.mh-trust-strip__ico {
    margin-right: 6px;
}

.mh-trust-strip__checks {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 28px;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    color: #6b7280;
}

.mh-trust-strip__checks li::before {
    content: "✔ ";
    color: #16a34a;
    font-weight: 700;
}

/* —— Marketplace block —— */
.mh-marketplace {
    padding: clamp(48px, 7vw, 72px) 0;
}

.mh-marketplace__head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 20px;
    margin-bottom: 8px;
}

.mh-marketplace__head-text h2 {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 2.8vw, 1.65rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.mh-marketplace__emoji {
    margin-right: 6px;
}

.mh-marketplace__sub {
    margin: 0;
    font-size: 0.9375rem;
    color: #6b7280;
}

.mh-marketplace__all {
    font-size: 0.875rem;
    font-weight: 600;
    color: #2563eb;
    text-decoration: none;
    white-space: nowrap;
}

.mh-marketplace__all:hover {
    text-decoration: underline;
}

.mh-marketplace__scroller {
    margin-top: 20px;
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px)));
    padding-left: max(20px, env(safe-area-inset-left, 0px));
    padding-right: max(20px, env(safe-area-inset-right, 0px));
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.mh-marketplace__track {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 4px 0 12px;
    width: max-content;
    min-width: 100%;
}

.mh-marketplace__track > li {
    flex: 0 0 min(300px, 85vw);
    max-width: min(300px, 85vw);
    scroll-snap-align: start;
}

.mh-marketplace__card-cta {
    text-align: center;
}

@media (min-width: 768px) {
    .mh-marketplace__scroller {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
        scroll-snap-type: none;
    }

    .mh-marketplace__track {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: auto;
        min-width: 0;
        gap: 24px;
    }

    .mh-marketplace__track > li {
        flex: none;
        max-width: none;
        min-width: 0;
    }
}

/* —— Flow steps —— */
.mh-flow-section {
    background: #f3f4f6;
    padding: clamp(48px, 7vw, 72px) 0;
    text-align: center;
}

.mh-flow-section__title {
    margin: 0 auto 2rem;
    max-width: 40rem;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 800;
    color: #111827;
    letter-spacing: -0.02em;
}

.mh-flow-grid {
    display: grid;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    text-align: center;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}

@media (min-width: 768px) {
    .mh-flow-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 14px;
        font-size: 0.875rem;
    }
}

.mh-flow-grid__cell {
    background: #fff;
    padding: 16px 12px;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

/* —— Account cards —— */
.mh-accounts {
    padding: clamp(48px, 7vw, 72px) 0;
}

.mh-accounts__title {
    margin: 0 0 2.5rem;
    text-align: center;
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 800;
    color: #111827;
}

.mh-accounts__grid {
    display: grid;
    gap: 22px;
    max-width: 56rem;
    margin: 0 auto;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .mh-accounts__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mh-account-card {
    background: #fff;
    padding: 26px 24px;
    border-radius: 14px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.mh-account-card__title {
    margin: 0 0 10px;
    font-size: 1.15rem;
    font-weight: 800;
    color: #111827;
}

.mh-account-card__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
    color: #6b7280;
}

.mh-account-card__list li {
    margin-bottom: 6px;
    padding-left: 0;
}

.mh-account-card__list li::before {
    content: "✔ ";
    color: #16a34a;
    font-weight: 700;
}

.mh-account-card__btn {
    display: inline-block;
    margin-top: 18px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 700;
    text-decoration: none;
    color: #fff;
}

.mh-account-card__btn--blue {
    background: #2563eb;
}

.mh-account-card__btn--blue:hover {
    background: #1d4ed8;
    color: #fff;
}

.mh-account-card__btn--green {
    background: #16a34a;
}

.mh-account-card__btn--green:hover {
    background: #15803d;
    color: #fff;
}

/* —— Final CTA —— */
.mh-final-cta {
    background: linear-gradient(180deg, #1d4ed8 0%, #1e40af 100%);
    color: #fff;
    padding: clamp(48px, 8vw, 72px) 0;
    text-align: center;
}

.mh-final-cta__title {
    margin: 0;
    font-size: clamp(1.35rem, 2.8vw, 1.85rem);
    font-weight: 800;
}

.mh-final-cta__sub {
    margin: 12px auto 0;
    max-width: 28rem;
    font-size: 1rem;
    color: rgba(219, 234, 254, 0.95);
    line-height: 1.5;
}

.mh-final-cta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #052e16;
    background: #22c55e;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.mh-final-cta__btn:hover {
    filter: brightness(1.08);
    color: #052e16;
}

.mh-final-cta__ico {
    line-height: 1;
}

/* —— Footer —— */
.mh-footer {
    background: #111827;
    color: #9ca3af;
    padding: 48px 0 24px;
    font-size: 0.875rem;
}

.mh-footer__grid {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr;
}

@media (min-width: 640px) {
    .mh-footer__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 900px) {
    .mh-footer__grid {
        grid-template-columns: 1.2fr repeat(3, 1fr);
    }
}

.mh-footer__brand {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
}

.mh-footer__text {
    margin: 0;
    line-height: 1.5;
    max-width: 16rem;
}

.mh-footer__heading {
    margin: 0 0 12px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.mh-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.mh-footer__list li {
    margin-bottom: 8px;
}

.mh-footer__list a {
    color: #9ca3af;
    text-decoration: none;
}

.mh-footer__list a:hover {
    color: #e5e7eb;
}

.mh-footer__bottom {
    margin-top: 40px;
    padding-top: 24px;
    border-top: 1px solid #374151;
    text-align: center;
}

.mh-footer__copy {
    margin: 0;
    font-size: 0.75rem;
    color: #6b7280;
}

/* =============================================================================
   Marketing homepage — full-width fluid layout (React/Tailwind-inspired)
   ============================================================================= */
.mh-body--fluid {
    background: #020617;
    color: #e2e8f0;
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 15px;
    line-height: 1.5;
}

/* layout.php public pages: match homepage outer frame; keep main content readable */
body.mh-body--public-shell main.page-shell {
    background: #f8fafc;
    color: #111827;
}

.mhfx-main {
    overflow-x: clip;
}

/* Marketing fluid sections: full-width band; horizontal gutters scale on large screens */
.mhfx-container {
    width: 100%;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px), 3vw);
    padding-right: max(20px, env(safe-area-inset-right, 0px), 3vw);
    box-sizing: border-box;
}

/* —— Hero —— (user dashboard sidebar background) */
.mhfx-hero {
    width: 100%;
    background: var(--dash-sidebar-bg, #060f2b);
    border-bottom: 1px solid var(--dash-sidebar-border, #142140);
    color: #c8d7f5;
    padding: clamp(56px, 10vw, 96px) 0 clamp(64px, 11vw, 112px);
    position: relative;
    overflow: hidden;
}

/* Allow laptop float + phone overlap when React hero is mounted */
.mhfx-hero:has(#hero-animation-root) {
    overflow: visible;
}

.mhfx-hero__grid {
    display: grid;
    gap: clamp(28px, 5vw, 48px);
    align-items: center;
}

@media (min-width: 768px) {
    .mhfx-hero__grid {
        grid-template-columns: 1fr 1fr;
    }
}

.mhfx-hero__subtitle {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #86efac;
}

.mhfx-hero__title {
    margin: 0;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #f8fafc;
    max-width: 20ch;
}

@media (min-width: 768px) {
    .mhfx-hero__title {
        max-width: none;
    }
}

.mhfx-hero__lede {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #94a3b8;
    max-width: 36rem;
}

.mhfx-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-top: 1.5rem;
}

.mhfx-hero__trust-icons {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}

.mhfx-hero__trust-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(148, 163, 184, 0.1);
    border: 1px solid rgba(148, 163, 184, 0.2);
    color: #86efac;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.08);
}

.mhfx-hero__trust-ico svg {
    display: block;
    width: 22px;
    height: 22px;
}

.mhfx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 12px;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.mhfx-btn:hover {
    transform: translateY(-1px);
}

.mhfx-btn--green {
    background: #22c55e;
    color: #fff;
    box-shadow: 0 4px 18px rgba(34, 197, 94, 0.4);
}

.mhfx-btn--green:hover {
    background: #16a34a;
    filter: brightness(1.05);
}

.mhfx-btn--white {
    background: #fff;
    color: #1d4ed8;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}

.mhfx-btn--white:hover {
    background: #f8fafc;
    color: #1e40af;
}

.mhfx-hero__visual {
    margin: 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 0;
    background: #f5e6eb;
}

.mhfx-hero__mockup {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.mhfx-hero__visual--react {
    overflow: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    line-height: normal;
}

.mhfx-hero__visual--react #hero-animation-root {
    width: 100%;
    min-height: 260px;
}

.mhfx-hero__noscript {
    margin: 0;
    padding: 1rem;
    font-size: 0.875rem;
    color: #94a3b8;
    text-align: center;
}

/* Hero React island: CSS-driven motion (reliable vs Framer SVG in embedded bundles) */
.tp-hero-anim {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: clamp(260px, 55vw, 400px);
    padding-bottom: clamp(8px, 3vw, 28px);
    overflow: visible;
}

.tp-hero-anim__laptop-wrap {
    position: relative;
    z-index: 10;
    opacity: 0;
    /* Shift laptop toward the left; keep X offset through entrance + settle */
    transform: translate3d(clamp(-64px, -14vw, -28px), 48px, 0);
    animation: tp-hero-laptop-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes tp-hero-laptop-in {
    to {
        opacity: 1;
        transform: translate3d(clamp(-64px, -14vw, -28px), 0, 0);
    }
}

@keyframes tp-hero-laptop-in-mobile {
    from {
        opacity: 0;
        transform: translate3d(0, 48px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Rising stat chips: below laptop → up toward phone (under phone z-index) */
.tp-hero-anim__streams {
    position: absolute;
    left: clamp(4%, 2vw, 12%);
    width: min(58%, 320px);
    bottom: clamp(4px, 2vw, 20px);
    height: clamp(140px, 38vw, 220px);
    pointer-events: none;
    z-index: 16;
    overflow: visible;
}

.tp-hero-anim__stream-chip {
    position: absolute;
    left: 42%;
    bottom: 0;
    transform-origin: center bottom;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.88);
    border: 1px solid rgba(34, 197, 94, 0.5);
    box-shadow:
        0 0 18px rgba(34, 197, 94, 0.35),
        0 6px 20px rgba(0, 0, 0, 0.35);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.02em;
    color: #ecfdf5;
    white-space: nowrap;
}

.tp-hero-anim__stream-arrow {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    color: #4ade80;
    line-height: 0;
    filter: drop-shadow(0 0 6px rgba(74, 222, 128, 0.65));
}

.tp-hero-anim__stream-arrow-svg {
    display: block;
    width: 12px;
    height: 12px;
}

.tp-hero-anim__stream-text {
    font-variant-numeric: tabular-nums;
}

.tp-hero-anim__laptop {
    width: min(500px, 94%);
    height: min(300px, 52vw);
    max-height: 300px;
    background: #0f172a;
    border-radius: 12px;
    padding: 5px;
    box-sizing: border-box;
    overflow: hidden;
}

/* Mini desktop dashboard (same live data as phone) */
.tp-hero-anim__lap {
    display: flex;
    width: 100%;
    height: 100%;
    min-height: 0;
    border-radius: 8px;
    overflow: hidden;
    background: #f1f5f9;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.12);
}

.tp-hero-anim__lap-side {
    flex: 0 0 30%;
    max-width: 118px;
    background: #0a0f1e;
    color: #e2e8f0;
    padding: 5px 5px 4px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    box-sizing: border-box;
}

.tp-hero-anim__lap-brand {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 2px;
}

.tp-hero-anim__lap-shield {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 13px;
    height: 13px;
    border-radius: 3px;
    font-size: 7px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(145deg, #22c55e, #15803d);
}

.tp-hero-anim__lap-name {
    font-size: 8px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #f8fafc;
}

.tp-hero-anim__lap-acc-label {
    margin: 0;
    font-size: 6px;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.tp-hero-anim__lap-acc-val {
    margin: 0 0 3px;
    font-size: 7px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fff;
    line-height: 1.15;
    word-break: break-all;
}

.tp-hero-anim__lap-nav {
    display: flex;
    flex-direction: column;
    gap: 1px;
    flex: 1;
    min-height: 0;
    overflow: hidden;
}

.tp-hero-anim__lap-nav-item {
    font-size: 6px;
    font-weight: 600;
    color: #94a3b8;
    padding: 2px 3px;
    border-radius: 3px;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-hero-anim__lap-nav-item--active {
    color: #fff;
    background: rgba(34, 197, 94, 0.2);
}

.tp-hero-anim__lap-help {
    margin-top: auto;
    padding: 4px 3px;
    border-radius: 4px;
    background: rgba(30, 41, 59, 0.85);
    border: 1px solid rgba(148, 163, 184, 0.15);
}

.tp-hero-anim__lap-help-t {
    display: block;
    font-size: 6px;
    font-weight: 700;
    color: #cbd5e1;
    margin-bottom: 3px;
}

.tp-hero-anim__lap-help-btn {
    display: block;
    text-align: center;
    font-size: 6px;
    font-weight: 800;
    padding: 3px 4px;
    border-radius: 4px;
    background: #22c55e;
    color: #fff;
}

.tp-hero-anim__lap-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: #fff;
}

.tp-hero-anim__lap-bar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 3px 4px;
    padding: 4px 5px;
    border-bottom: 1px solid #e2e8f0;
    background: #fafafa;
}

.tp-hero-anim__lap-bar-ico {
    font-size: 8px;
    opacity: 0.75;
}

.tp-hero-anim__lap-bar-pill {
    font-size: 6px;
    font-weight: 800;
    padding: 2px 5px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
}

.tp-hero-anim__lap-bar-badge {
    font-size: 5px;
    font-weight: 800;
    padding: 2px 4px;
    border-radius: 3px;
    background: #e0f2fe;
    color: #0369a1;
}

.tp-hero-anim__lap-bar-gold {
    font-size: 5px;
    font-weight: 800;
    padding: 2px 4px;
    border-radius: 3px;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    color: #422006;
}

.tp-hero-anim__lap-bar-user {
    font-size: 5px;
    font-weight: 700;
    color: #64748b;
    margin-left: auto;
}

.tp-hero-anim__lap-body {
    flex: 1;
    min-height: 0;
    padding: 4px 5px 5px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tp-hero-anim__lap-grid {
    display: grid;
    gap: 3px;
}

.tp-hero-anim__lap-grid--cur {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tp-hero-anim__lap-grid--esc {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.tp-hero-anim__lap-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 3px 3px 2px;
    min-width: 0;
}

.tp-hero-anim__lap-card--esc {
    padding: 2px 3px;
}

.tp-hero-anim__lap-card-l {
    display: block;
    font-size: 5px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tp-hero-anim__lap-card-v {
    display: block;
    font-size: 6px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    line-height: 1.15;
    word-break: break-word;
}

.tp-hero-anim__lap-charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
    margin-top: auto;
    min-height: 0;
}

.tp-hero-anim__lap-chart {
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    padding: 3px 4px 2px;
    background: #fafafa;
    min-width: 0;
}

.tp-hero-anim__lap-chart--wal {
    background: #f8fafc;
}

.tp-hero-anim__lap-chart-h {
    font-size: 6px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1px;
}

.tp-hero-anim__lap-chart-sub {
    margin: 0 0 2px;
    font-size: 5px;
    color: #475569;
    line-height: 1.2;
    word-break: break-word;
}

.tp-hero-anim__lap-chart-sub strong {
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
}

.tp-hero-anim__lap-chart-sub--wal strong {
    font-size: 5px;
}

.tp-hero-anim__lap-mixed {
    font-weight: 600;
    color: #64748b;
}

.tp-hero-anim__lap-chart-svg {
    display: block;
    width: 100%;
    height: 28px;
}

.tp-hero-anim__lap-chart-days {
    margin-top: 1px;
    font-size: 4px;
    font-weight: 700;
    color: #94a3b8;
    letter-spacing: 0.02em;
    text-align: center;
}

.tp-hero-anim__phone-wrap {
    position: absolute;
    right: clamp(-8px, -1vw, 0px);
    bottom: clamp(-12px, -2vw, 0px);
    z-index: 20;
    opacity: 0;
    transform: translateX(72px) rotate(8deg);
    animation: tp-hero-phone-in 0.85s cubic-bezier(0.22, 1, 0.36, 1) 0.38s forwards;
}

@keyframes tp-hero-phone-in {
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg);
    }
}

@keyframes tp-hero-phone-in-mobile {
    from {
        opacity: 0;
        transform: translateX(36px) rotate(4deg) scale(0.86);
    }
    to {
        opacity: 1;
        transform: translateX(0) rotate(0deg) scale(0.86);
    }
}

/* Phone frame + dashboard (matches app screenshot; React updates figures) */
.tp-hero-anim__phone-device {
    width: min(200px, 44vw);
    max-width: 100%;
    background: #1f2937;
    border-radius: 28px;
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.45);
    padding: 10px;
    border: 1px solid #374151;
    box-sizing: border-box;
}

.tp-hero-anim__phone-device--dash {
    width: min(236px, 52vw);
    padding: 8px;
}

.tp-hero-anim__dash {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    max-height: min(360px, 58vh);
    box-sizing: border-box;
    box-shadow: inset 0 0 0 1px rgba(15, 23, 42, 0.06);
}

.tp-hero-anim__dash-topbar {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px;
    background: #0a0f1e;
    color: #e2e8f0;
}

.tp-hero-anim__dash-burger {
    font-size: 14px;
    line-height: 1;
    opacity: 0.9;
}

.tp-hero-anim__dash-topbar-right {
    display: flex;
    align-items: center;
    gap: 6px;
}

.tp-hero-anim__dash-ico {
    font-size: 11px;
    opacity: 0.85;
}

.tp-hero-anim__dash-pill {
    font-size: 8px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 999px;
    background: #22c55e;
    color: #fff;
    white-space: nowrap;
}

.tp-hero-anim__dash-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #22c55e;
    flex-shrink: 0;
}

.tp-hero-anim__dash-body {
    flex: 1;
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 8px 8px 6px;
    text-align: left;
    -webkit-overflow-scrolling: touch;
}

.tp-hero-anim__dash-crumb {
    margin: 0 0 2px;
    font-size: 8px;
    color: #94a3b8;
}

.tp-hero-anim__dash-title {
    margin: 0 0 8px;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0f172a;
    line-height: 1.15;
}

.tp-hero-anim__dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    margin-bottom: 8px;
}

.tp-hero-anim__dash-grid--escrow {
    margin-bottom: 8px;
}

.tp-hero-anim__dash-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 6px 6px 5px;
    box-sizing: border-box;
}

.tp-hero-anim__dash-card-label {
    display: block;
    font-size: 7px;
    font-weight: 600;
    color: #64748b;
    line-height: 1.25;
    margin-bottom: 3px;
}

.tp-hero-anim__dash-card-value {
    display: block;
    font-size: 10px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #0f172a;
    line-height: 1.2;
    word-break: break-word;
}

.tp-hero-anim__dash-link {
    display: block;
    margin-top: 4px;
    font-size: 7px;
    font-weight: 700;
    color: #16a34a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tp-hero-anim__dash-overview {
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 8px 8px 4px;
    background: #fafafa;
}

.tp-hero-anim__dash-overview-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 4px;
}

.tp-hero-anim__dash-overview-title {
    font-size: 9px;
    font-weight: 800;
    color: #0f172a;
}

.tp-hero-anim__dash-badge {
    font-size: 7px;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: #15803d;
    background: rgba(34, 197, 94, 0.15);
    padding: 3px 6px;
    border-radius: 999px;
    white-space: nowrap;
}

.tp-hero-anim__dash-overview-sub {
    margin: 0 0 4px;
    font-size: 8px;
    color: #475569;
}

.tp-hero-anim__dash-overview-sub strong {
    font-weight: 800;
    color: #0f172a;
    font-variant-numeric: tabular-nums;
}

.tp-hero-anim__dash-chart {
    display: block;
    width: 100%;
    height: 44px;
}

.tp-hero-anim__dash-note {
    margin: 8px 0 0;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 7px;
    font-weight: 600;
    color: #94a3b8;
}

.tp-hero-anim__ph-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 2px rgba(34, 197, 94, 0.25);
    flex-shrink: 0;
    animation: tp-hero-ph-pulse 1.8s ease-in-out infinite;
}

.tp-hero-anim__ph-dot--dash {
    width: 5px;
    height: 5px;
}

@keyframes tp-hero-ph-pulse {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    .tp-hero-anim__laptop-wrap {
        animation: none;
        opacity: 1;
        transform: translate3d(clamp(-64px, -14vw, -28px), 0, 0);
    }

    .tp-hero-anim__phone-wrap {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .tp-hero-anim__ph-dot {
        animation: none;
        opacity: 1;
    }
}

@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .tp-hero-anim__phone-wrap {
        transform: scale(0.86);
    }
}

/* —— Trust & Security (between hero & marketplace) —— */
.mhfx-trustsec {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #f9fafb 100%);
    color: #0f172a;
    padding: clamp(56px, 9vw, 88px) 0;
}

.mhfx-trustsec__wrap {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-trustsec__intro {
    text-align: center;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-trustsec__title {
    margin: 0;
    font-size: clamp(1.625rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    color: #0f172a;
}

.mhfx-trustsec__lede {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #4b5563;
}

.mhfx-trustsec__stats-mount {
    margin-top: clamp(2rem, 5vw, 3rem);
}

/* Full-viewport-width motion bands (trust stats + escrow timeline) */
.mhfx-trustsec__motion-bleed {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.mhfx-trustsec__motion-inner {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding-left: max(20px, env(safe-area-inset-left, 0px), 3vw);
    padding-right: max(20px, env(safe-area-inset-right, 0px), 3vw);
    box-sizing: border-box;
}

/* React island: animated trust metrics (blends with light trust section; hero-style accents) */
.mhfx-trust-stats {
    width: 100%;
    background: transparent;
    color: inherit;
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    box-sizing: border-box;
}

.mhfx-trust-stats__inner {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-trust-stats__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.25rem, 4vw, 2rem);
    text-align: center;
}

@media (min-width: 768px) {
    .mhfx-trust-stats__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: clamp(1.5rem, 3vw, 2.25rem);
    }
}

.mhfx-trust-stats__cell {
    position: relative;
}

.mhfx-trust-stats__icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.mhfx-trust-stats__icon-ring {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.25rem;
    height: 4.25rem;
    border-radius: 999px;
    background: rgba(6, 15, 43, 0.04);
    border: 1px solid rgba(20, 33, 64, 0.12);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.06);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.mhfx-trust-stats__cell:hover .mhfx-trust-stats__icon-ring {
    background: rgba(34, 197, 94, 0.08);
    border-color: rgba(34, 197, 94, 0.35);
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.12);
}

.mhfx-trust-stats__icon-glow {
    position: absolute;
    inset: -6px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(34, 197, 94, 0.28) 0%, transparent 72%);
    opacity: 0;
    filter: blur(12px);
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.mhfx-trust-stats__cell:hover .mhfx-trust-stats__icon-glow {
    opacity: 1;
}

.mhfx-trust-stats__icon {
    width: 2rem;
    height: 2rem;
    color: #22c55e;
    position: relative;
    z-index: 1;
}

.mhfx-trust-stats__value-row {
    font-size: clamp(1.375rem, 3.2vw, 1.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.mhfx-trust-stats__value-gradient {
    display: inline-block;
    background-image: linear-gradient(92deg, #16a34a 0%, #22c55e 45%, #4ade80 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font: inherit;
    font-weight: 800;
    letter-spacing: inherit;
    line-height: inherit;
}

.mhfx-trust-stats__label {
    margin: 0.5rem 0 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: #475569;
}

@media (prefers-reduced-motion: reduce) {
    .mhfx-trust-stats__icon-ring {
        animation: none !important;
    }
}

/* Noscript / static fallback (same grid as before) */
.mhfx-trustsec__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(16px, 3vw, 24px);
    margin-top: 0;
    text-align: center;
}

@media (min-width: 768px) {
    .mhfx-trustsec__stats {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.mhfx-trustsec__stat {
    background: transparent;
    padding: clamp(20px, 3vw, 28px) 16px;
    border-radius: 14px;
    border: 1px solid rgba(20, 33, 64, 0.1);
    box-shadow: none;
}

.mhfx-trustsec__stat-value {
    margin: 0;
    font-size: clamp(1.375rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #15803d;
    letter-spacing: -0.02em;
}

.mhfx-trustsec__stat-label {
    margin: 0.35rem 0 0;
    font-size: 0.8125rem;
    color: #475569;
    line-height: 1.35;
}

.mhfx-trustsec__escrow-mount {
    margin-top: clamp(2.5rem, 5vw, 4rem);
}

/* Interactive escrow timeline (React island; blends with trust section; hero-style accents) */
.mhfx-escrow-flow {
    width: 100%;
    background: transparent;
    color: #0f172a;
    border-radius: 0;
    border: none;
    box-shadow: none;
    padding: clamp(1.25rem, 4vw, 2.25rem) 0;
    box-sizing: border-box;
}

.mhfx-escrow-flow__inner {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.mhfx-escrow-flow__title {
    margin: 0;
    font-size: clamp(1.375rem, 3.5vw, 1.875rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #060f2b;
}

.mhfx-escrow-flow__lede {
    margin: 0.65rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: #475569;
}

.mhfx-escrow-flow__timeline {
    position: relative;
    margin-top: clamp(2rem, 5vw, 3rem);
}

.mhfx-escrow-flow__line-bg {
    position: absolute;
    top: clamp(1.75rem, 5vw, 2rem);
    left: 8%;
    right: 8%;
    height: 3px;
    background: rgba(6, 15, 43, 0.08);
    border-radius: 999px;
    overflow: hidden;
}

.mhfx-escrow-flow__line-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #22c55e, #4ade80);
}

.mhfx-escrow-flow__steps {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.25rem;
}

.mhfx-escrow-flow__step {
    position: relative;
    z-index: 1;
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mhfx-escrow-flow__circle {
    width: clamp(2.75rem, 9vw, 4rem);
    height: clamp(2.75rem, 9vw, 4rem);
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(6, 15, 43, 0.04);
    border: 1px solid rgba(20, 33, 64, 0.12);
    color: #64748b;
    box-sizing: border-box;
    box-shadow: 0 0 0 1px rgba(34, 197, 94, 0.05);
}

.mhfx-escrow-flow__circle--active {
    background: #22c55e;
    border-color: #16a34a;
    color: #fff;
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.35);
}

.mhfx-escrow-flow__step-icon {
    width: clamp(1.15rem, 4vw, 1.75rem);
    height: clamp(1.15rem, 4vw, 1.75rem);
}

.mhfx-escrow-flow__step-label {
    margin: 0.65rem 0 0;
    font-size: clamp(0.65rem, 2.1vw, 0.8125rem);
    line-height: 1.25;
    color: #64748b;
    font-weight: 500;
    text-align: center;
    padding: 0 2px;
    word-break: break-word;
}

.mhfx-escrow-flow__step-label--active {
    color: #166534;
    font-weight: 700;
}

.mhfx-escrow-flow__status {
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
    font-size: clamp(1rem, 2.5vw, 1.125rem);
    font-weight: 600;
    color: #22c55e;
}

.mhfx-escrow-flow--static .mhfx-escrow-flow__static-list {
    margin: 1.5rem auto 0;
    padding-left: 1.25rem;
    max-width: 16rem;
    text-align: left;
    color: #475569;
    line-height: 1.7;
}

@media (max-width: 520px) {
    .mhfx-escrow-flow__line-bg {
        left: 5%;
        right: 5%;
        top: 1.35rem;
    }

    .mhfx-escrow-flow__step-label {
        display: none;
    }

    .mhfx-escrow-flow__timeline {
        padding-bottom: 0.25rem;
    }
}

/* —— Testimonials —— */
.mhfx-testimonials {
    width: 100%;
    background: #fff;
    color: #111827;
    padding: clamp(56px, 9vw, 88px) 0;
}

.mhfx-testimonials__wrap {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-testimonials__intro {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-testimonials__title {
    margin: 0;
    font-size: clamp(1.625rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #111827;
}

.mhfx-testimonials__sub {
    margin: 0.75rem 0 0;
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
}

.mhfx-testimonials__noscript-lede {
    margin: 1rem 0 0;
    text-align: center;
    font-size: 0.9375rem;
    color: #6b7280;
}

/* Horizontal testimonial marquee (React island) */
.mhfx-t-slider__intro {
    text-align: center;
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-t-slider__title {
    margin: 0;
    font-size: clamp(1.625rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #111827;
}

.mhfx-t-slider__sub {
    margin: 0.75rem 0 0;
    font-size: 1rem;
    color: #6b7280;
    line-height: 1.5;
}

.mhfx-t-slider__viewport {
    position: relative;
    margin-top: clamp(2rem, 4vw, 3rem);
    overflow: hidden;
    padding: 4px 0 8px;
}

.mhfx-t-slider__fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 5rem;
    z-index: 2;
    pointer-events: none;
}

.mhfx-t-slider__fade--left {
    left: 0;
    background: linear-gradient(90deg, #fff 0%, transparent 100%);
}

.mhfx-t-slider__fade--right {
    right: 0;
    background: linear-gradient(270deg, #fff 0%, transparent 100%);
}

@keyframes mhfx-t-slider-marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.mhfx-t-slider__track {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 1.5rem;
    width: max-content;
    animation: mhfx-t-slider-marquee 20s linear infinite;
}

.mhfx-t-slider__viewport:hover .mhfx-t-slider__track:not(.mhfx-t-slider__track--static) {
    animation-play-state: paused;
}

.mhfx-t-slider__track--static {
    animation: none;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    max-width: 72rem;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-t-slide {
    flex: 0 0 auto;
    width: min(300px, 85vw);
    max-width: 300px;
    margin: 0;
    padding: 1.5rem;
    box-sizing: border-box;
    background: #fff;
    border-radius: 1rem;
    border: 1px solid #e5e7eb;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease;
}

.mhfx-t-slide:hover {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.1);
}

.mhfx-t-slider__track--static .mhfx-t-slide {
    width: min(300px, 100%);
}

.mhfx-t-slide__profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.mhfx-t-slide__avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e5e7eb;
    flex-shrink: 0;
    background: #f3f4f6;
}

.mhfx-t-slide__meta {
    min-width: 0;
    text-align: left;
}

.mhfx-t-slide__name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.5rem;
}

.mhfx-t-slide__name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #111827;
    letter-spacing: -0.02em;
}

.mhfx-t-slide__verified {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: #059669;
}

.mhfx-t-slide__verified-ico {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.mhfx-t-slide__role {
    margin: 0.15rem 0 0;
    font-size: 0.8125rem;
    color: #6b7280;
    line-height: 1.35;
}

.mhfx-t-slide__stars {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 0.65rem;
    color: #eab308;
    filter: drop-shadow(0 1px 2px rgba(234, 179, 8, 0.35));
}

.mhfx-t-slide__star {
    width: 1.125rem;
    height: 1.125rem;
    flex-shrink: 0;
}

.mhfx-t-slide__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.65;
    color: #4b5563;
    text-align: left;
}

/* —— Mobile vertical testimonial scroll ——
   Applied by React when window width ≤ 767 px.
   Shows ~3 cards; user can swipe up / down naturally.
*/
/* Mobile: auto-playing vertical group slider */
.mhfx-t-slider__viewport--vert-auto {
    overflow: hidden;
    position: relative;
    margin-top: clamp(1.5rem, 4vw, 2.25rem);
}

/* Animated group of 3 cards */
.mhfx-t-slider__group-vert {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
}

.mhfx-t-slider__group-vert .mhfx-t-slide {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex: 0 0 auto;
}

/* Dot indicators */
.mhfx-t-slider__dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 1rem;
}

.mhfx-t-slider__dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #cbd5e1;
    transition: background 0.3s ease, transform 0.3s ease;
}

.mhfx-t-slider__dot--active {
    background: var(--primary, #2dd4bf);
    transform: scale(1.25);
}

/* —— Mobile app download (below testimonials) —— */
.mhfx-mobile-app {
    width: 100%;
    background: linear-gradient(180deg, #ffffff 0%, #faf5f8 50%, #f5eef3 100%);
    color: #111827;
    padding: clamp(56px, 9vw, 88px) 0;
    border-top: 1px solid #e5e7eb;
}

.mhfx-mobile-app__wrap {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-mobile-app__grid {
    display: grid;
    gap: clamp(28px, 5vw, 48px);
    align-items: center;
}

@media (min-width: 900px) {
    .mhfx-mobile-app__grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
        gap: clamp(32px, 5vw, 56px);
    }
}

.mhfx-mobile-app__visual {
    margin: 0;
    border-radius: 24px;
    overflow: visible;
    line-height: normal;
    background: transparent;
    border: none;
    box-shadow: none;
    min-height: clamp(320px, 52vw, 440px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(12px, 3vw, 28px) clamp(8px, 2vw, 16px);
    box-sizing: border-box;
}

.mhfx-mobile-app__img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* React: two angled overlapping phones + ambient glow (Download app section) */
#mobile-app-preview-root {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mhfx-map-stage {
    width: 100%;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    padding: clamp(8px, 2vw, 20px) 0;
}

.mhfx-map-phones {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    min-height: clamp(300px, 58vw, 430px);
    perspective: 1400px;
}

.mhfx-map-phone {
    position: relative;
    width: min(240px, 44vw);
    flex-shrink: 0;
    transform-style: preserve-3d;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mhfx-map-phone__device.tp-hero-anim__phone-device--dash {
    width: 100%;
    max-width: none;
}

/* Android (back / left): punch-hole, squarer frame */
.mhfx-map-phone__device--android.tp-hero-anim__phone-device {
    border-radius: 22px;
    background: linear-gradient(168deg, #4a5568 0%, #2d3748 45%, #1a202c 100%);
    border: 1px solid #0f1419;
    box-shadow:
        0 2px 0 rgba(255, 255, 255, 0.12) inset,
        0 18px 40px rgba(0, 0, 0, 0.38);
    padding: 8px 9px 10px;
    padding-top: 22px;
    position: relative;
}

.mhfx-map-phone__device--android.tp-hero-anim__phone-device::before {
    content: "";
    position: absolute;
    top: 9px;
    left: 50%;
    transform: translateX(-50%);
    width: 11px;
    height: 11px;
    background: radial-gradient(circle at 35% 35%, #1e293b, #0f172a);
    border-radius: 50%;
    z-index: 6;
    box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9);
}


/* iPhone (front / right): softer radius + dynamic island */
.mhfx-map-phone__device--iphone.tp-hero-anim__phone-device {
    border-radius: 34px;
    background: linear-gradient(155deg, #5c5c5e 0%, #3a3a3c 35%, #1d1d1f 100%);
    border: 2px solid #636366;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.2) inset,
        0 22px 48px rgba(0, 0, 0, 0.42);
    padding: 8px 9px 10px;
    padding-top: 26px;
    position: relative;
}

.mhfx-map-phone__device--iphone.tp-hero-anim__phone-device::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    width: 38%;
    max-width: 92px;
    height: 22px;
    background: #000;
    border-radius: 12px;
    z-index: 6;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.45);
}

.mhfx-map-phone__device--iphone .tp-hero-anim__dash {
    border-radius: 22px;
    position: relative;
    z-index: 1;
}

.mhfx-map-phone__device--android .tp-hero-anim__dash {
    border-radius: 16px;
    position: relative;
    z-index: 1;
}

.mhfx-map-phone__platform {
    margin-top: 8px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #64748b;
}

.mhfx-map-phone--back {
    z-index: 1;
    margin-right: -14%;
    transform: rotate(-9deg) translate3d(-10px, 18px, 0) scale(0.93);
    filter: drop-shadow(0 26px 42px rgba(15, 23, 42, 0.24));
}

.mhfx-map-phone--front {
    z-index: 2;
    transform: rotate(9deg) translate3d(4px, -8px, 26px) scale(1);
    filter:
        drop-shadow(0 36px 58px rgba(15, 23, 42, 0.3))
        drop-shadow(0 0 44px rgba(34, 197, 94, 0.14));
}

.mhfx-map-phone__glow {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.mhfx-map-phone__glow--back {
    width: 140%;
    height: 70%;
    left: 50%;
    bottom: 8%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.12) 0%, transparent 68%);
    filter: blur(28px);
    opacity: 0.9;
}

.mhfx-map-phone__glow--front {
    width: 130%;
    height: 75%;
    left: 50%;
    bottom: 5%;
    transform: translateX(-50%);
    background: radial-gradient(ellipse at center, rgba(34, 197, 94, 0.2) 0%, rgba(59, 130, 246, 0.06) 40%, transparent 70%);
    filter: blur(32px);
    opacity: 1;
}

.mhfx-map-phone__device {
    position: relative;
    z-index: 2;
}

@media (hover: hover) {
    .mhfx-map-stage:hover .mhfx-map-phone--back {
        transform: rotate(-8deg) translate3d(-12px, 14px, 0) scale(0.94);
    }

    .mhfx-map-stage:hover .mhfx-map-phone--front {
        transform: rotate(7deg) translate3d(6px, -12px, 32px) scale(1.02);
    }
}

@media (max-width: 599px) {
    .mhfx-map-phone {
        width: min(198px, 46vw);
    }

    .mhfx-map-phones {
        min-height: clamp(260px, 72vw, 380px);
    }

    .mhfx-map-phone--back {
        margin-right: -18%;
        transform: rotate(-8deg) translate3d(-6px, 20px, 0) scale(0.89);
    }

    .mhfx-map-phone--front {
        transform: rotate(7deg) translate3d(2px, 0, 14px) scale(0.96);
    }
}

@media (prefers-reduced-motion: reduce) {
    .mhfx-map-phone--back {
        margin-right: -10%;
        transform: rotate(-7deg) translate3d(-4px, 12px, 0) scale(0.93);
    }

    .mhfx-map-phone--front {
        transform: rotate(7deg) translate3d(2px, -2px, 0) scale(1);
    }

    .mhfx-map-stage:hover .mhfx-map-phone--back {
        transform: rotate(-7deg) translate3d(-4px, 12px, 0) scale(0.93);
    }

    .mhfx-map-stage:hover .mhfx-map-phone--front {
        transform: rotate(7deg) translate3d(2px, -2px, 0) scale(1);
    }
}

.mhfx-mobile-app__title {
    margin: 0;
    font-size: clamp(1.625rem, 4vw, 2.125rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
}

.mhfx-mobile-app__lede {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #475569;
    max-width: 36rem;
}

.mhfx-mobile-app__reasons {
    margin: 1.5rem 0 0;
    padding: 0 0 0 1.15rem;
    max-width: 38rem;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #374151;
}

.mhfx-mobile-app__reasons li {
    margin-bottom: 0.65rem;
}

.mhfx-mobile-app__reasons li:last-child {
    margin-bottom: 0;
}

.mhfx-mobile-app__reasons strong {
    color: #0f172a;
    font-weight: 700;
}

.mhfx-mobile-app__stores {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
    margin-top: 1.75rem;
    align-items: stretch;
}

.mhfx-mobile-app__store-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 18px 10px 14px;
    border-radius: 12px;
    border: 1px solid #1f2937;
    background: #111827;
    color: #f9fafb;
    font: inherit;
    text-align: left;
    cursor: not-allowed;
    opacity: 0.92;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
    transition: opacity 0.15s ease;
}

.mhfx-mobile-app__store-btn:disabled {
    pointer-events: none;
}

.mhfx-mobile-app__store-ico {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
    opacity: 0.95;
}

.mhfx-mobile-app__store-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.15;
}

.mhfx-mobile-app__store-kicker {
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #cbd5e1;
}

.mhfx-mobile-app__store-name {
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.mhfx-mobile-app__coming {
    margin: 0.65rem 0 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #64748b;
}

/* —— Infrastructure & data trust (below testimonials) —— */
.mhfx-infra-trust {
    width: 100%;
    background: linear-gradient(180deg, #f0fdf4 0%, #f8fafc 45%, #ffffff 100%);
    color: #0f172a;
    padding: clamp(56px, 9vw, 88px) 0;
    border-top: 1px solid #e5e7eb;
}

.mhfx-infra-trust__wrap {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-infra-trust__intro {
    text-align: center;
    max-width: 44rem;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-infra-trust__title {
    margin: 0;
    font-size: clamp(1.625rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #0f172a;
}

.mhfx-infra-trust__lede {
    margin: 1rem 0 0;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: #475569;
}

.mhfx-infra-trust__grid {
    list-style: none;
    margin: clamp(2rem, 4vw, 2.75rem) 0 0;
    padding: 0;
    display: grid;
    gap: clamp(18px, 3vw, 22px);
    perspective: 1200px;
    perspective-origin: 50% 30%;
    transform-style: preserve-3d;
}

@media (min-width: 640px) {
    .mhfx-infra-trust__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1024px) {
    .mhfx-infra-trust__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

.mhfx-infra-trust__card {
    margin: 0;
    padding: clamp(20px, 3vw, 24px);
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%);
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 -4px 14px rgba(15, 23, 42, 0.04) inset,
        0 22px 48px -18px rgba(15, 23, 42, 0.14),
        0 10px 24px -10px rgba(13, 148, 136, 0.08),
        0 0 0 1px rgba(34, 197, 94, 0.05);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.mhfx-infra-trust__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.85) 0%, transparent 48%);
    pointer-events: none;
    opacity: 0.6;
    z-index: 0;
}

.mhfx-infra-trust__ico {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 14px;
    color: #0d9488;
    background: linear-gradient(145deg, rgba(45, 212, 191, 0.22) 0%, rgba(37, 99, 235, 0.14) 100%);
    position: relative;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(13, 148, 136, 0.12);
}

.mhfx-infra-trust__card-title {
    margin: 0 0 10px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
    line-height: 1.25;
    position: relative;
    z-index: 1;
}

.mhfx-infra-trust__card-text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.58;
    color: #64748b;
    position: relative;
    z-index: 1;
}

/* Staggered 3D lift-in per card (Security you can see) */
li.mhfx-infra-trust__card[data-mhfx-reveal] {
    --mhfx-inf-delay: calc(var(--mhfx-inf-stagger, 0) * 105ms + 40ms);
    opacity: 0;
    transform: perspective(1000px) rotateX(24deg) translateY(48px) translateZ(-32px) scale(0.88);
    transition:
        opacity 0.82s cubic-bezier(0.22, 1, 0.36, 1) var(--mhfx-inf-delay),
        transform 0.92s cubic-bezier(0.22, 1, 0.36, 1) var(--mhfx-inf-delay),
        box-shadow 0.4s ease;
}

li.mhfx-infra-trust__card[data-mhfx-reveal].is-visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) translateZ(0) scale(1);
}

li.mhfx-infra-trust__card.is-visible:hover {
    transform: perspective(1000px) rotateX(-6deg) rotateY(5deg) translateY(-12px) translateZ(14px) scale(1.02);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -3px 12px rgba(15, 23, 42, 0.05) inset,
        0 32px 56px -16px rgba(15, 23, 42, 0.18),
        0 16px 32px -12px rgba(34, 197, 94, 0.15),
        0 0 0 1px rgba(34, 197, 94, 0.1);
}

.mhfx-infra-trust__link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
    position: relative;
    z-index: 2;
}

.mhfx-infra-trust__link:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mhfx-infra-trust__footnote {
    margin: clamp(2rem, 4vw, 2.75rem) auto 0;
    max-width: 46rem;
    text-align: center;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: #475569;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid #bbf7d0;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
}

.mhfx-infra-trust__footnote strong {
    color: #0f172a;
    font-weight: 800;
}

/* Scroll reveal (Framer-style entrance; toggled by app.js) */
.mhfx-trustsec [data-mhfx-reveal],
.mhfx-mobile-app [data-mhfx-reveal],
.mhfx-infra-trust [data-mhfx-reveal],
.mhfx-escrowflow [data-mhfx-reveal],
.mhfx-finalcta [data-mhfx-reveal] {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.mhfx-trustsec [data-mhfx-reveal].is-visible,
.mhfx-mobile-app [data-mhfx-reveal].is-visible,
.mhfx-infra-trust [data-mhfx-reveal].is-visible,
.mhfx-escrowflow [data-mhfx-reveal].is-visible,
.mhfx-finalcta [data-mhfx-reveal].is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    .mhfx-trustsec [data-mhfx-reveal],
    .mhfx-mobile-app [data-mhfx-reveal],
    .mhfx-infra-trust [data-mhfx-reveal],
    .mhfx-escrowflow [data-mhfx-reveal],
    .mhfx-finalcta [data-mhfx-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .mhfx-t-slider__track {
        animation: none !important;
    }

    li.mhfx-infra-trust__card[data-mhfx-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    li.mhfx-infra-trust__card[data-mhfx-reveal].is-visible {
        transform: none;
    }

    li.mhfx-infra-trust__card.is-visible:hover {
        transform: none;
    }
}

/* —— Escrow visual flow (high-conversion, scannable 5-step) —— */
.mhfx-escrowflow {
    width: 100%;
    background: #f9fafb;
    color: #111827;
    padding: clamp(56px, 9vw, 88px) 0;
    text-align: center;
}

.mhfx-escrowflow__wrap {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-escrowflow__intro {
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-escrowflow__eyebrow {
    margin: 0 0 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #6b7280;
}

.mhfx-escrowflow__title {
    margin: 0;
    font-size: clamp(1.625rem, 4vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    color: #111827;
}

.mhfx-escrowflow__grid {
    list-style: none;
    margin: clamp(2.25rem, 5vw, 3rem) 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(14px, 3vw, 24px);
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    line-height: 1.4;
    perspective: 1100px;
    perspective-origin: 50% 35%;
    transform-style: preserve-3d;
}

.mhfx-escrowflow__card:last-child {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .mhfx-escrowflow__grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .mhfx-escrowflow__card:last-child {
        grid-column: auto;
    }
}

.mhfx-escrowflow__card {
    margin: 0;
    padding: clamp(20px, 3vw, 28px) 16px;
    position: relative;
    transform-style: preserve-3d;
    backface-visibility: hidden;
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 55%, #f1f5f9 100%);
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -6px 16px rgba(15, 23, 42, 0.04) inset,
        0 28px 56px -20px rgba(15, 23, 42, 0.2),
        0 14px 28px -12px rgba(15, 23, 42, 0.12),
        0 0 0 1px rgba(34, 197, 94, 0.06);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.mhfx-escrowflow__card::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.88) 0%, transparent 45%);
    pointer-events: none;
    opacity: 0.65;
}

/* Scroll-in: staggered 3D lift (overrides generic escrowflow reveal transform) */
li.mhfx-escrowflow__card[data-mhfx-reveal] {
    --mhfx-esc-delay: calc(var(--mhfx-esc-stagger, 0) * 95ms);
    opacity: 0;
    transform: perspective(1000px) rotateX(24deg) translateY(48px) translateZ(-32px) scale(0.88);
    transition:
        opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1) var(--mhfx-esc-delay),
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1) var(--mhfx-esc-delay),
        box-shadow 0.4s ease;
}

li.mhfx-escrowflow__card[data-mhfx-reveal].is-visible {
    opacity: 1;
    transform: perspective(1000px) rotateX(0deg) translateY(0) translateZ(0) scale(1);
}

li.mhfx-escrowflow__card.is-visible:hover {
    transform: perspective(1000px) rotateX(-7deg) rotateY(6deg) translateY(-14px) translateZ(12px) scale(1.03);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.95) inset,
        0 -4px 12px rgba(15, 23, 42, 0.05) inset,
        0 36px 64px -18px rgba(15, 23, 42, 0.22),
        0 20px 40px -14px rgba(34, 197, 94, 0.18),
        0 0 0 1px rgba(34, 197, 94, 0.12);
}

@media (prefers-reduced-motion: reduce) {
    li.mhfx-escrowflow__card[data-mhfx-reveal] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    li.mhfx-escrowflow__card[data-mhfx-reveal].is-visible {
        transform: none;
    }

    li.mhfx-escrowflow__card.is-visible:hover {
        transform: none;
    }
}

/* —— Final CTA (high-conversion, single primary action) —— */
/* ── Company Information Section ─────────────────────────────────────── */
.mhfx-company-info {
    width: 100%;
    background: linear-gradient(160deg, #edfdf4 0%, #f5fbf8 40%, #f8fafc 100%);
    border-top: 3px solid #16a34a;
    border-bottom: 1px solid #d1fae5;
    padding: clamp(56px, 8vw, 88px) 0;
    position: relative;
}
.mhfx-company-info::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 50% at 15% 50%, rgba(22,163,74,0.06) 0%, transparent 70%);
    pointer-events: none;
}

/* Full-width layout aligned with .mhfx-container — no extra max-width override */
.mhfx-company-info__wrap {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
}

/* Left: illustration card — capped height so it doesn't dwarf the content */
.mhfx-company-info__illus {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06), 0 16px 40px rgba(22,163,74,0.08);
    border: 1px solid #d1fae5;
    padding: 28px 24px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
    overflow: hidden;
    max-height: 300px;
    min-height: 220px;
}

.mhfx-company-info__illus svg,
.mhfx-company-info__illus img {
    width: 100%;
    max-height: 260px;
    height: auto;
    object-fit: contain;
    display: block;
}

/* Right: stacked badge → heading → description → grid → seal */
.mhfx-company-info__right {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.mhfx-company-info__badge {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 1.5px solid #86efac;
    box-shadow: 0 4px 14px rgba(22,163,74,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #15803d;
    margin-bottom: 18px;
    flex-shrink: 0;
}

.mhfx-company-info__heading {
    margin: 0 0 10px;
    font-size: clamp(1.5rem, 3vw, 2.1rem);
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.mhfx-company-info__sub {
    margin: 0 0 28px;
    font-size: 0.9375rem;
    color: #475569;
    line-height: 1.68;
    max-width: 46ch;
}

.mhfx-company-info__sub strong {
    color: #0f172a;
    font-weight: 700;
}

.mhfx-company-info__grid {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.mhfx-company-info__item {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 16px 18px;
    border-right: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}
.mhfx-company-info__item:nth-child(even) {
    border-right: none;
}
.mhfx-company-info__item:nth-last-child(-n+2) {
    border-bottom: none;
}

.mhfx-company-info__item dt {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #94a3b8;
}

.mhfx-company-info__item dt svg {
    flex-shrink: 0;
    color: #22c55e;
}

.mhfx-company-info__item dd {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.mhfx-company-info__link {
    color: #16a34a;
    text-decoration: none;
    font-weight: 700;
}

.mhfx-company-info__link:hover {
    text-decoration: underline;
    color: #15803d;
}

/* Keep legacy alias */
.mhfx-company-info__email {
    color: #16a34a;
    text-decoration: none;
    font-weight: 700;
}
.mhfx-company-info__email:hover {
    text-decoration: underline;
}

.mhfx-company-info__seal {
    margin-top: 22px;
    color: #16a34a;
    opacity: 0.7;
    align-self: flex-start;
}

@media (max-width: 860px) {
    .mhfx-company-info__wrap {
        grid-template-columns: 1fr;
    }
    .mhfx-company-info__illus {
        max-width: 480px;
        max-height: 260px;
        margin: 0 auto;
        width: 100%;
    }
    .mhfx-company-info__seal {
        align-self: center;
    }
    .mhfx-company-info__sub {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .mhfx-company-info__grid {
        grid-template-columns: 1fr;
    }
    .mhfx-company-info__item {
        border-right: none;
    }
    .mhfx-company-info__item:nth-last-child(-n+2) {
        border-bottom: 1px solid #e2e8f0;
    }
    .mhfx-company-info__item:last-child {
        border-bottom: none;
    }
    .mhfx-company-info__illus {
        max-height: 220px;
        min-height: 180px;
    }
}

/* ── Auth centered layout — logo top, form below, fully centered ────────── */
.auth-centered-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: clamp(24px, 5vw, 48px) 20px;
    box-sizing: border-box;
    gap: 20px;
}

.auth-brand-link {
    display: block;
    text-decoration: none;
}

.auth-brand__logo {
    height: 44px;
    width: auto;
    display: block;
    border-radius: 2px;
    /* Full-colour PNG — no filter needed on white card backgrounds */
}

.auth-footer-links {
    display: flex;
    gap: 16px;
    font-size: 12px;
    color: #94a3b8;
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #e8eef5;
    justify-content: center;
    flex-wrap: wrap;
}

.auth-footer-links a {
    color: #64748b;
    text-decoration: none;
    font-weight: 500;
}

.auth-footer-links a:hover {
    color: #0f172a;
    text-decoration: underline;
}

/* Logo-header row inside auth cards (logo left + "← Home" right) */
.auth-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

/* Footer logo — inverted white for dark navy footer */
.footer-brand-logo {
    height: 40px;
    width: auto;
    display: block;
    border-radius: 4px;
    /* White pill so the full-colour PNG shows clearly on the dark footer */
    background: #ffffff;
    padding: 6px 10px;
    box-sizing: content-box;
    margin-bottom: 14px;
}

/* ── Auth split layout — logo on left, form on right ──────────────────── */
.auth-split-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 240px 1fr;
}

.auth-split-brand {
    background: linear-gradient(160deg, #0b3566 0%, #061c33 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
    position: sticky;
    top: 0;
    min-height: 100vh;
    box-sizing: border-box;
    gap: 18px;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.auth-split-brand__logo {
    width: 160px;
    height: auto;
    display: block;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,0.25));
}

.auth-split-brand__tagline {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.78rem;
    text-align: center;
    line-height: 1.65;
    margin: 0;
}

.auth-split-content {
    display: grid;
    place-items: center;
    padding: 32px 20px;
    background: radial-gradient(120% 120% at 0% 0%, #0a2f4f 0%, #07243d 42%, #061c33 100%);
    min-height: 100vh;
    box-sizing: border-box;
}

@media (max-width: 700px) {
    .auth-split-shell {
        grid-template-columns: 1fr;
    }
    .auth-split-brand {
        position: static;
        min-height: auto;
        padding: 18px 24px;
        flex-direction: row;
        justify-content: flex-start;
        gap: 14px;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    .auth-split-brand__logo {
        width: 110px;
    }
    .auth-split-brand__tagline {
        display: none;
    }
    .auth-split-content {
        min-height: auto;
        padding: 24px 16px 36px;
        align-content: start;
    }
}

/* ── Final CTA ───────────────────────────────────────────────────────── */
.mhfx-finalcta {
    width: 100%;
    background: linear-gradient(90deg, #1d4ed8 0%, #22c55e 100%);
    color: #fff;
    text-align: center;
    padding: clamp(72px, 12vw, 96px) 0;
}

.mhfx-finalcta__inner {
    max-width: none;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-finalcta__eyebrow {
    margin: 0 0 0.75rem;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(219, 234, 254, 0.95);
}

.mhfx-finalcta__title {
    margin: 0;
    font-size: clamp(1.875rem, 4.5vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    line-height: 1.15;
}

.mhfx-finalcta__lede {
    margin: 1rem auto 0;
    max-width: 36rem;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: #dbeafe;
}

.mhfx-finalcta__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35em;
    margin-top: 2rem;
    padding: 1rem 2rem;
    background: #fff;
    color: #1d4ed8;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.mhfx-finalcta__btn:hover {
    transform: scale(1.1);
    box-shadow: 0 24px 48px rgba(15, 23, 42, 0.25);
}

.mhfx-finalcta__btn:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .mhfx-finalcta__btn:hover {
        transform: none;
    }
}

/* —— Homepage property block (same browse mock as /marketplace) —— */
.mhfx-home-market.pm-market.pm-browse {
    min-height: 0;
}

.mhfx-home-market .pm-browse-root {
    max-width: none;
    width: 100%;
    box-sizing: border-box;
    padding-left: max(20px, env(safe-area-inset-left, 0px), 3vw);
    padding-right: max(20px, env(safe-area-inset-right, 0px), 3vw);
}

.mhfx-home-market .pm-mock-hero {
    text-align: center;
}

.mhfx-home-market .pm-mock-hero__title {
    text-align: center;
}

.mhfx-home-market .pm-mock-hero__subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.mhfx-home-market .pm-mock-hero__links {
    text-align: center;
    justify-content: center;
}

.mhfx-home-market__view-all {
    margin: 8px 0 0;
    padding: 0 0 8px;
    text-align: center;
}

.mhfx-home-market__view-all-link {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #2b59c3;
    text-decoration: none;
}

.mhfx-home-market__view-all-link:hover {
    text-decoration: underline;
}

/* Homepage marketplace: property-detail-style sidebar (featured + similar) */
.mh-home-pd-sidebar.pd-detail-aside {
    position: relative;
    top: auto;
    align-self: stretch;
}

.mh-home-pd-sidebar__deal.pd-deal-card {
    border-top: 3px solid #2563eb;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
}

.mh-home-sidebar-similar {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 14px 14px;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.mh-home-sidebar-similar__title {
    margin: 0 0 12px;
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

.mh-home-sidebar-similar__list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mh-home-sim-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 8px;
    margin: 0 -8px;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease;
}

.mh-home-sim-item:hover {
    background: #f8fafc;
}

.mh-home-sim-item__img {
    display: block;
    width: 72px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
}

.mh-home-sim-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mh-home-sim-item__img--empty {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: #94a3b8;
    text-align: center;
    padding: 4px;
}

.mh-home-sim-item__body {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.mh-home-sim-item__price {
    font-size: 14px;
    font-weight: 800;
    color: #1d4ed8;
    line-height: 1.2;
}

.mh-home-sim-item__per {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
}

.mh-home-sim-item__price--struck {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    color: #64748b;
}

.mh-home-sim-item__badge {
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #991b1b;
}

.mh-home-sim-item__title--struck {
    text-decoration: line-through;
    text-decoration-thickness: 2px;
    color: #4b5563;
}

.mh-home-sim-item__title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.mh-home-sim-item__loc {
    font-size: 12px;
    color: #64748b;
    line-height: 1.3;
}

/* —— Footer —— (user dashboard sidebar background) */
.mhfx-footer {
    width: 100%;
    background: var(--dash-sidebar-bg, #060f2b);
    border-top: 1px solid var(--dash-sidebar-border, #142140);
    color: #94a3b8;
    padding: clamp(48px, 8vw, 64px) 0 32px;
}

.mhfx-footer__grid {
    display: grid;
    gap: 24px 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
}

/* Brand / intro spans full width; link columns pair in two columns on mobile */
.mhfx-footer__grid > .mhfx-footer__col:first-child {
    grid-column: 1 / -1;
}

@media (min-width: 768px) {
    .mhfx-footer__grid {
        gap: 28px 20px;
    }
}

@media (min-width: 1024px) {
    .mhfx-footer__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (min-width: 1200px) {
    .mhfx-footer__grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 32px;
    }

    .mhfx-footer__grid > .mhfx-footer__col:first-child {
        grid-column: auto;
    }
}

.mhfx-footer__brand {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 800;
    color: #e8f0ff;
}

.mhfx-footer__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.5;
    max-width: 14rem;
    color: #94a3b8;
}

.mhfx-footer__powered {
    margin: 10px 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    max-width: 18rem;
    color: #8ea6d9;
}

.mhfx-footer__powered strong {
    color: #c8d7f5;
}

.mhfx-footer__cta-line {
    margin: 12px 0 0;
}

.mhfx-footer__cta {
    display: inline-flex;
    align-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: #5eead4 !important;
    text-decoration: none;
}

.mhfx-footer__cta:hover {
    text-decoration: underline;
    color: #99f6e4 !important;
}

.mhfx-footer__heading {
    margin: 0 0 10px;
    font-size: 0.875rem;
    font-weight: 700;
    color: #c8d7f5;
}

.mhfx-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.875rem;
}

.mhfx-footer__list li {
    margin-bottom: 6px;
}

.mhfx-footer__list a {
    color: #8ea6d9;
    text-decoration: none;
}

.mhfx-footer__list a:hover {
    color: #e8f0ff;
}

.mhfx-footer__copy {
    margin: 40px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--dash-sidebar-border, #142140);
    text-align: center;
    font-size: 0.75rem;
    color: #8ea6d9;
}

.mhfx-footer__bar {
    margin: 40px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--dash-sidebar-border, #142140);
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #8ea6d9;
}

.mhfx-footer__bar-left {
    margin: 0;
    flex: 1 1 auto;
    min-width: min(100%, 280px);
    text-align: left;
    line-height: 1.5;
    color: #8ea6d9;
}

.mhfx-footer__bar-left strong {
    color: #e8f0ff;
    font-weight: 700;
}

.mhfx-footer__bar-nav {
    margin: 0;
    flex: 0 1 auto;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0;
    row-gap: 6px;
    line-height: 1.45;
}

.mhfx-footer__bar-nav a {
    color: #8ea6d9;
    text-decoration: none;
    white-space: nowrap;
}

.mhfx-footer__bar-nav a:hover {
    color: #e8f0ff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.mhfx-footer__bar-sep {
    display: inline-block;
    padding: 0 0.65em;
    color: rgba(232, 240, 255, 0.22);
    font-weight: 400;
    user-select: none;
}

/* Marketing homepage — phones & small tablets */
@media (max-width: 767px) {
    .mh-body--fluid {
        font-size: 15px;
    }

    .mhfx-container {
        padding-left: max(16px, env(safe-area-inset-left, 0px), 2.5vw);
        padding-right: max(16px, env(safe-area-inset-right, 0px), 2.5vw);
    }

    .mhfx-hero {
        padding: clamp(40px, 10vw, 56px) 0 clamp(44px, 10vw, 64px);
    }

    /* On mobile the grid becomes a flex column so we can use `order` to
       hoist the hero visual above the CTA buttons via display:contents on the copy column. */
    .mhfx-hero__grid {
        display: flex;
        flex-direction: column;
        gap: 22px;
    }

    /* Flatten copy-column children into the flex container so `order` works per-element */
    .mhfx-hero__copy {
        display: contents;
    }

    /* Order: 1 title+lede  →  2 image  →  3 CTAs  →  4–6 trust copy */
    .mhfx-hero__copy-head   { order: 1; }
    .mhfx-hero__visual      { order: 2; }
    .mhfx-hero__actions     { order: 3; margin-top: 0; }
    .mhfx-hero__trust-line  { order: 4; }
    .mhfx-hero__reg-line    { order: 5; }
    .mhfx-hero__trust-icons { order: 6; }

    .mhfx-hero__title {
        max-width: none;
        font-size: clamp(1.6rem, 7vw, 2.15rem);
    }

    .mhfx-hero__lede {
        font-size: 1rem;
    }

    .mhfx-hero__actions {
        flex-direction: row;
        align-items: center;
        flex-wrap: nowrap;
        gap: 10px;
        margin-top: 1.25rem;
    }

    .mhfx-hero__actions .mhfx-btn {
        flex: 1;
        justify-content: center;
        min-height: 48px;
        box-sizing: border-box;
        padding: 12px 14px;
        font-size: 0.875rem;
    }

    .mhfx-hero__visual {
        max-width: 28rem;
        margin-left: auto;
        margin-right: auto;
    }

    .tp-hero-anim__streams {
        display: none;
    }

    .tp-hero-anim {
        min-height: clamp(248px, 78vw, 360px);
        padding-bottom: clamp(16px, 5vw, 28px);
    }

    .mhfx-hero__visual--react #hero-animation-root {
        min-height: 280px;
    }

    .tp-hero-anim__laptop {
        width: min(100%, 340px);
        height: min(210px, 54vw);
        max-height: 230px;
    }

    .tp-hero-anim__laptop-wrap {
        animation-name: tp-hero-laptop-in-mobile;
    }

    .tp-hero-anim__phone-wrap {
        right: 0;
        bottom: 6px;
        transform: translateX(36px) rotate(4deg) scale(0.86);
        animation-name: tp-hero-phone-in-mobile;
    }

    .tp-hero-anim__phone-device {
        width: min(148px, 36vw);
        border-radius: 22px;
        padding: 6px;
    }

    .tp-hero-anim__phone-device--dash {
        width: min(152px, 38vw);
        padding: 5px;
    }

    .tp-hero-anim__dash {
        max-height: min(220px, 36vh);
        border-radius: 16px;
    }

    .btn-label--mobile  { display: inline; }
    .btn-label--desktop { display: none; }

    .mhfx-hero__trust-icons {
        gap: 8px 10px;
        margin-top: 1.1rem;
    }

    .mhfx-hero__trust-ico {
        width: 38px;
        height: 38px;
        border-radius: 10px;
    }

    .mhfx-hero__trust-ico svg {
        width: 20px;
        height: 20px;
    }

    .mhfx-trustsec {
        padding: clamp(40px, 8vw, 56px) 0;
    }

    .mhfx-trustsec__stat {
        padding: 16px 12px;
    }

    .mhfx-trustsec__card {
        padding: 18px 16px;
    }

    .mhfx-testimonials {
        padding: clamp(40px, 8vw, 56px) 0;
    }

    .mhfx-t-slide {
        padding: 1.125rem 1rem;
    }

    /* Mobile app section — prevent phone mockups from causing horizontal overflow */
    .mhfx-mobile-app {
        padding: clamp(40px, 8vw, 56px) 0;
        overflow-x: hidden;
    }

    .mhfx-mobile-app__grid {
        gap: 20px;
    }

    .mhfx-mobile-app__visual {
        overflow: hidden;
        min-height: clamp(240px, 64vw, 340px);
        padding: 8px 4px;
    }

    .mhfx-mobile-app__title {
        font-size: clamp(1.35rem, 6vw, 1.75rem);
    }

    .mhfx-mobile-app__lede {
        font-size: 0.9375rem;
    }

    .mhfx-mobile-app__reasons {
        font-size: 0.875rem;
    }

    .mhfx-mobile-app__stores {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        margin-top: 1.25rem;
    }

    .mhfx-mobile-app__store-btn {
        width: 100%;
        max-width: none;
        box-sizing: border-box;
        min-height: 52px;
    }

    .mhfx-mobile-app__coming {
        margin-top: 0.5rem;
    }

    .mhfx-infra-trust {
        padding: clamp(40px, 8vw, 56px) 0;
    }

    .mhfx-escrowflow {
        padding: clamp(40px, 8vw, 56px) 0;
    }

    .mhfx-escrowflow__grid {
        gap: 12px;
    }

    .mhfx-finalcta {
        padding: clamp(48px, 11vw, 72px) 0;
    }

    .mhfx-finalcta__title {
        font-size: clamp(1.45rem, 6.5vw, 1.85rem);
    }

    .mhfx-finalcta__lede {
        font-size: 0.9375rem;
        padding: 0 2px;
    }

    .mhfx-finalcta__btn {
        display: flex;
        width: 100%;
        max-width: 22rem;
        margin: 1.5rem auto 0;
        box-sizing: border-box;
        min-height: 48px;
    }

    .mhfx-home-market .pm-browse-root {
        padding-left: max(16px, env(safe-area-inset-left, 0px), 2.5vw);
        padding-right: max(16px, env(safe-area-inset-right, 0px), 2.5vw);
    }

    .mhfx-home-market .pm-mock-hero__title {
        text-align: center;
    }

    .mhfx-home-market .pm-mock-hero__subtitle {
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }

    .mhfx-home-market .pm-mock-hero__links {
        justify-content: center;
        text-align: center;
    }

    .mhfx-footer {
        padding: 40px 0 max(28px, env(safe-area-inset-bottom, 0px));
    }

    .mhfx-footer__text {
        max-width: none;
    }

    .mhfx-footer__copy {
        margin-top: 28px;
        padding-top: 20px;
        padding-left: 4px;
        padding-right: 4px;
        line-height: 1.45;
    }

    .mhfx-footer__bar {
        margin-top: 28px;
        padding-top: 20px;
        padding-left: 4px;
        padding-right: 4px;
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
    }

    .mhfx-footer__bar-left {
        min-width: 0;
    }

    .mhfx-footer__bar-nav {
        justify-content: flex-start;
    }
}

/* —— Global deal creation modal —— */
.tp-deal-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.tp-deal-modal[hidden] {
    display: none !important;
}

body.tp-deal-modal--open {
    overflow: hidden;
}

.tp-deal-modal__backdrop {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(15, 23, 42, 0.55);
    cursor: pointer;
}

.tp-deal-modal__dialog {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 28rem;
    max-height: min(90vh, 720px);
    overflow: auto;
    background: #fff;
    color: #111827;
    border-radius: 16px;
    padding: 1.5rem 1.35rem 1.35rem;
    box-shadow: 0 24px 64px rgba(15, 23, 42, 0.25);
    text-align: left;
}

.tp-deal-modal__x {
    position: absolute;
    top: 10px;
    right: 12px;
    width: 2.25rem;
    height: 2.25rem;
    border: none;
    border-radius: 8px;
    background: #f3f4f6;
    color: #374151;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tp-deal-modal__x:hover {
    background: #e5e7eb;
}

.tp-deal-modal__title {
    margin: 0 2rem 0.35rem 0;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #111827;
}

.tp-deal-modal__sub {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6b7280;
}

.tp-deal-modal__auth-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 0.5rem;
}

.tp-deal-modal__fineprint {
    margin: 1rem 0 0;
    font-size: 0.8125rem;
}

.tp-deal-modal__fineprint a {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.tp-deal-modal__fineprint a:hover {
    text-decoration: underline;
}

.tp-deal-modal__label {
    display: block;
    margin: 0.65rem 0 0.25rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
}

.tp-deal-modal__input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.55rem 0.65rem;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 0.9375rem;
    font-family: inherit;
}

.tp-deal-modal__textarea {
    min-height: 5rem;
    resize: vertical;
}

.tp-deal-modal__hint {
    margin: 0.35rem 0 0;
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.4;
}

.tp-deal-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.65rem 1rem;
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.tp-deal-modal__btn--primary {
    background: #2563eb;
    color: #fff;
}

.tp-deal-modal__btn--primary:hover {
    background: #1d4ed8;
}

.tp-deal-modal__btn--ghost {
    background: #f3f4f6;
    color: #1f2937;
}

.tp-deal-modal__btn--ghost:hover {
    background: #e5e7eb;
}

.tp-deal-modal__submit {
    width: 100%;
    margin-top: 1rem;
    padding: 0.75rem 1rem;
}

.tp-deal-modal__paynote {
    margin: 0.75rem 0 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: #6b7280;
}

button.tp-open-deal {
    font: inherit;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   SHARED PAGE HERO  — dark navy, centered, full-bleed
   Used on all marketing pages (except homepage)
   ═══════════════════════════════════════════════════════════════ */

.page-hero {
    /* Break out of .container's 20px padding to achieve full-bleed */
    margin-left: calc(-1 * max(20px, env(safe-area-inset-left, 0px)));
    margin-right: calc(-1 * max(20px, env(safe-area-inset-right, 0px)));
    margin-bottom: 0;
    border-bottom: none;
    background: linear-gradient(160deg, #071220 0%, #0a1f3a 55%, #0d2a4e 100%);
    padding: clamp(56px, 9vw, 96px) max(24px, max(20px, env(safe-area-inset-left, 0px))) clamp(48px, 8vw, 80px);
    text-align: center;
}

.page-hero__inner {
    max-width: 760px;
    margin: 0 auto;
}

.page-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #22d3ee;
}

/* Higher specificity [0,2,0] beats old .page-hero h1 [0,1,1] */
.page-hero .page-hero__title {
    margin: 0 0 16px;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
    max-width: none;
}

.page-hero .page-hero__sub {
    margin: 0 auto 28px;
    font-size: clamp(0.9375rem, 2vw, 1.0625rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    max-width: 620px;
}

.page-hero__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Marketing content wrapper — matches tutorial page max-width */
.marketing-wrap {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

/* Marketplace page hero — sits directly in <main> without a .container wrapper,
   so the negative margin breakout is not needed and must be suppressed */
.pm-browse-hero {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* ═══════════════════════════════════════════════════════════════
   TUTORIALS PAGE
   ═══════════════════════════════════════════════════════════════ */

.tuts-page {
    background: #f8fafc;
    min-height: 100vh;
}

/* Hero */
.tuts-hero {
    background: linear-gradient(160deg, #071220 0%, #0a1f3a 55%, #0d2a4e 100%);
    padding: clamp(56px, 9vw, 96px) 0 clamp(48px, 8vw, 80px);
    text-align: center;
}

.tuts-hero__inner {
    max-width: 680px;
    margin: 0 auto;
    padding: 0 24px;
}

.tuts-hero__eyebrow {
    margin: 0 0 14px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #22d3ee;
}

.tuts-hero__title {
    margin: 0 0 18px;
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    line-height: 1.15;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.tuts-hero__sub {
    margin: 0 auto;
    font-size: clamp(0.95rem, 2vw, 1.0625rem);
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.65;
    max-width: 560px;
}

/* Main content wrapper */
.tuts-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 max(20px, 3vw) clamp(48px, 8vw, 80px);
}

/* Section */
.tuts-section {
    padding-top: clamp(40px, 6vw, 64px);
}

.tuts-section__heading {
    margin: 0 0 24px;
    font-size: clamp(1.1rem, 2.5vw, 1.375rem);
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Grid layouts */
.tuts-grid {
    display: grid;
    gap: 18px;
}

.tuts-grid--3 {
    grid-template-columns: repeat(3, 1fr);
}

.tuts-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

/* Tutorial card */
.tuts-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.tuts-card:hover {
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.1);
    transform: translateY(-2px);
}

/* Thumbnail area */
.tuts-card__thumb {
    background: linear-gradient(145deg, #0d2040 0%, #0a1628 100%);
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #22d3ee;
    flex-shrink: 0;
}

/* Card body */
.tuts-card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.tuts-card__badge {
    display: inline-block;
    margin-bottom: 8px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #0891b2;
}

.tuts-card__title {
    margin: 0 0 8px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.35;
}

.tuts-card__desc {
    margin: 0 0 16px;
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.6;
    flex: 1;
}

.tuts-card__watch {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    cursor: pointer;
}

.tuts-card__watch span {
    color: #0891b2;
    font-size: 0.75rem;
}

/* CTA section */
.tuts-cta {
    background: linear-gradient(160deg, #071220 0%, #0a1f3a 60%, #0d2a4e 100%);
    padding: clamp(56px, 9vw, 88px) 24px;
    text-align: center;
    margin-top: clamp(40px, 6vw, 64px);
}

.tuts-cta__inner {
    max-width: 560px;
    margin: 0 auto;
}

.tuts-cta__title {
    margin: 0 0 14px;
    font-size: clamp(1.6rem, 4vw, 2.25rem);
    font-weight: 800;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.tuts-cta__sub {
    margin: 0 0 28px;
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
}

.tuts-cta__actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.tuts-cta__ghost {
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
}

.tuts-cta__ghost:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.6) !important;
}

/* tutorial watch button (was span, now button) */
.tuts-card__watch {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    font-family: inherit;
}

/* Responsive */
@media (max-width: 900px) {
    .tuts-grid--4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .tuts-grid--3,
    .tuts-grid--4 {
        grid-template-columns: 1fr;
    }
    .tuts-card__thumb {
        height: 80px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   TUTORIAL VIDEO MODAL
   ═══════════════════════════════════════════════════════════════ */

body.tuts-modal--open {
    overflow: hidden;
}

.tuts-modal {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    box-sizing: border-box;
}

.tuts-modal[hidden] {
    display: none;
}

/* Backdrop */
.tuts-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(10, 15, 30, 0.6);
    backdrop-filter: blur(3px);
    cursor: pointer;
}

/* White panel */
.tuts-modal__panel {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 1060px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    box-shadow: 0 24px 64px rgba(10, 15, 30, 0.25);
    padding: 28px 32px 32px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

/* Top bar: badge + close */
.tuts-modal__topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.tuts-modal__badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    background: #cffafe;
    color: #0e7490;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
}

.tuts-modal__close {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #374151;
    font-size: 0.8125rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
}

.tuts-modal__close:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

/* Title + subtitle */
.tuts-modal__title {
    margin: 0 0 6px;
    font-size: clamp(1.35rem, 3vw, 1.75rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.tuts-modal__subtitle {
    margin: 0 0 20px;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
}

/* Two-column body */
.tuts-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* Left: video */
.tuts-modal__left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tuts-modal__video-wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    background: #0d2040;
}

.tuts-modal__video-wrap iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.tuts-modal__video-note {
    margin: 0;
    font-size: 0.78rem;
    color: #94a3b8;
    line-height: 1.5;
}

.tuts-modal__video-note code {
    font-family: ui-monospace, monospace;
    background: #f1f5f9;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 0.75rem;
}

/* Right: steps */
.tuts-modal__right {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tuts-modal__steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.tuts-modal__step {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.tuts-modal__step-num {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0d2040;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin-top: 1px;
}

.tuts-modal__step-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
}

.tuts-modal__step-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
}

.tuts-modal__step-desc {
    font-size: 0.8125rem;
    color: #64748b;
    line-height: 1.55;
}

/* Bottom actions */
.tuts-modal__actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-top: 4px;
    border-top: 1px solid #f1f5f9;
}

.tuts-modal__secondary {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    text-decoration: none;
    transition: color 0.15s;
}

.tuts-modal__secondary:hover {
    color: #0891b2;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 760px) {
    .tuts-modal__panel {
        padding: 20px 18px 24px;
        border-radius: 12px;
    }
    .tuts-modal__body {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .tuts-modal__title {
        font-size: 1.25rem;
    }
}

/* ══════════════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATION — Compact phone view (≤480px)
   Afripay Global Marketing / Public Pages
   ══════════════════════════════════════════════════════════════════════ */

@media (max-width: 480px) {

  /* ── Base ─────────────────────────────────────────────── */
  html { -webkit-text-size-adjust: 100%; }
  body { overflow-x: hidden; }

  /* ── Site header / nav ───────────────────────────────── */
  .site-header { padding: 0 12px; min-heighng: 8px 12px; }
  .nav-pill { padding: 8px 12px; font-size: 0.875rem; }
  .mega-wrap { padding: 0; }
  .mega-panel { padding: 12px; gap: 14px; }
  .auth-links { padding: 12px 16px; }
  .auth-links__cta { width: 100%; text-align: center; justify-content: center; }
   Afripay Global Marketing / Public Pages
   ═══───── */
  .page-hero, .sales-hero, .mhfx-hero { padding: clamp(32px, 8vw, 48px) 0; }
  .page-hero__eyebrow { font-size: 0.7rem; }
  .page-hero__title, .mhfx-hero__title {
    font-size: clamp(1.6rem, 7vw, 2rem);
    line-height: 1.2;
  }
  .page-hero__sub, .mhfx-hero__sub { font-s  html { .page-hero__actions, .sales-hero__actions {
    flex-direction: column; gap: 10px;
    align-items: stretch;
  }
  .page-hero__actions .btn,
  .sales-hero__actions .btn { width: 100%; text-align: center; padding: 12px 16px; font  .site-header { padding: 0 12px; min-heighing: 0 16px; }

  /* ── Marketing content sections ───────────? .nav-pill { padding: 8px 12px; font-size: 0.875rem; }
 rketing-wrap { padding: 0 16px; }
  .sales-band { padding: 28px 16px; }
  .sales-band h2 { font-size: clamp(1.3rem, 5.5vw, 1.6rem); }

  /* Sales pillars: 1-column on ph   Afripay Global Marketing / Public Pages
   ══?mportant; gap: 12px; }
  .sales-pillar { padding: 18px 16px; }
  .sales-pillar h3 { font-size: 1rem; }

  /* Sales map grid: 1-col */
  .sales-map__grid { grid-template-columns: 1fr !important; gap: 12px; }
  .sales-spotli    font-size: clamp(1.6rem, 7vw, 2rem)ks section */
  .hiw-section { padding: 32px 0; }
  .hiw-section__head { gap: 12px; flex-direction: column; }
  .hiw-section__icon { font-size: 2rem; }
  .hiw-section__title { font-size: 1.2rem; }
  .hiw-steps { gap: 14px; }
  .hiw-step { gap: 10px; }
  .hiw-ste
  /* ── Marketing content sections ───────────? .nav-pill { padding: 8px 12px; font-size: 0.875remrap: wrap; }
  .hiw-quick-nav__item { font-size: 0.75rem; padding: 4px 10px; }

  /* CTA bar */
  .sales-cta-bar { padding: 32px 16px; text-align: center; }
  .sales-cta-bar h2 { font-size: 1.3rem; }
  .sales-cta-bar .btn { display: block; width: 100%; margin: 8px 0 0; text-align: center; }

  /* Partners page */
  .partners-squeeze__split-inner { flex-direction: column !important; }
  .partner  .sales-pillar h3 { font-size: 1r}
  .partners-squeeze__form-card { padding: 20px 16px; }
  .partners-squeeze__fields { gap: 10px; }
  .partners-squeeze__label--half { min-width: 0; }

  /* About / Legal / Help-center */
  .about-powered__inner { padding: 20px 16px; }
  .sales-legal-doc__chips { flex-wrap: wrap; gap: 6px; }
  .chip { font-size:   .hiw-section__title { font-size: 1.2reooter ───────────────────────────────────? .hiw-quick-nav__item { font-size: 0.75rem; padding: 4px 10px; }

  /* CTA bar */
  .sales-child { grid-column: 1 / -1; }
  .footer-brand-logo { max-width: 140px; height: auto; }
  .mhfx-footer__heading { font-size: 0.75rem; margin-bottom: 8px; }
  .mhfx-footer__list { gap: 6px; }
  .mhfx-footer__list a { font-size: 0.8125rem; }
  .mhfx-footer__bar { flex-direction: column; gap: 8px; text-align: center; font-size:   .partners-squeeze_oo  .partner  .sales-pillar h3 { font-size: 1r}
  .partncontent: center; font-size: 0.75rem; }
  .mhfx-footer__bar-sep { display: none; }

  /* ── Auth pages ────? .partners-squeez───── */
  .aut
  /* About / Legal / Help-center */
  .about16px; }
  .auth-standalone-card h2 { font-size: 1.3rem; }
  .field-input { font-size: 16px; } /* prevents iOS zoom */
  .btn.btn-primary[style*="wid
  /* CTA bar */
  .salex; font-size: 0.9375rem; }

  /* ── Property pages ──────────────────────────────────── */
  .mhfx-prop-grid { grid-template-columns: 1fr !important; }
  .p────────────────────── */
  .get-started-wrap, .get-started-card { padding: 20px 16px; }

  /* ── Tutorials page ─────────────────────────────? .partncontent: center; font-size: 0.75rem; }
  .mhfx-footer__bar-sep { display: none; }

  /* ── Auth pages ────? .partners-squeez──p: 8px; }
  .btn-row .btn { width: 100%; text-align: center; }
}

/* Extra-small phones (≤360px) */
@media (max-width: 360px) {
  .page-hero__title, .mhfx-hero__title { font-size: 1.5rem; }
  .sales-pillars { gap: 10px; }
  .  .field-input { font-size: 16px; } /* prevents portant; }
  .auth-standalone-card { padding: 18px 14px; }
}
