/* Homepage — premium sections */

.page-home .site-header--hero {
    background: transparent;
    border-bottom-color: transparent;
    box-shadow: none;
}

.page-home .site-header--hero.is-scrolled,
.page-home .site-header--hero:has(.nav-desktop__item.is-open) {
    background: #fff;
    border-bottom-color: var(--color-border);
    box-shadow: 0 8px 24px rgb(2 22 58 / 0.06);
}

.page-home .site-header--hero:not(.is-scrolled):not(:has(.nav-desktop__item.is-open)) .site-logo__text,
.page-home .site-header--hero:not(.is-scrolled):not(:has(.nav-desktop__item.is-open)) .nav-desktop__trigger,
.page-home .site-header--hero:not(.is-scrolled):not(:has(.nav-desktop__item.is-open)) .nav-desktop__link {
    color: rgb(242 244 247 / 0.9);
}

.page-home .site-header--hero:not(.is-scrolled):not(:has(.nav-desktop__item.is-open)) .nav-desktop__trigger:hover,
.page-home .site-header--hero:not(.is-scrolled):not(:has(.nav-desktop__item.is-open)) .nav-desktop__link:hover {
    color: #fff;
    background: rgb(255 255 255 / 0.08);
}

.page-home .site-header--hero:not(.is-scrolled):not(:has(.nav-desktop__item.is-open)) .nav-toggle__bar {
    background: #fff;
}

.page-home .site-header--hero:not(.is-scrolled):not(:has(.nav-desktop__item.is-open)) .site-header__demo {
    background: #fff;
    color: var(--color-primary);
    box-shadow: none;
}

.page-home .site-header--hero:not(.is-scrolled):not(:has(.nav-desktop__item.is-open)) .site-header__demo:hover {
    background: rgb(255 255 255 / 0.92);
    color: var(--color-primary-hover);
}

/* Pull the dark hero under the transparent header so light nav has contrast */
.page-home .home-hero {
    margin-top: calc(-1 * var(--header-height));
    padding-block:
        calc(var(--header-height) + clamp(3.75rem, 9vw, 6.5rem))
        clamp(3.25rem, 7vw, 5rem);
}

.btn--on-dark {
    background: rgb(255 255 255 / 0.1);
    color: #fff;
    border-color: rgb(255 255 255 / 0.22);
}

.btn--on-dark:hover {
    background: rgb(255 255 255 / 0.16);
    color: #fff;
}

.home-hero {
    position: relative;
    padding-block: clamp(3.75rem, 9vw, 6.5rem) clamp(3.25rem, 7vw, 5rem);
    background: var(--gradient-hero);
    color: var(--color-text-inverse);
    overflow: hidden;
}

.home-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 65% at 78% 18%, rgb(3 40 106 / 0.26) 0%, transparent 58%),
        radial-gradient(ellipse 55% 45% at 8% 88%, rgb(194 160 55 / 0.07) 0%, transparent 52%),
        linear-gradient(180deg, transparent 70%, rgb(12 17 29 / 0.35) 100%);
    pointer-events: none;
}

.home-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000 20%, transparent 75%);
    pointer-events: none;
    opacity: 0.55;
}

.home-hero__layout {
    position: relative;
    z-index: 1;
    display: grid;
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: center;
    grid-template-areas:
        "content"
        "visual"
        "lifecycle";
}

.home-hero__content { grid-area: content; max-width: 36rem; }
.home-hero__visual { grid-area: visual; position: relative; min-width: 0; }
.home-hero-lifecycle { grid-area: lifecycle; }

@media (min-width: 768px) and (max-width: 1023px) {
    .home-hero__layout {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "content visual"
            "lifecycle lifecycle";
        column-gap: var(--space-8);
        row-gap: var(--space-10);
        align-items: center;
    }

    .home-hero__content { max-width: none; }

    /* Keep lifecycle as one horizontal row on tablet */
    .home-hero-lifecycle__list {
        flex-wrap: nowrap;
        justify-content: space-between;
        gap: 0;
    }

    .home-hero-lifecycle__link {
        padding: var(--space-1) var(--space-1);
        gap: 0.35rem;
    }

    .home-hero-lifecycle__label {
        font-size: 0.75rem;
    }

    .home-hero-lifecycle__connector {
        width: 0.55rem;
        margin-inline: 0.05rem;
    }
}

@media (min-width: 1024px) {
    .home-hero__layout {
        grid-template-columns: minmax(0, 0.38fr) minmax(0, 0.62fr);
        grid-template-areas:
            "content visual"
            "lifecycle lifecycle";
        column-gap: clamp(2rem, 4vw, 3.5rem);
        row-gap: clamp(2.75rem, 5vw, 4rem);
        align-items: center;
    }

    .home-hero__content { max-width: 28rem; }

    .home-hero-lifecycle__list {
        flex-wrap: nowrap;
        justify-content: flex-start;
    }
}

@media (min-width: 1280px) {
    .home-hero__content { max-width: 30rem; }
}

.home-hero__eyebrow {
    display: inline-flex;
    padding: var(--space-1) var(--space-3);
    margin-bottom: var(--space-5);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgb(194 160 55 / 0.12);
    border: 1px solid rgb(194 160 55 / 0.22);
    border-radius: var(--radius-sm);
}

.home-hero__title {
    font-size: clamp(1.875rem, 4.2vw, 3.125rem);
    font-weight: 600;
    color: #fff;
    margin-bottom: var(--space-5);
    letter-spacing: -0.03em;
    line-height: 1.1;
    text-wrap: balance;
}

.home-hero__description {
    font-size: clamp(1rem, 1.4vw, 1.125rem);
    color: rgb(242 244 247 / 0.82);
    line-height: 1.65;
    margin-bottom: var(--space-8);
    max-width: 36ch;
}

.home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
}

.home-hero__cta-primary {
    box-shadow: 0 10px 28px rgb(3 40 106 / 0.35);
}

.home-hero__cta-primary:focus-visible,
.home-hero__cta-secondary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.home-hero__visual-stage {
    position: relative;
    isolation: isolate;
    overflow: visible;
}

.home-hero__visual {
    overflow: visible;
}

.home-hero__glow {
    position: absolute;
    inset: 8% -8% -12% 8%;
    background: radial-gradient(circle at 50% 40%, rgb(3 40 106 / 0.42) 0%, transparent 68%);
    pointer-events: none;
    z-index: 0;
}

.home-hero__visual-panel {
    position: absolute;
    inset: 10% 6% -4% 10%;
    border-radius: var(--radius-xl);
    background: linear-gradient(145deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.02));
    border: 1px solid rgb(255 255 255 / 0.08);
    transform: rotate(1.5deg);
    z-index: 0;
    pointer-events: none;
}

.home-hero__screenshot {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0;
    border-color: rgb(255 255 255 / 0.12);
    box-shadow:
        0 24px 48px rgb(0 0 0 / 0.28),
        0 1px 0 rgb(255 255 255 / 0.05) inset;
    /* Keep flat — perspective/3D tilt forces browser resampling and softens UI text */
    transform: none;
}

.home-hero__screenshot .screenshot-frame__chrome {
    display: none;
}

.home-hero__screenshot .screenshot-frame__viewport {
    aspect-ratio: var(--screenshot-aspect, 1914 / 992);
    background: var(--color-navy-soft);
}

.home-hero__screenshot .screenshot-frame__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    image-rendering: auto;
}

@media (max-width: 1023px) {
    .home-hero__visual-panel {
        transform: none;
        inset: 6% 4% -2% 4%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-hero__visual-panel {
        transform: none;
    }
}

/* Hero lifecycle strip — static progression (richer motion deferred to Phase 6) */
.home-hero-lifecycle {
    padding-top: var(--space-4);
    border-top: 1px solid rgb(255 255 255 / 0.08);
}

.home-hero-lifecycle__list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: var(--space-2) 0;
    margin: 0;
    padding: var(--space-5) 0 0;
}

