/* Corporate Design System for Cognitive Agentics */
/* Professional Microsoft/Dell/IBM-inspired design */

:root {
    /* Primary Professional Blues - NO GRADIENTS */
    --ca-primary: #0078d4;           /* Microsoft Azure Blue */
    --ca-primary-dark: #106ebe;      /* Darker hover state */
    --ca-primary-light: #2b88d8;     /* Lighter variation */
    --ca-secondary: #475569;         /* Professional gray-blue */
    --ca-accent: #0078d4;            /* Same as primary - NO ORANGE */
    --ca-accent-dark: #106ebe;       /* Darker accent */
    --ca-success: #00875a;           /* Professional green */
    --ca-danger: #de350b;            /* Professional red */
    --ca-warning: #ff991f;           /* Professional orange (status only) */
    --ca-info: #0078d4;              /* Info blue */
    
    /* Text Colors - High Contrast */
    --ca-text-dark: #1a1f2e;         /* Primary text */
    --ca-text-light: #475569;        /* Secondary text */
    --ca-text-muted: #64748b;        /* Muted text */
    
    /* Background Colors - Clean & Professional */
    --ca-bg-primary: #ffffff;        /* Pure white */
    --ca-bg-secondary: #fafbfc;      /* Off-white */
    --ca-bg-tertiary: #f7fafc;       /* Light gray */
    --ca-bg-card: #ffffff;           /* Card background */
    
    /* Borders */
    --ca-border: #e2e8f0;
    --ca-border-dark: #cbd5e0;
    
    /* Shadows - Subtle & Professional */
    --ca-shadow-xs: 0 1px 2px 0 rgba(10, 25, 41, 0.03);
    --ca-shadow-sm: 0 1px 3px 0 rgba(10, 25, 41, 0.05), 0 1px 2px 0 rgba(10, 25, 41, 0.02);
    --ca-shadow-md: 0 4px 6px -1px rgba(10, 25, 41, 0.06), 0 2px 4px -1px rgba(10, 25, 41, 0.03);
    --ca-shadow-lg: 0 10px 15px -3px rgba(10, 25, 41, 0.08), 0 4px 6px -2px rgba(10, 25, 41, 0.03);
    --ca-shadow-xl: 0 20px 25px -5px rgba(10, 25, 41, 0.1), 0 10px 10px -5px rgba(10, 25, 41, 0.02);
    
    /* NO GRADIENTS - Solid colors only for professional look */
    --ca-gradient-primary: var(--ca-primary);      /* Solid blue */
    --ca-gradient-secondary: var(--ca-secondary);  /* Solid gray */
    --ca-gradient-hero: var(--ca-bg-secondary);    /* Solid background */
    
    /* Chat panel width */
    --chat-panel-width: 420px;
}

/* Typography */
body {
    font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--ca-text-dark);
    line-height: 1.6;
}

.fw-500 {
    font-weight: 500;
}

.fw-600 {
    font-weight: 600;
}

.fw-700 {
    font-weight: 700;
}

.fw-800 {
    font-weight: 800;
}

