/**
 * ===========================================================================
 * QueryKey Cases – Brand Page Styling
 *
 * @fileOverview
 * Dedicated layout and hero styling for /company/querykey-cases so the hero copy
 * stays left-aligned while the structured case preview anchors on the right.
 *
 * @author
 * QueryKey Cases Web Team
 *
 *
 * @maintainer
 * Cases Engineering Lead
 * @timestamp
 * 2025-11-08 15:30:00 UTC
 * ===========================================================================
 */

.p-company-brand {
    --brand-hero-max-width: 1180px;
    --brand-section-max-width: 1200px;
    --brand-page-bg: var(--qk-standard-band-dark);
    --brand-page-bg-image: linear-gradient(145deg, var(--qk-standard-band-dark) 0%, var(--qk-standard-band-mid) 100%), var(--qk-standard-band-pattern);
    --brand-hero-copy: rgb(224 233 255 / 90%);
    --brand-muted: rgb(176 194 222 / 82%);
    --brand-eyebrow-bg: rgb(10 18 36 / 75%);
    --brand-eyebrow-border: rgb(255 255 255 / 14%);
    --brand-shell-surface: rgb(6 12 30 / 82%);
    --brand-shell-border: rgb(255 255 255 / 20%);
    --brand-shell-shadow: 0 42px 72px rgb(3 8 20 / 65%);
    --brand-list-bullet: var(--qk-accent-orange);
    --brand-headline-blue: var(--qk-accent-blue);
}

/* Company/Cases owns its own canvas and must not inherit the homepage body
   contract. Keep this route on the shared standard-page architecture only. */