.home-hero-lifecycle__item {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.home-hero-lifecycle__link {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2);
    color: rgb(242 244 247 / 0.88);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.home-hero-lifecycle__link:hover,
.home-hero-lifecycle__link:focus-visible {
    color: #fff;
    background: rgb(255 255 255 / 0.06);
}

.home-hero-lifecycle__link:focus-visible {
    outline: 2px solid rgb(255 255 255 / 0.7);
    outline-offset: 2px;
}

.home-hero-lifecycle__link--static {
    cursor: default;
}

.home-hero-lifecycle__marker {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-gold);
    box-shadow: 0 0 0 3px rgb(194 160 55 / 0.18);
    flex-shrink: 0;
}

.home-hero-lifecycle__label {
    font-size: var(--text-sm);
    font-weight: 500;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.home-hero-lifecycle__connector {
    width: clamp(0.75rem, 2vw, 1.75rem);
    height: 1px;
    margin-inline: 0.15rem;
    background: linear-gradient(90deg, rgb(194 160 55 / 0.55), rgb(255 255 255 / 0.2));
    flex-shrink: 0;
}

/* Mobile / small screens: compact wrapping lifecycle + clearer hierarchy */
@media (max-width: 767px) {
    .page-home .home-hero .container {
        /* ~24px horizontal inset on typical phones */
        width: min(100% - 3rem, var(--container-max));
    }

    .home-hero__layout {
        gap: 1.75rem;
    }

    .home-hero__eyebrow {
        margin-bottom: 1rem;
    }

    .home-hero__title {
        margin-bottom: 0.875rem;
        font-size: clamp(1.75rem, 7.5vw, 2.125rem);
    }

    .home-hero__description {
        max-width: none;
        margin-bottom: 1.5rem;
        line-height: 1.6;
    }

    .home-hero__actions {
        flex-direction: column;
        align-items: stretch;
        gap: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .home-hero__actions .btn {
        justify-content: center;
        width: 100%;
    }

    .home-hero__visual {
        max-width: 22.5rem;
        width: 100%;
        margin-inline: auto;
    }

    .home-hero-lifecycle {
        padding-top: 1.25rem;
    }

    .home-hero-lifecycle__list {
        justify-content: center;
        align-items: center;
        column-gap: 0;
        row-gap: 0.55rem;
        padding-top: 1rem;
    }

    .home-hero-lifecycle__item {
        display: inline-flex;
        align-items: center;
    }

    .home-hero-lifecycle__link {
        width: auto;
        min-height: 2.5rem;
        padding: 0.4rem 0.65rem;
        gap: 0.4rem;
        background: rgb(255 255 255 / 0.05);
        border: 1px solid rgb(255 255 255 / 0.1);
    }

    .home-hero-lifecycle__marker {
        width: 0.4rem;
        height: 0.4rem;
        box-shadow: 0 0 0 2px rgb(194 160 55 / 0.2);
    }

    .home-hero-lifecycle__label {
        font-size: 0.8125rem;
    }

    .home-hero-lifecycle__connector {
        width: 0.7rem;
        height: 1px;
        margin-inline: 0.15rem;
        background: linear-gradient(90deg, rgb(194 160 55 / 0.55), rgb(255 255 255 / 0.2));
    }
}

/* Phase 4 — compact product credibility strip (verified capabilities only) */
.trust-strip {
    position: relative;
    padding-block: clamp(1.15rem, 2.8vw, 1.65rem);
    background: var(--color-surface);
    border-bottom: 1px solid var(--color-border);
}

.trust-strip::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 3px;
    background: linear-gradient(
        90deg,
        rgb(26 35 64 / 0.18) 0%,
        rgb(3 40 106 / 0.22) 45%,
        rgb(194 160 55 / 0.28) 100%
    );
    pointer-events: none;
}

.trust-strip__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 1.25rem;
}

.trust-strip__item {
    display: flex;
    align-items: flex-start;
    gap: 0.7rem;
    min-width: 0;
}

.trust-strip__icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.trust-strip__svg {
    display: block;
}

.trust-strip__copy {
    min-width: 0;
}

.trust-strip__title {
    margin: 0 0 0.2rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--color-text);
}

.trust-strip__description {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.45;
    color: var(--color-text-muted);
}

@media (min-width: 768px) {
    .trust-strip {
        padding-block: clamp(1.25rem, 2.2vw, 1.75rem);
    }

    .trust-strip__list {
        gap: 1.15rem 1.5rem;
    }

    .trust-strip__title {
        font-size: 0.875rem;
    }

    .trust-strip__description {
        font-size: 0.8125rem;
        line-height: 1.5;
    }
}

@media (min-width: 1024px) {
    .trust-strip__list {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0;
        align-items: stretch;
    }

    .trust-strip__item {
        padding: 0.15rem 1.35rem;
        gap: 0.75rem;
    }

    .trust-strip__item:first-child {
        padding-left: 0;
    }

    .trust-strip__item:last-child {
        padding-right: 0;
    }

    .trust-strip__item:not(:first-child) {
        border-left: 1px solid var(--color-border);
    }

    .trust-strip__icon {
        width: 2.125rem;
        height: 2.125rem;
    }
}

/* Phase 5 — problem → TradePacer → connected lifecycle */
.problem-solution {
    padding-block: clamp(2rem, 5vw, 4.5rem);
    background:
        linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 42%, var(--color-bg) 100%);
}

.problem-solution__intro {
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: clamp(1.35rem, 3.5vw, 2.75rem);
    text-align: center;
}

.problem-solution__eyebrow {
    margin: 0 0 var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.problem-solution__title {
    margin: 0 0 var(--space-4);
    font-size: clamp(1.375rem, 2.8vw, 1.875rem);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-wrap: balance;
}

.problem-solution__description {
    margin: 0;
    font-size: clamp(0.9375rem, 1.4vw, 1.0625rem);
    line-height: 1.65;
    color: var(--color-text-muted);
}

.problem-solution__diagram {
    display: grid;
    gap: 0.65rem;
    align-items: center;
    justify-items: stretch;
}

.problem-solution__panel {
    min-width: 0;
}

.problem-solution__panel-label {
    margin: 0 0 0.55rem;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    text-align: center;
}

.problem-solution__fragments {
    list-style: none;
    margin: 0;
    padding: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem 0.45rem;
    border: 1px dashed var(--color-border);
    border-radius: var(--radius-lg);
    background: rgb(255 255 255 / 0.72);
}

.problem-solution__fragment {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-text);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
}

.problem-solution__flow {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0.85rem;
}

.problem-solution__arrow {
    width: 0.7rem;
    height: 0.7rem;
    border-right: 2px solid var(--color-primary-muted);
    border-bottom: 2px solid var(--color-primary-muted);
    transform: rotate(45deg);
    opacity: 0.85;
}

.problem-solution__panel--connector {
    display: flex;
    justify-content: center;
}

.problem-solution__brand {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.7rem 1.15rem;
    background: var(--color-navy);
    color: #fff;
    border-radius: var(--radius-lg);
    border: 1px solid rgb(255 255 255 / 0.08);
    box-shadow: 0 10px 24px rgb(2 22 58 / 0.14);
}

.problem-solution__logo {
    height: 2.5rem;
    width: auto;
    padding: 0.2rem;
    background: #fff;
    border-radius: 0.4rem;
    flex-shrink: 0;
}

.problem-solution__brand-name {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.problem-solution__lifecycle {
    list-style: none;
    margin: 0;
    padding: 0.7rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.4rem 0;
    border: 1px solid rgb(3 40 106 / 0.18);
    border-radius: var(--radius-lg);
    background: var(--color-primary-light);
}

.problem-solution__stage {
    display: inline-flex;
    align-items: center;
}

.problem-solution__stage-label {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.6rem;
    font-size: 0.8125rem;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-navy);
    background: var(--color-surface);
    border: 1px solid rgb(3 40 106 / 0.16);
    border-radius: 999px;
}

.problem-solution__stage-connector {
    width: 0.7rem;
    height: 1px;
    margin-inline: 0.15rem;
    background: linear-gradient(90deg, var(--color-primary-muted), rgb(194 160 55 / 0.65));
    flex-shrink: 0;
}

