/* ─── DESIGN TOKENS ──────────────────────────────────── */
:root {
    --dark: #181A24;
    --dark-2: #23263A;
    --white: #FFFFFF;
    --off-white: #F2F3F6;
    --off-white-2: #E8EAF0;
    --body-text: #484F6B;
    --muted: #85889B;
    --border: #DDE0EA;
    --orange: #FF5F2D;
    --orange-dk: #CF3708;
    --nav-h: 76px;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--white);
    color: var(--body-text);
    font-family: 'Manrope', sans-serif;
    font-size: 18px;
    line-height: 1.65;
    overflow-x: hidden;
    /* Push content below the fixed nav */
    padding-top: var(--nav-h);
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Manrope', sans-serif;
    color: var(--dark);
    font-weight: 600;
    letter-spacing: -0.3px;
    line-height: 1.3;
}

a {
    color: var(--orange);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
    }

button {
    cursor: pointer;
    background: none;
    border: none;
    font-family: inherit;
}

strong {
    color: var(--dark);
    font-weight: 700;
}

p {
    color: var(--body-text);
}

/* ─── LAYOUT ─────────────────────────────────────────── */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 40px;
}

.section {
    padding: 100px 0;
}

.section-sm {
    padding: 60px 0;
}

@media(max-width:768px) {
    .container {
        padding: 0 20px;
    }

    .section {
        padding: 64px 0;
    }

    .section-sm {
        padding: 40px 0;
    }
}

/* ─── EYEBROW ────────────────────────────────────────── */
.eyebrow {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 16px;
    display: block;
}

/* ─── BUTTONS ────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: background .25s, transform .2s;
    position: relative;
    padding: 14px 68px 14px 24px;
    line-height: 1.5;
    white-space: nowrap;
}

    .btn::after {
        content: '';
        position: absolute;
        right: 5px;
        top: 50%;
        transform: translateY(-50%);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        background: rgba(255,255,255,0.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center/18px no-repeat;
        transition: right .25s;
    }

    .btn:hover {
        transform: translateY(-1px);
        text-decoration: none;
    }

        .btn:hover::after {
            right: 3px;
        }

.btn-primary {
    background: var(--orange);
    color: var(--white);
}

    .btn-primary:hover {
        background: var(--orange-dk);
        color: var(--white);
    }

.btn-dark {
    background: var(--dark);
    color: var(--white);
}

    .btn-dark:hover {
        background: var(--dark-2);
        color: var(--white);
    }

    .btn-dark::after {
        background-color: rgba(255,255,255,.12);
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: center;
        background-size: 18px;
    }

.btn-outline {
    background: transparent;
    color: var(--dark);
    border: 2px solid var(--dark);
    padding: 12px 68px 12px 24px;
}

    .btn-outline::after {
        background: rgba(24,26,36,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23181A24' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center/18px no-repeat;
    }

    .btn-outline:hover {
        background: var(--off-white);
        text-decoration: none;
    }

.btn-outline-white {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,.4);
    padding: 12px 68px 12px 24px;
}

    .btn-outline-white::after {
        background: rgba(255,255,255,.1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M12 5l7 7-7 7'/%3E%3C/svg%3E") center/18px no-repeat;
    }

    .btn-outline-white:hover {
        border-color: var(--white);
        text-decoration: none;
    }

/* ─── NAV ────────────────────────────────────────────── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    background: var(--white);
    border-bottom: 1px solid var(--border);
    z-index: 200;
    transition: box-shadow .3s;
}

    .nav.elevated {
        box-shadow: 0 2px 24px rgba(0,0,0,.07);
    }

.nav-inner {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ─── Nav logo (now an <a> tag in Razor) ─────────────── */
a.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    flex-shrink: 0;
    text-decoration: none;
}

    a.nav-logo:hover {
        text-decoration: none;
    }

.nav-logo-mark {
    width: 38px;
    height: 38px;
    background: var(--orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 18px;
    font-weight: 800;
    flex-shrink: 0;
}

.nav-logo-text {
    font-size: 14px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1.2;
    letter-spacing: -0.2px;
}

    .nav-logo-text span {
        display: block;
        font-size: 11px;
        font-weight: 500;
        color: var(--muted);
    }

/* ─── Nav links (now <a> tags in Razor, not <button>) ── */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
}

    .nav-links li a {
        font-size: 14px;
        font-weight: 700;
        color: var(--body-text);
        padding: 8px 14px;
        border-radius: 6px;
        transition: color .2s, background .2s;
        display: block;
        text-decoration: none;
    }

        .nav-links li a:hover,
        .nav-links li a.active {
            color: var(--dark);
            background: var(--off-white);
            text-decoration: none;
        }

    .nav-links .nav-cta {
        margin-left: 8px;
    }

        .nav-links .nav-cta a {
            background: var(--orange);
            color: var(--white);
            padding: 10px 22px;
            border-radius: 100px;
        }

            .nav-links .nav-cta a:hover {
                background: var(--orange-dk);
                color: var(--white);
                text-decoration: none;
            }

