/* Design System - Bold & Glossy */
:root {
    color-scheme: light;
    --max-width: 1160px;
    --content-gutter: 24px;
    --nav-bar-height: 3.25rem;
    --nav-below-gap: 16px;
    --nav-clearance: calc(1.25rem + var(--nav-bar-height) + var(--nav-below-gap));
    --panel-subnav-height: var(--nav-bar-height);
    --panel-subnav-gap: 0px;
    /* Dashboard uses a single top bar (no marketing nav) */
    --panel-nav-clearance: var(--nav-clearance);
    --nav-surface: rgba(232, 232, 236, 0.94);
    --nav-surface-muted: rgba(214, 214, 220, 0.95);
    --nav-border: rgba(0, 0, 0, 0.08);
    --nav-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
    --color-bg: #f5f7fa;
    --color-surface: #ffffff;
    --color-card: #fefefe;
    --color-border: #d1d9e6;
    --color-text: #1a202c;
    --color-text-strong: #000000;
    --color-muted: #5a6c7d;
    --color-light: #8b95a1;
    --color-accent: #2563eb;
    --color-accent-hover: #1d4ed8;
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 1.5rem;
    --space-2xl: 3rem;
    --space-3xl: 5rem;
    --radius: 12px;
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
    --shadow-glossy: 0 8px 24px rgba(0, 0, 0, 0.12), 0 2px 6px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 12px 32px rgba(0, 0, 0, 0.16), 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Section typography (below-hero hierarchy) */
    --section-kicker-size: clamp(0.8125rem, 1.5vw, 0.875rem);
    --section-title-size: clamp(2rem, 4.5vw, 2.75rem);
    --section-lead-size: 1.0625rem;
    --section-lead-line: 1.65;
    --section-text-size: 1.2rem;
    --section-text-line: 1.65;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    color: var(--color-text);
    font-size: 17px;
    font-weight: 400;
}

/* Container System - Shared for header and all sections */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--content-gutter);
    padding-right: var(--content-gutter);
}

.container--wide,
.container-wide {
    max-width: var(--max-width);
    margin: 0 auto;
    padding-left: var(--content-gutter);
    padding-right: var(--content-gutter);
}

@media (max-width: 968px) {
    .container,
    .container-wide {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .section {
        padding: var(--space-2xl) 0;
    }
    
    h1 {
        font-size: clamp(2rem, 6vw, 2.5rem);
    }
    
    h2 {
        font-size: clamp(1.5rem, 5vw, 1.875rem);
    }
    
    .hero-lead {
        font-size: 1.125rem;
    }
    
    .btn {
        padding: 0.875rem 1.75rem;
        font-size: 1rem;
    }
}

/* Typography - Bold & Impactful */
h1, h2, h3, h4 {
    line-height: 1.2;
    font-weight: 800;
    color: var(--color-text-strong);
    letter-spacing: -0.025em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 3.75rem);
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.875rem, 3.5vw, 2.5rem);
    font-weight: 700;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

p {
    color: var(--color-muted);
    line-height: 1.7;
    font-size: 1.0625rem;
}

.hero-lead {
    font-size: 1.25rem;
    line-height: 1.75;
    color: var(--color-muted);
    font-weight: 400;
}

.kicker {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

/* Navigation ? floating grey pill (matches MediaSnap cinematic SaaS tube) */
body.landing-page {
    padding-top: var(--nav-clearance);
    background: var(--color-bg);
}
body.landing-page.panel-page {
    padding-top: var(--panel-nav-clearance);
}
/* App shell has its own fixed topbar — no marketing-nav clearance spacer */
body.landing-page.panel-page.app-body,
body.landing-page.app-body,
body.panel-page.app-body,
body.app-body {
    padding-top: 0 !important;
    margin-top: 0 !important;
    --panel-nav-clearance: 0px;
    --nav-clearance: 0px;
}

/* Panel primary nav ? same top slot as marketing tube */
.panel-nav-shell {
    z-index: 100;
}

.panel-top-nav .panel-subnav-tube {
    gap: 0.65rem;
}

.panel-top-nav .nav-menu.panel-subnav-links {
    margin-left: auto;
    flex: 0 1 auto;
    flex-shrink: 1;
    min-width: 0;
    justify-content: flex-end;
    gap: 0.1rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.panel-subnav-links::-webkit-scrollbar {
    display: none;
}

.panel-top-nav .nav-menu.panel-subnav-links a {
    font-size: 0.8125rem;
    padding: 0.4rem 0.65rem;
}

.panel-top-nav .nav-menu.panel-subnav-links a.is-active {
    background: var(--color-accent);
    color: #fff;
}

.panel-subnav-actions {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
    margin-left: 0;
}

.panel-subnav-user {
    flex-shrink: 0;
    position: relative;
}

@media (min-width: 769px) and (max-width: 1100px) {
    .panel-top-nav .nav-logo span {
        display: none;
    }

    .panel-top-nav .nav-menu.panel-subnav-links a {
        padding: 0.35rem 0.5rem;
        font-size: 0.75rem;
    }
}

.panel-user-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    text-decoration: none;
    cursor: pointer;
}

.panel-user-btn::after {
    display: none;
}

.panel-user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1;
}

.panel-page-wrap {
    min-height: calc(100vh - var(--panel-nav-clearance) - 6rem);
}

body.app-body {
    padding-top: 0 !important;
}

body.app-body .panel-page-wrap {
    min-height: 0;
}

.praigen-nav-shell {
    height: 0;
    min-height: 0;
    overflow: visible;
    position: relative;
    z-index: 100;
    pointer-events: none;
}

.top-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: transparent;
    border: none;
    padding: 1.25rem var(--content-gutter) 0;
    pointer-events: none;
}

.top-nav-tube {
    pointer-events: auto;
    width: min(var(--max-width), calc(100vw - 2 * var(--content-gutter)));
    margin: 0 auto;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 1.25rem;
    min-height: var(--nav-bar-height);
    padding: 0.45rem 0.65rem 0.45rem 1rem;
    border-radius: 999px;
    background: var(--nav-surface);
    border: 1px solid var(--nav-border);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: var(--nav-shadow);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-weight: 800;
    font-size: 1.125rem;
    color: var(--color-text-strong);
    text-decoration: none;
    letter-spacing: -0.02em;
    margin: 0;
    padding: 0.15rem 0.25rem 0.15rem 0.1rem;
    flex-shrink: 0;
}

.nav-logo img {
    width: 32px;
    height: 32px;
    display: block;
    flex-shrink: 0;
    object-fit: contain;
    margin: 0;
    padding: 0;
    border-radius: 8px;
}

.nav-logo svg {
    color: var(--color-accent);
    margin: 0;
    padding: 0;
    display: block;
    flex-shrink: 0;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    margin: 0;
    padding: 0;
    min-width: 0;
}

.nav-menu .nav-link,
.nav-menu a.nav-link,
.nav-dropdown__trigger {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.95rem;
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    border: 0;
    background: transparent;
    border-radius: 999px;
    cursor: pointer;
    font-family: inherit;
    transition: color 0.18s ease, background 0.18s ease;
}

.nav-menu .nav-link:hover,
.nav-menu a.nav-link:hover,
.nav-dropdown__trigger:hover {
    color: var(--color-text-strong);
    background: rgba(37, 99, 235, 0.06);
}

.nav-menu .nav-link.is-active,
.nav-menu a.nav-link.is-active,
.nav-dropdown__trigger.is-active {
    color: var(--color-accent);
    background: rgba(37, 99, 235, 0.1);
    font-weight: 600;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown__chevron {
    opacity: 0.7;
    transition: transform 0.18s ease;
}

.nav-dropdown.is-open .nav-dropdown__chevron {
    transform: rotate(180deg);
}

.nav-dropdown__panel {
    position: absolute;
    top: calc(100% + 0.55rem);
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 13.5rem;
    padding: 0.45rem;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(209, 217, 230, 0.9);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
    z-index: 120;
}

.nav-dropdown.is-open .nav-dropdown__panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown__item {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 0.55rem 0.75rem;
    border-radius: 10px;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: background 0.15s ease, color 0.15s ease;
}

.nav-dropdown__item:hover {
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-text-strong);
}

.nav-dropdown__item.is-active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
    font-weight: 600;
}

.nav-dropdown__item.is-disabled {
    color: var(--color-light);
    cursor: default;
    opacity: 0.75;
}

.nav-dropdown__divider {
    height: 1px;
    margin: 0.35rem 0.4rem;
    background: rgba(209, 217, 230, 0.85);
}

.nav-link-secondary {
    color: var(--color-text) !important;
    text-decoration: none;
    font-size: 0.9375rem;
    font-weight: 500;
    padding: 0.5rem 0.9rem;
    min-height: 2.25rem;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    transition: color 0.18s ease, background 0.18s ease;
}

.nav-link-secondary:hover {
    color: var(--color-text-strong) !important;
    background: rgba(37, 99, 235, 0.06);
}

.nav-link-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    padding: 0.55rem 1.15rem !important;
    border-radius: 999px !important;
    border: 1px solid var(--color-accent) !important;
    background: linear-gradient(135deg, var(--color-accent) 0%, #1e40af 100%) !important;
    color: #fff !important;
    font-weight: 600 !important;
    font-size: 0.9375rem !important;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.22);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease !important;
}

.nav-link-btn:hover {
    background: linear-gradient(135deg, var(--color-accent-hover) 0%, #1e3a8a 100%) !important;
    color: #fff !important;
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.28);
}

.nav-link-btn.is-active {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    flex-shrink: 0;
}

.nav-actions-auth {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-menu-auth {
    display: none;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--nav-surface-muted);
    color: var(--color-text-strong);
    cursor: pointer;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
    transition: background 0.2s ease, color 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
    color: var(--color-accent);
}

.theme-toggle .theme-icon {
    display: none;
}

/* Light theme: show moon (switch to dark). Dark theme: show sun (switch to light). */
html[data-theme="light"] .theme-toggle .theme-icon-moon,
html:not([data-theme]) .theme-toggle .theme-icon-moon {
    display: block;
}

html[data-theme="dark"] .theme-toggle .theme-icon-sun {
    display: block;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 2.5rem;
    height: 2.5rem;
    border: 0;
    border-radius: 999px;
    background: var(--nav-surface-muted);
    cursor: pointer;
    padding: 0;
    margin: 0;
    flex-shrink: 0;
}

.nav-toggle span {
    width: 1.1rem;
    height: 2px;
    margin: 0 auto;
    background: var(--color-text-strong);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Desktop: menu visible, hamburger hidden */
@media (min-width: 1025px) {
    .nav-menu {
        display: flex !important;
    }

    .nav-toggle {
        display: none !important;
    }

    .nav-actions-auth {
        display: flex;
    }

    .nav-menu-auth {
        display: none !important;
    }
}

/* Tablet/mobile: slide-out menu panel */
@media (max-width: 1024px) {
    :root {
        --nav-bar-height: 3rem;
    }

    .top-nav-tube {
        display: flex;
        gap: 0.75rem;
        padding-left: 0.85rem;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-actions {
        margin-left: auto;
    }

    .nav-actions-auth {
        display: none;
    }

    .nav-menu {
        position: fixed;
        top: calc(1.25rem + var(--nav-bar-height) + 10px);
        left: 50%;
        transform: translateX(-50%);
        width: min(var(--max-width), calc(100vw - 2 * var(--content-gutter)));
        background: var(--nav-surface);
        backdrop-filter: blur(25px);
        -webkit-backdrop-filter: blur(25px);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        gap: 0.2rem;
        padding: 0.85rem;
        border: 1px solid var(--nav-border);
        border-radius: 22px;
        display: none;
        max-height: calc(100vh - var(--nav-clearance) - 1rem);
        overflow-y: auto;
        box-shadow: var(--nav-shadow);
        margin-left: 0;
        z-index: 110;
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu .nav-link,
    .nav-menu a.nav-link,
    .nav-dropdown__trigger,
    .nav-menu-auth .nav-link-secondary,
    .nav-menu-auth .nav-link-btn {
        width: 100%;
        justify-content: flex-start;
        padding: 0.75rem 0.9rem;
        font-size: 1rem;
    }

    .nav-dropdown {
        width: 100%;
    }

    .nav-dropdown__trigger {
        width: 100%;
        justify-content: space-between;
    }

    .nav-dropdown__panel {
        position: static;
        transform: none;
        left: auto;
        top: auto;
        min-width: 0;
        width: 100%;
        margin-top: 0.25rem;
        box-shadow: none;
        border: 1px solid rgba(209, 217, 230, 0.7);
        display: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-dropdown.is-open .nav-dropdown__panel {
        display: block;
        transform: none;
    }

    .nav-menu-auth {
        display: flex;
        flex-direction: column;
        gap: 0.45rem;
        margin-top: 0.65rem;
        padding-top: 0.75rem;
        border-top: 1px solid rgba(209, 217, 230, 0.75);
    }

    .nav-menu-auth .nav-link-btn {
        justify-content: center;
        text-align: center;
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nav-menu .nav-link,
    .nav-dropdown__trigger,
    .nav-dropdown__panel,
    .nav-dropdown__chevron,
    .nav-link-btn {
        transition: none !important;
    }
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1rem 2rem;
    border-radius: var(--radius);
    border: 1px solid transparent;
    font-weight: 700;
    font-size: 1.0625rem;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent) 0%, #1e40af 100%);
    color: var(--color-surface);
    border-color: var(--color-accent);
    box-shadow: var(--shadow-card);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.2) 0%, transparent 100%);
    pointer-events: none;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent-hover) 0%, #1e3a8a 100%);
    border-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.btn-secondary {
    background: var(--color-surface);
    color: var(--color-text);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background: var(--color-card);
}

.link-secondary {
    color: var(--color-text-strong);
    text-decoration: none;
    font-size: 1.0625rem;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
}

.link-secondary::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent);
    transition: width 0.3s ease;
}