/* Desktop: fragmented → TradePacer → connected lifecycle in one row */
@media (min-width: 1024px) {
    .problem-solution__diagram {
        grid-template-columns: minmax(0, 0.95fr) auto auto auto minmax(0, 1.15fr);
        grid-template-areas: "problem flow1 connector flow2 solution";
        column-gap: 1rem;
        row-gap: 0;
        align-items: center;
    }

    .problem-solution__panel--problem { grid-area: problem; }
    .problem-solution__flow--in { grid-area: flow1; }
    .problem-solution__panel--connector { grid-area: connector; }
    .problem-solution__flow--out { grid-area: flow2; }
    .problem-solution__panel--solution { grid-area: solution; }

    .problem-solution__panel-label {
        text-align: left;
    }

    .problem-solution__fragments {
        justify-content: flex-start;
        padding: 1rem;
        /* Mild irregular gaps so chips feel disconnected without chaos */
        column-gap: 0.65rem;
        row-gap: 0.7rem;
    }

    .problem-solution__fragment--sales,
    .problem-solution__fragment--compliance {
        margin-left: 0.35rem;
    }

    .problem-solution__fragment--follow-ups,
    .problem-solution__fragment--service {
        margin-top: 0.15rem;
    }

    .problem-solution__arrow {
        width: 0.65rem;
        height: 0.65rem;
        transform: rotate(-45deg);
    }

    .problem-solution__lifecycle {
        justify-content: flex-start;
        padding: 1rem;
    }

    .problem-solution__brand {
        padding: 0.85rem 1.35rem;
    }

    .problem-solution__brand-name {
        font-size: 1rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .problem-solution__fragment {
        animation: ps-fragment-in 0.45s ease both;
        animation-delay: calc(var(--ps-i, 0) * 35ms);
    }

    .problem-solution__brand {
        animation: ps-brand-in 0.5s ease 0.12s both;
    }

    .problem-solution__arrow {
        animation: ps-arrow-in 0.4s ease 0.18s both;
    }
}

@keyframes ps-fragment-in {
    from { opacity: 0; translate: 0 0.25rem; }
    to { opacity: 1; translate: 0 0; }
}

@keyframes ps-brand-in {
    from { opacity: 0; scale: 0.97; }
    to { opacity: 1; scale: 1; }
}

@keyframes ps-arrow-in {
    from { opacity: 0; }
    to { opacity: 0.85; }
}

/* --- Animated CRM workflow (left → hub → right) --- */
.crm-workflow {
    position: relative;
    padding-block: clamp(2.75rem, 6vw, 5.5rem);
    background:
        radial-gradient(ellipse 60% 50% at 50% 42%, rgb(3 40 106 / 0.45) 0%, transparent 62%),
        radial-gradient(ellipse 40% 35% at 12% 88%, rgb(194 160 55 / 0.08) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-midnight) 0%, var(--color-navy) 55%, #021a42 100%);
    color: var(--color-text-inverse);
    overflow: hidden;
}

.crm-workflow::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgb(255 255 255 / 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgb(255 255 255 / 0.018) 1px, transparent 1px);
    background-size: 44px 44px;
    mask-image: radial-gradient(ellipse 65% 55% at 50% 45%, #000 15%, transparent 72%);
    pointer-events: none;
    opacity: 0.7;
}

.crm-workflow > .container {
    position: relative;
    z-index: 1;
}

.crm-workflow__intro {
    margin-bottom: clamp(1.5rem, 3.5vw, 2.75rem);
}

.crm-workflow .section-heading__eyebrow {
    color: var(--color-gold);
}

.crm-workflow .section-heading {
    max-width: 50rem;
}

.crm-workflow .section-heading__title {
    color: #fff;
    max-width: 36ch;
    margin-inline: auto;
    text-wrap: balance;
    line-height: 1.2;
}

.crm-workflow .section-heading__description {
    color: rgb(242 244 247 / 0.78);
    max-width: 48rem;
    margin-inline: auto;
    font-size: 0.875rem;
    line-height: 1.5;
}

.crm-workflow__stage {
    position: relative;
}

/* Desktop / tablet diagram */
.crm-workflow__diagram {
    display: none;
    position: relative;
    align-items: center;
    min-height: 26rem;
    padding-block: 0.5rem;
}

.crm-workflow__col {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 0.55rem;
    min-width: 0;
    min-height: 26rem;
    padding-top: 1.35rem;
    position: relative;
    z-index: 2;
}

.crm-workflow__col-label {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgb(242 244 247 / 0.55);
}

.crm-workflow__col--out .crm-workflow__col-label {
    text-align: right;
}

.crm-workflow__card {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 3.65rem;
    padding: 0.65rem 0.8rem;
    background: rgb(255 255 255 / 0.04);
    border: 1px solid rgb(255 255 255 / 0.1);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 24px rgb(1 11 30 / 0.28);
    backdrop-filter: blur(6px);
    opacity: 0;
    transform: translateX(0);
}

.crm-workflow__card--in {
    transform: translateX(-0.75rem);
}

.crm-workflow__card--out {
    transform: translateX(0.75rem);
    text-align: right;
    flex-direction: row-reverse;
}

.crm-workflow__card--out .crm-workflow__card-dot {
    order: 0;
}

.crm-workflow__card-icon {
    flex-shrink: 0;
    width: 2rem;
    height: 2rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    color: #8eb4ef;
    background: rgb(107 143 196 / 0.12);
    border: 1px solid rgb(142 180 239 / 0.18);
}

.crm-workflow__svg {
    display: block;
}

.crm-workflow__card-body {
    min-width: 0;
    flex: 1;
}

.crm-workflow__card-title-row {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-wrap: wrap;
    margin-bottom: 0.15rem;
}

.crm-workflow__card--out .crm-workflow__card-title-row {
    justify-content: flex-end;
}

.crm-workflow__card-title {
    margin: 0;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: #fff;
    line-height: 1.25;
}

.crm-workflow__card-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.1rem 0.4rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgb(194 160 55 / 0.14);
    border: 1px solid rgb(194 160 55 / 0.28);
    white-space: nowrap;
    line-height: 1.3;
}

.crm-workflow__card-subtitle {
    margin: 0;
    font-size: 0.75rem;
    line-height: 1.35;
    color: rgb(242 244 247 / 0.62);
}

.crm-workflow__card--disabled {
    opacity: 0.72;
    background: rgb(255 255 255 / 0.025);
    border-style: dashed;
    border-color: rgb(255 255 255 / 0.14);
    box-shadow: none;
}

.crm-workflow__card--disabled .crm-workflow__card-icon {
    color: rgb(142 180 239 / 0.55);
    background: rgb(107 143 196 / 0.08);
    border-color: rgb(142 180 239 / 0.12);
}

.crm-workflow__card--disabled .crm-workflow__card-title {
    color: rgb(242 244 247 / 0.78);
}

.crm-workflow__card--disabled .crm-workflow__card-dot {
    opacity: 0.45;
    box-shadow: 0 0 0 3px rgb(107 143 196 / 0.1);
}

.crm-workflow__card-dot {
    flex-shrink: 0;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: var(--color-primary-muted);
    box-shadow: 0 0 0 3px rgb(107 143 196 / 0.18), 0 0 10px rgb(107 143 196 / 0.45);
}

.crm-workflow__hub-wrap {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-self: center;
    align-self: center;
    gap: 0.65rem;
}

.crm-workflow__hub {
    position: relative;
    width: 6.5rem;
    height: 6.5rem;
}

.crm-workflow__hub-caption {
    margin: 0;
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgb(242 244 247 / 0.62);
    text-align: center;
    white-space: nowrap;
}

.crm-workflow__hub-caption--mobile {
    margin-top: 0.45rem;
}

.crm-workflow__hub-ring,
.crm-workflow__hub-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.crm-workflow__hub-ring {
    border: 1px solid rgb(107 143 196 / 0.35);
    box-shadow:
        0 0 0 6px rgb(3 40 106 / 0.35),
        inset 0 0 0 1px rgb(255 255 255 / 0.06);
}

.crm-workflow__hub-glow {
    inset: -18%;
    background: radial-gradient(circle, rgb(107 143 196 / 0.35) 0%, rgb(3 40 106 / 0.12) 42%, transparent 70%);
    opacity: 0.85;
}

