/**
 * Homepage top-of-page only: announcement bar, header, premium hero.
 * Loaded after hero-premium.css — scoped with body.page-home.
 */

/* -------------------------------------------------------------------------- */
/* Atmosphere: first screen reads as one “control room” band                */
/* -------------------------------------------------------------------------- */

body.page-home main {
    padding-top: 0;
}

/* Phase 3: remove homepage announcement strip above hero */
body.page-home .module-announcement-bar {
    display: none !important;
}

/* -------------------------------------------------------------------------- */
/* Site header — homepage polish over hero (same markup as software.php)      */
/* -------------------------------------------------------------------------- */

body.page-home .site-header {
    background: linear-gradient(
        180deg,
        rgba(5, 5, 8, 0.72) 0%,
        rgba(7, 7, 10, 0.38) 55%,
        rgba(7, 7, 10, 0.12) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: none;
    backdrop-filter: blur(18px) saturate(1.15);
    -webkit-backdrop-filter: blur(18px) saturate(1.15);
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        backdrop-filter 0.35s ease;
}

@media (prefers-reduced-motion: reduce) {
    body.page-home .site-header {
        transition: none;
    }
}

body.page-home .site-header.is-scrolled {
    background: linear-gradient(
        180deg,
        rgba(7, 7, 10, 0.97) 0%,
        rgba(7, 7, 10, 0.94) 100%
    );
    border-bottom-color: rgba(255, 255, 255, 0.1);
    box-shadow:
        0 1px 0 rgba(232, 148, 46, 0.07),
        0 12px 40px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(22px) saturate(1.2);
    -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

body.page-home .site-header .nav-shell {
    padding: 14px 0;
}

body.page-home .site-header .nav-links a {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 8px 12px;
    color: rgba(244, 239, 230, 0.72);
}

body.page-home .site-header .nav-links a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.06);
}

body.page-home .site-header .nav-links a.active {
    color: var(--text);
    background: rgba(232, 148, 46, 0.12);
    box-shadow: inset 0 0 0 1px rgba(232, 148, 46, 0.28);
}

body.page-home .site-header .nav-actions .button-primary {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow:
        0 0 0 1px rgba(232, 148, 46, 0.45),
        0 4px 24px rgba(232, 148, 46, 0.22),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

body.page-home .site-header .nav-actions .button-primary:hover {
    box-shadow:
        0 0 0 1px rgba(240, 168, 74, 0.55),
        0 8px 32px rgba(232, 148, 46, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

body.page-home .site-header .brand {
    font-size: 15px;
    letter-spacing: -0.02em;
}

body.page-home .site-header .brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    box-shadow:
        var(--inset-highlight),
        0 4px 24px rgba(232, 148, 46, 0.28);
}

body.page-home .nav-drawer {
    background: linear-gradient(165deg, rgba(14, 14, 20, 0.98) 0%, rgba(7, 7, 10, 0.99) 100%);
    border-left: 1px solid rgba(232, 148, 46, 0.12);
}

body.page-home .nav-toggle {
    border-color: rgba(255, 255, 255, 0.13);
    background: rgba(255, 255, 255, 0.055);
}

/* Flash messages above sticky chrome */
body.page-home .flash {
    position: relative;
    z-index: calc(var(--z-header) + 5);
}

/* -------------------------------------------------------------------------- */
/* Announcement bar — slim, integrated strip                                  */
/* -------------------------------------------------------------------------- */

body.page-home .module-announcement-bar {
    padding: 8px 0;
    margin: 0;
    background: linear-gradient(
        180deg,
        rgba(12, 12, 18, 0.65) 0%,
        rgba(8, 8, 12, 0.85) 100%
    );
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.page-home .module-announcement-bar.theme-accent {
    border-bottom-color: rgba(232, 148, 46, 0.18);
    background: linear-gradient(
        180deg,
        rgba(232, 148, 46, 0.07) 0%,
        rgba(7, 7, 10, 0.88) 100%
    );
}

body.page-home .announcement-bar {
    align-items: center;
    gap: var(--space-3);
    min-height: 2.25rem;
}

body.page-home .announcement-bar__text {
    font-size: 12.5px;
    line-height: 1.45;
    letter-spacing: 0.03em;
    color: rgba(244, 239, 230, 0.82);
    flex: 1 1 16rem;
}

body.page-home .announcement-bar__cta .button {
    padding: 6px 14px;
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow: 0 0 0 1px rgba(232, 148, 46, 0.25);
}

@media (max-width: 640px) {
    body.page-home .announcement-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-2);
    }

    body.page-home .announcement-bar__cta {
        width: 100%;
    }

    body.page-home .announcement-bar__cta .button {
        width: 100%;
        text-align: center;
    }
}

/* -------------------------------------------------------------------------- */
/* Hero — replace default glows with layered control-room depth              */
/* -------------------------------------------------------------------------- */

body.page-home .module.hero-premium:not(.launch-hero) {
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

body.page-home .hero-premium:not(.launch-hero)::before,
body.page-home .hero-premium:not(.launch-hero)::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 0;
    border-radius: 0;
    transform: none;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

/* Warm radial washes + base depth */
body.page-home .hero-premium:not(.launch-hero)::before {
    background:
        radial-gradient(ellipse 90% 55% at 78% 18%, rgba(232, 148, 46, 0.14) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 12% 75%, rgba(232, 148, 46, 0.06) 0%, transparent 55%),
        radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 0, 0, 0.45) 0%, transparent 55%),
        linear-gradient(180deg, rgba(10, 10, 14, 0.5) 0%, rgba(7, 7, 10, 1) 100%);
    filter: none;
}