/* Text Styling - NO GRADIENTS, solid colors only */
.text-gradient {
    color: var(--ca-primary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

.text-gradient-secondary {
    color: var(--ca-secondary);
    background: none;
    -webkit-background-clip: unset;
    -webkit-text-fill-color: unset;
    background-clip: unset;
}

/* Hero Sections - Clean, professional background */
.hero-section {
    background: var(--ca-bg-secondary);
    padding: 4rem 0;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23cbd5e0' fill-opacity='0.02'%3E%3Cpath d='m36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.5;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Feature Cards - Clean white cards with subtle shadows */
.feature-card {
    transition: all 0.3s ease;
    background: var(--ca-bg-card);
    border: 1px solid var(--ca-border);
    border-radius: 12px;
    padding: 2rem;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--ca-primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ca-shadow-lg);
    border-color: var(--ca-primary-light);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 80px;
    height: 80px;
    background: rgba(0, 120, 212, 0.08);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    color: var(--ca-primary);
}

.feature-card:hover .feature-icon {
    transform: scale(1.05);
    background: rgba(0, 120, 212, 0.12);
}

/* Buttons - Professional Microsoft-style */
.btn-primary {
    background: var(--ca-primary);
    border-color: var(--ca-primary);
    color: #ffffff;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: var(--ca-shadow-sm);
}

.btn-primary:hover {
    background: var(--ca-primary-dark);
    border-color: var(--ca-primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--ca-shadow-md);
}

.btn-outline-primary {
    color: var(--ca-primary);
    border-color: var(--ca-primary);
    background: transparent;
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.btn-outline-primary:hover {
    background: var(--ca-primary);
    border-color: var(--ca-primary);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: var(--ca-shadow-md);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-sm {
    padding: 3rem 0;
}

.section-lg {
    padding: 7rem 0;
}

/* Navigation */
.navbar {
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    background-color: rgba(255, 255, 255, 0.95) !important;
    border-bottom: 1px solid var(--ca-border);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ca-text-dark) !important;
}

.nav-link {
    font-weight: 500;
    color: var(--ca-text-dark) !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--ca-primary) !important;
}

/* Underline effect for nav links, but exclude dropdown toggles */
.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--ca-primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}

/* Special styling for dropdown toggle */
.dropdown-toggle {
    position: relative;
}

.dropdown-toggle::after {
    border: none !important;
    content: '\F282' !important;
    font-family: 'bootstrap-icons' !important;
    font-size: 0.8em;
    margin-left: 0.5rem;
    vertical-align: 0.1em;
}

/* Stats Section - NO GRADIENT TEXT */
.stats-card {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--ca-shadow-sm);
    border: 1px solid var(--ca-border);
    transition: all 0.3s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--ca-shadow-md);
}

.stats-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--ca-primary);
    margin-bottom: 0.5rem;
}

/* Testimonials */
.testimonial-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: var(--ca-shadow);
    border: 1px solid var(--ca-border);
    height: 100%;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-size: 4rem;
    color: var(--ca-primary);
    font-weight: bold;
    line-height: 1;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid var(--ca-primary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes subtle-glow {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
    }
    50% {
        box-shadow: 0 15px 50px rgba(37, 99, 235, 0.5);
    }
}

/* Hero Glow Card - Subtle ambient glow instead of pulsating */
.hero-glow-card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 40px rgba(37, 99, 235, 0.3);
}

.hero-glow-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 60px rgba(37, 99, 235, 0.45);
}

/* Animation Classes */
.animate-fade-up {
    animation: fadeInUp 0.8s ease-out;
    animation-fill-mode: both;
}

.animate-fade-down {
    animation: fadeInDown 0.8s ease-out;
    animation-fill-mode: both;
}

.animate-fade-left {
    animation: fadeInLeft 0.8s ease-out;
    animation-fill-mode: both;
}

.animate-fade-right {
    animation: fadeInRight 0.8s ease-out;
    animation-fill-mode: both;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* Delay classes for staggered animations */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }

/* Footer - Clean professional style */
footer {
    background: #0a1929;
    color: rgba(255, 255, 255, 0.9);
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--ca-primary) !important;
    transform: translateY(-2px);
}

/* Chat drawer layout */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.layout-wrapper .main-content {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

.chat-panel {
    width: 0;
    overflow: hidden;
    transition: width 0.3s ease;
    height: calc(100vh - 92px);
    background: white;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--ca-border);
    flex-shrink: 0;
    margin-top: 92px;
}

.chat-panel.open {
    width: var(--chat-panel-width, 420px);
}

/* Removed redundant .layout-wrapper.chat-open selector - .chat-panel.open handles it */

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        min-height: 80vh;
        text-align: center;
    }
    
    .feature-card {
        margin-bottom: 2rem;
    }
    
    .btn-lg {
        width: 100%;
        margin-bottom: 1rem;
    }
    
    .stats-number {
        font-size: 2rem;
    }
}

/* Custom Utilities - NO GRADIENTS */
.bg-gradient-primary {
    background: var(--ca-primary);
}

.bg-gradient-secondary {
    background: var(--ca-secondary);
}

.border-gradient {
    border: 2px solid var(--ca-primary);
}

.shadow-ca {
    box-shadow: var(--ca-shadow);
}

.shadow-ca-lg {
    box-shadow: var(--ca-shadow-lg);
}

.text-ca-primary {
    color: var(--ca-primary);
}

.text-ca-secondary {
    color: var(--ca-secondary);
}

.text-ca-muted {
    color: var(--ca-text-muted);
}

/* Chat Panel Layout */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