body.p-company-brand.p-cases {
    background-color: #0f1d38;
    background-image:
        radial-gradient(circle at 20% -8%, rgb(247 127 0 / 20%), transparent 54%),
        radial-gradient(circle at 82% 0%, rgb(62 99 238 / 18%), transparent 58%),
        linear-gradient(180deg, rgb(7 17 48 / 32%) 0%, rgb(5 12 32 / 38%) 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238aa9ff' fill-opacity='0.28'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(135deg, rgb(15 29 56) 0%, rgb(17 38 79) 38%, rgb(62 99 238) 100%);
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
    background-size: auto, auto, auto, 60px 60px, cover;
    background-position: center top, center top, center top, top left, center top;
    background-attachment: scroll;
    background-blend-mode: normal, normal, normal, screen, normal;
}

body.light-mode.p-company-brand {
    --brand-page-bg: var(--qk-standard-light-canvas);
    --brand-page-bg-image: linear-gradient(180deg, var(--qk-standard-light-canvas) 0%, var(--qk-standard-light-surface) 100%);
    --brand-hero-copy: #1f2a44;
    --brand-muted: rgb(75 86 113);
    --brand-eyebrow-bg: rgb(232 238 251 / 92%);
    --brand-eyebrow-border: rgb(15 23 42 / 12%);
    --brand-shell-surface: #ffffff;
    --brand-shell-border: rgb(15 23 42 / 15%);
    --brand-shell-shadow: 0 28px 46px rgb(15 23 42 / 15%);
    --brand-list-bullet: var(--qk-accent-orange);
    --brand-headline-blue: var(--qk-accent-blue);
}

body.light-mode.p-company-brand.p-cases {
    background-color: #eef3fb;
    background-image:
        radial-gradient(circle at 22% -10%, rgb(247 127 0 / 16%), transparent 56%),
        radial-gradient(circle at 84% 0%, rgb(62 99 238 / 12%), transparent 58%),
        linear-gradient(180deg, rgb(255 255 255 / 36%) 0%, rgb(255 255 255 / 46%) 70%),
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%239C92AC' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(145deg, #eef3fb 0%, #f7f9ff 40%, #fff 100%);
    background-repeat: no-repeat, no-repeat, no-repeat, repeat, no-repeat;
    background-size: auto, auto, auto, 60px 60px, cover;
    background-position: center top, center top, center top, top left, center top;
    background-blend-mode: normal, normal, normal, normal, normal;
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .hero-text-content,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .hero-text-content p,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .hero-text-content li,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .hero-text-content .about-hero-lead,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .about-hero-highlights li {
    color: rgb(236 244 255 / 92%);
    text-shadow: 0 10px 28px rgb(4 10 24 / 24%);
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .about-hero-lead,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .about-hero-highlights li,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .hero-buttons .btn-secondary,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .brand-cta-card .btn-secondary {
    color: #fff !important;
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .hero-buttons .btn-secondary,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .brand-cta-card .btn-secondary {
    background: linear-gradient(135deg, var(--qk-accent-blue) 0%, var(--blue-dark) 100%) !important;
    border-color: var(--blue-dark) !important;
    box-shadow: 0 16px 34px rgb(37 73 194 / 28%);
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .about-hero-eyebrow .eyebrow-collector {
    color: rgb(244 248 255 / 92%);
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .hero.vendorless-ui-framework-hero-fixed .about-hero-highlights li::before {
    background: linear-gradient(135deg, var(--qk-accent-orange) 0%, #ffb14d 100%);
    color: #081520;
}

/* ------------------------------
   Hero layout and typography
   ------------------------------ */
.p-company-brand .hero-landing {
    padding: clamp(3.5rem, 7vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
    text-align: center;
}

.p-company-brand .hero-landing .container {
    width: min(92%, var(--brand-hero-max-width));
    margin: 0 auto;
}

.p-company-brand .hero-grid-layout {
    display: grid;
    gap: clamp(2rem, 4vw, 3.5rem);
}

.p-company-brand .hero-text-content {
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.p-company-brand .about-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.4rem 1rem;
    border-radius: 999px;
    background: var(--brand-eyebrow-bg);
    border: 1px solid var(--brand-eyebrow-border);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: rgb(255 255 255 / 80%);
    margin-bottom: 1.25rem;
}

.p-company-brand .about-hero-eyebrow .eyebrow-query {
    color: var(--qk-accent-orange);
}

.p-company-brand .about-hero-eyebrow .eyebrow-key {
    color: var(--qk-accent-blue);
}

.p-company-brand .about-hero-eyebrow .eyebrow-collector {
    color: var(--brand-hero-copy);
}

.p-company-brand .about-hero-title {
    font-size: clamp(2.8rem, 6.8vw, 5rem);
    line-height: 1.05;
    margin-bottom: 1rem;
    color: var(--brand-headline-blue);
}

.p-company-brand .about-hero-lead {
    font-size: 1.2rem;
    color: var(--brand-hero-copy);
    margin: 0 auto 1.5rem;
    max-width: 34rem;
    line-height: 1.65;
}

.p-company-brand .about-hero-lead-intro,
.p-company-brand .about-hero-lead-sentence {
    display: inline;
}

.p-company-brand .about-hero-highlights {
    list-style: none;
    padding: 0;
    margin: 0 0 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    color: var(--brand-muted);
    max-width: 34rem;
    margin-left: auto;
    margin-right: auto;
}

.p-company-brand .about-hero-highlights li {
    display: flex;
    gap: 0.65rem;
    align-items: flex-start;
}

.p-company-brand .about-hero-highlights li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.1rem;
    height: 1.1rem;
    min-width: 1.1rem;
    min-height: 1.1rem;
    margin-top: 0.12rem;
    flex-shrink: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--qk-accent-orange) 0%, #ffb14d 100%);
    color: #081520;
    font-size: 0.72rem;
    font-weight: 900;
    line-height: 1;
    box-shadow:
        0 6px 16px rgb(247 144 29 / 22%),
        inset 0 1px 0 rgb(255 255 255 / 24%);
}

.p-company-brand .hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.p-company-brand .hero-card-content {
    display: flex;
    justify-content: center;
}

.p-company-brand .hero-card-shell {
    width: min(100%, 540px);
    border-radius: 32px;
    padding: clamp(1.1rem, 3vw, 1.6rem);
    background: transparent;
    border: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.p-company-brand .about-hero-card {
    margin: 0;
}

.p-company-brand .about-hero-card::before {
    display: none;
}

.p-company-brand .about-hero-card .card-surface {
    box-shadow: none;
    padding: 26px 28px 30px;
    border: 3px solid rgb(59 130 246);
    border-radius: 30px;
}

body.light-mode.p-company-brand .about-hero-card .card-surface {
    border-color: var(--qk-accent-blue);
}

.p-company-brand .case-number-badge {
    background: rgb(249 127 0 / 22%);
    color: #fff;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-weight: 700;
    letter-spacing: 0.05em;
}

@media (min-width: 960px) {
    .p-company-brand .hero-grid-layout {
        grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
        align-items: center;
    }

    .p-company-brand .hero-text-content {
        text-align: left;
        margin: 0;
    }

    .p-company-brand .hero-buttons {
        justify-content: flex-start;
    }

    .p-company-brand .hero-card-content {
        justify-content: flex-end;
    }
}

/* ------------------------------
   Shared section scaffolding
   ------------------------------ */
.p-company-brand .about-section {
    padding: clamp(3.6rem, 7vw, 5.8rem) 0;
}

.p-company-brand .about-section .container {
    width: min(92%, var(--brand-section-max-width));
    margin: 0 auto;
}

.p-company-brand .section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 1rem;
}

.p-company-brand .about-section-overview .section-title,
.p-company-brand .about-section-governance .section-title,
.p-company-brand .about-section-tiers .section-title {
    color: var(--qk-accent-orange);
}

.p-company-brand .about-section-story .section-title,
.p-company-brand .about-section-developers .section-title {
    color: var(--qk-accent-blue);
}

.p-company-brand .section-title-left {
    text-align: left;
}

.p-company-brand .section-lead {
    max-width: 760px;
    margin: 0 auto 1.5rem;
    color: var(--brand-hero-copy);
    font-size: 1.05rem;
    line-height: 1.7;
}

.p-company-brand .section-lead-left {
    margin-left: 0;
    margin-right: 0;
    max-width: none;
    text-align: left;
}

.p-company-brand .feature-section + .feature-section {
    padding-top: clamp(0.8rem, 2vw, 1.35rem);
}

.p-company-brand #contributing {
    scroll-margin-top: 6rem;
}

.p-company-brand .brand-cta-card--contributing-follow {
    margin-top: clamp(1.25rem, 3vw, 2rem);
}

.p-company-brand .company-docs-index {
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 48rem;
    margin-left: auto;
    margin-right: auto;
    text-wrap: balance;
}

.p-company-brand .company-docs-index a {
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.p-company-brand .company-docs-index__sep {
    display: inline-block;
    padding: 0 0.35rem;
    opacity: 0.65;
}

.p-company-brand .feature-section {
    --feature-section-title-color: var(--qk-accent-orange);
    --feature-section-kicker-color: var(--qk-accent-blue);
    --feature-border-color: rgb(62 99 238 / 55%);
    --feature-title-color: var(--qk-accent-orange);
    --feature-glow-color: rgb(62 99 238 / 16%);
    --feature-glow-secondary: rgb(244 122 0 / 10%);
    --feature-shell-border: rgb(255 255 255 / 10%);
    --feature-shell-topline: rgb(255 255 255 / 12%);
    --feature-shell-bg-top: rgb(11 19 39 / 54%);
    --feature-shell-bg-bottom: rgb(8 14 30 / 38%);
    position: relative;
}

.p-company-brand .feature-section-overview {
    --feature-section-title-color: var(--qk-accent-orange);
    --feature-section-kicker-color: var(--qk-accent-blue);
    --feature-border-color: rgb(62 99 238 / 55%);
    --feature-title-color: var(--qk-accent-orange);
    --feature-glow-color: rgb(62 99 238 / 18%);
    --feature-glow-secondary: rgb(244 122 0 / 10%);
    --feature-shell-border: rgb(86 124 224 / 22%);
    --feature-shell-topline: rgb(86 124 224 / 26%);
}

.p-company-brand .feature-section-trust {
    --feature-section-title-color: var(--qk-accent-blue);
    --feature-section-kicker-color: var(--qk-accent-orange);
    --feature-shell-border: rgb(62 99 238 / 20%);
    --feature-shell-topline: rgb(62 99 238 / 24%);
    --feature-shell-bg-top: rgb(9 19 44 / 56%);
    --feature-shell-bg-bottom: rgb(7 14 31 / 34%);
}

.p-company-brand .feature-section-collections {
    --feature-section-title-color: var(--qk-accent-orange);
    --feature-section-kicker-color: var(--qk-accent-blue);
    --feature-shell-border: rgb(244 122 0 / 18%);
    --feature-shell-topline: rgb(244 122 0 / 24%);
    --feature-shell-bg-top: rgb(23 18 12 / 42%);
    --feature-shell-bg-bottom: rgb(9 15 31 / 34%);
}

.p-company-brand .feature-section-reports {
    --feature-section-title-color: var(--qk-accent-blue);
    --feature-section-kicker-color: var(--qk-accent-orange);
    --feature-shell-border: rgb(62 99 238 / 18%);
    --feature-shell-topline: rgb(62 99 238 / 24%);
    --feature-shell-bg-top: rgb(8 18 43 / 52%);
    --feature-shell-bg-bottom: rgb(10 15 28 / 34%);
}

.p-company-brand .feature-section-build {
    --feature-section-title-color: var(--qk-accent-orange);
    --feature-section-kicker-color: var(--qk-accent-blue);
    --feature-shell-border: rgb(244 122 0 / 20%);
    --feature-shell-topline: rgb(244 122 0 / 26%);
    --feature-shell-bg-top: rgb(26 18 10 / 44%);
    --feature-shell-bg-bottom: rgb(9 16 35 / 34%);
}

.p-company-brand .feature-section-privacy {
    --feature-section-title-color: var(--qk-accent-blue);
    --feature-section-kicker-color: var(--qk-accent-orange);
    --feature-shell-border: rgb(62 99 238 / 18%);
    --feature-shell-topline: rgb(62 99 238 / 24%);
    --feature-shell-bg-top: rgb(8 17 39 / 50%);
    --feature-shell-bg-bottom: rgb(8 14 28 / 34%);
}

.p-company-brand .feature-section .container {
    position: relative;
    z-index: 1;
}

.p-company-brand .feature-section-shell {
    position: relative;
    border-radius: 32px;
    padding: clamp(1.45rem, 3vw, 2.35rem);
    border: 1px solid var(--feature-shell-border);
    background:
        linear-gradient(140deg, rgb(255 255 255 / 5%) 0%, rgb(255 255 255 / 0%) 24%),
        linear-gradient(180deg, rgb(17 28 56 / 42%) 0%, rgb(9 15 31 / 26%) 100%);
    box-shadow:
        0 26px 56px rgb(3 8 20 / 24%),
        0 10px 22px rgb(3 8 20 / 14%),
        inset 0 1px 0 var(--feature-shell-topline),
        inset 0 -1px 0 rgb(255 255 255 / 2%);
    overflow: hidden;
    backdrop-filter: blur(12px) saturate(108%);
    isolation: isolate;
}

.p-company-brand .feature-section-shell::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 0% 0%, var(--feature-glow-secondary), transparent 30%),
        radial-gradient(circle at 100% 0%, var(--feature-glow-color), transparent 28%),
        radial-gradient(circle at 50% 100%, rgb(255 255 255 / 3%), transparent 36%),
        linear-gradient(132deg, rgb(255 255 255 / 7%), rgb(255 255 255 / 0%) 26%, rgb(255 255 255 / 2%) 100%);
    pointer-events: none;
    opacity: 0.58;
}

.p-company-brand .feature-section-shell::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 26px;
    border: 1px solid rgb(255 255 255 / 4%);
    pointer-events: none;
}

.p-company-brand .feature-section-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-bottom: 0.8rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    border: 1px solid var(--feature-border-color);
    background: linear-gradient(135deg, rgb(255 255 255 / 10%), rgb(255 255 255 / 3%));
    color: var(--feature-section-kicker-color);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 9%);
}

.p-company-brand .feature-section-kicker::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--feature-section-kicker-color);
    box-shadow: 0 0 0 6px rgb(255 255 255 / 3%);
}

