:root {
    --primary: #1E73D8;
    --secondary: #6A2FD8;
    --accent: #2EA6F7;
    --text: #111827;
    --subtitle: #7A7A7A;
    --background: #FFFFFF;
    --background-soft: #F8FAFC;
    --border: #E5E7EB;
    --shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
    --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.06);
    --gradient-main: linear-gradient(135deg, #2EA6F7, #1E73D8, #6A2FD8);
    --gradient-button: linear-gradient(135deg, #2EA6F7, #6A2FD8);
    --container: 1180px;
    --radius-xl: 28px;
    --radius-lg: 24px;
    --radius-md: 16px;
    --radius-sm: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--background);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.site-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.10);
    background: #050b18;
    color: rgba(248, 250, 252, 0.72);
}

.site-footer__inner {
    display: flex;
    min-height: 92px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 18px;
    padding: 24px 0;
    text-align: center;
}

.site-footer span {
    color: #f8fafc;
    font-weight: 900;
}

.site-footer__brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    height: 42px;
    color: #f8fafc;
}

.site-footer__mark {
    display: inline-grid;
    flex: 0 0 auto;
    width: 34px;
    height: 34px;
    place-items: center;
    overflow: hidden;
    border-radius: 12px;
    background: #f8fbff;
    box-shadow: 0 12px 22px rgba(30, 115, 216, 0.22);
}

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

.site-footer__word {
    color: inherit;
    font-size: 1rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
}

.site-footer__word span {
    color: #2ea6f7;
}

.site-footer nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
}

.site-footer a {
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.92rem;
    font-weight: 800;
    text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: #ffffff;
}