.main-content {
    flex: 1;
    min-width: 0;
    overflow-y: auto;
}

/* AgentixPilotChat component within chat panel */
.chat-panel .agentix-pilot-chat {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: white;
}

.chat-panel .chat-header {
    padding: 20px;
    border-bottom: 1px solid var(--ca-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
}

.chat-panel .chat-header h3 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
}

.chat-panel .chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--ca-bg-secondary);
}

.chat-panel .chat-input {
    padding: 20px;
    border-top: 1px solid var(--ca-border);
    background: white;
}

.chat-panel .message {
    margin-bottom: 16px;
    animation: fadeInUp 0.3s ease;
}

.chat-panel .user-message {
    text-align: right;
}

.chat-panel .bot-message {
    text-align: left;
}

.chat-panel .message-content {
    display: inline-block;
    padding: 12px 16px;
    border-radius: 12px;
    max-width: 80%;
    word-wrap: break-word;
}

.chat-panel .user-message .message-content {
    background: var(--ca-primary);
    color: white;
}

.chat-panel .bot-message .message-content {
    background: white;
    color: var(--ca-text-dark);
    box-shadow: var(--ca-shadow-sm);
}

.chat-panel .message-time {
    font-size: 0.75rem;
    color: var(--ca-text-muted);
    margin-top: 4px;
}

.chat-panel .welcome-message {
    background: white;
    padding: 16px;
    border-radius: 12px;
    box-shadow: var(--ca-shadow-sm);
    text-align: center;
}

.chat-panel .welcome-message p {
    margin: 0;
    color: var(--ca-text-light);
}

