/* ========================================
   Self-hosted Inter (no Google Fonts call — faster + RGPD/CNIL-friendly,
   no visitor IP sent to a third party). French text only triggers the
   `latin` subset; `latin-ext` is declared but lazy (rarely fetched).
   ======================================== */
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:400;font-display:swap;src:url('/assets/fonts/inter-400-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:500;font-display:swap;src:url('/assets/fonts/inter-500-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:600;font-display:swap;src:url('/assets/fonts/inter-600-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-700-latin.woff2') format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Inter';font-style:normal;font-weight:700;font-display:swap;src:url('/assets/fonts/inter-700-latin-ext.woff2') format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;}

/* ========================================
   Akore — akore.ai
   Self-contained stylesheet (no shared CSS),
   following the FirstACL multi-site conventions.
   ======================================== */

:root {
    --bg-color: #FFFFFF;
    --text-color: #0F172A;
    --text-secondary: #64748B;
    --accent-color: #4F46E5;
    --accent-hover: #4338CA;
    --border-color: #E2E8F0;
    --card-bg: #FFFFFF;
    --card-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
    --section-alt-bg: #F8FAFC;
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body.dark-mode {
    --bg-color: #0B1020;
    --text-color: #F1F5F9;
    --text-secondary: #94A3B8;
    --accent-color: #818CF8;
    --accent-hover: #A5B4FC;
    --border-color: #1E293B;
    --card-bg: #111827;
    --card-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --section-alt-bg: #0E1424;
}

/* ========================================
   Reset & Base
   ======================================== */

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 40px;
}

/* ========================================
   Header
   ======================================== */

header {
    padding: 18px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: var(--bg-color);
    border-bottom: 1px solid var(--border-color);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: -0.4px;
}

.logo-mark {
    height: 28px;
    width: auto;
    display: block;
}

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

.theme-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s ease;
}

.theme-toggle:hover {
    background: rgba(79, 70, 229, 0.08);
}

.sun-icon { display: block; }
.moon-icon { display: none; }
body.dark-mode .sun-icon { display: none; }
body.dark-mode .moon-icon { display: block; }

.login-btn {
    display: inline-flex;
    align-items: center;
    padding: 9px 20px;
    background: var(--accent-color);
    color: #FFFFFF;
    font-size: 0.92rem;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s ease, transform 0.1s ease;
}

.login-btn:hover {
    background: var(--accent-hover);
    opacity: 1;
}

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

/* ========================================
   Buttons (shared)
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 28px;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
}

.btn-primary {
    background: var(--accent-color);
    color: #FFFFFF;
}

.btn-primary:hover {
    background: var(--accent-hover);
    opacity: 1;
}

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

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

.btn-ghost:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
    opacity: 1;
}

/* ========================================
   Hero
   ======================================== */

.hero {
    padding-top: 180px;
    padding-bottom: 120px;
    text-align: center;
}

.eyebrow {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--accent-color);
    background: rgba(79, 70, 229, 0.08);
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 28px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -1.5px;
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 44px;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   Features
   ======================================== */

.features {
    padding: 90px 0 110px;
    background: var(--section-alt-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 36px 32px;
    box-shadow: var(--card-shadow);
}

.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-color);
    margin-bottom: 22px;
}

.feature-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 0.98rem;
    color: var(--text-secondary);
    line-height: 1.65;
}

/* ========================================
   Bottom CTA
   ======================================== */

.cta-bottom {
    padding: 110px 0;
    text-align: center;
}

.cta-heading {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 480px;
    margin: 0 auto 36px;
}

/* ========================================
   Footer
   ======================================== */

footer {
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

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

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.copyright {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ========================================
   Responsive — 768px
   ======================================== */

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

    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero-title {
        font-size: 2.6rem;
        letter-spacing: -1px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 36px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .features {
        padding-top: 64px;
        padding-bottom: 72px;
    }

    .feature-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .cta-bottom {
        padding: 72px 0;
    }

    .cta-heading {
        font-size: 1.9rem;
    }

    .footer-content {
        flex-direction: column-reverse;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 14px;
    }

    .login-btn {
        padding: 8px 16px;
    }
}

/* ========================================
   Top navigation menu (multi-page)
   ======================================== */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 26px;
    list-style: none;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-color);
    opacity: 1;
}

.nav-links a.active {
    color: var(--text-color);
}

.nav-controls {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-left: 22px;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--text-color);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
}

