/* ---- Base ---- */
:root {
    /* 112.5% on html → 18px body; scales rem site-wide */
    --font-size-base: 1rem;
    --font-size-sm: 0.944rem;   /* ~17px — secondary / card body */
    --font-size-min: 0.889rem;  /* ~16px — nav, footer, stat labels (findbacomps body) */
    --font-size-meta: 0.833rem; /* ~15px — eyebrows, tags, legal/meta floor */
    --line-height-base: 1.6;
    --line-height-relaxed: 1.75;
}

html {
    scrollbar-gutter: stable;
    overflow-y: scroll; /* always reserve scrollbar gutter, prevents layout shift on navigation */
    font-size: 112.5%;
}

html, body {
    font-family: 'Lato', 'Segoe UI', Tahoma, Arial, sans-serif;
    color: #555;
    background: #ffffff;
    margin: 0;
    padding: 0;
    line-height: var(--line-height-base);
    font-weight: 400;
}

body {
    font-size: var(--font-size-base);
}

*, *::before, *::after {
    box-sizing: border-box;
}

h1, h2, h3, h4 {
    color: #333;
    font-weight: 400;
}

h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
h2 { font-size: 1.6rem; }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

:focus, :target {
    outline: none !important;
}

a {
    color: #ef832b;
    text-decoration: none;
}

a:hover {
    color: #d16a1a;
}

img {
    max-width: 100%;
    height: auto;
}

/* ---- Container ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ---- Page Hero Banner ---- */
.page-hero {
    background: linear-gradient(135deg, #fce4d0 0%, #f8c9a2 100%);
    padding: 40px 0 30px;
    margin-bottom: 0;
}

.page-hero h1 {
    color: #ef832b;
    font-size: 2rem;
    font-weight: 400;
    margin: 0 0 4px;
}

.page-hero p {
    color: #888;
    font-size: 1rem;
    margin: 0;
}

/* ---- Page Content ---- */
.page-content {
    padding: 40px 20px 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.page-content h1 {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 0.3rem;
}

.page-subtitle {
    color: #888;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.lead-text {
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* ---- Hero Section (Home) ---- */
.hero {
    background: #172e4d;
    padding: 90px 0 140px;
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 88%, 0 100%);
}

/* Radial orange glow top-left */
.hero::before {
    content: '';
    position: absolute;
    top: -120px;
    left: -80px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(239,131,43,0.14) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Faint dot grid */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,0.045) 1px, transparent 1px);
    background-size: 32px 32px;
    pointer-events: none;
    z-index: 0;
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-left {
    /* left column */
}

.hero-right {
    /* right column */
}

.hero-eyebrow {
    font-size: var(--font-size-meta);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ef832b;
    margin-bottom: 20px;
}

/* Override for hero on dark bg */
.hero .hero-eyebrow {
    color: #ef832b;
}

/* hero-cloud kept for legacy — no longer rendered */
.hero-cloud {
    display: none;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    line-height: 1.15;
    margin-bottom: 20px;
}

.hero-highlight {
    color: #ef832b;
}

.hero-subtitle {
    color: #a8bdd4;
    font-size: 1.05rem;
    line-height: 1.75;
    margin-bottom: 32px;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent;
    border: 2px solid #1e3a5f;
    color: #1e3a5f;
    padding: 13px 32px;
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.btn-outline:hover {
    background: #1e3a5f;
    color: #fff;
}

/* btn-outline on dark hero bg */
.hero .btn-outline {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}

.hero .btn-outline:hover {
    border-color: #fff;
    background: rgba(255,255,255,0.1);
    color: #fff;
}

/* Hero results card */
.hero-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.13);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 16px 60px rgba(0,0,0,0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}

.hero-card-label {
    font-size: var(--font-size-meta);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 24px;
}

.stat-row {
    padding: 16px 0;
    border-bottom: 1px solid rgba(255,255,255,0.09);
}

.stat-row:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.stat-num {
    font-size: 28px;
    font-weight: 900;
    color: #ef832b;
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: var(--font-size-min);
    color: rgba(255,255,255,0.6);
    line-height: 1.4;
}

/* ---- Hero Background ---- */
.hero.has-concept {
    position: relative;
    border-radius: 0;
    overflow: hidden;
    isolation: isolate;
}

.hero.has-concept::before,
.hero.has-concept::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.concept-current-site {
    background:
        linear-gradient(120deg, rgba(15, 34, 52, 0.74), rgba(15, 34, 52, 0.36)),
        url('/media/Owcer_home_mockup_06-compressor.png') center/cover no-repeat !important;
}

.concept-current-site::before {
    background: radial-gradient(circle at 16% 20%, rgba(239, 131, 43, 0.34), transparent 48%);
    z-index: -1;
}

/* ---- Site shell layout (static index.html + Blazor MainLayout) ---- */
.page,
.app-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: #ffffff;
}

.page main,
.app-shell-main {
    flex: 1;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
}

/* ---- Site header / nav (global — must match shell and NavMenu) ---- */
.secondary-bar {
    background: #ef832b;
    color: #fff;
    font-size: var(--font-size-min);
    padding: 6px 0;
}

.secondary-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 20px;
}

.secondary-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.secondary-right a,
.secondary-right .dropdown-toggle {
    color: #fff;
    text-decoration: none;
    font-size: var(--font-size-min);
    font-weight: 300;
}

.secondary-right > a:hover,
.secondary-right .dropdown-toggle:hover {
    color: #fce4d0;
}

.primary-nav {
    background: #fff;
    border-bottom: 1px solid #ececec;
    height: 66px;
}

.primary-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding: 0 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
}

.logo-mark {
    flex-shrink: 0;
}

.logo-wordmark {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.logo-name {
    font-family: 'Lato', sans-serif;
    font-weight: 900;
    font-size: 19px;
    letter-spacing: 1.5px;
    color: #ef832b;
}

.logo-tag {
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    font-size: var(--font-size-meta);
    letter-spacing: 1px;
    color: #888;
    text-transform: uppercase;
}

.main-menu {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

/* Override Bootstrap .nav-link so shell and WASM render identically */
.site-header .main-menu .nav-link {
    display: inline-block !important;
    color: #4a4a4a;
    text-decoration: none;
    font-size: var(--font-size-min);
    font-weight: 300;
    padding: 8px 14px !important;
    margin: 0 4px;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    transition: color 0.2s;
}

.site-header .main-menu .nav-link:hover,
.site-header .main-menu .nav-link.active {
    color: #ef832b;
    text-decoration: none;
}

.btn-nav-cta {
    background: #ef832b;
    color: #fff !important;
    padding: 8px 16px !important;
    border-radius: 6px;
    font-size: var(--font-size-min) !important;
    font-weight: 600 !important;
    text-decoration: none;
    margin-left: 8px;
    white-space: nowrap;
    transition: background 0.2s;
}

.btn-nav-cta:hover {
    background: #d16a1a;
    color: #fff !important;
}

.sticky-assessment-bar {
    display: none;
}

@media (max-width: 768px) {
    .sticky-assessment-bar {
        display: block;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        background: #1e3a5f;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
        padding: 10px 16px;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.15);
    }

    .sticky-assessment-inner {
        max-width: 1200px;
        margin: 0 auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .sticky-assessment-text {
        margin: 0;
        color: #fff;
        font-size: var(--font-size-min);
        line-height: 1.3;
        flex: 1;
    }

    .sticky-assessment-btn {
        padding: 10px 16px !important;
        font-size: var(--font-size-min) !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .page {
        padding-bottom: 72px;
    }
}

@media (min-width: 769px) {
    .main-menu .btn-nav-cta {
        display: inline-block;
    }
}

@media (max-width: 768px) {
    .main-menu .btn-nav-cta {
        display: block;
        margin: 8px 14px 4px;
        text-align: center;
    }
}

.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    margin-left: 4px;
    position: relative;
    top: -1px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border: 1px solid #e5e5e5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    min-width: 200px;
    z-index: 100;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 8px 20px;
    color: #555;
    text-decoration: none;
    font-size: var(--font-size-min);
}

.dropdown-menu a:hover {
    color: #ef832b;
    background: #fef7f4;
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid #ddd;
    padding: 6px 12px;
    font-size: var(--font-size-sm);
    color: #555;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .main-menu {
        flex-direction: column;
        position: absolute;
        top: 66px;
        left: 0;
        right: 0;
        background: #fff;
        border-bottom: 1px solid #eee;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        padding: 10px 0;
        z-index: 90;
    }

    .main-menu.menu-closed {
        display: none;
    }

    .secondary-bar {
        display: none;
    }

    .primary-nav {
        position: relative;
    }
}

/* ---- Section Styles ---- */
.section-heading {
    text-align: center;
    color: #1e3a5f;
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 8px;
    user-select: none;
}

.section-heading::selection {
    background: transparent;
}

.section-eyebrow {
    text-align: center;
    font-size: var(--font-size-meta);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #ef832b;
    margin-bottom: 8px;
}

.section-sub {
    text-align: center;
    color: #888;
    font-size: 1.12rem;
    margin-bottom: 40px;
    margin-top: 10px;
}

/* Values Section */
.values-section {
    background: #fef7f4;
    padding: 58px 0 52px;
}

/* Services Section */
.services-section {
    background: #fff;
    padding: 58px 0 54px;
}

/* ---- Three Column Grid ---- */
.three-col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 80px;
    margin-bottom: 20px;
}