.link-secondary:hover {
    color: var(--color-accent);
}

.link-secondary:hover::after {
    width: 100%;
}

/* Sections */
.section {
    padding: var(--space-3xl) 0;
}

.section-alt {
    background: var(--color-surface);
}

.section-compact {
    padding: var(--space-2xl) 0;
}

/* Home below-hero: tightened section rhythm (~20% less than prior 5rem) */
.home-below-hero .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-split {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.home-below-hero .section-alt.section-split {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.section-cta {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

.home-below-hero .section-header {
    margin-bottom: var(--space-2xl);
}

/* Split layout: image + text, hero-style */
.split {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.split--image-right .split-content {
    order: 1;
}

.split--image-right .split-visual {
    order: 2;
}

.split-content {
    text-align: left;
}

/* Section typography: kicker, title, lead, text (hero-style hierarchy below hero) */
.section-kicker {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--section-kicker-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.section-title {
    margin: 0 0 var(--space-xl) 0;
    font-size: var(--section-title-size);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-text-strong);
}

.section-lead {
    font-size: var(--section-lead-size);
    line-height: var(--section-lead-line);
    color: var(--color-text);
}

.section-text {
    font-size: var(--section-text-size);
    line-height: var(--section-text-line);
    color: var(--color-text);
}

.split-content .kicker {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--section-kicker-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.split-title {
    margin: 0 0 var(--space-xl) 0;
    font-size: var(--section-title-size);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.025em;
    color: var(--color-text-strong);
}

.bullet-list-split {
    list-style: none;
    margin: 0 0 var(--space-lg) 0;
    padding: 0;
}

.bullet-list-split li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
    font-size: var(--section-text-size);
    line-height: var(--section-text-line);
    color: var(--color-text);
    text-align: left;
}

.bullet-list-split li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.split-support {
    margin: 0 0 var(--space-md) 0;
    font-size: var(--section-lead-size);
    line-height: var(--section-lead-line);
    color: var(--color-muted);
    text-align: left;
}

.split-link {
    margin: 0;
    text-align: left;
}

.split-visual {
    position: relative;
}

.img-frame-split {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04);
}

.img-frame-split img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

/* Slight brightness/contrast reduction to match theme */
.img-frame--muted img {
    opacity: 0.95;
    filter: contrast(0.98) brightness(0.98);
}

/* Light/dark landing illustrations ? hide inactive variant (must beat .img-frame img) */
html[data-theme="light"] img.theme-img--dark,
html:not([data-theme="dark"]) img.theme-img--dark,
.img-frame img.theme-img--dark,
.img-frame-split img.theme-img--dark,
.img-frame-feature img.theme-img--dark,
.hero-compose__img.theme-img--dark {
    display: none;
}

html[data-theme="dark"] img.theme-img--light,
html[data-theme="dark"] .img-frame img.theme-img--light,
html[data-theme="dark"] .img-frame-split img.theme-img--light,
html[data-theme="dark"] .img-frame-feature img.theme-img--light,
html[data-theme="dark"] .hero-compose__img.theme-img--light {
    display: none;
}

html[data-theme="dark"] img.theme-img--dark,
html[data-theme="dark"] .img-frame img.theme-img--dark,
html[data-theme="dark"] .img-frame-split img.theme-img--dark,
html[data-theme="dark"] .img-frame-feature img.theme-img--dark,
html[data-theme="dark"] .hero-compose__img.theme-img--dark {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 968px) {
    .split {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .split--image-right .split-content,
    .split--image-right .split-visual {
        order: unset;
    }

    .split-visual {
        order: 1;
    }

    .split-content {
        order: 2;
    }

    .split--image-left .split-visual {
        order: 1;
    }

    .split--image-left .split-content {
        order: 2;
    }
}

/* Section header: centered label/heading only */
.section-header-minimal {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.section-header-minimal .kicker {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--section-kicker-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.section-header-minimal h2 {
    margin: 0;
    font-size: var(--section-title-size);
    font-weight: 800;
    letter-spacing: -0.025em;
}

/* Use cases: 3-column desktop, 1 column mobile, breathable cards */
.use-cases-grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    align-items: stretch;
}

.use-case-card--breathable {
    padding: var(--space-2xl);
    min-height: 0;
}

.use-case-card--breathable h3 {
    margin-bottom: var(--space-sm);
}

.use-case-card--breathable p {
    font-size: 0.9375rem;
    line-height: 1.6;
}

/* Tablet: 2 columns */
@media (max-width: 968px) {
    .use-cases-grid-3 {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-lg);
    }
}

/* Mobile: 1 column */
@media (max-width: 600px) {
    .use-cases-grid-3 {
        grid-template-columns: 1fr;
        gap: var(--space-lg);
    }
}

/* CTA block: wide, less dense */
.cta-block {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.cta-block .kicker {
    display: block;
    margin-bottom: var(--space-sm);
    font-size: var(--section-kicker-size);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
}

.cta-block h2 {
    margin: 0 0 var(--space-md) 0;
    font-size: var(--section-title-size);
    font-weight: 800;
    letter-spacing: -0.025em;
}

.cta-block p {
    margin: 0 0 var(--space-xl) 0;
    font-size: var(--section-lead-size);
    line-height: var(--section-lead-line);
    color: var(--color-muted);
}

.home-lead {
    max-width: 52ch;
    font-size: 1.0625rem;
    line-height: 1.65;
    color: var(--color-muted);
    text-align: left;
}

.home-link-wrap {
    margin-top: var(--space-lg);
    text-align: left;
}

.bullet-list-compact {
    list-style: none;
    margin: 0;
    padding: 0;
    max-width: 560px;
}

.bullet-list--left {
    margin-left: 0;
    margin-right: auto;
}

.bullet-list-compact li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
    font-size: 1rem;
    line-height: 1.65;
    color: var(--color-text);
    text-align: left;
}

.bullet-list-compact li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

/* Section with decorative background (How it works) */
.section-bg-decor {
    position: relative;
    overflow: hidden;
}

.section-bg-decor .section-content {
    position: relative;
    z-index: 1;
}

.bg-decor {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.bg-decor img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    opacity: 0.25;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0.5;
    background: linear-gradient(to bottom, var(--color-bg) 0%, transparent 30%, transparent 70%, var(--color-bg) 100%);
}

.section-bg-decor .bg-overlay {
    background: linear-gradient(to bottom, var(--color-bg) 0%, rgba(255,255,255,0.5) 20%, rgba(255,255,255,0.35) 50%, rgba(255,255,255,0.5) 80%, var(--color-bg) 100%);
}

/* Two-column responsive grid */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

@media (max-width: 900px) {
    .grid-2 {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* Feature platform: image left, content right */
.feature-platform-grid {
    max-width: 100%;
}

.feature-platform-visual {
    margin-bottom: var(--space-md);
}

.img-frame-feature {
    box-shadow: var(--shadow-card);
}

.img-caption {
    margin-top: var(--space-sm);
    font-size: 0.875rem;
    color: var(--color-muted);
}

.feature-bullets {
    list-style: none;
    margin: 0 0 var(--space-lg) 0;
    padding: 0;
}

.feature-bullets li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: var(--space-sm);
}

.feature-bullets li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
}

.feature-platform-lead {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--color-muted);
}

@media (max-width: 900px) {
    .feature-platform-grid .feature-platform-visual {
        order: 1;
    }

    .feature-platform-grid .feature-platform-content {
        order: 2;
    }
}

.section-header {
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.section-header h2 {
    margin-top: var(--space-sm);
}

/* Hero Section */
.hero-section {
    padding: var(--space-2xl) 0 var(--space-3xl);
    background: linear-gradient(135deg, #fafbfc 0%, #f0f4f8 100%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.hero-main h1 {
    margin-bottom: var(--space-lg);
}

.hero-main .hero-lead {
    margin-bottom: var(--space-xl);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.stat-card-mini {
    background: linear-gradient(135deg, var(--color-surface) 0%, #f8fafc 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glossy);
    transition: all 0.3s ease;
}

.stat-card-mini::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.4), transparent);
}

.stat-card-mini::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
    pointer-events: none;
}

.stat-card-mini:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.stat-label {
    font-size: 0.875rem;
    color: var(--color-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-value {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-accent);
}

/* Hero with image: text left, large illustration right (no overlap onto copy) */
.hero-grid-with-image {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(1.5rem, 3vw, 2.75rem);
}

.hero-grid-with-image .hero-main {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.hero-visual {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin-right: calc(-1 * var(--content-gutter));
    overflow: visible;
    padding-left: 0.25rem;
}

.img-frame {
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    overflow: hidden;
    background: var(--color-surface);
}

.img-frame img {
    display: block;
    width: 100%;
    height: auto;
    vertical-align: middle;
}

.img-frame-hero {
    box-shadow: var(--shadow-glossy), 0 0 40px rgba(37, 99, 235, 0.12);
}

.glow {
    box-shadow: var(--shadow-glossy), 0 0 48px rgba(37, 99, 235, 0.15);
}

/* Hero compose: flat frame, grow toward the right edge only */
.hero-compose {
    position: relative;
    width: 112%;
    max-width: none;
    margin-left: 0;
    transform: none;
}

.hero-compose__art {
    position: relative;
    overflow: visible;
    border: none;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.hero-compose__img {
    display: block;
    width: 100%;
    height: auto;
    filter: none;
    box-shadow: none;
}

/* Re-assert after .hero-compose__img / .img-frame img so light mode never stacks both */
html[data-theme="light"] .hero-compose__img.theme-img--dark,
html:not([data-theme="dark"]) .hero-compose__img.theme-img--dark,
html[data-theme="light"] .img-frame img.theme-img--dark,
html:not([data-theme="dark"]) .img-frame img.theme-img--dark {
    display: none;
}

html[data-theme="dark"] .hero-compose__img.theme-img--light,
html[data-theme="dark"] .img-frame img.theme-img--light {
    display: none;
}

html[data-theme="dark"] .hero-compose__img.theme-img--dark,
html[data-theme="dark"] .img-frame img.theme-img--dark {
    display: block;
}

.hero-agent-cards {
    list-style: none;
    margin: 0;
    padding: 0;
}

.hero-agent-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: #ffffff;
    border: 1px solid rgba(209, 217, 230, 0.55);
    border-radius: 16px;
    box-shadow: none;
    padding: 0.55rem 0.85rem 0.55rem 0.6rem;
    transition: transform 0.25s ease, border-color 0.25s ease;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.hero-agent-card:hover {
    transform: translateY(-2px);
    box-shadow: none;
    border-color: rgba(37, 99, 235, 0.35);
}

.hero-agent-card__icon {
    flex-shrink: 0;
    width: 2.15rem;
    height: 2.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero-agent-card__icon svg {
    display: block;
    width: 1.45rem;
    height: 1.45rem;
}

.hero-agent-card__text {
    display: flex;
    flex-direction: column;
    gap: 0.12rem;
    min-width: 0;
}

.hero-agent-card__title {
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--color-text-strong);
    letter-spacing: -0.01em;
}

.hero-agent-card__desc {
    font-size: 0.68rem;
    font-weight: 500;
    line-height: 1.3;
    color: var(--color-muted);
}

/* Desktop / tablet: pin cards over cleaned agent slots in hero-banner.png */
@media (min-width: 721px) {
    .hero-agent-cards {
        position: absolute;
        inset: 0;
        pointer-events: none;
    }

    .hero-agent-card {
        position: absolute;
        left: 52%;
        width: 43%;
        height: 12%;
        pointer-events: auto;
        box-sizing: border-box;
    }

    /* Bigger badge slots (800x582 banner) */
    .hero-agent-card--support { top: 8.4%; }
    .hero-agent-card--appointment { top: 25.4%; }
    .hero-agent-card--email { top: 42.4%; }
    .hero-agent-card--followup { top: 59.1%; }
    .hero-agent-card--reporting { top: 75.6%; }
}

@media (min-width: 721px) and (max-width: 1100px) {
    .hero-agent-card {
        left: 51%;
        width: 45%;
        gap: 0.5rem;
        padding: 0.4rem 0.65rem 0.4rem 0.45rem;
        border-radius: 14px;
    }

    .hero-agent-card__icon {
        width: 1.85rem;
        height: 1.85rem;
    }

    .hero-agent-card__icon svg {
        width: 1.2rem;
        height: 1.2rem;
    }

    .hero-agent-card__title {
        font-size: 0.68rem;
    }

    .hero-agent-card__desc {
        font-size: 0.58rem;
    }
}

@media (max-width: 968px) {
    .hero-compose {
        width: 100%;
        transform: none;
    }

    .hero-visual {
        margin-right: 0;
        overflow: visible;
        padding-left: 0;
    }
}

/* Mobile: crop empty card column from art; stack localized cards below */
@media (max-width: 720px) {
    .hero-compose {
        transform: none;
    }

    .hero-compose__art {
        display: flex;
        flex-direction: column;
    }

    .hero-compose__img {
        width: 100%;
        height: clamp(240px, 62vw, 360px);
        object-fit: cover;
        object-position: 18% center;
    }

    .hero-agent-cards {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 0.65rem;
        padding: 0.85rem 0.85rem 1rem;
        background: linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
        border-top: 1px solid var(--color-border);
    }

    .hero-agent-card {
        position: static;
        width: 100%;
        height: auto;
        min-height: 3.25rem;
        padding: 0.7rem 0.85rem;
        border-radius: 16px;
    }

    .hero-agent-card__icon {
        width: 2.25rem;
        height: 2.25rem;
    }

    .hero-agent-card__icon svg {
        width: 1.4rem;
        height: 1.4rem;
    }

    .hero-agent-card__title {
        font-size: 0.9rem;
    }

    .hero-agent-card__desc {
        font-size: 0.78rem;
    }
}

.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-top: var(--space-2xl);
    justify-content: flex-start;
}

@media (max-width: 968px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .hero-grid-with-image .hero-main {
        order: 1;
    }

    .hero-grid-with-image .hero-visual {
        order: 2;
    }

    .hero-stats-row {
        flex-direction: row;
        overflow-x: auto;
        margin-top: var(--space-xl);
    }

    .hero-sidebar {
        flex-direction: row;
        overflow-x: auto;
    }

    .stat-card-mini {
        min-width: 160px;
    }
}

/* Steps Grid */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

.step-card {
    background: linear-gradient(135deg, var(--color-surface) 0%, #fafbfc 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glossy);
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #60a5fa, transparent);
}

.step-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.step-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.step-number {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, #1e40af 100%);
    color: var(--color-surface);
    border-radius: 50%;
    font-weight: 800;
    font-size: 1.25rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.step-card h3 {
    margin: 0;
}

.step-card p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Agents Grid */
.agents-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.agent-card-feature {
    background: linear-gradient(135deg, var(--color-surface) 0%, #fafbfc 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glossy);
}

.agent-card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.3), rgba(96, 165, 250, 0.2), transparent);
}

.agent-card-feature::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.agent-card-feature:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px) scale(1.01);
    background: linear-gradient(135deg, var(--color-surface) 0%, #f0f4f8 100%);
}

.tag {
    position: absolute;
    top: var(--space-lg);
    right: var(--space-lg);
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.tag-new {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e3a8a;
    border: 1px solid #93c5fd;
}

.tag-popular {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.tag-available {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.tag-together {
    background: #eff6ff;
    color: #1e3a8a;
    border: 1px solid #bfdbfe;
}

.tag-soon {
    background: #f8fafc;
    color: #475569;
    border: 1px solid var(--color-border);
    position: static;
}

.agent-icon-large {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-accent) 0%, #3b82f6 100%);
    border: none;
    border-radius: 12px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
    color: white;
}

.agent-card-feature h3 {
    margin: 0;
    font-size: 1.375rem;
}

.agent-card-feature p {
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

.agent-works-with {
    margin-top: auto;
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.agent-works-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-muted);
    margin-bottom: 0.5rem;
}

.agent-works-with ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.agent-works-with li {
    font-size: 0.875rem;
    color: var(--color-text);
    padding-left: 1rem;
    position: relative;
}

.agent-works-with li::before {
    content: "?";
    position: absolute;
    left: 0;
    color: var(--color-accent);
}

.agents-intro {
    max-width: 40rem;
    margin: 0 auto var(--space-2xl);
    text-align: center;
}

.agent-workflow {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.5rem 0.75rem;
    margin: var(--space-2xl) 0 var(--space-xl);
    padding: var(--space-xl);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    background: var(--color-surface);
}

.agent-workflow-node {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1rem;
    border-radius: 10px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text-strong);
    white-space: nowrap;
}

.agent-workflow-node--accent {
    border-color: rgba(37, 99, 235, 0.35);
    color: var(--color-accent);
    background: rgba(37, 99, 235, 0.06);
}

.agent-workflow-arrow {
    width: 1.5rem;
    height: 2px;
    background: var(--color-border);
    position: relative;
    flex-shrink: 0;
}

.agent-workflow-arrow::after {
    content: "";
    position: absolute;
    right: -2px;
    top: 50%;
    transform: translateY(-50%);
    border: 4px solid transparent;
    border-left-color: var(--color-muted);
}

.agent-workflow-caption {
    position: absolute;
    top: -1.35rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--color-muted);
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.agents-coming {
    text-align: center;
    max-width: 32rem;
    margin: 0 auto var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.agents-coming p {
    margin: 0;
    color: var(--color-muted);
    font-size: 0.9375rem;
}

.section-action {
    display: flex;
    justify-content: center;
    margin-top: var(--space-lg);
}

@media (max-width: 768px) {
    .agent-workflow {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
    }

    .agent-workflow-arrow {
        width: 2px;
        height: 1.25rem;
        margin: 0 auto;
    }

    .agent-workflow-arrow::after {
        right: 50%;
        top: auto;
        bottom: -2px;
        transform: translateX(50%);
        border: 4px solid transparent;
        border-top-color: var(--color-muted);
        border-left-color: transparent;
    }

    .agent-workflow-caption {
        position: static;
        transform: none;
        display: block;
        text-align: center;
        margin-bottom: 0.25rem;
    }
}

/* Use Cases Grid */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.use-case-card {
    background: linear-gradient(135deg, var(--color-surface) 0%, #fafbfc 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glossy);
}

.use-case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.3), rgba(96, 165, 250, 0.2), transparent);
}

.use-case-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.use-case-card:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.use-case-card h3 {
    margin: 0;
    font-size: clamp(1.25rem, 2.5vw, 1.5rem);
    font-weight: 700;
    letter-spacing: -0.02em;
}

.use-case-card p {
    font-size: var(--section-text-size);
    line-height: var(--section-text-line);
    line-height: 1.7;
}

.use-case-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.use-case-card-link:hover h3 {
    color: var(--color-accent);
}

.use-case-card-arrow {
    margin-top: auto;
    font-size: 1.25rem;
    color: var(--color-accent);
    opacity: 0.8;
}

.use-cases-grid-compact {
    gap: var(--space-lg);
}

.use-cases-grid-compact .use-case-card {
    padding: var(--space-xl);
}

/* Pricing Teaser */
.pricing-teaser {
    text-align: center;
    max-width: 720px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: linear-gradient(135deg, var(--color-surface) 0%, #fafbfc 100%);
    border-radius: calc(var(--radius) * 1.5);
    box-shadow: var(--shadow-glossy);
    position: relative;
    overflow: hidden;
}

.pricing-teaser::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), #60a5fa, var(--color-accent));
}

.pricing-teaser::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.5) 0%, transparent 100%);
    pointer-events: none;
}