/* Restrained technical grid, vignetted */
body.page-home .hero-premium:not(.launch-hero)::after {
    opacity: 0.055;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.7) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.7) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, black 0%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 50% 35%, black 0%, transparent 72%);
}

body.page-home .hero-premium:not(.launch-hero) .container {
    position: relative;
    z-index: 1;
}

body.page-home .hero-premium__layout {
    padding-top: clamp(1.5rem, 4vw, 2.75rem);
    padding-bottom: clamp(2.5rem, 7vw, 5rem);
    gap: clamp(1.75rem, 4vw, 3.5rem);
    align-items: center;
}

@media (min-width: 1024px) {
    body.page-home .hero-premium__layout {
        grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.95fr);
        gap: clamp(2rem, 4vw, 4rem);
    }
}

body.page-home .hero-premium__copy {
    gap: var(--space-4);
    max-width: 36rem;
}

/* Eyebrow — premium instrument label */
body.page-home .hero-premium__eyebrow {
    margin: 0 0 10px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(240, 168, 74, 0.92);
    line-height: 1.3;
}

/* Headline — larger, commanding, still warm-accent edge */
body.page-home .hero-premium__title {
    font-size: 50px;
    font-weight: 800;
    line-height: 1.03;
    letter-spacing: -0.035em;
    background: linear-gradient(
        125deg,
        #faf8f4 0%,
        #e5dfd6 42%,
        rgba(232, 148, 46, 0.88) 108%
    );
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

body.page-home .hero-premium__lead {
    font-size: clamp(1.05rem, 1.85vw, 1.2rem);
    font-weight: 400;
    line-height: 1.62;
    color: rgba(201, 194, 182, 0.95);
    max-width: 38rem;
}

/* CTA grouping */
body.page-home .hero-premium__actions {
    margin-top: var(--space-1);
    gap: var(--space-3);
    flex-wrap: wrap;
}

body.page-home .hero-premium__actions .button-primary {
    padding: 12px 22px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    box-shadow:
        0 0 0 1px rgba(232, 148, 46, 0.42),
        0 6px 28px rgba(232, 148, 46, 0.2);
}

body.page-home .hero-premium__actions .button-secondary {
    border-color: rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.04);
    font-weight: 600;
}

body.page-home .hero-premium__actions .button-secondary:hover {
    border-color: rgba(232, 148, 46, 0.35);
    background: rgba(232, 148, 46, 0.08);
}

