/* CleanAim Website Styles - Single Source of Truth */

:root {
    --brand-primary: #3d5a6c;
    --brand-dark: #2a3f4d;
    --brand-light: #4a6b7f;
    --text-primary: #1a1a1a;
    --text-secondary: #5a5a5a;
    --text-tertiary: #888888;
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-accent: #f0f4f6;
    --border-light: #e5e7eb;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    background: var(--bg-white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    line-height: 1.2;
}

.container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Header */
header {
    padding: 24px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    z-index: 100;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

header.scrolled {
    border-bottom-color: var(--border-light);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
}

.logo img {
    height: 44px;
    width: auto;
}

/* ============================================
   NAVIGATION - Dropdowns & Mobile Menu
   ============================================ */

/* Main Navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

.nav-item > a:hover {
    color: var(--brand-primary);
}

/* Dropdown Menus */
.nav-item .dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: all 0.2s ease;
    padding: 8px 0;
    z-index: 200;
    overflow: visible;
}

.nav-item:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown > a,
.dropdown-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    font-size: 14px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown > a:hover,
.dropdown-item > a:hover {
    background: var(--bg-light);
    color: var(--brand-primary);
}

/* Nested Flyout - Sub-menu items */
.dropdown-item {
    position: relative;
}

/* Arrow indicator for items with sub-menu */
.dropdown-item.has-submenu > a::after {
    content: '→';
    font-size: 12px;
    color: #c4c4c4;
    transition: all 0.2s ease;
}

.dropdown-item.has-submenu:hover > a::after {
    color: var(--brand-primary, #3d5a6c);
    transform: translateX(2px);
}

/* Sub-menu (Second level flyout) */
.dropdown-item .submenu {
    position: absolute;
    top: -8px;
    left: 100%;
    min-width: 240px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateX(8px);
    transition: all 0.2s ease;
    padding: 8px 0;
    z-index: 210;
}

.dropdown-item:hover > .submenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.submenu a {
    display: block;
    padding: 10px 20px;
    font-size: 14px;
    color: #5a5a5a;
    text-decoration: none;
    transition: all 0.2s ease;
}

.submenu a:hover {
    background: #f8f9fa;
    color: var(--brand-primary, #3d5a6c);
}

/* Dropdown divider */
.dropdown-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 8px 0;
}

/* CTA Button in Nav */
.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid var(--brand-primary);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.nav-link:hover {
    background: var(--brand-primary);
    color: white;
}

.nav-link.cta {
    background: var(--brand-primary);
    color: white;
    margin-left: 8px;
}

.nav-link.cta:hover {
    background: var(--brand-dark);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    gap: 5px;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   MOBILE NAVIGATION (max-width: 1024px)
   ============================================ */

@media (max-width: 1024px) {
    .menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid var(--border-light);
        padding: 8px 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    }

    .main-nav.mobile-open {
        display: flex;
    }

    .nav-item {
        border-bottom: 1px solid var(--border-light);
    }

    .nav-item:last-of-type {
        border-bottom: none;
    }

    .nav-item > a {
        display: block;
        padding: 12px 20px;
        text-align: left;
        position: relative;
    }

    /* Mobile dropdown - accordion style */
    .nav-item .dropdown {
        position: static;
        opacity: 0;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        padding: 0;
        min-width: auto;
        transition: all 0.3s ease;
        background: var(--bg-light);
        border-radius: 0;
    }

    .nav-item .dropdown a {
        padding: 10px 20px 10px 32px;
        text-align: left;
    }

    .nav-item.dropdown-open .dropdown {
        opacity: 1;
        visibility: visible;
        max-height: 500px;
        padding: 8px 0;
    }

    /* Plus/minus indicator for mobile dropdowns */
    .nav-item > a::after {
        content: '+';
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 400;
        font-size: 18px;
        color: var(--text-tertiary);
    }

    .nav-item.dropdown-open > a::after {
        content: '−';
    }

    /* Mobile CTA button */
    .nav-link.cta {
        margin: 8px 16px;
        text-align: center;
        display: block;
    }

    /* Mobile sub-menu - inline accordion */
    .dropdown-item .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0;
        background: #f0f0f0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

    .dropdown-item.has-submenu.active .submenu {
        max-height: 500px;
    }

    .submenu a {
        padding-left: 48px;
    }

    .dropdown-item.has-submenu > a::after {
        content: '+';
    }

    .dropdown-item.has-submenu.active > a::after {
        content: '−';
    }
}

/* Hero */
.hero {
    padding: 180px 0 80px;
    min-height: auto;
    background: #ffffff;
    text-align: left;
}

/* Light blue hero variant */
.hero--light-blue {
    background: #f0f4f6 !important;
}

/* Deprecated - hero-content wrapper no longer used */
.hero-content {
    max-width: 780px;
}

.hero h1 {
    font-size: clamp(30px, 4.5vw, 46px);
    color: var(--brand-primary);
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-accent);
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: var(--brand-dark);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--brand-primary);
    border-radius: 50%;
}

/* Sections */
section {
    padding: 100px 0;
}

.section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.section-title {
    font-size: clamp(28px, 3.5vw, 36px);
    color: var(--text-primary);
    margin-bottom: 24px;
}

.section-text {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 640px;
    line-height: 1.7;
}