.legal-page {
    background:
        radial-gradient(circle at top left, rgba(46, 166, 247, 0.22), transparent 34rem),
        linear-gradient(180deg, #06111f 0%, #050b18 46%, #08111f 100%);
    color: #f8fafc;
}

.legal-hero {
    padding: clamp(64px, 10vw, 112px) 0 34px;
}

.legal-hero__card {
    display: grid;
    max-width: 920px;
    gap: 18px;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    background: rgba(8, 17, 31, 0.78);
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
}

.legal-hero h1 {
    max-width: 760px;
    color: #ffffff;
    font-size: clamp(2.35rem, 6vw, 4.6rem);
    line-height: 0.96;
    letter-spacing: -0.06em;
}

.legal-hero p {
    max-width: 720px;
    color: rgba(248, 250, 252, 0.72);
    font-size: 1.08rem;
    font-weight: 700;
}

.legal-updated {
    color: rgba(148, 163, 184, 0.86) !important;
    font-size: 0.92rem !important;
}

.legal-section {
    padding: 26px 0 clamp(72px, 10vw, 120px);
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.legal-grid--support {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.legal-card {
    display: flex;
    min-height: 250px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 24px;
    background: rgba(15, 23, 42, 0.72);
}

.legal-card--highlight {
    background: linear-gradient(135deg, rgba(30, 115, 216, 0.34), rgba(46, 166, 247, 0.14));
}

.legal-card h2 {
    color: #ffffff;
    font-size: 1.2rem;
    line-height: 1.15;
}

.legal-card p {
    color: rgba(248, 250, 252, 0.72);
    font-size: 0.96rem;
    font-weight: 650;
}

.legal-card .btn {
    margin-top: auto;
}

@media (max-width: 900px) {
    .legal-grid,
    .legal-grid--support {
        grid-template-columns: 1fr;
    }

    .legal-card {
        min-height: auto;
    }
}

@media (max-width: 720px) {
    .site-footer__inner {
        align-items: center;
    }

    .legal-hero {
        padding-top: 44px;
    }

    .legal-hero__card {
        border-radius: 24px;
    }
}

/* App-like mobile bottom navigation for authenticated product pages. */
@media (max-width: 1024px) and (hover: none), (max-width: 1024px) and (pointer: coarse) {
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) {
        padding-bottom: calc(108px + env(safe-area-inset-bottom));
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) main {
        padding-bottom: calc(20px + env(safe-area-inset-bottom));
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header {
        padding: 0;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav {
        width: min(100% - 20px, var(--container));
        min-height: 62px;
        display: flex;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        padding: 8px 0;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .logo-wrap {
        min-width: 0;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .logo-wordmark {
        font-size: 0.94rem;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions {
        order: 2;
        width: auto;
        min-width: 0;
        flex: 0 0 auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 8px;
        overflow: visible;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions .theme-toggle {
        width: 96px;
        min-width: 96px;
        height: 38px;
        min-height: 38px;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions .nav-icon-button {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu {
        position: fixed;
        z-index: 90;
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        order: 4;
        display: flex !important;
        grid-template-columns: none !important;
        align-items: center;
        justify-items: stretch;
        width: auto;
        max-width: none;
        height: 86px;
        gap: 9px;
        padding: 10px;
        overflow-x: auto !important;
        overflow-y: hidden;
        overscroll-behavior-x: contain;
        touch-action: pan-x;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 24px;
        background:
            linear-gradient(180deg, rgba(18, 24, 44, 0.94), rgba(9, 13, 27, 0.96)),
            rgba(9, 13, 27, 0.92);
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
        backdrop-filter: blur(18px);
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu::-webkit-scrollbar {
        display: none;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu a,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .public-menu-link {
        flex: 0 0 84px;
        width: 84px;
        min-width: 84px;
        height: 66px;
        min-height: 66px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: 18px;
        border-color: transparent;
        color: rgba(236, 241, 255, 0.72);
        background: transparent;
        scroll-snap-align: center;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link svg,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .public-menu-link svg {
        width: 24px;
        height: 24px;
        stroke-width: 2.1;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .nav-action__text {
        position: static;
        width: auto;
        height: auto;
        clip: auto;
        overflow: hidden;
        max-width: 74px;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 0.72rem;
        font-weight: 800;
        line-height: 1;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link:hover,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link:focus-visible,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link.is-active {
        color: #ffffff;
        border-color: rgba(123, 140, 255, 0.28);
        background: linear-gradient(135deg, rgba(46, 166, 247, 0.22), rgba(106, 47, 216, 0.22));
        transform: none;
    }

    body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.94);
        box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16);
    }

    body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu a,
    body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link {
        color: rgba(15, 23, 42, 0.62);
    }

    body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link:hover,
    body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link:focus-visible,
    body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link.is-active {
        color: #1E73D8;
        border-color: rgba(30, 115, 216, 0.16);
        background: rgba(30, 115, 216, 0.08);
    }
}

@media (min-width: 1025px), (hover: hover) and (pointer: fine) {
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) {
        padding-bottom: 0 !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu {
        position: static !important;
        inset: auto !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        overflow: visible !important;
        border-radius: 999px !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }
}
@media (max-width: 390px) {
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu a,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link {
        flex-basis: 78px;
        width: 78px;
        min-width: 78px;
    }
}

body.landing-page {
    --primary: #7b8cff;
    --secondary: #5eead4;
    --accent: #60a5fa;
    --text: #f5f7ff;
    --subtitle: #aab3d1;
    --background: #0b1020;
    --background-soft: #121933;
    --border: rgba(255, 255, 255, 0.1);
    --card: rgba(255, 255, 255, 0.06);
    --card-strong: rgba(255, 255, 255, 0.09);
    --shadow: 0 24px 70px rgba(0, 0, 0, 0.36);
    --shadow-soft: 0 14px 34px rgba(0, 0, 0, 0.24);
    --gradient-main: linear-gradient(135deg, #5eead4, #60a5fa, #7b8cff);
    --gradient-button: linear-gradient(135deg, #5eead4, #7b8cff);
    background:
        radial-gradient(circle at top left, rgba(109, 124, 255, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(80, 180, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #0a0f1f 0%, #0b1020 100%);
}

body.landing-page[data-theme="light"] {
    --primary: #1E73D8;
    --secondary: #6A2FD8;
    --accent: #2EA6F7;
    --text: #111827;
    --subtitle: #64748b;
    --background: #ffffff;
    --background-soft: #f8fafc;
    --border: #e5e7eb;
    --card: #ffffff;
    --card-strong: #ffffff;
    --shadow: 0 20px 60px rgba(17, 24, 39, 0.08);
    --shadow-soft: 0 10px 30px rgba(17, 24, 39, 0.06);
    --gradient-main: linear-gradient(135deg, #2EA6F7, #1E73D8, #6A2FD8);
    --gradient-button: linear-gradient(135deg, #2EA6F7, #6A2FD8);
    background: var(--background);
}

body.not-found-body {
    min-height: 100vh;
}

.not-found-page {
    display: grid;
    min-height: calc(100vh - 78px);
    padding: 72px 16px;
    place-items: center;
}

.not-found-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.55fr);
    gap: 18px;
    width: min(100%, 980px);
}

.not-found-panel,
.not-found-guide {
    border: 1px solid var(--border);
    border-radius: 18px;
    background: var(--card);
    box-shadow: var(--shadow-soft);
}

.not-found-panel {
    padding: clamp(28px, 5vw, 48px);
}

.not-found-kicker {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--secondary);
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
}

.not-found-panel h1 {
    max-width: 640px;
    margin-bottom: 14px;
    font-size: clamp(2rem, 6vw, 4.7rem);
    line-height: 1;
}

.not-found-panel p {
    max-width: 610px;
    color: var(--subtitle);
    font-size: 1.04rem;
}

.not-found-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.not-found-guide {
    display: grid;
    align-content: center;
    overflow: hidden;
}

.not-found-guide article {
    padding: 18px;
    border-bottom: 1px solid var(--border);
}

.not-found-guide article:last-child {
    border-bottom: 0;
}

.not-found-guide strong,
.not-found-guide span {
    display: block;
}

.not-found-guide strong {
    margin-bottom: 5px;
}

.not-found-guide span {
    color: var(--subtitle);
    font-size: 0.92rem;
}

a {
    text-decoration: none;
    color: inherit;
}

button,
input,
textarea,
select {
    font: inherit;
}

.container {
    width: min(calc(100% - 2rem), var(--container));
    margin-inline: auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    color: #f5f7ff;
    background: rgba(10, 15, 31, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.landing-page .site-header {
    background: rgba(11, 16, 32, 0.86);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.landing-page[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(229, 231, 235, 0.8);
}

body[data-theme="light"] .site-header {
    color: #111827;
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header {
    color: #f5f7ff !important;
    background: rgba(10, 15, 31, 0.88) !important;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .logo-wrap,
body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .logo-text,
body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .logo-wordmark {
    color: #f5f7ff !important;
}

body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu a {
    color: #aab3d1 !important;
}

body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu .menu-icon-link {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-color: transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
}

body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu .menu-icon-link:hover,
body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu .menu-icon-link:focus-visible,
body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu .menu-icon-link.is-active {
    color: #6d7cff !important;
    border-color: rgba(123, 140, 255, 0.34) !important;
    background: rgba(123, 140, 255, 0.12) !important;
}

body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .theme-toggle {
    border-color: rgba(255, 255, 255, 0.1) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #f5f7ff !important;
}

body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .nav-actions .btn,
body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .nav-actions .btn-nav,
body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .nav-actions .btn-secondary,
body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .nav-icon-button {
    width: 42px !important;
    min-width: 42px !important;
    height: 42px !important;
    min-height: 42px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
    background: rgba(255, 255, 255, 0.07) !important;
    color: #f5f7ff !important;
    box-shadow: none !important;
}

body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header {
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border-bottom-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: none !important;
}

body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .logo-wrap,
body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .logo-text,
body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .logo-wordmark {
    color: #111827 !important;
}

body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu a {
    color: #5b6475 !important;
}

body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu .menu-icon-link:hover,
body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu .menu-icon-link:focus-visible,
body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .menu .menu-icon-link.is-active {
    color: #1E73D8 !important;
    border-color: rgba(30, 115, 216, 0.22) !important;
    background: rgba(30, 115, 216, 0.08) !important;
}

body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .theme-toggle {
    border-color: rgba(15, 23, 42, 0.1) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #111827 !important;
}

body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .nav-actions .btn,
body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .nav-actions .btn-nav,
body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .nav-actions .btn-secondary,
body[data-theme="light"]:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header .nav-icon-button {
    border-color: rgba(15, 23, 42, 0.1) !important;
    background: rgba(255, 255, 255, 0.92) !important;
    color: #111827 !important;
    box-shadow: none !important;
}

.nav {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0;
    min-height: 44px;
    padding: 4px 8px 4px 0;
    border-radius: 999px;
    font-weight: 700;
    font-size: 1.1rem;
    color: #f5f7ff;
    text-decoration: none;
    transition: background 0.18s ease, transform 0.18s ease;
}

body[data-theme="light"] .logo-wrap {
    color: #111827;
}

.logo-wrap:hover {
    background: rgba(123, 140, 255, 0.1);
    transform: translateY(-1px);
}

.logo-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: auto;
    height: 46px;
}

.logo-brand__mark {
    display: inline-grid;
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    place-items: center;
    overflow: hidden;
    border-radius: 14px;
    background: #f8fbff;
    box-shadow: 0 14px 28px rgba(30, 115, 216, 0.28);
}

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

.logo-brand__word {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

.logo-brand__word span {
    color: #2ea6f7;
}

body[data-theme="light"] .logo-brand__word {
    color: #07162e;
}

.logo-mark {
    display: inline-grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border-radius: 999px;
    background:
        radial-gradient(circle at 28% 24%, rgba(255, 255, 255, 0.42), transparent 34%),
        linear-gradient(135deg, #2ea6f7 0%, #6d7cff 48%, #6a2fd8 100%);
    box-shadow: 0 14px 28px rgba(46, 166, 247, 0.22);
}

.logo-mark svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #ffffff;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.15;
}

.logo-mark rect {
    stroke: rgba(255, 255, 255, 0.34);
    fill: rgba(255, 255, 255, 0.08);
}

.logo-wordmark {
    display: inline-flex;
    align-items: baseline;
    color: inherit;
    font-size: 1.02rem;
    font-weight: 850;
    letter-spacing: 0;
    line-height: 1;
}

.logo-wordmark span:last-child {
    color: var(--primary);
}

.menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu a {
    color: #aab3d1;
    font-size: 0.96rem;
    font-weight: 500;
    transition: 0.2s ease;
}

body[data-theme="light"] .menu a {
    color: #5b6475;
}

.menu a:hover {
    color: var(--primary);
}

.menu .menu-icon-link {
    display: inline-grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #aab3d1;
    background: transparent;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.menu .public-menu-link {
    display: inline-grid;
    width: 42px;
    height: 42px;
    min-width: 42px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 0;
    background: transparent;
}

.menu .menu-icon-link:hover,
.menu .menu-icon-link:focus-visible,
.menu .menu-icon-link.is-active,
.menu .public-menu-link:hover,
.menu .public-menu-link:focus-visible {
    border-color: rgba(123, 140, 255, 0.34);
    background: rgba(123, 140, 255, 0.12);
    color: var(--primary);
    transform: translateY(-1px);
}

.menu .menu-icon-link svg,
.menu .public-menu-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.05;
}

.menu .public-menu-link {
    display: inline-grid;
    width: 42px;
    min-width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #aab3d1;
    background: transparent;
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.menu .public-menu-link:hover,
.menu .public-menu-link:focus-visible {
    border-color: rgba(123, 140, 255, 0.34);
    background: rgba(123, 140, 255, 0.12);
    color: var(--primary);
    transform: translateY(-1px);
}

.menu .public-menu-link--primary {
    color: #f8fafc;
    border-color: rgba(94, 234, 212, 0.28);
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.2), rgba(123, 140, 255, 0.24));
}

body.landing-page[data-theme="light"] .menu .public-menu-link--primary,
body[data-theme="light"] .menu .public-menu-link--primary {
    color: #1E73D8;
    border-color: rgba(30, 115, 216, 0.18);
    background: rgba(30, 115, 216, 0.08);
}

.menu .public-menu-link svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.05;
}

.theme-toggle {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    width: 116px;
    min-width: 116px;
    height: 42px;
    min-height: 42px;
    padding: 3px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.18);
    color: var(--text);
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: rgba(123, 140, 255, 0.42);
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.12);
}

.theme-toggle__option {
    position: relative;
    z-index: 1;
    display: inline-flex;
    height: 34px;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 999px;
    place-items: center;
    color: var(--subtitle);
    opacity: 0.55;
    transition: color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.theme-toggle__option svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.theme-toggle__option span {
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0;
}

.theme-toggle__track {
    position: absolute;
    inset: 3px;
    border-radius: 999px;
    background: transparent;
    pointer-events: none;
}

.theme-toggle__thumb {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(50% - 1.5px);
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(135deg, #93c5fd, #4f46e5);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.22);
    transition: transform 0.22s ease, background 0.22s ease;
}

.theme-toggle[data-current-theme="light"] {
    background: rgba(255, 255, 255, 0.92);
}

.theme-toggle[data-current-theme="light"] .theme-toggle__option--light,
.theme-toggle[data-current-theme="dark"] .theme-toggle__option--dark {
    opacity: 1;
    color: #ffffff;
}

.theme-toggle[data-current-theme="light"] .theme-toggle__thumb {
    transform: translateX(calc(100% + 3px));
    background: linear-gradient(135deg, #fde68a, #f59e0b);
}

.theme-toggle[data-current-theme="light"] .theme-toggle__option--light {
    color: #1f2937;
}

.theme-toggle[data-current-theme="dark"] .theme-toggle__option--dark {
    color: #ffffff;
}

.theme-toggle__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-nav {
    color: white;
    background: var(--gradient-button);
    box-shadow: 0 12px 30px rgba(106, 47, 216, 0.18);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-nav {
    color: white;
    background: var(--gradient-button);
    box-shadow: 0 12px 30px rgba(106, 47, 216, 0.18);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    border: none;
    border-radius: 12px;
    padding: 0 22px;
    font: inherit;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.1;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease, background 0.2s ease;
    cursor: pointer;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary,
.btn-nav {
    color: white;
    background: var(--gradient-button);
    box-shadow: 0 12px 30px rgba(106, 47, 216, 0.18);
}

.btn-secondary {
    background: white;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    box-shadow: var(--shadow-soft);
}

.btn-tertiary {
    background: var(--gradient-button);
    color: white;
    border: none;
    box-shadow: 0 12px 30px rgba(106, 47, 216, 0.18);
}

.btn-tertiary:hover {
    box-shadow: var(--shadow-soft);
    opacity: 0.95;
}

.hero {
    padding: 5.5rem 0 4.5rem;
    background:
        radial-gradient(circle at top left, rgba(46, 166, 247, 0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(106, 47, 216, 0.10), transparent 28%),
        var(--background);
}

body.landing-page .hero {
    background:
        radial-gradient(circle at top left, rgba(94, 234, 212, 0.12), transparent 30%),
        radial-gradient(circle at top right, rgba(123, 140, 255, 0.16), transparent 28%),
        transparent;
}

body.landing-page[data-theme="light"] .hero {
    background:
        radial-gradient(circle at top left, rgba(46, 166, 247, 0.10), transparent 30%),
        radial-gradient(circle at top right, rgba(106, 47, 216, 0.10), transparent 28%),
        var(--background);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 3rem;
    align-items: center;
}

.hero-content {
    max-width: 680px;
}

.hero-badge,
.section-label,
.conversation-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    background: rgba(46, 166, 247, 0.09);
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.2rem;
}

.hero h1 {
    font-size: clamp(2.8rem, 5vw, 5rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    font-weight: 800;
    margin-bottom: 1.2rem;
}

.gradient-text {
    display: block;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-description {
    font-size: 1.08rem;
    color: var(--subtitle);
    max-width: 620px;
    margin-bottom: 2rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-trust span {
    font-size: 0.95rem;
    color: var(--subtitle);
    position: relative;
    padding-left: 1rem;
}

.hero-trust span::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: var(--gradient-button);
}

.hero-visual {
    position: relative;
    min-height: 500px;
}

.mockup-card,
.process-step,
.use-case-card,
.reassurance-card,
.realtime-card,
.faq-card,
.actions-card,
.summary-card {
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
}

body.landing-page .mockup-card,
body.landing-page .process-step,
body.landing-page .use-case-card,
body.landing-page .reassurance-card,
body.landing-page .realtime-card,
body.landing-page .faq-card,
body.landing-page .actions-card,
body.landing-page .summary-card,
body.landing-page .conversation-card,
body.landing-page .demo-card,
body.landing-page .voice-panel,
body.landing-page .transcript-panel {
    background: var(--card);
    border-color: var(--border);
    box-shadow: var(--shadow-soft);
}

.main-card {
    position: relative;
    z-index: 2;
    padding: 2rem;
    min-height: 340px;
    box-shadow: var(--shadow);
}

.mockup-top {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1.1rem;
    color: var(--subtitle);
    font-size: 0.92rem;
    font-weight: 600;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--gradient-button);
}

.main-card h3 {
    font-size: 1.45rem;
    line-height: 1.2;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.main-card p {
    color: var(--subtitle);
    font-size: 1rem;
    margin-bottom: 1.4rem;
}

.mockup-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mockup-tags span {
    padding: 0.55rem 0.85rem;
    border-radius: 999px;
    background: var(--background-soft);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
}

body.landing-page .mockup-tags span,
body.landing-page .process-icon,
body.landing-page .feature-icon,
body.landing-page .demo-icon,
body.landing-page .demo-phone-box,
body.landing-page .voice-info-card,
body.landing-page .transcript-empty {
    background: var(--card-strong);
    border-color: var(--border);
}

.floating-card {
    position: absolute;
    padding: 1rem 1.1rem;
    max-width: 255px;
    z-index: 3;
}

.card-one {
    right: -20px;
    top: -100px;
}

.card-two {
    left: -10px;
    bottom: 40px;
}

.mini-label {
    font-size: 0.8rem;
    color: var(--subtitle);
    margin-bottom: 0.35rem;
}

.process-section,
.conversation-section,
.use-cases,
.reassurance-section,
.realtime-section,
.summary-section,
.faq-section,
.cta-section {
    padding: 5rem 0;
}

.process-section,
.reassurance-section,
.faq-section {
    background: var(--background-soft);
}

body.landing-page .process-section,
body.landing-page .reassurance-section,
body.landing-page .faq-section,
body.landing-page .demo-section {
    background: rgba(18, 25, 51, 0.66);
}

body.landing-page[data-theme="light"] .process-section,
body.landing-page[data-theme="light"] .reassurance-section,
body.landing-page[data-theme="light"] .faq-section,
body.landing-page[data-theme="light"] .demo-section {
    background: var(--background-soft);
}

.section-heading {
    max-width: 760px;
    margin-bottom: 2.4rem;
}

.section-heading.centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 0.9rem;
}

.section-heading p {
    color: var(--subtitle);
    font-size: 1.03rem;
}

.process-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.process-step {
    padding: 1.4rem;
}

.process-icon,
.feature-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.12), rgba(106, 47, 216, 0.12));
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 1rem;
}

.process-step h3,
.use-case-card h3,
.reassurance-card h3,
.realtime-card h3,
.faq-card h3,
.actions-card h3,
.summary-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.65rem;
    letter-spacing: -0.02em;
}

.process-step p,
.use-case-card p,
.reassurance-card p,
.realtime-card p,
.faq-card p {
    color: var(--subtitle);
}

.conversation-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
}

.conversation-card,
.actions-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-soft);
}

.conversation-card {
    padding: 1.5rem;
}

.conversation-header {
    margin-bottom: 1rem;
}

.chat {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.chat-bubble {
    max-width: 82%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    font-size: 0.98rem;
    line-height: 1.55;
}

.chat-bubble.user {
    align-self: flex-start;
    background: #F3F4F6;
    color: var(--text);
    border-top-left-radius: 8px;
}

body.landing-page .chat-bubble.user,
body.landing-page .transcript-item.user {
    background: rgba(255, 255, 255, 0.08);
}

.chat-bubble.ai {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.12), rgba(106, 47, 216, 0.12));
    color: var(--text);
    border-top-right-radius: 8px;
}

body.landing-page .chat-bubble.ai,
body.landing-page .transcript-item.assistant {
    background: linear-gradient(135deg, rgba(94, 234, 212, 0.12), rgba(123, 140, 255, 0.14));
}

.actions-card {
    padding: 1.5rem;
}

.actions-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1rem;
}

.actions-list li {
    position: relative;
    padding-left: 1.2rem;
    color: var(--subtitle);
}

.actions-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--gradient-button);
}

.use-cases-grid,
.reassurance-grid,
.realtime-grid,
.faq-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.use-case-card,
.reassurance-card,
.realtime-card,
.faq-card {
    padding: 1.6rem;
}

.summary-grid {
    display: grid;
    grid-template-columns: 1fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.summary-points {
    list-style: none;
    display: grid;
    gap: 0.85rem;
}

.summary-points li {
    position: relative;
    padding-left: 1.3rem;
    color: var(--subtitle);
}

.summary-points li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: var(--gradient-button);
}

.summary-card {
    padding: 1.6rem;
    box-shadow: var(--shadow);
}

.summary-items {
    display: grid;
    gap: 0.9rem;
    margin-top: 1.2rem;
}

.summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--border);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-key {
    font-size: 0.82rem;
    color: var(--subtitle);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.summary-value {
    color: var(--text);
}

.cta-card {
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.08), rgba(106, 47, 216, 0.08));
    border: 1px solid rgba(46, 166, 247, 0.12);
    border-radius: 28px;
    padding: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cta-card h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin-bottom: 0.8rem;
}

.cta-card p {
    color: var(--subtitle);
    max-width: 580px;
}

.cta-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

@media (max-width: 1180px) {
    .process-flow {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-grid,
    .conversation-layout,
    .summary-grid {
        grid-template-columns: 1fr;
    }

    .hero-visual {
        min-height: 420px;
    }
}

@media (max-width: 980px) {
    .use-cases-grid,
    .reassurance-grid,
    .realtime-grid,
    .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .cta-card {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 860px) {
    .menu {
        display: none;
    }

    .site-header--public .menu {
        display: flex;
    }

    .hero {
        padding-top: 4rem;
    }

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

    .hero-visual {
        min-height: auto;
        display: grid;
        gap: 1rem;
    }

    .main-card,
    .floating-card {
        position: static;
        max-width: 100%;
    }

    .process-flow,
    .use-cases-grid,
    .reassurance-grid,
    .realtime-grid,
    .faq-grid {
        grid-template-columns: 1fr;
    }

    .chat-bubble {
        max-width: 100%;
    }
}

@media (max-width: 560px) {
    .btn {
        width: 100%;
    }

    .site-header {
        align-items: flex-start;
        gap: 12px;
        padding: 14px 12px;
    }

    .nav {
        width: 100%;
        gap: 10px;
    }

    .nav-actions {
        width: 100%;
        gap: 8px;
        justify-content: flex-start;
    }

    .nav-actions .btn {
        width: auto;
        min-height: 42px;
        padding: 0 12px;
    }

    .theme-toggle {
        min-height: 34px;
        padding: 4px 6px;
    }

    body.landing-page .nav {
        gap: 0.65rem;
    }

    body.landing-page .nav-actions {
        gap: 8px;
    }

    body.landing-page .nav-actions .btn {
        width: auto;
        min-height: 40px;
        padding: 0 12px;
    }

    .nav-actions .nav-icon-button,
    body.landing-page .nav-actions .nav-icon-button {
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0;
    }

    body.landing-page .theme-toggle {
        min-height: 34px;
        padding: 4px 6px;
    }

    .hero-actions,
    .cta-actions {
        width: 100%;
        flex-direction: column;
    }

    .cta-card {
        padding: 1.5rem;
    }

    .conversation-card,
    .actions-card,
    .summary-card {
        padding: 1.2rem;
    }
}

.demo-section {
    padding: 5rem 0;
    background: var(--background);
}

.demo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
    align-items: stretch;
}

.demo-readiness {
    display: grid;
    grid-template-columns: minmax(0, 0.75fr) minmax(0, 1.25fr) auto;
    align-items: center;
    gap: 1rem;
    margin: 0 0 1.4rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.11);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: var(--shadow-soft);
}

.demo-readiness--ok {
    border-color: rgba(34, 197, 94, 0.28);
    background: rgba(34, 197, 94, 0.08);
}

.demo-readiness--warning {
    border-color: rgba(245, 158, 11, 0.3);
    background: rgba(245, 158, 11, 0.08);
}

body.landing-page[data-theme="light"] .demo-readiness {
    border-color: rgba(15, 23, 42, 0.1);
    background: #ffffff;
}

body.landing-page[data-theme="light"] .demo-readiness--ok {
    border-color: rgba(22, 163, 74, 0.22);
    background: rgba(240, 253, 244, 0.92);
}

body.landing-page[data-theme="light"] .demo-readiness--warning {
    border-color: rgba(217, 119, 6, 0.22);
    background: rgba(255, 251, 235, 0.95);
}

.demo-readiness span {
    display: block;
    margin-bottom: 0.2rem;
    color: var(--subtitle);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.demo-readiness strong {
    display: block;
    color: var(--text);
    font-size: 1.02rem;
}

.demo-readiness p {
    margin: 0;
    color: var(--subtitle);
    line-height: 1.45;
}

.demo-readiness .btn {
    white-space: nowrap;
}

.demo-card {
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 24px;
    box-shadow: var(--shadow-soft);
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    height: 100%;
    text-align: center;
}

body.landing-page[data-theme="light"] .demo-card,
body.landing-page[data-theme="light"] .voice-panel,
body.landing-page[data-theme="light"] .transcript-panel,
body.landing-page[data-theme="light"] .conversation-card,
body.landing-page[data-theme="light"] .actions-card {
    background: #ffffff;
}

.demo-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.12), rgba(106, 47, 216, 0.12));
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

.demo-card h3 {
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    margin: 0;
}

.demo-card p {
    color: var(--subtitle);
    margin: 0;
}

.demo-audio {
    width: 100%;
}

.demo-audio audio {
    width: 100%;
    margin: 0;
}

.demo-script-preview {
    display: grid;
    gap: 0.65rem;
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--background-soft);
    box-sizing: border-box;
}

.demo-script-preview p {
    margin: 0;
    color: var(--subtitle);
    font-size: 0.92rem;
    line-height: 1.45;
}

.demo-script-preview strong {
    display: inline-flex;
    margin-right: 0.35rem;
    color: var(--text);
}

.demo-phone-box {
    padding: 1rem 1.1rem;
    border-radius: 16px;
    background: var(--background-soft);
    border: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    width: 100%;
    box-sizing: border-box;
}

.demo-phone-box span {
    font-size: 0.9rem;
    color: var(--subtitle);
    margin: 0;
}

.demo-phone-box strong {
    font-size: 1.15rem;
    color: var(--text);
    letter-spacing: -0.02em;
    line-height: 1.2;
    margin: 0;
}

.demo-actions {
    width: 100%;
}

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

@media (max-width: 980px) {
    .demo-readiness {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .demo-readiness .btn {
        width: 100%;
    }

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

.live-demo-page {
    padding: 4.5rem 0 5rem;
    background:
        radial-gradient(circle at top left, rgba(46, 166, 247, 0.08), transparent 30%),
        radial-gradient(circle at top right, rgba(106, 47, 216, 0.08), transparent 28%),
        var(--background);
}

.live-demo-shell {
    max-width: 980px;
    margin: 0 auto;
    display: grid;
    gap: 1.5rem;
}

.live-demo-top {
    text-align: center;
    max-width: 760px;
    margin: 0 auto;
}

.live-demo-top h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.02;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}

.live-demo-top p {
    color: var(--subtitle);
    font-size: 1.05rem;
}

.live-demo-top__actions {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-top: 1.35rem;
}

.voice-panel,
.transcript-panel {
    background: white;
    border: 1px solid rgba(229, 231, 235, 0.95);
    border-radius: 28px;
    box-shadow: var(--shadow-soft);
    padding: 1.6rem;
}

.voice-notice {
    display: grid;
    gap: 0.25rem;
    margin-bottom: 1.2rem;
    padding: 0.95rem 1rem;
    border: 1px solid rgba(46, 166, 247, 0.22);
    border-radius: 16px;
    background: rgba(46, 166, 247, 0.08);
    color: var(--text);
}

.voice-notice[hidden] {
    display: none;
}

.voice-notice[data-type="warning"] {
    border-color: rgba(245, 158, 11, 0.35);
    background: rgba(245, 158, 11, 0.12);
}

.voice-notice[data-type="error"] {
    border-color: rgba(239, 68, 68, 0.36);
    background: rgba(239, 68, 68, 0.12);
}

.voice-notice strong {
    font-size: 0.92rem;
}

.voice-notice span {
    color: var(--subtitle);
    line-height: 1.55;
}

.voice-status-wrap {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.4rem;
}

.voice-orb {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.18), rgba(106, 47, 216, 0.18));
    border: 1px solid rgba(46, 166, 247, 0.18);
    box-shadow: inset 0 0 20px rgba(46, 166, 247, 0.08);
}

.voice-orb.is-live {
    animation: pulseVoice 1.6s infinite;
}

@keyframes pulseVoice {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 166, 247, 0.25); }
    70% { transform: scale(1.03); box-shadow: 0 0 0 20px rgba(46, 166, 247, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(46, 166, 247, 0); }
}

.voice-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

.voice-checklist {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: 1.35rem;
}

.voice-checklist span {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    min-height: 34px;
    padding: 0 0.78rem;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--background-soft);
    color: var(--subtitle);
    font-size: 0.86rem;
    font-weight: 700;
}

.voice-checklist span::before {
    content: "";
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 999px;
    background: #94a3b8;
}

.voice-checklist span[data-state="ok"] {
    border-color: rgba(34, 197, 94, 0.32);
    color: #15803d;
}

.voice-checklist span[data-state="ok"]::before {
    background: #22c55e;
}

.voice-checklist span[data-state="fail"] {
    border-color: rgba(239, 68, 68, 0.34);
    color: #dc2626;
}

.voice-checklist span[data-state="fail"]::before {
    background: #ef4444;
}

.voice-checklist span[data-state="pending"]::before {
    background: #f59e0b;
}

.voice-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.voice-info-card {
    border: 1px solid var(--border);
    background: var(--background-soft);
    border-radius: 18px;
    padding: 1rem;
}

.transcript-header {
    margin-bottom: 1rem;
}

.transcript-header h2 {
    font-size: 1.35rem;
    margin-bottom: 0.25rem;
    letter-spacing: -0.03em;
}

.transcript-header p {
    color: var(--subtitle);
}

.transcript-log {
    min-height: 280px;
    max-height: 480px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

.transcript-empty {
    color: var(--subtitle);
    padding: 1rem;
    border: 1px dashed var(--border);
    border-radius: 16px;
    background: var(--background-soft);
}

.transcript-item {
    max-width: 82%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
}

.transcript-item.user {
    align-self: flex-start;
    background: #F3F4F6;
    border-top-left-radius: 8px;
}

.transcript-item.assistant {
    align-self: flex-end;
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.12), rgba(106, 47, 216, 0.12));
    border-top-right-radius: 8px;
}

.transcript-role {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.transcript-text {
    line-height: 1.55;
}

@media (max-width: 860px) {
    .voice-info-grid {
        grid-template-columns: 1fr;
    }

    .voice-actions,
    .live-demo-top__actions {
        flex-direction: column;
    }

    .voice-actions .btn,
    .live-demo-top__actions .btn {
        width: 100%;
    }

    .voice-checklist {
        display: grid;
        grid-template-columns: 1fr;
    }

    .transcript-item {
        max-width: 100%;
    }
}

.btn-danger {
    background: #ef4444;
    color: white;
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.18);
}

.btn-danger:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 16px 36px rgba(239, 68, 68, 0.24);
}

.btn:disabled,
.btn[disabled] {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-danger:disabled,
.btn-danger[disabled] {
    background: #f3f4f6;
    color: #9ca3af;
    border: 1px solid var(--border);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-theme {
    display: flex;
    align-items: center;
}

.nav-actions--public {
    gap: 10px;
}

.nav-theme--public {
    flex: 0 0 auto;
}

.nav-auth-link {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    min-height: 46px;
    padding: 9px 16px;
    border-radius: 16px;
    gap: 2px;
    white-space: normal;
}

.nav-auth-link__eyebrow {
    font-size: 0.64rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1;
    text-transform: uppercase;
    opacity: 0.74;
}

.nav-auth-link__label {
    font-size: 0.96rem;
    font-weight: 800;
    line-height: 1.05;
}

.nav-auth-link__icon {
    display: none;
    align-items: center;
    justify-content: center;
}

.nav-auth-link__icon svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.1;
}

.nav-auth-link--primary {
    min-width: 196px;
}

.nav-auth-link--secondary {
    min-width: 148px;
}

.logout-form {
    display: inline-flex;
    margin: 0;
}

.nav-actions .nav-icon-button {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    color: #f5f7ff;
    box-shadow: none;
    flex: 0 0 auto;
}

.nav-actions .nav-icon-button:hover,
.nav-actions .nav-icon-button:focus-visible {
    border-color: rgba(123, 140, 255, 0.34);
    background: rgba(123, 140, 255, 0.12);
    color: #f5f7ff;
}

body[data-theme="light"] .nav-actions .nav-icon-button {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.92);
    color: #111827;
}

body[data-theme="light"] .nav-actions .nav-icon-button:hover,
body[data-theme="light"] .nav-actions .nav-icon-button:focus-visible {
    border-color: rgba(30, 115, 216, 0.22);
    background: rgba(30, 115, 216, 0.08);
    color: #1E73D8;
}

.nav-actions .nav-icon-button svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
}

.nav-action__text {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.14);
    background: transparent;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    cursor: pointer;
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.05);
}

