:root {
    color-scheme: light;
    --creative-void: #f7f9fb;
    --creative-ink: #ffffff;
    --creative-panel: #ffffff;
    --creative-panel-raised: #f2f5f8;
    --creative-grid: rgba(65, 81, 99, .1);
    --creative-line: #dce3e9;
    --creative-copy: #1d2935;
    --creative-muted: #596878;
    --creative-red: #d92538;
    --creative-red-deep: #b7192b;
    --creative-red-glow: rgba(217, 37, 56, .14);
    --bg: var(--creative-void);
    --surface: #ffffff;
    --surface-soft: #f2f5f8;
    --text: var(--creative-copy);
    --muted: var(--creative-muted);
    --line: var(--creative-line);
    --brand: var(--creative-red);
    --brand-dark: var(--creative-red-deep);
    --ink: var(--creative-copy);
}

body,
.published-home {
    background: var(--creative-void);
    color: var(--creative-copy);
}

body::before {
    display: none;
}

.site-header {
    border-bottom-color: var(--creative-line);
    background: rgba(255, 255, 255, .97);
}

.brand-name,
.nav-link {
    color: var(--creative-copy);
}

.brand::after {
    color: #6a7886;
}

.nav-link:hover,
.nav-link.is-active {
    color: var(--creative-red-deep);
}

.client-entry,
.menu-button {
    border-color: var(--creative-line);
    background: #fff;
    color: var(--creative-copy);
}

.button:hover,
.header-actions .button:hover,
.ai-series-button:hover {
    border-color: var(--creative-red-deep);
    background: var(--creative-red-deep);
    color: #fff;
}

.button-outline,
.published-actions .button-outline,
.solution-consulting-actions .button-outline {
    border-color: #aab6c2;
    background: rgba(255, 255, 255, .82);
    color: var(--creative-copy);
}

.button-outline:hover,
.published-actions .button-outline:hover {
    border-color: var(--creative-red);
    background: #fff2f3;
    color: var(--creative-red-deep);
}

.page-hero,
.calculator-hero,
.solutions-hero,
.solution-detail-hero,
.ai-series-hero,
.ai-article-hero {
    border-bottom: 1px solid var(--creative-line);
    background: #f4f7f8;
    background-image: none;
    color: var(--creative-copy);
}

.page-hero {
    padding: 42px 0 38px;
}

.page-hero::before {
    display: none;
}