.nav-ham {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    border-radius: 6px;
}

    .nav-ham span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--dark);
        border-radius: 2px;
    }

@media(max-width:860px) {
    .nav-ham {
        display: flex;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        padding: 12px 20px 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,.1);
    }

        .nav-links.open {
            display: flex;
        }

        .nav-links li a {
            width: 100%;
        }
}

/* ─── REVEAL ─────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity .6s ease, transform .6s ease;
}

    .reveal.vis {
        opacity: 1;
        transform: none;
    }

/* ══════════════════════════════════════════════════════
   HOME PAGE
══════════════════════════════════════════════════════ */

/* HERO */
.hero {
    background: var(--dark);
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - var(--nav-h));
    display: flex;
    align-items: center;
}

.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 60px 60px;
}

.hero-glow {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 0% 55%, rgba(255,95,45,.18) 0%, transparent 52%), radial-gradient(ellipse at 95% 15%, rgba(255,95,45,.10) 0%, transparent 42%);
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 100px 0;
    text-align: center;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,95,45,.14);
    border: 1px solid rgba(255,95,45,.28);
    border-radius: 100px;
    padding: 6px 16px 6px 10px;
    font-size: 13px;
    font-weight: 700;
    color: #FF9570;
    letter-spacing: .04em;
    margin-bottom: 32px;
    opacity: 0;
    animation: fadeUp .7s .1s forwards ease;
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

.hero h1 {
    font-size: clamp(40px, 7vw, 80px);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    letter-spacing: -1.5px;
    max-width: 880px;
    margin: 0 auto 28px;
    opacity: 0;
    animation: fadeUp .7s .22s forwards ease;
}

    .hero h1 em {
        color: var(--orange);
        font-style: normal;
    }

.hero-sub {
    font-size: 19px;
    line-height: 1.72;
    color: rgba(255,255,255,.6);
    max-width: 620px;
    margin: 0 auto 44px;
    opacity: 0;
    animation: fadeUp .7s .36s forwards ease;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-bottom: 72px;
    opacity: 0;
    animation: fadeUp .7s .5s forwards ease;
}

.hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 48px;
    opacity: 0;
    animation: fadeUp .7s .65s forwards ease;
}

.hstat {
    padding: 0 52px;
    border-right: 1px solid rgba(255,255,255,.1);
    text-align: center;
}

    .hstat:first-child {
        padding-left: 0;
    }

    .hstat:last-child {
        border-right: none;
        padding-right: 0;
    }

.hstat-num {
    font-size: 52px;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -2px;
}

    .hstat-num em {
        color: var(--orange);
        font-style: normal;
    }

.hstat-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .1em;
}

@media(max-width:680px) {
    .hstat {
        padding: 20px 24px;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.1);
        width: 50%;
    }

        .hstat:nth-child(3), .hstat:nth-child(4) {
            border-bottom: none;
        }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

/* SCROLLING STRIP */
.problems-strip {
    background: var(--off-white);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 18px 0;
    overflow: hidden;
}

.ps-track {
    display: flex;
    animation: slide 32s linear infinite;
    width: max-content;
}

    .ps-track:hover {
        animation-play-state: paused;
    }

@keyframes slide {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.ps-item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0 36px;
    white-space: nowrap;
    font-size: 13px;
    font-weight: 700;
    color: var(--body-text);
}

.ps-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

/* WHAT WE SOLVE */
.solve-hd {
    max-width: 680px;
    margin-bottom: 56px;
}

    .solve-hd h2 {
        font-size: clamp(28px, 4vw, 50px);
        margin-bottom: 14px;
    }

.solve-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px;
    background: var(--border);
    border: 1px solid var(--border);
    overflow: hidden;
    border-radius: 4px;
}

.sc {
    background: var(--white);
    padding: 40px 32px;
    position: relative;
    transition: background .25s;
    display: block;
    text-decoration: none;
    color: inherit;
}

    .sc:hover {
        background: var(--off-white);
    }

.sc-num {
    font-size: 68px;
    font-weight: 800;
    line-height: 1;
    color: var(--off-white-2);
    margin-bottom: 20px;
    transition: color .25s;
}

.sc:hover .sc-num {
    color: rgba(255,95,45,.14);
}

.sc-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(255,95,45,.1);
    color: var(--orange);
    padding: 3px 10px;
    border-radius: 100px;
    margin-bottom: 14px;
}

.sc h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

.sc p {
    font-size: 15px;
    line-height: 1.72;
}

.sc-arrow {
    position: absolute;
    right: 26px;
    bottom: 26px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--off-white-2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: var(--dark);
    transition: background .25s, color .25s, transform .25s;
}

.sc:hover .sc-arrow {
    background: var(--orange);
    color: var(--white);
    transform: rotate(-45deg);
}

/* HOW WE WORK */
.how-sec {
    background: var(--dark);
}

.how-hd {
    max-width: 640px;
    margin-bottom: 60px;
}

    .how-hd h2 {
        font-size: clamp(28px, 4vw, 50px);
        color: var(--white);
    }

    .how-hd p {
        color: rgba(255,255,255,.5);
        margin-top: 14px;
        font-size: 17px;
    }