.crm-workflow__hub-core {
    position: absolute;
    inset: 12%;
    display: block;
    border-radius: 50%;
    background:
        linear-gradient(160deg, rgb(255 255 255 / 0.98) 0%, rgb(231 238 248 / 0.96) 100%);
    border: 1px solid rgb(255 255 255 / 0.55);
    box-shadow:
        0 12px 32px rgb(1 11 30 / 0.35),
        0 0 24px rgb(107 143 196 / 0.28);
    overflow: hidden;
}

.crm-workflow__hub-picture {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 52%;
    max-width: 3.1rem;
    height: auto;
    margin: 0;
    transform: translate(-50%, -52%);
}

.crm-workflow__hub-logo {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    object-position: center;
}

.crm-workflow__hub-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--color-navy);
    text-align: center;
    padding: 0.35rem;
    line-height: 1.2;
    width: 80%;
}

.crm-workflow__lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
}

.crm-workflow__lines path {
    fill: none;
    stroke-width: 1.35;
    stroke-linecap: round;
}

.crm-workflow__lines .cw-path--in {
    stroke: url(#cw-grad-in);
}

.crm-workflow__lines .cw-path--out {
    stroke: url(#cw-grad-out);
}

.crm-workflow__lines .cw-dot {
    fill: #8eb4ef;
    filter: url(#cw-dot-glow);
}

/* Mobile vertical flow */
.crm-workflow__mobile {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-width: 22rem;
    margin-inline: auto;
}

.crm-workflow__mobile-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    transform: translateY(0.6rem);
}

.crm-workflow__mobile-item--hub {
    padding-block: 0.35rem;
}

.crm-workflow__card--mobile {
    width: 100%;
    opacity: 1;
    transform: none;
}

.crm-workflow__hub--mobile {
    width: 5.25rem;
    height: 5.25rem;
}

.crm-workflow__mobile-connector {
    position: relative;
    display: block;
    width: 2px;
    height: 1.65rem;
    margin-block: 0.2rem;
    background: linear-gradient(
        180deg,
        rgb(107 143 196 / 0.15) 0%,
        rgb(107 143 196 / 0.55) 50%,
        rgb(107 143 196 / 0.15) 100%
    );
    border-radius: 999px;
    overflow: hidden;
}

.crm-workflow__mobile-dot {
    position: absolute;
    left: 50%;
    top: -0.35rem;
    width: 0.4rem;
    height: 0.4rem;
    margin-left: -0.2rem;
    border-radius: 50%;
    background: #8eb4ef;
    box-shadow: 0 0 8px rgb(142 180 239 / 0.8);
    opacity: 0;
}

@media (min-width: 768px) {
    .crm-workflow__mobile {
        display: none;
    }

    .crm-workflow__diagram {
        display: grid;
        grid-template-columns: minmax(13.5rem, 16.75rem) minmax(6.5rem, 1fr) minmax(13.5rem, 16.75rem);
        justify-content: center;
        column-gap: 0;
        min-height: 28rem;
        max-width: 58rem;
        margin-inline: auto;
    }

    .crm-workflow__hub-wrap {
        justify-self: center;
    }

    .crm-workflow__hub {
        width: 5.75rem;
        height: 5.75rem;
    }

    .crm-workflow__card {
        min-height: 3.35rem;
        padding: 0.6rem 0.75rem;
    }

    .crm-workflow__card-title {
        font-size: 0.8125rem;
    }
}

@media (min-width: 1024px) {
    .crm-workflow__diagram {
        min-height: 31rem;
        max-width: 64rem;
        grid-template-columns: minmax(15rem, 18.5rem) minmax(9rem, 1fr) minmax(15rem, 18.5rem);
    }

    .crm-workflow__hub {
        width: 7rem;
        height: 7rem;
    }

    .crm-workflow__col {
        gap: 0.65rem;
        min-height: 29rem;
    }

    .crm-workflow__card {
        min-height: 3.85rem;
        padding: 0.75rem 0.95rem;
    }

    .crm-workflow__card-title {
        font-size: 0.9375rem;
    }

    .crm-workflow__card-subtitle {
        font-size: 0.8125rem;
    }
}

/* Active / revealed states */
.crm-workflow__stage.is-ready .crm-workflow__card,
.crm-workflow__stage.is-ready .crm-workflow__mobile-item {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: no-preference) {
    .crm-workflow__stage.is-active .crm-workflow__card {
        transition:
            opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
            border-color 0.35s ease,
            box-shadow 0.35s ease;
        transition-delay: calc(0.08s + (var(--cw-i, 0) * 0.07s));
    }

    .crm-workflow__stage.is-active .crm-workflow__card--out {
        transition-delay: calc(0.42s + (var(--cw-i, 0) * 0.07s));
    }

    .crm-workflow__stage.is-active .crm-workflow__mobile-item {
        transition:
            opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: calc(0.06s + (var(--cw-i, 0) * 0.06s));
    }

    .crm-workflow__stage.is-active .crm-workflow__hub-glow {
        animation: cw-hub-pulse 3.2s ease-in-out infinite;
    }

    .crm-workflow__stage.is-active .crm-workflow__hub-core {
        animation: cw-hub-breathe 3.2s ease-in-out infinite;
    }

    .crm-workflow__stage.is-active.is-pulse .crm-workflow__hub-glow {
        animation:
            cw-hub-pulse 3.2s ease-in-out infinite,
            cw-hub-hit 0.7s ease-out;
    }

    .crm-workflow__stage.is-active .crm-workflow__mobile-dot {
        animation: cw-mobile-travel 2.4s ease-in-out infinite;
    }

    .crm-workflow__stage.is-active .crm-workflow__mobile-item:nth-child(odd) .crm-workflow__mobile-dot {
        animation-delay: 0.4s;
    }

    .crm-workflow__stage.is-active .crm-workflow__mobile-item:nth-child(even) .crm-workflow__mobile-dot {
        animation-delay: 1.1s;
    }

    .crm-workflow__lines path {
        stroke-dasharray: 1;
        stroke-dashoffset: 1;
        transition: stroke-dashoffset 1.1s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .crm-workflow__stage.is-active .crm-workflow__lines path {
        stroke-dashoffset: 0;
    }

    .crm-workflow__stage.is-active .crm-workflow__card.is-lit {
        border-color: rgb(107 143 196 / 0.4);
        box-shadow:
            0 8px 24px rgb(1 11 30 / 0.28),
            0 0 0 1px rgb(107 143 196 / 0.2),
            0 0 18px rgb(107 143 196 / 0.12);
    }

    .crm-workflow__stage.is-active .crm-workflow__card--disabled.is-lit {
        border-color: rgb(255 255 255 / 0.14);
        box-shadow: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .crm-workflow__card,
    .crm-workflow__mobile-item {
        opacity: 1;
        transform: none;
    }

    .crm-workflow__hub-glow,
    .crm-workflow__hub-core,
    .crm-workflow__mobile-dot {
        animation: none !important;
    }
}

@keyframes cw-hub-pulse {
    0%, 100% { opacity: 0.7; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.06); }
}

@keyframes cw-hub-breathe {
    0%, 100% { box-shadow: 0 12px 32px rgb(1 11 30 / 0.35), 0 0 24px rgb(107 143 196 / 0.28); }
    50% { box-shadow: 0 12px 32px rgb(1 11 30 / 0.35), 0 0 34px rgb(107 143 196 / 0.48); }
}

@keyframes cw-hub-hit {
    0% { filter: brightness(1); }
    35% { filter: brightness(1.35); }
    100% { filter: brightness(1); }
}

@keyframes cw-mobile-travel {
    0% { top: -0.35rem; opacity: 0; }
    15% { opacity: 1; }
    85% { opacity: 1; }
    100% { top: calc(100% - 0.05rem); opacity: 0; }
}

.home-video {
    padding-block: var(--space-20);
    background: linear-gradient(180deg, var(--color-surface) 0%, var(--color-bg) 100%);
}

.home-video__inner {
    max-width: 56rem;
    margin-inline: auto;
    text-align: center;
}

.home-video__eyebrow {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.home-video__title {
    font-size: var(--text-2xl);
    margin-bottom: var(--space-4);
}

.home-video__description {
    font-size: var(--text-md);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: var(--space-10);
    max-width: 36rem;
    margin-inline: auto;
}

.home-video__player {
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-xl);
    background: var(--color-navy);
}

.home-video__player video,
.home-video__player .video-facade__poster,
.home-video__player .video-embed,
.home-video__poster-img,
.home-video__empty {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: var(--screenshot-aspect, 16 / 9);
    object-fit: contain;
    object-position: center;
}

.home-video__player .video-facade__poster {
    object-fit: cover;
}

.home-video__empty {
    position: relative;
    background:
        radial-gradient(ellipse 60% 50% at 50% 45%, rgb(255 255 255 / 0.06) 0%, transparent 70%),
        var(--color-navy);
}

.home-video__empty-play,
.home-video__placeholder::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 4.5rem;
    height: 4.5rem;
    border-radius: 50%;
    background: rgb(255 255 255 / 0.94);
    box-shadow: var(--shadow-lg);
    pointer-events: none;
}

.home-video__empty-play::after,
.home-video__placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 12px 0 12px 20px;
    border-color: transparent transparent transparent var(--color-primary);
    transform: translateX(4px);
    z-index: 1;
    pointer-events: none;
}

.home-video__placeholder {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    cursor: pointer;
    background: none;
    position: relative;
}

.home-video__caption {
    margin-top: var(--space-4);
    font-size: var(--text-sm);
    color: var(--color-text-subtle);
}

.home-journey {
    position: relative;
    padding-block: clamp(2.5rem, 6vw, 5.5rem);
    background:
        radial-gradient(ellipse 70% 55% at 12% 0%, rgb(3 40 106 / 0.22) 0%, transparent 55%),
        radial-gradient(ellipse 50% 40% at 88% 100%, rgb(194 160 55 / 0.1) 0%, transparent 50%),
        linear-gradient(180deg, var(--color-navy) 0%, var(--color-navy-soft) 100%);
    color: var(--color-text-inverse);
    overflow: hidden;
}

.home-journey__intro {
    margin-bottom: clamp(1.35rem, 3.5vw, 2.75rem);
}

.home-journey .section-heading__eyebrow {
    color: var(--color-gold);
}

.home-journey .section-heading__title {
    color: #fff;
}

.home-journey .section-heading__description {
    color: rgb(242 244 247 / 0.78);
    max-width: 42rem;
    margin-inline: auto;
}

.lifecycle {
    position: relative;
    z-index: 1;
}

.lifecycle__stages {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.lifecycle__stage {
    position: relative;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
        "node body"
        "connector body";
    column-gap: 0.9rem;
    align-items: start;
}

.lifecycle__node {
    grid-area: node;
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-height: 2.75rem;
    padding: 0.35rem 0.15rem;
    margin: 0;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    text-align: left;
    border-radius: var(--radius-sm);
}

.lifecycle__node:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.lifecycle__index {
    flex-shrink: 0;
    width: 2.35rem;
    height: 2.35rem;
    display: grid;
    place-items: center;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #fff;
    background: rgb(255 255 255 / 0.08);
    border: 1.5px solid rgb(255 255 255 / 0.22);
    box-shadow: inset 0 0 0 3px rgb(2 22 58 / 0.35);
    transition: background var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.lifecycle__name {
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: rgb(242 244 247 / 0.9);
}

.lifecycle__connector {
    grid-area: connector;
    justify-self: center;
    width: 2px;
    min-height: 0.65rem;
    margin: 0.05rem 0 0.1rem;
    background: linear-gradient(180deg, rgb(194 160 55 / 0.7), rgb(255 255 255 / 0.18));
    border-radius: 1px;
}

.lifecycle__body {
    grid-area: body;
    padding: 0.2rem 0 0.75rem;
    min-width: 0;
}

.lifecycle__desc {
    margin: 0 0 0.3rem;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: rgb(242 244 247 / 0.72);
}

.lifecycle__link,
.lifecycle__panel-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-gold);
    text-decoration: none;
}

.lifecycle__link:hover,
.lifecycle__panel-link:hover {
    color: #e0c56a;
    text-decoration: underline;
}

.lifecycle__link:focus-visible,
.lifecycle__panel-link:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
    border-radius: 2px;
}