.pricing-teaser h2 {
    margin-bottom: var(--space-lg);
}

.pricing-teaser p {
    margin-bottom: var(--space-2xl);
    font-size: 1.125rem;
    color: var(--color-muted);
}

/* FAQ */
.faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: var(--space-xl);
}

.faq-item {
    background: linear-gradient(135deg, var(--color-surface) 0%, #fafbfc 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: var(--space-2xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
    height: 100%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-glossy);
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.3), rgba(96, 165, 250, 0.2), transparent);
}

.faq-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.faq-item:hover {
    border-color: var(--color-accent);
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}

.faq-item h3 {
    margin: 0;
    font-size: 1.1875rem;
    font-weight: 700;
}

.faq-item p {
    font-size: 1rem;
    line-height: 1.7;
}

/* Footer */
.footer {
    border-top: 1px solid var(--color-border);
    padding: var(--space-2xl) 0 var(--space-xl);
    background: var(--color-surface);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: var(--space-2xl);
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-xs);
}

.footer-brand .footer-logo {
    font-size: 1.125rem;
}

.footer-brand p {
    font-size: 0.875rem;
    margin: 0;
    color: var(--color-muted);
    max-width: 16rem;
    line-height: 1.5;
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}

.footer-col-title {
    margin: 0 0 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--color-text-strong);
}

.footer-col a {
    color: var(--color-muted);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.2s ease;
}

.footer-col a:hover {
    color: var(--color-text-strong);
}

.footer-bottom {
    margin-top: var(--space-2xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--color-border);
    font-size: 0.8125rem;
    color: var(--color-muted);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-xl);
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animation for multiple fade-in elements */
.fade-in:nth-child(1) { transition-delay: 0.1s; }
.fade-in:nth-child(2) { transition-delay: 0.2s; }
.fade-in:nth-child(3) { transition-delay: 0.3s; }
.fade-in:nth-child(4) { transition-delay: 0.4s; }
.fade-in:nth-child(5) { transition-delay: 0.5s; }
.fade-in:nth-child(6) { transition-delay: 0.6s; }

.landing-page {
   
}

/* padding-top set on body.landing-page for tube nav clearance */