.col-card {
    padding: 8px 0 4px;
}

.col-card h4 {
    color: #555;
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 10px;
    line-height: 1.2;
}

.col-card p {
    color: #555;
    font-size: var(--font-size-sm);
    font-weight: 300;
    line-height: var(--line-height-base);
}

.col-card ul {
    padding-left: 18px;
    color: #555;
    font-size: var(--font-size-sm);
    font-weight: 300;
    line-height: var(--line-height-relaxed);
}

/* ---- Learn More ---- */
.learn-more-row {
    text-align: center;
    margin-top: 10px;
}

.learn-more-link {
    color: #ef832b;
    font-size: 1.125rem;
    font-weight: 300;
    text-decoration: none;
}

.learn-more-link:hover {
    text-decoration: underline;
}

/* ---- Products Page ---- */
.products-hero-banner {
    background-size: cover;
    background-position: center;
    position: relative;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-hero-banner .hero-overlay {
    text-align: center;
    padding: 60px 20px;
    width: 100%;
    background: rgba(0,0,0,0.4);
}

.products-hero-banner h1 {
    color: #fff;
    font-size: 2.6rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.products-hero-banner p {
    color: #fff;
    font-size: 1.4rem;
    font-weight: 300;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.products-hero {
    text-align: center;
    margin-bottom: 40px;
}

.products-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 0;
}

.products-hero .hero-sub {
    font-size: 1.4rem;
    color: #888;
    font-weight: 300;
}

.text-block {
    max-width: 900px;
    margin: 0 auto 40px;
}

/* Pricing Cards */
.pricing-cards {
    margin-bottom: 20px;
}

.price-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.price-card h3 {
    color: #ef832b;
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.price-card p {
    font-size: var(--font-size-sm);
    line-height: 1.6;
    color: #555;
    font-weight: 300;
}

.compare-link-row {
    text-align: center;
    margin: 20px 0 50px;
}

/* Webinar & About Summary */
.webinar-feature,
.about-summary {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.webinar-feature-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.webinar-feature-form {
    background: #ef832b;
    padding: 25px;
    border-radius: 6px;
}

.webinar-feature-form h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 18px;
}

.webinar-feature-form .form-group label {
    color: #fff;
}

.webinar-feature-form .form-group input {
    border: 1px solid rgba(255,255,255,0.4);
}

.webinar-feature-form .btn-send {
    background: #d16a1a;
    border: 2px solid #fff;
}

@media (max-width: 768px) {
    .webinar-feature-cols {
        grid-template-columns: 1fr;
    }
}

.webinar-cta {
    color: #ef832b;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 10px;
}

.btn-primary-link {
    display: inline-block;
    background: #ef832b;
    color: #fff;
    padding: 10px 28px;
    border-radius: 4px;
    font-weight: 600;
    font-size: var(--font-size-sm);
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.2s;
}

.btn-primary-link:hover {
    background: #d16a1a;
    color: #fff;
}

/* ---- About Page ---- */
.about-page {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.about-main {
    min-width: 0;
}

.about-page ul {
    padding-left: 18px;
    line-height: 1.8;
}

/* ---- Sidebar ---- */
.sidebar {
    padding-top: 20px;
}

.sidebar-widget {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 20px;
    margin-bottom: 20px;
}

.sidebar-widget h4 {
    font-size: 1rem;
    color: #333;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.sidebar-widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar-widget ul li {
    padding: 4px 0;
    border-bottom: 1px solid #eee;
}

.sidebar-widget ul li:last-child {
    border-bottom: none;
}

.sidebar-widget ul li a {
    color: #555;
    font-size: var(--font-size-sm);
}

.sidebar-widget ul li a:hover {
    color: #ef832b;
}

/* Recent Posts Widget */
.recent-posts-widget {
    background: #fff;
    border: 2px solid #ef832b;
    border-radius: 6px;
}

.recent-posts-widget h4 {
    background: #ef832b;
    color: #fff;
    margin: -20px -20px 12px;
    padding: 10px 20px;
    border-radius: 4px 4px 0 0;
    text-transform: none;
    letter-spacing: normal;
    font-size: 1rem;
}

/* ---- Contact Page ---- */
.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: var(--font-size-sm);
    color: #555;
    margin-bottom: 6px;
}

.form-group .required {
    color: #c00;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #ef832b;
    box-shadow: 0 0 0 2px rgba(239,131,43,0.15);
}

.radio-group {
    display: flex;
    gap: 20px;
}

.radio-group label {
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-send {
    background: #ef832b;
    color: #fff;
    border: none;
    padding: 12px 30px;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.btn-send:hover {
    background: #d16a1a;
}

/* ---- Contact Layout ---- */
.ctc-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 40px;
    padding: 60px 0 80px;
    align-items: start;
}

.ctc-info {
    background: #1e3a5f;
    border-radius: 12px;
    padding: 40px 32px;
    color: #fff;
}

.ctc-info h2 {
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
}

.ctc-info-lead {
    color: #b0c4d8;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
    margin: 0 0 32px;
}

.ctc-info-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}

.ctc-info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: var(--font-size-sm);
}

.ctc-info-item a,
.ctc-info-item span {
    color: #f5b060;
}

.ctc-info-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.ctc-hours {
    background: rgba(255,255,255,0.07);
    border-radius: 8px;
    padding: 16px 20px;
    border-left: 3px solid #ef832b;
}

.ctc-hours-label {
    font-size: var(--font-size-meta);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #a0b4c8;
    margin-bottom: 4px;
}

.ctc-hours-value {
    font-size: var(--font-size-sm);
    color: #fff;
    font-weight: 600;
}

.ctc-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.brevo-form-card {
    padding: 0;
    overflow: hidden;
    min-height: 520px;
}

.brevo-form-iframe {
    display: block;
    width: 100%;
    min-height: 520px;
    border: 0;
    background: transparent;
}

.brevo-form-placeholder {
    padding: 32px 28px;
    color: #666;
    font-size: 0.95rem;
    line-height: 1.6;
}

.ctc-form-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(30,58,95,0.10);
    padding: 40px 36px;
}

.ctc-optional {
    color: #aaa;
    font-weight: 400;
    font-size: var(--font-size-meta);
    margin-left: 4px;
}

.ctc-error {
    background: #fff5f5;
    border: 1px solid #f5c2c2;
    color: #c00;
    padding: 12px 16px;
    border-radius: 6px;
    margin-bottom: 20px;
    font-size: var(--font-size-sm);
}

.ctc-error a {
    color: #c00;
    text-decoration: underline;
}

.ctc-success {
    padding: 80px 0;
}

.ctc-success-inner {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 24px rgba(30,58,95,0.10);
    padding: 60px 40px;
    text-align: center;
    max-width: 460px;
    margin: 0 auto;
}

.ctc-success-inner h2 {
    font-size: 1.6rem;
    color: #1e3a5f;
    margin: 16px 0 8px;
}

.ctc-success-inner p {
    color: #666;
    margin: 0 0 28px;
}

.ctc-success-inner .btn-primary {
    display: inline-block;
    background: #ef832b;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 4px;
    font-size: var(--font-size-sm);
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    text-decoration: none;
}

.ctc-success-inner .btn-primary:hover {
    background: #d16a1a;
}

@media (max-width: 768px) {
    .ctc-layout {
        grid-template-columns: 1fr;
    }
}

/* ---- Blog Layout ---- */
.blog-layout {
    width: 100%;
}

.blog-main {
    min-width: 0;
}

.blog-meta {
    color: #999;
    font-size: var(--font-size-sm);
    margin-bottom: 8px;
}

.read-more {
    color: #ef832b;
    font-size: var(--font-size-sm);
    font-weight: 600;
}

/* ---- Services Page ---- */
.service-cols .col-card h3 {
    color: #ef832b;
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.consult-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.sprintful-embed {
    margin: 20px 0;
    min-height: 700px;
}

/* ---- Webinar Content ---- */
.webinar-content {
    max-width: 800px;
    margin-bottom: 40px;
}

.webinar-content p {
    line-height: 1.7;
    margin-bottom: 1rem;
}

.webinar-content ul {
    padding-left: 18px;
    line-height: 1.8;
}

.webinar-form {
    max-width: 500px;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 6px;
    padding: 30px;
    margin-top: 20px;
}

.webinar-form h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* ---- Markdown Body (for generic pages and posts) ---- */
.markdown-body {
    max-width: 800px;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
}

.markdown-body img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    margin-top: 1.4rem;
}

.markdown-body h2 {
    border-bottom: 2px solid #f2d7c3;
    padding-bottom: 0.3rem;
}

.markdown-body ul,
.markdown-body ol {
    padding-left: 1.2rem;
}

.markdown-body blockquote {
    border-left: 4px solid #ef832b;
    margin: 1rem 0;
    padding: 0.35rem 0.9rem;
    color: #6a5545;
    background: #fff4eb;
}

.markdown-body table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.25rem 0 1.5rem;
}