@media (max-width: 1024px) and (hover: none), (max-width: 1024px) and (pointer: coarse) {
    .site-header {
        padding: 0;
    }

    .nav {
        width: min(100% - 1.5rem, var(--container));
        min-height: 0;
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
        padding: 12px 0;
    }

    .logo-wrap {
        min-height: 40px;
        padding-right: 6px;
    }

    .logo-brand {
        width: auto;
        height: 42px;
        gap: 8px;
    }

    .logo-brand__mark {
        width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .logo-brand__word {
        font-size: 1.04rem;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .logo-mark svg {
        width: 28px;
        height: 28px;
    }

    .logo-wordmark {
        font-size: 0.96rem;
    }

    .menu {
        order: 3;
        display: flex !important;
        flex-wrap: nowrap;
        width: 100%;
        gap: 7px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding-bottom: 0;
    }

    .menu::-webkit-scrollbar {
        display: none;
    }

    .menu a {
        flex: 0 0 auto;
    }

    .menu .menu-icon-link {
        width: 40px;
        min-width: 40px;
        height: 40px;
        min-height: 40px;
        padding: 0;
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.05);
    }

    .nav-actions {
        width: 100%;
        justify-content: flex-start;
        gap: 8px;
    }

    body.landing-page .nav {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto auto;
        align-items: center;
        gap: 6px;
    }

    body.landing-page .logo-wrap {
        grid-column: 1;
        min-width: 0;
        padding-right: 0;
    }

    body.landing-page .nav-theme--public {
        display: flex;
        grid-column: 2;
        align-self: center;
    }

    body.landing-page .nav-theme--public .theme-toggle {
        width: 92px;
        min-width: 92px;
        height: 40px;
        min-height: 40px;
        padding: 3px;
        border-radius: 999px;
    }

    body.landing-page .nav-actions--public {
        display: flex;
        grid-column: 3;
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
        align-items: center;
        gap: 6px;
    }

    body.landing-page .nav-actions--public .nav-auth-link {
        flex: 0 0 auto;
        width: 36px;
        min-width: 36px;
        height: 36px;
        min-height: 36px;
        padding: 0;
        border-radius: 999px;
        align-items: center;
        justify-content: center;
        gap: 0;
    }

    body.landing-page .nav-actions--public .nav-auth-link__eyebrow,
    body.landing-page .nav-actions--public .nav-auth-link__label {
        display: none;
    }

    body.landing-page .nav-actions--public .nav-auth-link__icon {
        display: inline-flex;
    }

    body.landing-page {
        padding-bottom: calc(112px + env(safe-area-inset-bottom));
    }

    body.landing-page .menu {
        position: fixed;
        z-index: 2000;
        left: max(10px, env(safe-area-inset-left));
        right: max(10px, env(safe-area-inset-right));
        bottom: max(12px, env(safe-area-inset-bottom));
        top: auto;
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        justify-content: stretch;
        width: auto;
        max-width: none;
        height: 86px;
        gap: 8px;
        padding: 10px;
        overflow: hidden;
        border: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 24px;
        background: #0b1020;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
    }

    body.landing-page .menu a,
    body.landing-page .menu .public-menu-link {
        width: 100%;
        min-width: 0;
        height: 66px;
        min-height: 66px;
        display: inline-flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 5px;
        border-radius: 18px;
        border-color: transparent;
        color: rgba(236, 241, 255, 0.72);
        background: transparent;
    }

    body.landing-page .menu .public-menu-link--primary,
    body.landing-page .menu .public-menu-link:hover,
    body.landing-page .menu .public-menu-link:focus,
    body.landing-page .menu .public-menu-link:focus-visible,
    body.landing-page .menu .public-menu-link:active,
    body.landing-page .menu .public-menu-link.is-tapping {
        color: #ffffff;
        border-color: rgba(123, 140, 255, 0.28);
        background: linear-gradient(135deg, rgba(46, 166, 247, 0.22), rgba(106, 47, 216, 0.22));
    }

    body.landing-page .menu .public-menu-link svg {
        width: 24px;
        height: 24px;
        stroke-width: 2.1;
    }

    body.landing-page .menu .nav-action__text {
        position: static;
        width: auto;
        height: auto;
        clip: auto;
        overflow: hidden;
        max-width: 74px;
        white-space: nowrap;
        text-overflow: ellipsis;
        font-size: 0.72rem;
        font-weight: 800;
        line-height: 1;
    }

    body[data-theme="light"].landing-page .menu {
        border-color: rgba(15, 23, 42, 0.1);
        background: rgba(255, 255, 255, 0.94);
    }
}

@media (max-width: 380px) {
    .menu .menu-icon-link {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
    }
}
/* ===== AUTH PAGES ===== */

.auth-shell {
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 48px 20px 64px;
}

.auth-card {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 12px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.10);
    padding: 34px 32px;
    box-sizing: border-box;
}