.p-company-brand .feature-section .section-title {
    color: var(--feature-section-title-color);
}

.p-company-brand .feature-section-intro {
    margin-bottom: clamp(1.5rem, 3vw, 2.2rem);
    position: relative;
    z-index: 1;
}

.p-company-brand .feature-section-intro .section-title,
.p-company-brand .feature-section-overview .brand-cta-card .section-title {
    position: relative;
    padding-bottom: 0.95rem;
    margin-bottom: 0.95rem;
}

.p-company-brand .feature-section-intro .section-title::after,
.p-company-brand .feature-section-overview .brand-cta-card .section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 88px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--feature-section-title-color) 0%, var(--feature-border-color) 100%);
    box-shadow: 0 0 18px rgb(255 255 255 / 8%);
}

.p-company-brand .feature-section-overview .brand-cta-card .section-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.p-company-brand .feature-section-intro .section-lead,
.p-company-brand .feature-section-overview .brand-cta-card .section-lead {
    font-size: 1.04rem;
    line-height: 1.78;
}

.p-company-brand .feature-grid {
    display: grid;
    gap: clamp(1rem, 2.2vw, 1.5rem);
}

.p-company-brand .feature-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.p-company-brand .feature-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-company-brand .feature-grid-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-company-brand .feature-grid-secondary {
    margin-top: clamp(1rem, 2.4vw, 1.4rem);
}

.p-company-brand .feature-grid,
.p-company-brand .case-anatomy-grid {
    position: relative;
    z-index: 1;
}

.p-company-brand .feature-card {
    border-radius: 30px;
    border: 3px solid var(--feature-border-color);
    background:
        radial-gradient(circle at 12% 0%, var(--feature-glow-secondary), transparent 48%),
        radial-gradient(circle at 88% 100%, var(--feature-glow-color), transparent 56%),
        linear-gradient(180deg, rgb(18 29 58 / 92%) 0%, rgb(10 16 34 / 94%) 100%);
    box-shadow:
        0 18px 34px rgb(6 8 18 / 24%),
        inset 0 1px 0 rgb(255 255 255 / 7%);
    padding: clamp(1.4rem, 2.8vw, 1.9rem);
    position: relative;
    overflow: hidden;
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    backdrop-filter: blur(10px) saturate(106%);
    isolation: isolate;
}

.p-company-brand .feature-card::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--feature-border-color) 0%, rgb(255 255 255 / 0%) 100%);
    opacity: 0.95;
}

.p-company-brand .feature-card::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgb(255 255 255 / 4%);
    pointer-events: none;
}

.p-company-brand .feature-card-featured {
    box-shadow:
        0 26px 52px rgb(6 8 18 / 36%),
        inset 0 1px 0 rgb(255 255 255 / 8%);
    background:
        radial-gradient(circle at 12% 0%, var(--feature-glow-secondary), transparent 42%),
        radial-gradient(circle at 88% 100%, var(--feature-glow-color), transparent 48%),
        linear-gradient(180deg, rgb(22 34 66 / 95%) 0%, rgb(10 16 34 / 96%) 100%);
}

.p-company-brand .feature-card h3 {
    margin: 0 0 0.75rem;
    font-size: clamp(1.26rem, 2.1vw, 1.52rem);
    color: var(--feature-title-color);
}

.p-company-brand .feature-card p {
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.72;
}

.p-company-brand .feature-card p + p {
    margin-top: 0.85rem;
}

.p-company-brand .feature-card .feature-usage {
    color: var(--brand-hero-copy);
}

.p-company-brand .feature-card:hover,
.p-company-brand .case-anatomy-item:hover {
    transform: translateY(-6px);
    box-shadow:
        0 22px 42px rgb(6 8 18 / 34%),
        inset 0 1px 0 rgb(255 255 255 / 7%);
}

.p-company-brand .feature-grid-featured .feature-card:first-child {
    transform: translateY(-8px);
}

.p-company-brand .feature-grid-featured .feature-card:last-child {
    transform: translateY(8px);
}

.p-company-brand .feature-grid-featured .feature-card:first-child:hover {
    transform: translateY(-12px);
}

.p-company-brand .feature-grid-featured .feature-card:last-child:hover {
    transform: translateY(2px);
}

.p-company-brand .feature-grid .feature-card:nth-child(odd),
.p-company-brand .case-anatomy-grid .case-anatomy-item:nth-child(odd) {
    --feature-border-color: rgb(62 99 238 / 55%);
    --feature-title-color: var(--qk-accent-orange);
    --feature-glow-color: rgb(62 99 238 / 16%);
    --feature-glow-secondary: rgb(244 122 0 / 10%);
}