.markdown-body th,
.markdown-body td {
    border: 1px solid #d8dde3;
    padding: 10px 14px;
    text-align: left;
    vertical-align: top;
}

.markdown-body th {
    font-weight: 600;
    color: #1e3a5f;
    background: #fafbfc;
}

/* ---- Utility ---- */
.btn-primary {
    background: #ef832b;
    color: #fff;
    padding: 13px 32px;
    border-radius: 8px;
    font-size: var(--font-size-base);
    font-weight: 600;
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-primary:hover {
    background: #d16a1a;
    color: #fff;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #ef832b;
}

.version-update-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    padding: 0.65rem 1.25rem;
    background: #1e3a5f;
    color: #fff;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
    font-size: var(--font-size-sm);
}

.version-update-banner__refresh {
    border: 1px solid #ef832b;
    background: #ef832b;
    color: #fff;
    padding: 0.35rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-family: inherit;
    font-size: var(--font-size-sm);
    font-weight: 700;
}

.version-update-banner__refresh:hover {
    background: #d16a1a;
    border-color: #d16a1a;
}

.version-update-banner__refresh:focus {
    box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem #ef832b;
    outline: none;
}

#blazor-error-ui {
    color-scheme: light only;
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

#blazor-error-ui .dismiss {
    cursor: pointer;
    position: absolute;
    right: 0.75rem;
    top: 0.5rem;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

.blazor-error-boundary::after {
    content: "An error has occurred."
}

.loading-progress {
    position: absolute;
    display: block;
    width: 8rem;
    height: 8rem;
    inset: 20vh 0 auto 0;
    margin: 0 auto 0 auto;
}

.loading-progress circle {
    fill: none;
    stroke: #e0e0e0;
    stroke-width: 0.6rem;
    transform-origin: 50% 50%;
    transform: rotate(-90deg);
}

.loading-progress circle:last-child {
    stroke: #ef832b;
    stroke-dasharray: calc(3.141 * var(--blazor-load-percentage, 0%) * 0.8), 500%;
    transition: stroke-dasharray 0.05s ease-in-out;
}

.loading-progress-text {
    position: absolute;
    text-align: center;
    font-weight: bold;
    inset: calc(20vh + 3.25rem) 0 auto 0.2rem;
}

.loading-progress-text:after {
    content: var(--blazor-load-percentage-text, "Loading");
}

/* ---- Static shell (index.html, before WASM boots) ---- */
html[data-shell="home"] .app-shell-page,
html[data-shell="home"] .app-shell-service {
    display: none;
}

html[data-shell="service"] .app-shell-hero,
html[data-shell="service"] .app-shell-page {
    display: none;
}

html[data-shell="page"] .app-shell-hero,
html[data-shell="page"] .app-shell-service {
    display: none;
}

@media (max-width: 768px) {
    .app-shell .main-menu {
        display: none;
    }
}

.app-shell-progress {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    background: rgba(15, 34, 52, 0.92);
    padding: 10px 20px 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: stretch;
}

.app-shell-progress-track {
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 999px;
    overflow: hidden;
}

.app-shell-progress-bar {
    height: 100%;
    width: 0;
    background: #ef832b;
    border-radius: 999px;
    transition: width 0.15s ease-out;
}

.app-shell-progress-text {
    font-size: var(--font-size-min);
    color: rgba(255, 255, 255, 0.85);
    text-align: center;
    letter-spacing: 0.02em;
}

@keyframes shell-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.app-shell-skeleton {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 8px 0;
}

.page-hero .app-shell-skeleton {
    align-items: flex-start;
    gap: 12px;
    padding: 0;
}

.shell-sk {
    border-radius: 6px;
    background: linear-gradient(90deg, rgba(255,255,255,0.08) 25%, rgba(255,255,255,0.18) 50%, rgba(255,255,255,0.08) 75%);
    background-size: 200% 100%;
    animation: shell-shimmer 1.4s ease-in-out infinite;
}

.aisvc-hero .shell-sk {
    background: linear-gradient(90deg, rgba(255,255,255,0.06) 25%, rgba(255,255,255,0.14) 50%, rgba(255,255,255,0.06) 75%);
    background-size: 200% 100%;
}

.page-hero .shell-sk {
    background: linear-gradient(90deg, rgba(239,131,43,0.12) 25%, rgba(239,131,43,0.22) 50%, rgba(239,131,43,0.12) 75%);
    background-size: 200% 100%;
}

.shell-sk-eyebrow { width: 220px; height: 28px; border-radius: 999px; }
.shell-sk-headline { width: min(520px, 90%); height: 36px; }
.shell-sk-headline.shell-sk-short { width: min(380px, 70%); height: 36px; }
.shell-sk-line { width: min(640px, 95%); height: 16px; }
.shell-sk-line.shell-sk-mid { width: min(480px, 80%); }
.shell-sk-title { width: min(280px, 60%); height: 32px; }
.shell-sk-subtitle { width: min(420px, 75%); height: 18px; }

/* ---- Home Page: AI Section ---- */
.ai-section {
    padding: 80px 0;
    background: #fff;
}

.ai-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.ai-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #f0e8de;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: box-shadow 0.2s;
}

.ai-card:hover {
    box-shadow: 0 8px 40px rgba(239,131,43,0.15);
}