.nav-toggle:hover { background: rgba(79, 70, 229, 0.08); }
.nav-toggle .close-icon { display: none; }
#site-header.nav-open .nav-toggle .open-icon { display: none; }
#site-header.nav-open .nav-toggle .close-icon { display: block; }

/* ========================================
   Generic sections & headings
   ======================================== */

.section { padding: 90px 0; }

.section-alt {
    background: var(--section-alt-bg);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.section-head {
    max-width: 700px;
    margin: 0 auto 56px;
    text-align: center;
}

.section-head.left {
    margin-left: 0;
    text-align: left;
}

.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.8px;
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.12rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.text-center { text-align: center; }
.muted { color: var(--text-secondary); }

/* Inner-page hero */
.page-hero {
    padding-top: 150px;
    padding-bottom: 64px;
    text-align: center;
}

.page-hero .eyebrow { margin-bottom: 20px; }

.page-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -1.2px;
    line-height: 1.1;
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.65;
}

.page-hero .hero-actions { margin-top: 36px; }

/* Breadcrumb */
.breadcrumb {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 18px;
}
.breadcrumb a:hover { color: var(--accent-color); opacity: 1; }
.breadcrumb .sep { opacity: 0.5; margin: 0 8px; }

/* ========================================
   Feature grid helpers + hover
   ======================================== */

.feature-card {
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.feature-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
}
.feature-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.feature-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

/* ========================================
   Logo grids (integrations)
   ======================================== */

.logo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.logo-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 30px 18px;
    min-height: 136px;
    transition: transform 0.15s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.logo-tile:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
    border-color: var(--accent-color);
}

.logo-tile img {
    height: 40px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
}

.logo-name {
    font-size: 0.85rem;
    font-weight: 500;
    color: #475569;
}

/* logo surfaces keep a light background in dark mode so brand colours read */
body.dark-mode .logo-tile {
    background: #F8FAFC;
    border-color: #1E293B;
}
body.dark-mode .logo-name { color: #475569; }

/* Compact logo row (homepage teaser) */
.logo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.logo-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 24px;
    height: 64px;
}

.logo-pill img {
    height: 26px;
    width: auto;
    max-width: 110px;
    object-fit: contain;
}

body.dark-mode .logo-pill {
    background: #F8FAFC;
    border-color: #1E293B;
}

/* ========================================
   Check lists
   ======================================== */

.check-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.check-list li {
    display: flex;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-color);
    line-height: 1.55;
}

.check-list svg {
    flex-shrink: 0;
    color: var(--accent-color);
    margin-top: 3px;
}

/* ========================================
   Steps
   ======================================== */

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

.step {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px 28px;
    box-shadow: var(--card-shadow);
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.1);
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.step h3 {
    font-size: 1.12rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
}

.step p {
    color: var(--text-secondary);
    font-size: 0.96rem;
    line-height: 1.6;
}

/* ========================================
   Split (two-column feature rows)
   ======================================== */

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

.split + .split { margin-top: 80px; }

.split .eyebrow { margin-bottom: 16px; }

.split h2 {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: -0.6px;
    margin-bottom: 16px;
    line-height: 1.2;
}

.split p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 18px;
}

.split-media {
    background: var(--section-alt-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 32px;
    min-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.split.reverse .split-text { order: 2; }

/* ========================================
   Stats band
   ======================================== */

.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    text-align: center;
}

.stat-num {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -1px;
    color: var(--accent-color);
    line-height: 1;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 10px;
    line-height: 1.4;
}

/* ========================================
   Pricing
   ======================================== */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.price-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 36px 30px;
    box-shadow: var(--card-shadow);
}

.price-card.featured {
    border-color: var(--accent-color);
    box-shadow: 0 12px 40px rgba(79, 70, 229, 0.18);
    position: relative;
}

.price-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent-color);
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.price-name {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 6px;
}

.price-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 22px;
    min-height: 40px;
}

.price-amount {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.1;
}

.price-period {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.price-note {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 6px;
}

.price-cta { margin: 26px 0; }

.price-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
}

.price-features li {
    display: flex;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-color);
    line-height: 1.5;
}

.price-features svg {
    flex-shrink: 0;
    color: var(--accent-color);
    margin-top: 3px;
}

.price-features li.muted { color: var(--text-secondary); }

/* ========================================
   Testimonials / quote cards
   (use only for REAL quotes — never fabricate)
   ======================================== */

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