/* Problem Section */
.problem {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.problem-content {
    max-width: 720px;
}

.problem-content p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Solution Section */
.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.solution-text {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.solution-text p {
    margin-bottom: 20px;
}

.solution-highlight {
    padding: 32px;
    background: var(--bg-accent);
    border-left: 3px solid var(--brand-primary);
    border-radius: 0 8px 8px 0;
    display: flex;
    align-items: center;
}

.solution-highlight p {
    font-size: 20px;
    color: var(--brand-dark);
    font-weight: 500;
    line-height: 1.5;
    margin: 0;
}

/* Metrics Section */
.metrics {
    background: var(--brand-primary);
    color: white;
}

.metrics .section-label {
    color: rgba(255,255,255,0.6);
}

.metrics .section-title {
    color: white;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 64px;
}

.metric-card {
    padding: 32px;
    background: rgba(255,255,255,0.08);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    transition: background 0.2s ease;
}

.metric-card:hover {
    background: rgba(255,255,255,0.12);
}

.metric-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 48px;
    font-weight: 500;
    line-height: 1;
    margin-bottom: 12px;
    color: #a8c4d4 !important;
}

.metric-label {
    font-size: 14px;
    color: #ffffff !important;
    line-height: 1.5;
}

/* About page metrics - light blue values, white labels */
.metrics .metric-value {
    color: #a8c4d4 !important;
}

.metrics .metric-label {
    color: #ffffff !important;
}

/* Multi-Model Section */
.multimodel {
    border-bottom: 1px solid var(--border-light);
}

.multimodel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.model-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.model-item {
    padding: 20px 24px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.model-name {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.model-provider {
    font-size: 14px;
    color: var(--text-tertiary);
}

.multimodel-note {
    margin-top: 32px;
    padding: 20px 24px;
    background: var(--bg-accent);
    border-radius: 8px;
    font-size: 15px;
    color: var(--brand-dark);
}

/* Patents Section */
.patents {
    background: var(--bg-light);
    border-bottom: 1px solid var(--border-light);
}

.patents-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    margin-bottom: 64px;
}

/* Values section - stack header vertically */
.values-section .patents-header {
    grid-template-columns: 1fr;
    gap: 0;
}

.patents-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.patent-card {
    padding: 28px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.patent-card:hover {
    border-color: var(--brand-light);
    box-shadow: 0 4px 12px rgba(61, 90, 108, 0.08);
}

.patent-id {
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-primary);
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.patent-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.patent-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* EU AI Act Section */
.euaiact {
    border-bottom: 1px solid var(--border-light);
}

.euaiact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: start;
}

.timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 40px;
}

.timeline-item {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.timeline-item.current {
    background: var(--bg-accent);
    margin: 0 -20px;
    padding: 20px;
    border-radius: 8px;
}

.timeline-date {
    font-weight: 600;
    color: var(--brand-primary);
    min-width: 100px;
}

.timeline-text {
    font-size: 15px;
    color: var(--text-secondary);
}

.timeline-item.current .timeline-text {
    font-weight: 600;
    color: var(--text-primary);
}

/* Founder Section */
.founder {
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 80px;
    align-items: start;
}

.founder-intro {
    position: sticky;
    top: 120px;
}

.founder-bio {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.founder-bio p {
    margin-bottom: 24px;
}

.founder-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.founder-stat {
    text-align: center;
}

.founder-stat-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.founder-stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Contact Section */
.contact {
    text-align: center;
    padding: 120px 0;
}

.contact .section-title {
    margin-bottom: 16px;
}

.contact-text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.contact-email {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
    padding: 16px 32px;
    background: var(--bg-accent);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.contact-email:hover {
    background: var(--brand-primary);
    color: white;
}

/* Footer */
footer {
    padding: 32px 0;
    border-top: 1px solid var(--border-light);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 13px;
    color: var(--text-tertiary);
}

.footer-legal {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* Responsive */
@media (max-width: 1024px) {
    .solution-content,
    .multimodel-grid,
    .patents-header,
    .euaiact-grid,
    .founder-content {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-intro {
        position: static;
    }

    .timeline {
        margin-top: 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 20px;
    }

    .hero {
        padding: 140px 0 80px;
    }

    .hero-badges {
        flex-direction: column;
    }

    section {
        padding: 64px 0;
    }

    .metrics-grid,
    .patents-grid,
    .model-list {
        grid-template-columns: 1fr;
    }

    .founder-stats {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .metric-value {
        font-size: 36px;
    }
}

/* ============================================
   ARTICLES - Listing & Single Pages
   ============================================ */

/* Articles Listing Page */
.articles-listing {
    padding: 140px 0 100px;
}

.articles-header {
    margin-bottom: 64px;
}

.articles-header .section-title {
    margin-bottom: 16px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

/* Article Card */
.article-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.article-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.article-card-link {
    display: block;
    padding: 32px;
    text-decoration: none;
    color: inherit;
}

.article-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    font-size: 13px;
}

.article-card-category {
    color: var(--brand-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-card-date {
    color: var(--text-tertiary);
}

.article-card-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card:hover .article-card-title {
    color: var(--brand-primary);
}

.article-card-excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.article-card-footer {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-tertiary);
}

.article-card-author {
    font-weight: 500;
}

/* Single Article Page */
.article-page {
    padding: 160px 0 100px;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.article-header {
    max-width: 720px;
    margin: 0 auto 24px;
    position: relative;
}

.article-meta-top {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    font-size: 14px;
}

.article-category {
    color: var(--brand-primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.article-date,
.article-read-time {
    color: var(--text-tertiary);
}

/* Article page title - use h1 selector to override card styles */
h1.article-title,
.article-header .article-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 24px;
    line-height: 1.2;
}

.article-excerpt {
    font-size: 1.15rem;
    color: #5a5a5a;
    line-height: 1.6;
    margin-bottom: 0;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 16px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-role {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Article Content */
.article-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
}

.article-content p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.article-content h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(22px, 3vw, 28px);
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 48px;
    margin-bottom: 20px;
}

.article-content h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: clamp(18px, 2.5vw, 22px);
    font-weight: 600;
    color: #1a1a1a;
    margin-top: 36px;
    margin-bottom: 16px;
}

/* Remove extra top margin on first paragraph after excerpt */
.article-content > p:first-of-type {
    margin-top: 0;
}

.article-content ul,
.article-content ol {
    margin: 0 0 24px 24px;
    color: var(--text-secondary);
}

.article-content li {
    margin-bottom: 8px;
    line-height: 1.7;
}

.article-content blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--bg-accent);
    border-left: 3px solid var(--brand-primary);
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    font-size: 18px;
    font-style: italic;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.article-content blockquote cite {
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: normal;
}

/* Article Footer */
.article-footer {
    max-width: 720px;
    margin: 64px auto 0;
    padding-top: 48px;
    border-top: 1px solid var(--border-light);
}

.article-cta {
    text-align: center;
    padding: 48px;
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 32px;
}

.article-cta h3 {
    font-size: 24px;
    margin-bottom: 12px;
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.article-nav {
    text-align: center;
}

.back-link {
    font-size: 15px;
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

.back-link:hover {
    text-decoration: underline;
}

/* Latest Articles Widget (Homepage) */
.latest-articles {
    padding: 100px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
}

.latest-articles-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.view-all-link {
    font-size: 15px;
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 500;
}

.view-all-link:hover {
    text-decoration: underline;
}

.latest-articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

/* Responsive - Articles */
@media (max-width: 1024px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .latest-articles-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .latest-articles-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

@media (max-width: 640px) {
    .article-page {
        padding: 140px 0 64px;
    }

    .article-card-link {
        padding: 24px;
    }

    .article-content h2 {
        font-size: 24px;
    }
}

/* ============================================
   404 ERROR PAGE
   ============================================ */

.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 140px 0 100px;
    text-align: center;
}

.error-content {
    max-width: 480px;
}

.error-code {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 120px;
    font-weight: 500;
    color: var(--bg-accent);
    line-height: 1;
    margin-bottom: 16px;
}

.error-headline {
    font-size: 36px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.error-message {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.6;
}

.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-dark);
}

.btn-secondary {
    background: transparent;
    color: var(--brand-primary);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    border-color: var(--brand-primary);
    background: var(--bg-light);
}

@media (max-width: 640px) {
    .error-code {
        font-size: 80px;
    }

    .error-headline {
        font-size: 28px;
    }

    .error-actions {
        flex-direction: column;
    }

    .error-actions a {
        width: 100%;
        text-align: center;
    }
}

/* ============================================
   STANDARD CONTENT PAGES
   ============================================ */

/* Standard Page Layout */
.page-content {
    padding: 160px 0 100px;
    position: relative;
    z-index: 1;
}

.page-hero {
    margin-bottom: 48px;
}

.page-hero .section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.page-hero h1 {
    font-size: clamp(32px, 4vw, 48px);
    color: var(--text-primary);
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 600px;
}

/* Content Grid - Two Column */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 64px;
    align-items: start;
}

.content-grid.single-column {
    grid-template-columns: 1fr;
    max-width: 720px;
}

.content-main h2 {
    font-size: 28px;
    margin-top: 48px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-main h2:first-child {
    margin-top: 0;
}

.content-main h3 {
    font-size: 20px;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.content-main p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    line-height: 1.8;
}

.content-main ul {
    margin-bottom: 24px;
    padding-left: 24px;
}

.content-main li {
    margin-bottom: 12px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.content-main blockquote {
    margin: 32px 0;
    padding: 24px 32px;
    background: var(--bg-accent);
    border-left: 3px solid var(--brand-primary);
    border-radius: 0 8px 8px 0;
}

.content-main blockquote p {
    font-size: 18px;
    font-style: italic;
    color: var(--brand-dark);
    margin-bottom: 8px;
}

.content-main blockquote cite {
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: normal;
}

/* Stats Row */
.stats-row {
    display: flex;
    gap: 48px;
    margin: 40px 0;
    padding: 32px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* CTA Box */
.cta-box {
    background: var(--bg-accent);
    padding: 32px;
    border-radius: 8px;
    margin: 40px 0;
    text-align: center;
}

.cta-box h3 {
    margin-top: 0;
    margin-bottom: 12px;
}

.cta-box p {
    margin-bottom: 20px;
}

/* Content Image */
.content-image {
    margin: 32px 0;
}

.content-image img {
    width: 100%;
    border-radius: 8px;
}

.content-image figcaption {
    margin-top: 12px;
    font-size: 14px;
    color: var(--text-tertiary);
    text-align: center;
}

/* Sidebar */
.sidebar {
    position: sticky;
    top: 120px;
}

.sidebar-widget {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.sidebar-widget h4 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget li {
    margin-bottom: 12px;
}

.sidebar-widget a {
    color: var(--brand-primary);
    text-decoration: none;
}

.sidebar-widget a:hover {
    text-decoration: underline;
}

.sidebar-cta {
    background: var(--bg-accent);
    border-left: 3px solid var(--brand-primary);
}

.sidebar-cta p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

/* Page Footer CTA */
.page-footer-cta {
    text-align: center;
    padding: 80px 0;
    margin-top: 64px;
    border-top: 1px solid var(--border-light);
}

.page-footer-cta h2 {
    margin-bottom: 16px;
}

.page-footer-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
}

.btn-primary:hover {
    background: var(--brand-dark);
    text-decoration: none;
}

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

.btn-secondary:hover {
    background: var(--brand-primary);
    color: white;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 1024px) {
    .content-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .page-content {
        padding: 120px 0 64px;
    }

    .stats-row {
        flex-direction: column;
        gap: 24px;
    }

    .content-main h2 {
        font-size: 24px;
    }
}

/* ============================================
   ABOUT PAGE SPECIFIC STYLES
   ============================================ */

/* -----------------------------------------
   HERO SECTION
   ----------------------------------------- */
.about-hero,
.page-hero--about {
    padding: 180px 0 80px;
    background: #ffffff;
    min-height: auto;
    text-align: left;  /* Ensure left-align */
}

.about-hero .hero-content {
    max-width: 780px;
    margin: 0;  /* Left-align, not center */
}

.about-hero .section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6a6a6a;
    margin-bottom: 16px;
}

.about-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #3d5a6c;
    margin-bottom: 24px;
}

.about-hero h1 sup {
    font-size: 0.4em;
    vertical-align: super;
    top: -0.3em;
    position: relative;
}

.about-hero .hero-tagline {
    font-size: 1.5rem;
    color: #1a1a1a;
    margin-bottom: 32px;
}

.about-hero .hero-intro,
.about-hero p {
    font-size: 1.15rem;
    color: #4a4a4a;
    line-height: 1.7;
    max-width: 800px;
    margin-top: 24px;
}

/* -----------------------------------------
   THE STORY SECTION - Timeline
   ----------------------------------------- */
.about-story,
.story-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-story .section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6a6a6a;
    margin-bottom: 16px;
}

.about-story h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
    max-width: 600px;
}

.about-story > .container > p {
    font-size: 1.1rem;
    color: #4a4a4a;
    margin-bottom: 48px;
    max-width: 700px;
}

/* Company Timeline */
.timeline-companies {
    margin: 40px 0;
    border-left: 3px solid #e5e5e5;
    padding-left: 32px;
}

.company-item,
.timeline-item {
    display: flex;
    gap: 32px;
    padding: 24px 0;
    position: relative;
    margin-bottom: 0;
    align-items: flex-start;
}

.company-item::before {
    content: '';
    position: absolute;
    left: -40px;
    top: 28px;
    width: 12px;
    height: 12px;
    background: #3d5a6c;
    border-radius: 50%;
}

.company-years,
.timeline-date {
    font-size: 0.95rem;
    font-weight: 600;
    color: #3d5a6c;
    min-width: 100px;
    padding-top: 2px;
}

.company-details,
.timeline-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.company-details strong,
.timeline-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 4px;
}

.company-details span,
.timeline-content p {
    font-size: 0.95rem;
    color: #6a6a6a;
}

.story-conclusion {
    font-size: 1.1rem;
    color: #1a1a1a;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid #e5e5e5;
}

/* -----------------------------------------
   THE PROOF SECTION
   Dark background with white cards
   ----------------------------------------- */
.about-proof,
.proof-section {
    padding: 100px 0;
    background: linear-gradient(180deg, #3d5a6c 0%, #2a3f4d 100%);
}

.about-proof .section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 16px;
}

.about-proof h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
}

.about-proof > .container > p,
.metrics-intro {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 48px;
    max-width: 700px;
    line-height: 1.7;
}

/* Proof metrics grid - WHITE cards on dark background */
.about-proof .metrics-grid,
.proof-section .metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.about-proof .metric-card,
.about .proof-section .metric-card,
.proof-section .metric-card {
    border: none;
    border-radius: 12px;
    padding: 32px 28px;
    text-align: left;
    color: #ffffff;
}

/* Metric VALUE - WHITE, large */
.about-proof .metric-value,
.about .proof-section .metric-value,
.proof-section .metric-value,
section.proof-section .metric-value {
    color: #ffffff !important;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 12px;
    line-height: 1;
}

/* Metric LABEL - WHITE */
.about-proof .metric-label,
.about .proof-section .metric-label,
.proof-section .metric-label,
section.proof-section .metric-label {
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.4;
    margin-bottom: 8px;
}

/* Ensure no inherited dark colors */
.proof-section .metric-card * {
    color: #ffffff !important;
}

.about-proof .metric-description,
.proof-section .metric-description {
    font-size: 0.9rem;
    color: #6a6a6a;
    line-height: 1.5;
}

/* -----------------------------------------
   FOUNDER SECTION
   ----------------------------------------- */
.about-founder,
.founder-section {
    padding: 100px 0;
    background: #f8f9fa;
}

.about-founder .section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6a6a6a;
    margin-bottom: 16px;
}

.about-founder h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 24px;
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.founder-bio p {
    font-size: 1.1rem;
    color: #4a4a4a;
    line-height: 1.7;
    margin-bottom: 16px;
}

/* -----------------------------------------
   MISSION SECTION
   ----------------------------------------- */
.mission-section {
    padding: 100px 0;
    background: #ffffff;
    border-bottom: 1px solid #e5e5e5;
}

.principles-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.principle-item {
    padding: 24px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
}

.principle-name {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.principle-desc {
    font-size: 0.95rem;
    color: #4a4a4a;
    line-height: 1.6;
}

/* -----------------------------------------
   VALUES / HOW WE BUILD SECTION
   Fix: "Four principles..." below heading
   ----------------------------------------- */
.about-values,
.values-section {
    padding: 100px 0;
    background: #f0f4f6 !important;
    border-bottom: 1px solid #e5e5e5;
}

/* Make header single column, stacked */
.about-values .section-header,
.values-section .section-header,
.values-header {
    display: block;
    margin-bottom: 48px;
}

.about-values .section-label {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #6a6a6a;
    margin-bottom: 16px;
}

.about-values h2 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 16px;
}

/* Subtitle BELOW heading */
.about-values .section-subtitle,
.values-section .section-subtitle,
.values-header p,
.about-values .section-header p {
    font-size: 1.15rem;
    color: #4a4a4a;
    margin-bottom: 0;
    max-width: 600px;
    position: static;
    float: none;
}

/* Force subtitle under heading */
.values-section h2 + p,
.about-values h2 + p {
    margin-top: 16px;
    margin-bottom: 48px;
}

/* Override two-column header layout */
.about-values .container > .row,
.about-values .container > .grid,
.about-values .container > .flex,
.values-section .two-column-header,
.section-header.split {
    display: block;
    grid-template-columns: none;
}

/* Values grid - 2x2 */
.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.value-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 32px;
}

.value-card h3,
.value-card .patent-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 12px;
}

.value-card p,
.value-card .patent-desc {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
}

/* -----------------------------------------
   FACTS SECTION
   ----------------------------------------- */
.facts-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.fact-item {
    display: flex;
    justify-content: space-between;
    padding: 16px 0;
    border-bottom: 1px solid #e5e5e5;
}

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

.fact-label {
    font-size: 0.95rem;
    color: #6a6a6a;
}

.fact-value {
    font-weight: 600;
    color: #1a1a1a;
}

/* -----------------------------------------
   ABOUT PAGE MOBILE RESPONSIVE
   ----------------------------------------- */
@media (max-width: 1024px) {
    .about-proof .metrics-grid,
    .proof-section .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .founder-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .principles-list {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .about-hero,
    .page-hero--about {
        padding: 140px 0 80px;
    }

    .about-hero h1 {
        font-size: 2.25rem;
    }

    .about-proof .metrics-grid,
    .proof-section .metrics-grid {
        grid-template-columns: 1fr;
    }

    .company-item,
    .timeline-item {
        flex-direction: column;
        gap: 8px;
        margin-left: 20px;
    }

    .company-years,
    .timeline-date {
        min-width: auto;
    }

    .timeline-companies {
        padding-left: 20px;
    }
}

/* ============================================
   CODEARCH LANDING PAGE STYLES
   ============================================ */

/* CodeArch Hero - Updated Spacing */
.codearch-hero {
    padding: 200px 0 120px;
    min-height: auto;
    text-align: center;
}

.codearch-hero .hero-content {
    max-width: 780px;
    margin: 0;  /* Left-align, not center */
}

.codearch-hero h1 {
    font-size: clamp(48px, 6vw, 72px);
    margin-bottom: 20px;
}

.codearch-hero .hero-tagline {
    font-size: 24px;
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.codearch-hero .hero-value-prop {
    font-size: 28px;
    font-weight: 500;
    color: var(--brand-primary);
    line-height: 1.4;
    margin-bottom: 24px;
}

.codearch-hero .hero-supporting {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
}

.codearch-hero .hero-cta {
    margin-bottom: 48px;
}

.codearch-hero .hero-badges {
    justify-content: center;
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Problem List */
.problem-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.problem-list li {
    padding: 12px 0 12px 28px;
    position: relative;
    border-bottom: 1px solid var(--border-light);
}

.problem-list li:before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: bold;
}

.problem-list li:last-child {
    border-bottom: none;
}

.tool-gap {
    margin-top: 40px;
    padding: 24px;
    background: var(--bg-white);
    border-radius: 8px;
}

.tool-gap p {
    margin-bottom: 8px;
    color: var(--text-secondary);
}

.tool-gap-conclusion {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 18px;
    color: var(--text-primary) !important;
}

/* Solution Category Cards */
.check-categories {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.category-card {
    padding: 28px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.category-card:hover {
    border-color: var(--brand-light);
    box-shadow: 0 4px 12px rgba(61, 90, 108, 0.08);
}

.category-card:last-child {
    grid-column: span 2;
}

.category-card h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.category-catches {
    font-size: 14px;
    color: var(--brand-primary);
    margin-bottom: 8px;
}

.category-why {
    font-size: 14px;
    color: var(--text-tertiary);
    margin: 0;
}

/* Checks Section */
.checks-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.checks-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.checks-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.checks-table th,
.checks-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.checks-table th {
    background: var(--bg-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.checks-table td {
    font-size: 14px;
}

.checks-table td:first-child {
    color: var(--text-tertiary);
    width: 40px;
}

.checks-table code {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 13px;
    background: var(--bg-accent);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--brand-primary);
}

.checks-table tr:last-child td {
    border-bottom: none;
}

.checks-table tr:hover {
    background: var(--bg-light);
}

/* Severity Badges */
.severity {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.severity-blocker {
    background: #fee2e2;
    color: #dc2626;
}

.severity-critical {
    background: #fef3c7;
    color: #d97706;
}

.severity-warning {
    background: #fef9c3;
    color: #ca8a04;
}

.severity-info {
    background: #e0e7ff;
    color: #4f46e5;
}

/* Severity Legend */
.severity-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legend-desc {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Proof Callout */
.proof-callout {
    margin-top: 48px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 3px solid rgba(255, 255, 255, 0.5);
}

.proof-callout p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-style: italic;
}

/* Comparison Section */
.comparison-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th,
.comparison-table td {
    padding: 16px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
    background: var(--bg-accent);
    font-size: 13px;
    font-weight: 600;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
    font-weight: 500;
}

.comparison-table th:last-child {
    background: var(--brand-primary);
    color: white;
}

.comparison-table td:last-child {
    background: var(--bg-accent);
    font-weight: bold;
    color: var(--brand-primary);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.support-cell {
    font-size: 16px;
}

.comparison-statement {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    font-size: 17px;
    color: var(--text-secondary);
}

/* Use Cases Grid */
.usecases-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.usecases-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.usecase-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.usecase-trigger {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.usecase-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.usecase-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Process Section */
.process-section {
    background: var(--bg-light);
    padding: 60px 0 80px;
    border-bottom: 1px solid var(--border-light);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.process-step {
    text-align: center;
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--brand-primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 600;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.step-content p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.faq-list {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.faq-item h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.faq-item p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq-item a {
    color: var(--brand-primary);
}

/* CodeArch CTA - More Button Spacing */
.codearch-cta {
    padding: 120px 0;
    text-align: center;
}

.codearch-cta .btn-large {
    margin-bottom: 32px;
}

.cta-secondary {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 24px;
}

.cta-secondary a {
    color: var(--brand-primary);
}

/* Responsive */
@media (max-width: 1024px) {
    .check-categories {
        grid-template-columns: 1fr;
    }

    .category-card:last-child {
        grid-column: span 1;
    }

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

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .codearch-hero {
        padding: 140px 0 80px;
    }

    .codearch-hero h1 {
        font-size: 40px;
    }

    .codearch-hero .hero-value-prop {
        font-size: 22px;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .severity-legend {
        flex-direction: column;
        gap: 12px;
    }

    .hero-badges {
        flex-direction: column;
    }
}

/* ============================================
   EU AI ACT COMPLIANCE PAGE STYLES
   ============================================ */

/* Compliance Hero - Updated Spacing */
.compliance-hero {
    padding: 200px 0 120px;
    min-height: auto;
    text-align: center;
}

.compliance-hero .hero-content {
    max-width: 780px;
    margin: 0;  /* Left-align, not center */
}

.compliance-hero .section-label {
    margin-bottom: 24px;
}

.compliance-hero h1 {
    margin-bottom: 20px;
}

.compliance-hero h1 sup {
    font-size: 0.4em;
    vertical-align: super;
    top: -0.3em;
    position: relative;
}

.compliance-hero .hero-tagline {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.compliance-hero .hero-urgency {
    font-size: 28px;
    color: var(--brand-primary);
    margin-bottom: 40px;
}

.compliance-hero .hero-body {
    margin-bottom: 48px;
}

.compliance-hero .hero-body p {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
}

.compliance-hero .hero-cta {
    margin-bottom: 48px;
}

.compliance-hero .hero-badges {
    margin-top: 16px;
}

/* Gap Table */
.gap-table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
}

.gap-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.gap-table th,
.gap-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.gap-table th {
    background: var(--bg-accent);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
}

.gap-table td {
    font-size: 14px;
    vertical-align: top;
}

.gap-weak {
    color: var(--text-tertiary);
}

.gap-strong {
    color: var(--brand-primary);
    font-weight: 500;
}

.gap-table tr:last-child td {
    border-bottom: none;
}

.gap-subhead {
    font-size: 17px;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.gap-conclusion {
    font-size: 17px;
    margin-top: 32px;
    padding: 20px 24px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--brand-primary);
}

/* Independence Section */
.independence-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.independence-content {
    max-width: 780px;
}

.independence-subhead {
    font-size: 17px;
    color: var(--text-primary);
    margin-top: 32px;
    margin-bottom: 16px;
}

.vendor-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.vendor-list li {
    padding: 12px 0 12px 24px;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.vendor-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--text-tertiary);
}

.vendor-list li:last-child {
    border-bottom: none;
}

.independence-callout {
    padding: 24px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--brand-primary);
    margin: 32px 0;
}

.independence-callout p {
    font-size: 17px;
    color: var(--text-primary);
    margin: 0;
    font-style: italic;
}

.independence-conclusion {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Solution Benefits */
.solution-benefits {
    list-style: none;
    padding: 0;
    margin: 24px 0;
}

.solution-benefits li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 16px;
}

.solution-benefits li:last-child {
    border-bottom: none;
}

/* Metrics with Benchmark */
.metric-benchmark {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 8px;
}

/* Timeline Section - Vertical Rows */
.timeline-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.timeline-section .timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 48px;
}

.timeline-section .timeline-item {
    display: flex;
    align-items: center;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.timeline-section .timeline-date {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    background: white;
    padding: 12px 20px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    border: 2px solid var(--border-light);
    margin-right: 32px;
}

.timeline-section .timeline-highlight .timeline-date {
    background: var(--brand-primary);
    color: white;
    border-color: var(--brand-primary);
}

.timeline-section .timeline-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-section .timeline-requirement {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.timeline-section .timeline-status {
    font-size: 14px;
    color: var(--text-tertiary);
}

.timeline-section .timeline-highlight .timeline-status {
    color: var(--brand-primary);
    font-weight: 500;
}

/* Articles Table - Dark Blue Header */
.articles-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.articles-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.articles-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.articles-table th {
    background: var(--brand-primary);
    color: white;
    padding: 18px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.articles-table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
}

.articles-table td:first-child {
    font-weight: 600;
    color: var(--text-primary);
}

.capability-cell {
    color: var(--brand-primary);
    font-weight: 500;
}

.articles-table tr:last-child td {
    border-bottom: none;
}

.articles-table tr:hover {
    background: var(--bg-light);
}

.cab-note {
    margin-top: 40px;
    padding: 24px;
    background: var(--bg-light);
    border-radius: 8px;
    border-left: 3px solid var(--brand-primary);
}

.cab-note h4 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.cab-note p {
    font-size: 15px;
    color: var(--text-secondary);
    margin: 0;
}

/* Capabilities Section */
.capabilities-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.capabilities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.capability-card {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.capability-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.capability-desc {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.capability-compliance {
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

.compliance-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--brand-primary);
}

.capability-compliance p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 8px 0 0 0;
}

/* Verticals Section */
.verticals-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.verticals-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.vertical-card {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.vertical-card h3 {
    font-size: 22px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.vertical-category {
    font-size: 13px;
    color: var(--brand-primary);
    margin-bottom: 20px;
    font-weight: 500;
}

.vertical-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.vertical-features li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
}

.vertical-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
}

/* Competitive Section */
.competitive-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.competitive-analogy {
    max-width: 700px;
    margin: 32px auto 48px;
    padding: 24px 32px;
    background: white;
    border-radius: 8px;
    text-align: center;
    font-size: 17px;
    color: var(--text-primary);
    border-left: 3px solid var(--brand-primary);
}

.competitive-table-wrapper {
    overflow-x: auto;
    margin-bottom: 48px;
}

.competitive-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.competitive-table th,
.competitive-table td {
    padding: 14px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
}

.competitive-table th {
    background: var(--bg-accent);
    font-size: 13px;
    font-weight: 600;
}

.competitive-table th:first-child,
.competitive-table td:first-child {
    text-align: left;
}

.competitive-table th:last-child {
    background: var(--brand-primary);
    color: white;
}

.competitive-table td:last-child {
    background: rgba(61, 90, 108, 0.05);
}

.comp-weak {
    color: var(--text-tertiary);
}

.comp-strong {
    color: var(--brand-primary);
}

.competitive-table tr:last-child td {
    border-bottom: none;
}

/* Battle Cards */
.battle-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.battle-card {
    background: white;
    padding: 24px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.battle-card h4 {
    font-size: 14px;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.battle-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Deployment Section - Dark Blue Cards */
.deployment-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.deployment-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.deployment-card {
    background: var(--brand-primary);
    padding: 32px;
    border-radius: 8px;
    color: white;
}

.deployment-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: white;
}

.deployment-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

.deployment-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.deployment-features li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.deployment-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Proof Section */
.proof-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

/* .proof-metrics - styles moved to line ~6900 */

.proof-metric {
    text-align: center;
}

.proof-value {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--brand-primary);
}

.proof-label {
    display: block;
    font-size: 13px;
    color: var(--text-tertiary);
    margin-top: 4px;
}

.proof-note {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Compliance CTA - More Button Spacing */
.compliance-cta {
    padding: 120px 0;
    text-align: center;
}

.compliance-cta .section-title {
    margin-bottom: 20px;
}

.compliance-cta .contact-text {
    margin-bottom: 40px;
}

.compliance-cta .btn-large {
    margin-bottom: 32px;
}

.compliance-cta .cta-secondary {
    margin-top: 24px;
}

/* Responsive - EU AI Act */
@media (max-width: 1024px) {
    .capabilities-grid,
    .verticals-grid,
    .deployment-grid,
    .battle-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .compliance-hero {
        padding: 140px 0 80px;
    }

    .compliance-hero .hero-urgency {
        font-size: 22px;
    }

    .proof-metrics {
        gap: 32px;
    }

    .proof-value {
        font-size: 28px;
    }

    .timeline-section .timeline-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .timeline-section .timeline-date {
        margin-right: 0;
        margin-bottom: 12px;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

/* Contact Hero */
.contact-hero {
    padding: 180px 0 80px;
    min-height: auto;
    text-align: left;  /* Left-align, not center */
    background: #ffffff;
}

.contact-hero .hero-content {
    max-width: 780px;
    margin: 0;  /* Left-align, not center */
}

.contact-hero h1 {
    font-size: clamp(30px, 4.5vw, 46px);
    margin-bottom: 20px;
}

.contact-hero .hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
}

/* Contact Info Section */
.contact-info-section {
    padding: 80px 0 100px;
    border-bottom: 1px solid var(--border-light);
}

.contact-grid {
    display: block;
}

.contact-primary .section-title {
    margin-bottom: 16px;
}

.contact-intro {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-methods {
    margin-bottom: 0;
}

.contact-method {
    display: flex;
    flex-direction: column;
    padding: 24px 0;
    border-bottom: 1px solid var(--border-light);
}

.contact-method:first-child {
    border-top: 1px solid var(--border-light);
}

.contact-primary > .contact-method {
    border-top: 1px solid var(--border-light);
    border-bottom: none;
}

.method-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 8px;
}

.method-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    color: var(--brand-primary);
    text-decoration: none;
}

.method-value:hover {
    text-decoration: underline;
}

.contact-response {
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: italic;
}

/* Location */
.contact-location {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    height: fit-content;
}

.contact-location h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.location-text {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

/* Quick Links Section */
.quicklinks-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.quicklinks-section .section-intro {
    margin-bottom: 48px;
}

.quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.quicklink-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    text-decoration: none;
    transition: all 0.2s ease;
}

.quicklink-card:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(61, 90, 108, 0.08);
}

.quicklink-looking {
    font-size: 15px;
    color: var(--text-secondary);
}

.quicklink-destination {
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-primary);
}

/* Expectations Section */
.expectations-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.expectations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.expectation-card {
    padding: 32px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.expectation-card h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.expectation-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.expectation-card li {
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.expectation-card li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

/* Contact CTA */
.contact-cta {
    padding: 100px 0;
    text-align: center;
}

.cta-simple {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.contact-cta .contact-email {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
}

/* Small ® for large headings - Global Rule */
h1 .reg-small,
.hero h1 .reg-small,
.section-title .reg-small {
    font-size: 0.5em;
    vertical-align: super;
}

/* Responsive - Contact Page */
@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

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

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

@media (max-width: 640px) {
    .contact-hero {
        padding: 160px 0 80px;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .method-value {
        font-size: 20px;
    }

    .contact-cta .contact-email {
        font-size: 20px;
    }
}

/* ============================================
   PLATFORM PAGE STYLES
   ============================================ */

/* Platform Hero */
.platform-hero {
    padding: 200px 0 100px;
    min-height: auto;
    text-align: center;
}

.platform-hero .hero-content {
    max-width: 780px;
    margin: 0;  /* Left-align, not center */
}

.platform-hero h1 {
    font-size: clamp(30px, 4.5vw, 46px);
    margin-bottom: 16px;
}

.platform-hero .hero-tagline {
    font-size: 22px;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.platform-hero .hero-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Value Props Section */
.valueprops-section {
    padding: 0 0 100px;
    border-bottom: 1px solid var(--border-light);
}

.valueprops-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.valueprop-card {
    padding: 32px;
    background: var(--brand-primary);
    border-radius: 8px;
    color: white;
    text-align: center;
}

.valueprop-card h3 {
    font-size: 20px;
    margin-bottom: 16px;
    color: white;
}

.valueprop-what {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 16px;
    line-height: 1.6;
}

.valueprop-impact {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

/* Architecture Section */
.architecture-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.architecture-visual {
    margin: 48px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.arch-layer {
    width: 100%;
    max-width: 700px;
    padding: 20px 32px;
    border-radius: 8px;
    text-align: center;
}

.arch-app {
    background: white;
    border: 2px solid var(--border-light);
    font-weight: 500;
    color: var(--text-primary);
}

.arch-arrow {
    font-size: 24px;
    color: var(--text-tertiary);
    padding: 12px 0;
}

.arch-platform {
    background: var(--brand-primary);
    color: white;
    padding: 32px;
}

.arch-platform-title {
    display: block;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 24px;
}

.arch-modules {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.arch-module {
    background: rgba(255, 255, 255, 0.15);
    padding: 16px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.module-name {
    font-size: 14px;
    font-weight: 500;
}

.module-metric {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.arch-providers {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 0;
}

.arch-provider {
    background: white;
    border: 1px solid var(--border-light);
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    color: var(--text-secondary);
}

.principles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.principle-card {
    padding: 28px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.principle-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.principle-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Two Products Section */
.twoproducts-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.product-card {
    padding: 40px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.product-card h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.product-target,
.product-delivery,
.product-value {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.product-value {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.product-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
}

.product-link:hover {
    text-decoration: underline;
}

/* Capabilities Section (Platform version) */
.capabilities-section .capabilities-list {
    margin-top: 48px;
}

.capability-block {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-light);
}

.capability-block:first-child {
    padding-top: 0;
}

.capability-block:last-child {
    border-bottom: none;
}

.capability-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 16px;
}

.capability-block h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin: 0;
}

.capability-metrics {
    display: flex;
    gap: 12px;
}

.cap-metric {
    font-size: 12px;
    font-weight: 500;
    color: var(--brand-primary);
    background: var(--bg-accent);
    padding: 4px 12px;
    border-radius: 4px;
}

.capability-what {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 12px;
}

.capability-regulatory {
    font-size: 14px;
    color: var(--text-tertiary);
    font-style: italic;
    margin: 0;
}

/* Patents Section */
.patents-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.patents-table-wrapper {
    overflow-x: auto;
    margin-top: 48px;
}

.patents-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.patents-table th {
    background: var(--brand-primary);
    color: white;
    padding: 18px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.patents-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
}

.patents-table tr:last-child td {
    border-bottom: none;
}

.patents-table tr:hover {
    background: var(--bg-light);
}

.patent-id {
    font-family: 'SF Mono', Monaco, monospace;
    font-size: 13px;
    color: var(--brand-primary);
    font-weight: 500;
}

.patent-capability {
    color: var(--text-secondary);
}

/* Modules Section */
.modules-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.modules-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.module-card {
    padding: 28px;
    background: var(--bg-light);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.module-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.module-coverage {
    font-size: 14px;
    color: var(--brand-primary);
    margin-bottom: 12px;
}

.module-target {
    font-size: 13px;
    color: var(--text-tertiary);
    margin: 0;
}

/* Specs Section */
.specs-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.specs-block {
    background: white;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.specs-block h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    margin-bottom: 20px;
}

.specs-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-block li {
    padding: 10px 0;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
}

.specs-block li:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    font-weight: 500;
    color: var(--text-primary);
}

/* Metrics Grid Large - see section.proof-metrics for proof page styles */

/* Proof Note */
.proof-note {
    margin-top: 48px;
    padding: 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.proof-note h4 {
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
}

.proof-note p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.6;
    margin: 0;
}

/* Platform CTA */
.platform-cta {
    padding: 120px 0;
    text-align: center;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Responsive - Platform Page */
@media (max-width: 1024px) {
    .valueprops-grid {
        grid-template-columns: 1fr;
    }

    .principles-grid,
    .products-grid {
        grid-template-columns: 1fr;
    }

    .modules-grid,
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .metrics-grid-large {
        grid-template-columns: repeat(3, 1fr);
    }

    .arch-modules {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .platform-hero {
        padding: 160px 0 80px;
    }

    .modules-grid,
    .specs-grid {
        grid-template-columns: 1fr;
    }

    .metrics-grid-large {
        grid-template-columns: repeat(2, 1fr);
    }

    .arch-modules {
        grid-template-columns: 1fr;
    }

    .arch-providers {
        flex-direction: column;
        align-items: center;
    }
}

/* ============================================
   INDUSTRY SOLUTIONS PAGE STYLES
   ============================================ */

/* Industry Hero */
.industry-hero {
    padding: 200px 0 120px;
    min-height: auto;
    text-align: center;
}

.industry-hero .hero-content {
    max-width: 780px;
    margin: 0;  /* Left-align, not center */
}

.industry-hero h1 {
    font-size: clamp(36px, 4.5vw, 52px);
    margin-bottom: 16px;
}

.industry-hero .hero-tagline {
    font-size: 22px;
    color: var(--brand-primary);
    margin-bottom: 24px;
}

.industry-hero .hero-intro {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 32px;
}

.industry-hero .hero-cta {
    margin-bottom: 40px;
}

.industry-hero .hero-badges {
    justify-content: center;
}

/* Regulatory Section */
.regulatory-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.regulatory-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.regulatory-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.regulatory-table th {
    background: var(--brand-primary);
    color: white;
    padding: 18px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.regulatory-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
    vertical-align: top;
}

.regulatory-table tr:last-child td {
    border-bottom: none;
}

.regulatory-table tr:hover {
    background: var(--bg-light);
}

.standard-name {
    font-weight: 600;
    color: var(--text-primary);
}

.challenge-cell {
    color: var(--text-secondary);
    font-style: italic;
}

.regulatory-callout {
    margin-top: 40px;
    padding: 28px 32px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--brand-primary);
}

.regulatory-callout h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.regulatory-callout p {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

/* Problem Gaps */
.problem-gap {
    margin-top: 32px;
    padding: 24px;
    background: white;
    border-radius: 8px;
}

.problem-gap h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.problem-gap ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.problem-gap li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.problem-gap li:last-child {
    border-bottom: none;
}

.problem-gap li:before {
    content: "?";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 600;
}

/* Solution Capabilities */
.solution-capabilities {
    margin-top: 48px;
}

.solution-capability {
    padding: 40px 0;
    border-bottom: 1px solid var(--border-light);
}

.solution-capability:first-child {
    padding-top: 0;
}

.solution-capability:last-child {
    border-bottom: none;
}

.solution-capability h3 {
    font-size: 22px;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.capability-description {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 20px;
    line-height: 1.6;
}

.capability-features {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.capability-features li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
}

.capability-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 600;
}

/* Integration Section */
.integration-section {
    background: var(--brand-primary);
    padding: 100px 0;
}

.integration-section .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.integration-section .section-title {
    color: white;
}

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.integration-category {
    background: white;
    padding: 28px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.integration-category h3 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.integration-category ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.integration-category li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Industry Use Cases */
.industry-usecases {
    grid-template-columns: repeat(3, 1fr);
}

.industry-usecases .usecase-card {
    text-align: left;
}

.industry-usecases .usecase-card h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.industry-usecases .usecase-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* Leadership Section */
.leadership-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.leadership-content {
    margin-top: 48px;
}

.leadership-context {
    max-width: 700px;
    margin-bottom: 48px;
}

.leadership-context p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.context-risk {
    font-weight: 600;
    color: #dc3545;
}

.context-opp {
    font-weight: 600;
    color: var(--brand-primary);
}

.leadership-qa {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 8px;
}

.leadership-qa h3 {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.qa-table {
    width: 100%;
    border-collapse: collapse;
}

.qa-table tr {
    border-bottom: 1px solid var(--border-light);
}

.qa-table tr:last-child {
    border-bottom: none;
}

.qa-question {
    padding: 16px 24px 16px 0;
    font-size: 15px;
    color: var(--text-secondary);
    width: 50%;
    vertical-align: top;
}

.qa-answer {
    padding: 16px 0;
    font-size: 15px;
    color: var(--brand-primary);
    font-weight: 500;
}

/* Industry CTA */
.industry-cta {
    padding: 120px 0;
    text-align: center;
}

/* Responsive - Industry Solutions */
@media (max-width: 1024px) {
    .capability-features {
        grid-template-columns: 1fr;
    }

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

    .industry-usecases {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .industry-hero {
        padding: 160px 0 80px;
    }

    .industry-hero h1 {
        font-size: 32px;
    }

    .industry-usecases {
        grid-template-columns: 1fr;
    }

    .qa-table tr {
        display: flex;
        flex-direction: column;
    }

    .qa-question,
    .qa-answer {
        width: 100%;
        padding: 12px 0;
    }
}

/* ============================================
   CAB SOLUTIONS PAGE STYLES
   ============================================ */

/* Independence Section Vendors */
.independence-vendors {
    margin: 32px 0;
}

.vendors-subhead {
    font-size: 17px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

/* Article Quote Box */
.article-quote {
    margin-top: 40px;
    padding: 32px;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.article-quote h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.article-quote blockquote {
    font-size: 15px;
    font-style: italic;
    color: var(--text-secondary);
    padding-left: 20px;
    border-left: 3px solid var(--brand-primary);
    margin: 0 0 16px 0;
}

.article-translation {
    font-size: 15px;
    color: var(--brand-primary);
    font-weight: 500;
    margin: 0;
}

/* Challenge Section */
.challenge-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.challenge-table-wrapper {
    overflow-x: auto;
    margin: 40px 0;
}

.challenge-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.challenge-table th {
    background: var(--brand-primary);
    color: white;
    padding: 18px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.challenge-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-light);
    font-size: 15px;
    vertical-align: top;
}

.challenge-table tr:last-child td {
    border-bottom: none;
}

.challenge-table tr:hover {
    background: var(--bg-light);
}

.req-name {
    font-weight: 600;
    color: var(--text-primary);
}

.missing-cell {
    color: var(--brand-primary);
    font-weight: 500;
}

/* Market Gap */
.market-gap {
    margin-top: 48px;
    padding: 32px;
    background: white;
    border-radius: 8px;
    border-left: 3px solid var(--brand-primary);
}

.market-gap h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.market-gap ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.market-gap li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
}

.market-gap li:before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: 600;
}

.gap-conclusion {
    font-size: 17px;
    color: var(--text-primary);
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* Capability Articles Mini Table */
.capability-articles {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.articles-mini-table {
    width: 100%;
    border-collapse: collapse;
}

.articles-mini-table tr {
    border-bottom: 1px solid var(--border-light);
}

.articles-mini-table tr:last-child {
    border-bottom: none;
}

.articles-mini-table td {
    padding: 10px 0;
    font-size: 14px;
}

.article-ref {
    font-weight: 600;
    color: var(--brand-primary);
    width: 100px;
}

/* Partnership Section */
.partnership-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.partnership-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.partnership-card {
    background: var(--brand-primary);
    padding: 32px;
    border-radius: 8px;
    color: white;
}

.partnership-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: white;
}

.partnership-desc {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 20px;
    line-height: 1.6;
}

.partnership-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.partnership-features li {
    padding: 8px 0 8px 20px;
    position: relative;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
}

.partnership-features li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.6);
}

/* Specs Grid Three Column */
.specs-grid-three {
    grid-template-columns: repeat(3, 1fr);
}

/* Leadership Section - CAB specific */
.market-opportunity {
    margin-bottom: 48px;
}

.market-opportunity h3,
.why-partner h3,
.positioning-claims h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.opportunity-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.opportunity-list li {
    padding: 12px 0;
    font-size: 16px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.opportunity-list li:last-child {
    border-bottom: none;
}

.stat-highlight {
    font-weight: 600;
    color: var(--brand-primary);
}

/* Why Table */
.why-partner {
    margin-bottom: 48px;
}

.why-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-light);
    border-radius: 8px;
    overflow: hidden;
}

.why-table tr {
    border-bottom: 1px solid var(--border-light);
}

.why-table tr:last-child {
    border-bottom: none;
}

.why-factor {
    padding: 16px 24px;
    font-weight: 600;
    color: var(--text-primary);
    width: 30%;
    background: var(--bg-accent);
}

.why-advantage {
    padding: 16px 24px;
    color: var(--text-secondary);
}

/* Positioning Claims */
.positioning-claims ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.positioning-claims li {
    padding: 16px 24px;
    font-size: 16px;
    color: var(--brand-primary);
    background: var(--bg-light);
    border-radius: 8px;
    margin-bottom: 12px;
    border-left: 3px solid var(--brand-primary);
}

.positioning-claims li:last-child {
    margin-bottom: 0;
}

/* Responsive - CAB Page */
@media (max-width: 1024px) {
    .partnership-grid {
        grid-template-columns: 1fr;
    }

    .specs-grid-three {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .why-table tr {
        display: flex;
        flex-direction: column;
    }

    .why-factor,
    .why-advantage {
        width: 100%;
        padding: 12px 16px;
    }
}

/* ============================================
   ENTERPRISE SOLUTIONS PAGE STYLES
   ============================================ */

/* Requirements Section */
.requirements-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.requirements-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.requirement-block {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.requirement-block h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.requirement-table {
    width: 100%;
    border-collapse: collapse;
}

.requirement-table tr {
    border-bottom: 1px solid var(--border-light);
}

.requirement-table tr:last-child {
    border-bottom: none;
}

.requirement-table td {
    padding: 12px 0;
    font-size: 14px;
    vertical-align: top;
}

.req-label {
    font-weight: 600;
    color: var(--text-primary);
    width: 40%;
    padding-right: 16px;
}

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

/* Challenge Blocks */
.challenge-block {
    margin-top: 40px;
    padding: 32px;
    background: white;
    border-radius: 8px;
}

.challenge-block:first-of-type {
    margin-top: 32px;
}

.challenge-block h3 {
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.challenge-intro {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.challenge-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.challenge-list li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
}

.challenge-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
}

.challenge-problem {
    font-size: 16px;
    color: var(--text-primary);
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    margin: 0;
}

.challenge-table {
    width: 100%;
    border-collapse: collapse;
}

.challenge-table tr {
    border-bottom: 1px solid var(--border-light);
}

.challenge-table tr:last-child {
    border-bottom: none;
}

.challenge-table td {
    padding: 12px 0;
    font-size: 15px;
    vertical-align: top;
}

.challenge-table .table-label {
    font-weight: 600;
    color: var(--text-primary);
    width: 35%;
    padding-right: 24px;
}

/* Modules Mini Table */
.modules-mini-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}

.modules-mini-table tr {
    border-bottom: 1px solid var(--border-light);
}

.modules-mini-table tr:last-child {
    border-bottom: none;
}

.modules-mini-table td {
    padding: 10px 0;
    font-size: 14px;
}

.modules-mini-table .module-name {
    font-weight: 600;
    color: var(--brand-primary);
    width: 30%;
}

.modules-mini-table .module-coverage {
    color: var(--text-secondary);
}

/* Enterprise Challenge Section */
.enterprise-challenge {
    background: var(--brand-primary);
    padding: 100px 0;
}

.enterprise-challenge .challenge-header {
    padding-bottom: 48px;
}

.enterprise-challenge .challenge-header .section-label {
    color: rgba(255, 255, 255, 0.7);
}

.enterprise-challenge .challenge-header .section-title {
    color: white;
}

.enterprise-challenge .challenge-block {
    background: white;
}

/* Enterprise Deployment */
.enterprise-deployment .deployment-grid {
    grid-template-columns: repeat(4, 1fr);
}

/* Support Section */
.support-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 48px;
}

.support-block {
    background: white;
    padding: 32px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.support-block h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

.support-block ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.support-block li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 14px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.support-block li:last-child {
    border-bottom: none;
}

.support-block li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 600;
}

/* Proof Context */
.proof-context {
    margin-top: 48px;
    padding: 24px 32px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.proof-context p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
}

/* Responsive - Enterprise Page */
@media (max-width: 1024px) {
    .requirements-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-deployment .deployment-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

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

/* ============================================
   INSURERS SOLUTIONS PAGE STYLES
   ============================================ */

/* Challenge Lists */
.challenge-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 32px 0;
}

.challenge-column h4 {
    font-size: 16px;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.current-list,
.missing-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.current-list li,
.missing-list li {
    padding: 10px 0 10px 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.current-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--text-tertiary);
}

.missing-list li:before {
    content: "✕";
    position: absolute;
    left: 0;
    color: #dc3545;
    font-weight: 600;
}

/* Measurement Gap */
.measurement-gap {
    margin-top: 40px;
    padding: 32px;
    background: white;
    border-radius: 8px;
}

.measurement-gap h4 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.gap-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}

.gap-table th {
    background: var(--brand-primary);
    color: white;
    padding: 14px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.gap-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.questionnaire-cell {
    color: var(--text-secondary);
    font-style: italic;
}

.matters-cell {
    color: var(--brand-primary);
    font-weight: 500;
}

.gap-conclusion {
    font-size: 16px;
    color: var(--text-primary);
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* Metrics Mini Table (Insurers) */
.metrics-mini-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
    font-size: 14px;
}

.metrics-mini-table th {
    background: var(--bg-light);
    padding: 12px 16px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-tertiary);
    border-bottom: 1px solid var(--border-light);
}

.metrics-mini-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
}

.metrics-mini-table .metric-name {
    font-weight: 600;
    color: var(--brand-primary);
}

.relevance-cell {
    color: var(--text-tertiary);
    font-style: italic;
}

/* Underwriters Section */
.underwriters-section {
    background: var(--bg-light);
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.underwriters-content {
    margin-top: 48px;
}

.pricing-problem {
    margin-bottom: 48px;
}

.pricing-problem h3,
.telemetry-comparison h3,
.risk-factors h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.pricing-problem ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pricing-problem li {
    padding: 12px 0 12px 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.pricing-problem li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: bold;
}

/* Comparison Table */
.telemetry-comparison {
    margin-bottom: 48px;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.comparison-table th {
    background: var(--brand-primary);
    color: white;
    padding: 16px 24px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.comparison-table td {
    padding: 14px 24px;
    font-size: 15px;
    border-bottom: 1px solid var(--border-light);
}

.traditional-cell {
    color: var(--text-tertiary);
}

.telemetry-cell {
    color: var(--brand-primary);
    font-weight: 500;
}

/* Risk Factors Table */
.factors-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
}

.factors-table th {
    background: var(--brand-primary);
    color: white;
    padding: 14px 20px;
    text-align: left;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.factors-table td {
    padding: 14px 20px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
}

.factor-name {
    font-weight: 600;
    color: var(--text-primary);
}

.low-risk {
    color: #28a745;
    font-weight: 500;
}

.high-risk {
    color: #dc3545;
    font-weight: 500;
}

/* Market Section */
.market-section {
    padding: 100px 0;
    border-bottom: 1px solid var(--border-light);
}

.market-stats {
    display: flex;
    justify-content: center;
    gap: 64px;
    margin: 48px 0;
}

.market-stat {
    text-align: center;
}

.market-stat .stat-value {
    display: block;
    font-family: 'Fraunces', Georgia, serif;
    font-size: 48px;
    font-weight: 600;
    color: var(--brand-primary);
    line-height: 1;
    margin-bottom: 8px;
}

.market-stat .stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.market-opportunity {
    max-width: 600px;
    margin: 0 auto;
}

.market-opportunity h3 {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.market-opportunity ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.market-opportunity li {
    padding: 12px 0 12px 24px;
    position: relative;
    font-size: 15px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-light);
}

.market-opportunity li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
    font-weight: 600;
}

/* Responsive - Insurers Page */
@media (max-width: 1024px) {
    .challenge-lists {
        grid-template-columns: 1fr;
    }

    .market-stats {
        flex-direction: column;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .market-stat .stat-value {
        font-size: 36px;
    }
}

/* ============================================
   HOMEPAGE STYLES (CodeArch-led)
   ============================================ */

/* Hero Section */
.home-hero {
    padding: 200px 0 100px;
    text-align: center;
    background: var(--bg-white);
}

.home-hero .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.home-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 500;
    color: var(--brand-primary);
    margin-bottom: 20px;
    letter-spacing: -0.02em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.home-hero .subhead {
    font-size: 19px;
    color: var(--text-secondary);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

.hero-cta {
    display: inline-block;
    padding: 16px 36px;
    background: var(--brand-primary);
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.hero-cta:hover {
    background: var(--brand-dark);
    text-decoration: none;
}

/* Proof Strip */
.proof-strip {
    padding: 48px 0;
    background: var(--bg-light);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    text-align: center;
}

.proof-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.proof-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 42px;
    font-weight: 500;
    color: var(--brand-primary);
    line-height: 1;
}

.proof-label {
    font-size: 14px;
    color: var(--text-tertiary);
}

/* Problem/Solution Section */
.home-problem {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.home-problem .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.home-problem h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.problem-intro p {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 8px;
}

.problem-intro .gap-intro {
    margin-top: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
    font-weight: 500;
}

.gap-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px 0;
}

.gap-list li {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    padding-left: 24px;
    position: relative;
    margin-bottom: 8px;
}

.gap-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--brand-primary);
}

.proof-statement {
    font-size: 17px;
    color: var(--brand-primary);
    font-weight: 500;
    line-height: 1.6;
    margin-bottom: 24px;
}

.section-cta {
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
}

.section-cta:hover {
    text-decoration: underline;
}

/* 24 Checks Section */
.home-checks {
    padding: 100px 0;
    background: var(--bg-light);
}

.home-checks .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.home-checks h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.checks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.check-card {
    padding: 24px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.check-card h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 6px;
}

.check-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

.section-cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--brand-primary);
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.section-cta-button:hover {
    background: var(--brand-dark);
    text-decoration: none;
}

/* Latest Articles Section */
.home-articles {
    padding: 100px 0;
    background: var(--bg-white);
}

.home-articles .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 48px;
}

.home-articles .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.home-articles h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 32px;
    font-weight: 500;
    color: var(--text-primary);
    margin: 0;
}

.home-articles .view-all {
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
}

.home-articles .view-all:hover {
    text-decoration: underline;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.article-card {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 32px;
    transition: box-shadow 0.2s ease;
}

.article-card:hover {
    box-shadow: 0 4px 12px rgba(61, 90, 108, 0.08);
}

.article-card .meta {
    font-size: 13px;
    color: var(--text-tertiary);
    margin-bottom: 12px;
}

.article-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 12px;
    line-height: 1.3;
}

.article-card h3 a {
    color: var(--text-primary);
    text-decoration: none;
}

.article-card h3 a:hover {
    color: var(--brand-primary);
}

.article-card .excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Secondary Track (Platform) */
.secondary-track {
    padding: 100px 0;
    background: var(--bg-light);
    border-left: 4px solid var(--brand-primary);
}

.platform-content {
    max-width: 800px;
}

.secondary-track .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.secondary-track h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 24px;
}

.platform-intro {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.platform-proof {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 40px;
}

.capabilities-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}

.capability-item {
    padding: 20px;
    background: var(--bg-white);
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.capability-item h4 {
    font-family: 'DM Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: var(--brand-primary);
    margin-bottom: 4px;
}

.capability-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.4;
}

/* Solutions Section */
.home-solutions {
    padding: 100px 0;
    background: var(--bg-white);
}

.home-solutions .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.home-solutions h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.industry-card {
    padding: 28px 20px;
    background: var(--bg-light);
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    transition: background 0.2s ease;
}

.industry-card:hover {
    background: var(--bg-accent);
}

.industry-card span {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.partner-card {
    padding: 32px;
    background: var(--brand-primary);
    border-radius: 8px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.partner-card:hover {
    background: var(--brand-dark);
}

.partner-card h3 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 500;
    color: white;
    margin-bottom: 8px;
}

.partner-card p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.5;
}

/* Trust Section */
.home-trust {
    padding: 80px 0;
    background: var(--bg-light);
    text-align: center;
    border-top: 1px solid var(--border-light);
}

.home-trust h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 28px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 48px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
    max-width: 800px;
    margin: 0 auto;
}

.trust-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.trust-value {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 36px;
    font-weight: 500;
    color: var(--brand-primary);
    line-height: 1;
}

.trust-label {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Footer CTA Section */
.home-cta {
    padding: 100px 0;
    background: var(--bg-white);
    text-align: center;
}

.home-cta h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.home-cta .cta-text {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.cta-button.primary {
    display: inline-block;
    padding: 16px 36px;
    background: var(--brand-primary);
    color: white;
    font-size: 16px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.cta-button.primary:hover {
    background: var(--brand-dark);
    text-decoration: none;
}

.cta-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
}

.cta-link:hover {
    text-decoration: underline;
}

/* ============================================
   HOMEPAGE RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .checks-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

    .capabilities-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .home-hero {
        padding: 160px 0 80px;
    }

    .proof-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proof-value {
        font-size: 32px;
    }

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

    .home-articles .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .capabilities-row {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .trust-value {
        font-size: 28px;
    }

    .cta-actions {
        flex-direction: column;
        gap: 16px;
    }
}

/* ============================================
   ARTICLES LISTING PAGE (Redesigned)
   ============================================ */

/* Articles Hero */
.articles-hero {
    padding: 180px 0 60px;
    background: var(--bg-light);
}

.articles-hero .section-label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.articles-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.articles-hero .subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
    margin: 0;
}

/* Featured Article */
.articles-featured {
    padding: 80px 0;
    background: var(--bg-white);
}

.featured-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 48px;
    transition: box-shadow 0.2s ease;
}

.featured-card:hover {
    box-shadow: 0 8px 24px rgba(61, 90, 108, 0.1);
}

.featured-meta {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.category-tag {
    display: inline-block;
    padding: 6px 12px;
    background: var(--brand-primary);
    color: white;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: 4px;
}

.featured-meta .date,
.card-meta .date {
    font-size: 14px;
    color: var(--text-tertiary);
}

.featured-card h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 16px;
}

.featured-card h2 a {
    color: var(--text-primary);
    text-decoration: none;
}

.featured-card h2 a:hover {
    color: var(--brand-primary);
}

.featured-card .excerpt {
    font-size: 17px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 24px;
    max-width: 720px;
}

.featured-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.author-meta {
    font-size: 14px;
    color: var(--text-tertiary);
}

.read-link {
    font-size: 15px;
    font-weight: 500;
    color: var(--brand-primary);
    text-decoration: none;
}

.read-link:hover {
    text-decoration: underline;
}

/* Articles Grid Section */
.articles-grid-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.grid-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 32px;
}

.articles-grid-section .articles-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.articles-grid-section .article-card {
    background: var(--bg-white);
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 32px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.articles-grid-section .article-card:hover {
    border-color: var(--brand-light);
    box-shadow: 0 4px 12px rgba(61, 90, 108, 0.08);
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.card-meta .category-tag {
    padding: 4px 10px;
    font-size: 10px;
}

.card-meta .date {
    font-size: 13px;
}

.articles-grid-section .article-card h4 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 22px;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 12px;
}

.articles-grid-section .article-card h4 a {
    color: var(--text-primary);
    text-decoration: none;
}

.articles-grid-section .article-card h4 a:hover {
    color: var(--brand-primary);
}

.articles-grid-section .article-card .excerpt {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.articles-grid-section .article-card .read-time {
    font-size: 13px;
    color: var(--text-tertiary);
}

/* Articles CTA Section */
.articles-cta {
    padding: 100px 0;
    background: var(--bg-white);
    text-align: center;
}

.articles-cta h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(26px, 3vw, 32px);
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.articles-cta p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.articles-cta .cta-button {
    display: inline-block;
    padding: 14px 32px;
    background: var(--brand-primary);
    color: white;
    font-size: 15px;
    font-weight: 500;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s ease;
}

.articles-cta .cta-button:hover {
    background: var(--brand-dark);
}

/* Articles Page Responsive */
@media (max-width: 1024px) {
    .articles-grid-section .articles-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .articles-hero {
        padding: 160px 0 48px;
    }

    .featured-card {
        padding: 32px;
    }

    .featured-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .articles-grid-section {
        padding: 60px 0;
    }

    .articles-grid-section .article-card {
        padding: 24px;
    }
}

/* ==========================================
   PROBLEMS PAGES
   ========================================== */

/* Problems Grid */
.problems-grid-section {
  padding: var(--section-padding) 0;
  background: #ffffff;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  align-items: stretch; /* Equal height cards */
}

/* Ensure grid items stretch to fill cell */
.problems-grid > * {
  height: 100%;
}

/* ==============================================
   PROBLEM CARDS - FLEXBOX LAYOUT
   Issue: "Learn more" button overlaps description text
   Fix: Proper flexbox with button always at bottom
   ============================================== */

.problem-card {
  display: flex !important;
  flex-direction: column !important;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 32px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
  min-height: 300px;
  height: 100%;
}

.problem-card:hover {
  border-color: #3d5a6c;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateY(-2px);
}

/* Problem number */
.problem-card .problem-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 24px;
  font-weight: 500;
  color: #3d5a6c;
  margin-bottom: 12px;
  flex-shrink: 0;
}

/* Problem name */
.problem-card h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
  line-height: 1.3;
  flex-shrink: 0;
}

/* Description - grows to fill space, pushes button down */
.problem-card p,
.problem-card .problem-tagline {
  font-size: 15px;
  color: #5a5a5a;
  line-height: 1.5;
  flex-grow: 1;
  margin-bottom: 0;
  /* Limit to 3 lines with ellipsis */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Learn more link - always at bottom */
.problem-card .card-link,
.problem-card .learn-more,
.problem-card .problem-link {
  font-size: 14px;
  font-weight: 600;
  color: #3d5a6c;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.problem-card .card-link:hover,
.problem-card .learn-more:hover,
.problem-card .problem-link:hover {
  color: #2a3f4d;
}

.problems-cta {
  background: var(--brand-primary);
}

/* Problem Detail Pages - Light treatment */
.problem-hero {
  background: linear-gradient(135deg, #e8eef1 0%, #d4dde2 100%);
  color: var(--text-primary, #1a1a1a);
  padding: 180px 0 120px;
  min-height: auto;
}

.problem-hero .hero-content {
  text-align: left;  /* Left-align, not center */
  max-width: 780px;
  margin: 0;
}

.problem-hero .section-label {
  color: var(--brand-primary, #3d5a6c);
  font-weight: 600;
}

.problem-hero h1 {
  color: var(--brand-primary, #3d5a6c);
  font-size: 3.5rem;
  margin-bottom: 24px;
}

.hero-quote {
  font-style: italic;
  font-size: 1.5rem;
  color: var(--text-primary, #1a1a1a);
  max-width: 700px;
  margin: 0 auto 12px;
}

.quote-source {
  font-size: 1rem;
  color: var(--text-secondary, #4a4a4a);
  margin-top: 0.5rem;
}

.problem-section {
  padding: 80px 0;
}

.problem-section h2 {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  margin-bottom: 24px;
  color: var(--brand-primary, #3d5a6c);
}

.problem-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary, #4a4a4a);
}

.problem-section--alt {
  background: var(--bg-light);
}

/* Developer Quotes - Better spacing */
.quotes-section {
  background: white;
}

.quotes-grid {
  display: grid;
  gap: 20px;
}

.developer-quote {
  background: #f8f9fa;
  border-left: 4px solid var(--brand-primary, #3d5a6c);
  padding: 24px 32px;
  margin: 0;
  border-radius: 0 8px 8px 0;
}

.developer-quote p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--text-primary, #1a1a1a);
}

.developer-quote cite {
  font-size: 0.9rem;
  color: var(--text-tertiary, #6a6a6a);
  font-style: normal;
}

/* Solution Section - Subtle highlight */
.solution-section {
  background: #f8f9fa;
  padding: 48px;
  border-radius: 12px;
  border-top: none;
}

.solution-section .section-label {
  color: var(--brand-primary, #3d5a6c);
}

.solution-section h2 {
  margin-bottom: 8px;
}

.solution-section h3 {
  font-size: 1.5rem;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 24px;
}

/* Evidence Grid - Better cards */
.evidence-section {
  background: var(--bg-light);
}

.evidence-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.evidence-card,
.evidence-item {
  background: white;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.evidence-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 8px;
}

.evidence-label {
  font-size: 0.95rem;
  color: var(--text-tertiary, #6a6a6a);
}

/* Page CTA - Lighter treatment */
.problem-cta,
.page-cta {
  background: linear-gradient(135deg, #e8eef1 0%, #d4dde2 100%);
  padding: 100px 0;
  text-align: center;
}

.problem-cta h2,
.problem-cta .section-title,
.page-cta h2 {
  color: var(--brand-primary, #3d5a6c);
  font-size: 2rem;
  margin-bottom: 16px;
}

.problem-cta p,
.problem-cta .contact-text,
.page-cta p {
  color: var(--text-secondary, #4a4a4a);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 32px;
}

/* ==========================================
   PROOF PAGE
   ========================================== */

/* -----------------------------------------
   HERO - Light treatment (matches site pattern)
   ----------------------------------------- */
.proof-hero,
.page-hero--proof,
.proof .page-hero {
  background: #ffffff;  /* White, not gradient */
  padding: 180px 0 80px;
  text-align: left;  /* Left-align, not center */
}

.proof-hero .section-label,
.page-hero--proof .section-label,
.proof .page-hero .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d5a6c;
  margin-bottom: 16px;
  display: block;
}

.proof-hero h1,
.page-hero--proof h1,
.proof .page-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #3d5a6c;
  margin-bottom: 24px;
  line-height: 1.1;
}

.proof-hero .hero-subtitle,
.page-hero--proof .hero-subtitle,
.proof .page-hero .hero-subtitle,
.proof-hero p,
.page-hero--proof p {
  font-size: 20px;
  color: #1a1a1a;
  max-width: 700px;
  margin: 0;  /* Left-align, not center */
  line-height: 1.4;
}

/* -----------------------------------------
   HEADLINE METRICS SECTION
   The big numbers below hero - consistent styling
   ----------------------------------------- */
section.proof-metrics {
  background: #ffffff;
  padding: 60px 0;
}

section.proof-metrics .container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

section.proof-metrics .metrics-grid,
section.proof-metrics .metrics-grid-large {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
}

/* All metric cards - consistent light style */
.proof-metrics .metric-card,
.headline-metrics .metric-card,
.metrics-highlight .metric-card {
  background: #f0f4f6 !important;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.proof-metrics .metric-card:hover,
.headline-metrics .metric-card:hover {
  border-color: #3d5a6c;
  box-shadow: 0 4px 12px rgba(61, 90, 108, 0.08);
}

/* Override featured cards to match consistent style */
.metric-card--featured {
  background: #f0f4f6 !important;
  color: inherit;
  border: 1px solid #e5e5e5;
}

.metric-card--featured .metric-value {
  color: #3d5a6c;
}

.metric-card--featured .metric-label {
  color: #1a1a1a;
}

.metric-card--featured .metric-context {
  color: #6a6a6a;
}

.proof-metrics .metric-value,
.headline-metrics .metric-value,
.metric-card .metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3d5a6c !important;
  margin-bottom: 8px;
  line-height: 1.1;
}

.proof-metrics .metric-label,
.headline-metrics .metric-label,
.metric-card .metric-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #1a1a1a !important;
  margin-bottom: 8px;
}

.proof-metrics .metric-description,
.headline-metrics .metric-description,
.metric-card .metric-description {
  font-size: 0.85rem;
  color: #6a6a6a;
  line-height: 1.5;
}

.metric-context {
  font-size: 0.8125rem;
  color: #6a6a6a;
  margin-top: 0.5rem;
}

/* -----------------------------------------
   METHODOLOGY / TRANSPARENCY SECTION
   ----------------------------------------- */
.methodology-section,
.transparency-section,
.proof-transparency {
  padding: 80px 0;
  background: #ffffff;
}

.methodology-section .section-label,
.transparency-section .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d5a6c;
  margin-bottom: 16px;
}

.methodology-section h2,
.transparency-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.methodology-section p,
.transparency-section p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #4a4a4a;
  margin-bottom: 16px;
  max-width: 900px;
}

/* -----------------------------------------
   VERSION COMPARISON CARDS
   ----------------------------------------- */
.versions-section,
.proof-versions {
  padding: 60px 0 80px;
  background: #f8f9fa;
}

.versions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.version-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.version-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: #3d5a6c;
}

.version-description {
  color: #4a4a4a;
  margin-bottom: 32px;
  line-height: 1.6;
}

.version-stats {
  list-style: none;
  padding: 0;
  margin: 0;
}

.version-stats li {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid #e5e5e5;
}

.version-stats li:last-child {
  border-bottom: none;
}

.version-card .version-stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid #e5e5e5;
}

.version-card .version-stat:first-of-type {
  border-top: none;
}

.stat-value,
.version-card .stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1a1a1a;
}

.stat-label,
.version-card .stat-label {
  font-size: 0.9rem;
  color: #6a6a6a;
}

/* -----------------------------------------
   DETAILED METRICS SECTION
   ----------------------------------------- */
.detailed-metrics-section,
.detailed-metrics,
.proof-details {
  padding: 80px 0;
  background: #ffffff;
}

.detailed-metrics-section .section-label,
.detailed-metrics .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d5a6c;
  margin-bottom: 16px;
}

.detailed-metrics-section h2,
.detailed-metrics h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.detailed-metrics-grid,
.metrics-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.metrics-category,
.metrics-categories .category-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  padding: 32px;
  border-radius: 8px;
}

.metrics-category h3,
.metrics-categories .category-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 24px;
  color: #3d5a6c;
  padding-bottom: 16px;
  border-bottom: 2px solid #e8eef1;
}

.metrics-category ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.metrics-category li,
.metrics-categories .metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  font-size: 0.9375rem;
  border-bottom: 1px solid #f0f0f0;
}

.metrics-category li:last-child,
.metrics-categories .metric-row:last-child {
  border-bottom: none;
}

.detail-label,
.metrics-categories .metric-name {
  color: #4a4a4a;
}

.detail-value,
.metrics-categories .metric-value {
  font-weight: 600;
  color: #1a1a1a;
  font-family: var(--font-mono);
}

/* -----------------------------------------
   CTA SECTION - Keep dark for emphasis
   ----------------------------------------- */
.proof-cta,
.proof .page-cta {
  background: #3d5a6c;
  padding: 100px 0;
  text-align: center;
}

.proof-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.proof-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

.proof-cta .btn-primary {
  background: #ffffff;
  color: #3d5a6c;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.2s ease;
}

.proof-cta .btn-primary:hover {
  background: #f0f4f6 !important;
  transform: translateY(-2px);
  text-decoration: none;
}

/* -----------------------------------------
   PROOF PAGE MOBILE RESPONSIVE
   ----------------------------------------- */
@media (max-width: 1024px) {
  .proof-metrics .metrics-grid,
  .headline-metrics .metrics-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .proof-hero,
  .page-hero--proof {
    padding: 140px 0 80px;
  }

  .proof-hero h1,
  .page-hero--proof h1 {
    font-size: 2.25rem;
  }

  .proof-metrics .metrics-grid,
  .headline-metrics .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .detailed-metrics-grid,
  .metrics-categories {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .proof-metrics .metrics-grid,
  .headline-metrics .metrics-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   DIAGNOSTIC PAGE
   ========================================== */

/* -----------------------------------------
   HERO SECTION
   Light gradient to match other pages
   ----------------------------------------- */
.diagnostic-hero,
.page-hero--diagnostic,
.diagnostic .page-hero {
  background: #ffffff;  /* White, not gradient */
  padding: 180px 0 80px;
  text-align: left;  /* Left-align, not center */
}

.diagnostic-hero .section-label,
.page-hero--diagnostic .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d5a6c;
  margin-bottom: 16px;
  display: block;
}

.diagnostic-hero h1,
.page-hero--diagnostic h1 {
  font-size: 3rem;
  font-weight: 700;
  color: #3d5a6c;
  margin-bottom: 24px;
  line-height: 1.1;
}

.diagnostic-hero .hero-subtitle,
.page-hero--diagnostic .hero-subtitle,
.diagnostic-hero p {
  font-size: 20px;
  color: #1a1a1a;
  max-width: 700px;
  margin: 0 0 16px 0;  /* Left-align, not center */
  line-height: 1.4;
}

.hero-content--centered {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

/* -----------------------------------------
   WHAT'S INCLUDED / BENEFITS SECTION
   Full width layout (remove two-column)
   ----------------------------------------- */
.diagnostic-benefits,
.diagnostic-features,
.whats-included {
  padding: 80px 0;
  background: #ffffff;
}

/* Remove two-column grid */
.benefits-layout,
.diagnostic-features .features-grid,
.whats-included .two-column,
.diagnostic-content .split-layout {
  display: block;
  grid-template-columns: none;
}

/* Hide pricing card */
.diagnostic-features .pricing-card,
.whats-included .pricing-sidebar,
.diagnostic-pricing,
.pricing-card-wrapper,
.cta-card {
  display: none !important;
}

.diagnostic-benefits .section-label,
.diagnostic-features .section-label,
.whats-included .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d5a6c;
  margin-bottom: 16px;
}

.benefits-content h2,
.diagnostic-features h2,
.whats-included h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
  max-width: 800px;
}

.benefits-list li:last-child {
  border-bottom: none;
}

.benefit-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: rgba(61, 90, 108, 0.1);
  color: #3d5a6c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

.benefits-list strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.benefits-list p {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
}

/* Feature list items - full width */
.diagnostic-features .feature-item,
.whats-included .feature-item {
  display: flex;
  gap: 16px;
  padding: 24px 0;
  border-bottom: 1px solid #e5e5e5;
  max-width: 800px;
}

.diagnostic-features .feature-item:last-child,
.whats-included .feature-item:last-child {
  border-bottom: none;
}

/* -----------------------------------------
   PROCESS STEPS SECTION
   ----------------------------------------- */
.diagnostic-process,
.process-section {
  padding: 60px 0 80px;
  background: #f8f9fa;
}

.diagnostic-process .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d5a6c;
  margin-bottom: 16px;
}

.diagnostic-process h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.process-steps,
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 2rem;
}

.process-step,
.process-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
}

.step-number,
.process-card .step-number {
  width: 48px;
  height: 48px;
  background: #3d5a6c;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 auto 20px;
}

.step-content h3,
.process-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.step-content p,
.process-card p {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
}

.step-duration,
.process-card .duration {
  display: inline-block;
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #3d5a6c;
}

/* -----------------------------------------
   AUDIENCE SECTION
   ----------------------------------------- */
.diagnostic-audience {
  padding: 80px 0;
  background: #ffffff;
}

.audience-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 2rem;
}

.audience-card {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
}

.audience-card h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: #3d5a6c;
}

.audience-card p {
  color: #4a4a4a;
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------
   FAQ SECTION
   ----------------------------------------- */
.diagnostic-faq,
.faq-section {
  padding: 80px 0;
  background: #f8f9fa;
}

.diagnostic-faq .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3d5a6c;
  margin-bottom: 16px;
}

.diagnostic-faq h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 40px;
}

.faq-list {
  max-width: 900px;
  margin-top: 2rem;
}

.faq-item {
  background: #ffffff;
  border-radius: 8px;
  padding: 28px 32px;
  margin-bottom: 16px;
  border: 1px solid #e5e5e5;
}

.faq-item:last-child {
  margin-bottom: 0;
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.faq-item p {
  font-size: 1rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
}

/* -----------------------------------------
   CTA SECTION
   Dark background (intentional for CTAs)
   ----------------------------------------- */
.diagnostic-cta,
.diagnostic .page-cta {
  background: #3d5a6c;
  padding: 100px 0;
  text-align: center;
}

.diagnostic-cta h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 16px;
}

.diagnostic-cta p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto 32px;
}

.diagnostic-cta .btn-primary {
  background: #ffffff;
  color: #3d5a6c;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s ease, transform 0.2s ease;
}

.diagnostic-cta .btn-primary:hover {
  background: #f0f4f6 !important;
  transform: translateY(-2px);
  text-decoration: none;
}

/* -----------------------------------------
   DIAGNOSTIC MOBILE RESPONSIVE
   ----------------------------------------- */
@media (max-width: 1024px) {
  .process-steps,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .diagnostic-hero,
  .page-hero--diagnostic {
    padding: 140px 0 80px;
  }

  .diagnostic-hero h1,
  .page-hero--diagnostic h1 {
    font-size: 2.25rem;
  }

  .process-steps,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .benefits-list li,
  .diagnostic-features .feature-item,
  .whats-included .feature-item {
    flex-direction: column;
    gap: 12px;
  }
}

/* ==========================================
   SOLUTIONS PAGE
   ========================================== */

.solutions-hero {
  background: #ffffff;  /* White, not gradient */
  text-align: left;  /* Left-align, not center */
}

/* Three Pillars */
.pillars-section {
  padding: var(--section-padding) 0;
  background: var(--bg-light);
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

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

.pillar-card {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
  border-top: 4px solid var(--brand-primary);
}

.pillar-number {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--brand-primary);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.pillar-card h3 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  color: #1a1a1a;
  font-weight: 600;
}

.pillar-tagline {
  font-weight: 400;
  color: #6a6a6a;
  margin-bottom: 1rem;
}

.pillar-description {
  color: #5a5a5a;
  font-size: 0.9375rem;
  line-height: 1.6;
  font-weight: 400;
}

.pillar-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-light);
}

.pillar-metric {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  background: rgba(61, 90, 108, 0.1);
  color: var(--brand-primary);
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
}

/* How It Works */
.howitworks-section {
  padding: 120px 0 80px;
  background: white;
}

.howitworks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.howitworks-step {
  text-align: left;
  padding: 1.5rem;
}

.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--brand-primary);
  color: white;
  border-radius: 50%;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 20px;
}

.howitworks-step h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.howitworks-step p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

/* Capabilities */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.capability-card {
  background: var(--bg-light);
  padding: 1.5rem;
  border-radius: 8px;
}

.capability-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
  color: var(--brand-primary);
}

.capability-card p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.capability-metric {
  font-size: 0.8125rem;
  font-family: var(--font-mono);
  color: var(--text-tertiary);
}

/* Integration */
.integration-section {
  padding: 120px 0 80px;
  background: var(--bg-light);
}

.integration-section .section-label {
  color: #888888;
}

.integration-section .section-title {
  color: var(--brand-primary);
}

.integration-intro {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.integration-options {
  display: grid;
  gap: 1rem;
}

.integration-option {
  background: white;
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border-light);
}

.integration-option h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.integration-option p {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  margin: 0;
}

.solutions-cta {
  background: var(--brand-primary);
  margin-top: 60px;
}

/* ================================
   HOMEPAGE - 7 PROBLEMS FIRST
   ================================ */

/* Hero CTAs */
.hero-ctas {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

/* Problem Recognition */
.problem-recognition {
  padding: 80px 0;
  background: var(--bg-light, #f8f9fa);
  text-align: center;
}

.recognition-quotes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.recognition-quote {
  background: white;
  padding: 24px;
  border-left: 4px solid var(--brand-primary, #3d5a6c);
  margin: 0;
  text-align: left;
}

.recognition-quote p {
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.recognition-quote cite {
  font-size: 0.9rem;
  color: var(--text-tertiary, #6a6a6a);
}

.recognition-conclusion {
  font-size: 1.2rem;
  text-align: center;
  max-width: 700px;
  margin: 40px auto 24px;
}

/* Problems Mini Grid */
.problems-grid-section {
  padding: 80px 0;
  text-align: center;
}

.problems-grid-section .section-label {
  margin-bottom: 12px;
}

.problems-mini-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
  margin: 40px 0;
}

.problem-mini-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 16px;
  background: var(--bg-light, #f8f9fa);
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.problem-mini-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.problem-mini-card .problem-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 8px;
}

.problem-mini-card .problem-name {
  font-size: 0.85rem;
  text-align: center;
  font-weight: 500;
}

/* Solution Overview - light grey for contrast */
.solution-overview {
  padding: 80px 0;
  background: #f8f9fa;
  text-align: center;
}

.pillars-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.pillar-summary {
  text-align: center;
  padding: 32px 24px;
}

.pillar-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.pillar-summary h3 {
  margin-bottom: 12px;
}

/* Proof Section */
.proof-section {
  padding: 80px 0;
}

.proof-subtitle {
  text-align: center;
  max-width: 700px;
  margin: 16px auto 40px;
  color: var(--text-secondary, #4a4a4a);
}

.metrics-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  margin: 40px 0;
}

.metric-item {
  text-align: center;
}

.metric-value {
  display: block;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-primary, #3d5a6c);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--text-tertiary, #6a6a6a);
}

/* ==============================================
   HOMEPAGE PROOF SECTION - Light background fix
   Override the dark-bg styles for homepage
   ============================================== */

/* Homepage proof uses metrics-row (not metrics-grid), so target specifically */
.proof-section .metrics-row .metric-value {
    color: #3d5a6c !important;  /* Brand blue on light background */
    font-size: 2.75rem;
    font-weight: 700;
}

.proof-section .metrics-row .metric-label {
    color: #5a5a5a !important;  /* Grey on light background */
    font-size: 0.95rem;
    font-weight: 500;
}

/* Ensure proof-section on homepage has light background */
section.proof-section:has(.metrics-row) {
    background: #ffffff;
    padding: 80px 0;
}

/* Alternative approach if :has() isn't supported - add a modifier class */
.proof-section--light {
    background: #ffffff !important;
    text-align: center;
}

.proof-section--light .metric-value {
    color: #3d5a6c !important;
}

.proof-section--light .metric-label {
    color: #5a5a5a !important;
}

/* Also ensure the section label and title are dark */
.proof-section .section-label {
    color: #888888;
}

.proof-section:has(.metrics-row) h2 {
    color: #1a1a1a;
}

/* Who It's For - light grey */
.who-its-for {
  padding: 80px 0;
  background: #f8f9fa;
}

.audiences-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin: 40px 0;
}

.audience-card {
  background: white;
  padding: 32px;
  border-radius: 8px;
  text-align: center;
}

.audience-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 16px;
}

/* Founder Teaser - white */
.founder-teaser {
  padding: 80px 0;
  text-align: center;
  background: #ffffff;
}

.founder-teaser .section-label {
  margin-bottom: 16px;
}

.founder-teaser h2 {
  margin-bottom: 24px;
}

.founder-teaser p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 24px;
}

/* Final CTA */
.final-cta {
  padding: 100px 0;
  background: var(--brand-primary, #3d5a6c);
  color: white;
  text-align: center;
}

.final-cta h2 {
  color: white;
}

.final-cta p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 32px;
}

.final-cta .btn-primary {
  background: white;
  color: var(--brand-primary, #3d5a6c);
}

.cta-note {
  margin-top: 16px;
  font-size: 0.9rem;
  opacity: 0.8;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .recognition-quotes {
    grid-template-columns: 1fr;
  }

  .problems-mini-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillars-row,
  .audiences-row {
    grid-template-columns: 1fr;
  }

  .metrics-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ================================
   SOLUTION DETAIL PAGES
   ================================ */

/* -----------------------------------------
   HERO - Full width with light gradient
   ----------------------------------------- */
.page-hero--solution {
  width: 100%;
  background: linear-gradient(180deg, #e8eef1 0%, #d4dde2 100%);
  color: var(--text-primary, #1a1a1a);
  padding: 180px 0 120px;
  min-height: auto;
  text-align: center;
}

.page-hero--solution .container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

.page-hero--solution .section-label {
  color: var(--brand-primary, #3d5a6c);
  font-weight: 600;
}

.page-hero--solution h1 {
  color: var(--brand-primary, #3d5a6c);
  font-size: 3rem;
  margin-bottom: 24px;
}

.page-hero--solution .hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary, #4a4a4a);
  max-width: 700px;
  margin: 0 auto;
}

/* -----------------------------------------
   MAIN CONTENT WRAPPER
   Remove any width constraints
   ----------------------------------------- */
.solution-content {
  width: 100%;
  max-width: 100%;
  padding: 80px 0;
  display: block;
}

.solution-content .container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 32px;
}

/* -----------------------------------------
   CONTENT SECTIONS
   Full width within container
   ----------------------------------------- */
.solution-content .content-section {
  width: 100%;
  max-width: 100%;
  margin-bottom: 80px;
  padding-bottom: 60px;
  border-bottom: 1px solid #e5e5e5;
}

.solution-content .content-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Text content - readable width */
.solution-content .content-section > p,
.solution-content .content-section > h2 {
  max-width: 800px;
  float: none;
  position: static;
}

.solution-content .content-section h2,
.solution-content h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 24px;
}

.solution-content .content-section p,
.solution-content p {
  font-size: 1.1rem;
  color: var(--text-secondary, #4a4a4a);
  line-height: 1.7;
  margin-bottom: 16px;
}

.problem-link {
  font-size: 1.1rem;
  padding: 24px;
  background: var(--bg-light, #f8f9fa);
  border-radius: 8px;
}

.problem-link a {
  font-weight: 600;
  color: var(--brand-primary, #3d5a6c);
}

/* -----------------------------------------
   POSSIBLE CULPRIT OVERRIDES
   Target common causes of left-alignment
   ----------------------------------------- */

/* If there's a two-column layout being applied */
.solution-content .solution-grid,
.solution-content .content-grid,
.solution-content .two-column {
  display: block;
  width: 100%;
}

/* If the content is inside a flex container */
.solution-detail .content-wrapper,
.solution-page .content-wrapper {
  display: block;
  width: 100%;
}

/* Override any grid that might be splitting the page */
main.solution-content,
section.solution-content {
  display: block;
  grid-template-columns: none;
}

/* -----------------------------------------
   COMPONENTS GRID
   Full width, proper grid layout
   ----------------------------------------- */
.solution-content .components-grid,
.components-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 32px;
  float: none;
  position: static;
}

.component-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 28px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.component-card:hover {
  border-color: var(--brand-primary, #3d5a6c);
  box-shadow: 0 4px 12px rgba(61, 90, 108, 0.08);
}

.component-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 12px;
}

.component-card p {
  font-size: 1rem;
  color: var(--text-tertiary, #6a6a6a);
  line-height: 1.6;
  margin-bottom: 0;
}

/* -----------------------------------------
   EVIDENCE GRID - Full Width
   ----------------------------------------- */
.solution-content .evidence-grid {
  width: 100%;
  max-width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.solution-content .evidence-card {
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  padding: 24px;
}

/* -----------------------------------------
   CTA SECTION - Full width
   ----------------------------------------- */
.page-cta {
  width: 100%;
  background: linear-gradient(180deg, #f8f9fa 0%, #e8eef1 100%);
  padding: 80px 0;
  text-align: center;
}

.page-cta .container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
}

/* -----------------------------------------
   MOBILE RESPONSIVE
   ----------------------------------------- */
@media (max-width: 768px) {
  .problem-hero h1,
  .page-hero--solution h1 {
    font-size: 2.25rem;
  }

  .hero-quote {
    font-size: 1.25rem;
  }

  .solution-content {
    padding: 60px 0;
  }

  .solution-content .content-section {
    margin-bottom: 60px;
    padding-bottom: 40px;
  }

  .solution-content .components-grid,
  .components-grid {
    grid-template-columns: 1fr;
  }

  .solution-content .evidence-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }

  .solution-section {
    margin-left: -16px;
    margin-right: -16px;
    padding: 32px 24px;
  }
}

/* ================================
   SOLUTIONS GRID ON OVERVIEW PAGE
   ================================ */

.solutions-grid-section {
  padding: 80px 0;
  background: var(--bg-light, #f8f9fa);
}

.solutions-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.solution-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px;
  background: white;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
}

.solution-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.solution-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-primary, #3d5a6c);
  min-width: 40px;
}

.solution-card-content {
  flex: 1;
}

.solution-problem {
  font-size: 0.85rem;
  color: var(--text-tertiary, #6a6a6a);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.solution-card h3 {
  margin: 4px 0 0;
  font-size: 1.1rem;
}

.card-arrow {
  font-size: 1.25rem;
  color: var(--brand-primary, #3d5a6c);
}

@media (max-width: 768px) {
  .solutions-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   PILLAR OVERVIEW PAGE STYLES
   (Guardrailed AI, Verified AI pillar pages)
   ============================================ */

/* Pillar Hero */
.pillar-hero {
  padding: 180px 0 80px;
  background: #ffffff;  /* White, not gradient */
  text-align: left;  /* Left-align, not center */
}

.pillar-hero .hero-content {
  max-width: 780px;
  margin: 0;  /* Left-align, not center */
}

.pillar-hero .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.pillar-hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 20px;
  line-height: 1.15;
}

.pillar-hero .hero-subtitle {
  font-size: 20px;
  color: #1a1a1a;
  line-height: 1.4;
  max-width: 700px;
  margin: 0;  /* Left-align, not center */
}

/* Pillar Introduction */
.pillar-intro {
  padding: 80px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.pillar-intro .section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.pillar-intro .intro-content p {
  font-size: 1.15rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 800px;
}

.pillar-intro .intro-content p:last-child {
  margin-bottom: 0;
}

/* Pillar Problems Section */
.pillar-problems {
  padding: 100px 0;
  background: #f8f9fa;
}

.pillar-problems .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.pillar-problems .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.pillar-problems .section-subtitle {
  font-size: 1.15rem;
  color: #4a4a4a;
  margin-bottom: 48px;
  max-width: 600px;
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
  align-items: stretch; /* Equal height cards */
}

/* Note: Main .problem-card styles are defined above with flexbox layout */

.problem-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.problem-description {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
  flex-grow: 1;
}

/* Pillar Solutions Section */
.pillar-solutions {
  padding: 100px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.pillar-solutions .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.pillar-solutions .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.pillar-solutions .section-subtitle {
  font-size: 1.15rem;
  color: #4a4a4a;
  margin-bottom: 48px;
  max-width: 600px;
}

.solutions-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 48px;
}

.solution-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 24px 32px;
  background: #f8f9fa;
  border-radius: 8px;
  align-items: start;
}

.solution-row .solution-problem {
  font-size: 0.95rem;
  font-weight: 600;
  color: #6a6a6a;
  padding-top: 4px;
}

.solution-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.solution-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.solution-mechanism {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
}

.solution-evidence {
  font-size: 0.85rem;
  color: var(--brand-primary, #3d5a6c);
  font-weight: 500;
  margin: 0;
}

/* Pillar Proof Section */
.pillar-proof {
  padding: 100px 0;
  background: #f0f4f6 !important;
}

.pillar-proof .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.pillar-proof .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.pillar-proof .section-subtitle {
  font-size: 1.15rem;
  color: #4a4a4a;
  margin-bottom: 48px;
  max-width: 700px;
}

/* proof-metrics grid - styles consolidated at line ~6886 */

.proof-metric {
  padding: 32px;
  background: #ffffff;
  border-radius: 12px;
  text-align: center;
}

.pillar-proof .metric-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: #3d5a6c !important;
  margin-bottom: 8px;
  line-height: 1;
}

.pillar-proof .metric-label {
  font-size: 1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 8px;
}

.pillar-proof .metric-detail {
  font-size: 0.875rem;
  color: #5a5a5a;
  line-height: 1.5;
  font-weight: 400;
}

/* Pillar Methodology Section */
.pillar-methodology {
  padding: 100px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.pillar-methodology .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.pillar-methodology .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 48px;
}

.pillar-methodology .principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-methodology .principle-card {
  padding: 32px;
  background: #f8f9fa;
  border-radius: 12px;
  border: 1px solid #e5e5e5;
}

.pillar-methodology .principle-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.pillar-methodology .principle-description {
  font-size: 0.95rem;
  color: #4a4a4a;
  line-height: 1.6;
  margin: 0;
}

/* Pillar CTA Section */
.pillar-cta {
  padding: 100px 0;
  background: linear-gradient(180deg, #f0f4f6 0%, #e8ecef 100%);
  text-align: center;
}

.pillar-cta .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.pillar-cta .cta-text {
  font-size: 1.15rem;
  color: #4a4a4a;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.pillar-cta .cta-button {
  display: inline-block;
  padding: 16px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  background: var(--brand-primary, #3d5a6c);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pillar-cta .cta-button:hover {
  background: var(--brand-dark, #2d4a5c);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(61, 90, 108, 0.3);
}

/* Section CTA Link */
.section-cta {
  text-align: left;
  margin-top: 32px;
}

.section-cta .cta-link {
  font-size: 1rem;
  font-weight: 600;
  color: var(--brand-primary, #3d5a6c);
  text-decoration: none;
  transition: color 0.2s ease;
}

.section-cta .cta-link:hover {
  color: var(--brand-dark, #2d4a5c);
}

/* Pillar Overview Responsive */
@media (max-width: 1024px) {
  .proof-metrics {
    grid-template-columns: repeat(2, 1fr);
  }

  .pillar-methodology .principles-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .solution-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .solution-row .solution-problem {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
}

@media (max-width: 768px) {
  .pillar-hero {
    padding: 140px 0 60px;
  }

  .pillar-hero h1 {
    font-size: 2rem;
  }

  .pillar-intro,
  .pillar-problems,
  .pillar-solutions,
  .pillar-proof,
  .pillar-methodology,
  .pillar-cta {
    padding: 60px 0;
  }

  .pillar-intro .section-title,
  .pillar-problems .section-title,
  .pillar-solutions .section-title,
  .pillar-proof .section-title,
  .pillar-methodology .section-title,
  .pillar-cta .section-title {
    font-size: 1.75rem;
  }

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

  .proof-metrics {
    grid-template-columns: 1fr;
  }

  .pillar-methodology .principles-grid {
    grid-template-columns: 1fr;
  }

  .metric-value {
    font-size: 2rem;
  }
}

/* ============================================
   VERIFIED AI OVERVIEW PAGE STYLES
   ============================================ */

/* Verified AI Hero - extends pillar-hero */
.verified-ai-hero {
  background: linear-gradient(180deg, #f0f4f6 0%, #ffffff 100%);
}

/* Introduction Analogy Box */
.intro-analogy {
  margin-top: 32px;
  padding: 24px 32px;
  background: #f8f9fa;
  border-left: 4px solid var(--brand-primary, #3d5a6c);
  border-radius: 0 8px 8px 0;
}

.intro-analogy p {
  font-size: 1rem;
  font-style: italic;
  color: #4a4a4a;
  margin: 0;
  line-height: 1.7;
}

/* ==============================================
   VERIFIED AI - DEADLINE SECTION
   ============================================== */

/* Section Container */
.verified-ai-deadline,
.deadline-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.verified-ai-deadline .container,
.deadline-section .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.verified-ai-deadline .section-label,
.deadline-section .section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3d5a6c;
    margin-bottom: 16px;
}

.verified-ai-deadline h2,
.verified-ai-deadline .deadline-title,
.deadline-section h2 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(36px, 5vw, 48px);
    font-weight: 500;
    color: #3d5a6c;
    margin-bottom: 16px;
    line-height: 1.1;
}

.verified-ai-deadline .section-subtitle,
.deadline-section .section-subtitle {
    font-size: 18px;
    color: #5a5a5a;
    margin-bottom: 48px;
    max-width: 700px;
}

/* Two-Column Grid */
.deadline-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

@media (max-width: 768px) {
    .deadline-content {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Timeline Column */
.timeline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.timeline-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: #ffffff;
    border-radius: 6px;
    border-left: 3px solid #ddd;
}

.timeline-date {
    font-size: 14px;
    font-weight: 600;
    color: #888;
    min-width: 80px;
}

.timeline-event {
    font-size: 15px;
    color: #5a5a5a;
}

/* Current/highlighted item */
.timeline-item.upcoming {
    background: #f0e6e2;
    border-left-color: #3d5a6c;
}

.timeline-item.upcoming .timeline-date {
    color: #3d5a6c;
    font-weight: 700;
}

.timeline-item.upcoming .timeline-event {
    color: #1a1a1a;
    font-weight: 500;
}

/* Past items */
.timeline-item.passed {
    opacity: 0.6;
}

/* Column Headers */
.timeline-wrapper,
.penalties {
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
}

.column-header {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888;
    padding: 14px 20px;
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

/* Timeline inside wrapper */
.timeline-wrapper .timeline {
    gap: 0;
    padding: 0;
    margin: 0;
}

.timeline-wrapper .timeline-item {
    border-radius: 0;
    border-left: 3px solid #eee;
    border-bottom: 1px solid #f0f0f0;
}

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

.timeline-wrapper .timeline-item.upcoming {
    border-left-color: #3d5a6c;
}

.penalty-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #f0f0f0;
}

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

.penalty-amount {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #3d5a6c;
}

.penalty-violation {
    font-size: 13px;
    color: #5a5a5a;
    text-align: right;
}

.penalty-card .penalty-amount {
    display: block;
    margin-bottom: 8px;
}

.penalty-card .penalty-violation {
    text-align: center;
}

@media (max-width: 768px) {
    .penalties-horizontal {
        grid-template-columns: 1fr;
    }
}

/* Coverage Section (EU AI Act Articles) */
.verified-ai-coverage {
  padding: 100px 0;
  background: #ffffff;
}

.verified-ai-coverage .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.verified-ai-coverage .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 48px;
}

.articles-table {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.article-row {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 32px;
  padding: 24px 32px;
  background: #f8f9fa;
  border-radius: 8px;
  align-items: start;
}

.article-id {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.article-number {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-primary, #3d5a6c);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.article-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
}

.article-detail {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article-requirement {
  font-size: 0.95rem;
  color: #6a6a6a;
  margin: 0;
}

.article-solution {
  font-size: 0.95rem;
  color: #1a1a1a;
  font-weight: 500;
  margin: 0;
}

/* Independence Section */
.verified-ai-independence {
  padding: 100px 0;
  background: #f0f4f6 !important;
}

.verified-ai-independence .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.verified-ai-independence .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 32px;
}

.independence-content p {
  font-size: 1.1rem;
  color: #4a4a4a;
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 800px;
}

.independence-content p:last-child {
  margin-bottom: 0;
  font-weight: 500;
  color: #1a1a1a;
}

/* Industries Section */
.verified-ai-industries {
  padding: 100px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.verified-ai-industries .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.verified-ai-industries .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 16px;
}

.verified-ai-industries .section-subtitle {
  font-size: 1.15rem;
  color: #4a4a4a;
  margin-bottom: 48px;
  max-width: 600px;
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.industry-card {
  display: block;
  padding: 32px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

.industry-card:hover {
  border-color: var(--brand-primary, #3d5a6c);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.industry-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 12px;
}

.industry-applications {
  font-size: 0.95rem;
  color: #4a4a4a;
  margin-bottom: 8px;
}

.industry-requirement {
  font-size: 0.85rem;
  color: var(--brand-primary, #3d5a6c);
  font-weight: 500;
  margin: 0;
}

/* Partners Section */
.verified-ai-partners {
  padding: 100px 0;
  background: #f8f9fa;
}

.verified-ai-partners .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.verified-ai-partners .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 48px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.partner-card {
  display: block;
  padding: 32px;
  background: var(--brand-primary, #3d5a6c);
  border-radius: 12px;
  text-decoration: none;
  color: #ffffff;
  transition: all 0.2s ease;
}

.partner-card:hover {
  background: var(--brand-dark, #2d4a5c);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-4px);
}

.partner-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
}

.partner-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

/* Compliance Modules Section */
.verified-ai-modules {
  padding: 100px 0;
  background: #ffffff;
  border-bottom: 1px solid #e5e5e5;
}

.verified-ai-modules .section-label {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--brand-primary, #3d5a6c);
  margin-bottom: 16px;
}

.verified-ai-modules .section-title {
  font-size: 2.25rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 48px;
}

.modules-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.module-card {
  padding: 24px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
}

.module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.module-name {
  font-size: 1.1rem;
  font-weight: 600;
  color: #1a1a1a;
  margin: 0;
}

.module-status {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 12px;
}

.module-status.available {
  background: #d4edda;
  color: #155724;
}

.module-status.roadmap {
  background: #fff3cd;
  color: #856404;
}

.module-description {
  font-size: 0.9rem;
  color: #4a4a4a;
  line-height: 1.5;
  margin: 0;
}

/* Verified AI Responsive */
@media (max-width: 1024px) {
  .deadline-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

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

  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .article-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

@media (max-width: 768px) {
  .verified-ai-deadline .deadline-title {
    font-size: 2rem;
  }

  .verified-ai-deadline,
  .verified-ai-coverage,
  .verified-ai-independence,
  .verified-ai-industries,
  .verified-ai-partners,
  .verified-ai-modules {
    padding: 60px 0;
  }

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

  .timeline-item {
    flex-direction: column;
    gap: 8px;
  }

  .timeline-date {
    min-width: auto;
  }
}

/* ==============================================
   UNIFIED HERO STYLES

   Goal: Match homepage hero across ALL pages
   - White background
   - Brand blue (#3d5a6c) Fraunces serif headline
   - Clean spacing (180px top, 120px bottom)
   - Consistent section-label styling
   ============================================== */

/* ==============================================
   BASE HERO (applies to all pages)
   ============================================== */

/* Reset all hero backgrounds to white */
.hero,
.page-hero,
.page-hero--problem,
.page-hero--solution,
.page-hero--proof,
.page-hero--diagnostic,
.page-hero--about,
.about-hero,
.compliance-hero,
.industry-hero,
.codearch-hero,
.contact-hero,
.platform-hero,
.problem-hero,
.proof-hero,
.diagnostic-hero,
[class*="page-hero"] {
    background: #ffffff;
    padding: 180px 0 120px;
    text-align: left;
}

/* Centered heroes (where appropriate) */
.page-hero--centered,
.hero--centered {
    text-align: center;
}

/* ==============================================
   SECTION LABEL (small caps above headline)
   ============================================== */

.hero .section-label,
.page-hero .section-label,
[class*="page-hero"] .section-label,
[class*="-hero"] .section-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #888888;
    margin-bottom: 16px;
    display: block;
}

/* ==============================================
   HEADLINE (H1)
   Large Fraunces serif in brand blue
   ============================================== */

.hero h1,
.hero-headline,
.page-hero h1,
[class*="page-hero"] h1,
[class*="-hero"] h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(30px, 4.5vw, 46px);
    font-weight: 500;
    color: #3d5a6c !important;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    line-height: 1.1;
}

/* Slightly smaller for sub-pages if needed */
.page-hero h1,
[class*="page-hero"] h1 {
    font-size: clamp(36px, 4.5vw, 48px);
}

/* ==============================================
   SUBTITLE / SUBHEAD
   ============================================== */

.hero-subtitle,
.hero-subhead,
.page-hero .hero-subtitle,
[class*="page-hero"] .hero-subtitle,
[class*="-hero"] .hero-subtitle {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 16px;
    max-width: 700px;
}

/* ==============================================
   DESCRIPTION (body text in hero)
   ============================================== */

.hero-description,
.page-hero p:not(.section-label):not(.hero-subtitle),
[class*="-hero"] .hero-intro,
[class*="-hero"] .hero-body {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 18px;
    color: #5a5a5a;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 32px;
}

/* ==============================================
   CTA BUTTONS
   ============================================== */

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 32px;
}

.hero .btn-primary,
.page-hero .btn-primary,
.hero-ctas .btn-primary {
    background: #3d5a6c;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: background 0.2s ease;
}

.hero .btn-primary:hover,
.page-hero .btn-primary:hover,
.hero-ctas .btn-primary:hover {
    background: #2a3f4d;
    text-decoration: none;
}

.hero .btn-secondary,
.page-hero .btn-secondary,
.hero-ctas .btn-secondary {
    background: transparent;
    color: #3d5a6c;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: 1px solid #3d5a6c;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.hero .btn-secondary:hover,
.page-hero .btn-secondary:hover,
.hero-ctas .btn-secondary:hover {
    background: #3d5a6c;
    color: #ffffff;
    text-decoration: none;
}

/* ==============================================
   BADGES (if present)
   ============================================== */

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #f0f4f6 !important;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    color: #2a3f4d;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #3d5a6c;
    border-radius: 50%;
}

/* ==============================================
   CONTAINER WITHIN HERO
   ============================================== */

.hero .container,
.page-hero .container,
[class*="page-hero"] .container,
[class*="-hero"] .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

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

/* ==============================================
   REMOVE GRADIENTS & DARK BACKGROUNDS
   These override any lingering dark/gradient styles
   ============================================== */

/* Kill all gradient backgrounds */
.page-hero--problem,
.page-hero--solution,
.page-hero--proof,
.page-hero--diagnostic,
.proof-hero,
.diagnostic-hero {
    background: #ffffff;
    background-image: none !important;
}

/* Ensure text is always brand blue, not white */
.page-hero--problem h1,
.page-hero--solution h1,
.page-hero--proof h1,
.page-hero--diagnostic h1,
.proof-hero h1,
.diagnostic-hero h1 {
    color: #3d5a6c !important;
}

/* Labels should be gray, not light/white */
.page-hero--problem .section-label,
.page-hero--solution .section-label,
.page-hero--proof .section-label,
.page-hero--diagnostic .section-label {
    color: #888888 !important;
}

/* ==============================================
   VERIFIED AI PAGES (formerly compliance)
   Simplify - remove noise
   ============================================== */

.compliance-hero,
.industry-hero,
[class*="verified-ai"] .page-hero {
    background: #ffffff;
    padding: 180px 0 120px;
}

.compliance-hero h1,
.industry-hero h1 {
    color: #3d5a6c !important;
    font-size: clamp(36px, 4.5vw, 48px);
}

/* Remove urgency boxes, excessive badges, timeline clutter from hero */
.compliance-hero .hero-urgency,
.industry-hero .hero-urgency,
.hero-timeline {
    display: none;
}

/* Keep badges minimal */
.compliance-hero .hero-badges,
.industry-hero .hero-badges {
    margin-top: 32px;
}

/* ==============================================
   MOBILE RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
    .hero,
    .page-hero,
    [class*="page-hero"],
    [class*="-hero"] {
        padding: 140px 0 80px;
    }

    .hero h1,
    .page-hero h1,
    [class*="page-hero"] h1,
    [class*="-hero"] h1 {
        font-size: clamp(32px, 8vw, 40px);
    }

    .hero-subtitle,
    .hero-subhead {
        font-size: 18px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .hero .btn-primary,
    .hero .btn-secondary,
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        text-align: center;
    }
}

/* ==============================================
   HERO LAYOUT FIXES - TEMPLATE-SPECIFIC

   Targets actual class names from templates:
   - .hero-content (wrapper div)
   - .hero-tagline (not hero-subtitle)
   - .solutions-hero
   - .industry-hero
   ============================================== */


/* ==============================================
   HERO-CONTENT WRAPPER
   This div wraps all hero text - ensure no offset
   ============================================== */

.hero .hero-content,
.page-hero .hero-content,
.solutions-hero .hero-content,
.industry-hero .hero-content,
[class*="-hero"] .hero-content {
    max-width: 800px;
    margin-left: 0 !important;
    margin-right: auto;
    padding-left: 0 !important;
    padding-right: 0;
    /* No transforms or offsets */
    transform: none;
    position: relative;
    left: 0;
}


/* ==============================================
   HERO-TAGLINE (template uses this, not hero-subtitle)
   ============================================== */

.hero-tagline,
.hero .hero-tagline,
.page-hero .hero-tagline,
.solutions-hero .hero-tagline,
.industry-hero .hero-tagline,
[class*="-hero"] .hero-tagline {
    font-family: 'DM Sans', -apple-system, sans-serif;
    font-size: 20px;
    font-weight: 400;
    color: #5a5a5a;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 0 24px 0 !important;
    padding: 0 !important;
    text-align: left !important;
    /* Critical: no offset from headline */
    transform: none !important;
    text-indent: 0 !important;
}


/* ==============================================
   HERO-INTRO (secondary text below tagline)
   ============================================== */

.hero-intro,
.hero .hero-intro,
.industry-hero .hero-intro {
    font-size: 18px;
    color: #5a5a5a;
    line-height: 1.6;
    max-width: 650px;
    margin: 0 0 32px 0 !important;
    padding: 0 !important;
    text-align: left;
}


/* ==============================================
   SOLUTIONS-HERO (solutions overview page)
   ============================================== */

.solutions-hero {
    background: #ffffff;
    padding: 160px 0 80px;
}

.solutions-hero .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.solutions-hero .section-label {
    color: #888888;
    margin-bottom: 16px;
}

.solutions-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 500;
    color: #3d5a6c !important;
    margin-bottom: 24px;
    line-height: 1.1;
}

.solutions-hero .hero-tagline {
    font-size: 20px;
    color: #5a5a5a;
    margin: 0;
}


/* ==============================================
   INDUSTRY-HERO (CABs, Financial Services, etc.)
   ============================================== */

.industry-hero {
    background: #ffffff;
    padding: 160px 0 80px;
}

.industry-hero .container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 32px;
}

.industry-hero .section-label {
    color: #888888;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.industry-hero h1 {
    font-family: 'Fraunces', Georgia, serif;
    font-size: clamp(36px, 4.5vw, 48px);
    font-weight: 500;
    color: #3d5a6c !important;
    margin-bottom: 24px;
    line-height: 1.1;
}

.industry-hero .hero-tagline {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 16px;
}

.industry-hero .hero-intro {
    font-size: 18px;
    color: #5a5a5a;
    margin-bottom: 32px;
}

/* CTA button in hero */
.industry-hero .hero-cta {
    margin-bottom: 24px;
}

.industry-hero .hero-cta .btn-primary {
    background: #3d5a6c;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
}

/* Badges - keep minimal */
.industry-hero .hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}


/* ==============================================
   ALL HERO ELEMENTS - UNIFIED LEFT ALIGNMENT
   ============================================== */

/* Every text element in any hero - same left edge */
.hero .section-label,
.hero h1,
.hero .hero-tagline,
.hero .hero-intro,
.hero .hero-content > *,
.page-hero .section-label,
.page-hero h1,
.page-hero .hero-tagline,
.page-hero .hero-content > *,
[class*="-hero"] .section-label,
[class*="-hero"] h1,
[class*="-hero"] .hero-tagline,
[class*="-hero"] .hero-intro,
[class*="-hero"] .hero-content > * {
    margin-left: 0 !important;
    padding-left: 0 !important;
    text-align: left !important;
}


/* ==============================================
   SPACING: REDUCE WHITESPACE BELOW HERO
   ============================================== */

/* Tighter bottom padding on all heroes */
.hero,
.solutions-hero,
.industry-hero,
.page-hero,
[class*="-hero"]:not(.final-cta):not(.industry-cta):not(.solutions-cta) {
    padding-bottom: 80px;
}

/* First section after hero */
.hero + section,
.solutions-hero + section,
.industry-hero + section,
.page-hero + section {
    padding-top: 60px;
}

/* Pillars section specifically */
.pillars-section {
    padding-top: 60px;
}

/* Problem section after hero */
.industry-hero + .problem {
    padding-top: 60px;
}


/* ==============================================
   HERO LAYOUT FIXES - MOBILE RESPONSIVE
   ============================================== */

@media (max-width: 768px) {
    .solutions-hero,
    .industry-hero {
        padding: 120px 0 60px;
    }

    .solutions-hero h1,
    .industry-hero h1 {
        font-size: clamp(28px, 7vw, 36px);
    }

    .hero-tagline {
        font-size: 18px;
    }

    .hero-intro {
        font-size: 16px;
    }

    .industry-hero .hero-badges {
        flex-direction: column;
        gap: 8px;
    }
}

/* ==============================================
   MASTER HERO FIX - MATCH ALL PAGES TO HOMEPAGE

   Homepage structure: .hero > .container > h1, p, etc.
   Other pages: .hero.X-hero > .container > .hero-content > h1, p, etc.

   This section ensures ALL heroes look identical to homepage.
   ============================================== */

/* Remove .hero-content width constraint and centering - left-align like homepage */
.hero-content,
.hero .hero-content,
.problems-hero .hero-content,
.solutions-hero .hero-content,
.industry-hero .hero-content,
.proof-hero .hero-content,
.pillar-hero .hero-content,
.codearch-hero .hero-content,
.contact-hero .hero-content,
.about-hero .hero-content,
.diagnostic-hero .hero-content,
.compliance-hero .hero-content,
.platform-hero .hero-content,
.problem-hero .hero-content,
.verified-ai-hero .hero-content {
    max-width: 780px !important;
    width: 100% !important;
    margin: 0 !important;  /* NOT margin: 0 auto - left align */
    text-align: left !important;
}

/* All hero sections - consistent base styling (override text-align: center) */
.hero:not(.hero--light-blue),
.problems-hero,
.solutions-hero,
.industry-hero,
.proof-hero,
.pillar-hero,
.codearch-hero,
.contact-hero,
.about-hero,
.diagnostic-hero,
.compliance-hero,
.platform-hero,
.problem-hero,
.verified-ai-hero {
    background: #ffffff;
    padding: 180px 0 80px !important;
    text-align: left !important;
}

/* All hero h1 - match homepage exactly */
.hero h1,
.hero .hero-headline,
.problems-hero h1,
.solutions-hero h1,
.industry-hero h1,
.proof-hero h1,
.pillar-hero h1,
.codearch-hero h1,
.contact-hero h1,
.about-hero h1,
.diagnostic-hero h1,
.compliance-hero h1,
.platform-hero h1,
.problem-hero h1,
.verified-ai-hero h1 {
    font-family: 'Fraunces', Georgia, serif !important;
    font-size: clamp(30px, 4.5vw, 46px) !important;
    font-weight: 500 !important;
    color: #3d5a6c !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.02em !important;
    line-height: 1.1 !important;
    max-width: 100% !important;
}

/* Section labels - consistent gray */
.hero .section-label,
.problems-hero .section-label,
.solutions-hero .section-label,
.industry-hero .section-label,
.proof-hero .section-label,
.pillar-hero .section-label,
.codearch-hero .section-label,
.contact-hero .section-label,
.about-hero .section-label,
.diagnostic-hero .section-label,
.compliance-hero .section-label,
.platform-hero .section-label,
.problem-hero .section-label,
.verified-ai-hero .section-label {
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: #888888 !important;
    margin-bottom: 16px !important;
    display: block !important;
}

/* Subtitle/subhead/tagline - all variations */
.hero-subtitle,
.hero-subhead,
.hero-tagline,
.hero .hero-subtitle,
.hero .hero-subhead,
.hero .hero-tagline,
.problems-hero .hero-tagline,
.solutions-hero .hero-tagline,
.industry-hero .hero-tagline,
.proof-hero .hero-tagline,
.pillar-hero .hero-subtitle,
.codearch-hero .hero-tagline,
.contact-hero .hero-subtitle,
.about-hero .hero-subtitle,
.diagnostic-hero .hero-tagline,
.compliance-hero .hero-tagline,
.platform-hero .hero-tagline,
.problem-hero .hero-tagline,
.verified-ai-hero .hero-subtitle {
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    font-size: 20px !important;
    font-weight: 500 !important;
    color: #1a1a1a !important;
    margin: 0 0 16px 0 !important;  /* Override margin: 0 auto */
    max-width: 700px !important;
    line-height: 1.4 !important;
    text-align: left !important;
}

/* Description text */
.hero-description,
.hero-intro,
.hero .hero-description,
.hero .hero-intro,
.problems-hero .hero-intro,
.industry-hero .hero-intro,
.about-hero .hero-intro,
.platform-hero .hero-intro {
    font-family: 'DM Sans', -apple-system, sans-serif !important;
    font-size: 18px !important;
    color: #5a5a5a !important;
    line-height: 1.6 !important;
    max-width: 700px !important;
    margin: 0 0 32px 0 !important;  /* Override any centering */
    text-align: left !important;
}

/* CTA buttons container */
.hero-ctas,
.hero-cta {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 16px !important;
    margin-top: 32px !important;
}

/* Primary button */
.hero .btn-primary,
.hero-ctas .btn-primary,
.hero-cta .btn-primary,
.problems-hero .btn-primary,
.solutions-hero .btn-primary,
.industry-hero .btn-primary,
.pillar-hero .btn-primary {
    background: #3d5a6c !important;
    color: #ffffff !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: none !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.hero .btn-primary:hover,
.hero-ctas .btn-primary:hover,
.hero-cta .btn-primary:hover {
    background: #2a3f4d !important;
}

/* Secondary button */
.hero .btn-secondary,
.hero-ctas .btn-secondary,
.hero-cta .btn-secondary {
    background: transparent !important;
    color: #3d5a6c !important;
    padding: 16px 32px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    border: 1px solid #3d5a6c !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-block !important;
}

.hero .btn-secondary:hover,
.hero-ctas .btn-secondary:hover,
.hero-cta .btn-secondary:hover {
    background: #3d5a6c !important;
    color: #ffffff !important;
}

/* Badges */
.hero-badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 24px !important;
}

/* Hide clutter elements */
.hero-urgency,
.hero-timeline {
    display: none !important;
}

/* ==============================================
   MASTER HERO FIX - MOBILE
   ============================================== */

@media (max-width: 768px) {
    .hero,
    .problems-hero,
    .solutions-hero,
    .industry-hero,
    .proof-hero,
    .pillar-hero,
    .codearch-hero,
    .contact-hero,
    .about-hero,
    .diagnostic-hero,
    .compliance-hero,
    .platform-hero,
    .problem-hero,
    .verified-ai-hero {
        padding: 140px 0 60px !important;
    }

    .hero h1,
    .problems-hero h1,
    .solutions-hero h1,
    .industry-hero h1,
    .proof-hero h1,
    .pillar-hero h1,
    .codearch-hero h1,
    .contact-hero h1,
    .about-hero h1,
    .diagnostic-hero h1,
    .compliance-hero h1,
    .platform-hero h1,
    .problem-hero h1,
    .verified-ai-hero h1 {
        font-size: clamp(32px, 8vw, 40px) !important;
    }

    .hero-subtitle,
    .hero-subhead,
    .hero-tagline {
        font-size: 18px !important;
    }

    .hero-description,
    .hero-intro {
        font-size: 16px !important;
    }

    .hero-ctas,
    .hero-cta {
        flex-direction: column !important;
    }

    .hero .btn-primary,
    .hero .btn-secondary,
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary,
    .hero-cta .btn-primary,
    .hero-cta .btn-secondary {
        width: 100% !important;
        text-align: center !important;
    }

    .hero-badges {
        flex-direction: column !important;
        gap: 8px !important;
    }
}

/* ==============================================
   FINAL OVERRIDE - FORCE LEFT ALIGNMENT
   This MUST be at the very end of the file
   ============================================== */

/* Force all hero sections to left-align text */
section.hero,
section.hero.pillar-hero,
section.hero.verified-ai-hero,
section.hero.about-hero,
section.hero.contact-hero,
section.hero.problems-hero,
section.hero.solutions-hero,
section.hero.industry-hero,
section.hero.proof-hero,
section.hero.codearch-hero,
section.hero.diagnostic-hero,
section.hero.compliance-hero,
section.hero.platform-hero,
section.hero.problem-hero {
    text-align: left !important;
}

/* Force hero-content to left-align, not center */
section.hero .hero-content,
section.hero.pillar-hero .hero-content,
section.hero.verified-ai-hero .hero-content,
section.hero.about-hero .hero-content,
section.hero.contact-hero .hero-content,
section.hero.problems-hero .hero-content,
section.hero.solutions-hero .hero-content,
section.hero.industry-hero .hero-content,
section.hero.proof-hero .hero-content,
section.hero.codearch-hero .hero-content,
section.hero.diagnostic-hero .hero-content,
section.hero.compliance-hero .hero-content,
section.hero.platform-hero .hero-content,
section.hero.problem-hero .hero-content {
    max-width: 780px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    text-align: left !important;
}

/* Force all hero text elements to left-align */
section.hero h1,
section.hero p,
section.hero .section-label,
section.hero .hero-subtitle,
section.hero .hero-tagline,
section.hero .hero-subhead,
section.hero .hero-intro,
section.hero .hero-description {
    text-align: left !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Specific overrides for pillar heroes */
section.hero.pillar-hero .hero-subtitle,
section.hero.verified-ai-hero .hero-subtitle {
    margin: 0 !important;
    text-align: left !important;
}

/* Specific overrides for contact hero */
section.hero.contact-hero .hero-subtitle {
    margin: 0 !important;
    text-align: left !important;
}

/* Specific overrides for about hero */
section.hero.about-hero .hero-subtitle,
section.hero.about-hero .hero-intro {
    margin-left: 0 !important;
    margin-right: 0 !important;
    text-align: left !important;
}

/* ==============================================
   PROBLEM PAGE - SOLUTION CTA SECTION
   ============================================== */

.solution-cta-section {
    background: #f8f9fa;
    padding: 60px 0;
    margin-top: 60px;
    border-top: 1px solid #e5e5e5;
}

.solution-cta-section .container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 32px;
}

.solution-cta-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.solution-cta-content {
    flex: 1;
}

.solution-cta-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #3d5a6c;
    margin-bottom: 12px;
    display: block;
}

.solution-cta-title {
    font-family: 'Fraunces', Georgia, serif;
    font-size: 24px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 12px;
    line-height: 1.3;
}

.solution-cta-description {
    font-size: 16px;
    color: #5a5a5a;
    line-height: 1.6;
    margin: 0;
}

.solution-cta-button {
    flex-shrink: 0;
}

.solution-cta-button .btn {
    background: #3d5a6c;
    color: #ffffff;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.solution-cta-button .btn:hover {
    background: #2a3f4d;
    transform: translateX(4px);
}

.solution-cta-button .btn::after {
    content: '→';
    font-size: 18px;
}

@media (max-width: 768px) {
    .solution-cta-card {
        flex-direction: column;
        text-align: center;
        padding: 32px 24px;
    }
    
    .solution-cta-button {
        width: 100%;
    }
    
    .solution-cta-button .btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==============================================
   CTA SECTION - SUBTITLE CONTRAST FIX
   ============================================== */

/* Page CTA sections with dark background */
.page-cta,
.problems-cta,
.solutions-cta,
.industry-cta,
.problem-cta,
.contact {
    background: #3d5a6c;
    padding: 80px 0;
    text-align: center;
}

/* Headline - white */
.page-cta h2,
.page-cta .section-title,
.problem-cta h2,
.problem-cta .section-title,
.contact h2,
.contact .section-title {
    color: #ffffff;
    margin-bottom: 16px;
}

/* Subtitle/description - lighter but readable */
.page-cta p,
.page-cta .contact-text,
.problem-cta p,
.problem-cta .contact-text,
.contact p,
.contact .contact-text {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 18px;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Button - white with dark text */
.page-cta .btn,
.page-cta .btn-primary,
.problem-cta .btn,
.problem-cta .btn-primary,
.contact .btn,
.contact .btn-primary {
    background: #ffffff;
    color: #3d5a6c;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s ease;
}

.page-cta .btn:hover,
.problem-cta .btn:hover,
.contact .btn:hover {
    background: #f0f4f6;
    transform: translateY(-2px);
}