/* Trust chips — refined signals */
body.page-home .hero-premium__trust {
    margin-top: var(--space-3);
    gap: 8px 10px;
}

body.page-home .hero-premium__trust li {
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(244, 239, 230, 0.78);
    padding: 7px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(232, 148, 46, 0.22);
    background: linear-gradient(180deg, rgba(232, 148, 46, 0.1), rgba(0, 0, 0, 0.15));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

body.page-home .hero-premium__social {
    margin-top: var(--space-3);
}

body.page-home .hero-premium__bottom-note {
    margin-top: var(--space-4);
    font-size: 13px;
    line-height: 1.55;
    color: rgba(154, 146, 136, 0.95);
    max-width: 34rem;
    padding-top: var(--space-3);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

/* Badge row (optional CMS) */
body.page-home .hero-premium__badge {
    border-color: rgba(232, 148, 46, 0.15);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
}

/* -------------------------------------------------------------------------- */
/* Mockup stack — software surfaces, amber edge, restrained glow            */
/* -------------------------------------------------------------------------- */

body.page-home .hero-premium__visual-wrap {
    filter: drop-shadow(0 28px 56px rgba(0, 0, 0, 0.55));
}

body.page-home .hero-premium__stack {
    transition: min-height 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

body.page-home .hero-premium__frame {
    padding: 11px;
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.09) 0%, rgba(0, 0, 0, 0.42) 100%);
    border: 1px solid rgba(255, 255, 255, 0.11);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 56px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(232, 148, 46, 0.1);
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        left 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        top 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        width 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        margin 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
}

body.page-home .hero-premium__frame--front {
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 28px 64px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(232, 148, 46, 0.2),
        0 0 48px rgba(232, 148, 46, 0.07);
}

body.page-home .hero-premium__frame-inner {
    border-color: rgba(255, 255, 255, 0.1);
    background: radial-gradient(120% 80% at 50% 0%, rgba(30, 28, 24, 0.9) 0%, #07070a 100%);
}

body.page-home .hero-premium__frame-inner img {
    filter: saturate(1.05) contrast(1.02);
}

/**
 * Premium hero mockups: on stack hover, three frames ease into one centered row.
 * Fine pointers only; respects reduced motion.
 */
@media (hover: hover) and (pointer: fine) {
    body.page-home .hero-premium__stack:hover {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: clamp(0.4rem, 1.2vw, 0.85rem);
        min-height: 0;
        padding-block: var(--space-3);
    }

    body.page-home .hero-premium__stack:hover .hero-premium__frame,
    body.page-home .hero-premium__stack:hover .hero-premium__frame--back,
    body.page-home .hero-premium__stack:hover .hero-premium__frame--mid,
    body.page-home .hero-premium__stack:hover .hero-premium__frame--front {
        position: relative !important;
        left: auto !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: clamp(5.75rem, 15vw, 10rem) !important;
        margin: 0 !important;
        flex: 0 0 auto;
        z-index: 1;
        transform: none !important;
        transform-origin: center center;
    }

    body.page-home .hero-premium__stack:hover .hero-premium__frame-inner img {
        transform: none;
        transition: none;
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: reduce) {
    body.page-home .hero-premium__stack,
    body.page-home .hero-premium__frame {
        transition-duration: 0.01ms !important;
    }
}

/* -------------------------------------------------------------------------- */
/* Responsive — stack, spacing, touch targets                                 */
/* -------------------------------------------------------------------------- */

@media (max-width: 1023px) {
    body.page-home .hero-premium__layout {
        padding-top: var(--space-4);
    }

    body.page-home .hero-premium__copy {
        max-width: none;
        text-align: left;
    }

    body.page-home .hero-premium__actions .button-primary,
    body.page-home .hero-premium__actions .button-secondary {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

@media (max-width: 900px) {
    body.page-home .nav-shell {
        padding: 12px 0;
    }
}

/* =============================================================================
   Homepage — pain-to-control & product systems (mid-fold, cinematic continuity)
   ============================================================================= */

/* Soft seam after hero band */
body.page-home .module-pain-to-control {
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3.5rem, 9vw, 5.5rem);
    background:
        linear-gradient(180deg, rgba(11, 13, 22, 0.92) 0%, rgba(14, 16, 26, 0.78) 42%, rgba(8, 9, 14, 0.96) 100%),
        radial-gradient(ellipse 85% 55% at 15% 0%, rgba(70, 110, 180, 0.14) 0%, transparent 52%),
        radial-gradient(ellipse 90% 50% at 50% 0%, rgba(232, 148, 46, 0.05) 0%, transparent 45%);
    border-top: 1px solid rgba(255, 255, 255, 0.065);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

body.page-home .pain-to-control__intro {
    max-width: 44rem;
    margin-bottom: clamp(2rem, 5vw, 3rem);
    text-align: center;
}

body.page-home .pain-to-control__intro .eyebrow {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: rgba(240, 168, 74, 0.88);
}

body.page-home .pain-to-control__intro h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--text);
    margin: 0 0 var(--space-4);
}

body.page-home .pain-to-control__lead {
    margin: 0 auto;
    max-width: 38rem;
    font-size: clamp(1rem, 1.65vw, 1.1rem);
    line-height: 1.65;
    color: rgba(201, 194, 182, 0.95);
}

body.page-home .pain-to-control__grid {
    display: grid;
    gap: var(--space-4);
    grid-template-columns: 1fr;
}

@media (min-width: 900px) {
    body.page-home .pain-to-control__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-4);
        align-items: stretch;
    }

    body.page-home .pain-to-control__grid .pain-to-control__card:nth-child(2) {
        transform: translateY(10px);
    }
}

@media (prefers-reduced-motion: reduce) {
    body.page-home .pain-to-control__grid .pain-to-control__card:nth-child(2) {
        transform: none;
    }
}

body.page-home .pain-to-control__card {
    position: relative;
    margin: 0;
    padding: var(--space-4) var(--space-4) var(--space-4) calc(var(--space-4) + 6px);
    border-radius: var(--radius-lg);
    background: linear-gradient(155deg, rgba(255, 255, 255, 0.04) 0%, rgba(0, 0, 0, 0.35) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 16px 48px rgba(0, 0, 0, 0.35);
    transition:
        border-color 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}

body.page-home .pain-to-control__card:hover {
    border-color: rgba(232, 148, 46, 0.22);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 20px 56px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(232, 148, 46, 0.08);
}

body.page-home .pain-to-control__card-accent {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    background: linear-gradient(
        180deg,
        rgba(232, 148, 46, 0.95) 0%,
        rgba(232, 148, 46, 0.35) 45%,
        rgba(232, 148, 46, 0.08) 100%
    );
}

body.page-home .pain-to-control__card-title {
    margin: 0 0 var(--space-3);
    font-size: var(--text-lg);
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    line-height: 1.25;
}

body.page-home .pain-to-control__card-body {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.62;
    color: rgba(180, 172, 162, 0.95);
}

body.page-home .pain-to-control__closing {
    margin: clamp(2.5rem, 6vw, 3.5rem) auto 0;
    max-width: 38rem;
    padding: var(--space-4) var(--space-5);
    text-align: left;
    font-size: clamp(1.05rem, 2vw, 1.15rem);
    font-weight: 600;
    line-height: 1.5;
    color: rgba(244, 239, 230, 0.94);
    border-left: 3px solid rgba(232, 148, 46, 0.75);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    background: linear-gradient(90deg, rgba(232, 148, 46, 0.1) 0%, rgba(255, 255, 255, 0.02) 100%);
}

@media (max-width: 640px) {
    body.page-home .pain-to-control__closing {
        padding: var(--space-3) var(--space-4);
    }
}

/* Product systems — solution panels */
body.page-home .module-product-systems {
    padding-top: clamp(3.5rem, 9vw, 5.5rem);
    padding-bottom: clamp(3.5rem, 9vw, 5.5rem);
    background:
        linear-gradient(180deg, rgba(16, 12, 24, 0.94) 0%, rgba(14, 13, 22, 0.88) 48%, rgba(9, 9, 14, 0.98) 100%),
        radial-gradient(ellipse 75% 45% at 82% 18%, rgba(232, 148, 46, 0.1) 0%, transparent 52%),
        radial-gradient(ellipse 55% 40% at 10% 85%, rgba(120, 80, 160, 0.08) 0%, transparent 55%);
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Showcase proof band */
body.page-home .module-homepage-showcase {
    padding-top: clamp(3.25rem, 8vw, 5rem);
    padding-bottom: clamp(3.5rem, 8vw, 5.25rem);
    background:
        linear-gradient(180deg, rgba(14, 16, 26, 0.98) 0%, rgba(20, 22, 34, 0.82) 50%, rgba(11, 12, 18, 0.98) 100%),
        radial-gradient(ellipse 68% 42% at 20% 22%, rgba(232, 148, 46, 0.07) 0%, transparent 50%);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.065);
}

body.page-home .module-homepage-showcase .section-heading {
    max-width: 48rem;
    margin-bottom: clamp(1.8rem, 4vw, 2.7rem);
}

body.page-home .homepage-showcase-grid {
    gap: var(--space-4);
}

@media (min-width: 980px) {
    body.page-home .homepage-showcase-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        align-items: stretch;
    }
}

body.page-home .homepage-showcase-block {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.38));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 18px 42px rgba(0, 0, 0, 0.38);
}