.lifecycle__stage.is-active .lifecycle__index {
    background: var(--color-primary);
    border-color: rgb(194 160 55 / 0.85);
    box-shadow:
        0 0 0 3px rgb(3 40 106 / 0.28),
        0 0 0 1px rgb(194 160 55 / 0.35);
}

.lifecycle__stage.is-active .lifecycle__name {
    color: #fff;
}

.lifecycle__panel {
    display: none;
}

/* Tablet: compact wrapped path + visible bodies stay readable */
@media (min-width: 768px) and (max-width: 1023px) {
    .lifecycle__stages {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.85rem 0.5rem;
    }

    .lifecycle__stage {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.45rem;
        padding: 0.75rem 0.65rem;
        border: 1px solid rgb(255 255 255 / 0.1);
        border-radius: var(--radius-lg);
        background: rgb(255 255 255 / 0.03);
    }

    .lifecycle__stage:nth-child(n + 5) {
        grid-column: span 1;
    }

    .lifecycle__connector {
        display: none;
    }

    .lifecycle__body {
        padding: 0;
    }

    .lifecycle__node {
        min-height: 2.5rem;
        padding: 0;
        width: 100%;
    }

    .lifecycle__stage.is-active {
        border-color: rgb(3 40 106 / 0.55);
        background: rgb(3 40 106 / 0.12);
    }
}

/* Desktop enhanced path: compact nodes + shared detail panel */
@media (min-width: 1024px) {
    .lifecycle.is-enhanced .lifecycle__stages {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        padding: 0.35rem 0.25rem 0;
        position: relative;
    }

    .lifecycle.is-enhanced .lifecycle__stages::before {
        content: '';
        position: absolute;
        left: 1.15rem;
        right: 1.15rem;
        top: 1.35rem;
        height: 2px;
        background: linear-gradient(
            90deg,
            rgb(194 160 55 / 0.15) 0%,
            rgb(194 160 55 / 0.75) 18%,
            rgb(3 40 106 / 0.55) 55%,
            rgb(194 160 55 / 0.8) 100%
        );
        transform-origin: left center;
        transform: scaleX(0);
        opacity: 0.9;
        pointer-events: none;
        z-index: 0;
    }

    .lifecycle.is-enhanced.is-revealed .lifecycle__stages::before {
        transform: scaleX(1);
        transition: transform 0.9s ease;
    }

    .lifecycle.is-enhanced .lifecycle__stage {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 1 1 0;
        min-width: 0;
        position: relative;
        z-index: 1;
    }

    .lifecycle.is-enhanced .lifecycle__connector {
        display: none;
    }

    .lifecycle.is-enhanced .lifecycle__node {
        flex-direction: column;
        align-items: center;
        gap: 0.55rem;
        width: 100%;
        min-height: 0;
        padding: 0.25rem;
        text-align: center;
    }

    .lifecycle.is-enhanced .lifecycle__index {
        width: 2.5rem;
        height: 2.5rem;
        font-size: 0.8125rem;
    }

    .lifecycle.is-enhanced .lifecycle__name {
        font-size: 0.8125rem;
    }

    .lifecycle.is-enhanced .lifecycle__body {
        display: none;
    }

    .lifecycle.is-enhanced .lifecycle__panel {
        display: block;
        margin-top: 1.75rem;
        padding: 1.35rem 1.5rem;
        border-radius: var(--radius-xl);
        border: 1px solid rgb(255 255 255 / 0.12);
        background:
            linear-gradient(145deg, rgb(255 255 255 / 0.07), rgb(255 255 255 / 0.03));
        box-shadow: 0 18px 40px rgb(0 0 0 / 0.22);
    }

    .lifecycle__panel-index {
        margin: 0 0 0.35rem;
        font-size: 0.75rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        color: var(--color-gold);
    }

    .lifecycle__panel-title {
        margin: 0 0 0.5rem;
        font-size: 1.25rem;
        font-weight: 600;
        color: #fff;
        letter-spacing: -0.02em;
    }

    .lifecycle__panel-desc {
        margin: 0 0 0.85rem;
        max-width: 40rem;
        font-size: 0.9875rem;
        line-height: 1.6;
        color: rgb(242 244 247 / 0.78);
    }
}