.how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.07);
    border-radius: 4px;
    overflow: hidden;
}

.hw {
    background: var(--dark);
    padding: 40px 32px;
    transition: background .25s;
}

    .hw:hover {
        background: var(--dark-2);
    }

.hw-n {
    font-size: 56px;
    font-weight: 800;
    line-height: 1;
    color: rgba(255,255,255,.07);
    margin-bottom: 24px;
    transition: color .3s;
}

.hw:hover .hw-n {
    color: rgba(255,95,45,.22);
}

.hw h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
}

.hw p {
    font-size: 14px;
    color: rgba(255,255,255,.48);
    line-height: 1.73;
}

/* TECH MARQUEE */
.tech-sec {
    background: var(--off-white);
    padding: 48px 0;
    overflow: hidden;
}

.tech-label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 28px;
}

.mq-wrap {
    position: relative;
}

    .mq-wrap::before, .mq-wrap::after {
        content: '';
        position: absolute;
        top: 0;
        bottom: 0;
        width: 100px;
        z-index: 2;
        pointer-events: none;
    }

    .mq-wrap::before {
        left: 0;
        background: linear-gradient(to right, var(--off-white), transparent);
    }

    .mq-wrap::after {
        right: 0;
        background: linear-gradient(to left, var(--off-white), transparent);
    }

.mq-track {
    display: flex;
    gap: 10px;
    animation: mq 32s linear infinite;
    width: max-content;
}

    .mq-track:hover {
        animation-play-state: paused;
    }

@keyframes mq {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.mq-chip {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 100px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--body-text);
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: border-color .2s, color .2s;
}

    .mq-chip:hover {
        border-color: var(--orange);
        color: var(--orange);
    }

.mq-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--orange);
    flex-shrink: 0;
}

/* PROOF */
.proof-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.pc {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

    .pc::before {
        content: '';
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 4px;
        background: var(--orange);
    }

    .pc:hover {
        border-color: rgba(255,95,45,.32);
        box-shadow: 0 8px 40px rgba(255,95,45,.07);
    }

.pc-num {
    font-size: 58px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -1.5px;
}

.pc h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.pc p {
    font-size: 14px;
    line-height: 1.72;
}

/* CTA BAND */
.cta-band {
    background: var(--dark);
    padding: 100px 40px;
    text-align: center;
}

    .cta-band h2 {
        font-size: clamp(26px, 4.5vw, 56px);
        color: var(--white);
        max-width: 780px;
        margin: 0 auto 20px;
        letter-spacing: -.5px;
    }

        .cta-band h2 em {
            color: var(--orange);
            font-style: normal;
        }

    .cta-band > p {
        font-size: 17px;
        color: rgba(255,255,255,.5);
        max-width: 500px;
        margin: 0 auto 36px;
    }

.cta-btns {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════════════════════
   PAGE HERO (shared across all inner pages)
══════════════════════════════════════════════════════ */
.page-hero {
    background: var(--dark);
    padding: 80px 0 72px;
    margin-bottom: 72px;
}

    .page-hero .eyebrow {
        color: var(--orange);
    }

    .page-hero h1 {
        font-size: clamp(36px, 6vw, 70px);
        color: var(--white);
        max-width: 700px;
        font-weight: 800;
        letter-spacing: -1.5px;
    }

    .page-hero p {
        font-size: 17px;
        color: rgba(255,255,255,.52);
        max-width: 560px;
        margin-top: 18px;
    }

/* ══════════════════════════════════════════════════════
   CASE STUDIES
══════════════════════════════════════════════════════ */
.cs {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 32px;
    background: var(--white);
    transition: border-color .25s, box-shadow .25s;
}

    .cs:hover {
        border-color: rgba(255,95,45,.28);
        box-shadow: 0 8px 40px rgba(0,0,0,.05);
    }

.cs-head {
    padding: 36px 40px;
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.cs-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--orange);
    background: rgba(255,95,45,.1);
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 12px;
}

.cs-head h2 {
    font-size: clamp(18px, 2.5vw, 25px);
    max-width: 640px;
}

.cs-badge {
    flex-shrink: 0;
    background: var(--dark);
    border-radius: 4px;
    padding: 18px 24px;
    text-align: center;
    min-width: 140px;
}

.cs-badge-n {
    font-size: 40px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -1px;
}

.cs-badge-l {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.38);
    margin-top: 5px;
}

.cs-body {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 40px;
}

.cs-col h4 {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 12px;
}

.cs-col p {
    font-size: 15px;
    line-height: 1.72;
}

.cs-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .cs-col ul li {
        font-size: 15px;
        padding-left: 20px;
        position: relative;
        line-height: 1.55;
    }

        .cs-col ul li::before {
            content: '→';
            position: absolute;
            left: 0;
            color: var(--orange);
            font-size: 12px;
            top: 2px;
        }