.page-hero .eyebrow {
    font-family: var(--creative-body);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.page-hero .container,
.published-hero-copy,
.section-head,
.published-section-head {
    animation: none;
}

.page-hero::after,
.solutions-hero::after,
.solution-detail-hero::after {
    display: none;
}

.page-hero h1,
.solutions-hero h1,
.solution-detail-hero h1,
.ai-series-hero h1,
.ai-article-heading h1 {
    color: var(--creative-copy);
    font-weight: 800;
    text-transform: none;
}

.page-hero h1 {
    margin: 8px 0 10px;
}

.page-hero p,
.solutions-hero p,
.solution-detail-hero p,
.ai-series-lead,
.ai-article-heading > p {
    color: var(--creative-muted);
}

.page-hero p,
.solutions-hero p,
.solution-detail-hero p {
    font-size: 1rem;
    line-height: 1.6;
}

.content-band,
.published-resources,
.published-method,
.published-ecosystem,
.ai-series-catalog,
.ai-article-layout {
    background: #fff;
    color: var(--creative-copy);
}

.content-band-soft,
.published-specialties,
.published-about,
.solution-consulting-band,
.solution-benefits-band,
.ai-series-intro,
.ai-series-business,
.ai-home-feature,
.ai-blog-feature,
.ai-article-pagination {
    border-color: var(--creative-line);
    background: #f2f5f8;
    color: var(--creative-copy);
}

.section-head h2,
.calculator-intro h2,
.calculator-category-head h2,
.published-section-head h2,
.published-about h2,
.published-ecosystem h2,
.ai-series-section-head h2,
.content-band-soft .section-head h2,
.published-specialties .published-section-head h2,
.published-method .published-section-head h2,
.solution-consulting-inner h2,
.solution-benefits-inner h2,
.ai-series-business h2,
.ai-home-copy h2,
.ai-blog-feature h2 {
    color: var(--creative-copy);
}

.section-head p,
.published-section-head p,
.published-about p,
.published-ecosystem p,
.content-band-soft .section-head p,
.published-specialties .published-section-head p,
.published-method .published-section-head p,
.solution-consulting-inner p,
.solution-benefits-inner li,
.ai-series-business p,
.ai-home-copy p,
.ai-blog-feature p,
.article-body,
.article-body p {
    color: var(--creative-muted);
}

.content-band-soft .eyebrow {
    color: var(--creative-red);
}

.published-hero {
    border-bottom: 1px solid var(--creative-line);
    background-color: #f8fafc;
    background-image: linear-gradient(90deg, rgba(255, 255, 255, .98) 0%, rgba(255, 255, 255, .94) 37%, rgba(255, 255, 255, .16) 72%, transparent 100%), url('/assets/excel-automation-hero-light.webp');
    background-size: cover;
    background-position: center;
}

.published-hero h1,
.published-hero h2 {
    color: var(--creative-copy);
}

.published-hero h1 span {
    color: var(--creative-red);
}

.published-hero-copy > p {
    color: #364656;
}

.card,
.project-tile,
.blog-card,
.contact-card,
.result-card,
.newsletter-panel,
.department-hero-card,
.solution-area-card,
.solution-item-card,
.calculator-card,
.calculator-tool,
.calculator-nav-card,
.published-resource-card,
.published-area,
.published-about-panel,
.published-specialty-card,
.published-method-grid li,
.editorial-card,
.ai-series-card {
    border-color: var(--creative-line);
    background: #fff;
    box-shadow: 0 5px 18px rgba(35, 55, 75, .04);
}

.card h2,
.card h3,
.project-tile h3,
.blog-card h3,
.contact-card h3,
.solution-area-card h2,
.solution-item-card h3,
.calculator-card strong,
.published-resource-card h3,
.published-area strong,
.published-about-panel h3,
.published-specialty-card h3,
.published-specialty-card li,
.published-method-grid h3,
.editorial-card h2,
.editorial-card h3,
.ai-series-card h3 a {
    color: var(--creative-copy);
}

.card p,
.project-tile p,
.blog-card p,
.contact-card p,
.solution-area-card p,
.solution-item-card p,
.calculator-card p,
.published-resource-card p,
.published-area small,
.published-about-panel span,
.published-specialty-card p,
.published-method-grid p,
.editorial-card p,
.ai-series-card p {
    color: var(--creative-muted);
}

.published-specialty-icon,
.published-area-icon,
.solution-area-icon,
.solution-detail-icon {
    border-color: #f2bdc5;
    background: #fff1f2;
    color: var(--creative-red);
}

.filter-pill,
.feature-pills li,
.ai-article-tags span {
    border-color: #cbd5df;
    background: #fff;
    color: #465769;
}

.filter-pill:hover,
.filter-pill.is-active,
.filter-pill.is-static {
    border-color: var(--creative-red);
    background: var(--creative-red);
    color: #fff;
}

.solution-area-nav {
    border-color: var(--creative-line);
    background: #fff;
}

.solution-area-nav a {
    border-color: var(--creative-line);
    color: #435367;
}

.published-cta {
    background: var(--creative-red);
}

.published-cta::before {
    display: none;
}

.published-cta-button {
    border-color: #fff;
    background: #fff;
    color: var(--creative-red-deep);
}

.published-cta-button:hover {
    border-color: #fff;
    background: #fff;
    color: var(--creative-red-deep);
}

.form-panel,
.faq-item {
    border-color: var(--creative-line);
    background: #fff;
}

label,
.faq-item summary,
.article-body h2,
.article-body h3,
.newsletter-panel h2 {
    color: var(--creative-copy);
}

input,
textarea,
select,
.calculator-input-wrap {
    border-color: #c8d2dc;
    background: #fff;
    color: var(--creative-copy);
}

.ai-series-page,
.ai-article,
.ai-home-feature,
.ai-blog-feature {
    --ai-bg: #f3f6f9;
    --ai-panel: #fff;
    --ai-panel-soft: #f2f5f8;
    --ai-white: var(--creative-copy);
    --ai-muted: var(--creative-muted);
    --ai-line: var(--creative-line);
}

.ai-series-intro p,
.ai-series-intro p strong,
.ai-blog-chapters a,
.ai-article-back,
.ai-article-meta {
    color: var(--creative-copy);
}

.ai-series-hero-media,
.ai-article-poster,
.ai-blog-feature-media {
    border-color: var(--creative-line);
    box-shadow: 12px 12px 0 #e7ecf1;
}

.ai-article-question {
    background: #fff5f5;
}

.ai-article-question h2,
.ai-article-aside,
.ai-article-aside a,
.ai-article-pagination a,
.ai-article-pagination-grid > span {
    color: var(--creative-copy);
}

.ai-article-aside,
.ai-article-pagination a,
.ai-article-pagination-grid > span {
    border-color: var(--creative-line);
    background: #fff;
}

.ai-article-aside p {
    color: var(--creative-muted);
}

.ai-article-pagination-grid {
    background: var(--creative-line);
}

.site-footer {
    border-top-color: var(--creative-line);
    background: #eaf0f5;
    color: var(--creative-copy);
}

.footer-logo strong,
.footer-column h4,
.footer-contact h4 {
    color: var(--creative-copy);
}

.site-footer .footer-tagline {
    color: var(--creative-red-deep);
}

.footer-brand > p:last-of-type,
.footer-contact p,
.footer-contact span,
.footer-column a,
.footer-contact > a:not(.footer-contact-button),
.footer-social a,
.footer-bottom p {
    color: #536476;
}

.footer-social a,
.footer-bottom {
    border-color: #ced8e2;
}

.footer-contact-button {
    border-color: var(--creative-red);
    background: var(--creative-red);
    color: #fff;
}

.footer-contact-button span {
    color: #fff;
}

@media (max-width: 980px) {
    .site-nav {
        background: #fff;
    }
}

@media (max-width: 760px) {
    .nav-link {
        color: var(--creative-copy);
    }

    .nav-link:hover,
    .nav-link.is-active {
        background: #fff1f2;
        color: var(--creative-red-deep);
    }

    .published-hero {
        background-image: linear-gradient(90deg, rgba(255, 255, 255, .96), rgba(255, 255, 255, .83)), url('/assets/excel-automation-hero-light.webp');
        background-position: 67% center;
    }
}

/* Public-page heading scale */
.published-hero h1 {
    font-size: 3.1rem;
    line-height: 1.08;
    text-transform: none;
}

.published-hero h2 {
    font-size: 1.35rem;
    line-height: 1.3;
    text-transform: none;
}

.page-hero h1,
.solutions-hero h1,
.solution-detail-hero h1,
.ai-series-hero h1,
.ai-article-heading h1 {
    font-size: 2.4rem;
    line-height: 1.12;
}

.calculator-hero h1 {
    font-size: 2.4rem;
    line-height: 1.12;
    text-transform: none;
}

.ai-series-hero-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 300px);
    min-height: 0;
    gap: 46px;
    padding-top: 36px;
    padding-bottom: 36px;
}