body.page-home .homepage-showcase-block__visual {
    position: relative;
    margin: 0;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0;
}

body.page-home .homepage-showcase-block__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 35%, rgba(7, 7, 10, 0.6) 100%);
}

body.page-home .homepage-showcase-block--placeholder .homepage-showcase-block__visual img {
    opacity: 0.34;
    filter: grayscale(0.48) contrast(0.94);
}

body.page-home .homepage-showcase-block__empty {
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 14px;
    z-index: 2;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(232, 148, 46, 0.3);
    background: linear-gradient(180deg, rgba(7, 7, 10, 0.86), rgba(7, 7, 10, 0.96));
}

body.page-home .homepage-showcase-block__empty span {
    display: block;
    font-size: 10px;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(240, 168, 74, 0.92);
    margin-bottom: 5px;
}

body.page-home .homepage-showcase-block__empty strong {
    font-size: 12.5px;
    color: rgba(244, 239, 230, 0.94);
}

body.page-home .homepage-showcase-block__copy {
    padding: var(--space-4);
}

body.page-home .homepage-showcase-block__copy h3 {
    margin-bottom: var(--space-2);
    font-size: 1.05rem;
    font-weight: 700;
}

body.page-home .homepage-showcase-block__copy p {
    margin: 0;
    color: rgba(198, 191, 181, 0.95);
}