.chat-panel-header {
    padding: 20px;
    border-bottom: 1px solid var(--ca-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-panel-header h4 {
    margin: 0;
    font-weight: 600;
}

.chat-panel-content {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    background: var(--ca-bg-secondary);
}

.chat-panel-input {
    padding: 20px;
    border-top: 1px solid var(--ca-border);
    background: white;
}

/* Loading States - Subtle animation */
.loading-skeleton {
    background: #f0f0f0;
    animation: loading-pulse 1.5s infinite;
}

@keyframes loading-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Public site redesign */
:root {
    --site-ink: #111820;
    --site-ink-soft: #33404d;
    --site-muted: #667482;
    --site-line: #d9e0e5;
    --site-surface: #ffffff;
    --site-surface-cool: #eef4f5;
    --site-surface-blue: #eaf2ff;
    --site-blue: #1769e0;
    --site-blue-dark: #0d4fae;
    --site-cyan: #12aebe;
    --site-coral: #f4512c;
    --site-green: #16815f;
    --site-header-height: 76px;
}

html {
    scroll-behavior: smooth;
}

#contact-form {
    scroll-margin-top: calc(var(--site-header-height) + 1rem);
}

body {
    background: var(--site-surface);
    color: var(--site-ink);
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    letter-spacing: 0;
}

a {
    color: inherit;
}

.layout-wrapper,
.layout-wrapper .main-content,
.main-content {
    display: block;
    min-height: 100vh;
    overflow: visible;
    width: 100%;
}

.site-header {
    background: rgba(255, 255, 255, 0.94) !important;
    border-bottom: 1px solid rgba(17, 24, 32, 0.1);
    box-shadow: none;
    height: var(--site-header-height);
    padding: 0;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.site-nav {
    height: 100%;
}

.site-brand {
    gap: 0.7rem;
    margin: 0;
    padding: 0;
}

.site-brand img {
    height: 36px;
    width: 36px;
}

.site-brand-name {
    color: var(--site-ink);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: 0;
}

.site-nav-links {
    gap: 0.2rem;
}

.site-header .nav-link {
    color: var(--site-ink-soft) !important;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.65rem 0.9rem !important;
}

.site-header .nav-link::after {
    display: none;
}

.site-header .nav-link:hover {
    color: var(--site-blue) !important;
}

.site-nav-cta {
    align-items: center;
    background: var(--site-ink);
    border: 1px solid var(--site-ink);
    border-radius: 4px;
    color: #ffffff;
    display: inline-flex;
    font-size: 0.88rem;
    font-weight: 700;
    gap: 0.55rem;
    margin-left: 0.65rem;
    padding: 0.72rem 1rem;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease;
}

.site-nav-cta:hover {
    background: var(--site-blue);
    border-color: var(--site-blue);
    color: #ffffff;
}

.site-main {
    padding-top: var(--site-header-height);
}

.section-kicker {
    color: var(--site-blue);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.74rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    margin: 0 0 1.35rem;
    text-transform: uppercase;
}

.section-intro h2,
.closing-inner h2 {
    color: var(--site-ink);
    font-size: 3.25rem;
    font-weight: 700;
    letter-spacing: 0;
    line-height: 1.08;
    margin: 0;
}

.consulting-hero {
    align-items: center;
    background: #edf5f6;
    box-sizing: border-box;
    color: var(--site-ink);
    display: flex;
    min-height: calc(100svh - 108px);
    overflow: hidden;
    padding: 6rem 0 4.5rem;
    position: relative;
}

.consulting-hero-image,
.consulting-hero-shade {
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.consulting-hero-image {
    filter: saturate(0.72) contrast(0.92);
    object-fit: cover;
    object-position: right center;
    opacity: 0.32;
    transform: scale(1.03);
}

.consulting-hero-shade {
    background: linear-gradient(90deg, rgba(248, 251, 252, 0.99) 0%, rgba(248, 251, 252, 0.96) 48%, rgba(238, 246, 247, 0.78) 70%, rgba(238, 246, 247, 0.36) 100%);
}

.consulting-hero-content {
    position: relative;
    z-index: 1;
}

.hero-kicker {
    color: var(--site-blue);
}

.consulting-hero h1 {
    color: var(--site-ink);
    font-size: 4.4rem;
    font-weight: 700;
    line-height: 0.99;
    margin: 0;
    max-width: 850px;
}

.hero-lede {
    color: var(--site-ink-soft);
    font-size: 1.14rem;
    line-height: 1.65;
    margin: 2rem 0 0;
    max-width: 700px;
}

.hero-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1.15rem;
    margin-top: 2.25rem;
}

.action-primary,
.action-quiet {
    align-items: center;
    border-radius: 4px;
    display: inline-flex;
    font-size: 0.95rem;
    font-weight: 700;
    gap: 0.65rem;
    justify-content: center;
    min-height: 50px;
    padding: 0.8rem 1.15rem;
    text-decoration: none;
    transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.action-primary {
    background: var(--site-blue);
    border: 1px solid var(--site-blue);
    color: #ffffff;
}

.action-primary:hover {
    background: var(--site-blue-dark);
    border-color: var(--site-blue-dark);
    color: #ffffff;
}

.action-quiet {
    background: rgba(255, 255, 255, 0.66);
    border: 1px solid rgba(17, 24, 32, 0.28);
    color: var(--site-ink);
}

.action-quiet:hover {
    background: #ffffff;
    border-color: var(--site-ink);
    color: var(--site-ink);
}

.hero-proof {
    border-top: 1px solid rgba(17, 24, 32, 0.2);
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 4rem;
    max-width: 960px;
    padding-top: 1.5rem;
}

.hero-proof span {
    color: var(--site-muted);
    font-size: 0.78rem;
    line-height: 1.5;
}

.hero-proof strong {
    color: var(--site-ink);
    display: block;
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.friction-band,
.mvp-band,
.service-ledger,
.work-band,
.delivery-band {
    padding: 7rem 0;
}

.friction-band {
    background: var(--site-surface);
}

.compact-intro {
    max-width: 760px;
}

.section-summary {
    color: var(--site-muted);
    font-size: 1.04rem;
    line-height: 1.8;
    margin: 1.5rem 0 0;
    max-width: 690px;
}

.friction-list {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 4rem;
}

.friction-list article {
    border-top: 1px solid var(--site-ink);
    padding: 1.5rem 2.5rem 0 0;
}

.friction-list article + article {
    border-left: 1px solid var(--site-line);
    padding-left: 2.5rem;
}

.friction-number,
.service-index,
.work-label,
.delivery-steps > li > span {
    color: var(--site-blue);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.72rem;
    letter-spacing: 0.06em;
}

.friction-list h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 1.2rem 0 0.7rem;
}

.friction-list p,
.mvp-intro > p,
.service-row p,
.split-intro > p,
.work-intro > p,
.work-copy p,
.delivery-steps p {
    color: var(--site-muted);
    margin: 0;
}

.mvp-band {
    background: #ffffff;
}

.mvp-intro {
    margin-bottom: 1rem;
}

.mvp-feature {
    align-items: center;
    border-top: 1px solid var(--site-line);
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1.3fr);
    padding: 5rem 0;
}

.mvp-feature-plumbing {
    grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.7fr);
}

.mvp-feature-plumbing .mvp-copy {
    grid-column: 2;
    grid-row: 1;
}

.mvp-feature-plumbing .mvp-visual {
    grid-column: 1;
    grid-row: 1;
}

.mvp-copy h3 {
    color: var(--site-ink);
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.1;
    margin: 0.8rem 0 0.75rem;
}

.mvp-tagline {
    color: var(--site-ink-soft);
    font-size: 1.04rem;
    line-height: 1.65;
    margin: 0 0 2rem;
}

.mvp-capabilities {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mvp-capabilities li {
    border-top: 1px solid var(--site-line);
    display: grid;
    gap: 1rem;
    grid-template-columns: 145px minmax(0, 1fr);
    padding: 0.95rem 0;
}

.mvp-capabilities strong {
    color: var(--site-ink);
    font-size: 0.78rem;
}

.mvp-capabilities span {
    color: var(--site-muted);
    font-size: 0.75rem;
    line-height: 1.55;
}

.mvp-visual {
    background: var(--site-surface-cool);
    border: 1px solid #ccd7dc;
    border-radius: 6px;
    display: grid;
    grid-template-rows: 260px minmax(310px, auto);
    min-height: 570px;
    overflow: hidden;
}

.mvp-visual > img {
    height: 100%;
    min-height: 0;
    object-fit: cover;
    width: 100%;
}

.mvp-visual-hvac > img {
    object-position: center 34%;
}

.mvp-visual-plumbing > img {
    object-position: center 42%;
}

.mvp-console {
    background: #f8fbfc;
    color: var(--site-ink);
    padding: 1.65rem 1.8rem;
}

.mvp-console-header {
    align-items: center;
    border-bottom: 1px solid var(--site-line);
    display: flex;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.67rem;
    justify-content: space-between;
    letter-spacing: 0.04em;
    padding-bottom: 0.85rem;
    text-transform: uppercase;
}

.mvp-priority {
    background: #fff0e8;
    border: 1px solid #f6c6b5;
    border-radius: 3px;
    color: #9d3517;
    padding: 0.28rem 0.45rem;
}

.mvp-message {
    color: var(--site-ink);
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.55;
    margin: 1.2rem 0;
}

.mvp-context {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-bottom: 1.15rem;
}

.mvp-context span {
    align-items: center;
    background: #e9f2f4;
    border-radius: 3px;
    color: #344b53;
    display: inline-flex;
    font-size: 0.65rem;
    gap: 0.35rem;
    padding: 0.35rem 0.48rem;
}

.mvp-actions {
    border-top: 1px solid var(--site-line);
    list-style: none;
    margin: 0;
    padding: 0.8rem 0 0;
}

.mvp-actions li {
    align-items: start;
    color: var(--site-ink-soft);
    display: grid;
    font-size: 0.7rem;
    gap: 0.55rem;
    grid-template-columns: 18px minmax(0, 1fr);
    padding: 0.28rem 0;
}

.mvp-actions i {
    color: var(--site-green);
}

.service-ledger {
    background: var(--site-surface-cool);
}

.split-intro {
    align-items: end;
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.55fr);
    margin-bottom: 4.5rem;
}

.split-intro > p {
    font-size: 1rem;
    line-height: 1.8;
}

.service-row {
    align-items: start;
    border-top: 1px solid #becbd0;
    display: grid;
    gap: 2rem;
    grid-template-columns: 70px minmax(0, 1.25fr) minmax(240px, 0.75fr);
    padding: 2.15rem 0;
}

.service-row h3 {
    color: var(--site-ink);
    font-size: 1.55rem;
    font-weight: 700;
    margin: 0 0 0.65rem;
}

.service-row ul {
    color: var(--site-ink-soft);
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-row li {
    border-bottom: 1px solid rgba(17, 24, 32, 0.1);
    font-size: 0.85rem;
    padding: 0.35rem 0;
}

.section-link-row {
    border-top: 1px solid #becbd0;
    padding-top: 1.5rem;
    text-align: right;
}

.section-link-row a,
.work-copy a {
    color: var(--site-blue-dark);
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.section-link-row a:hover,
.work-copy a:hover {
    color: var(--site-coral);
}

.work-band {
    background: var(--site-surface);
}

.work-intro {
    max-width: 760px;
}

.work-intro > p {
    font-size: 1rem;
    margin-top: 1.5rem;
    max-width: 620px;
}

.work-feature {
    align-items: center;
    border-top: 1px solid var(--site-line);
    display: grid;
    gap: 4rem;
    grid-template-columns: minmax(0, 1.4fr) minmax(260px, 0.6fr);
    margin-top: 4rem;
    padding-top: 4rem;
}

.work-visual {
    background: #dce5e9;
    border: 1px solid #c9d3d8;
    border-radius: 5px;
    box-shadow: 0 20px 50px rgba(17, 24, 32, 0.12);
    display: block;
    overflow: hidden;
}

.work-visual img {
    aspect-ratio: 16 / 10;
    display: block;
    object-fit: cover;
    object-position: left top;
    width: 100%;
}

.work-copy h3 {
    color: var(--site-ink);
    font-size: 2rem;
    font-weight: 700;
    margin: 0.75rem 0 1rem;
}

.work-copy p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.work-feature-insurance {
    grid-template-columns: minmax(260px, 0.6fr) minmax(0, 1.4fr);
}

.work-feature-insurance .insurance-workflow {
    grid-column: 2;
    grid-row: 1;
}

.work-feature-insurance .work-copy {
    grid-column: 1;
    grid-row: 1;
}

.insurance-workflow {
    background: #101c27;
    border-radius: 5px;
    color: #ffffff;
    min-height: 390px;
    padding: 2rem;
}

.workflow-header {
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    display: flex;
    font-size: 0.88rem;
    font-weight: 700;
    justify-content: space-between;
    padding-bottom: 1.25rem;
}

.workflow-status {
    color: #9ee8cf;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
}

.workflow-status i {
    background: #36d39b;
    border-radius: 50%;
    display: inline-block;
    height: 7px;
    margin-right: 0.4rem;
    width: 7px;
}

.workflow-track {
    align-items: center;
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(2, minmax(0, 1fr) 20px) minmax(0, 1fr);
    margin: 3.25rem 0;
}

.workflow-track > div {
    border-left: 2px solid var(--site-cyan);
    min-height: 115px;
    padding-left: 1rem;
}

.workflow-track small,
.workflow-track strong,
.workflow-track span {
    display: block;
}

.workflow-track small {
    color: #78dce6;
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
}

.workflow-track strong {
    font-size: 1rem;
    margin: 0.55rem 0 0.35rem;
}

.workflow-track span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.7rem;
    line-height: 1.45;
}

.workflow-track > i {
    color: rgba(255, 255, 255, 0.45);
}

.workflow-result {
    align-items: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 4px;
    display: flex;
    gap: 1rem;
    padding: 1rem 1.15rem;
}

.workflow-result > i {
    color: #72d4df;
    font-size: 1.5rem;
}

.workflow-result span {
    color: rgba(255, 255, 255, 0.66);
    font-size: 0.75rem;
}

.workflow-result strong {
    color: #ffffff;
}

.demo-disclosure {
    color: var(--site-muted);
    font-size: 0.7rem;
    margin: 3rem 0 0;
}

.delivery-band {
    background: var(--site-surface-blue);
    color: var(--site-ink);
}

.delivery-band .section-kicker {
    color: var(--site-blue);
}

.delivery-band .section-intro h2,
.delivery-band .split-intro > p {
    color: var(--site-ink);
}

.delivery-band .split-intro > p {
    color: var(--site-muted);
    opacity: 1;
}

.delivery-steps {
    display: grid;
    gap: 0;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    list-style: none;
    margin: 0;
    padding: 0;
}

.delivery-steps li {
    border-top: 1px solid rgba(17, 24, 32, 0.28);
    padding: 1.5rem 2rem 0 0;
}

.delivery-steps li + li {
    border-left: 1px solid rgba(17, 24, 32, 0.12);
    padding-left: 2rem;
}

.delivery-steps > li > span {
    color: var(--site-blue);
    display: block;
}

.delivery-steps strong {
    display: block;
    font-size: 1.15rem;
    margin: 1.25rem 0 0.65rem;
}

.delivery-steps p {
    color: var(--site-muted);
    font-size: 0.82rem;
}

.closing-band {
    background: var(--site-coral);
    color: #ffffff;
    padding: 7rem 0;
}

.closing-inner {
    max-width: 900px;
}

.closing-inner .section-kicker,
.closing-inner h2 {
    color: #ffffff;
}

.closing-inner > p:not(.section-kicker) {
    font-size: 1.08rem;
    line-height: 1.8;
    margin: 1.5rem 0 2rem;
    max-width: 700px;
}

.action-light {
    background: #ffffff;
    border-color: #ffffff;
    color: var(--site-ink);
}

.action-light:hover {
    background: var(--site-ink);
    border-color: var(--site-ink);
    color: #ffffff;
}

/* Existing corporate pages inherit the refreshed system. */
.hero-section {
    background: var(--site-surface-cool);
    min-height: 0;
    padding: 7rem 0;
}

.hero-section::before {
    display: none;
}

.hero-section.bg-gradient-primary,
.hero-section.bg-gradient-secondary {
    background: #101c27;
}

.section {
    padding: 6rem 0;
}

.feature-card,
.stats-card,
.testimonial-card {
    border: 1px solid var(--site-line);
    border-radius: 6px;
    box-shadow: none;
}

.feature-card:hover,
.stats-card:hover {
    border-color: #aebbc4;
    box-shadow: 0 12px 28px rgba(17, 24, 32, 0.08);
    transform: none;
}

.feature-card::before {
    display: none;
}

.btn,
.btn-primary,
.btn-outline-primary {
    border-radius: 4px;
}

footer {
    background: #09131d !important;
    margin-top: 0 !important;
}

.site-footer {
    color: rgba(255, 255, 255, 0.72);
    padding: 5.5rem 0 2rem;
}

.site-footer-main {
    display: grid;
    gap: 5rem;
    grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
}

.site-footer-brand > div {
    align-items: center;
    color: #ffffff;
    display: flex;
    gap: 0.75rem;
}

.site-footer-brand img {
    height: 34px;
    width: 34px;
}

.site-footer-brand strong {
    font-size: 1rem;
}

.site-footer-brand p {
    font-size: 1.25rem;
    line-height: 1.55;
    margin: 2rem 0 1.5rem;
    max-width: 560px;
}

.site-footer-brand > a {
    color: #72d4df;
    font-size: 0.85rem;
    text-decoration: none;
}

.site-footer-nav {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.site-footer-nav div {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.site-footer-nav span {
    color: rgba(255, 255, 255, 0.42);
    font-family: 'IBM Plex Mono', monospace;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.site-footer-nav a {
    color: rgba(255, 255, 255, 0.82);
    font-size: 0.82rem;
    text-decoration: none;
}

.site-footer-nav a:hover,
.site-footer-brand > a:hover {
    color: #ffffff;
}

.site-footer-bottom {
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    display: flex;
    font-size: 0.7rem;
    justify-content: space-between;
    margin-top: 5rem;
    padding-top: 1.5rem;
}

.site-footer-bottom > div {
    display: flex;
    gap: 2rem;
}

@media (min-width: 992px) {
    .site-header .navbar-toggler {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .site-header .navbar-toggler {
        border: 1px solid var(--site-line);
        border-radius: 4px;
        display: block;
        height: 42px;
        padding: 0.4rem 0.65rem;
        width: 44px;
    }

    .site-header .navbar-collapse {
        background: #ffffff;
        border: 1px solid var(--site-line);
        border-radius: 5px;
        box-shadow: 0 18px 36px rgba(17, 24, 32, 0.14);
        left: 0.75rem;
        padding: 0.75rem;
        position: absolute;
        right: 0.75rem;
        top: calc(var(--site-header-height) - 8px);
    }

    .site-nav-links {
        align-items: stretch !important;
    }

    .site-nav-cta {
        margin: 0.5rem 0 0;
        width: 100%;
    }

    .consulting-hero h1 {
        font-size: 3.6rem;
    }

    .section-intro h2,
    .closing-inner h2 {
        font-size: 2.65rem;
    }

    .split-intro,
    .mvp-feature,
    .mvp-feature-plumbing,
    .work-feature,
    .work-feature-insurance {
        gap: 2.5rem;
        grid-template-columns: 1fr;
    }

    .mvp-feature-plumbing .mvp-copy,
    .mvp-feature-plumbing .mvp-visual {
        grid-column: 1;
    }

    .mvp-feature-plumbing .mvp-copy {
        grid-row: 1;
    }

    .mvp-feature-plumbing .mvp-visual {
        grid-row: 2;
    }

    .work-feature-insurance .insurance-workflow,
    .work-feature-insurance .work-copy {
        grid-column: 1;
    }

    .work-feature-insurance .insurance-workflow {
        grid-row: 1;
    }

    .work-feature-insurance .work-copy {
        grid-row: 2;
    }

    .service-row {
        grid-template-columns: 50px minmax(0, 1fr);
    }

    .service-row ul {
        grid-column: 2;
    }

    .delivery-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: 2.5rem;
    }

    .delivery-steps li:nth-child(3) {
        border-left: 0;
        padding-left: 0;
    }

    .site-footer-main {
        gap: 3.5rem;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767.98px) {
    :root {
        --site-header-height: 70px;
    }

    .site-brand-name {
        font-size: 0.95rem;
    }

    .site-brand img {
        height: 32px;
        width: 32px;
    }

    .consulting-hero {
        min-height: calc(100svh - 96px);
        padding: 3.6rem 0 2.75rem;
    }

    .consulting-hero-image {
        object-position: 62% center;
        opacity: 0.2;
    }

    .consulting-hero-shade {
        background: rgba(247, 251, 252, 0.88);
    }

    .consulting-hero h1 {
        font-size: 2.55rem;
        line-height: 1.03;
    }

    .hero-lede {
        font-size: 1rem;
        line-height: 1.65;
        margin-top: 1.5rem;
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 1.75rem;
    }

    .action-primary,
    .action-quiet {
        width: 100%;
    }

    .hero-proof {
        gap: 0.8rem;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        margin-top: 1.75rem;
        padding-top: 1rem;
    }

    .hero-proof span:nth-child(3) {
        display: none;
    }

    .friction-band,
    .mvp-band,
    .service-ledger,
    .work-band,
    .delivery-band,
    .closing-band,
    .section,
    .hero-section {
        padding: 4.5rem 0;
    }

    .section-intro h2,
    .closing-inner h2 {
        font-size: 2.15rem;
        line-height: 1.12;
    }

    .friction-list {
        grid-template-columns: 1fr;
        margin-top: 2.75rem;
    }

    .friction-list article,
    .friction-list article + article {
        border-left: 0;
        border-top: 1px solid var(--site-line);
        padding: 1.35rem 0 1.75rem;
    }

    .split-intro {
        gap: 1.5rem;
        margin-bottom: 3rem;
    }

    .mvp-feature {
        gap: 2.25rem;
        padding: 3.5rem 0;
    }

    .mvp-copy h3 {
        font-size: 2rem;
    }

    .mvp-capabilities li {
        gap: 0.35rem;
        grid-template-columns: 1fr;
    }

    .mvp-visual {
        grid-template-rows: 200px auto;
        min-height: 0;
    }

    .mvp-console {
        padding: 1.25rem;
    }

    .service-row {
        gap: 1rem;
        grid-template-columns: 34px minmax(0, 1fr);
        padding: 1.75rem 0;
    }

    .service-row ul {
        grid-column: 1 / -1;
        padding-left: 34px;
    }

    .section-link-row {
        text-align: left;
    }

    .work-feature {
        margin-top: 3rem;
        padding-top: 3rem;
    }

    .insurance-workflow {
        min-height: 0;
        padding: 1.25rem;
    }

    .workflow-track {
        gap: 1rem;
        grid-template-columns: 1fr;
        margin: 2rem 0;
    }

    .workflow-track > i {
        display: none;
    }

    .workflow-track > div {
        min-height: 0;
        padding-bottom: 0.6rem;
    }

    .delivery-steps {
        grid-template-columns: 1fr;
        row-gap: 1.75rem;
    }

    .delivery-steps li,
    .delivery-steps li + li,
    .delivery-steps li:nth-child(3) {
        border-left: 0;
        padding: 1.25rem 0 0;
    }

    .site-footer {
        padding-top: 4rem;
    }

    .site-footer-brand p {
        font-size: 1.05rem;
    }

    .site-footer-nav {
        gap: 2rem;
    }

    .site-footer-bottom,
    .site-footer-bottom > div {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