.ai-series-hero-media {
    box-shadow: none;
}

.section-head h2,
.calculator-intro h2,
.calculator-category-head h2,
.published-section-head h2,
.published-about h2,
.published-ecosystem h2,
.ai-series-section-head h2,
.content-band-soft .section-head h2,
.published-specialties .published-section-head h2,
.published-method .published-section-head h2 {
    font-size: 2.1rem;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
}

.published-cta h2,
.solution-consulting-inner h2,
.solution-benefits-inner h2,
.ai-series-business h2,
.ai-home-copy h2,
.ai-blog-feature h2 {
    font-size: 2.1rem;
    line-height: 1.2;
    text-transform: none;
}

@media (max-width: 980px) {
    .page-hero h1,
    .solutions-hero h1,
    .solution-detail-hero h1,
    .ai-series-hero h1,
    .ai-article-heading h1,
    .calculator-hero h1 {
        font-size: 2.15rem;
    }

    .published-hero h1 {
        font-size: 2.65rem;
    }

    .section-head h2,
    .calculator-intro h2,
    .calculator-category-head h2,
    .published-section-head h2,
    .published-about h2,
    .published-ecosystem h2,
    .ai-series-section-head h2,
    .content-band-soft .section-head h2,
    .published-specialties .published-section-head h2,
    .published-method .published-section-head h2,
    .published-cta h2,
    .solution-consulting-inner h2,
    .solution-benefits-inner h2,
    .ai-series-business h2,
    .ai-home-copy h2,
    .ai-blog-feature h2 {
        font-size: 1.9rem;
    }
}