/* ══════════════════════════════════════════════════════
   SERVICES
══════════════════════════════════════════════════════ */
.svc {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    background: var(--white);
    transition: border-color .25s, box-shadow .25s;
}

    .svc:hover {
        border-color: rgba(255,95,45,.28);
        box-shadow: 0 8px 40px rgba(0,0,0,.05);
    }

@media(max-width:760px) {
    .svc {
        grid-template-columns: 1fr;
    }
}

.svc-main {
    padding: 48px 40px;
    border-right: 1px solid var(--border);
}

@media(max-width:760px) {
    .svc-main {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }
}

.svc-n {
    font-size: 84px;
    font-weight: 800;
    line-height: 1;
    color: var(--off-white-2);
    margin-bottom: 8px;
    transition: color .3s;
}

.svc:hover .svc-n {
    color: rgba(255,95,45,.13);
}

.svc-main h2 {
    font-size: clamp(19px, 2.5vw, 27px);
    margin-bottom: 16px;
}

.svc-main p {
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 12px;
}

.svc-detail {
    padding: 48px 40px;
    background: var(--off-white);
}

    .svc-detail h4 {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 16px;
    }

.svc-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
}

    .svc-list li {
        font-size: 14px;
        padding-left: 20px;
        position: relative;
    }

        .svc-list li::before {
            content: '';
            position: absolute;
            left: 0;
            top: 10px;
            width: 8px;
            height: 2px;
            background: var(--orange);
            border-radius: 1px;
        }

.svc-for {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.65;
}

    .svc-for strong {
        display: block;
        font-size: 11px;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 6px;
    }

/* Service risk reversal box */
.svc-reversal {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.65;
    margin-top: 20px;
}

    .svc-reversal strong {
        display: block;
        font-size: 11px;
        letter-spacing: .08em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 6px;
    }

/* Discovery Sprint price anchor */
.price-anchor {
    border: 1px solid rgba(255,95,45,.4);
    border-radius: 4px;
    padding: 20px 24px;
    margin-top: 20px;
    background: rgba(255,95,45,.03);
}

.price-anchor-label {
    display: block;
    font-size: 11px;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--orange);
    font-weight: 700;
    margin-bottom: 6px;
}

.price-anchor-amount {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    line-height: 1;
    letter-spacing: -1.5px;
}

.price-anchor-sub {
    font-size: 13px;
    color: var(--muted);
    margin-top: 8px;
    line-height: 1.5;
}

/* Pricing transparency note (below service cards) */
.pricing-note {
    border-top: 1px solid var(--border);
    padding: 28px 0 0;
    margin-top: 8px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
}

    .pricing-note strong {
        color: var(--body-text);
    }

/* ══════════════════════════════════════════════════════
   ABOUT
══════════════════════════════════════════════════════ */
.abt-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 72px;
    align-items: start;
    padding-bottom: 80px;
}