.quote-card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    box-shadow: var(--card-shadow);
}

.quote-card p {
    font-size: 1.05rem;
    line-height: 1.65;
    margin-bottom: 20px;
}

.quote-author { display: flex; align-items: center; gap: 12px; }

.quote-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(79, 70, 229, 0.12);
    color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.quote-name { font-size: 0.92rem; font-weight: 600; }
.quote-role { font-size: 0.85rem; color: var(--text-secondary); }

/* ========================================
   FAQ (native details/summary)
   ======================================== */

.faq { max-width: 760px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border-color); }

.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 22px 0;
    font-size: 1.05rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
    content: "+";
    font-size: 1.4rem;
    font-weight: 400;
    color: var(--accent-color);
    line-height: 1;
}

.faq-item[open] summary::after { content: "\2212"; }

.faq-item p {
    padding: 0 0 22px;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
}

/* ========================================
   CTA band (brand-coloured)
   ======================================== */

.cta-band {
    background: #4F46E5;
    border-radius: 24px;
    padding: 64px 48px;
    text-align: center;
    color: #fff;
}

.cta-band h2 {
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: -0.6px;
    margin-bottom: 14px;
}

.cta-band p {
    font-size: 1.1rem;
    opacity: 0.92;
    max-width: 560px;
    margin: 0 auto 30px;
}

.btn-white { background: #fff; color: #4F46E5; }
.btn-white:hover { background: #f1f5f9; opacity: 1; }

/* ========================================
   Blog
   ======================================== */

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

.post-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.post-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.post-thumb {
    height: 156px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.16), rgba(79, 70, 229, 0.04));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
}

.post-body {
    padding: 26px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-tag {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.post-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    letter-spacing: -0.3px;
    margin-bottom: 10px;
    line-height: 1.35;
}

.post-excerpt {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex: 1;
}

.post-meta {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 18px;
}

.post-link {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-top: 16px;
}

/* ========================================
   Article (blog post body)
   ======================================== */

.article {
    max-width: 760px;
    margin: 0 auto;
    padding-top: 130px;
    padding-bottom: 40px;
}

.article-header { margin-bottom: 36px; }

.article-header h1 {
    font-size: 2.6rem;
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1.15;
    margin-bottom: 18px;
}

.article-meta { font-size: 0.9rem; color: var(--text-secondary); }

.prose > * + * { margin-top: 20px; }

.prose h2 {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-top: 44px;
    margin-bottom: 4px;
}

.prose h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 32px;
}

.prose p, .prose li {
    font-size: 1.06rem;
    line-height: 1.8;
    color: var(--text-color);
}

.prose ul, .prose ol {
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.prose a { color: var(--accent-color); text-decoration: underline; }
.prose strong { font-weight: 600; }

.prose blockquote {
    border-left: 3px solid var(--accent-color);
    padding: 6px 0 6px 22px;
    color: var(--text-secondary);
    font-style: italic;
}

.callout {
    background: var(--section-alt-bg);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 22px 24px;
}

/* ========================================
   Footer (expanded, multi-column)
   ======================================== */

footer { padding: 60px 0 36px; }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-color);
}

.footer-brand .logo { margin-bottom: 14px; }