/* Pricing page ? compact hero so plan cards start above the fold */
.pricing-hero.section {
    padding: 1.1rem 0 0.35rem;
}
.pricing-hero-inner {
    text-align: center;
    max-width: 36rem;
    margin: 0 auto;
}
.pricing-hero .kicker {
    margin-bottom: 0.35rem;
    letter-spacing: 0.12em;
}
.pricing-hero h1 {
    margin: 0 0 0.45rem;
    font-size: clamp(1.85rem, 3vw, 2.4rem);
    line-height: 1.18;
    letter-spacing: -0.025em;
    font-weight: 750;
}
.pricing-hero .hero-lead {
    margin: 0 auto;
    max-width: 32rem;
    font-size: 1.02rem;
    line-height: 1.5;
    color: var(--color-muted);
}
.pricing-plans.section {
    padding-top: 1.15rem;
    padding-bottom: var(--space-3xl);
}
@media (max-width: 968px) {
    .pricing-hero.section {
        padding: 0.85rem 0 0.25rem;
    }
    .pricing-hero h1 {
        font-size: clamp(1.65rem, 6vw, 2.1rem);
    }
    .pricing-hero .hero-lead {
        font-size: 0.98rem;
        line-height: 1.45;
    }
    .pricing-hero .billing-toggle {
        margin-top: 0.85rem;
    }
    .pricing-plans.section {
        padding-top: 1rem;
        padding-bottom: var(--space-2xl);
    }
}
.container--pricing { max-width: 1180px; }
.pricing-preview-banner {
    margin: 0.65rem auto 0;
    display: inline-block;
    padding: 0.3rem 0.7rem;
    border-radius: 8px;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
    font-size: 0.8125rem;
    font-weight: 650;
}
.billing-toggle {
    display: flex;
    justify-content: center;
    gap: 0.3rem;
    margin: 0.95rem auto 0;
    padding: 0.25rem;
    width: fit-content;
    max-width: 100%;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-bg);
}
.billing-toggle-btn {
    appearance: none;
    border: 0;
    background: transparent;
    color: var(--color-muted);
    font: inherit;
    font-size: 0.875rem;
    font-weight: 650;
    padding: 0.45rem 0.9rem;
    border-radius: 9px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
.billing-toggle-btn.is-active {
    background: var(--color-surface);
    color: var(--color-text-strong);
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.08);
}
.billing-save-badge {
    font-size: 0.6875rem;
    font-weight: 750;
    letter-spacing: 0.02em;
    color: #047857;
    background: rgba(16, 185, 129, 0.12);
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
}
.plan-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.plan-cards--rich { gap: 1.25rem; }
@media (max-width: 1100px) {
    .plan-cards--rich { grid-template-columns: 1fr; max-width: 28rem; margin: 0 auto; }
}
@media (max-width: 968px) { .plan-cards { grid-template-columns: 1fr; max-width: 28rem; margin: 0 auto; } }
.plan-card {
    position: relative;
    padding: 2rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    overflow: visible;
}
.plan-card:hover {
    border-color: rgba(37, 99, 235, 0.28);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.plan-card-popular {
    border-color: rgba(37, 99, 235, 0.45);
    box-shadow: 0 8px 28px rgba(37, 99, 235, 0.1);
    z-index: 1;
}
/* Keep PayPal debit/credit expansion above neighboring cards (middle Solo card). */
.plan-card.is-paypal-expanded {
    z-index: 6;
}
.plan-badge {
    position: absolute;
    top: -0.7rem;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #fff;
    font-size: 0.6875rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    white-space: nowrap;
}
.plan-card-header { margin-bottom: 0.85rem; }
.plan-card h3,
.plan-name {
    margin: 0.35rem 0 0.4rem;
    font-size: 1.5rem;
    font-weight: 750;
    color: var(--color-text-strong);
    letter-spacing: -0.02em;
}
.plan-for {
    margin: 0;
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.45;
    min-height: 2.6em;
}
.plan-price-wrap {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}
.plan-price {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    color: var(--color-text-strong);
    font-variant-numeric: tabular-nums;
}
.plan-currency { font-size: 1.35rem; font-weight: 700; }
.plan-period {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-muted);
    margin-left: 0.15rem;
}
.plan-price-note {
    margin: 0.55rem 0 0;
    font-size: 0.8125rem;
    color: var(--color-muted);
    line-height: 1.4;
}
.plan-savings {
    color: #047857;
    font-weight: 700;
}
.plan-features {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    flex: 1;
}
.plan-features li {
    position: relative;
    padding: 0.65rem 0 0.65rem 1.35rem;
    font-size: 0.9375rem;
    color: var(--color-text);
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}
.plan-features li:last-child { border-bottom: none; }
.plan-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-accent);
    opacity: 0.7;
}
.plan-paypal {
    margin: 0 0 1rem;
    text-align: center;
    overflow: visible;
    position: relative;
    z-index: 2;
}
.plan-paypal-frame {
    display: block;
    width: 100%;
    max-width: 100%;
    /* Hosted PayPal “Debit or Credit Card” expands inline — fixed 160px + overflow:hidden
       clipped the form so it looked like the modal opened then closed (esp. middle Solo card). */
    min-height: 55px;
    height: 55px;
    border: 0;
    background: transparent;
    overflow: visible;
}
/* .btn sets display:inline-flex and would otherwise override HTML [hidden] */
.plan-card .plan-cta[hidden],
.plan-card .plan-paypal[hidden] {
    display: none !important;
}
.plan-cta {
    width: 100%;
    padding: 0.85rem 1.25rem;
    font-weight: 650;
    border-radius: 10px;
    margin-bottom: 1.15rem;
    order: 0;
}
.plan-card-popular .plan-cta {
    box-shadow: 0 2px 10px rgba(37, 99, 235, 0.25);
}
.plan-card--compact {
    padding: 1.65rem 1.35rem 1.25rem;
}
.plan-card--compact .plan-for {
    min-height: 0;
    margin-bottom: 0;
    font-size: 0.84rem;
}
.plan-card--compact .plan-price-wrap {
    margin-bottom: 0.85rem;
    padding-bottom: 0.85rem;
}
.plan-card--compact .plan-price {
    font-size: 2.25rem;
}
.plan-card--compact .plan-cta {
    margin-bottom: 1rem;
}
.plan-metrics {
    list-style: none;
    margin: 0;
    padding: 0.55rem 0.65rem;
    display: grid;
    gap: 0.4rem;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.03);
}
.plan-metric {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
}
.plan-metric-icon {
    flex: 0 0 auto;
    line-height: 1.3;
    font-size: 0.95rem;
}
.plan-metric-body {
    display: flex;
    flex-direction: column;
    gap: 0.05rem;
    min-width: 0;
}
.plan-card--invalid-config { opacity: 0.85; }
.plan-agent-chips {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.plan-agent-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-bg);
    font-size: 0.75rem;
    font-weight: 650;
    color: var(--color-text);
}
.plan-agent-chip--excluded {
    opacity: 0.42;
    color: var(--color-muted);
}
.plan-agent-chip--coming_soon {
    border-color: rgba(180, 83, 9, 0.35);
    color: #b45309;
}
.plan-agent-chip-icon { font-size: 0.85rem; line-height: 1; }
.plan-includes-line {
    margin: 0 0 0.45rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-strong);
}
.plan-key-features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.35rem;
}
.plan-key-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.4rem;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--color-text);
}
.plan-key-feature--coming_soon { color: var(--color-muted); }
.plan-key-feature-icon { flex: 0 0 auto; line-height: 1.3; }
.plan-details {
    margin-top: 0.75rem;
    padding-top: 0.65rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.plan-details-summary {
    cursor: pointer;
    font-size: 0.8125rem;
    font-weight: 650;
    color: var(--color-accent);
    list-style: none;
}
.plan-details-summary::-webkit-details-marker { display: none; }
.plan-details-body { margin-top: 0.65rem; }
.plan-details-group { margin-bottom: 0.65rem; }
.plan-details-title {
    margin: 0 0 0.25rem;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.plan-details-compare-hint {
    margin: 0.5rem 0 0;
    font-size: 0.75rem;
}
.plan-details-compare-hint a { font-weight: 650; }
.comparison-toolbar {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    padding: 0.65rem 0.85rem;
    border-bottom: 1px solid var(--color-border);
}
.comparison-table .compare-group-row th {
    text-align: left;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    background: rgba(15, 23, 42, 0.04);
    padding: 0;
}
.compare-group-toggle {
    appearance: none;
    border: 0;
    background: transparent;
    width: 100%;
    text-align: left;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
    padding: 0.75rem 1.15rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}
.compare-group-chevron {
    font-size: 0.65rem;
    color: var(--color-accent);
}
.compare-group.is-collapsed .compare-data-row { display: none; }
.plan-metric-value {
    font-size: 0.9375rem;
    font-weight: 750;
    color: var(--color-text-strong);
    font-variant-numeric: tabular-nums;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}
.plan-metric-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.plan-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    color: var(--color-muted);
    font-size: 0.625rem;
    font-weight: 700;
    cursor: help;
}
.plan-section {
    margin: 0 0 0.7rem;
    padding-top: 0.55rem;
    border-top: 1px solid rgba(15, 23, 42, 0.06);
}
.plan-section--capacity { border-top: 0; padding-top: 0; }
.plan-section-title {
    margin: 0 0 0.35rem;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-muted);
}
.plan-feature-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.plan-feature {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    padding: 0.28rem 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--color-text);
}
.plan-feature-mark {
    flex: 0 0 0.85rem;
    font-weight: 700;
    color: var(--color-accent);
}
.plan-feature--excluded {
    color: var(--color-muted);
    opacity: 0.72;
}
.plan-feature--excluded .plan-feature-mark { color: var(--color-muted); font-weight: 500; }
.plan-feature--coming_soon { color: var(--color-muted); }
.plan-feature--coming_soon .plan-feature-mark { color: #b45309; }
.plan-feature-note {
    display: inline-block;
    margin-left: 0.25rem;
    font-size: 0.6875rem;
    font-weight: 650;
    color: #b45309;
}
.plan-section--overage { margin-top: auto; }
.pricing-roadmap-note {
    margin: 1.75rem auto 0;
    max-width: 36rem;
    text-align: center;
    font-size: 0.875rem;
    color: var(--color-muted);
    line-height: 1.5;
}

.usage-explained {
    max-width: 40rem;
    margin: 0 auto;
    text-align: center;
    padding: 2rem;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-bg);
}
.usage-explained h2 { margin: 0 0 0.75rem; font-size: 1.25rem; }
.usage-explained p { margin: 0; color: var(--color-muted); }
.usage-explained-link { margin-top: 0.85rem !important; }
.usage-explained-link a { font-weight: 650; }
.credit-examples {
    max-width: 40rem;
    margin: 1.5rem auto 0;
    padding: 1.5rem 1.75rem;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
}
.credit-examples h3 {
    margin: 0 0 0.35rem;
    font-size: 1.0625rem;
    font-weight: 700;
}
.credit-examples-note {
    margin: 0 0 1rem;
    font-size: 0.8125rem;
    color: var(--color-muted);
}
.credit-examples-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.65rem;
}
.credit-examples-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: baseline;
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
    font-size: 0.875rem;
}
.credit-examples-list li:last-child { border-bottom: none; padding-bottom: 0; }
.credit-examples-label { color: var(--color-text); font-weight: 600; }
.credit-examples-value { color: var(--color-muted); text-align: right; }

.overage-expire {
    margin: 0.5rem 0 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.pack-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    max-width: 640px;
    margin: 0 auto;
}
@media (max-width: 600px) { .pack-cards { grid-template-columns: 1fr; } }
.pack-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.75rem;
    text-align: center;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.pack-card--featured {
    border-color: rgba(37, 99, 235, 0.4);
}
.pack-card .plan-badge {
    /* Keep pack badges on the card (not the page hero) */
    top: -0.7rem;
}
.pack-card h3 {
    margin: 0 0 0.75rem;
    font-size: 1.125rem;
    font-weight: 650;
}
.pack-price {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--color-text-strong);
    margin-bottom: 0.5rem;
    font-variant-numeric: tabular-nums;
}
.pack-currency { font-size: 1.25rem; }
.pack-desc, .pack-note {
    font-size: 0.875rem;
    color: var(--color-muted);
    margin: 0 0 1.25rem;
    flex: 1;
}
.pack-cta { width: 100%; font-weight: 650; border-radius: 10px; }

.comparison-wrap {
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    background: var(--color-surface);
}
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9375rem;
}
.comparison-table th,
.comparison-table td {
    padding: 1rem 1.15rem;
    text-align: center;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}
.comparison-table tbody tr:last-child th,
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table thead th {
    background: rgba(15, 23, 42, 0.03);
    font-weight: 700;
    color: var(--color-text-strong);
}
.comparison-table tbody th {
    text-align: left;
    font-weight: 500;
    color: var(--color-muted);
}
.comparison-table .compare-highlight {
    background: rgba(37, 99, 235, 0.05);
    color: var(--color-text-strong);
    font-weight: 650;
}
.comparison-table thead .compare-highlight {
    background: rgba(37, 99, 235, 0.08);
}
.comparison-table .compare-cell--excluded { color: var(--color-muted); }
.comparison-table .compare-cell--coming_soon { color: #b45309; font-size: 0.8125rem; }
.compare-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    color: var(--color-accent);
    font-weight: 700;
}
.compare-dash { color: var(--color-muted); }
.compare-tip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1rem;
    height: 1rem;
    margin-left: 0.35rem;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--color-muted);
    cursor: help;
    vertical-align: middle;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Login / dialog modals
   Closed modals must not intercept clicks. Descendants can re-enable
   pointer-events even when the parent has pointer-events:none, so every
   closed-modal node is forced inert. */
.modal,
#loginModal,
#addWebsiteModal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none !important;
    align-items: center;
    justify-content: center;
    pointer-events: none !important;
    visibility: hidden !important;
}

.modal:not(.is-open),
.modal:not(.is-open) *,
#loginModal:not(.is-open),
#loginModal:not(.is-open) *,
#addWebsiteModal:not(.is-open),
#addWebsiteModal:not(.is-open) * {
    pointer-events: none !important;
}

.modal:not(.is-open) .modal-overlay,
#loginModal:not(.is-open) .modal-overlay,
#addWebsiteModal:not(.is-open) .modal-overlay {
    display: none !important;
}

.modal.is-open,
#loginModal.is-open,
#addWebsiteModal.is-open {
    display: flex !important;
    pointer-events: auto !important;
    visibility: visible !important;
}

.modal.is-open .modal-overlay,
.modal.is-open .modal-content {
    pointer-events: auto !important;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: rgba(15, 23, 42, 0.48);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: none;
}

.modal-content {
    position: relative;
    z-index: 1;
    background: var(--color-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-glossy);
    width: 90%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    pointer-events: none;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
}