@media(max-width:880px) {
    .abt-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* h1 in the page-hero section + h2 in the abt-copy body — same visual size */
.abt-layout h1,
.abt-copy h2 {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

    .abt-layout h1 em,
    .abt-copy h2 em {
        color: var(--orange);
        font-style: normal;
    }

.abt-copy p {
    font-size: 16px;
    line-height: 1.82;
    margin-bottom: 18px;
}

.abt-side {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px;
}

    .abt-side h4 {
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .1em;
        text-transform: uppercase;
        color: var(--muted);
        margin-bottom: 14px;
    }

.tag-cluster {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.tag {
    background: rgba(255,95,45,.1);
    color: var(--orange);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 100px;
}

.tag-dk {
    background: var(--dark);
    color: rgba(255,255,255,.7);
}

.hr {
    height: 1px;
    background: var(--border);
    margin: 18px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin: 64px 0;
}

.why-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px;
    transition: border-color .25s, box-shadow .25s;
}

    .why-card:hover {
        border-color: var(--orange);
        box-shadow: 0 4px 24px rgba(255,95,45,.07);
    }

.why-icon {
    width: 48px;
    height: 48px;
    background: rgba(255,95,45,.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-bottom: 18px;
}

.why-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.why-card p {
    font-size: 14px;
    line-height: 1.72;
}

.why-card ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}

    .why-card ul li {
        font-size: 14px;
        padding-left: 18px;
        position: relative;
        line-height: 1.6;
    }

        .why-card ul li::before {
            content: '✓';
            position: absolute;
            left: 0;
            color: var(--orange);
            font-size: 11px;
            top: 1px;
            font-weight: 700;
        }

.phil-sec {
    background: var(--dark);
    padding: 96px 0;
}

.phil-inner {
    max-width: 780px;
    margin: 0 auto;
    text-align: center;
}

    .phil-inner h2 {
        font-size: clamp(24px, 3.5vw, 44px);
        color: var(--white);
        margin-bottom: 20px;
    }

    .phil-inner p {
        font-size: 16px;
        color: rgba(255,255,255,.52);
        line-height: 1.82;
        margin-bottom: 16px;
    }

.phil-quote {
    border-left: 4px solid var(--orange);
    padding: 22px 32px;
    text-align: left;
    margin: 40px 0;
    background: rgba(255,255,255,.04);
    border-radius: 0 4px 4px 0;
}

    .phil-quote p {
        font-size: 17px;
        font-style: italic;
        color: rgba(255,255,255,.72);
        line-height: 1.78;
    }

/* ══════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════ */
.ct-layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 80px;
    padding: 80px 0 100px;
    align-items: start;
}

@media(max-width:900px) {
    .ct-layout {
        grid-template-columns: 1fr;
        gap: 48px;
    }
}

.ct-left h1 {
    font-size: clamp(34px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -1px;
    margin-bottom: 20px;
}

    .ct-left h1 em {
        color: var(--orange);
        font-style: normal;
    }

.ct-left > p {
    font-size: 16px;
    line-height: 1.75;
    margin-bottom: 32px;
}

.alt-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.alt-m {
    display: flex;
    align-items: center;
    gap: 14px;
}

.alt-icon {
    width: 40px;
    height: 40px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 16px;
}

.alt-m strong {
    color: var(--dark);
    font-size: 14px;
    display: block;
}

.alt-m span {
    font-size: 12px;
    color: var(--muted);
}

.next-steps {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.ns-head {
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    padding: 14px 22px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
}

.ns-list {
    list-style: none;
}

.ns-item {
    display: flex;
    gap: 16px;
    padding: 20px 22px;
    border-bottom: 1px solid var(--border);
}

    .ns-item:last-child {
        border-bottom: none;
    }

.ns-n {
    font-size: 26px;
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    flex-shrink: 0;
    width: 30px;
}

.ns-item h5 {
    font-size: 14px;
    margin-bottom: 3px;
}

.ns-item p {
    font-size: 13px;
    color: var(--muted);
}

.cf {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 40px;
}

.cf-label {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 24px;
}

.fg {
    margin-bottom: 18px;
}

    .fg label {
        display: block;
        font-size: 13px;
        font-weight: 700;
        color: var(--dark);
        margin-bottom: 7px;
    }

.fc {
    width: 100%;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 6px;
    padding: 12px 16px;
    color: var(--dark);
    font-family: 'Manrope', sans-serif;
    font-size: 15px;
    transition: border-color .2s;
    outline: none;
}

    .fc:focus {
        border-color: var(--orange);
    }

    .fc::placeholder {
        color: var(--muted);
    }

textarea.fc {
    resize: vertical;
    min-height: 120px;
}

select.fc {
    appearance: none;
    cursor: pointer;
}

.f-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media(max-width:500px) {
    .f-row {
        grid-template-columns: 1fr;
    }
}

.cf-note {
    font-size: 12px;
    color: var(--muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.55;
}

/* Contact success state */
.form-success-banner {
    background: rgba(255,95,45,.1);
    border: 1px solid rgba(255,95,45,.3);
    border-radius: 6px;
    padding: 14px 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 24px;
}

.cf-sent {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    min-height: 300px;
}

.cf-sent-icon {
    width: 64px;
    height: 64px;
    background: rgba(255,95,45,.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--orange);
    margin-bottom: 20px;
}

.cf-sent h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.cf-sent p {
    font-size: 15px;
    color: var(--muted);
}

/* Form validation errors */
.field-error {
    display: block;
    font-size: 12px;
    color: #e53935;
    margin-top: 4px;
    font-weight: 600;
}

.form-error-summary {
    background: #fdecea;
    border: 1px solid #f5c6c5;
    border-radius: 6px;
    padding: 12px 16px;
    font-size: 13px;
    color: #c62828;
    margin-bottom: 18px;
}

/* ══════════════════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════════════════ */
.tmt-sec {
    background: var(--white);
}

.tmt-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.tmt {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    overflow: hidden;
    transition: border-color .25s, box-shadow .25s;
}

    .tmt::before {
        content: '\201C';
        position: absolute;
        top: 16px;
        right: 24px;
        font-size: 80px;
        line-height: 1;
        font-weight: 800;
        color: var(--orange);
        opacity: .12;
        pointer-events: none;
        user-select: none;
    }

    .tmt:hover {
        border-color: rgba(255,95,45,.28);
        box-shadow: 0 8px 40px rgba(0,0,0,.05);
    }

.tmt-quote {
    margin: 0;
    padding: 0;
    border: none;
    flex: 1;
}

    .tmt-quote p {
        font-size: 15px;
        line-height: 1.72;
        color: var(--body-text);
        font-style: italic;
        margin: 0;
    }

.tmt-attr {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.tmt-role {
    font-size: 14px;
    font-weight: 700;
    color: var(--dark);
}

.tmt-company {
    font-size: 13px;
    color: var(--muted);
    font-weight: 500;
}

.tmt-logo {
    display: block;
    margin-top: 12px;
    max-height: 28px;
    width: auto;
    opacity: .5;
    filter: grayscale(1);
    transition: opacity .2s;
}

    .tmt:hover .tmt-logo {
        opacity: .8;
    }

@media (max-width: 720px) {
    .tmt-grid {
        grid-template-columns: 1fr;
    }
}

/* ══════════════════════════════════════════════════════
   FAQ
══════════════════════════════════════════════════════ */
.faq-sec {
    background: var(--off-white);
}

.faq-list {
    margin: 48px 0 0;
    border-top: 1px solid var(--border);
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 28px 0;
    max-width: 860px;
}

.faq-q {
    font-size: 17px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 12px;
    line-height: 1.4;
}

.faq-a {
    font-size: 15px;
    line-height: 1.72;
    color: var(--body-text);
    margin: 0;
}

/* ══════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════ */
.footer {
    border-top: 1px solid var(--border);
    padding: 32px 0;
    background: var(--white);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
}

.footer-copy {
    font-size: 13px;
    color: var(--muted);
}

.footer-nav {
    display: flex;
    gap: 4px;
    list-style: none;
    flex-wrap: wrap;
}

    .footer-nav a {
        font-size: 13px;
        color: var(--muted);
        padding: 4px 10px;
        border-radius: 4px;
        transition: color .2s, background .2s;
        display: inline-block;
        text-decoration: none;
    }

        .footer-nav a:hover {
            color: var(--dark);
            background: var(--off-white);
        }


/* ── Cookie consent banner ───────────────────────────── */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: var(--dark);
    border-top: 1px solid rgba(255,255,255,.1);
    padding: 18px 0;
    transform: translateY(100%);
    transition: transform 0.35s ease;
}

.cookie-banner.visible {
    transform: translateY(0);
}

.cookie-banner-inner {
    display: flex;
    align-items: center;
    gap: 32px;
}

.cookie-banner-text {
    flex: 1;
    font-size: 14px;
    color: rgba(255,255,255,.72);
    margin: 0;
    line-height: 1.55;
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-sm {
    padding: 10px 22px;
    font-size: 14px;
}

.cookie-banner .btn-outline {
    color: rgba(255,255,255,.72);
    border: 1.5px solid rgba(255,255,255,.25);
    background: transparent;
}

.cookie-banner .btn-outline:hover {
    background: rgba(255,255,255,.06);
    border-color: rgba(255,255,255,.4);
}

@media (max-width: 640px) {
    .cookie-banner-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
}

/* ── Contact: reassurance line + book-a-call callout ─── */
.ct-reassure {
    font-size: 15px;
    color: var(--dark);
    font-weight: 600;
    margin-top: 6px;
}

.book-callout {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0 8px;
    padding: 18px 20px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-left: 4px solid var(--orange);
    border-radius: 4px;
    text-decoration: none;
    transition: background .2s, transform .2s;
}

.book-callout:hover {
    background: var(--off-white-2);
    text-decoration: none;
    transform: translateY(-1px);
}

.book-callout-icon {
    font-size: 24px;
    line-height: 1;
}

.book-callout-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.book-callout-text strong {
    color: var(--dark);
    font-size: 16px;
}

.book-callout-text span {
    color: var(--muted);
    font-size: 14px;
}

.book-callout-arrow {
    margin-left: auto;
    color: var(--orange);
    font-weight: 800;
    font-size: 20px;
}

/* ── Homepage checklist mid-funnel strip ─────────────── */
.checklist-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 48px;
    padding: 48px;
    background: var(--off-white);
    border-radius: 4px;
    border-top: 3px solid var(--orange);
}

.checklist-strip-ctas {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.checklist-strip-sub {
    font-size: 14px;
    color: var(--muted);
    text-decoration: none;
}

.checklist-strip-sub:hover {
    color: var(--dark);
    text-decoration: none;
}

@media (max-width: 700px) {
    .checklist-strip {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .checklist-strip-ctas {
        align-items: flex-start;
    }
}

/* ── Sticky discovery-call CTA (opt-in long pages) ───── */
.sticky-cta {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 150;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 14px 12px 22px;
    background: var(--dark);
    border-radius: 100px;
    box-shadow: 0 10px 34px rgba(24, 26, 36, .30);
    transform: translateY(160%);
    opacity: 0;
    transition: transform .4s ease, opacity .4s ease;
    max-width: calc(100vw - 48px);
}

.sticky-cta.show {
    transform: translateY(0);
    opacity: 1;
}

.sticky-cta-text {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    white-space: nowrap;
}

.sticky-cta-btn {
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 100px;
    white-space: nowrap;
    transition: background .25s;
}

.sticky-cta-btn:hover {
    background: var(--orange-dk);
    color: var(--white);
    text-decoration: none;
}

.sticky-cta-close {
    color: rgba(255, 255, 255, .5);
    font-size: 22px;
    line-height: 1;
    padding: 2px 6px;
}

.sticky-cta-close:hover {
    color: var(--white);
}

@media (max-width: 600px) {
    .sticky-cta {
        left: 16px;
        right: 16px;
        bottom: 16px;
        justify-content: space-between;
        gap: 10px;
    }

    .sticky-cta-text {
        white-space: normal;
        font-size: 13px;
    }
}

/* ── Home: assurance / trust strip ───────────────────── */
.assurance-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
    margin-top: 48px;
}

.assurance-ic {
    color: var(--orange);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 12px;
}

.assurance h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.assurance p {
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .assurance-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .assurance-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Footer credentials row ──────────────────────────── */
.footer-creds-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.footer-cred {
    font-size: 13px;
    color: var(--muted);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.footer-cred::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--orange);
    display: inline-block;
    flex-shrink: 0;
}

.footer-badge {
    height: 34px;
    width: auto;
}

/* ── Lead magnet: "what's inside" box ────────────────── */
.checklist-inside {
    margin: 24px 0;
    padding: 20px 22px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.ci-head {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 12px;
}

.ci-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ci-list li {
    position: relative;
    padding-left: 26px;
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.5;
}

.ci-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--orange);
    font-weight: 800;
}

/* ══════════════════════════════════════════════════════
   CASE STUDY DETAIL PAGES
══════════════════════════════════════════════════════ */

/* ── Summary card (Solutions index) ─────────────────── */
.cs-summary {
    display: block;
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px 36px 64px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s;
}

.cs-summary:hover {
    border-color: rgba(255,95,45,.28);
    box-shadow: 0 8px 40px rgba(0,0,0,.05);
    text-decoration: none;
}

.cs-summary-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 16px;
}

.cs-summary h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--dark);
    margin: 0 0 12px;
    line-height: 1.3;
}

.cs-summary p {
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.65;
    margin: 0;
}

.cs-summary-arrow {
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform .2s, background .2s, color .2s;
}

.cs-summary:hover .cs-summary-arrow {
    background: var(--orange);
    color: var(--white);
    transform: translateX(4px);
}

.cs-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
}