.auth-panel {
    width: 100%;
}

.auth-card--wide {
    max-width: 860px;
}

.auth-card--signup {
    width: min(100%, 920px);
    max-width: 920px;
    padding-inline: 48px;
}

.auth-panel--signup .auth-title {
    margin-bottom: 12px;
}

.auth-panel--signup .auth-subtitle {
    max-width: 560px;
}

.auth-panel--signup .auth-links {
    justify-content: center;
    text-align: center;
}

.auth-panel--signup .auth-socials--primary,
.auth-panel--signup .auth-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 14px;
    row-gap: 14px;
}

.auth-panel--signup .auth-divider,
.auth-panel--signup .auth-errors,
.auth-panel--signup .auth-actions,
.auth-panel--signup .auth-links {
    grid-column: 1 / -1;
}

.auth-eyebrow {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #5b6bff;
}

.auth-title {
    margin: 0 0 12px;
    font-size: clamp(1.85rem, 4vw, 2.45rem);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: 0;
    color: #0f172a;
}

.auth-subtitle {
    margin: 0 0 28px;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
}

.form-group label {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #0f172a;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="number"],
.auth-form input[type="url"],
.auth-form select,
.auth-form textarea {
    width: 100%;
    height: 54px;
    padding: 0 16px;
    border: 1px solid #dbe3f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    color-scheme: light;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.auth-form textarea {
    min-height: 120px;
    height: auto;
    padding: 14px 16px;
    resize: vertical;
}

.auth-form input[type="text"]:focus,
.auth-form input[type="email"]:focus,
.auth-form input[type="password"]:focus,
.auth-form input[type="number"]:focus,
.auth-form input[type="url"]:focus,
.auth-form select:focus,
.auth-form textarea:focus {
    background: #ffffff;
    border-color: #5b6bff;
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    caret-color: #0f172a;
    box-shadow: 0 0 0 4px rgba(91, 107, 255, 0.12);
}

.auth-form input[type="text"]:hover,
.auth-form input[type="email"]:hover,
.auth-form input[type="password"]:hover,
.auth-form input[type="number"]:hover,
.auth-form input[type="url"]:hover,
.auth-form select:hover,
.auth-form textarea:hover,
.auth-form input[type="text"]:active,
.auth-form input[type="email"]:active,
.auth-form input[type="password"]:active,
.auth-form input[type="number"]:active,
.auth-form input[type="url"]:active,
.auth-form select:active,
.auth-form textarea:active {
    color: #0f172a;
    -webkit-text-fill-color: #0f172a;
    caret-color: #0f172a;
}

.form-group-checkbox {
    margin-top: -2px;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    font-weight: 700;
    line-height: 1.35;
    color: #334155;
    cursor: pointer;
}

.auth-form input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin: 0;
    accent-color: #5b6bff;
}

.auth-actions {
    margin-top: 8px;
    width: 100%;
}

.btn-block {
    width: 100%;
}

.auth-card .btn,
.auth-card .btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 56px;
    width: 100%;
    padding: 0 22px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #4da2ff 0%, #5b6bff 55%, #6d28d9 100%);
    color: #ffffff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1rem;
    font-family: inherit;
    cursor: pointer;
    box-shadow: 0 16px 34px rgba(91, 107, 255, 0.24);
    transition: transform 0.15s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.auth-card .btn:hover,
.auth-card .btn-nav:hover {
    transform: translateY(-1px);
    filter: brightness(1.02);
    box-shadow: 0 20px 38px rgba(91, 107, 255, 0.30);
}

.auth-links {
    margin-top: 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.auth-links a {
    color: #5b6bff;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
}

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

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 24px 0 18px;
    color: #64748b;
    font-size: 0.86rem;
    font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e2e8f0;
}

.auth-socials {
    display: grid;
    gap: 10px;
}