.p-company-brand .feature-grid .feature-card:nth-child(even),
.p-company-brand .case-anatomy-grid .case-anatomy-item:nth-child(even) {
    --feature-border-color: rgb(244 122 0 / 55%);
    --feature-title-color: var(--qk-accent-blue);
    --feature-glow-color: rgb(244 122 0 / 14%);
    --feature-glow-secondary: rgb(62 99 238 / 10%);
}

.p-company-brand .feature-grid-featured .feature-card:first-child {
    --feature-border-color: rgb(62 99 238 / 55%);
    --feature-title-color: var(--qk-accent-orange);
    --feature-glow-color: rgb(62 99 238 / 18%);
    --feature-glow-secondary: rgb(244 122 0 / 10%);
}

.p-company-brand .feature-grid-featured .feature-card:last-child {
    --feature-border-color: rgb(244 122 0 / 55%);
    --feature-title-color: var(--qk-accent-blue);
    --feature-glow-color: rgb(244 122 0 / 16%);
    --feature-glow-secondary: rgb(62 99 238 / 10%);
}

.p-company-brand .feature-section-intro .section-lead,
.p-company-brand .feature-section-overview .brand-cta-card .section-lead {
    max-width: 56rem;
}

.p-company-brand .feature-section-overview .brand-cta-card {
    position: relative;
    z-index: 1;
    margin-bottom: clamp(1.8rem, 3vw, 2.35rem);
}

.p-company-brand .case-anatomy-grid,
.p-company-brand .proof-strip,
.p-company-brand .platform-surface-grid {
    display: grid;
    gap: clamp(1rem, 2.2vw, 1.5rem);
}

.p-company-brand .case-anatomy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.p-company-brand .case-anatomy-item,
.p-company-brand .proof-item,
.p-company-brand .platform-surface-item {
    border-radius: 30px;
    border: 3px solid var(--feature-border-color);
    background:
        radial-gradient(circle at 12% 0%, var(--feature-glow-secondary), transparent 48%),
        radial-gradient(circle at 88% 100%, var(--feature-glow-color), transparent 56%),
        linear-gradient(180deg, rgb(18 29 58 / 92%) 0%, rgb(10 16 34 / 94%) 100%);
    box-shadow:
        0 18px 34px rgb(6 8 18 / 24%),
        inset 0 1px 0 rgb(255 255 255 / 7%);
    padding: clamp(1.35rem, 2.7vw, 1.8rem);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
    backdrop-filter: blur(10px) saturate(106%);
    isolation: isolate;
}

.p-company-brand .case-anatomy-item {
    position: relative;
    overflow: hidden;
}

.p-company-brand .case-anatomy-item::before {
    content: '';
    position: absolute;
    inset: 0 auto 0 0;
    width: 4px;
    background: linear-gradient(180deg, var(--feature-border-color) 0%, rgb(255 255 255 / 0%) 100%);
}

.p-company-brand .case-anatomy-item::after {
    content: '';
    position: absolute;
    inset: 14px;
    border-radius: 22px;
    border: 1px solid rgb(255 255 255 / 5%);
    pointer-events: none;
}

.p-company-brand .case-anatomy-kicker {
    display: inline-flex;
    margin-bottom: 0.8rem;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-muted);
}

.p-company-brand .case-anatomy-item h3,
.p-company-brand .proof-item h3,
.p-company-brand .platform-surface-item h3 {
    margin: 0 0 0.55rem;
    font-size: 1.15rem;
    color: var(--feature-title-color);
}

.p-company-brand .case-anatomy-item p,
.p-company-brand .proof-item p,
.p-company-brand .platform-surface-item p {
    margin: 0;
    color: var(--brand-muted);
    line-height: 1.7;
}

.p-company-brand .workflow-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
    gap: clamp(1.5rem, 3vw, 2.4rem);
    align-items: start;
}

.p-company-brand .proof-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.p-company-brand .proof-item {
    padding: 1.15rem 1.2rem;
}

.p-company-brand .workflow-feature-panel,
.p-company-brand .platform-surface {
    border-radius: 28px;
    border: 1px solid rgb(244 122 0 / 24%);
    background:
        radial-gradient(circle at 12% 0%, rgb(244 122 0 / 10%), transparent 40%),
        radial-gradient(circle at 88% 100%, rgb(62 99 238 / 14%), transparent 50%),
        linear-gradient(180deg, rgb(10 20 42 / 88%) 0%, rgb(8 16 34 / 94%) 100%);
    box-shadow: 0 22px 42px rgb(4 8 20 / 34%);
}

.p-company-brand .workflow-feature-panel {
    padding: clamp(1.35rem, 2.8vw, 1.9rem);
}

.p-company-brand .workflow-feature-panel h2,
.p-company-brand .platform-surface .section-title {
    margin-top: 0;
    margin-bottom: 0.85rem;
}

.p-company-brand .workflow-feature-panel h2 {
    font-size: clamp(1.65rem, 3vw, 2.2rem);
    color: var(--qk-accent-blue);
}

.p-company-brand .workflow-feature-panel p {
    margin: 0 0 1.1rem;
    color: var(--brand-hero-copy);
    line-height: 1.7;
}

.p-company-brand .workflow-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.95rem;
}

.p-company-brand .workflow-list li {
    display: flex;
    flex-direction: column;
    gap: 0.28rem;
    padding: 0.9rem 0 0.95rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.p-company-brand .workflow-list li:first-child {
    border-top: none;
    padding-top: 0;
}

.p-company-brand .workflow-list strong {
    color: #fff;
    font-size: 1rem;
}

.p-company-brand .workflow-list span {
    color: var(--brand-muted);
    line-height: 1.65;
}

.p-company-brand .platform-surface {
    margin-top: clamp(1.8rem, 3vw, 2.5rem);
    padding: clamp(1.45rem, 3vw, 2rem);
}

.p-company-brand .platform-surface-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-top: 1.2rem;
}

.p-company-brand .platform-surface-item {
    background: rgb(255 255 255 / 3%);
    border-color: rgb(255 255 255 / 10%);
    box-shadow: none;
}

.p-company-brand .brand-pillars-grid,
.p-company-brand .cases-grid,
.p-company-brand .tiers-grid {
    display: grid;
    gap: clamp(1.8rem, 3.2vw, 2.8rem);
}

.p-company-brand .brand-pillars-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.p-company-brand .cases-grid,
.p-company-brand .tiers-grid {
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    justify-items: stretch;
}

.p-company-brand .cases-grid > *,
.p-company-brand .tiers-grid > * {
    width: 100%;
}

.p-company-brand .compact-list,
.p-company-brand .tier-benefits,
.p-company-brand .developer-highlights,
.p-company-brand .story-highlights {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    color: var(--brand-muted);
}

.p-company-brand .compact-list li,
.p-company-brand .tier-benefits li,
.p-company-brand .developer-highlights li,
.p-company-brand .story-highlights li {
    line-height: 1.6;
}

.p-company-brand .story-grid,
.p-company-brand .developer-grid {
    display: grid;
    gap: clamp(1.5rem, 4vw, 3rem);
}