@media(max-width: 780px) {
    .cs-summary-grid {
        grid-template-columns: 1fr;
    }
}

/* ── At-a-glance strip ───────────────────────────────── */
.cs-detail-summary {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 28px 36px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 32px;
    margin-bottom: 72px;
}

.cs-detail-summary-item .label {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--orange);
    display: block;
    margin-bottom: 6px;
}

.cs-detail-summary-item .value {
    font-size: 15px;
    font-weight: 600;
    color: var(--dark);
}

/* ── Detail page section spacing ────────────────────── */
.cs-detail-section {
    padding: 72px 0;
}

.cs-detail-section.alt {
    background: var(--off-white);
}

.cs-detail-section.dark {
    background: var(--dark);
}

.cs-detail-section h2 {
    font-size: clamp(28px, 4vw, 42px);
    font-weight: 600;
    color: var(--dark);
    letter-spacing: -0.3px;
    margin: 0 0 28px;
    max-width: 720px;
}

.cs-detail-section.dark h2 {
    color: var(--white);
}

.cs-detail-section h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark);
    margin: 36px 0 14px;
}

.cs-detail-section p {
    font-size: 17px;
    color: var(--body-text);
    line-height: 1.72;
    max-width: 760px;
    margin: 0 0 18px;
}

.cs-detail-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 760px;
    margin: 0 0 18px;
}