.modal-header h2 {
    font-size: 1.5rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-xs);
    color: var(--color-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.modal-close:hover {
    background: var(--color-bg);
    color: var(--color-text);
}

.modal-body {
    padding: var(--space-lg);
}

/* ?? Auth entry modal (marketing) ?? */
#loginModal.auth-modal,
#loginModal.auth-modal.is-open {
    position: fixed;
    inset: 0;
    width: 100vw;
    width: 100dvw;
    height: 100vh;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 10050;
    margin: 0;
    padding: max(1rem, env(safe-area-inset-top)) max(1rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1rem, env(safe-area-inset-left));
    overflow: hidden;
    overscroll-behavior: none;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

html.public-auth-open,
html.public-auth-open body,
html.auth-modal-open,
html.auth-modal-open body {
    overflow: hidden;
    overscroll-behavior: none;
}

body.public-auth-open,
body.auth-modal-open {
    overscroll-behavior: none;
}

body.public-auth-open .praigen-nav-shell,
body.public-auth-open .top-nav,
body.auth-modal-open .praigen-nav-shell,
body.auth-modal-open .top-nav {
    padding-right: var(--auth-scrollbar-compensation, 0px);
}

#loginModal .modal-overlay,
#loginModal .public-auth-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: rgba(15, 23, 42, 0.52);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    overscroll-behavior: none;
    pointer-events: none;
}

#loginModal.is-open .modal-overlay,
#loginModal.is-open .public-auth-overlay {
    pointer-events: auto;
}

#loginModal:not(.is-open),
#loginModal:not(.is-open) .modal-overlay,
#loginModal:not(.is-open) .auth-modal-content {
    display: none !important;
    pointer-events: none !important;
    visibility: hidden !important;
}

#loginModal .auth-modal-content {
    position: relative;
    z-index: 2;
    pointer-events: auto;
    width: min(100%, 480px);
    max-width: 480px;
    max-height: calc(100dvh - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    touch-action: pan-y;
    margin: auto;
    padding: 2.25rem 2.25rem 2rem;
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: calc(var(--radius) + 4px);
    box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 16px 40px rgba(15, 23, 42, 0.12);
    box-sizing: border-box;
}

#loginModal .auth-modal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 2;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 8px;
    color: var(--color-muted);
}

#loginModal .auth-modal-close:hover,
#loginModal .auth-modal-close:focus-visible {
    background: rgba(15, 23, 42, 0.05);
    color: var(--color-text);
    outline: none;
}

#loginModal .auth-modal-close:focus-visible {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28);
}

#loginModal .auth-modal-brand {
    display: flex;
    justify-content: center;
    margin-bottom: 1.25rem;
}

#loginModal .auth-modal-brand img {
    width: 36px;
    height: 36px;
    border-radius: 10px;
}

#loginModal .auth-modal-alert {
    margin: 0 0 1.25rem;
}

#loginModal .auth-panel[hidden] {
    display: none !important;
}

#loginModal .auth-modal-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

#loginModal .auth-modal-title {
    margin: 0 0 0.4rem;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--color-text-strong, var(--color-text));
    line-height: 1.25;
}

#loginModal .auth-modal-subtitle {
    margin: 0;
    font-size: 0.975rem;
    line-height: 1.45;
    color: var(--color-muted);
}

#loginModal .auth-google-btn {
    width: 100%;
    min-height: 50px;
    height: 50px;
    padding: 0 1rem;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #dadce0;
    box-shadow: none;
    transform: none;
    font-weight: 600;
    font-size: 0.95rem;
}

#loginModal .auth-google-btn:hover {
    background: #f8fafc;
    border-color: #c5cad3;
    box-shadow: none;
    transform: none;
}

#loginModal .auth-google-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28);
}

#loginModal .divider {
    margin: 1.25rem 0;
}

#loginModal .divider span {
    background: #fff;
}

#loginModal .auth-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

#loginModal .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

#loginModal .form-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

#loginModal .form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

#loginModal .auth-forgot-link {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--color-accent);
    text-decoration: none;
    white-space: nowrap;
}

#loginModal .auth-forgot-link:hover {
    text-decoration: underline;
}

#loginModal .form-group input {
    width: 100%;
    height: 50px;
    min-height: 50px;
    padding: 0 0.95rem;
    border: 1px solid rgba(15, 23, 42, 0.14);
    border-radius: 10px;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--color-text);
    background: #fff;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
    box-sizing: border-box;
}

#loginModal .password-field {
    position: relative;
}

#loginModal .password-field input {
    padding-right: 2.75rem;
}

#loginModal .password-toggle {
    position: absolute;
    top: 50%;
    right: 0.4rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: transparent;
    color: var(--color-muted);
    cursor: pointer;
}

#loginModal .password-toggle .password-toggle-icon {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
}

#loginModal .password-toggle:hover,
#loginModal .password-toggle:focus-visible {
    color: var(--color-text);
    background: rgba(15, 23, 42, 0.05);
    outline: none;
}

#loginModal .form-group input:focus,
#loginModal .form-group input:focus-visible {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

#loginModal .form-group input.is-invalid {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

#loginModal .form-hint {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--color-muted);
}

#loginModal .form-error {
    margin: 0;
    font-size: 0.8125rem;
    color: #dc2626;
}

#loginModal .auth-legal {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.45;
    color: var(--color-muted);
}

#loginModal .auth-submit-btn {
    margin-top: 0.25rem;
    min-height: 50px;
    height: 50px;
    border-radius: 10px;
    background: var(--color-accent);
    border-color: var(--color-accent);
    box-shadow: none;
    transform: none;
    overflow: hidden;
}

#loginModal .auth-submit-btn::before {
    display: none;
}

#loginModal .auth-submit-btn:hover:not(:disabled) {
    background: var(--color-accent-hover);
    border-color: var(--color-accent-hover);
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.22);
    transform: none;
}

#loginModal .auth-submit-btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.28);
}

#loginModal .auth-submit-btn:disabled,
#loginModal .auth-submit-btn.is-loading {
    opacity: 0.72;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.btn-full {
    width: 100%;
}

#loginModal .auth-footer {
    margin: 1.35rem 0 0;
    text-align: center;
    font-size: 0.9rem;
    color: var(--color-muted);
}

#loginModal .auth-footer a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 600;
}

#loginModal .auth-footer a:hover {
    text-decoration: underline;
}

/* Alert Messages in Modal */
.alert {
    display: flex;
    align-items: center;
    padding: var(--space-md);
    border-radius: 8px;
    font-size: 0.9rem;
    gap: var(--space-sm);
}

.alert-error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-error svg {
    flex-shrink: 0;
    stroke: #c33;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    background: var(--color-surface);
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.btn-social:hover {
    background: var(--color-bg);
    border-color: var(--color-accent);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.btn-social .social-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.btn-google {
    border-color: #dadce0;
}

.btn-google:hover {
    border-color: #4285F4;
    background: #f8f9fa;
}

.btn-apple {
    border-color: #dadce0;
    color: #000;
}

.btn-apple:hover {
    border-color: #000;
    background: #f5f5f5;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: var(--space-lg) 0;
    color: var(--color-muted);
    font-size: 0.9rem;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--color-border);
}

.divider span {
    padding: 0 var(--space-md);
    background: var(--color-surface);
}

/* Logged-in Dashboard CTA shares .nav-link-btn */

@media (max-width: 640px) {
    #loginModal.auth-modal,
    #loginModal.auth-modal.is-open {
        align-items: stretch;
        justify-content: stretch;
        padding: 0;
    }

    #loginModal .auth-modal-content {
        width: 100%;
        max-width: none;
        height: 100dvh;
        max-height: 100dvh;
        min-height: 100dvh;
        margin: 0;
        border-radius: 0;
        border: none;
        box-shadow: none;
        padding: max(1.25rem, env(safe-area-inset-top)) 1.25rem max(1.5rem, env(safe-area-inset-bottom));
    }

    #loginModal .auth-modal-close {
        position: sticky;
        top: max(0.5rem, env(safe-area-inset-top));
        float: right;
        margin: 0 0 0.75rem;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: blur(6px);
    }

    #loginModal .auth-modal-brand {
        clear: both;
    }

    #loginModal .auth-modal-title {
        font-size: 1.375rem;
        padding-right: 1.5rem;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        max-height: 85vh;
    }
    
    .modal-header {
        padding: var(--space-md);
    }
    
    .modal-body {
        padding: var(--space-md);
    }
}

/* ?? Marketing polish: product proof, steps, FAQ accordion, icons ?? */
.section-proof .proof-header {
    text-align: center;
    max-width: 40rem;
    margin: 0 auto var(--space-2xl);
}

.proof-lead {
    margin: 0;
}

.proof-frame {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
    max-width: 960px;
    margin: 0 auto;
}

.proof-chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.7rem 1rem;
    border-bottom: 1px solid var(--color-border);
    background: rgba(15, 23, 42, 0.02);
}

.proof-chrome-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
}

.proof-chrome-title {
    margin-left: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-muted);
}

.proof-body {
    display: grid;
    grid-template-columns: 11rem 1fr;
    min-height: 280px;
}

.proof-sidebar {
    padding: 1rem 0.75rem;
    border-right: 1px solid var(--color-border);
    background: rgba(15, 23, 42, 0.015);
}

.proof-brand {
    font-weight: 800;
    font-size: 0.9375rem;
    margin: 0 0.5rem 1rem;
    color: var(--color-text-strong);
}

.proof-nav-item {
    padding: 0.45rem 0.65rem;
    margin-bottom: 0.2rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    color: var(--color-muted);
}

.proof-nav-item.is-active {
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-accent);
    font-weight: 650;
}

.proof-main {
    padding: 1.15rem 1.25rem 1.35rem;
}

.proof-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.proof-kpi {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.75rem 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.proof-kpi-label {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.proof-kpi-value {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--color-text-strong);
    letter-spacing: -0.02em;
}

.proof-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.proof-panel {
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 0.85rem 1rem;
}

.proof-panel h3 {
    margin: 0 0 0.65rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-text-strong);
}

.proof-agent-row,
.proof-activity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--color-text);
    padding: 0.35rem 0;
}

.proof-activity {
    justify-content: flex-start;
    color: var(--color-muted);
    border-bottom: 1px solid rgba(15, 23, 42, 0.05);
}

.proof-activity:last-child { border-bottom: none; }

.proof-pill {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #065f46;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    padding: 0.15rem 0.45rem;
}

.proof-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--space-xl);
}

.home-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    max-width: 900px;
    margin: 0 auto;
}

.home-step {
    text-align: center;
    padding: 1.5rem 1.25rem;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
}

.home-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    margin-bottom: 0.75rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-accent);
    font-weight: 800;
    font-size: 0.875rem;
}

.home-step p {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--color-text);
}

.use-case-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.75rem;
    border-radius: 10px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-accent);
}

.use-case-card--breathable {
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.use-case-card--breathable:hover {
    box-shadow: 0 6px 20px rgba(15, 23, 42, 0.07);
}

.container--narrow {
    max-width: 720px;
}

.faq-page {
    padding-top: var(--space-3xl);
}

.faq-group {
    margin-bottom: var(--space-2xl);
}

.faq-group-title {
    margin: 0 0 var(--space-md);
    font-size: 0.8125rem;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--color-muted);
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    overflow: hidden;
    background: var(--color-surface);
}

.faq-accordion-item + .faq-accordion-item {
    border-top: 1px solid var(--color-border);
}

.faq-accordion-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.05rem 1.2rem;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
    font: inherit;
    font-size: 1.0125rem;
    font-weight: 650;
    color: var(--color-text-strong);
    min-height: 3.25rem;
}

.faq-accordion-trigger:hover {
    background: rgba(15, 23, 42, 0.02);
}

.faq-accordion-icon {
    position: relative;
    width: 1.1rem;
    height: 1.1rem;
    flex-shrink: 0;
}