.auth-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 16px;
    border: 1px solid #dbe3f0;
    border-radius: 10px;
    background: #fff;
    color: #0f172a;
    text-decoration: none;
    font-weight: 800;
    transition: transform 0.15s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-social-btn:hover {
    transform: translateY(-1px);
    border-color: #b8c4d8;
    box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.auth-social-btn__mark {
    display: inline-grid;
    width: 26px;
    height: 26px;
    place-items: center;
    border-radius: 8px;
    background: #f1f5f9;
    color: #111827;
    font-weight: 900;
}

.auth-errors,
.auth-messages {
    margin-bottom: 20px;
    padding: 14px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.auth-errors {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #b91c1c;
}

.auth-messages {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #15803d;
}

.auth-form ul.errorlist {
    margin: 6px 0 0;
    padding-left: 18px;
    color: #dc2626;
    font-size: 0.9rem;
}

@media (max-width: 640px) {
    .auth-shell {
        padding: 28px 14px 40px;
    }

    .auth-card {
        padding: 24px 18px;
        border-radius: 10px;
    }

    .auth-card--signup {
        width: min(100%, 560px);
        max-width: 560px;
        padding-inline: 18px;
    }

    .auth-panel--signup .auth-socials--primary,
    .auth-panel--signup .auth-form {
        grid-template-columns: 1fr;
    }

    .auth-links {
        flex-direction: column;
        align-items: flex-start;
    }

    .auth-links--login {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        width: 100%;
    }

    .auth-links--login a {
        min-width: 0;
        white-space: nowrap;
        font-size: 0.86rem;
    }
}

.auth-form select option,
.auth-form select optgroup {
    background: #ffffff;
    color: #0f172a;
}

.auth-form input:-webkit-autofill,
.auth-form input:-webkit-autofill:hover,
.auth-form input:-webkit-autofill:focus {
    -webkit-text-fill-color: #0f172a;
    box-shadow: 0 0 0 1000px #f8fafc inset;
    caret-color: #0f172a;
}

/* Landing theme pass: keep this late so older landing/auth rules cannot override it. */
body.landing-page {
    background:
        radial-gradient(circle at top left, rgba(109, 124, 255, 0.18), transparent 32%),
        radial-gradient(circle at top right, rgba(80, 180, 255, 0.12), transparent 24%),
        linear-gradient(180deg, #0a0f1f 0%, #0b1020 100%);
    color: var(--text);
}

body.landing-page[data-theme="light"] {
    background: var(--background);
}

body.landing-page .site-header {
    background: rgba(11, 16, 32, 0.86);
    border-bottom-color: rgba(255, 255, 255, 0.08);
}

body.landing-page[data-theme="light"] .site-header {
    background: rgba(255, 255, 255, 0.92);
    border-bottom-color: rgba(229, 231, 235, 0.8);
}

body.landing-page .btn-secondary {
    background: var(--card);
    color: var(--text);
    border-color: var(--border);
}

body.landing-page[data-theme="light"] .btn-secondary {
    background: #ffffff;
    color: #111827;
}

body.landing-page .mockup-card,
body.landing-page .process-step,
body.landing-page .use-case-card,
body.landing-page .reassurance-card,
body.landing-page .realtime-card,
body.landing-page .faq-card,
body.landing-page .actions-card,
body.landing-page .summary-card,
body.landing-page .conversation-card,
body.landing-page .demo-card,
body.landing-page .voice-panel,
body.landing-page .transcript-panel {
    background: var(--card);
    border-color: var(--border);
    color: var(--text);
}

body.landing-page .voice-checklist span {
    background: rgba(255, 255, 255, 0.045);
    border-color: var(--border);
}

body.landing-page .voice-checklist span[data-state="ok"] {
    color: #bbf7d0;
}

body.landing-page .voice-checklist span[data-state="fail"] {
    color: #fecaca;
}

body.landing-page .voice-notice span {
    color: var(--subtitle);
}

body.landing-page[data-theme="light"] .mockup-card,
body.landing-page[data-theme="light"] .process-step,
body.landing-page[data-theme="light"] .use-case-card,
body.landing-page[data-theme="light"] .reassurance-card,
body.landing-page[data-theme="light"] .realtime-card,
body.landing-page[data-theme="light"] .faq-card,
body.landing-page[data-theme="light"] .actions-card,
body.landing-page[data-theme="light"] .summary-card,
body.landing-page[data-theme="light"] .conversation-card,
body.landing-page[data-theme="light"] .demo-card,
body.landing-page[data-theme="light"] .voice-panel,
body.landing-page[data-theme="light"] .transcript-panel {
    background: #ffffff;
    color: #111827;
}

body.landing-page[data-theme="light"] .voice-checklist span {
    background: var(--background-soft);
}

body.landing-page[data-theme="light"] .voice-checklist span[data-state="ok"] {
    color: #15803d;
}

body.landing-page[data-theme="light"] .voice-checklist span[data-state="fail"] {
    color: #dc2626;
}

@media (max-width: 720px) {
    .not-found-page {
        min-height: auto;
        padding: 34px 10px 72px;
    }

    .not-found-shell {
        grid-template-columns: 1fr;
    }

    .not-found-panel,
    .not-found-guide {
        border-radius: 12px;
    }

    .not-found-panel {
        padding: 24px;
    }

    .not-found-panel h1 {
        font-size: 2.25rem;
    }

    .not-found-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .not-found-actions .btn {
        width: 100%;
        white-space: normal;
    }
}

/* ===== RESPONSIVE APPLICATION HARDENING ===== */
@media (max-width: 1180px) {
    :is(.crm-page, .sms-page, .calendar-page, .capacity-page, .contacts-page, .billing-page, .test-agent-page, .import-page, .admin-number-page, .admin-platform, .dashboard-page) {
        width: 100%;
        max-width: 100%;
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    :is(.billing-header, .billing-summary, .calendar-header, .calendar-layout, .contacts-grid, .test-agent-layout, .brand-import-layout, .import-layout, .crm-grid, .crm-layout, .sms-layout) {
        grid-template-columns: 1fr !important;
    }

    :is(.billing-header__aside, .calendar-actions, .sms-header__actions, .crm-header__status) {
        justify-items: start;
        justify-content: flex-start;
    }
}

@media (max-width: 860px) {
    html,
    body {
        max-width: 100%;
        overflow-x: clip;
    }

    :is(.site-header, main, .container, .nav, .dashboard-page, .crm-page, .sms-page, .calendar-page, .capacity-page, .contacts-page, .billing-page, .test-agent-page, .import-page, .admin-number-page, .admin-platform) {
        min-width: 0;
    }

    .nav {
        flex-wrap: wrap;
        align-items: center;
        gap: 10px;
    }

    :is(.crm-header, .sms-header, .calendar-header, .capacity-header, .contacts-header, .billing-header, .test-agent-topbar, .admin-number-hero, .dashboard-hero) {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
        gap: 12px !important;
    }

    :is(.crm-header, .crm-section, .crm-list, .crm-row, .sms-panel, .sms-device, .calendar-section, .capacity-panel, .capacity-header, .contacts-card, .contact-editor, .contacts-quick, .billing-summary, .billing-plan, .billing-card, .test-card, .test-readiness-card, .admin-number-panel, .admin-number-card) {
        min-width: 0;
        max-width: 100%;
    }

    :is(.crm-subnav, .menu, .calendar-toolbar, .contacts-toolbar, .billing-cycle, .wizard-tabs, .admin-number-toolbar) {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    :is(.crm-subnav, .menu, .calendar-toolbar, .contacts-toolbar, .billing-cycle, .wizard-tabs, .admin-number-toolbar)::-webkit-scrollbar {
        display: none;
    }

    :is(.crm-subnav__item, .menu a, .calendar-toolbar > *, .billing-cycle label, .wizard-tab) {
        flex: 0 0 auto;
    }

    .menu {
        order: 3;
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(42px, 1fr));
        justify-items: center;
        width: 100%;
        max-width: 100%;
        overflow: visible !important;
    }

    .menu a {
        width: 42px;
        min-width: 0;
    }

    .nav-actions {
        order: 2;
        width: 100%;
        justify-content: flex-start;
        flex-wrap: wrap;
        overflow: hidden;
    }

    .crm-empty,
    .crm-empty p {
        width: 100%;
        max-width: 100%;
        overflow-wrap: anywhere;
    }

    .crm-daily-plan__content {
        display: grid !important;
        grid-template-columns: 1fr !important;
        align-items: stretch !important;
    }

    .crm-daily-plan__content p {
        width: 100%;
        max-width: 100%;
    }

    :is(.crm-actions, .crm-row__actions, .calendar-actions, .calendar-section__head, .capacity-row, .contacts-toolbar, .contact-actions, .billing-summary__line, .billing-usage-alert, .test-agent-topbar, .admin-number-actions, .admin-agent-actions) {
        flex-wrap: wrap;
    }

    :is(.sms-layout, .sms-thread-layout, .sms-conversation, .calendar-layout, .contacts-grid, .capacity-form--inline, .billing-usage, .billing-plans, .billing-comparison, .billing-feature-grid, .test-agent-layout, .test-readiness-grid, .admin-number-stats, .admin-agent-row, .admin-agent-config-grid) {
        grid-template-columns: 1fr !important;
    }

    :is(input, select, textarea, button, .btn, .btn-nav, .btn-secondary, .crm-button, .sms-button, .calendar-button, .capacity-icon-button, .contacts-icon-button, .billing-button, .wizard-button, .admin-number-action-button) {
        max-width: 100%;
    }

    .sms-broadcast__panel {
        position: fixed !important;
        left: 14px !important;
        right: 14px !important;
        top: 78px !important;
        width: auto !important;
        max-height: calc(100vh - 104px) !important;
        overflow: auto !important;
    }
}

@media (max-width: 1120px) {
    body.landing-page .floating-card,
    body.landing-page .mockup-card.floating-card,
    .floating-card.card-one,
    .floating-card.card-two {
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: auto !important;
        max-width: 100% !important;
        margin-top: 12px;
    }
}

@media (max-width: 640px) {
    .crm-page,
    .sms-page,
    .email-dashboard-page,
    .calendar-page,
    .capacity-page,
    .contacts-page,
    .billing-page,
    .test-agent-page,
    .import-page,
    .admin-number-page, .admin-platform,
    .dashboard-page {
        padding-left: max(10px, env(safe-area-inset-left)) !important;
        padding-right: max(10px, env(safe-area-inset-right)) !important;
        padding-bottom: calc(88px + env(safe-area-inset-bottom)) !important;
    }

    .crm-header,
    .crm-section,
    .crm-list,
    .crm-row,
    .crm-daily-plan,
    .sms-header,
    .sms-device,
    .sms-panel,
    .calendar-header,
    .calendar-section,
    .capacity-header,
    .capacity-panel,
    .contacts-header,
    .contacts-card,
    .contact-editor,
    .contacts-quick,
    .billing-summary,
    .billing-plan,
    .billing-card,
    .test-card,
    .test-readiness-card,
    .admin-number-hero,
    .admin-number-panel,
    .admin-number-card {
        border-radius: 8px !important;
        padding: 12px !important;
    }

    .crm-header {
        width: 100%;
        box-sizing: border-box;
        overflow: hidden;
    }

    .crm-header__status {
        display: grid !important;
        grid-template-columns: repeat(2, 40px) minmax(0, 1fr);
        justify-content: stretch !important;
        gap: 8px !important;
    }

    .twilio-status-badge {
        width: 100%;
        max-width: 100%;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .crm-subnav {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow: visible !important;
        gap: 8px !important;
    }

    .crm-subnav__item {
        width: 100%;
        min-width: 0 !important;
        justify-content: center;
    }

    .calendar-weekdays,
    .calendar-week {
        width: 100% !important;
        min-width: 0 !important;
        grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
        gap: 4px !important;
    }

    .calendar-day {
        min-height: 86px !important;
        padding: 7px !important;
    }

    .sms-message,
    .transcript-item {
        max-width: 94% !important;
    }

    .crm-button,
    .sms-button,
    .calendar-button,
    .billing-button,
    .wizard-button,
    .test-agent-page .btn-ui,
    .auth-card .btn,
    .auth-card .btn-nav {
        width: 100%;
        justify-content: center;
        white-space: normal;
    }

    .admin-agent-config form,
    .sms-broadcast__panel {
        position: fixed !important;
        left: 10px !important;
        right: 10px !important;
        top: 76px !important;
        width: auto !important;
        max-height: calc(100vh - 96px) !important;
        overflow: auto !important;
    }

    .call-notification-toast__link,
    .launch-readiness__action,
    .test-readiness-action,
    .billing-back {
        min-height: 32px !important;
        display: inline-flex !important;
        align-items: center;
    }

    .call-notification-toast__close {
        width: 34px !important;
        height: 34px !important;
    }

    .admin-number-filter input,
    .admin-number-filter select {
        min-height: 38px !important;
    }
}

@media (max-width: 390px) {
    .logo-wordmark {
        display: none;
    }

    .theme-toggle {
        width: 96px !important;
        min-width: 96px !important;
    }

    .menu {
        grid-template-columns: repeat(auto-fit, minmax(38px, 1fr));
    }

    .menu a {
        width: 38px;
    }
}

/* Public home refresh */
body.landing-refresh {
    background:
        radial-gradient(circle at 18% 8%, rgba(45, 212, 191, 0.16), transparent 30%),
        radial-gradient(circle at 82% 2%, rgba(96, 165, 250, 0.16), transparent 28%),
        linear-gradient(180deg, #090f1f 0%, #0b1020 48%, #0d1326 100%);
}

body.landing-refresh[data-theme="light"] {
    background:
        radial-gradient(circle at 15% 5%, rgba(186, 230, 253, 0.72), transparent 28%),
        radial-gradient(circle at 90% 0%, rgba(224, 231, 255, 0.88), transparent 30%),
        #f8fafc;
}

.landing-refresh .container {
    width: min(calc(100% - 32px), 1180px);
}

.home-hero {
    padding: clamp(34px, 6vw, 70px) 0 24px;
}

.home-hero__grid,
.home-split,
.home-control-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
    gap: clamp(24px, 5vw, 58px);
    align-items: center;
}

.home-hero__content {
    max-width: 760px;
}

.home-eyebrow {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    min-height: 34px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    border-radius: 999px;
    background: rgba(14, 165, 233, 0.1);
    color: #bae6fd;
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

body.landing-refresh[data-theme="light"] .home-eyebrow {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.14);
    color: #1d4ed8;
}

.home-hero h1,
.home-section__head h2,
.home-cta h2 {
    letter-spacing: 0;
}

.home-hero h1 {
    max-width: 580px;
    margin-bottom: 16px;
    font-size: clamp(1.95rem, 3.55vw, 3.15rem);
    line-height: 1.04;
}

.home-hero p {
    max-width: 460px;
    color: var(--subtitle);
    font-size: clamp(0.94rem, 1.08vw, 1rem);
    line-height: 1.46;
}

.home-hero__actions,
.home-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.home-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.home-hero__proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 11px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.055);
    color: rgba(226, 232, 240, 0.86);
    font-size: 0.9rem;
    font-weight: 700;
}

body.landing-refresh[data-theme="light"] .home-hero__proof span {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
    color: #475569;
}

.home-call-stage {
    position: relative;
    min-height: 500px;
    display: grid;
    align-items: center;
}

.home-call-stage::before {
    content: "";
    position: absolute;
    inset: 24px 20px;
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(45, 212, 191, 0.16), rgba(96, 165, 250, 0.11)),
        rgba(255, 255, 255, 0.04);
    transform: rotate(-3deg);
}

.home-call-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    padding: clamp(18px, 3vw, 26px);
    border: 1px solid rgba(148, 163, 184, 0.16);
    border-radius: 8px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.035)),
        rgba(11, 17, 32, 0.86);
    box-shadow: 0 28px 74px rgba(0, 0, 0, 0.34);
}

body.landing-refresh[data-theme="light"] .home-call-card {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
}

.home-call-card__top,
.home-action-stack div,
.home-phone__header,
.home-summary-card dl div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.home-call-card__top {
    color: var(--subtitle);
    font-size: 0.92rem;
}

.home-call-card__top strong {
    margin-right: auto;
    color: var(--text);
}

.home-live-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0.14);
}

.home-waveform {
    display: grid;
    grid-template-columns: repeat(10, 1fr);
    align-items: end;
    gap: 7px;
    height: 92px;
    padding: 16px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background: rgba(2, 6, 23, 0.32);
}

body.landing-refresh[data-theme="light"] .home-waveform {
    background: #f8fafc;
}

.home-waveform span {
    display: block;
    min-height: 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, #5eead4, #60a5fa);
}

.home-waveform span:nth-child(1) { height: 30%; }
.home-waveform span:nth-child(2) { height: 70%; }
.home-waveform span:nth-child(3) { height: 48%; }
.home-waveform span:nth-child(4) { height: 90%; }
.home-waveform span:nth-child(5) { height: 62%; }
.home-waveform span:nth-child(6) { height: 82%; }
.home-waveform span:nth-child(7) { height: 40%; }
.home-waveform span:nth-child(8) { height: 76%; }
.home-waveform span:nth-child(9) { height: 54%; }
.home-waveform span:nth-child(10) { height: 34%; }

.home-call-dialog,
.home-control-list,
.home-summary-card dl {
    display: grid;
    gap: 10px;
}

.home-call-dialog p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 8px;
    color: var(--text);
    line-height: 1.45;
}

.home-call-dialog__client {
    justify-self: start;
    max-width: 88%;
    background: rgba(255, 255, 255, 0.075);
}

.home-call-dialog__agent {
    justify-self: end;
    max-width: 88%;
    background: rgba(94, 234, 212, 0.12);
}

body.landing-refresh[data-theme="light"] .home-call-dialog__client {
    background: #eef2ff;
}

body.landing-refresh[data-theme="light"] .home-call-dialog__agent {
    background: #ecfeff;
}

.home-action-stack {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.home-action-stack div,
.home-control-list div,
.home-realtime-grid article,
.home-demo-grid article,
.home-use-grid article,
.home-faq-grid article,
.home-summary-card,
.home-phone__screen {
    border: 1px solid rgba(148, 163, 184, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.055);
}

body.landing-refresh[data-theme="light"] :is(.home-action-stack div, .home-control-list div, .home-realtime-grid article, .home-demo-grid article, .home-use-grid article, .home-faq-grid article, .home-summary-card, .home-phone__screen) {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(15, 23, 42, 0.08);
}

.home-action-stack div {
    display: grid;
    justify-items: start;
    padding: 12px;
}

.home-action-stack span,
.home-use-grid span,
.home-summary-card > span,
.home-demo-grid span {
    color: var(--secondary);
    font-size: 0.76rem;
    font-weight: 900;
    text-transform: uppercase;
}

.home-action-stack strong {
    font-size: 0.94rem;
}

.home-strip {
    padding: 20px 0 58px;
}

.home-strip__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.home-strip__grid div {
    display: grid;
    gap: 2px;
    padding: 14px;
    border: 1px solid rgba(148, 163, 184, 0.12);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
}

body.landing-refresh[data-theme="light"] .home-strip__grid div {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.08);
}

.home-strip__grid strong {
    font-size: 1rem;
}

.home-strip__grid span {
    color: var(--subtitle);
    font-size: 0.9rem;
}

.home-section {
    padding: clamp(54px, 8vw, 92px) 0;
}

.home-section--quiet {
    background: rgba(18, 25, 51, 0.54);
}

body.landing-refresh[data-theme="light"] .home-section--quiet {
    background: #eef6ff;
}

.home-section__head {
    max-width: 760px;
    margin-bottom: 28px;
}

.home-section__head--center {
    margin-inline: auto;
    text-align: center;
}

.home-section__head h2,
.home-cta h2 {
    margin-bottom: 12px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1;
}

.home-section__head p,
.home-cta p {
    color: var(--subtitle);
    font-size: 1.03rem;
}

.home-steps,
.home-use-grid,
.home-faq-grid,
.home-demo-grid,
.home-realtime-grid {
    display: grid;
    gap: 12px;
}

.home-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.home-steps article {
    display: grid;
    align-content: start;
    min-height: 250px;
    padding: 18px;
    border-left: 1px solid rgba(148, 163, 184, 0.18);
}

.home-steps article span {
    margin-bottom: 42px;
    color: var(--secondary);
    font-weight: 900;
}

.home-steps h3,
.home-use-grid h3,
.home-faq-grid h3,
.home-demo-grid h3 {
    margin-bottom: 8px;
    font-size: 1.08rem;
    line-height: 1.2;
}

.home-steps p,
.home-use-grid p,
.home-faq-grid p,
.home-demo-grid p,
.home-realtime-grid span,
.home-control-list span {
    color: var(--subtitle);
}

.home-section--split {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
}

body.landing-refresh[data-theme="light"] .home-section--split {
    background: #ffffff;
}

.home-phone {
    display: grid;
    justify-items: center;
}

.home-phone__screen {
    width: min(100%, 410px);
    padding: 16px;
    box-shadow: var(--shadow-soft);
}

.home-phone__header {
    margin-bottom: 18px;
    color: var(--subtitle);
}

.home-phone__header span {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
}

.home-phone__bubble {
    max-width: 88%;
    margin-bottom: 10px;
    padding: 12px 14px;
    border-radius: 8px;
    line-height: 1.45;
}