@media (prefers-reduced-motion: reduce) {
    .lifecycle.is-enhanced .lifecycle__stages::before {
        transform: scaleX(1);
        transition: none;
    }
}

.home-showcases-intro {
    padding-block: clamp(2rem, 4vw, 3rem) clamp(0.5rem, 1.5vw, 1rem);
    background: var(--color-surface);
}

.home-showcases-intro .section-heading {
    margin-bottom: 0;
}

.home-showcases-intro .section-heading__title {
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    max-width: 28rem;
    margin-inline: auto;
}

.home-showcase {
    padding-block: clamp(2.5rem, 5vw, 4rem);
}

.home-showcase--surface {
    background: var(--color-surface);
}

.home-showcase--tint {
    background: linear-gradient(180deg, var(--color-bg) 0%, rgb(238 240 251 / 0.55) 100%);
}

.home-showcase__inner {
    display: grid;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    grid-template-areas:
        "content"
        "media";
}

.home-showcase__content { grid-area: content; min-width: 0; }
.home-showcase__media { grid-area: media; min-width: 0; }

@media (min-width: 1024px) {
    .home-showcase__inner {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
        grid-template-areas: "content media";
        gap: clamp(2rem, 4vw, 3.5rem);
        align-items: center;
    }

    .home-showcase--reverse .home-showcase__inner {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.9fr);
        grid-template-areas: "media content";
    }
}

.home-showcase__eyebrow {
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-primary);
    margin-bottom: var(--space-3);
}

.home-showcase__title {
    font-size: clamp(1.5rem, 2.4vw, 2rem);
    letter-spacing: -0.02em;
    margin-bottom: var(--space-3);
    line-height: 1.2;
}

.home-showcase__description {
    font-size: var(--text-md);
    color: var(--color-text-muted);
    line-height: 1.65;
    margin-bottom: var(--space-5);
    max-width: 36rem;
}

.home-showcase__features {
    list-style: none;
    display: grid;
    gap: 0.55rem;
    margin: 0 0 var(--space-5);
    padding: 0;
}

.home-showcase__features li {
    padding-left: 1.5rem;
    position: relative;
    font-size: var(--text-sm);
    color: var(--color-text);
    line-height: 1.45;
}

.home-showcase__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.35em;
    width: 0.9rem;
    height: 0.9rem;
    border-radius: 50%;
    background: var(--color-primary-light);
    box-shadow: inset 0 0 0 1px rgb(3 40 106 / 0.22);
}

.home-showcase__features li::after {
    content: '';
    position: absolute;
    left: 0.28rem;
    top: 0.55em;
    width: 0.28rem;
    height: 0.45rem;
    border: solid var(--color-primary);
    border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

.home-showcase__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.55rem;
}

.home-showcase__link {
    font-size: var(--text-sm);
    font-weight: 600;
}

.home-showcase__secondary {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    align-items: center;
}

.home-showcase__secondary a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-weight: 500;
}

.home-showcase__secondary a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.home-showcase__secondary-sep {
    opacity: 0.55;
}

.home-showcase__screenshot {
    width: 100%;
    margin: 0;
}

.home-showcase__screenshot .screenshot-frame__viewport {
    aspect-ratio: var(--screenshot-aspect, auto);
    background: var(--color-navy-soft);
}

.home-showcase__screenshot .screenshot-frame__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
}

/* Phase 8 — compact specialist / additional capabilities */
.additional-capabilities {
    padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
}

.additional-capabilities__intro {
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.additional-capabilities__heading .section-heading__title {
    font-size: clamp(1.35rem, 2.3vw, 1.7rem);
}

.additional-capabilities__heading .section-heading__description {
    font-size: 0.9875rem;
    max-width: 38rem;
    margin-inline: auto;
}

.additional-capabilities__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.85rem;
}

.additional-capabilities__card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    height: 100%;
    min-height: 100%;
    padding: 1.05rem 1.1rem 1.15rem;
    text-decoration: none;
    color: inherit;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        background-color var(--transition-fast);
}

.additional-capabilities__card:hover,
.additional-capabilities__card:focus-visible {
    border-color: rgb(3 40 106 / 0.35);
    background: rgb(255 255 255 / 0.98);
    box-shadow: var(--shadow-sm);
}

.additional-capabilities__card:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.additional-capabilities__card--static {
    cursor: default;
}

.additional-capabilities__icon {
    width: 2.125rem;
    height: 2.125rem;
    margin-bottom: 0.75rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.additional-capabilities__svg {
    display: block;
}

.additional-capabilities__title {
    margin: 0 0 0.4rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.additional-capabilities__desc {
    margin: 0 0 0.85rem;
    flex: 1 1 auto;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.additional-capabilities__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: auto;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
}

.additional-capabilities__arrow {
    transition: transform var(--transition-fast);
}

.additional-capabilities__card:hover .additional-capabilities__arrow,
.additional-capabilities__card:focus-visible .additional-capabilities__arrow {
    transform: translateX(0.15rem);
}

@media (min-width: 360px) {
    .additional-capabilities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.95rem;
    }
}

@media (min-width: 1024px) {
    .additional-capabilities__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1rem;
    }

    .additional-capabilities__card {
        padding: 1.1rem 1.15rem 1.2rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .additional-capabilities__arrow {
        transition: none;
    }

    .additional-capabilities__card:hover .additional-capabilities__arrow,
    .additional-capabilities__card:focus-visible .additional-capabilities__arrow {
        transform: none;
    }
}

.home-roles { padding-block: var(--space-20); background: var(--color-surface); }
.home-roles__grid { display: grid; gap: var(--space-6); }

@media (min-width: 768px) {
    .home-roles__grid { grid-template-columns: repeat(3, 1fr); }
}

.home-role-card {
    padding: var(--space-8);
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    height: 100%;
}

.home-role-card__icon {
    width: 2.75rem;
    height: 2.75rem;
    margin-bottom: var(--space-5);
    border-radius: var(--radius-md);
    background: var(--color-primary-light);
    color: var(--color-primary);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: var(--text-sm);
}

.home-role-card__title { font-size: var(--text-xl); margin-bottom: var(--space-3); }
.home-role-card__description { font-size: var(--text-sm); color: var(--color-text-muted); margin-bottom: var(--space-5); }

.home-role-card__list {
    list-style: none;
    font-size: var(--text-sm);
    color: var(--color-text-muted);
}

.home-role-card__list li {
    padding-left: 1.125rem;
    position: relative;
    margin-bottom: var(--space-2);
}

.home-role-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 50%;
    background: var(--color-primary);
}

/* Phase 9 — solutions by team */
.team-solutions {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background: var(--color-surface);
}

.team-solutions__intro {
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.team-solutions__heading .section-heading__title {
    font-size: clamp(1.4rem, 2.4vw, 1.8rem);
}

.team-solutions__heading .section-heading__description {
    font-size: 0.9875rem;
    max-width: 36rem;
    margin-inline: auto;
}

.team-solutions__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.95rem;
}

.team-solutions__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.2rem 1.2rem 1.3rem;
    background: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.team-solutions__icon {
    width: 2.25rem;
    height: 2.25rem;
    margin-bottom: 0.85rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-sm);
    color: var(--color-primary);
    background: var(--color-primary-light);
}

.team-solutions__svg {
    display: block;
}

.team-solutions__title {
    margin: 0 0 0.45rem;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.team-solutions__desc {
    margin: 0 0 0.85rem;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--color-text-muted);
}

.team-solutions__points {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    gap: 0.35rem;
    width: 100%;
}

.team-solutions__points li {
    position: relative;
    padding-left: 1rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: var(--color-text);
}

.team-solutions__points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 0.35rem;
    height: 0.35rem;
    border-radius: 50%;
    background: var(--color-primary);
}

.team-solutions__link {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.team-solutions__link:hover {
    text-decoration: underline;
}

.team-solutions__link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (min-width: 640px) {
    .team-solutions__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1100px) {
    .team-solutions__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.05rem;
    }

    .team-solutions__card {
        padding: 1.25rem 1.2rem 1.35rem;
    }
}
    padding: var(--space-2) 0;
    border-top: 1px solid var(--color-border);
}