body.page-home .homepage-showcase-footnote {
    margin-top: var(--space-5);
    max-width: 44rem;
    color: rgba(214, 208, 198, 0.93);
}

/* Why Certiva trust strip */
body.page-home .module-why-certiva {
    padding-top: clamp(2.7rem, 7vw, 4rem);
    padding-bottom: clamp(3rem, 7vw, 4.4rem);
    background:
        linear-gradient(180deg, rgba(10, 10, 14, 1) 0%, rgba(12, 14, 20, 0.94) 50%, rgba(8, 8, 11, 0.99) 100%),
        radial-gradient(ellipse 100% 60% at 50% 100%, rgba(255, 255, 255, 0.04) 0%, transparent 45%);
    border-top: 1px solid rgba(255, 255, 255, 0.055);
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
}

body.page-home .module-why-certiva .section-heading {
    margin-bottom: clamp(1.35rem, 4vw, 2rem);
}

body.page-home .why-certiva-grid {
    gap: var(--space-3);
}

@media (min-width: 900px) {
    body.page-home .why-certiva-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

body.page-home .why-certiva-item {
    padding: var(--space-4);
    border-radius: var(--radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02));
    min-height: 100%;
}

body.page-home .why-certiva-item h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

body.page-home .why-certiva-item p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.6;
}