.faq-accordion-icon::before,
.faq-accordion-icon::after {
    content: "";
    position: absolute;
    background: var(--color-muted);
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.faq-accordion-icon::before {
    left: 0;
    top: 50%;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.faq-accordion-icon::after {
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.faq-accordion-item.is-open .faq-accordion-icon::after {
    opacity: 0;
    transform: translateX(-50%) scaleY(0);
}

.faq-accordion-panel {
    padding: 0 1.2rem 1.15rem;
}

.faq-accordion-panel p {
    margin: 0;
    font-size: 0.975rem;
    line-height: 1.65;
    color: var(--color-muted);
}

@media (max-width: 800px) {
    .proof-body {
        grid-template-columns: 1fr;
    }

    .proof-sidebar {
        display: none;
    }

    .proof-kpis {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-panels {
        grid-template-columns: 1fr;
    }

    .home-steps {
        grid-template-columns: 1fr;
    }

    .plan-card-popular {
        transform: none;
    }
}

/* =============================================================================
   Large desktop / ultrawide ? marketing pages only
   Starts at 1800px so typical laptops (?1728 CSS px) keep the base 1160px layout.
   Panel/admin keep existing widths (body.panel-page / .admin-app excluded).
   ============================================================================= */

@media (min-width: 1800px) {
    body.landing-page:not(.panel-page) {
        --max-width: 1600px;
        --content-gutter: 40px;
        --space-2xl: 3.5rem;
        --space-3xl: 5.75rem;
        --section-title-size: clamp(2.125rem, 2.15vw, 3rem);
        --section-lead-size: 1.125rem;
    }

    /* Hero can breathe wider than standard sections */
    body.landing-page:not(.panel-page) .hero-section > .container {
        max-width: 1760px;
    }

    body.landing-page:not(.panel-page) .hero-section {
        padding: calc(var(--space-2xl) + 0.5rem) 0 var(--space-3xl);
    }

    body.landing-page:not(.panel-page) .hero-section h1 {
        font-size: clamp(3rem, 3.1vw, 4.15rem);
    }

    body.landing-page:not(.panel-page) .hero-lead {
        font-size: 1.35rem;
        max-width: 36rem;
    }

    body.landing-page:not(.panel-page) .hero-grid-with-image {
        gap: clamp(2rem, 3.5vw, 3.5rem);
    }

    body.landing-page:not(.panel-page) .hero-compose {
        width: 118%;
    }

    body.landing-page:not(.panel-page) .hero-agent-card {
        padding: 0.65rem 0.95rem 0.65rem 0.7rem;
        border-radius: 18px;
    }

    body.landing-page:not(.panel-page) .hero-agent-card__title {
        font-size: 0.84rem;
    }

    body.landing-page:not(.panel-page) .hero-agent-card__desc {
        font-size: 0.72rem;
    }

    /* Feature / split / platform sections */
    body.landing-page:not(.panel-page) .split {
        gap: 64px;
    }

    body.landing-page:not(.panel-page) .grid-2,
    body.landing-page:not(.panel-page) .feature-platform-grid {
        gap: calc(var(--space-2xl) + 0.5rem);
    }

    body.landing-page:not(.panel-page) .home-below-hero .section,
    body.landing-page:not(.panel-page) .section-split,
    body.landing-page:not(.panel-page) .section-cta {
        padding-top: 4.75rem;
        padding-bottom: 4.75rem;
    }

    /* Grids: extra column where card counts support it */
    body.landing-page:not(.panel-page) .use-cases-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: var(--space-2xl);
    }

    body.landing-page:not(.panel-page) .use-cases-grid-3,
    body.landing-page:not(.panel-page) .use-cases-grid.use-cases-grid-3 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: var(--space-2xl);
    }

    body.landing-page:not(.panel-page) .steps-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-2xl);
    }

    body.landing-page:not(.panel-page) .agents-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-2xl);
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }

    body.landing-page:not(.panel-page) .home-steps {
        max-width: 1100px;
        gap: 1.75rem;
    }

    /* Pricing + CTA */
    body.landing-page:not(.panel-page) .container--pricing {
        max-width: 1520px;
    }

    body.landing-page:not(.panel-page) .plan-cards {
        gap: 2rem;
    }

    body.landing-page:not(.panel-page) .plan-card {
        padding: 2.5rem 2.15rem 2.15rem;
    }

    body.landing-page:not(.panel-page) .plan-card--compact {
        padding: 1.65rem 1.35rem 1.25rem;
    }

    body.landing-page:not(.panel-page) .pack-cards {
        max-width: 800px;
        gap: 1.75rem;
    }

    body.landing-page:not(.panel-page) .pricing-hero.section {
        padding: 1.25rem 0 0.4rem;
    }

    body.landing-page:not(.panel-page) .pricing-hero-inner {
        max-width: 38rem;
    }

    body.landing-page:not(.panel-page) .pricing-hero h1 {
        font-size: clamp(2rem, 2.4vw, 2.55rem);
    }

    body.landing-page:not(.panel-page) .pricing-plans.section {
        padding-top: 1.35rem;
    }

    body.landing-page:not(.panel-page) .cta-block {
        max-width: 760px;
        padding: 4.5rem 2.5rem;
    }

    body.landing-page:not(.panel-page) .pricing-teaser {
        max-width: 880px;
    }

    /* Product proof mockup */
    body.landing-page:not(.panel-page) .proof-frame {
        max-width: 1280px;
    }

    body.landing-page:not(.panel-page) .proof-header {
        max-width: 44rem;
    }
}

@media (min-width: 2100px) {
    body.landing-page:not(.panel-page) {
        --max-width: 1680px;
        --content-gutter: 48px;
        --space-3xl: 6.25rem;
        --section-title-size: clamp(2.25rem, 2vw, 3.125rem);
    }

    body.landing-page:not(.panel-page) .hero-section > .container {
        max-width: 1800px;
    }

    body.landing-page:not(.panel-page) .hero-section h1 {
        font-size: clamp(3.25rem, 2.8vw, 4.35rem);
    }

    body.landing-page:not(.panel-page) .hero-lead {
        font-size: 1.4rem;
    }

    body.landing-page:not(.panel-page) .hero-compose {
        width: 122%;
    }

    body.landing-page:not(.panel-page) .container--pricing {
        max-width: 1600px;
    }

    body.landing-page:not(.panel-page) .proof-frame {
        max-width: 1400px;
    }

    body.landing-page:not(.panel-page) .agents-grid {
        max-width: 1280px;
    }

    body.landing-page:not(.panel-page) .cta-block {
        max-width: 820px;
        padding: 5rem 3rem;
    }

    body.landing-page:not(.panel-page) .split {
        gap: 72px;
    }
}

/* Ultrawide: keep content balanced ? more side padding, not endless stretch */
@media (min-width: 2400px) {
    body.landing-page:not(.panel-page) {
        --content-gutter: 64px;
    }
}

/* =============================================================================
   Homepage redesign - premium AI workforce landing
   ============================================================================= */

.home-hero {
    padding: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(3.5rem, 7vw, 6rem);
    background:
        radial-gradient(ellipse 70% 55% at 85% 20%, rgba(37, 99, 235, 0.08), transparent 55%),
        radial-gradient(ellipse 50% 40% at 10% 80%, rgba(99, 102, 241, 0.05), transparent 50%),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f5f7fa 100%);
    overflow: hidden;
}

.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.home-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #1d4ed8;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.14);
    margin-bottom: 1.25rem;
}

.home-hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.1em;
    font-size: clamp(2.6rem, 5.2vw, 4rem);
    line-height: 1.05;
    letter-spacing: -0.035em;
    margin-bottom: 1.25rem;
}

.home-hero-title__accent {
    color: var(--color-accent);
}

.home-hero-lead {
    max-width: 34rem;
    margin-bottom: 1.35rem;
    font-size: clamp(1.1rem, 1.6vw, 1.25rem);
}

.home-hero-checks {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem 1.35rem;
    margin: 0 0 1.75rem;
    padding: 0;
    color: var(--color-text);
    font-size: 0.95rem;
    font-weight: 600;
}