.home-trust { padding-block: var(--space-20); background: var(--color-bg); }
.home-trust__grid { display: grid; gap: var(--space-6); }

@media (min-width: 768px) { .home-trust__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .home-trust__grid { grid-template-columns: repeat(3, 1fr); } }

.home-trust-card {
    padding: var(--space-6);
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.home-trust-card__title { font-size: var(--text-md); font-weight: 600; margin-bottom: var(--space-2); }
.home-trust-card__text { font-size: var(--text-sm); color: var(--color-text-muted); line-height: 1.6; margin: 0; }

/* Phase 10 — security & deployment confidence */
.security-confidence {
    padding-block: clamp(2.5rem, 5vw, 4rem);
    background:
        linear-gradient(180deg, var(--color-bg) 0%, rgb(238 240 251 / 0.45) 100%);
    border-top: 1px solid var(--color-border);
}

.security-confidence__intro {
    max-width: 40rem;
    margin-inline: auto;
    margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.security-confidence__heading .section-heading__title {
    font-size: clamp(1.4rem, 2.4vw, 1.85rem);
}

.security-confidence__heading .section-heading__description {
    font-size: 0.9875rem;
    max-width: 38rem;
    margin-inline: auto;
}

.security-confidence__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

.security-confidence__item {
    padding: 1rem 1.1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
}

.security-confidence__title {
    margin: 0 0 0.35rem;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    color: var(--color-text);
}

.security-confidence__desc {
    margin: 0;
    font-size: 0.8125rem;
    line-height: 1.5;
    color: var(--color-text-muted);
}

.security-confidence__cta {
    margin: 1.5rem 0 0;
    text-align: center;
}

.security-confidence__link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.security-confidence__link:hover {
    text-decoration: underline;
}

.security-confidence__link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

@media (min-width: 360px) {
    .security-confidence__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.85rem;
    }
}

@media (min-width: 1024px) {
    .security-confidence__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1rem;
    }
}

/* Homepage upcoming product updates / roadmap */
.upcoming-updates {
    padding-block: clamp(2.75rem, 6vw, 5rem);
    background:
        radial-gradient(ellipse 55% 45% at 50% 0%, rgb(3 40 106 / 0.06) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
    border-top: 1px solid var(--color-border);
}

.upcoming-updates__intro {
    margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
    text-align: center;
}

.upcoming-updates__meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: var(--space-4);
}

.upcoming-updates__version,
.upcoming-updates__status {
    display: inline-flex;
    align-items: center;
    padding: 0.2rem 0.6rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    line-height: 1.3;
}

.upcoming-updates__version {
    color: var(--color-primary);
    background: var(--color-primary-light);
    border: 1px solid rgb(3 40 106 / 0.14);
}

.upcoming-updates__status {
    color: var(--color-gold);
    background: rgb(194 160 55 / 0.12);
    border: 1px solid rgb(194 160 55 / 0.28);
}

.upcoming-updates__heading .section-heading__title {
    color: var(--color-text);
}

.upcoming-updates__heading .section-heading__description {
    max-width: 40rem;
    margin-inline: auto;
}

.upcoming-updates__grid {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.85rem;
    grid-template-columns: 1fr;
}

.upcoming-updates__card {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 1.15rem 1.2rem;
    background: var(--color-surface);
    border: 1px dashed var(--color-border-strong);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.upcoming-updates__card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.upcoming-updates__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius-lg);
    color: var(--color-primary);
    background: var(--color-primary-light);
    border: 1px solid rgb(3 40 106 / 0.12);
}

.upcoming-updates__svg {
    display: block;
}

.upcoming-updates__badge {
    display: inline-flex;
    align-items: center;
    padding: 0.15rem 0.5rem;
    border-radius: 999px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgb(194 160 55 / 0.12);
    border: 1px solid rgb(194 160 55 / 0.25);
    white-space: nowrap;
}

.upcoming-updates__title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--color-text);
    line-height: 1.3;
}

.upcoming-updates__desc {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--color-text-muted);
}

@media (min-width: 640px) {
    .upcoming-updates__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1rem;
    }
}

@media (min-width: 1024px) {
    .upcoming-updates__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 1.1rem;
    }

    .upcoming-updates__card {
        padding: 1.25rem 1.2rem 1.35rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .upcoming-updates__item {
        opacity: 0;
        transform: translateY(0.5rem);
    }

    .upcoming-updates .reveal.is-visible .upcoming-updates__item,
    .upcoming-updates--embedded.reveal.is-visible .upcoming-updates__item,
    .reveal.is-visible .upcoming-updates__item {
        opacity: 1;
        transform: none;
        transition:
            opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
        transition-delay: calc(0.05s + (var(--uu-i, 0) * 0.06s));
    }
}

.upcoming-updates--page {
    border-top: 0;
    background:
        radial-gradient(ellipse 55% 45% at 50% 0%, rgb(3 40 106 / 0.05) 0%, transparent 60%),
        var(--color-bg);
}

.upcoming-updates--embedded {
    margin: 0;
}

.updates-page__hero-meta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: var(--space-5);
}

.page-updates .upcoming-updates__version {
    color: #fff;
    background: rgb(255 255 255 / 0.1);
    border-color: rgb(255 255 255 / 0.2);
}

.page-updates .company-hero .upcoming-updates__status {
    color: var(--color-gold);
    background: rgb(194 160 55 / 0.16);
    border-color: rgb(194 160 55 / 0.35);
}

.updates-included {
    padding-block: clamp(2rem, 5vw, 4rem);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.updates-included__panel {
    max-width: 46rem;
    margin-inline: auto;
    text-align: center;
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border: 1px solid rgb(3 40 106 / 0.14);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(165deg, var(--color-primary-light) 0%, var(--color-surface) 55%);
    box-shadow: var(--shadow-md);
}

.updates-included__eyebrow {
    margin: 0 0 var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.updates-included__title {
    margin: 0 0 var(--space-4);
    font-size: clamp(1.35rem, 2.6vw, 1.75rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
    text-wrap: balance;
}

.updates-included__desc {
    margin: 0 auto var(--space-6);
    max-width: 38rem;
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--color-text-muted);
}

.updates-included__plans {
    list-style: none;
    margin: 0 0 var(--space-8);
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.55rem;
}

.updates-included__plan {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--color-navy);
    background: var(--color-surface);
    border: 1px solid rgb(3 40 106 / 0.16);
}

.updates-included__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
}

/* Phase 11 — customer proof / case-study slot */
.customer-proof {
    padding-block: clamp(2.25rem, 4.5vw, 3.5rem);
    background: var(--color-surface);
    border-top: 1px solid var(--color-border);
}