/* Final conversion section */
body.page-home .module-demo-cta-section {
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3.2rem, 8vw, 5.1rem);
    background:
        radial-gradient(ellipse 80% 58% at 50% 0%, rgba(232, 148, 46, 0.22) 0%, transparent 55%),
        linear-gradient(180deg, rgba(18, 16, 26, 0.96) 0%, rgba(8, 8, 11, 0.99) 100%);
    border-top: 1px solid rgba(232, 148, 46, 0.22);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

body.page-home .demo-cta-section {
    border-radius: var(--radius-lg);
    border: 1px solid rgba(232, 148, 46, 0.24);
    background:
        linear-gradient(165deg, rgba(255, 255, 255, 0.06) 0%, rgba(16, 13, 10, 0.42) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.09),
        0 22px 62px rgba(0, 0, 0, 0.42),
        0 0 0 1px rgba(232, 148, 46, 0.08);
    padding: clamp(2rem, 5vw, 3.1rem) clamp(1.2rem, 4vw, 2.6rem);
}

body.page-home .demo-cta-section h2 {
    font-size: clamp(1.7rem, 3.4vw, 2.55rem);
    margin-bottom: var(--space-3);
}

body.page-home .demo-cta-section__body {
    max-width: 46rem;
    color: rgba(212, 205, 195, 0.96);
}

body.page-home .demo-cta-section__actions .button-primary {
    min-width: 12rem;
}

body.page-home .demo-cta-section__actions .button-secondary {
    border-color: rgba(255, 255, 255, 0.22);
}

body.page-home .demo-cta-section__trust {
    max-width: 45rem;
    color: rgba(224, 217, 208, 0.9);
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    padding-top: var(--space-3);
}

body.page-home .module-product-systems.theme-muted {
    background:
        linear-gradient(180deg, rgba(16, 12, 24, 0.94) 0%, rgba(14, 13, 22, 0.88) 48%, rgba(9, 9, 14, 0.98) 100%),
        radial-gradient(ellipse 75% 45% at 82% 18%, rgba(232, 148, 46, 0.1) 0%, transparent 52%),
        radial-gradient(ellipse 55% 40% at 10% 85%, rgba(120, 80, 160, 0.08) 0%, transparent 55%);
}

body.page-home .product-systems__intro {
    max-width: 44rem;
    margin-bottom: clamp(2.25rem, 5vw, 3.25rem);
    text-align: center;
}

body.page-home .product-systems__intro .eyebrow {
    display: inline-block;
    margin-bottom: var(--space-3);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(240, 168, 74, 0.9);
}

body.page-home .product-systems__intro h2 {
    font-size: clamp(1.65rem, 3.2vw, 2.35rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    margin: 0 0 var(--space-4);
}

body.page-home .product-systems__lead {
    margin: 0 auto;
    max-width: 36rem;
    font-size: clamp(1rem, 1.65vw, 1.1rem);
    line-height: 1.65;
    color: rgba(201, 194, 182, 0.95);
}

body.page-home .product-systems__grid {
    display: grid;
    gap: var(--space-5);
    grid-template-columns: 1fr;
    counter-reset: psys;
}

@media (min-width: 1000px) {
    body.page-home .product-systems__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: var(--space-4);
        align-items: stretch;
    }
}

body.page-home .product-system-card--panel {
    margin: 0;
    padding: 0;
    border: none;
    background: transparent;
    box-shadow: none;
    height: 100%;
}

body.page-home .product-system-card__shell {
    counter-increment: psys;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.13);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.072) 0%, rgba(0, 0, 0, 0.42) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 20px 56px rgba(0, 0, 0, 0.42);
    transition:
        border-color 0.35s ease,
        box-shadow 0.35s ease,
        transform 0.35s ease;
}