.home-phone__bubble--client {
    background: rgba(255, 255, 255, 0.075);
}

.home-phone__bubble--agent {
    margin-left: auto;
    background: rgba(96, 165, 250, 0.16);
}

body.landing-refresh[data-theme="light"] .home-phone__bubble--client {
    background: #f1f5f9;
}

body.landing-refresh[data-theme="light"] .home-phone__bubble--agent {
    background: #dbeafe;
}

.home-phone__result {
    display: grid;
    gap: 4px;
    margin-top: 18px;
    padding: 14px;
    border-radius: 8px;
    background: rgba(34, 197, 94, 0.11);
}

.home-phone__result span {
    color: #86efac;
    font-size: 0.8rem;
    font-weight: 900;
    text-transform: uppercase;
}

body.landing-refresh[data-theme="light"] .home-phone__result span {
    color: #15803d;
}

.home-use-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-use-grid article,
.home-faq-grid article,
.home-demo-grid article,
.home-realtime-grid article {
    padding: 18px;
}

.home-control-grid {
    grid-template-columns: minmax(0, 0.8fr) minmax(360px, 1fr);
}

.home-control-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-control-list div {
    display: grid;
    gap: 5px;
    padding: 16px;
}

.home-realtime-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-realtime-grid article {
    display: grid;
    gap: 6px;
    min-height: 150px;
}

.home-split--reverse {
    grid-template-columns: minmax(360px, 0.82fr) minmax(0, 1fr);
}

.home-summary-card {
    padding: 22px;
}

.home-summary-card h3 {
    margin: 8px 0 18px;
}

.home-summary-card dl div {
    padding: 12px 0;
    border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.home-summary-card dl div:last-child {
    border-bottom: 0;
}

.home-summary-card dt {
    color: var(--subtitle);
    font-size: 0.82rem;
    font-weight: 800;
}

.home-summary-card dd {
    margin: 0;
    text-align: right;
}

.home-faq-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-cta {
    padding: 64px 0;
}

.home-cta__card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid rgba(125, 211, 252, 0.2);
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(45, 212, 191, 0.14), rgba(96, 165, 250, 0.12)),
        rgba(255, 255, 255, 0.055);
    box-shadow: var(--shadow-soft);
}

body.landing-refresh[data-theme="light"] .home-cta__card {
    background:
        linear-gradient(135deg, rgba(224, 242, 254, 0.92), rgba(238, 242, 255, 0.95)),
        #ffffff;
    border-color: rgba(37, 99, 235, 0.12);
}

.home-demo-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-demo-grid--compact {
    grid-template-columns: repeat(2, minmax(280px, 360px));
    justify-content: center;
    max-width: 860px;
    margin: 0 auto;
}

.home-demo-grid article {
    display: grid;
    align-content: start;
    gap: 10px;
}

.home-demo-grid--compact article {
    min-height: 220px;
    padding: 22px;
}

.home-demo-grid .btn {
    width: fit-content;
    margin-top: 8px;
}

.landing-refresh .demo-readiness {
    border-radius: 8px;
}

@media (max-width: 1080px) {
    .home-hero__grid,
    .home-split,
    .home-split--reverse,
    .home-control-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .home-call-stage {
        width: min(100%, 560px);
        min-height: 0;
        margin: 4px auto 0;
    }

    .home-strip__grid,
    .home-steps,
    .home-use-grid,
    .home-demo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    body.landing-refresh {
        max-width: 100%;
        overflow-x: hidden;
        padding-bottom: calc(112px + env(safe-area-inset-bottom));
    }

    .landing-refresh .container {
        width: min(calc(100% - 24px), 1180px);
    }

    .landing-refresh :where(main, .home-hero, .home-strip, .home-section, .home-cta) {
        max-width: 100%;
        overflow-x: clip;
    }

    .home-hero__grid,
    .home-hero__content,
    .home-hero__actions,
    .home-hero__proof,
    .home-call-stage,
    .home-call-card {
        min-width: 0;
        max-width: 100%;
    }

    .home-hero {
        padding-top: 18px;
        padding-bottom: 18px;
    }

    .home-hero h1 {
        margin-bottom: 12px;
        font-size: clamp(1.56rem, 6.35vw, 1.98rem);
        line-height: 1.05;
    }

    .home-hero p {
        max-width: 100%;
        display: -webkit-box;
        overflow: hidden;
        font-size: 0.9rem;
        line-height: 1.36;
        overflow-wrap: anywhere;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .home-hero__actions {
        margin-top: 22px;
        margin-bottom: 14px;
        gap: 10px;
    }

    .home-eyebrow {
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }

    .home-call-card,
    .home-phone__screen,
    .home-summary-card,
    .home-cta__card {
        padding: 16px;
    }

    .home-call-stage {
        display: none;
    }

    .home-call-stage::before,
    .home-waveform,
    .home-action-stack {
        display: none;
    }

    .home-call-card {
        width: 100%;
        gap: 12px;
        overflow: hidden;
        border-color: rgba(125, 211, 252, 0.2);
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.095), rgba(255, 255, 255, 0.04)),
            rgba(11, 17, 32, 0.9);
        box-shadow: 0 18px 48px rgba(0, 0, 0, 0.26);
    }

    body.landing-refresh[data-theme="light"] .home-call-card {
        background: #ffffff;
        box-shadow: 0 18px 42px rgba(15, 23, 42, 0.1);
    }

    .home-call-card__top {
        flex-wrap: wrap;
        font-size: 0.86rem;
    }

    .home-call-card__top time {
        margin-left: auto;
    }

    .home-call-dialog p {
        max-width: 100%;
        padding: 10px 12px;
        font-size: 0.94rem;
        overflow-wrap: anywhere;
    }

    .home-call-dialog p:nth-child(3) {
        display: none;
    }

    .home-hero__proof {
        display: none;
    }

    .home-hero__proof span {
        flex: 1 1 min(100%, 154px);
        justify-content: center;
        min-height: 32px;
        padding-inline: 10px;
        font-size: 0.82rem;
        text-align: center;
        white-space: normal;
    }

    .home-action-stack,
    .home-strip__grid,
    .home-steps,
    .home-use-grid,
    .home-faq-grid,
    .home-demo-grid,
    .home-realtime-grid,
    .home-control-list {
        grid-template-columns: 1fr;
    }

    .home-strip {
        display: none;
    }

    .home-strip__grid {
        gap: 8px;
    }

    .home-strip__grid div,
    .home-use-grid article,
    .home-faq-grid article,
    .home-demo-grid article,
    .home-realtime-grid article,
    .home-control-list div {
        padding: 16px;
    }

    .home-section {
        padding: 30px 0;
    }

    .home-section__head {
        margin-bottom: 16px;
    }

    .home-section__head--center {
        text-align: left;
    }

    .home-section__head h2,
    .home-cta h2 {
        margin-bottom: 10px;
        font-size: clamp(1.52rem, 7vw, 2.05rem);
        line-height: 1.08;
    }

    .home-section__head p,
    .home-cta p {
        font-size: 0.95rem;
        line-height: 1.46;
    }

    .home-section__head p {
        display: none;
    }

    #demo .home-section__head p {
        display: block;
    }

    .home-steps article {
        min-height: 0;
        padding: 14px 15px;
        border: 1px solid rgba(148, 163, 184, 0.14);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
    }

    body.landing-refresh[data-theme="light"] .home-steps article {
        background: rgba(255, 255, 255, 0.9);
        border-color: rgba(15, 23, 42, 0.08);
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.05);
    }

    .home-steps article span {
        margin-bottom: 10px;
    }

    .home-steps article p,
    .home-use-grid article p,
    .home-realtime-grid article span,
    .home-control-list div span,
    .home-demo-grid article p {
        display: none;
    }

    .home-steps article:nth-child(n+4),
    .home-use-grid article:nth-child(n+5),
    .home-faq-grid article:nth-child(n+4) {
        display: none;
    }

    .home-use-grid article,
    .home-faq-grid article,
    .home-demo-grid article,
    .home-realtime-grid article,
    .home-control-list div {
        min-height: 0;
    }

    .home-section--quiet .home-section__head p,
    #summary .home-section__head p {
        display: none;
    }

    #conversation,
    #control,
    #realtime,
    #summary,
    #faq {
        display: none;
    }

    .home-steps article p,
    .home-use-grid article p,
    .home-demo-grid article p {
        display: -webkit-box;
        overflow: hidden;
        margin-top: 8px;
        font-size: 0.9rem;
        line-height: 1.38;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    #summary .home-summary-card {
        display: none;
    }

    .home-cta__card {
        display: grid;
        gap: 18px;
    }

    .home-cta {
        padding: 30px 0;
    }

    #demo {
        padding-top: 28px;
    }

    #demo .home-demo-grid {
        gap: 10px;
    }

    #demo .home-demo-grid--compact article p {
        display: block;
        overflow: visible;
        -webkit-line-clamp: unset;
    }

    .home-hero__actions .btn,
    .home-cta__actions .btn,
    .home-demo-grid .btn {
        width: 100%;
    }

    .home-summary-card dl div {
        display: grid;
        justify-content: stretch;
        gap: 4px;
    }

    .home-summary-card dd {
        text-align: left;
    }

    .home-phone__screen {
        width: 100%;
    }

    .home-phone__bubble {
        max-width: 92%;
    }
}