.customer-proof__eyebrow {
    margin: 0 0 var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.customer-proof__fallback {
    max-width: 40rem;
    margin-inline: auto;
    text-align: center;
}

.customer-proof__fallback-title {
    margin: 0 0 var(--space-4);
    font-size: clamp(1.4rem, 2.5vw, 1.85rem);
    font-weight: 600;
    letter-spacing: -0.02em;
    color: var(--color-text);
    line-height: 1.25;
}

.customer-proof__fallback-desc {
    margin: 0 0 var(--space-6);
    font-size: 0.9875rem;
    line-height: 1.65;
    color: var(--color-text-muted);
}

.customer-proof__fallback-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.customer-proof__inner {
    display: grid;
    gap: 1.5rem;
    align-items: center;
}

.customer-proof__quote {
    margin: 0 0 1.25rem;
}

.customer-proof__quote p {
    margin: 0;
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    font-weight: 500;
    line-height: 1.45;
    letter-spacing: -0.015em;
    color: var(--color-text);
    text-wrap: pretty;
}

.customer-proof__quote p::before {
    content: '"';
}

.customer-proof__quote p::after {
    content: '"';
}

.customer-proof__attribution {
    margin: 0 0 1rem;
}

.customer-proof__name {
    margin: 0 0 0.2rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.customer-proof__meta {
    margin: 0;
    font-size: 0.8125rem;
    color: var(--color-text-muted);
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.45rem;
    align-items: center;
}

.customer-proof__meta-sep {
    opacity: 0.55;
}

.customer-proof__case-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.customer-proof__case-link:hover {
    text-decoration: underline;
}

.customer-proof__case-link:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
    border-radius: 2px;
}

.customer-proof__logo-wrap {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.customer-proof__logo {
    max-width: 10rem;
    max-height: 3.5rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .customer-proof--story .customer-proof__inner {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 2.5rem;
        align-items: center;
    }

    .customer-proof__logo-wrap {
        justify-content: flex-end;
    }
}

/* Homepage blog — magazine layout */
.home-blog {
    padding-block: clamp(2.75rem, 6vw, 5rem);
    background:
        radial-gradient(ellipse 55% 45% at 50% 0%, rgb(3 40 106 / 0.05) 0%, transparent 60%),
        linear-gradient(180deg, var(--color-bg) 0%, var(--color-surface) 100%);
    border-top: 1px solid var(--color-border);
}

.home-blog__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
    margin-bottom: clamp(1.5rem, 3.5vw, 2.5rem);
}

.home-blog__heading {
    margin-bottom: 0;
    max-width: 38rem;
}

.home-blog__heading .section-heading__title {
    font-size: clamp(1.45rem, 2.5vw, 1.9rem);
}

.home-blog__heading .section-heading__description {
    font-size: 0.9875rem;
    max-width: 36rem;
}

.home-blog__archive {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    align-self: flex-start;
    font-size: var(--text-sm);
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast), gap var(--transition-fast);
}

.home-blog__archive:hover {
    color: var(--color-primary-hover);
    gap: 0.55rem;
}

.home-blog__featured {
    display: grid;
    gap: 1.25rem;
    padding: 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-sm);
}

.home-blog__featured-media {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--color-navy);
    aspect-ratio: 16 / 10;
}

.home-blog__cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-blog__featured-badge {
    position: absolute;
    top: 0.85rem;
    left: 0.85rem;
    display: inline-flex;
    align-items: center;
    padding: 0.28rem 0.65rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-gold);
    background: rgb(1 11 30 / 0.72);
    border: 1px solid rgb(194 160 55 / 0.35);
    backdrop-filter: blur(6px);
}

.home-blog__featured-body {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    padding: 0.35rem 0.35rem 0.5rem;
}

.home-blog__kicker {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    margin: 0;
}

.home-blog__kicker-label {
    display: inline-flex;
    align-items: center;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary);
    background: var(--color-primary-light);
    border: 1px solid rgb(3 40 106 / 0.12);
}

.home-blog__category {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--color-primary);
}

.home-blog__featured-title {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    font-weight: 650;
    letter-spacing: -0.025em;
    line-height: 1.22;
}

.home-blog__featured-title a,
.home-blog__card-title a {
    color: inherit;
    text-decoration: none;
}

.home-blog__featured-title a:hover,
.home-blog__card-title a:hover {
    color: var(--color-primary);
}

.home-blog__featured-excerpt {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.65;
    color: var(--color-text-muted);
    max-width: 38rem;
}

.home-blog__author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.home-blog__avatar {
    flex-shrink: 0;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 12%;
    border: 1px solid var(--color-border);
    background: var(--color-primary-light);
}

.home-blog__author--compact .home-blog__avatar {
    width: 2rem;
    height: 2rem;
}

.home-blog__avatar--fallback {
    display: inline-grid;
    place-items: center;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--color-primary);
}

.home-blog__author-copy {
    min-width: 0;
}

.home-blog__author-name {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--color-text);
}

.home-blog__author-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    margin: 0.15rem 0 0;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.home-blog__featured-cta {
    align-self: flex-start;
    margin-top: 0.35rem;
}

.home-blog__grid {
    list-style: none;
    margin: clamp(1.25rem, 3vw, 2rem) 0 0;
    padding: 0;
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
}

.home-blog__card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition:
        border-color var(--transition-fast),
        box-shadow var(--transition-fast),
        transform var(--progress-motion);
}

.home-blog__card-media {
    display: block;
    aspect-ratio: 16 / 10;
    background: var(--color-navy);
    overflow: hidden;
}

.home-blog__card-body {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    flex: 1;
    padding: 1.1rem 1.15rem 1.2rem;
}

.home-blog__card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
    font-size: 0.75rem;
    color: var(--color-text-muted);
}

.home-blog__card-title {
    margin: 0;
    font-size: 1.0625rem;
    font-weight: 650;
    letter-spacing: -0.015em;
    line-height: 1.3;
}

.home-blog__card-excerpt {
    margin: 0;
    font-size: var(--text-sm);
    line-height: 1.55;
    color: var(--color-text-muted);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-blog__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 0.35rem;
}

.home-blog__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    flex-shrink: 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
}

.home-blog__card-link:hover {
    color: var(--color-primary-hover);
}

.home-blog__archive:focus-visible,
.home-blog__featured-title a:focus-visible,
.home-blog__card-title a:focus-visible,
.home-blog__card-link:focus-visible,
.home-blog__featured-media:focus-visible,
.home-blog__card-media:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 3px;
}

@media (min-width: 768px) {
    .home-blog__header {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: var(--space-8);
    }

    .home-blog__archive {
        align-self: flex-end;
        margin-bottom: 0.2rem;
    }

    .home-blog__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 1.15rem;
    }
}

@media (min-width: 960px) {
    .home-blog__featured {
        grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
        gap: 1.75rem;
        padding: 1.15rem;
        align-items: stretch;
    }

    .home-blog__featured-media {
        aspect-ratio: auto;
        min-height: 100%;
    }

    .home-blog__featured-body {
        justify-content: center;
        padding: 0.75rem 0.85rem 0.85rem 0.25rem;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .home-blog__card-inner:hover {
        border-color: rgb(3 40 106 / 0.22);
        box-shadow: var(--shadow-md);
        transform: translateY(-3px);
    }

    .home-blog__card-media .home-blog__cover,
    .home-blog__featured-media .home-blog__cover {
        transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .home-blog__card-inner:hover .home-blog__cover,
    .home-blog__featured:hover .home-blog__cover {
        transform: scale(1.03);
    }

    .home-blog .reveal.is-visible .home-blog__card {
        animation: home-blog-rise 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: calc(0.08s + (var(--hb-i, 0) * 0.07s));
    }
}

@keyframes home-blog-rise {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }

    to {
        opacity: 1;
        transform: none;
    }
}
.home-final-cta {
    position: relative;
    padding-block: clamp(3rem, 7vw, 5.5rem);
    background:
        radial-gradient(ellipse 70% 60% at 18% 0%, rgb(3 40 106 / 0.28) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 88% 100%, rgb(194 160 55 / 0.12) 0%, transparent 50%),
        var(--gradient-hero);
    text-align: center;
    color: var(--color-text-inverse);
    overflow: hidden;
}

.home-final-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 44rem;
    margin-inline: auto;
}

.home-final-cta__eyebrow {
    margin: 0 0 var(--space-3);
    font-size: var(--text-xs);
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-gold);
}

.home-final-cta__title {
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    color: #fff;
    max-width: 18ch;
    margin-inline: auto;
    margin-bottom: var(--space-5);
    letter-spacing: -0.025em;
    line-height: 1.15;
    text-wrap: balance;
}

.home-final-cta__description {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: rgb(242 244 247 / 0.8);
    max-width: 38rem;
    margin-inline: auto;
    margin-bottom: var(--space-8);
    line-height: 1.65;
}

.home-final-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-3);
    justify-content: center;
}

.home-final-cta__primary {
    box-shadow: 0 10px 28px rgb(3 40 106 / 0.35);
}

.home-final-cta__primary:focus-visible,
.home-final-cta__secondary:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

@media (max-width: 479px) {
    .home-final-cta__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .home-final-cta__actions .btn {
        width: 100%;
        justify-content: center;
    }
}

.home-lifecycle-pills {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
    justify-content: center;
    margin-top: var(--space-6);
}

.home-lifecycle-pills__item {
    padding: var(--space-2) var(--space-4);
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-primary);
    background: var(--color-primary-light);
    border-radius: 999px;
}