body.page-home .product-system-card--panel:hover .product-system-card__shell {
    border-color: rgba(232, 148, 46, 0.28);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 24px 64px rgba(0, 0, 0, 0.48),
        0 0 0 1px rgba(232, 148, 46, 0.1);
    transform: translateY(-3px);
}

@media (prefers-reduced-motion: reduce) {
    body.page-home .product-system-card--panel:hover .product-system-card__shell {
        transform: none;
    }
}

body.page-home .product-system-card__shell {
    position: relative;
}

body.page-home .product-system-card__shell::before {
    content: counter(psys, decimal-leading-zero);
    position: absolute;
    top: var(--space-3);
    left: var(--space-3);
    z-index: 2;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: rgba(7, 7, 10, 0.95);
    padding: 5px 9px;
    border-radius: var(--radius-sm);
    background: linear-gradient(145deg, rgba(240, 168, 74, 0.95), rgba(232, 148, 46, 0.85));
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
    pointer-events: none;
}

body.page-home .product-system-card__visual {
    position: relative;
    margin: 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0;
    background: #14121c;
    aspect-ratio: 16 / 10;
}

body.page-home .product-system-card__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, transparent 40%, rgba(7, 7, 10, 0.55) 100%);
    opacity: 0.85;
}

body.page-home .product-system-card--has-image .product-system-card__visual::after {
    opacity: 0.35;
}

body.page-home .product-system-card--placeholder .product-system-card__visual {
    background:
        repeating-linear-gradient(
            -12deg,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 12px
        ),
        linear-gradient(165deg, rgba(20, 20, 28, 0.9), rgba(7, 7, 10, 1));
}

body.page-home .product-system-card--placeholder .product-system-card__visual img {
    opacity: 0.35;
    filter: grayscale(0.4) contrast(0.95);
}

body.page-home .product-system-card--has-image .product-system-card__visual img {
    opacity: 1;
    filter: none;
}

body.page-home .product-system-card__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    aspect-ratio: auto;
}

body.page-home .product-system-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: var(--space-4) var(--space-4) var(--space-5);
    gap: 0;
}

body.page-home .product-system-card__title {
    margin: 0 0 var(--space-2);
    font-size: var(--text-lg);
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.2;
    color: var(--text);
}

body.page-home .product-system-card__lead {
    margin: 0 0 var(--space-3);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
    color: rgba(244, 239, 230, 0.9);
}

body.page-home .product-system-card__summary {
    margin: 0 0 var(--space-4);
    font-size: var(--text-sm);
    line-height: 1.58;
    color: rgba(180, 172, 162, 0.96);
}

body.page-home .product-system-card__features {
    list-style: none;
    margin: 0 0 var(--space-4);
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

body.page-home .product-system-card__features li {
    position: relative;
    padding-left: 1.1rem;
    font-size: 12.5px;
    line-height: 1.45;
    font-weight: 500;
    color: rgba(210, 204, 194, 0.92);
}

body.page-home .product-system-card__features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 5px;
    height: 5px;
    border-radius: 1px;
    background: rgba(232, 148, 46, 0.85);
    box-shadow: 0 0 0 1px rgba(232, 148, 46, 0.25);
}

body.page-home .product-system-card__cta {
    margin-top: auto;
    padding-top: var(--space-2);
}

body.page-home .product-system-card__cta-btn {
    width: 100%;
    justify-content: center;
    margin: 0;
    padding: 11px 18px;
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: var(--radius-pill);
    border-color: rgba(232, 148, 46, 0.45);
    background: linear-gradient(180deg, rgba(232, 148, 46, 0.14), rgba(0, 0, 0, 0.2));
    color: var(--text);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        box-shadow 0.25s ease;
}

body.page-home .product-system-card__cta-btn:hover {
    border-color: rgba(240, 168, 74, 0.55);
    background: linear-gradient(180deg, rgba(232, 148, 46, 0.22), rgba(0, 0, 0, 0.15));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 6px 24px rgba(232, 148, 46, 0.15);
}

@media (min-width: 640px) {
    body.page-home .product-system-card__cta-btn {
        width: auto;
        min-width: 12rem;
    }
}