.ai-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #fff3e8, #fce4d0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
}

.ai-card-body h3 {
    font-size: 1.05rem;
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 8px;
}

.ai-card-body p {
    font-size: var(--font-size-sm);
    color: #666;
    line-height: var(--line-height-relaxed);
    margin-bottom: 0;
}

.ai-card-body .tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 12px;
}

.tag {
    font-size: var(--font-size-meta);
    font-weight: 600;
    letter-spacing: 0.5px;
    background: #fff3e8;
    color: #ef832b;
    padding: 3px 10px;
    border-radius: 4px;
}

/* ---- Home Page: Services ---- */
.home-services {
    padding: 80px 0;
    background: #fef7f4;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.service-card {
    padding: 36px 28px;
    border-radius: 14px;
    border: 1px solid #f0f0f0;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
}

.service-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,0.07);
    transform: translateY(-2px);
}

.service-icon {
    font-size: 28px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border-radius: 14px;
    background: linear-gradient(135deg, #fff3e8, #fce4d0);
}

.service-card h3 {
    font-size: 1.15rem;
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 12px;
}

.service-card p {
    font-size: var(--font-size-sm);
    color: #666;
    line-height: var(--line-height-relaxed);
}

/* ---- Home Page: Values ---- */
.home-values {
    padding: 80px 0;
    background: #fff;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: #fef7f4;
    border-radius: 14px;
    padding: 32px 28px;
}

.value-num {
    font-size: 36px;
    font-weight: 900;
    color: rgba(239,131,43,0.25);
    margin-bottom: 12px;
    line-height: 1;
}

.value-card h4 {
    font-size: 1.05rem;
    color: #1e3a5f;
    font-weight: 700;
    margin-bottom: 10px;
}

.value-card p {
    font-size: var(--font-size-sm);
    color: #666;
    line-height: var(--line-height-relaxed);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .three-col {
        grid-template-columns: 1fr;
    }

    .hero-inner {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: 2rem;
    }

    .ai-grid,
    .services-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .about-page,
    .blog-layout {
        grid-template-columns: 1fr;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .concept-grid {
        grid-template-columns: 1fr;
    }

    .concept-preview {
        min-height: 156px;
    }
}

/* FORCE ABSOLUTE CONSISTENCY BETWEEN VALUES AND SERVICES SECTION */
.values-section .col-card h4, .services-section .col-card h4 {
    color: #555 !important;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
}

.values-section .col-card p, .services-section .col-card p {
    color: #555 !important;
    font-size: var(--font-size-sm) !important;
    font-weight: 300 !important;
    line-height: var(--line-height-base) !important;
}


/* Blog Post Fixes */
.markdown-body h1, .markdown-body h2, .markdown-body h3 {
    color: #ef832b !important;
    font-weight: 300 !important;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}
.markdown-body a {
    color: #ef832b;
    text-decoration: none;
}
.markdown-body a:hover {
    text-decoration: underline;
}
.wp-block-table { width: 100%; border-collapse: collapse; }
.wp-block-table th, .wp-block-table td { border: 1px solid #ddd; padding: 8px; }

/* ================================================================
   AI Services Page
   ================================================================ */

/* ---- Hero ---- */
.aisvc-hero {
    background: #1e3a5f;
    padding: 80px 0 72px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.aisvc-hero::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 700px 400px at 50% 0%, rgba(239,131,43,0.12) 0%, transparent 65%);
    pointer-events: none;
}
.aisvc-hero-inner {
    position: relative; z-index: 1;
    max-width: 820px; margin: 0 auto;
}
.aisvc-hero-eyebrow {
    display: inline-block;
    background: rgba(239,131,43,0.15);
    border: 1px solid rgba(239,131,43,0.35);
    color: #ef832b;
    font-size: var(--font-size-meta); font-weight: 700; letter-spacing: 3px;
    text-transform: uppercase; padding: 6px 18px;
    border-radius: 24px; margin-bottom: 32px;
}
.aisvc-headline {
    font-size: clamp(44px, 7vw, 76px);
    font-weight: 900; line-height: 1.05;
    color: #fff; margin-bottom: 0;
    display: flex; flex-direction: column; gap: 4px;
}
.aisvc-headline-orange {
    background: linear-gradient(90deg, #ef832b, #f5b060);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.aisvc-hero-sub {
    margin-top: 24px; font-size: var(--font-size-base); color: rgba(255,255,255,0.7);
    font-weight: 300; line-height: var(--line-height-relaxed);
    max-width: 640px; margin-left: auto; margin-right: auto;
}
.aisvc-hero-sub strong { color: #fff; font-weight: 600; }
.aisvc-hero-proof {
    margin-top: 40px;
    max-width: 660px;
    margin-left: auto;
    margin-right: auto;
    background: rgba(239,131,43,0.07);
    border: 1px solid rgba(239,131,43,0.28);
    border-radius: 12px;
    padding: 22px 32px 20px;
    text-align: center;
}
.aisvc-proof-edge {
    font-size: var(--font-size-sm);
    color: rgba(255,255,255,0.70);
    font-style: italic;
    font-weight: 300;
    line-height: 1.65;
    margin: 0 0 10px;
}
.aisvc-proof-punch {
    font-size: var(--font-size-base);
    color: #fff;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
}
.aisvc-proof-punch .proof-hl {
    color: #ef832b;
}
.aisvc-hero-ctas {
    display: flex; gap: 16px; justify-content: center;
    flex-wrap: wrap; margin-top: 32px;
}
.aisvc-btn-ghost {
    padding: 14px 32px; border-radius: 8px;
    font-size: var(--font-size-min); font-weight: 600;
    border: 2px solid rgba(255,255,255,0.3);
    color: rgba(255,255,255,0.85);
    transition: border-color 0.2s, color 0.2s;
    display: inline-block;
}
.aisvc-btn-ghost:hover {
    border-color: rgba(255,255,255,0.7);
    color: #fff;
}

/* ---- Stat Strip ---- */
.aisvc-stat-strip {
    background: #172e4d;
    border-top: 1px solid rgba(255,255,255,0.06);
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding: 32px 0;
}
.aisvc-stat-inner {
    display: flex; justify-content: space-between;
    align-items: center;
}
.aisvc-stat-item {
    text-align: center; flex: 1;
}
.aisvc-stat-item + .aisvc-stat-item {
    border-left: 1px solid rgba(255,255,255,0.1);
}
.aisvc-stat-num {
    font-size: 2.6rem; font-weight: 900;
    color: #ef832b; line-height: 1;
}
.aisvc-stat-label {
    font-size: var(--font-size-min); color: rgba(255,255,255,0.5);
    margin-top: 6px; line-height: 1.4;
    max-width: 160px; margin-left: auto; margin-right: auto;
}

/* ---- Pain Points ---- */
.aisvc-pain-section {
    background: #fff;
    padding: 80px 0;
}
.aisvc-pain-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.aisvc-pain-card {
    background: #fef7f4;
    border: 1px solid #f0e8de;
    border-radius: 14px;
    padding: 28px 28px 28px 72px;
    position: relative;
}
.aisvc-pain-icon {
    position: absolute; left: 24px; top: 28px;
    width: 32px; height: 32px; border-radius: 8px;
    background: #fff3e8;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px;
}
.aisvc-pain-card h3 {
    font-size: var(--font-size-min); font-weight: 700;
    color: #1e3a5f; margin-bottom: 8px;
}
.aisvc-pain-card p {
    font-size: var(--font-size-sm); color: #666; line-height: var(--line-height-relaxed);
}

/* ---- AI Stack / Gap ---- */
.aisvc-stack-section {
    background: #fef7f4;
    padding: 80px 0;
}
.aisvc-stack-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.aisvc-stack-card {
    background: #fff;
    border: 1px solid #f0e8de;
    border-radius: 12px;
    padding: 22px;
    display: flex; align-items: flex-start; gap: 16px;
}
.aisvc-stack-icon {
    width: 40px; height: 40px; border-radius: 10px;
    flex-shrink: 0; background: #fff3e8;
    display: flex; align-items: center; justify-content: center;
    font-size: 18px;
}
.aisvc-stack-info { flex: 1; }
.aisvc-stack-name {
    font-size: var(--font-size-sm); font-weight: 700;
    color: #1e3a5f; margin-bottom: 10px;
}
.aisvc-bar-track {
    height: 6px; background: #f0e8de;
    border-radius: 6px; overflow: hidden; margin-bottom: 6px;
}
.aisvc-bar-fill { height: 100%; border-radius: 6px; }
.aisvc-bar-labels {
    display: flex; justify-content: space-between;
    font-size: var(--font-size-meta); color: #aaa;
}
.aisvc-pill {
    display: inline-block; font-size: var(--font-size-meta); font-weight: 700;
    padding: 2px 8px; border-radius: 6px;
    margin-top: 8px; letter-spacing: 0.5px;
}
.aisvc-pill-red { background: rgba(239,68,68,0.1); color: #dc2626; }
.aisvc-pill-amber { background: rgba(245,158,11,0.1); color: #b45309; }
.aisvc-gap-footnote {
    margin-top: 28px; font-size: var(--font-size-sm);
    color: #888; text-align: center;
}
.aisvc-gap-footnote strong { color: #ef832b; }

/* ---- Activation Steps ---- */
.aisvc-steps-section {
    background: #fff;
    padding: 80px 0;
}
.aisvc-steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    position: relative;
    margin-top: 20px;
}
.aisvc-steps::before {
    content: '';
    position: absolute; top: 35px;
    left: calc(12.5%); right: calc(12.5%);
    height: 2px;
    background: linear-gradient(90deg, #ef832b, #f5b060);
    z-index: 0;
}
.aisvc-step {
    text-align: center; padding: 0 16px;
    position: relative; z-index: 1;
}
.aisvc-step-num {
    width: 70px; height: 70px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px; font-weight: 900;
    border: 3px solid;
    background: #fff;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 0 4px #fff;
}
.aisvc-step-1 { border-color: #ef832b; color: #ef832b; }
.aisvc-step-2 { border-color: rgba(239,131,43,0.65); color: #d16a1a; }
.aisvc-step-3 { border-color: #f5b060; color: #b45309; }
.aisvc-step-4 { border-color: rgba(30,58,95,0.55); color: #1e3a5f; }
.aisvc-step-title {
    font-size: var(--font-size-min); font-weight: 700;
    color: #1e3a5f; margin-bottom: 8px;
}
.aisvc-step-desc {
    font-size: var(--font-size-sm); color: #666; line-height: var(--line-height-relaxed);
}

/* ---- AI & Cloud Services Grid ---- */
.aisvc-services-section {
    background: #fef7f4;
    padding: 80px 0;
}
.aisvc-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.aisvc-svc-card {
    background: #fff;
    border: 1px solid #f0e8de;
    border-radius: 14px;
    padding: 32px 28px;
    transition: box-shadow 0.2s, transform 0.2s;
}
.aisvc-svc-card:hover {
    box-shadow: 0 8px 32px rgba(239,131,43,0.12);
    transform: translateY(-2px);
}
.aisvc-svc-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: linear-gradient(135deg, #fff3e8, #fce4d0);
    border: 1px solid #f5d9be;
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; margin-bottom: 18px;
}
.aisvc-svc-card h3 {
    font-size: var(--font-size-base); font-weight: 700;
    color: #1e3a5f; margin-bottom: 10px;
}
.aisvc-svc-card p {
    font-size: var(--font-size-sm); color: #666; line-height: var(--line-height-relaxed);
}
.aisvc-svc-tag {
    display: inline-block; margin-top: 16px;
    font-size: var(--font-size-meta); font-weight: 600;
    color: #ef832b; background: rgba(239,131,43,0.1);
    padding: 3px 10px; border-radius: 6px; letter-spacing: 0.5px;
}
.aisvc-svc-tag-cloud {
    color: #1e3a5f; background: rgba(30,58,95,0.08);
}

/* ---- CTA ---- */
.aisvc-cta-section {
    background: #1e3a5f;
    padding: 88px 0;
    text-align: center;
    position: relative; overflow: hidden;
}
.aisvc-cta-section::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 500px 300px at 50% 0%, rgba(239,131,43,0.1) 0%, transparent 60%);
    pointer-events: none;
}
.aisvc-cta-inner {
    position: relative; z-index: 1;
    max-width: 680px; margin: 0 auto;
}
.aisvc-cta-section .section-eyebrow {
    display: block; margin-bottom: 16px; color: #f5b060;
}
.aisvc-cta-title {
    font-size: 2.4rem; font-weight: 900;
    color: #fff; margin-bottom: 16px; line-height: 1.15;
}
.aisvc-cta-orange { color: #ef832b; }
.aisvc-cta-sub {
    font-size: var(--font-size-sm); color: rgba(255,255,255,0.65);
    font-weight: 300; margin-bottom: 36px; line-height: var(--line-height-relaxed);
}
.aisvc-cta-btns {
    display: flex; gap: 16px;
    justify-content: center; flex-wrap: wrap;
}

/* ---- Responsive: AI Services ---- */
@media (max-width: 900px) {
    .aisvc-stack-grid,
    .aisvc-services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
    .aisvc-pain-grid,
    .aisvc-stack-grid,
    .aisvc-services-grid,
    .aisvc-steps { grid-template-columns: 1fr; }
    .aisvc-stat-inner { flex-direction: column; gap: 24px; }
    .aisvc-stat-item + .aisvc-stat-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; }
    .aisvc-steps::before { display: none; }
}

/* ============================================================
   CLOUD PAGE  (cld-)
   ============================================================ */

/* Consultation section */
.cld-consult-section {
    background: #fff;
    padding: 96px 0 80px;
    border-top: 1px solid #f0e8de;
}
.cld-consult-inner {
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}
.cld-consult-inner .section-heading {
    margin-bottom: 14px;
}
.cld-consult-inner .section-sub {
    margin-bottom: 40px;
}
.cld-sprintful-wrap {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #f0e8de;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07);
    background: #fff;
}
.cld-sprintful-wrap iframe {
    width: 100%;
    min-height: 700px;
    border: none;
    display: block;
}

/* ---- Responsive: Cloud ---- */
@media (max-width: 700px) {
    .cld-sprintful-wrap iframe { min-height: 580px; }
}

/* ---- Hero card footnote ---- */
.hero-card-footnote {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: var(--font-size-sm);
    color: rgba(255, 255, 255, 0.75);
    text-align: center;
}

.hero-card-footnote a {
    color: #f5b060;
}

.hero-card-footnote a:hover {
    color: #ef832b;
}

/* ---- Proof section (Home) ---- */
.home-proof {
    padding: 70px 0 80px;
    background: #f8f9fb;
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.proof-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    padding: 24px 28px;
}

.proof-card h4 {
    color: #ef832b;
    font-size: 1.1rem;
    margin: 0 0 10px;
    font-weight: 700;
}

.proof-card p {
    margin: 0;
    color: #555;
    line-height: var(--line-height-base);
    font-size: var(--font-size-sm);
}

.proof-footnote {
    margin: 28px 0 0;
    text-align: center;
    color: #888;
    font-size: var(--font-size-sm);
}

/* ---- Testimonials (Home / AI) ---- */
.home-testimonials {
    padding: 70px 0;
    background: #fff;
}

.home-quotes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.home-quote {
    margin: 0;
    padding: 24px 28px;
    background: #f8f9fb;
    border-left: 4px solid #ef832b;
    border-radius: 0 8px 8px 0;
}

.home-quote p {
    font-style: italic;
    color: #334155;
    margin: 0 0 12px;
}

.home-quote footer {
    font-size: var(--font-size-sm);
    color: #64748b;
}

.home-quote--featured {
    max-width: 720px;
    margin: 24px auto 0;
    text-align: center;
    border-left: none;
    border-top: 4px solid #ef832b;
    border-radius: 8px;
}

.home-quote--featured p {
    font-size: 1.1rem;
}

/* ---- About team ---- */
.page-hero-sub {
    margin-top: 12px;
    color: #64748b;
    max-width: 640px;
}

.about-team-grid {
    display: grid;
    gap: 24px;
    margin: 24px 0;
}

.about-team-card {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-team-card img {
    border-radius: 8px;
    flex-shrink: 0;
}

.about-team-role {
    color: #ef832b;
    font-weight: 600;
    margin: 0 0 8px;
}

/* ---- Stat source footnotes ---- */
.aisvc-stat-sources {
    font-size: var(--font-size-sm);
    color: #64748b;
    margin-top: 16px;
    line-height: 1.5;
}

.aisvc-stat-sources a {
    color: #1e3a5f;
}

@media (max-width: 900px) {
    .home-quotes-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Blog list & post detail ---- */
.blog-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    width: 100%;
}

.blog-card {
    display: grid;
    grid-template-columns: minmax(196px, 280px) 1fr;
    gap: 32px;
    align-items: start;
    border-bottom: 1px solid #e8ecf0;
    padding-bottom: 40px;
}

.blog-card--no-hero {
    grid-template-columns: 1fr;
}

.blog-card:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.blog-card-hero-link {
    display: block;
    overflow: hidden;
    border-radius: 8px;
    background: #f0f3f7;
}

.blog-card-hero {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    transition: transform 0.25s ease;
}

.blog-card-hero-link:hover .blog-card-hero {
    transform: scale(1.03);
}

.blog-card-body {
    min-width: 0;
}

.blog-card-body h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0 0 8px;
    line-height: 1.3;
}

.blog-card-body h2 a {
    color: #1e3a5f;
    text-decoration: none;
}

.blog-card-body h2 a:hover {
    color: #ef832b;
}

.blog-card-meta {
    color: #888;
    font-size: var(--font-size-sm);
    margin: 0 0 14px;
}

.blog-card-excerpt {
    color: #555;
    font-size: var(--font-size-sm);
    font-weight: 300;
    line-height: var(--line-height-relaxed);
    margin: 0 0 16px;
}

.blog-card-readmore {
    color: #ef832b;
    font-size: var(--font-size-sm);
    font-weight: 600;
    text-decoration: none;
}

.blog-card-readmore:hover {
    text-decoration: underline;
}

.post-detail-section {
    padding: 60px 0;
}

.post-detail-container {
    max-width: 860px;
    margin: 0 auto;
    text-align: left;
}

.post-hero-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 32px;
}

.post-detail-header {
    margin-bottom: 24px;
}

.post-title {
    color: #ef832b;
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 12px;
}

.post-meta {
    color: #666;
    font-size: var(--font-size-sm);
}

.post-audio {
    margin-bottom: 28px;
}

.post-audio audio {
    width: 100%;
}

.post-audio-label {
    color: #888;
    font-size: var(--font-size-sm);
    margin: 8px 0 0;
}

.post-body {
    color: #555;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-base);
    font-weight: 300;
}

.blog-owcer-help {
    margin-top: 40px;
    padding: 24px 28px;
    border: 1px solid #d4dce8;
    border-left: 4px solid #ef832b;
    border-radius: 8px;
    background: #fafbfc;
}

.blog-owcer-help h2 {
    color: #1e3a5f;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 12px;
}

.blog-owcer-help p {
    color: #555;
    font-size: var(--font-size-sm);
    font-weight: 300;
    line-height: var(--line-height-relaxed);
    margin: 0 0 12px;
}

.blog-owcer-help p:last-child {
    margin-bottom: 0;
}

.blog-owcer-help ul {
    margin: 0;
    padding-left: 1.25rem;
    color: #555;
    font-size: var(--font-size-sm);
    font-weight: 300;
    line-height: var(--line-height-relaxed);
}

.blog-owcer-help li {
    margin-bottom: 6px;
}

.blog-owcer-help li:last-child {
    margin-bottom: 0;
}

.blog-owcer-help a {
    color: #1e3a5f;
    font-weight: 500;
    text-decoration: none;
}

.blog-owcer-help a:hover {
    color: #ef832b;
    text-decoration: underline;
}

.post-cta {
    margin-top: 32px;
    padding: 28px;
    background: #f8f9fb;
    border-radius: 8px;
    text-align: center;
}

.post-cta .btn {
    margin: 8px;
}

@media (max-width: 768px) {
    .blog-card {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ---- Blog empty state ---- */
.blog-empty {
    max-width: 720px;
    margin: 0 auto;
}

/* ---- Stat strip intro ---- */
.aisvc-stat-intro {
    text-align: center;
    color: #888;
    font-size: var(--font-size-sm);
    margin: 0 0 20px;
}

/* ---- Contact consultation section ---- */
.ctc-consult-section {
    margin-top: 0;
}

.ctc-consult-section h2,
.ctc-consult-section h3 {
    color: #333;
    font-weight: 400;
}

.ctc-consult-section h3 {
    font-size: 1.3rem;
    margin: 28px 0 8px;
}

@media (max-width: 768px) {
    .proof-grid {
        grid-template-columns: 1fr;
    }
}

/* ---- Service detail pages (BI, Records, etc.) ---- */
.svc-page-section {
    padding: 72px 0;
    background: #fff;
}

.svc-page-section--alt {
    background: #f8f9fb;
}

.svc-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
}

.svc-benefit-card {
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    padding: 28px 24px;
    text-align: center;
}

.svc-page-section--alt .svc-benefit-card {
    box-shadow: 0 2px 12px rgba(30, 58, 95, 0.06);
}

.svc-benefit-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.svc-benefit-card h3 {
    font-size: 1.05rem;
    color: #1e3a5f;
    margin: 0 0 10px;
    font-weight: 700;
}

.svc-benefit-card p {
    margin: 0;
    color: #666;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.svc-tool-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 36px;
}

.svc-partner-note {
    margin: 28px auto 0;
    max-width: 720px;
    text-align: center;
    color: #666;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.aa-quick-facts {
    background: #f8f9fb;
    border-bottom: 1px solid #ececec;
    padding: 28px 0;
}

.aa-quick-facts-grid {
    display: grid;
    grid-template-columns: max-content max-content max-content minmax(max-content, 1fr);
    column-gap: 40px;
    row-gap: 20px;
    align-items: start;
}

.aa-quick-fact-label {
    font-size: var(--font-size-meta);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    margin-bottom: 4px;
}

.aa-quick-fact-value {
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: #1e3a5f;
    line-height: 1.35;
}

.aa-quick-facts-note {
    margin: 16px 0 0;
    text-align: center;
    font-size: var(--font-size-sm);
    color: #666;
}

.aa-fit-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 28px;
}

.aa-fit-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 24px 28px;
}

.aa-fit-card--yes {
    border-top: 3px solid #ef832b;
}

.aa-fit-card--no {
    border-top: 3px solid #94a3b8;
}

.aa-fit-card h3 {
    margin: 0 0 14px;
    font-size: 1.05rem;
    color: #1e3a5f;
}

.aa-fit-card ul {
    margin: 0;
    padding-left: 1.2rem;
    color: #555;
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.aa-fit-card li + li {
    margin-top: 8px;
}

.aa-roi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 28px;
}

.aa-roi-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 22px 24px;
    border-top: 3px solid #1e3a5f;
}

.aa-roi-card h3 {
    margin: 0 0 12px;
    font-size: 1.05rem;
    color: #1e3a5f;
}

.aa-roi-card p {
    margin: 0;
    color: #555;
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

@media (min-width: 901px) {
    .aa-quick-fact-value {
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    .aa-quick-facts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .aa-quick-facts-grid,
    .aa-fit-grid,
    .aa-roi-grid {
        grid-template-columns: 1fr;
    }
}

.aa-faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    margin-top: 32px;
}

.aa-faq-item h3 {
    font-size: 1.05rem;
    color: #1e3a5f;
    margin: 0 0 10px;
    font-weight: 700;
}

.aa-faq-item p {
    margin: 0;
    color: #666;
    line-height: var(--line-height-relaxed);
    font-size: var(--font-size-sm);
}

.aa-contact-alt {
    text-align: center;
    margin-top: 20px;
    color: #888;
    font-size: var(--font-size-sm);
}

@media (max-width: 768px) {
    .aa-faq-grid {
        grid-template-columns: 1fr;
    }
}

/* ================================================================
   Page Header Concepts (design preview — /design/page-headers)
   ================================================================ */

.header-concepts-page {
    background: #f4f6f8;
    padding-bottom: 80px;
}

.header-concepts-intro {
    padding: 48px 20px 32px;
    text-align: center;
}

.header-concepts-intro h1 {
    color: #1e3a5f;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.header-concepts-lead {
    color: #64748b;
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto 12px;
    line-height: 1.65;
}

.header-concepts-note {
    font-size: var(--font-size-meta);
    color: #94a3b8;
    margin: 0;
}

.header-concept-block {
    margin-bottom: 56px;
}

.header-concept-block > .container:first-child {
    margin-bottom: 16px;
}

.header-concept-label {
    display: inline-block;
    background: #1e3a5f;
    color: #fff;
    font-size: var(--font-size-meta);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 4px;
}

.header-concept-desc {
    margin: 8px 0 0;
    color: #64748b;
    font-size: var(--font-size-sm);
}

.header-concept-hero.aisvc-hero {
    padding: 56px 0 64px;
}

/* ---- Concept A: Breadcrumb + title bar ---- */
.header-concept-a {
    background: #fff;
    border-bottom: 1px solid #e2e8f0;
    padding: 28px 0 24px;
}

.header-concept-a-inner {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.header-concept-a-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 900;
    color: #1e3a5f;
    margin: 0;
    line-height: 1;
    letter-spacing: -0.02em;
}

.header-concept-a-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: var(--font-size-meta);
    color: #94a3b8;
}

.header-concept-a-breadcrumb a {
    color: #64748b;
    font-weight: 600;
}

.header-concept-a-breadcrumb a:hover {
    color: #ef832b;
}

.header-concept-a-breadcrumb span[aria-current="page"] {
    color: #ef832b;
    font-weight: 700;
}

/* ---- Split page header (production) ---- */
.split-page-header,
.header-concept-b {
    text-align: left;
    padding: 52px 0 60px;
}

.split-page-header.aisvc-hero {
    padding: 52px 0 60px;
}

.split-page-header--compact,
.header-concept-b--compact {
    padding: 44px 0 52px;
}

.split-page-header-grid,
.header-concept-b-grid {
    display: grid;
    grid-template-columns: minmax(0, max-content) minmax(0, 1fr);
    grid-template-rows: auto auto auto;
    column-gap: clamp(22px, 3.5vw, 40px);
    row-gap: 0;
    align-items: start;
    position: relative;
    z-index: 1;
}

.split-page-header-eyebrow,
.header-concept-b-eyebrow {
    grid-column: 1;
    grid-row: 1;
    display: block;
    font-size: var(--font-size-meta);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
}

.split-page-header-title-col,
.header-concept-b-title-col {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    width: max-content;
    max-width: min(100%, 36vw, calc(max(var(--title-wrap-ch, 12), var(--subtitle-wrap-ch, var(--title-wrap-ch, 12))) * 1ch + 0.25rem));
    align-self: center;
    padding-right: 0;
}

.split-page-header-copy-col {
    display: contents;
}

.split-page-header-copy-body {
    grid-column: 2;
    grid-row: 2;
    border-left: 3px solid rgba(239, 131, 43, 0.5);
    padding-left: clamp(22px, 3vw, 36px);
    min-width: 0;
}

.split-page-header-title,
.header-concept-b-title {
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -0.03em;
    overflow-wrap: normal;
    word-break: normal;
    hyphens: none;
    line-height: 1.06;
    max-width: calc(var(--title-wrap-ch, 12) * 1ch);
}

/* Title scale by longest word (not total title length) */
.split-page-header-title--word-2,
.header-concept-b-title.split-page-header-title--word-2 {
    font-size: clamp(2.75rem, 5vw, 4rem);
    line-height: 1;
}

.split-page-header-title--word-4 {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    line-height: 1.02;
}

.split-page-header-title--word-7 {
    font-size: clamp(2.15rem, 3.8vw, 3rem);
    line-height: 1.04;
}

.split-page-header-title--word-10 {
    font-size: clamp(1.95rem, 3.2vw, 2.75rem);
    line-height: 1.06;
}

.split-page-header-title--word-13 {
    font-size: clamp(1.8rem, 2.8vw, 2.45rem);
    line-height: 1.08;
}

.split-page-header-title--word-long {
    font-size: clamp(1.65rem, 2.5vw, 2.2rem);
    line-height: 1.1;
}

.split-page-header-subtitle,
.header-concept-b-subtitle {
    margin: 10px 0 0;
    font-size: var(--font-size-min);
    font-weight: 600;
    color: #ef832b;
    letter-spacing: 0.3px;
    line-height: 1.35;
    max-width: calc(var(--subtitle-wrap-ch, var(--title-wrap-ch, 12)) * 1ch);
}

.split-page-header-headline,
.header-concept-b-headline {
    font-weight: 900;
    line-height: 1.1;
    color: #fff;
    margin: 0 0 18px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.split-page-header-headline-primary,
.split-page-header-headline-accent {
    display: block;
}

.split-page-header-headline--lg {
    font-size: clamp(1.75rem, 3.8vw, 2.75rem);
}

.split-page-header-headline--md {
    font-size: clamp(1.65rem, 3.2vw, 2.45rem);
}

.split-page-header-headline--sm {
    font-size: clamp(1.5rem, 2.8vw, 2.15rem);
}

.split-page-header-sub,
.header-concept-b-hero-sub {
    margin-top: 0;
    margin-left: 0;
    margin-right: 0;
    text-align: left;
    max-width: 38rem;
    font-size: var(--font-size-base);
    color: rgba(255, 255, 255, 0.78);
    line-height: var(--line-height-relaxed);
}

.split-page-header-sub .proof-hl {
    color: #ef832b;
    font-weight: 600;
}

.split-page-header .aisvc-hero-sub {
    max-width: 38rem;
    margin-left: 0;
    margin-right: 0;
}

.split-page-header-copy-col .aisvc-hero-proof {
    margin-top: 18px;
    margin-left: 0;
    margin-right: 0;
    max-width: 38rem;
    text-align: left;
}

.split-page-header-ctas,
.header-concept-b-ctas {
    grid-column: 2;
    grid-row: 3;
    justify-content: flex-start;
    margin-top: 22px;
    padding-left: clamp(22px, 3vw, 36px);
    min-width: 0;
}

/* Per-page layout tuning (locked after visual review) */
.split-page-header--title-tiny .split-page-header-title-col {
    max-width: min(100%, 22vw, calc(var(--title-wrap-ch, 6) * 1ch + 0.5rem));
}

.split-page-header--title-tiny .split-page-header-title--word-2 {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
}

.split-page-header--title-tiny .split-page-header-subtitle {
    max-width: 22ch;
    line-height: 1.4;
}

.split-page-header--title-wide .split-page-header-title-col {
    max-width: min(100%, calc(var(--title-wrap-ch, 22) * 1ch + 0.5rem));
}

.split-page-header--copy-compact .split-page-header-sub {
    max-width: 34rem;
}

.split-page-header--legal .split-page-header-headline--md {
    font-size: clamp(1.55rem, 3vw, 2.25rem);
}

.split-page-header--legal .split-page-header-sub {
    max-width: 32rem;
}

.header-concept-desc a {
    color: #ef832b;
    font-weight: 600;
}

.header-concepts-meta {
    margin: 0 0 12px;
    font-size: var(--font-size-min);
}

.header-concepts-meta a {
    color: #ef832b;
    font-weight: 700;
    text-decoration: none;
}

.header-concepts-meta a:hover {
    text-decoration: underline;
}

.page-sources-bar {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 30px 0 24px;
}

.page-sources-bar .aisvc-stat-sources {
    margin: 0;
}

/* ---- Concept C: Title band ---- */
.header-concept-c-band {
    background: linear-gradient(90deg, #ef832b 0%, #f5b060 100%);
    padding: 20px 0;
}

.header-concept-c-band-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.header-concept-c-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -0.01em;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.header-concept-c-tag {
    font-size: var(--font-size-meta);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.85);
    background: rgba(30, 58, 95, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
}

.header-concept-c-hero {
    padding-top: 64px;
}

.header-concept-c-hero .aisvc-hero-eyebrow {
    display: none;
}

/* ---- Concept D: Tab-style active indicator ---- */
.header-concept-d {
    text-align: center;
    padding-top: 72px;
}

.header-concept-d-wrap {
    position: relative;
}

.header-concept-d-tab {
    position: absolute;
    top: -52px;
    left: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: #ef832b;
    color: #fff;
    padding: 12px 24px 14px;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.header-concept-d-tab::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: #ef832b;
}

.header-concept-d-tab-label {
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.02em;
}

.header-concept-d-tab-sub {
    font-size: var(--font-size-meta);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    opacity: 0.85;
    margin-top: 2px;
}

.header-concept-d-inner {
    padding-top: 16px;
}

/* ---- Concept E: Minimal document header ---- */
.header-concept-e {
    background: #fff;
    padding: 40px 0 0;
}

.header-concept-e-inner {
    text-align: left;
}

.header-concept-e-meta {
    font-size: var(--font-size-meta);
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #94a3b8;
    margin: 0 0 12px;
}

.header-concept-e-title {
    font-size: clamp(3.5rem, 10vw, 5.5rem);
    font-weight: 900;
    color: #1e3a5f;
    margin: 0;
    line-height: 0.95;
    letter-spacing: -0.04em;
}

.header-concept-e-rule {
    border: none;
    height: 4px;
    background: linear-gradient(90deg, #ef832b 0%, #f5b060 60%, transparent 100%);
    margin: 20px 0 0;
    max-width: 120px;
}

.header-concept-e-hero {
    padding-top: 48px;
}

@media (max-width: 768px) {
    .split-page-header-grid,
    .header-concept-b-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        column-gap: 0;
        row-gap: 0;
    }

    .split-page-header-eyebrow,
    .header-concept-b-eyebrow {
        grid-column: 1;
        grid-row: auto;
    }

    .split-page-header-title-col,
    .header-concept-b-title-col {
        grid-column: 1;
        grid-row: auto;
        width: auto;
        max-width: none;
        margin-bottom: 16px;
    }

    .split-page-header-copy-body {
        grid-column: 1;
        grid-row: auto;
        border-left: none;
        border-top: 3px solid rgba(239, 131, 43, 0.5);
        padding-left: 0;
        padding-top: 20px;
    }

    .split-page-header-ctas,
    .header-concept-b-ctas {
        grid-column: 1;
        grid-row: auto;
        padding-left: 0;
        margin-top: 20px;
    }

    .split-page-header-sub,
    .header-concept-b-hero-sub {
        margin-right: auto;
    }

    .split-page-header,
    .header-concept-b {
        padding: 40px 0 48px;
    }

    .split-page-header-title-col {
        align-self: start;
        max-width: none;
    }

    .split-page-header-title {
        max-width: none;
    }

    .split-page-header-subtitle {
        max-width: none;
    }

    .split-page-header-headline--lg,
    .split-page-header-headline--md,
    .split-page-header-headline--sm {
        font-size: clamp(1.5rem, 6.5vw, 2.15rem);
    }

    .split-page-header-ctas {
        flex-direction: column;
        align-items: stretch;
    }

    .split-page-header-ctas .btn-primary,
    .split-page-header-ctas .aisvc-btn-ghost {
        text-align: center;
    }

    .header-concept-d-tab {
        position: relative;
        top: 0;
        left: 0;
        margin-bottom: 24px;
        border-radius: 8px;
        display: inline-flex;
        flex-direction: row;
        align-items: baseline;
        gap: 8px;
    }

    .header-concept-d-tab::after {
        display: none;
    }

    .header-concept-d-tab-sub {
        margin-top: 0;
    }

    .header-concept-d {
        padding-top: 48px;
        text-align: left;
    }

    .header-concept-c-band-inner {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ---- Lead magnet & blog promotion ---- */
.lead-layout {
    display: grid;
    grid-template-columns: 1fr minmax(300px, 420px);
    gap: 40px;
    align-items: start;
}

.lead-info-foot {
    margin-top: 20px;
    font-size: var(--font-size-sm);
    color: #666;
    line-height: var(--line-height-relaxed);
}

.lead-checklist-preview {
    margin: 16px 0 0;
    padding-left: 1.2rem;
    color: #555;
    font-size: var(--font-size-sm);
    line-height: 1.6;
}

.lead-checklist-preview li + li {
    margin-top: 8px;
}

.lead-form-card h3 {
    margin: 0 0 8px;
    color: #1e3a5f;
    font-size: 1.25rem;
}

.lead-form-intro {
    margin: 0 0 20px;
    color: #666;
    font-size: var(--font-size-sm);
    line-height: var(--line-height-relaxed);
}

.lead-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.lead-submit {
    width: 100%;
    margin-top: 4px;
}

.lead-privacy {
    margin: 14px 0 0;
    font-size: var(--font-size-meta);
    color: #888;
    line-height: 1.5;
}

.lead-success {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}

.lead-success-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    margin: 24px 0 12px;
}

.lead-success-note {
    font-size: var(--font-size-sm);
    color: #666;
}

.aisvc-lead-band {
    background: linear-gradient(135deg, #1e3a5f 0%, #2a5080 100%);
    padding: 48px 0;
}

.aisvc-lead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    flex-wrap: wrap;
}

.aisvc-lead-inner .section-heading,
.aisvc-lead-inner .section-sub {
    color: #fff;
}

.aisvc-lead-inner .section-eyebrow {
    color: rgba(255, 255, 255, 0.55);
}

.aisvc-lead-copy {
    flex: 1;
    min-width: 260px;
}

.aisvc-lead-inner .section-sub {
    margin-bottom: 0;
    max-width: 520px;
}

.blog-lead-band {
    background: #f8f9fb;
    border-bottom: 1px solid #e8ecf0;
    padding: 36px 0;
}

.blog-lead-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.blog-lead-title {
    font-size: 1.35rem;
    color: #1e3a5f;
    margin: 6px 0 8px;
    font-weight: 600;
}

.blog-lead-text {
    margin: 0;
    color: #666;
    font-size: var(--font-size-sm);
    max-width: 520px;
    line-height: var(--line-height-relaxed);
}

.blog-list--compact {
    gap: 28px;
}

.blog-list--compact .blog-card {
    padding-bottom: 28px;
}

.aisvc-blog-foot {
    margin: 28px 0 0;
    text-align: center;
}

.aisvc-blog-foot a {
    color: #ef832b;
    font-weight: 600;
    text-decoration: none;
}

.aisvc-blog-foot a:hover {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .lead-layout {
        grid-template-columns: 1fr;
    }

    .aisvc-lead-inner,
    .blog-lead-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .lead-success-actions {
        flex-direction: column;
        align-items: stretch;
    }
}