.cs-detail-section ul li {
    font-size: 17px;
    color: var(--body-text);
    padding-left: 24px;
    position: relative;
    line-height: 1.65;
}

.cs-detail-section ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 13px;
    top: 3px;
}

@media(max-width: 768px) {
    .cs-detail-section {
        padding: 52px 0;
    }
}

/* ── Architecture diagram ───────────────────────────── */
.arch-diagram {
    margin: 32px 0;
    padding: 32px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow-x: auto;
}

.arch-diagram svg {
    width: 100%;
    height: auto;
    display: block;
    min-width: 600px;
}

.arch-diagram figcaption {
    margin-top: 20px;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 760px;
}

/* ── Code block ─────────────────────────────────────── */
.code-block {
    background: var(--dark);
    border-radius: 4px;
    padding: 24px 28px;
    overflow-x: auto;
    margin: 20px 0 28px;
    font-family: 'JetBrains Mono', 'Consolas', 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.65;
    color: rgba(255,255,255,.92);
}

.code-block code {
    color: inherit;
    background: transparent;
    padding: 0;
    font-family: inherit;
    white-space: pre;
    display: block;
}

.code-block .kw  { color: #FF9570; }
.code-block .str { color: #C2D5A8; }
.code-block .cmt { color: #9AA0B5; font-style: italic; }
.code-block .typ { color: #9DC4E8; }

/* ── Tech chip strip (static, not scrolling) ────────── */
.tech-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
}

/* ── Metrics strip for page-hero ────────────────────── */
.metrics-strip {
    display: flex;
    flex-wrap: wrap;
    border-top: 1px solid rgba(255,255,255,.1);
    padding-top: 40px;
    margin-top: 40px;
    gap: 0;
}

.mstat {
    padding: 0 48px 0 0;
    margin-right: 48px;
    border-right: 1px solid rgba(255,255,255,.1);
    text-align: left;
}

.mstat:last-child {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.mstat-num {
    font-size: clamp(36px, 5vw, 52px);
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    margin-bottom: 6px;
    letter-spacing: -1.5px;
}

.mstat-num em {
    color: var(--orange);
    font-style: normal;
}

.mstat-label {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255,255,255,.4);
    text-transform: uppercase;
    letter-spacing: .1em;
}

@media(max-width: 680px) {
    .mstat {
        padding: 16px 0;
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.1);
        margin-right: 0;
        width: 100%;
    }
    .mstat:last-child {
        border-bottom: none;
    }
}

/* ── Outcome metric grid ─────────────────────────────── */
.outcome-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 56px;
}

.outcome-metric {
    background: var(--dark);
    padding: 36px 32px;
    transition: background .25s;
}

.outcome-metric:hover {
    background: var(--dark-2);
}

.outcome-metric-num {
    font-size: clamp(40px, 5vw, 60px);
    font-weight: 800;
    color: var(--orange);
    line-height: 1;
    letter-spacing: -1.5px;
    margin-bottom: 10px;
}

.outcome-metric-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: rgba(255,255,255,.5);
    margin-bottom: 8px;
}