@media (max-width: 760px) {
    .page-hero h1,
    .solutions-hero h1,
    .solution-detail-hero h1,
    .ai-series-hero h1,
    .ai-article-heading h1,
    .calculator-hero h1 {
        font-size: 1.85rem;
        line-height: 1.14;
    }

    .page-hero {
        padding: 28px 0 27px;
    }

    .published-hero h1 {
        font-size: 2.15rem;
        line-height: 1.1;
    }

    .published-hero h2 {
        font-size: 1.2rem;
    }

    .section-head h2,
    .calculator-intro h2,
    .calculator-category-head h2,
    .published-section-head h2,
    .published-about h2,
    .published-ecosystem h2,
    .ai-series-section-head h2,
    .content-band-soft .section-head h2,
    .published-specialties .published-section-head h2,
    .published-method .published-section-head h2,
    .published-cta h2,
    .solution-consulting-inner h2,
    .solution-benefits-inner h2,
    .ai-series-business h2,
    .ai-home-copy h2,
    .ai-blog-feature h2 {
        font-size: 1.65rem;
        line-height: 1.2;
    }
}

@media (max-width: 680px) {
    .ai-series-hero-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        padding-top: 30px;
        padding-bottom: 30px;
    }

    .ai-series-lead {
        margin-top: 13px;
    }

    .ai-series-actions {
        gap: 12px;
        margin-top: 20px;
    }

    .ai-series-actions > span {
        display: none;
    }

    .ai-series-hero-media {
        width: 230px;
        max-width: 100%;
        margin-right: auto;
        margin-left: auto;
    }

    .ai-series-hero-label {
        left: 7px;
        bottom: 7px;
        padding: 5px 7px;
        font-size: .72rem;
    }
}

.services-support {
    max-width: 820px;
}

.services-support h2 {
    margin: 10px 0 12px;
    color: var(--creative-copy);
    font-family: var(--creative-condensed);
    font-size: 2.15rem;
    line-height: 1.12;
    text-transform: uppercase;
}

.services-support p {
    margin: 0 0 28px;
    color: var(--creative-muted);
}

.services-more {
    border-top: 1px solid var(--creative-line);
    border-bottom: 1px solid var(--creative-line);
}

.services-more summary {
    padding: 18px 0;
    color: var(--creative-copy);
    cursor: pointer;
    font-weight: 700;
}

.services-more ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 28px;
    margin: 0;
    padding: 0 0 22px;
    list-style: none;
}

.services-more a,
.services-structure-link {
    color: var(--creative-red-deep);
    font-weight: 700;
}

.services-structure-link {
    display: inline-block;
    margin-top: 24px;
}

@media (max-width: 760px) {
    .services-support h2 {
        font-size: 1.8rem;
    }

    .services-more ul {
        grid-template-columns: 1fr;
    }
}