.footer-tagline {
    font-size: 0.92rem;
    color: var(--text-secondary);
    max-width: 280px;
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-color);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.footer-col a {
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.footer-col a:hover { color: var(--accent-color); opacity: 1; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom .footer-legal {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
}

.footer-bottom .footer-legal a {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-bottom .footer-legal a:hover { color: var(--accent-color); opacity: 1; }

/* ========================================
   Responsive — tablet (<= 900px)
   ======================================== */

@media (max-width: 900px) {
    .nav-toggle { display: inline-flex; }

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        margin: 0;
        padding: 8px 0 16px;
        background: var(--bg-color);
        border-bottom: 1px solid var(--border-color);
        box-shadow: var(--card-shadow);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height 0.25s ease, opacity 0.2s ease;
    }

    #site-header.nav-open .nav-menu {
        max-height: 85vh;
        opacity: 1;
        pointer-events: auto;
        overflow-y: auto;
    }

    .nav-links {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }

    .nav-links a {
        display: block;
        padding: 13px 40px;
        font-size: 1rem;
        color: var(--text-color);
    }

    .nav-links a:hover { background: var(--section-alt-bg); color: var(--text-color); }

    .nav-menu .login-btn {
        margin: 14px 40px 0;
        justify-content: center;
    }

    .split,
    .pricing-grid,
    .steps,
    .post-grid,
    .quote-grid,
    .feature-grid.cols-2,
    .feature-grid.cols-4 {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .split + .split { margin-top: 48px; }
    .split.reverse .split-text { order: 0; }

    .stats { grid-template-columns: repeat(2, 1fr); gap: 32px; }
    .logo-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px 24px; }

    .page-hero { padding-top: 130px; }
    .page-hero h1 { font-size: 2.4rem; letter-spacing: -1px; }
    .section-title { font-size: 2rem; }
    .cta-band { padding: 48px 28px; }
}

/* ========================================
   Responsive — mobile (<= 600px)
   ======================================== */

@media (max-width: 600px) {
    .section { padding: 64px 0; }
    .logo-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .footer-bottom { flex-direction: column-reverse; align-items: center; text-align: center; }
    .article-header h1 { font-size: 2rem; }
    .article { padding-top: 110px; }
}

/* ========================================
   Review fixes — contrast, focus, richer media
   ======================================== */

/* Dark mode: keep primary actions on the DEEP brand indigo.
   (--accent-color flips light in dark mode, so white text on it failed WCAG.) */
body.dark-mode .btn-primary,
body.dark-mode .login-btn,
body.dark-mode .price-badge { background: #4F46E5; color: #fff; }
body.dark-mode .btn-primary:hover,
body.dark-mode .login-btn:hover { background: #4338CA; }
body.dark-mode .price-card.featured { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45); }

/* Visible, branded keyboard focus */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
.btn:focus-visible,
.login-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 8px;
}
.cta-band .btn-white:focus-visible { outline-color: #fff; }

/* Dark-mode tints for chips / icon backgrounds (were stuck on the light wash) */
body.dark-mode .eyebrow,
body.dark-mode .feature-icon,
body.dark-mode .step-num,
body.dark-mode .quote-avatar { background: rgba(129, 140, 248, 0.16); }

/* Split media reads as a real card on ANY background and can hold rich content */
.split-media {
    background: var(--card-bg);
    box-shadow: var(--card-shadow);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 14px;
    padding: 26px;
}

/* Hero media (homepage) */
.hero-media { margin: 56px auto 0; max-width: 700px; }

/* Illustrative product mock cards (sample UI data — never customer metrics) */
.mock {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: var(--card-shadow);
    padding: 22px 24px;
    text-align: left;
    width: 100%;
}
.mock-title {
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 12px;
}
.mock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid var(--border-color);
}
.mock-row:last-child { border-bottom: 0; }
.mock-label { font-size: 0.92rem; font-weight: 500; }
.tag-axis {
    font-size: 0.72rem;
    font-weight: 600;
    padding: 4px 11px;
    border-radius: 999px;
    white-space: nowrap;
}
.tag-compta { background: rgba(100, 116, 139, 0.14); color: var(--text-secondary); }
.tag-recouvre { background: rgba(79, 70, 229, 0.12); color: var(--accent-color); }
body.dark-mode .tag-recouvre { background: rgba(129, 140, 248, 0.18); }

/* Channel-sequence chips */
.chip-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 0.85rem;
    font-weight: 500;
    background: rgba(79, 70, 229, 0.08);
    color: var(--accent-color);
    padding: 8px 14px;
    border-radius: 999px;
}
body.dark-mode .chip { background: rgba(129, 140, 248, 0.16); }
.chip svg { width: 15px; height: 15px; }
.chip-arrow { color: var(--text-secondary); font-weight: 600; }

/* Mini call transcript */
.transcript { display: flex; flex-direction: column; gap: 10px; width: 100%; }
.bubble { max-width: 86%; padding: 10px 14px; border-radius: 14px; font-size: 0.9rem; line-height: 1.45; }
.bubble.agent {
    align-self: flex-start;
    background: rgba(79, 70, 229, 0.1);
    color: var(--text-color);
    border-bottom-left-radius: 4px;
}
body.dark-mode .bubble.agent { background: rgba(129, 140, 248, 0.16); }
.bubble.client {
    align-self: flex-end;
    background: var(--section-alt-bg);
    border: 1px solid var(--border-color);
    border-bottom-right-radius: 4px;
}
.transcript-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.82rem;
    color: var(--accent-color);
    font-weight: 600;
    margin-top: 4px;
}
.transcript-foot svg { flex-shrink: 0; }