.home-hero-checks li {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.home-check-icon {
    width: 1.35rem;
    height: 1.35rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
    flex-shrink: 0;
}

.home-hero-cta {
    margin-bottom: 1.75rem;
}

.home-btn-demo {
    gap: 0.5rem;
}

.home-btn-demo__icon {
    display: inline-flex;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
}

.home-trust-row {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    flex-wrap: wrap;
}

.home-trust-avatars {
    display: flex;
    align-items: center;
}

.home-trust-avatars img {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -0.55rem;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

.home-trust-avatars img:first-child {
    margin-left: 0;
}

.home-trust-meta {
    display: flex;
    flex-direction: column;
    gap: 0.1rem;
    font-size: 0.875rem;
    color: var(--color-muted);
    font-weight: 500;
}

.home-trust-stars {
    color: #f59e0b;
    letter-spacing: 0.08em;
    font-size: 0.8rem;
    line-height: 1;
}

/* Floating employee cards */
.home-hero-visual {
    position: relative;
    min-height: clamp(420px, 52vw, 540px);
}

.home-hero-orbit {
    position: absolute;
    inset: 8% 10% 12% 8%;
    border-radius: 40%;
    background:
        radial-gradient(circle at 40% 40%, rgba(37, 99, 235, 0.12), transparent 55%),
        radial-gradient(circle at 70% 65%, rgba(16, 185, 129, 0.08), transparent 45%);
    filter: blur(8px);
    pointer-events: none;
}

.home-employee-stage {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: inherit;
}

.emp-card {
    position: absolute;
    width: min(200px, 42vw);
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(209, 217, 230, 0.7);
    border-radius: 22px;
    padding: 1rem 1rem 0.95rem;
    box-shadow:
        0 18px 40px rgba(15, 23, 42, 0.08),
        0 4px 12px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    text-align: center;
    animation: emp-float 6.5s ease-in-out infinite;
    animation-delay: var(--float-delay, 0s);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.emp-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow:
        0 24px 48px rgba(15, 23, 42, 0.12),
        0 8px 16px rgba(15, 23, 42, 0.06);
    border-color: rgba(37, 99, 235, 0.28);
    z-index: 5;
    animation-play-state: paused;
}

@keyframes emp-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.emp-card__icon {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.emp-card__icon svg {
    width: 1rem;
    height: 1rem;
}

.emp-card__icon--violet { background: #ede9fe; color: #7c3aed; }
.emp-card__icon--blue { background: #dbeafe; color: #2563eb; }
.emp-card__icon--amber { background: #ffedd5; color: #ea580c; }
.emp-card__icon--green { background: #dcfce7; color: #16a34a; }
.emp-card__icon--rose { background: #ffe4e6; color: #e11d48; }
.emp-card__icon--sky { background: #e0f2fe; color: #0284c7; }

.emp-card__portrait {
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    margin: 0.35rem auto 0.75rem;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.12);
}

.emp-card__name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-strong);
    margin: 0 0 0.15rem;
    letter-spacing: -0.02em;
}

.emp-card__role {
    font-size: 0.8125rem;
    color: var(--color-muted);
    margin: 0 0 0.7rem;
    font-weight: 500;
}

.emp-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.emp-status__dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 999px;
    background: currentColor;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.15);
}

.emp-status--online,
.emp-status--call,
.emp-status--followup {
    background: #ecfdf5;
    color: #047857;
}

.emp-status--email {
    background: #eff6ff;
    color: #1d4ed8;
}

.emp-status--schedule {
    background: #fff7ed;
    color: #c2410c;
}

.emp-status--email .emp-status__dot,
.emp-status--schedule .emp-status__dot {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.emp-card--emma { top: 2%; left: 28%; z-index: 3; }
.emp-card--alex { top: 18%; right: 0; z-index: 2; }
.emp-card--sarah { top: 42%; left: 0; z-index: 4; }
.emp-card--david { bottom: 8%; left: 32%; z-index: 3; }
.emp-card--olivia { top: 58%; right: 4%; z-index: 2; width: min(190px, 40vw); }

.home-section-header {
    max-width: 40rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.home-section-header .section-lead {
    margin-top: 0.85rem;
}

/* Feature icon cards */
.home-features {
    background: #fff;
}

.home-feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.home-feature-card {
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid rgba(209, 217, 230, 0.85);
    border-radius: 20px;
    padding: 1.65rem 1.5rem 1.55rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.home-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
    border-color: rgba(37, 99, 235, 0.22);
}

.home-feature-card__icon {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
}

.home-feature-card__icon svg {
    width: 1.45rem;
    height: 1.45rem;
}

.home-feature-card--violet .home-feature-card__icon { background: #ede9fe; color: #7c3aed; }
.home-feature-card--blue .home-feature-card__icon { background: #dbeafe; color: #2563eb; }
.home-feature-card--amber .home-feature-card__icon { background: #ffedd5; color: #ea580c; }
.home-feature-card--green .home-feature-card__icon { background: #dcfce7; color: #16a34a; }
.home-feature-card--rose .home-feature-card__icon { background: #ffe4e6; color: #e11d48; }
.home-feature-card--sky .home-feature-card__icon { background: #e0f2fe; color: #0284c7; }

.home-feature-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.home-feature-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Workforce section */
.home-workforce {
    background:
        linear-gradient(180deg, #f5f7fa 0%, #eef2f7 100%);
}

.home-workforce-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.home-workforce-copy .section-title {
    margin-bottom: 0.85rem;
}

.home-workforce-list {
    list-style: none;
    margin: 1.5rem 0 1.75rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.home-workforce-list li {
    position: relative;
    padding-left: 1.85rem;
    color: var(--color-text);
    font-weight: 500;
    font-size: 1.02rem;
}

.home-workforce-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2rem;
    width: 1.25rem;
    height: 1.25rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/0.7rem no-repeat;
}

.wf-dash {
    background: rgba(255, 255, 255, 0.82);
    border: 1px solid rgba(209, 217, 230, 0.9);
    border-radius: 22px;
    overflow: hidden;
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.1),
        0 4px 16px rgba(15, 23, 42, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.wf-dash__chrome {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.85rem 1.1rem;
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid var(--color-border);
}

.wf-dash__dot {
    width: 0.55rem;
    height: 0.55rem;
    border-radius: 999px;
    background: #cbd5e1;
}

.wf-dash__dot:nth-child(1) { background: #f87171; }
.wf-dash__dot:nth-child(2) { background: #fbbf24; }
.wf-dash__dot:nth-child(3) { background: #34d399; }

.wf-dash__title {
    margin-left: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--color-muted);
}

.wf-dash__body {
    display: grid;
    grid-template-columns: 8.5rem minmax(0, 1fr);
    min-height: 320px;
}

.wf-dash__sidebar {
    padding: 1rem 0.75rem;
    background: rgba(248, 250, 252, 0.75);
    border-right: 1px solid var(--color-border);
}

.wf-dash__brand {
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--color-text-strong);
    margin-bottom: 1rem;
    padding: 0 0.4rem;
}

.wf-dash__nav {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-muted);
    padding: 0.45rem 0.55rem;
    border-radius: 8px;
    margin-bottom: 0.2rem;
}

.wf-dash__nav.is-active {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
}

.wf-dash__main {
    padding: 0.85rem 1rem 1rem;
}

.wf-dash__table-head,
.wf-dash__row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) 3.5rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: center;
}

.wf-dash__table-head {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-light);
    padding: 0 0.35rem 0.55rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 0.35rem;
}

.wf-dash__row {
    padding: 0.55rem 0.35rem;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.wf-dash__row:hover {
    background: rgba(37, 99, 235, 0.04);
}

.wf-dash__person {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    min-width: 0;
}

.wf-dash__person img {
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

.wf-dash__person strong {
    display: block;
    font-size: 0.82rem;
    color: var(--color-text-strong);
    line-height: 1.2;
}

.wf-dash__person span {
    display: block;
    font-size: 0.7rem;
    color: var(--color-muted);
}

.wf-dash__row .emp-status {
    justify-self: start;
    font-size: 0.68rem;
    padding: 0.22rem 0.5rem;
}

.wf-dash__muted {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
    text-align: center;
}

.wf-dash__perf {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--color-text);
}

.wf-dash__bar {
    flex: 1;
    height: 0.35rem;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.wf-dash__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #60a5fa, #2563eb);
}

/* Stats row */
.home-stats {
    padding: 2.75rem 0;
    background: #fff;
    border-top: 1px solid rgba(209, 217, 230, 0.6);
    border-bottom: 1px solid rgba(209, 217, 230, 0.6);
}

.home-stats-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
}

.home-stat {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.home-stat__icon {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-accent);
    margin-bottom: 0.35rem;
}

.home-stat__value {
    font-size: clamp(1.75rem, 2.5vw, 2.25rem);
    font-weight: 800;
    color: var(--color-text-strong);
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.home-stat__label {
    font-size: 0.95rem;
    color: var(--color-muted);
    font-weight: 500;
}

/* How it works */
.home-how {
    background: #fff;
}

.home-how-steps {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 0.75rem;
    align-items: stretch;
    margin-bottom: 2rem;
}

.home-how-card {
    position: relative;
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid rgba(209, 217, 230, 0.9);
    border-radius: 22px;
    padding: 1.85rem 1.5rem 1.65rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
    text-align: center;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.home-how-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.home-how-card__num {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 1.75rem;
    height: 1.75rem;
    border-radius: 999px;
    background: var(--color-accent);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.home-how-card__icon {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0.25rem auto 1rem;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-accent);
}

.home-how-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
}

.home-how-card p {
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.6;
}

.home-how-arrow {
    display: flex;
    align-items: center;
    color: #94a3b8;
    width: 3.5rem;
}

.home-how-arrow svg {
    width: 100%;
    height: auto;
}

/* Final CTA */
.home-final-cta {
    padding-top: 1rem;
    padding-bottom: clamp(3.5rem, 6vw, 5.5rem);
    background: transparent;
}

.home-cta-panel {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(1.75rem, 3vw, 3rem);
    align-items: center;
    padding: clamp(2rem, 4vw, 3.25rem);
    border-radius: 28px;
    background:
        radial-gradient(ellipse 60% 80% at 90% 50%, rgba(37, 99, 235, 0.12), transparent 55%),
        linear-gradient(135deg, #eff6ff 0%, #f8fafc 45%, #eef2ff 100%);
    border: 1px solid rgba(37, 99, 235, 0.12);
    box-shadow: 0 20px 50px rgba(37, 99, 235, 0.08);
}

.home-cta-copy .section-title {
    margin-bottom: 0.75rem;
    max-width: 18ch;
}

.home-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.5rem;
}

.home-cta-team {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.home-cta-portraits {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 0;
}

.home-cta-portraits img {
    width: clamp(4.25rem, 8vw, 5.5rem);
    height: clamp(4.25rem, 8vw, 5.5rem);
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #fff;
    margin-left: -1.1rem;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
    transition: transform 0.25s ease;
}

.home-cta-portraits img:first-child {
    margin-left: 0;
}

.home-cta-portraits img:hover {
    transform: translateY(-4px) scale(1.04);
    z-index: 2;
}

.home-cta-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(209, 217, 230, 0.9);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-text);
}

@media (max-width: 1100px) {
    .home-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .wf-dash__body {
        grid-template-columns: 1fr;
    }

    .wf-dash__sidebar {
        display: none;
    }
}

@media (max-width: 968px) {
    .home-hero-grid,
    .home-workforce-grid,
    .home-cta-panel {
        grid-template-columns: 1fr;
    }

    .home-hero-visual {
        min-height: 480px;
        max-width: 480px;
        margin: 0 auto;
    }

    .home-how-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .home-how-arrow {
        display: none;
    }

    .home-stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.75rem 1rem;
    }

    .home-cta-copy .section-title {
        max-width: none;
    }

    .home-cta-team {
        order: -1;
    }
}

@media (max-width: 640px) {
    .home-feature-grid {
        grid-template-columns: 1fr;
    }

    .home-hero-checks {
        flex-direction: column;
        gap: 0.55rem;
    }

    .home-hero-visual {
        min-height: 0;
        max-width: none;
    }

    .home-employee-stage {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
        min-height: 0;
    }

    .emp-card {
        position: static;
        width: 100%;
        animation: none;
        padding: 0.9rem 0.75rem;
    }

    .emp-card--olivia {
        width: 100%;
        grid-column: 1 / -1;
        max-width: 240px;
        justify-self: center;
    }

    .emp-card__portrait {
        width: 3.75rem;
        height: 3.75rem;
    }

    .wf-dash__hide-sm {
        display: none;
    }

    .wf-dash__table-head,
    .wf-dash__row {
        grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    }

    .home-stats-row {
        grid-template-columns: 1fr 1fr;
    }

    .home-cta-portraits img {
        width: 3.5rem;
        height: 3.5rem;
        margin-left: -0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .emp-card,
    .emp-card:hover,
    .home-feature-card,
    .home-how-card,
    .home-cta-portraits img {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

@media (min-width: 1800px) {
    body.landing-page:not(.panel-page) .home-hero > .container {
        max-width: 1480px;
    }

    body.landing-page:not(.panel-page) .home-hero-title {
        font-size: clamp(3.25rem, 3vw, 4.5rem);
    }

    body.landing-page:not(.panel-page) .home-feature-grid {
        gap: 1.5rem;
    }
}


/* =============================================================================
   Employees page - premium AI workforce showcase
   ============================================================================= */

.btn-sm {
    padding: 0.65rem 1.15rem;
    font-size: 0.9375rem;
    border-radius: 10px;
}

.btn.is-disabled,
span.btn.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
    transform: none !important;
    box-shadow: none !important;
}

.emp-page-hero .home-hero-title {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
}

.emp-page-hero-links {
    position: absolute;
    inset: 10% 8% 12% 8%;
    width: auto;
    height: auto;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}

.emp-page-hero-links path {
    fill: none;
    stroke: rgba(37, 99, 235, 0.18);
    stroke-width: 0.6;
    stroke-dasharray: 2 2.5;
}

.emp-page-hero-visual .home-employee-stage {
    z-index: 2;
}

.emp-status--soon {
    background: #f1f5f9;
    color: #475569;
}

.emp-status--soon .emp-status__dot {
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.12);
}

.emp-team-section {
    background: #fff;
}

.emp-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.35rem;
}

.emp-showcase-card {
    display: flex;
    flex-direction: column;
    background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
    border: 1px solid rgba(209, 217, 230, 0.9);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.05);
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.emp-showcase-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.09);
    border-color: rgba(37, 99, 235, 0.22);
}

.emp-showcase-card__media {
    position: relative;
    padding: 1.75rem 1.5rem 1.25rem;
    background: linear-gradient(160deg, #f8fafc 0%, #eef4ff 100%);
    text-align: center;
}

.emp-showcase-card--violet .emp-showcase-card__media { background: linear-gradient(160deg, #faf5ff 0%, #eef2ff 100%); }
.emp-showcase-card--blue .emp-showcase-card__media { background: linear-gradient(160deg, #eff6ff 0%, #f0f9ff 100%); }
.emp-showcase-card--amber .emp-showcase-card__media { background: linear-gradient(160deg, #fff7ed 0%, #fffbeb 100%); }
.emp-showcase-card--green .emp-showcase-card__media { background: linear-gradient(160deg, #ecfdf5 0%, #f0fdf4 100%); }
.emp-showcase-card--rose .emp-showcase-card__media { background: linear-gradient(160deg, #fff1f2 0%, #fdf2f8 100%); }

.emp-showcase-card__media img {
    width: 7.5rem;
    height: 7.5rem;
    border-radius: 999px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
    border: 3px solid rgba(255, 255, 255, 0.9);
}

.emp-showcase-card__media .emp-card__icon {
    position: absolute;
    top: 1.1rem;
    right: 1.1rem;
}

.emp-official-badge {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0.22rem 0.55rem;
    border-radius: 999px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #5b21b6;
    background: #ede9fe;
    width: fit-content;
}

.emp-detail__fixed-note,
.emp-profile__studio-prompt {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    color: #64748b;
}

.emp-profile__studio-prompt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.emp-voice-preview .emp-voice-sample {
    font-style: italic;
}

.emp-showcase-card__badge {
    display: inline-flex;
    margin-top: 0.9rem;
    padding: 0.28rem 0.7rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.emp-showcase-card__badge.is-available {
    background: #ecfdf5;
    color: #047857;
}

.emp-showcase-card__badge.is-soon {
    background: #f1f5f9;
    color: #475569;
}

.emp-showcase-card__body {
    padding: 1.35rem 1.4rem 1.45rem;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
}

.emp-showcase-card__body h3 {
    margin: 0;
    font-size: 1.35rem;
}

.emp-showcase-card__role {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-accent);
}

.emp-showcase-card__desc {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.55;
}

.emp-showcase-card__caps {
    list-style: none;
    margin: 0.25rem 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.emp-showcase-card__caps li {
    position: relative;
    padding-left: 1.35rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text);
}

.emp-showcase-card__caps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.3rem;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 999px;
    background-color: rgba(37, 99, 235, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.55rem;
}

.emp-showcase-card__works {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.35rem;
    padding-top: 0.85rem;
    border-top: 1px solid rgba(209, 217, 230, 0.7);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--color-muted);
}

.emp-showcase-card__teammates {
    display: flex;
    align-items: center;
}

.emp-showcase-card__teammates img {
    width: 1.85rem;
    height: 1.85rem;
    border-radius: 999px;
    object-fit: cover;
    border: 2px solid #fff;
    margin-left: -0.45rem;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.1);
}

.emp-showcase-card__teammates img:first-child {
    margin-left: 0;
}

.emp-showcase-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: auto;
    padding-top: 0.85rem;
}

.emp-showcase-card__actions .btn {
    flex: 1 1 auto;
    min-width: 7.5rem;
    justify-content: center;
}

.emp-collab-section {
    background: linear-gradient(180deg, #f5f7fa 0%, #eef2f7 100%);
}

.emp-collab-flow {
    position: relative;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(209, 217, 230, 0.9);
    border-radius: 24px;
    padding: 2rem 1.25rem 1.5rem;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-bottom: 1.75rem;
}

.emp-collab-flow__badge {
    position: absolute;
    top: -0.75rem;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--color-accent);
    font-size: 0.78rem;
    font-weight: 700;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(37, 99, 235, 0.08);
}

.emp-collab-steps {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.75rem;
    align-items: start;
}

.emp-collab-step {
    position: relative;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 0.35rem;
}

.emp-collab-step:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 1.5rem;
    left: calc(50% + 1.6rem);
    width: calc(100% - 3.2rem);
    height: 0;
    border-top: 1.5px dashed rgba(37, 99, 235, 0.28);
}

.emp-collab-step__avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
    border: 2px solid #fff;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.1);
}

.emp-collab-step strong {
    font-size: 0.9rem;
    color: var(--color-text-strong);
}

.emp-collab-step span {
    font-size: 0.8rem;
    color: var(--color-muted);
    line-height: 1.4;
    max-width: 12rem;
}

.emp-collab-benefits {
    list-style: none;
    margin: 0 auto;
    padding: 0;
    max-width: 52rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.emp-collab-benefits li {
    background: #fff;
    border: 1px solid rgba(209, 217, 230, 0.85);
    border-radius: 16px;
    padding: 1rem 1.1rem 1rem 2.5rem;
    position: relative;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.04);
}

.emp-collab-benefits li::before {
    content: '';
    position: absolute;
    left: 0.9rem;
    top: 1.1rem;
    width: 1.1rem;
    height: 1.1rem;
    border-radius: 999px;
    background-color: rgba(37, 99, 235, 0.12);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232563eb' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 0.65rem;
}

.emp-foundation-section {
    background: #fff;
}

.emp-foundation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.emp-day-section {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
}

.emp-day-panel {
    max-width: 44rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(209, 217, 230, 0.9);
    border-radius: 24px;
    box-shadow: 0 18px 44px rgba(15, 23, 42, 0.07);
    overflow: hidden;
}

.emp-day-panel__label {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    padding: 1rem 1.35rem;
    background: rgba(248, 250, 252, 0.95);
    border-bottom: 1px solid var(--color-border);
}

.emp-day-panel__label span {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-accent);
}

.emp-day-panel__label p {
    margin: 0;
    font-size: 0.85rem;
}

.emp-day-feed {
    list-style: none;
    margin: 0;
    padding: 0.5rem 0;
}

.emp-day-feed li {
    display: grid;
    grid-template-columns: 3.5rem 2.5rem 1.85rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: center;
    padding: 0.85rem 1.35rem;
    border-bottom: 1px solid rgba(209, 217, 230, 0.55);
}

.emp-day-feed li:last-child {
    border-bottom: none;
}

.emp-day-feed time {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--color-muted);
    font-variant-numeric: tabular-nums;
}

.emp-day-feed img {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 999px;
    object-fit: cover;
}

.emp-day-feed .emp-card__icon {
    position: static;
    width: 1.85rem;
    height: 1.85rem;
}

.emp-day-feed .emp-card__icon svg {
    width: 0.95rem;
    height: 0.95rem;
}

.emp-day-feed p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--color-text);
}

.emp-day-feed strong {
    color: var(--color-text-strong);
}

.emp-future-section {
    background: #fff;
}

.emp-future-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.1rem;
}

.emp-future-card {
    position: relative;
    border-radius: 20px;
    border: 1px solid rgba(209, 217, 230, 0.85);
    background: linear-gradient(180deg, #fbfcfe 0%, #f5f7fa 100%);
    padding: 1.35rem 1.25rem 1.25rem;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
    opacity: 0.88;
    filter: saturate(0.92);
}

.emp-future-card__avatar {
    width: 3.25rem;
    height: 3.25rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    margin-bottom: 0.85rem;
    color: #334155;
    background: #e2e8f0;
}

.emp-future-card--blue .emp-future-card__avatar { background: #dbeafe; color: #1d4ed8; }
.emp-future-card--violet .emp-future-card__avatar { background: #ede9fe; color: #6d28d9; }
.emp-future-card--sky .emp-future-card__avatar { background: #e0f2fe; color: #0369a1; }
.emp-future-card--green .emp-future-card__avatar { background: #dcfce7; color: #15803d; }
.emp-future-card--amber .emp-future-card__avatar { background: #ffedd5; color: #c2410c; }
.emp-future-card--rose .emp-future-card__avatar { background: #ffe4e6; color: #be123c; }

.emp-future-card .emp-showcase-card__badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    margin: 0;
}

.emp-future-card h3 {
    font-size: 1.05rem;
    margin: 0 0 0.45rem;
}

.emp-future-card p {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.55;
}


.emp-detail-modal__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.emp-detail-modal__content {
    max-width: 32rem;
    width: min(92vw, 32rem);
}

.emp-detail__hero {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    border-radius: 16px;
    background: #f8fafc;
}

.emp-detail__hero--violet { background: linear-gradient(160deg, #faf5ff, #eef2ff); }
.emp-detail__hero--blue { background: linear-gradient(160deg, #eff6ff, #f0f9ff); }
.emp-detail__hero--amber { background: linear-gradient(160deg, #fff7ed, #fffbeb); }
.emp-detail__hero--green { background: linear-gradient(160deg, #ecfdf5, #f0fdf4); }
.emp-detail__hero--rose { background: linear-gradient(160deg, #fff1f2, #fdf2f8); }

.emp-detail__hero img {
    width: 5.5rem;
    height: 5.5rem;
    border-radius: 999px;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.emp-detail__hero h3 {
    margin: 0 0 0.25rem;
    font-size: 1.35rem;
}

.emp-detail__hero p {
    margin: 0 0 0.55rem;
    font-size: 0.95rem;
}

.emp-detail__desc {
    margin: 0 0 1rem;
}

.emp-detail h4 {
    margin: 1rem 0 0.45rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
}

.emp-detail ul {
    margin: 0;
    padding-left: 1.1rem;
    color: var(--color-text);
}

.emp-detail__mates {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.emp-detail__mates span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem 0.3rem 0.3rem;
    border-radius: 999px;
    background: #f1f5f9;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-text);
}

.emp-detail__mates img {
    width: 1.6rem;
    height: 1.6rem;
    border-radius: 999px;
    object-fit: cover;
}

.emp-detail__cta {
    margin-top: 1.35rem;
}

@media (max-width: 1100px) {
    .emp-showcase-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .emp-collab-steps {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 1.25rem;
    }

    .emp-collab-step:not(:last-child)::after {
        display: none;
    }

    .emp-future-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 968px) {
    .emp-page-hero-links {
        display: none;
    }

    .emp-collab-benefits {
        grid-template-columns: 1fr;
    }

    .emp-foundation-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .emp-showcase-grid,
    .emp-future-grid {
        grid-template-columns: 1fr;
    }

    .emp-collab-steps {
        grid-template-columns: 1fr;
    }

    .emp-collab-step {
        flex-direction: row;
        text-align: left;
        gap: 0.85rem;
        padding: 0.75rem 0.5rem;
        border-bottom: 1px solid rgba(209, 217, 230, 0.65);
    }

    .emp-collab-step:last-child {
        border-bottom: none;
    }

    .emp-collab-step span {
        max-width: none;
    }

    .emp-day-feed li {
        grid-template-columns: 3rem 2.25rem minmax(0, 1fr);
        gap: 0.65rem;
    }

    .emp-day-feed .emp-card__icon {
        display: none;
    }

    .emp-showcase-card__actions .btn {
        width: 100%;
    }
}

@media (min-width: 1400px) {
    .emp-showcase-grid {
        gap: 1.5rem;
    }
}


/* Solutions marketing pages */
.sol-hero .home-section-header,
.sol-industry-hero {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}
.sol-industry-hero {
    text-align: left;
    max-width: 40rem;
    margin: 0;
}
.sol-back-link {
    display: inline-flex;
    margin-bottom: 1rem;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}
.sol-back-link:hover { text-decoration: underline; }
.sol-placeholder-body { margin: 0.75rem 0 1.5rem; max-width: 36rem; }
.sol-grid-section { background: #fff; padding-top: 1rem; }
.sol-industry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}
.sol-industry-card {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 1.45rem 1.35rem;
    border-radius: 20px;
    border: 1px solid rgba(209, 217, 230, 0.9);
    background: linear-gradient(180deg, #fff 0%, #fbfcfe 100%);
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}
.sol-industry-card:hover {
    transform: translateY(-3px);
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
}
.sol-industry-card h2 {
    font-size: 1.1rem;
    margin: 0;
}
.sol-industry-card p {
    margin: 0;
    font-size: 0.95rem;
    flex: 1;
}
.sol-industry-card__cta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-accent);
}
.sol-more {
    margin-top: 2.5rem;
    text-align: center;
    max-width: 32rem;
    margin-left: auto;
    margin-right: auto;
}
.sol-more h3 { margin-bottom: 0.5rem; }
@media (max-width: 968px) {
    .sol-industry-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .sol-industry-grid { grid-template-columns: 1fr; }
    .sol-industry-hero { text-align: left; }
}


/* Employees directory (Meet the Team) */
.emp-directory-hero {
    padding-bottom: 2rem;
}
.emp-directory-hero__inner {
    max-width: 44rem;
    margin: 0 auto;
    text-align: center;
}
.emp-directory-jump {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.65rem;
    margin-top: 1.75rem;
}
.emp-directory-jump__item {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.75rem 0.35rem 0.35rem;
    border-radius: 999px;
    border: 1px solid rgba(209, 217, 230, 0.9);
    background: rgba(255, 255, 255, 0.9);
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 600;
    transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.emp-directory-jump__item img {
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    object-fit: cover;
}
.emp-directory-jump__item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-1px);
}
.emp-profile {
    scroll-margin-top: calc(var(--nav-clearance) + 1rem);
}
.emp-profile__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.2fr);
    gap: clamp(1.75rem, 4vw, 3.25rem);
    align-items: start;
}
.emp-profile--reverse .emp-profile__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
}
.emp-profile--reverse .emp-profile__media { order: 2; }
.emp-profile--reverse .emp-profile__copy { order: 1; }
.emp-profile__media {
    position: relative;
    border-radius: 28px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(209, 217, 230, 0.85);
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.emp-profile__media--violet { background: linear-gradient(160deg, #faf5ff, #eef2ff); }
.emp-profile__media--blue { background: linear-gradient(160deg, #eff6ff, #f0f9ff); }
.emp-profile__media--amber { background: linear-gradient(160deg, #fff7ed, #fffbeb); }
.emp-profile__media--green { background: linear-gradient(160deg, #ecfdf5, #f0fdf4); }
.emp-profile__media--rose { background: linear-gradient(160deg, #fff1f2, #fdf2f8); }
.emp-profile__media img {
    width: min(100%, 17.5rem);
    height: auto;
    aspect-ratio: 1;
    border-radius: 999px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14);
}
.emp-profile__media .emp-card__icon {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
}
.emp-profile__media .emp-showcase-card__badge {
    margin-top: 1rem;
}
.emp-profile__name {
    font-size: clamp(2rem, 3vw, 2.6rem);
    margin: 0 0 0.35rem;
}
.emp-profile__role {
    margin: 0 0 0.75rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--color-accent);
}
.emp-profile__desc {
    margin: 0 0 1rem;
    font-size: 1.05rem;
}
.emp-profile__block {
    margin-top: 1.35rem;
}
.emp-profile__block h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--color-muted);
    margin: 0 0 0.55rem;
}
.emp-profile__block ul {
    margin: 0;
    padding-left: 1.15rem;
    color: var(--color-text);
}
.emp-profile__block p {
    margin: 0;
}
.emp-profile__pills {
    list-style: none;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
}
.emp-profile__pills li {
    padding: 0.35rem 0.7rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.08);
    color: var(--color-accent);
    font-size: 0.85rem;
    font-weight: 600;
}
.emp-profile__quotes {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.emp-profile__quotes li {
    padding: 0.75rem 0.9rem;
    border-radius: 14px;
    background: #f8fafc;
    border: 1px solid rgba(209, 217, 230, 0.8);
    color: var(--color-text);
    font-style: italic;
}
.emp-profile__meta-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.emp-profile__mate {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.3rem 0.65rem 0.3rem 0.3rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: var(--color-text);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}
.emp-profile__mate:hover {
    background: rgba(37, 99, 235, 0.1);
    color: var(--color-accent);
}
.emp-profile__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.75rem;
}
@media (max-width: 968px) {
    .emp-profile__grid,
    .emp-profile--reverse .emp-profile__grid {
        grid-template-columns: 1fr;
    }
    .emp-profile--reverse .emp-profile__media,
    .emp-profile--reverse .emp-profile__copy { order: initial; }
    .emp-profile__meta-grid { grid-template-columns: 1fr; }
}