@media (max-width: 760px) {
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .site-header {
        padding: 0 !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav {
        width: min(100% - 20px, var(--container)) !important;
        min-height: 68px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 10px 0 !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .logo-wrap {
        min-width: 0 !important;
        min-height: 46px !important;
        flex: 1 1 auto !important;
        gap: 9px !important;
        padding-right: 4px !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .logo-mark {
        width: 40px !important;
        height: 40px !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .logo-mark svg {
        width: 31px !important;
        height: 31px !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .logo-wordmark {
        min-width: 0 !important;
        font-size: 1.08rem !important;
        line-height: 1 !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions {
        order: 2 !important;
        width: auto !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 9px !important;
        margin-left: auto !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions .theme-toggle {
        width: 118px !important;
        min-width: 118px !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 4px !important;
        font-size: 0.9rem !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions .theme-toggle__option {
        gap: 4px !important;
        font-size: 0.75rem !important;
        font-weight: 850 !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions .theme-toggle__option svg {
        width: 16px !important;
        height: 16px !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions .nav-icon-button {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .nav-actions .nav-icon-button svg {
        width: 21px !important;
        height: 21px !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu {
        position: fixed !important;
        left: max(10px, env(safe-area-inset-left)) !important;
        right: max(10px, env(safe-area-inset-right)) !important;
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        width: auto !important;
        height: 86px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        touch-action: pan-x !important;
        scroll-snap-type: x proximity !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu a,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .public-menu-link {
        flex: 0 0 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        height: 66px !important;
        min-height: 66px !important;
        scroll-snap-align: center !important;
    }
}

@media (min-width: 1025px), (hover: hover) and (pointer: fine) {
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) {
        padding-bottom: 0 !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        touch-action: auto !important;
        scroll-snap-type: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu a,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .menu-icon-link,
    body:has(:is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .contacts-page, .calendar-page, .capacity-page, .import-page, .billing-page, .test-agent-page, .admin-number-page, .admin-platform)) .menu .public-menu-link {
        flex: 0 0 auto !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        scroll-snap-align: none !important;
    }
}

@media (max-width: 1024px) and (hover: none), (max-width: 1024px) and (pointer: coarse) {
    body.app-shell {
        padding-bottom: calc(108px + env(safe-area-inset-bottom)) !important;
    }

    body.app-shell main {
        padding-bottom: calc(20px + env(safe-area-inset-bottom)) !important;
    }

    body.app-shell .site-header {
        padding: 0 !important;
    }

    body.app-shell .nav {
        width: min(100% - 20px, var(--container)) !important;
        min-height: 68px !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 10px !important;
        padding: 10px 0 !important;
    }

    body.app-shell .logo-wrap {
        min-width: 0 !important;
        min-height: 46px !important;
        flex: 1 1 auto !important;
        gap: 9px !important;
        padding-right: 4px !important;
    }

    body.app-shell .logo-mark {
        width: 40px !important;
        height: 40px !important;
    }

    body.app-shell .logo-mark svg {
        width: 31px !important;
        height: 31px !important;
    }

    body.app-shell .logo-wordmark {
        min-width: 0 !important;
        font-size: 1.08rem !important;
        line-height: 1 !important;
    }

    body.app-shell .nav-actions {
        order: 2 !important;
        width: auto !important;
        min-width: 0 !important;
        flex: 0 0 auto !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 9px !important;
        margin-left: auto !important;
    }

    body.app-shell .nav-actions .theme-toggle {
        width: 118px !important;
        min-width: 118px !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 4px !important;
        font-size: 0.9rem !important;
    }

    body.app-shell .nav-actions .theme-toggle__option {
        gap: 4px !important;
        font-size: 0.75rem !important;
        font-weight: 850 !important;
    }

    body.app-shell .nav-actions .theme-toggle__option svg {
        width: 16px !important;
        height: 16px !important;
    }

    body.app-shell .nav-actions .nav-icon-button {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        min-height: 46px !important;
    }

    body.app-shell .nav-actions .nav-icon-button svg {
        width: 21px !important;
        height: 21px !important;
    }

    body.app-shell .menu {
        position: fixed !important;
        z-index: 90 !important;
        left: max(10px, env(safe-area-inset-left)) !important;
        right: max(10px, env(safe-area-inset-right)) !important;
        bottom: max(12px, env(safe-area-inset-bottom)) !important;
        order: 4 !important;
        display: flex !important;
        flex-wrap: nowrap !important;
        grid-template-columns: none !important;
        align-items: center !important;
        justify-items: stretch !important;
        width: auto !important;
        max-width: none !important;
        height: 86px !important;
        gap: 9px !important;
        padding: 10px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        overscroll-behavior-x: contain !important;
        touch-action: pan-x !important;
        scroll-snap-type: x proximity !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
        border: 1px solid rgba(255, 255, 255, 0.13) !important;
        border-radius: 24px !important;
        background:
            linear-gradient(180deg, rgba(18, 24, 44, 0.94), rgba(9, 13, 27, 0.96)),
            rgba(9, 13, 27, 0.92) !important;
        box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34) !important;
        backdrop-filter: blur(18px) !important;
    }

    body.app-shell .menu::-webkit-scrollbar {
        display: none !important;
    }

    body.app-shell .menu a,
    body.app-shell .menu .menu-icon-link,
    body.app-shell .menu .public-menu-link {
        flex: 0 0 84px !important;
        width: 84px !important;
        min-width: 84px !important;
        height: 66px !important;
        min-height: 66px !important;
        display: inline-flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        border-radius: 18px !important;
        border-color: transparent !important;
        color: rgba(236, 241, 255, 0.72) !important;
        background: transparent !important;
        scroll-snap-align: center !important;
    }

    body.app-shell .menu .menu-icon-link svg,
    body.app-shell .menu .public-menu-link svg {
        width: 24px !important;
        height: 24px !important;
        stroke-width: 2.1 !important;
    }

    body.app-shell .menu .nav-action__text {
        position: static !important;
        width: auto !important;
        height: auto !important;
        clip: auto !important;
        overflow: hidden !important;
        max-width: 74px !important;
        white-space: nowrap !important;
        text-overflow: ellipsis !important;
        font-size: 0.72rem !important;
        font-weight: 800 !important;
        line-height: 1 !important;
    }

    body.app-shell .menu .menu-icon-link:hover,
    body.app-shell .menu .menu-icon-link:focus-visible,
    body.app-shell .menu .menu-icon-link.is-active {
        color: #ffffff !important;
        border-color: rgba(123, 140, 255, 0.28) !important;
        background: linear-gradient(135deg, rgba(46, 166, 247, 0.22), rgba(106, 47, 216, 0.22)) !important;
        transform: none !important;
    }

    body[data-theme="light"].app-shell .menu {
        border-color: rgba(15, 23, 42, 0.1) !important;
        background: rgba(255, 255, 255, 0.94) !important;
        box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16) !important;
    }

    body[data-theme="light"].app-shell .menu a,
    body[data-theme="light"].app-shell .menu .menu-icon-link {
        color: rgba(15, 23, 42, 0.62) !important;
    }

    body[data-theme="light"].app-shell .menu .menu-icon-link:hover,
    body[data-theme="light"].app-shell .menu .menu-icon-link:focus-visible,
    body[data-theme="light"].app-shell .menu .menu-icon-link.is-active {
        color: #1E73D8 !important;
        border-color: rgba(30, 115, 216, 0.16) !important;
        background: rgba(30, 115, 216, 0.08) !important;
    }
}

@media (min-width: 1025px), (hover: hover) and (pointer: fine) {
    body.app-shell {
        padding-bottom: 0 !important;
    }

    body.app-shell .menu {
        position: static !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        display: flex !important;
        width: auto !important;
        height: auto !important;
        overflow: visible !important;
        touch-action: auto !important;
        scroll-snap-type: none !important;
        box-shadow: none !important;
        backdrop-filter: none !important;
    }

    body.app-shell .menu a,
    body.app-shell .menu .menu-icon-link,
    body.app-shell .menu .public-menu-link {
        flex: 0 0 auto !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 42px !important;
        min-height: 42px !important;
        scroll-snap-align: none !important;
    }
}

html.app-mobile-shell body.app-shell {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
}

html.app-mobile-shell body.app-shell main {
    padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
}

html.app-mobile-shell body.app-shell .site-header {
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html.app-mobile-shell body.app-shell .nav {
    width: min(100% - 20px, var(--container)) !important;
    min-height: 68px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 0 !important;
}

html.app-mobile-shell body.app-shell .logo-wrap {
    min-width: 0 !important;
    min-height: 46px !important;
    flex: 1 1 auto !important;
    gap: 9px !important;
    padding-right: 4px !important;
}

html.app-mobile-shell body.app-shell .logo-brand {
    width: auto !important;
    height: 42px !important;
    gap: 8px !important;
}

html.app-mobile-shell body.app-shell .logo-brand__mark {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
}

html.app-mobile-shell body.app-shell .logo-brand__word {
    font-size: 1.04rem !important;
}

html.app-mobile-shell body.app-shell .logo-mark {
    width: 40px !important;
    height: 40px !important;
}

html.app-mobile-shell body.app-shell .logo-wordmark {
    min-width: 0 !important;
    font-size: 1.08rem !important;
    line-height: 1 !important;
}

html.app-mobile-shell body.app-shell .nav-actions {
    order: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
    margin-left: auto !important;
}

html.app-mobile-shell body.app-shell .menu {
    position: fixed !important;
    z-index: 2000 !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    top: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    order: 4 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-items: stretch !important;
    width: auto !important;
    max-width: none !important;
    height: 86px !important;
    gap: 9px !important;
    padding: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 24px !important;
    background: #0b1020 !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: transform !important;
}

html.app-mobile-shell body.app-shell .menu::-webkit-scrollbar {
    display: none !important;
}

html.app-mobile-shell body.app-shell .menu a,
html.app-mobile-shell body.app-shell .menu .menu-icon-link,
html.app-mobile-shell body.app-shell .menu .public-menu-link {
    flex: 0 0 84px !important;
    width: 84px !important;
    min-width: 84px !important;
    height: 66px !important;
    min-height: 66px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border-radius: 18px !important;
    border-color: transparent !important;
    color: rgba(236, 241, 255, 0.72) !important;
    background: transparent !important;
    scroll-snap-align: center !important;
    -webkit-tap-highlight-color: transparent !important;
    appearance: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    filter: none !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
}

html.app-mobile-shell body.app-shell .menu a:active,
html.app-mobile-shell body.app-shell .menu a.is-tapping,
html.app-mobile-shell body.app-shell .menu .menu-icon-link:active,
html.app-mobile-shell body.app-shell .menu .menu-icon-link:focus,
html.app-mobile-shell body.app-shell .menu .menu-icon-link:focus-visible,
html.app-mobile-shell body.app-shell .menu .menu-icon-link.is-active,
html.app-mobile-shell body.app-shell .menu .menu-icon-link.is-tapping,
html.app-mobile-shell body.app-shell .menu .public-menu-link:active,
html.app-mobile-shell body.app-shell .menu .public-menu-link:focus,
html.app-mobile-shell body.app-shell .menu .public-menu-link:focus-visible,
html.app-mobile-shell body.app-shell .menu .public-menu-link.is-tapping {
    color: #ffffff !important;
    border-color: rgba(123, 140, 255, 0.28) !important;
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.22), rgba(106, 47, 216, 0.22)) !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

html.app-mobile-shell body.app-shell .menu a:active *,
html.app-mobile-shell body.app-shell .menu a.is-tapping *,
html.app-mobile-shell body.app-shell .menu .menu-icon-link:active *,
html.app-mobile-shell body.app-shell .menu .menu-icon-link.is-tapping *,
html.app-mobile-shell body.app-shell .menu .menu-icon-link.is-active *,
html.app-mobile-shell body.app-shell .menu .public-menu-link:active *,
html.app-mobile-shell body.app-shell .menu .public-menu-link.is-tapping * {
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html.app-mobile-shell body.app-shell .menu .menu-icon-link svg,
html.app-mobile-shell body.app-shell .menu .public-menu-link svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2.1 !important;
}

html.app-mobile-shell body.app-shell .menu .nav-action__text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    overflow: hidden !important;
    max-width: 74px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

html.app-mobile-shell body[data-theme="light"].app-shell .menu {
    border-color: rgba(15, 23, 42, 0.1) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16) !important;
}

html.app-mobile-shell body[data-theme="light"].app-shell .menu a:active,
html.app-mobile-shell body[data-theme="light"].app-shell .menu a.is-tapping,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .menu-icon-link:active,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .menu-icon-link:focus,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .menu-icon-link:focus-visible,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .menu-icon-link.is-active,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .menu-icon-link.is-tapping,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .public-menu-link:active,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .public-menu-link:focus,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .public-menu-link:focus-visible,
html.app-mobile-shell body[data-theme="light"].app-shell .menu .public-menu-link.is-tapping {
    color: #1E73D8 !important;
    border-color: rgba(30, 115, 216, 0.16) !important;
    background: rgba(30, 115, 216, 0.08) !important;
    outline: none !important;
    box-shadow: none !important;
}
html.app-mobile-shell body.landing-refresh:not(.app-shell) {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) main {
    padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .site-header {
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .nav {
    width: min(100% - 20px, var(--container)) !important;
    min-height: 68px !important;
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    align-items: center !important;
    gap: 6px !important;
    padding: 10px 0 !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .logo-wrap {
    grid-column: 1 !important;
    min-width: 0 !important;
    min-height: 46px !important;
    gap: 9px !important;
    padding-right: 0 !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .logo-brand {
    width: auto !important;
    height: 42px !important;
    gap: 8px !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .logo-brand__mark {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .logo-brand__word {
    font-size: 1.04rem !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .logo-mark {
    width: 40px !important;
    height: 40px !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .logo-wordmark {
    min-width: 0 !important;
    font-size: 1.08rem !important;
    line-height: 1 !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .nav-theme--public {
    display: flex !important;
    grid-column: 2 !important;
    align-self: center !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .nav-theme--public .theme-toggle {
    width: 92px !important;
    min-width: 92px !important;
    height: 40px !important;
    min-height: 40px !important;
    padding: 3px !important;
    border-radius: 999px !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .nav-actions {
    grid-column: 3 !important;
    width: auto !important;
    min-width: auto !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 6px !important;
    margin-left: 0 !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .nav-actions--public .nav-auth-link {
    display: flex !important;
    flex: 0 0 auto !important;
    width: 36px !important;
    min-width: 36px !important;
    height: 36px !important;
    min-height: 36px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .nav-actions--public .nav-auth-link__eyebrow {
    display: none !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .nav-actions--public .nav-auth-link__icon {
    display: inline-flex !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .nav-actions--public .nav-auth-link__label {
    display: none !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu {
    position: fixed !important;
    z-index: 2000 !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    top: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    grid-column: 1 / -1 !important;
    grid-row: 3 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: center !important;
    justify-content: stretch !important;
    justify-items: stretch !important;
    width: auto !important;
    max-width: none !important;
    height: 86px !important;
    gap: 8px !important;
    padding: 10px !important;
    overflow: hidden !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 24px !important;
    background: #0b1020 !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: transform !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu a,
html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link {
    width: 100% !important;
    min-width: 0 !important;
    height: 66px !important;
    min-height: 66px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border-radius: 18px !important;
    border-color: transparent !important;
    color: rgba(236, 241, 255, 0.72) !important;
    background: transparent !important;
    -webkit-tap-highlight-color: transparent !important;
    appearance: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    filter: none !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link--primary,
html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link:hover,
html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link:focus,
html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link:focus-visible,
html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link:active,
html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link.is-tapping {
    color: #ffffff !important;
    border-color: rgba(123, 140, 255, 0.28) !important;
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.22), rgba(106, 47, 216, 0.22)) !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link:active *,
html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link.is-tapping *,
html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link--primary * {
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .public-menu-link svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2.1 !important;
}

html.app-mobile-shell body.landing-refresh:not(.app-shell) .menu .nav-action__text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    overflow: hidden !important;
    max-width: 74px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu {
    border-color: rgba(15, 23, 42, 0.1) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16) !important;
}

html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu a,
html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu .public-menu-link {
    color: rgba(15, 23, 42, 0.62) !important;
}

html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu .public-menu-link--primary,
html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu .public-menu-link:hover,
html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu .public-menu-link:focus,
html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu .public-menu-link:focus-visible,
html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu .public-menu-link:active,
html.app-mobile-shell body[data-theme="light"].landing-refresh:not(.app-shell) .menu .public-menu-link.is-tapping {
    color: #1E73D8 !important;
    border-color: rgba(30, 115, 216, 0.16) !important;
    background: rgba(30, 115, 216, 0.08) !important;
    outline: none !important;
    box-shadow: none !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) {
    padding-bottom: calc(112px + env(safe-area-inset-bottom)) !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) main {
    padding-bottom: calc(24px + env(safe-area-inset-bottom)) !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .site-header {
    padding: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .nav {
    width: min(100% - 20px, var(--container)) !important;
    min-height: 68px !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    padding: 10px 0 !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .logo-wrap {
    min-width: 0 !important;
    min-height: 46px !important;
    flex: 1 1 auto !important;
    gap: 9px !important;
    padding-right: 4px !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .logo-brand {
    width: auto !important;
    height: 42px !important;
    gap: 8px !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .logo-brand__mark {
    width: 38px !important;
    height: 38px !important;
    border-radius: 13px !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .logo-brand__word {
    font-size: 1.04rem !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .logo-mark {
    width: 40px !important;
    height: 40px !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .logo-wordmark {
    min-width: 0 !important;
    font-size: 1.08rem !important;
    line-height: 1 !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .nav-actions {
    order: 2 !important;
    width: auto !important;
    min-width: 0 !important;
    flex: 0 0 auto !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 9px !important;
    margin-left: auto !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .menu {
    position: fixed !important;
    z-index: 2000 !important;
    left: max(10px, env(safe-area-inset-left)) !important;
    right: max(10px, env(safe-area-inset-right)) !important;
    top: auto !important;
    bottom: max(12px, env(safe-area-inset-bottom)) !important;
    order: 4 !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    grid-template-columns: none !important;
    align-items: center !important;
    justify-items: stretch !important;
    width: auto !important;
    max-width: none !important;
    height: 86px !important;
    gap: 9px !important;
    padding: 10px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    overscroll-behavior-x: contain !important;
    touch-action: pan-x !important;
    scroll-snap-type: x proximity !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    border: 1px solid rgba(255, 255, 255, 0.13) !important;
    border-radius: 24px !important;
    background: #0b1020 !important;
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    transform: translate3d(0, 0, 0) !important;
    will-change: transform !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .menu::-webkit-scrollbar {
    display: none !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .menu a,
html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link {
    flex: 0 0 84px !important;
    width: 84px !important;
    min-width: 84px !important;
    height: 66px !important;
    min-height: 66px !important;
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    border-radius: 18px !important;
    border-color: transparent !important;
    color: rgba(236, 241, 255, 0.72) !important;
    background: transparent !important;
    scroll-snap-align: center !important;
    -webkit-tap-highlight-color: transparent !important;
    appearance: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    transition: none !important;
    filter: none !important;
    transform: translateZ(0) !important;
    backface-visibility: hidden !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link--primary,
html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link:hover,
html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link:focus,
html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link:focus-visible,
html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link:active,
html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link.is-tapping {
    color: #ffffff !important;
    border-color: rgba(123, 140, 255, 0.28) !important;
    background: linear-gradient(135deg, rgba(46, 166, 247, 0.22), rgba(106, 47, 216, 0.22)) !important;
    outline: none !important;
    box-shadow: none !important;
    transform: none !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link:active *,
html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link.is-tapping *,
html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link--primary * {
    color: currentColor !important;
    opacity: 1 !important;
    visibility: visible !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .menu .public-menu-link svg {
    width: 24px !important;
    height: 24px !important;
    stroke-width: 2.1 !important;
}

html.app-mobile-shell body.auth-page:not(.app-shell) .menu .nav-action__text {
    position: static !important;
    width: auto !important;
    height: auto !important;
    clip: auto !important;
    overflow: hidden !important;
    max-width: 74px !important;
    white-space: nowrap !important;
    text-overflow: ellipsis !important;
    font-size: 0.72rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu {
    border-color: rgba(15, 23, 42, 0.1) !important;
    background: rgba(255, 255, 255, 0.94) !important;
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.16) !important;
}

html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu a,
html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu .public-menu-link {
    color: rgba(15, 23, 42, 0.62) !important;
}

html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu .public-menu-link--primary,
html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu .public-menu-link:hover,
html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu .public-menu-link:focus,
html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu .public-menu-link:focus-visible,
html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu .public-menu-link:active,
html.app-mobile-shell body[data-theme="light"].auth-page:not(.app-shell) .menu .public-menu-link.is-tapping {
    color: #1E73D8 !important;
    border-color: rgba(30, 115, 216, 0.16) !important;
    background: rgba(30, 115, 216, 0.08) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Cohesive light mode pass across public, auth and product pages. */
body[data-theme="light"] {
    --primary: #1769c2;
    --secondary: #0f766e;
    --accent: #2563eb;
    --text: #0f172a;
    --subtitle: #526174;
    --background: #f7fafc;
    --background-soft: #eef5f3;
    --border: rgba(15, 23, 42, 0.1);
    --card: rgba(255, 255, 255, 0.88);
    --card-strong: #ffffff;
    --shadow: 0 24px 70px rgba(15, 23, 42, 0.11);
    --shadow-soft: 0 12px 34px rgba(15, 23, 42, 0.08);
    --gradient-main: linear-gradient(135deg, #2ea6f7, #1769c2, #0f766e);
    --gradient-button: linear-gradient(135deg, #1f8dd6, #1769c2);
    color: var(--text);
}

body[data-theme="light"]:not(.landing-page):not(.legal-page) {
    background:
        linear-gradient(180deg, rgba(248, 251, 255, 0.98) 0%, rgba(239, 247, 244, 0.94) 48%, rgba(255, 255, 255, 0.98) 100%);
}

body[data-theme="light"] .site-header {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(15, 23, 42, 0.08);
    box-shadow: 0 10px 34px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"] .logo-wrap {
    color: #0f172a;
}

body[data-theme="light"] .menu a,
body[data-theme="light"] .menu .menu-icon-link,
body[data-theme="light"] .menu .public-menu-link {
    color: #526174;
}

body[data-theme="light"] .menu .menu-icon-link:hover,
body[data-theme="light"] .menu .menu-icon-link:focus-visible,
body[data-theme="light"] .menu .menu-icon-link.is-active,
body[data-theme="light"] .menu .public-menu-link:hover,
body[data-theme="light"] .menu .public-menu-link:focus-visible,
body[data-theme="light"] .menu .public-menu-link--primary {
    color: #1769c2;
    border-color: rgba(23, 105, 194, 0.18);
    background: rgba(23, 105, 194, 0.08);
}

body[data-theme="light"] .theme-toggle {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.1);
}

body[data-theme="light"] .theme-toggle__option {
    color: #64748b;
}

body[data-theme="light"] .theme-toggle[data-current-theme="light"] .theme-toggle__thumb {
    background: linear-gradient(135deg, #facc15, #fb923c);
    box-shadow: 0 9px 20px rgba(180, 83, 9, 0.22);
}

body[data-theme="light"] .theme-toggle[data-current-theme="dark"] .theme-toggle__thumb {
    background: linear-gradient(135deg, #60a5fa, #4f46e5);
}

body[data-theme="light"] .btn-primary,
body[data-theme="light"] .btn-nav {
    box-shadow: 0 14px 30px rgba(23, 105, 194, 0.18);
}

body[data-theme="light"] .btn-secondary,
body[data-theme="light"] .btn-tertiary {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.86);
    color: #0f172a;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

body[data-theme="light"] .btn-secondary:hover,
body[data-theme="light"] .btn-tertiary:hover {
    border-color: rgba(23, 105, 194, 0.18);
    background: #ffffff;
}

body[data-theme="light"] input,
body[data-theme="light"] select,
body[data-theme="light"] textarea {
    border-color: rgba(15, 23, 42, 0.12);
    background: rgba(255, 255, 255, 0.92);
    color: #0f172a;
}

body[data-theme="light"] input::placeholder,
body[data-theme="light"] textarea::placeholder {
    color: #94a3b8;
}

body[data-theme="light"] .site-footer {
    border-top-color: rgba(15, 23, 42, 0.08);
    background:
        linear-gradient(180deg, #ffffff 0%, #f3f7f5 100%);
    color: #526174;
}

body[data-theme="light"] .site-footer span {
    color: #0f172a;
}

body[data-theme="light"] .site-footer a {
    color: #526174;
}

body[data-theme="light"] .site-footer a:hover,
body[data-theme="light"] .site-footer a:focus-visible {
    color: #1769c2;
}

body.landing-page[data-theme="light"] {
    --primary: #1769c2;
    --secondary: #0f766e;
    --accent: #2563eb;
    --text: #0f172a;
    --subtitle: #526174;
    --background: #f7fafc;
    --background-soft: #eef5f3;
    --border: rgba(15, 23, 42, 0.1);
    --card: rgba(255, 255, 255, 0.88);
    --card-strong: #ffffff;
    background:
        linear-gradient(180deg, #f8fbff 0%, #eef7f3 43%, #ffffff 100%);
}

body.landing-refresh[data-theme="light"] .home-hero {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.66) 0%, rgba(255, 255, 255, 0) 100%);
}

body.landing-refresh[data-theme="light"] .home-eyebrow {
    border-color: rgba(15, 118, 110, 0.18);
    background: rgba(240, 253, 250, 0.84);
    color: #0f766e;
}

body.landing-refresh[data-theme="light"] .home-hero h1,
body.landing-refresh[data-theme="light"] .home-section__head h2,
body.landing-refresh[data-theme="light"] .home-cta h2 {
    color: #0b1220;
}

body.landing-refresh[data-theme="light"] .home-hero p,
body.landing-refresh[data-theme="light"] .home-section__head p,
body.landing-refresh[data-theme="light"] .home-cta p {
    color: #526174;
}

body.landing-refresh[data-theme="light"] .home-hero__proof span {
    border-color: rgba(15, 23, 42, 0.09);
    background: rgba(255, 255, 255, 0.84);
    color: #334155;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.05);
}

body.landing-refresh[data-theme="light"] .home-call-stage::before {
    border: 1px solid rgba(23, 105, 194, 0.1);
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.84), rgba(239, 246, 255, 0.9));
}

body.landing-refresh[data-theme="light"] .home-call-card,
body.landing-refresh[data-theme="light"] .home-phone__screen,
body.landing-refresh[data-theme="light"] .home-summary-card {
    border-color: rgba(15, 23, 42, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    box-shadow: 0 24px 58px rgba(15, 23, 42, 0.12);
}

body.landing-refresh[data-theme="light"] .home-waveform,
body.landing-refresh[data-theme="light"] .home-call-dialog__client,
body.landing-refresh[data-theme="light"] .home-phone__bubble--client {
    border-color: rgba(15, 23, 42, 0.06);
    background: #eef4f8;
}

body.landing-refresh[data-theme="light"] .home-call-dialog__agent,
body.landing-refresh[data-theme="light"] .home-phone__bubble--agent {
    background: #e6f4ff;
}

body.landing-refresh[data-theme="light"] :is(.home-action-stack div, .home-control-list div, .home-realtime-grid article, .home-demo-grid article, .home-use-grid article, .home-faq-grid article, .home-strip__grid div) {
    border-color: rgba(15, 23, 42, 0.09);
    background: rgba(255, 255, 255, 0.86);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.06);
}

body.landing-refresh[data-theme="light"] .home-action-stack span,
body.landing-refresh[data-theme="light"] .home-use-grid span,
body.landing-refresh[data-theme="light"] .home-summary-card > span,
body.landing-refresh[data-theme="light"] .home-demo-grid span {
    color: #0f766e;
}

body.landing-refresh[data-theme="light"] .home-section--quiet {
    background:
        linear-gradient(180deg, rgba(239, 247, 244, 0.95), rgba(248, 251, 255, 0.96));
}

body.landing-refresh[data-theme="light"] .home-section--split {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(243, 247, 245, 0.72));
}

body.landing-refresh[data-theme="light"] .home-phone__result {
    background: rgba(220, 252, 231, 0.78);
}

body.landing-refresh[data-theme="light"] .home-phone__result strong {
    color: #14532d;
}

body.landing-refresh[data-theme="light"] .home-summary-card dl div {
    border-bottom-color: rgba(15, 23, 42, 0.08);
}

body.landing-refresh[data-theme="light"] .home-cta__card {
    border-color: rgba(15, 118, 110, 0.14);
    background:
        linear-gradient(135deg, rgba(236, 253, 245, 0.92), rgba(239, 246, 255, 0.95)),
        #ffffff;
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

body.landing-page[data-theme="light"] .demo-readiness,
body.landing-page[data-theme="light"] .demo-card,
body.landing-page[data-theme="light"] .voice-panel,
body.landing-page[data-theme="light"] .transcript-panel,
body.landing-page[data-theme="light"] .conversation-card,
body.landing-page[data-theme="light"] .actions-card {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.07);
}

body[data-theme="light"].auth-page {
    background:
        linear-gradient(180deg, #f8fbff 0%, #eef7f3 52%, #ffffff 100%);
}

body[data-theme="light"] .auth-card,
body[data-theme="light"] .auth-side-card,
body[data-theme="light"] .auth-panel {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

body[data-theme="light"].legal-page {
    background:
        linear-gradient(180deg, #f8fbff 0%, #eef7f3 50%, #ffffff 100%);
    color: #0f172a;
}

body[data-theme="light"].legal-page .legal-hero__card,
body[data-theme="light"].legal-page .legal-card {
    border-color: rgba(15, 23, 42, 0.1);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"].legal-page :is(.legal-hero h1, .legal-card h2) {
    color: #0f172a;
}

body[data-theme="light"].legal-page :is(.legal-hero p, .legal-card p, .legal-updated) {
    color: #526174 !important;
}

body[data-theme="light"].app-shell :is(.dashboard-page, .crm-page, .sms-page, .email-dashboard-page, .calendar-page, .capacity-page, .contacts-page, .billing-page, .test-agent-page, .import-page, .admin-number-page, .admin-platform) {
    color: #0f172a;
}

body[data-theme="light"].app-shell :is(.dashboard-hero, .crm-header, .sms-header, .calendar-header, .capacity-header, .contacts-header, .billing-header, .test-agent-topbar, .admin-number-hero, .admin-platform__hero) {
    border-color: rgba(15, 23, 42, 0.1);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(239, 247, 244, 0.82));
    box-shadow: 0 18px 46px rgba(15, 23, 42, 0.08);
}

body[data-theme="light"].app-shell :is(.crm-section, .crm-list, .crm-row, .sms-panel, .sms-device, .calendar-section, .capacity-panel, .contacts-card, .contact-editor, .contacts-quick, .billing-summary, .billing-plan, .billing-card, .test-card, .test-readiness-card, .admin-number-panel, .admin-number-card, .admin-platform__tab, .admin-platform__status) {
    border-color: rgba(15, 23, 42, 0.1);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.06);
}