.outcome-metric-desc {
    font-size: 14px;
    color: rgba(255,255,255,.42);
    line-height: 1.6;
}

/* ── Related case studies (2-col grid) ──────────────── */
.cs-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* ── Page-hero breadcrumb ───────────────────────────── */
.breadcrumb-seo {
    display: flex;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
    font-size: 13px;
}

.breadcrumb-seo a {
    color: rgba(255,255,255,.45);
    text-decoration: none;
    transition: color .2s;
}

.breadcrumb-seo a:hover {
    color: rgba(255,255,255,.75);
}

.breadcrumb-seo .sep {
    color: rgba(255,255,255,.25);
}

.breadcrumb-seo .current {
    color: rgba(255,255,255,.7);
}

/* ══════════════════════════════════════════════════════
   INSIGHTS (BLOG)
══════════════════════════════════════════════════════ */

/* ── Listing grid ────────────────────────────────────── */
.ins-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    gap: 24px;
    padding-top: 8px;
}

@media(max-width: 780px) {
    .ins-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Article card ────────────────────────────────────── */
.ins-card {
    display: block;
    position: relative;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 32px 36px 64px;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s, box-shadow .2s;
}

.ins-card:hover {
    border-color: rgba(255,95,45,.28);
    box-shadow: 0 8px 40px rgba(0,0,0,.05);
    text-decoration: none;
}

.ins-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.ins-tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    background: rgba(255,95,45,.1);
    color: var(--orange);
    padding: 3px 10px;
    border-radius: 100px;
}

.ins-date {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
}

.ins-card h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--dark);
    margin: 0 0 14px;
    line-height: 1.3;
}

.ins-card p {
    font-size: 15px;
    color: var(--body-text);
    line-height: 1.68;
    margin: 0;
}

.ins-arrow {
    position: absolute;
    right: 28px;
    bottom: 24px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--off-white);
    color: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: transform .2s, background .2s, color .2s;
}

.ins-card:hover .ins-arrow {
    background: var(--orange);
    color: var(--white);
    transform: translateX(4px);
}

/* ── Article detail page ─────────────────────────────── */
.article-body {
    max-width: 760px;
    padding: 56px 0 80px;
}

.article-body h2 {
    font-size: clamp(24px, 3.2vw, 36px);
    font-weight: 700;
    color: var(--dark);
    margin: 52px 0 18px;
    letter-spacing: -.3px;
    line-height: 1.25;
}

.article-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 36px 0 12px;
    line-height: 1.3;
}

.article-body p {
    font-size: 17px;
    color: var(--body-text);
    line-height: 1.78;
    margin: 0 0 20px;
}

.article-body ul,
.article-body ol {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0 0 24px;
    padding: 0;
}

.article-body ul li {
    font-size: 17px;
    color: var(--body-text);
    padding-left: 24px;
    position: relative;
    line-height: 1.65;
}

.article-body ul li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 13px;
    top: 3px;
}

.article-body ol {
    counter-reset: ol-counter;
}

.article-body ol li {
    font-size: 17px;
    color: var(--body-text);
    padding-left: 30px;
    position: relative;
    line-height: 1.65;
    counter-increment: ol-counter;
}

.article-body ol li::before {
    content: counter(ol-counter) '.';
    position: absolute;
    left: 0;
    color: var(--orange);
    font-size: 14px;
    font-weight: 700;
    top: 1px;
}

.article-body strong {
    color: var(--dark);
    font-weight: 700;
}

.article-body a {
    color: var(--orange);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-body a:hover {
    color: var(--orange-dk);
}

.article-body code {
    font-family: 'Consolas', 'Courier New', monospace;
    font-size: 14px;
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 2px 7px;
    color: var(--dark);
}

/* ── Article meta bar (date, read time) ──────────────── */
.article-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    padding: 24px 0 0;
    margin-top: 20px;
    border-top: 1px solid rgba(255,255,255,.12);
}

.article-meta-item {
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,.45);
}

/* ── Back to Insights link ───────────────────────────── */
.article-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: none;
    margin-top: 48px;
    transition: color .2s;
}

.article-back::before {
    content: '←';
    font-size: 16px;
}

.article-back:hover {
    color: var(--dark);
    text-decoration: none;
}