.p-company-brand .story-grid {
    align-items: center;
}

.p-company-brand .story-copy {
    max-width: 640px;
}

.p-company-brand .highlight-label {
    font-weight: 600;
    color: #fff;
}

body.light-mode.p-company-brand .highlight-label {
    color: #1f2a44;
}

body.light-mode.p-company-brand .developer-highlights strong {
    color: #1f2a44;
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .about-section-developers .section-lead,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .about-section-developers .developer-copy p,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .about-section-developers .developer-highlights li {
    color: rgb(228 236 255 / 86%);
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .about-section-developers .highlight-label,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .about-section-developers .developer-highlights strong {
    color: #fff;
}

.p-company-brand .story-card,
.p-company-brand .developer-card {
    height: 100%;
}

.p-company-brand .developer-copy .developer-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.p-company-brand .developer-snippet pre {
    background: rgb(9 15 34 / 90%);
    padding: 1rem;
    border-radius: 18px;
    overflow-x: auto;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.p-company-brand .developer-snippet code {
    color: #cbd5f5;
}

body.light-mode.p-company-brand .developer-snippet pre {
    background: #0f1d38;
    color: #f8fafc;
}

body.light-mode.p-company-brand .developer-snippet code {
    color: #f8fafc;
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .feature-card,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .case-anatomy-item {
    background:
        radial-gradient(circle at 12% 0%, var(--feature-glow-secondary), transparent 42%),
        radial-gradient(circle at 88% 100%, var(--feature-glow-color), transparent 48%),
        linear-gradient(180deg, rgb(255 255 255 / 96%) 0%, rgb(244 247 255 / 96%) 100%);
    box-shadow: 0 18px 34px rgb(15 23 42 / 12%);
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .feature-section-shell {
    background: linear-gradient(180deg, rgb(255 255 255 / 92%) 0%, rgb(244 247 255 / 92%) 100%);
    box-shadow: 0 18px 34px rgb(15 23 42 / 8%), inset 0 1px 0 rgb(255 255 255 / 80%);
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .feature-section-kicker {
    background: linear-gradient(135deg, rgb(255 255 255 / 82%), rgb(238 244 255 / 76%));
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .feature-card p,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .case-anatomy-item p,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .feature-card .feature-usage {
    color: #31405f;
}

.p-company-brand .expandable-section {
    border: 1px solid rgb(255 255 255 / 12%);
    border-radius: 16px;
    padding: 1rem 1.25rem;
    margin-top: 1rem;
    background: rgb(8 15 30 / 50%);
}

.p-company-brand .expandable-section summary {
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.p-company-brand .lineage-content p {
    color: var(--brand-muted);
    margin-bottom: 0.5rem;
}

.p-company-brand .developer-ctas .btn {
    flex: 0 0 auto;
}

@media (min-width: 960px) {
    .p-company-brand .story-grid,
    .p-company-brand .developer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 959px) {
    .p-company-brand .feature-grid-three,
    .p-company-brand .feature-grid-four,
    .p-company-brand .feature-grid-two {
        grid-template-columns: 1fr;
    }

    .p-company-brand .feature-grid-featured .feature-card:first-child,
    .p-company-brand .feature-grid-featured .feature-card:last-child {
        transform: none;
    }
}

@media (max-width: 768px) {
    .p-company-brand .hero-landing {
        padding: clamp(2.35rem, 8vw, 3.5rem) 0 clamp(2rem, 7vw, 3rem);
    }

    .p-company-brand .hero-landing .container {
        width: min(94%, var(--brand-hero-max-width));
    }

    .p-company-brand .hero-grid-layout {
        gap: clamp(1.25rem, 4vw, 1.85rem);
    }

    .p-company-brand .hero-text-content {
        max-width: 100%;
    }

    .p-company-brand .about-hero-eyebrow {
        margin-bottom: 0.85rem;
    }

    .p-company-brand .about-hero-title {
        font-size: clamp(2.05rem, 10vw, 3.25rem);
        line-height: 1.08;
        margin-bottom: 0.75rem;
    }

    .p-company-brand .about-hero-lead {
        max-width: none;
        width: 100%;
        font-size: clamp(1.02rem, 3.8vw, 1.08rem);
        line-height: 1.72;
        letter-spacing: 0.01em;
        margin-bottom: 1.25rem;
        text-wrap: pretty;
    }

    .p-company-brand .about-hero-lead-intro {
        display: block;
        margin-bottom: 0.45rem;
    }

    .p-company-brand .about-hero-lead-sentence {
        display: block;
    }

    .p-company-brand .about-hero-highlights {
        gap: 0.85rem;
        margin-bottom: 1.35rem;
        max-width: none;
        width: 100%;
    }

    .p-company-brand .about-hero-highlights li {
        flex-direction: row;
        text-align: left;
        line-height: 1.62;
        padding: 0.95rem 1rem 0.95rem 0.85rem;
        border-radius: 16px;
        background: rgb(8 18 42 / 52%);
        border: 1px solid rgb(255 255 255 / 12%);
        box-shadow: 0 12px 28px rgb(3 8 20 / 28%);
        gap: 0.75rem;
        align-items: flex-start;
    }

    .p-company-brand .about-hero-highlights li::before {
        width: 1.28rem;
        height: 1.28rem;
        min-width: 1.28rem;
        min-height: 1.28rem;
        margin-top: 0.18rem;
        font-size: 0.76rem;
    }

    .p-company-brand .about-hero-highlight-text {
        display: block;
        flex: 1 1 auto;
        min-width: 0;
    }

    .p-company-brand .hero-buttons {
        width: 100%;
        gap: 0.75rem;
    }

    .p-company-brand .hero-buttons .btn {
        flex: 1 1 100%;
        width: 100%;
    }

    .p-company-brand .hero-card-shell {
        width: 100%;
    }

    .p-company-brand .about-hero-card .card-surface {
        padding: 20px 18px 22px;
    }
}

@media (max-width: 480px) {
    .p-company-brand .hero-landing {
        padding: clamp(2rem, 7vw, 2.75rem) 0 clamp(1.65rem, 6vw, 2.5rem);
    }

    .p-company-brand .hero-landing .container {
        width: min(92%, 30rem);
    }

    .p-company-brand .hero-grid-layout {
        gap: 1.15rem;
    }

    .p-company-brand .about-hero-eyebrow {
        font-size: 0.7rem;
        letter-spacing: 0.11em;
        padding: 0.4rem 0.75rem;
        margin-bottom: 0.7rem;
    }

    .p-company-brand .about-hero-title {
        font-size: clamp(1.75rem, 9.5vw, 2.55rem);
        line-height: 1.07;
        margin-bottom: 0.65rem;
    }

    .p-company-brand .about-hero-lead {
        font-size: clamp(0.98rem, 4.1vw, 1.04rem);
        line-height: 1.74;
        margin-bottom: 1.1rem;
    }

    .p-company-brand .about-hero-lead-intro {
        margin-bottom: 0.4rem;
    }

    .p-company-brand .about-hero-highlights {
        gap: 0.75rem;
        margin-bottom: 1.15rem;
    }

    .p-company-brand .about-hero-highlights li {
        padding: 0.88rem 0.85rem 0.88rem 0.75rem;
        font-size: 0.96rem;
        line-height: 1.6;
        border-radius: 14px;
    }

    .p-company-brand .about-hero-highlights li::before {
        margin-top: 0.22rem;
    }

    .p-company-brand .hero-buttons {
        gap: 0.65rem;
    }

    .p-company-brand .about-hero-card .card-surface {
        padding: 16px 14px 18px;
        border-radius: 24px;
    }
}

/* ------------------------------
   Accent cards (overview + pillars)
   ------------------------------ */
.p-company-brand .case-card {
    --card-accent: var(--qk-accent-blue);
    --card-accent-strong: var(--blue-dark);
    --card-border: rgb(62 99 238 / 55%);
    --card-copy: rgb(226 238 255 / 92%);
    --card-muted: rgb(173 191 222 / 80%);
    --card-badge-bg: rgb(62 99 238 / 18%);
    --card-badge-border: rgb(62 99 238 / 45%);
    border-radius: 28px;
    padding: clamp(1.4rem, 3vw, 1.9rem);
    background:
        radial-gradient(circle at 15% -10%, rgb(62 99 238 / 30%), transparent 50%),
        radial-gradient(circle at 85% 0%, rgb(244 122 0 / 12%), transparent 55%),
        linear-gradient(180deg, rgb(12 18 36 / 92%) 0%, rgb(6 10 24 / 95%) 100%);
    border: 2px solid var(--card-border);
    box-shadow: 0 24px 48px rgb(6 8 18 / 55%), 0 0 0 1px rgb(255 255 255 / 4%) inset;
    color: var(--card-copy);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 1.15rem;
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    isolation: isolate;
}

.p-company-brand .case-card::before {
    display: none;
}

.p-company-brand .case-card:not(.about-hero-card)::after {
    content: '';
    position: absolute;
    inset: 12px;
    border-radius: 24px;
    border: 1px solid rgb(255 255 255 / 4%);
    pointer-events: none;
    z-index: -1;
}

.p-company-brand .about-hero-card {
    border: none;
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.p-company-brand .case-card.accent-orange {
    --card-accent: var(--qk-accent-orange);
    --card-accent-strong: var(--orange-light);
    --card-border: rgb(244 122 0 / 55%);
    --card-badge-bg: rgb(244 122 0 / 20%);
    --card-badge-border: rgb(244 122 0 / 45%);
}

.p-company-brand .case-card .case-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.85rem;
    border-bottom: 1px solid rgb(255 255 255 / 10%);
    padding: 0.5rem;
    background: linear-gradient(120deg, rgb(255 255 255 / 12%), rgb(255 255 255 / 0%));
    border-radius: 16px;
    color: var(--card-copy);
}

.p-company-brand .case-card .case-header-titles {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.p-company-brand .case-card .case-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--card-copy);
    margin: 0;
}

.p-company-brand .case-card .case-title i {
    color: var(--card-accent);
}

.p-company-brand .case-card .card-rank {
    font-weight: 700;
    color: var(--card-accent);
    letter-spacing: 0.08em;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.p-company-brand .case-card .card-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.p-company-brand .case-card .card-badge {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    background: linear-gradient(135deg, var(--card-badge-bg), transparent);
    border: 1px solid var(--card-badge-border);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    color: var(--card-copy);
    box-shadow: inset 0 0 0 1px rgb(255 255 255 / 3%);
}

.p-company-brand .case-card .card-badge-verified {
    border-color: var(--card-accent);
    color: #fff;
}

.p-company-brand .case-card .case-content {
    flex: 1;
    color: var(--card-copy);
    font-size: 0.98rem;
    line-height: 1.74;
    padding: 0.35rem 0 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.p-company-brand .about-section-cta .container {
    width: min(92%, 1140px);
}

.p-company-brand .brand-cta-card {
    border-radius: 28px;
    border: 1px solid rgb(244 122 0 / 38%);
    background:
        radial-gradient(circle at 12% 0%, rgb(244 122 0 / 14%), transparent 42%),
        radial-gradient(circle at 88% 100%, rgb(62 99 238 / 18%), transparent 48%),
        linear-gradient(180deg, rgb(10 20 42 / 90%) 0%, rgb(8 16 34 / 94%) 100%);
    box-shadow: 0 24px 44px rgb(4 8 20 / 42%);
    padding: clamp(1.8rem, 3.5vw, 2.6rem);
    text-align: center;
}

.p-company-brand .brand-cta-card .section-title {
    margin-bottom: 0.75rem;
}

.p-company-brand .brand-cta-card .section-lead {
    margin: 0 auto 1.5rem;
    max-width: 760px;
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .brand-cta-card {
    border-color: rgb(63 97 191 / 26%);
    background:
        radial-gradient(circle at 12% 0%, rgb(244 122 0 / 10%), transparent 44%),
        radial-gradient(circle at 88% 100%, rgb(62 99 238 / 12%), transparent 50%),
        linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
    box-shadow: 0 18px 34px rgb(15 23 42 / 10%);
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .brand-cta-card .section-title {
    color: #15213f;
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .brand-cta-card .section-lead {
    color: rgb(58 74 110 / 94%);
}

.p-company-brand .brand-cta-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
}

@media (max-width: 1200px) {
    .p-company-brand .brand-pillars-grid,
    .p-company-brand .cases-grid,
    .p-company-brand .tiers-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .p-company-brand .brand-pillars-grid,
    .p-company-brand .cases-grid,
    .p-company-brand .tiers-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 960px) {
    .p-company-brand .workflow-layout {
        grid-template-columns: 1fr;
    }

    .p-company-brand .proof-strip,
    .p-company-brand .platform-surface-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 780px) {
    .p-company-brand .case-anatomy-grid {
        grid-template-columns: 1fr;
    }
}

.p-company-brand .case-card .case-content p {
    color: inherit;
}

.p-company-brand .case-card .case-content .muted {
    color: var(--card-muted);
}

.p-company-brand .case-card .compact-list,
.p-company-brand .case-card .tier-benefits {
    gap: 0.55rem;
    color: var(--card-muted);
}

.p-company-brand .case-card .compact-list li,
.p-company-brand .case-card .tier-benefits li {
    position: relative;
    padding-left: 1.1rem;
}

.p-company-brand .case-card .compact-list li::before,
.p-company-brand .case-card .tier-benefits li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--card-accent);
}

.p-company-brand .case-card .case-footer {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
    padding-top: 1rem;
    border-top: 1px solid rgb(255 255 255 / 10%);
}

.p-company-brand .case-card .case-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    color: var(--card-muted);
    font-size: 0.85rem;
}

.p-company-brand .case-card .stat {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.p-company-brand .case-card .bundle-download {
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 1.05rem;
    border-radius: 999px;
    border: 1px solid rgb(255 255 255 / 12%);
    background: linear-gradient(90deg, var(--card-accent-strong), var(--card-accent));
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.p-company-brand .case-card .bundle-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgb(0 0 0 / 30%);
}

.p-company-brand .overview-header-card {
    grid-column: 1 / -1;
    margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

/* Premium treatment for the first card row below hero so the decision cards
   carry the same visual quality bar as the hero preview shell. */
.p-company-brand .brand-pillars-grid {
    align-items: stretch;
}

.p-company-brand .brand-pillars-grid .case-card {
    border-width: 1px;
    border-color: rgb(86 124 224 / 44%);
    border-radius: 26px;
    padding: clamp(1.25rem, 2.3vw, 1.7rem);
    background:
        radial-gradient(circle at 14% -12%, rgb(84 125 245 / 34%), transparent 50%),
        radial-gradient(circle at 92% 8%, rgb(247 127 0 / 14%), transparent 52%),
        linear-gradient(170deg, rgb(14 23 46 / 95%) 0%, rgb(10 16 34 / 96%) 52%, rgb(8 13 28 / 98%) 100%);
    box-shadow: 0 20px 44px rgb(2 6 18 / 55%), inset 0 0 0 1px rgb(255 255 255 / 4%);
    transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.p-company-brand .brand-pillars-grid .case-card:hover,
.p-company-brand .brand-pillars-grid .case-card:focus-within {
    transform: translateY(-3px);
    border-color: rgb(126 161 255 / 68%);
    box-shadow: 0 28px 54px rgb(2 6 18 / 62%), inset 0 0 0 1px rgb(255 255 255 / 7%);
}

.p-company-brand .brand-pillars-grid .case-card .case-header {
    border-radius: 14px;
    background: linear-gradient(115deg, rgb(255 255 255 / 11%), rgb(255 255 255 / 0%));
}

.p-company-brand .brand-pillars-grid .case-card .case-title-text {
    font-size: clamp(1.04rem, 0.96rem + 0.25vw, 1.18rem);
    line-height: 1.35;
}

.p-company-brand .brand-pillars-grid .case-card .compact-list li {
    padding-left: 1.55rem;
}

.p-company-brand .brand-pillars-grid .case-card .compact-list li::before {
    content: '\2713';
    top: 0.22rem;
    width: 1.02rem;
    height: 1.02rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--card-accent), var(--card-accent-strong));
    box-shadow: 0 4px 10px rgb(0 0 0 / 30%);
}

.p-company-brand .brand-pillars-grid .case-card .bundle-download {
    border-color: rgb(255 255 255 / 22%);
    box-shadow: 0 10px 20px rgb(0 0 0 / 28%);
}

body.light-mode.p-company-brand .case-card {
    background:
        radial-gradient(circle at 18% -8%, rgb(116 153 255 / 28%), transparent 52%),
        radial-gradient(circle at 88% 5%, rgb(249 127 0 / 20%), transparent 54%),
        linear-gradient(180deg, #ffffff 0%, #f4f7ff 90%);
    color: #0b1528;
    --card-copy: #0b1528;
    --card-muted: rgb(71 85 105);
    --card-border: rgb(43 67 160 / 35%);
    --card-badge-bg: rgb(59 79 174 / 12%);
    --card-badge-border: rgb(43 67 160 / 30%);
    box-shadow: 0 20px 35px rgb(15 23 42 / 10%);
}

body.light-mode.p-company-brand .brand-pillars-grid .case-card {
    border-color: rgb(63 97 191 / 28%);
    background:
        radial-gradient(circle at 14% -10%, rgb(106 137 240 / 20%), transparent 52%),
        radial-gradient(circle at 90% 12%, rgb(247 127 0 / 16%), transparent 56%),
        linear-gradient(170deg, #fff 0%, #f6f9ff 56%, #eef3ff 100%);
    box-shadow: 0 16px 32px rgb(15 23 42 / 12%), inset 0 0 0 1px rgb(255 255 255 / 80%);
}

body.light-mode.p-company-brand .brand-pillars-grid .case-card:hover,
body.light-mode.p-company-brand .brand-pillars-grid .case-card:focus-within {
    border-color: rgb(63 97 191 / 45%);
    box-shadow: 0 22px 40px rgb(15 23 42 / 16%), inset 0 0 0 1px rgb(255 255 255 / 90%);
}

body.light-mode.p-company-brand .case-anatomy-item,
body.light-mode.p-company-brand .proof-item,
body.light-mode.p-company-brand .platform-surface-item {
    background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
    border-color: rgb(43 67 160 / 14%);
    box-shadow: 0 16px 30px rgb(15 23 42 / 10%);
}

body.light-mode.p-company-brand .case-anatomy-item h3,
body.light-mode.p-company-brand .proof-item h3,
body.light-mode.p-company-brand .platform-surface-item h3,
body.light-mode.p-company-brand .workflow-feature-panel h2 {
    color: #15213f;
}

body.light-mode.p-company-brand .case-anatomy-item p,
body.light-mode.p-company-brand .proof-item p,
body.light-mode.p-company-brand .platform-surface-item p,
body.light-mode.p-company-brand .workflow-list span {
    color: rgb(58 74 110 / 94%);
}

body.light-mode.p-company-brand .workflow-feature-panel,
body.light-mode.p-company-brand .platform-surface {
    border-color: rgb(43 67 160 / 16%);
    background:
        radial-gradient(circle at 12% 0%, rgb(244 122 0 / 8%), transparent 40%),
        radial-gradient(circle at 88% 100%, rgb(62 99 238 / 10%), transparent 50%),
        linear-gradient(180deg, #fff 0%, #f4f8ff 100%);
    box-shadow: 0 18px 34px rgb(15 23 42 / 10%);
}

:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .workflow-feature-panel p,
:is(body.light-mode.p-company-brand, html.light-mode body.p-company-brand, body.p-company-brand[data-theme="light"], html[data-theme="light"] body.p-company-brand) .section-lead-left {
    color: #1f2a44;
}

body.light-mode.p-company-brand .workflow-list li {
    border-top-color: rgb(43 67 160 / 12%);
}

body.light-mode.p-company-brand .workflow-list strong {
    color: #15213f;
}

body.light-mode.p-company-brand .case-card.accent-orange {
    --card-border: rgb(244 122 0 / 45%);
    --card-badge-bg: rgb(244 122 0 / 16%);
    --card-badge-border: rgb(244 122 0 / 35%);
}

body.light-mode.p-company-brand .case-card .card-badge {
    color: #1f2a44;
}

body.light-mode.p-company-brand .case-card .case-footer,
body.light-mode.p-company-brand .case-card .case-header {
    border-color: rgb(15 23 42 / 12%);
    background: linear-gradient(90deg, rgb(15 23 42 / 5%), rgb(15 23 42 / 0%));
}

/* Dedicated visual system for post-hero buyer decision cards.
   Design intent: cleaner premium editorial cards with strong hierarchy,
   not effect-heavy gradient blocks. */
.p-company-brand .brand-pillars-grid .decision-card {
    position: relative;
    min-height: 100%;
    border-radius: 20px;
    border: 1px solid rgb(118 150 236 / 34%);
    background:
        linear-gradient(180deg, rgb(16 27 50 / 96%) 0%, rgb(9 17 34 / 98%) 100%);
    box-shadow: 0 16px 30px rgb(2 6 18 / 52%), inset 0 0 0 1px rgb(255 255 255 / 4%);
    padding: clamp(1.1rem, 2vw, 1.45rem);
    gap: 0.9rem;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.p-company-brand .brand-pillars-grid .decision-card::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgb(124 160 255 / 10%) 0%, rgb(124 160 255 / 0%) 36%);
}

.p-company-brand .brand-pillars-grid .decision-card::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 3px;
    background: linear-gradient(90deg, rgb(62 99 238 / 0%) 8%, rgb(62 99 238 / 82%) 34%, rgb(247 127 0 / 82%) 66%, rgb(247 127 0 / 0%) 92%);
}

.p-company-brand .brand-pillars-grid .decision-card:hover,
.p-company-brand .brand-pillars-grid .decision-card:focus-within {
    transform: translateY(-2px);
    border-color: rgb(141 172 255 / 52%);
    box-shadow: 0 22px 38px rgb(2 6 18 / 60%), inset 0 0 0 1px rgb(255 255 255 / 7%);
}

.p-company-brand .brand-pillars-grid .decision-card .case-header {
    align-items: flex-start;
    border-radius: 10px;
    padding: 0.5rem 0.56rem;
    border: 1px solid rgb(255 255 255 / 8%);
    background: rgb(255 255 255 / 2%);
}

.p-company-brand .brand-pillars-grid .decision-card .case-title {
    align-items: center;
    display: inline-flex;
    gap: 0.5rem;
}

.p-company-brand .brand-pillars-grid .decision-card .card-rank {
    font-size: 0.68rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    padding: 0.18rem 0.42rem;
    border-radius: 999px;
    border: 1px solid rgb(255 255 255 / 18%);
    color: rgb(210 224 255 / 96%);
    background: rgb(255 255 255 / 6%);
}

.p-company-brand .brand-pillars-grid .decision-card .case-title-text {
    font-size: clamp(1.06rem, 1rem + 0.22vw, 1.16rem);
    line-height: 1.3;
    color: #f4f8ff;
}

.p-company-brand .brand-pillars-grid .decision-card .card-badges {
    margin-top: 0.3rem;
    gap: 0.35rem;
}

.p-company-brand .brand-pillars-grid .decision-card .card-badge {
    font-size: 0.67rem;
    letter-spacing: 0.08em;
    padding: 0.26rem 0.56rem;
}

.p-company-brand .brand-pillars-grid .decision-card .case-content > p {
    font-size: 0.99rem;
    line-height: 1.58;
    color: rgb(225 236 255 / 92%);
}

.p-company-brand .brand-pillars-grid .decision-card .compact-list {
    margin-top: 0.15rem;
    padding: 0;
    border: 0;
    background: none;
}

.p-company-brand .brand-pillars-grid .decision-card .compact-list li {
    padding-left: 1.4rem;
    margin-bottom: 0.52rem;
    border-bottom: 0;
    color: rgb(189 208 242 / 92%);
}

.p-company-brand .brand-pillars-grid .decision-card .compact-list li::before {
    content: '\2713';
    top: 0.14rem;
    width: 0.95rem;
    height: 0.95rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--card-accent), var(--card-accent-strong));
    box-shadow: 0 4px 10px rgb(0 0 0 / 28%);
}

.p-company-brand .brand-pillars-grid .decision-card .case-footer {
    padding-top: 0.62rem;
    border-top: 1px solid rgb(255 255 255 / 8%);
}

.p-company-brand .brand-pillars-grid .decision-card .bundle-download {
    font-size: 0.9rem;
    padding: 0.5rem 0.92rem;
    border: 1px solid rgb(255 255 255 / 22%);
    background: linear-gradient(90deg, var(--card-accent-strong), var(--card-accent));
    box-shadow: 0 8px 18px rgb(0 0 0 / 28%);
}

body.light-mode.p-company-brand .brand-pillars-grid .decision-card {
    border-color: rgb(63 97 191 / 24%);
    background: linear-gradient(180deg, #fff 0%, #f6f9ff 100%);
    box-shadow: 0 14px 26px rgb(15 23 42 / 12%), inset 0 0 0 1px rgb(255 255 255 / 90%);
}

body.light-mode.p-company-brand .brand-pillars-grid .decision-card::before {
    background: linear-gradient(180deg, rgb(63 97 191 / 8%) 0%, rgb(63 97 191 / 0%) 40%);
}

body.light-mode.p-company-brand .brand-pillars-grid .decision-card .case-header {
    border-color: rgb(43 67 160 / 12%);
    background: rgb(43 67 160 / 4%);
}

body.light-mode.p-company-brand .brand-pillars-grid .decision-card .case-title-text {
    color: #15213f;
}

body.light-mode.p-company-brand .brand-pillars-grid .decision-card .card-rank {
    border-color: rgb(43 67 160 / 22%);
    color: #22335f;
    background: rgb(43 67 160 / 8%);
}

body.light-mode.p-company-brand .brand-pillars-grid .decision-card .case-content > p {
    color: #1f2a44;
}

body.light-mode.p-company-brand .brand-pillars-grid .decision-card .compact-list li {
    color: rgb(58 74 110 / 94%);
}

body.light-mode.p-company-brand .brand-pillars-grid .decision-card .case-footer {
    border-top-color: rgb(43 67 160 / 12%);
}

/* ------------------------------
   Cases premium flow enhancements
   ------------------------------ */
body.p-company-brand.p-cases .hero-landing {
    padding-bottom: clamp(5.5rem, 9vw, 8rem);
}

.p-company-brand.p-cases .about-section-premium-flow {
    position: relative;
    z-index: 2;
    margin-top: 0;
    padding-top: clamp(3.6rem, 7vw, 5.8rem);
}

.p-company-brand.p-cases .premium-intro-card {
    margin-bottom: clamp(1.5rem, 2.8vw, 2.25rem);
}

.p-company-brand.p-cases .premium-deck .fade-in:nth-child(1) {
    transition-delay: 60ms;
}

.p-company-brand.p-cases .premium-deck .fade-in:nth-child(2) {
    transition-delay: 140ms;
}

.p-company-brand.p-cases .premium-deck .fade-in:nth-child(3) {
    transition-delay: 220ms;
}

@media (max-width: 960px) {
    .p-company-brand.p-cases .hero-landing {
        padding-bottom: clamp(4rem, 10vw, 5.8rem);
    }

    .p-company-brand.p-cases .about-section-premium-flow {
        margin-top: 0;
    }
}
