/* Homepage hero: brand-led AI atmosphere and a richer synthetic product preview. */

.ctf-enterprise-hero {
    --home-hero-indigo: #6657f5;
    --home-hero-indigo-strong: #4f46e5;
    --home-hero-cyan: #23b9d6;
    --home-hero-pink: #df6ea8;
    --home-hero-ink: #252231;
    --home-hero-panel: rgba(255, 255, 255, .84);
    --home-hero-panel-solid: #fffefa;
    --home-hero-panel-soft: rgba(248, 247, 252, .88);
    --home-hero-line: rgba(88, 74, 170, .16);
    --home-hero-line-strong: rgba(88, 74, 170, .27);
    --home-hero-shadow: 0 34px 90px rgba(52, 42, 106, .16), 0 12px 34px rgba(31, 41, 55, .08);
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-bottom: 1px solid color-mix(in srgb, var(--home-hero-indigo) 9%, var(--mkt-border));
    background:
        radial-gradient(58% 92% at 84% 14%, rgba(102, 87, 245, .22), transparent 70%),
        radial-gradient(44% 72% at 75% 82%, rgba(35, 185, 214, .18), transparent 72%),
        radial-gradient(36% 60% at 103% 52%, rgba(223, 110, 168, .15), transparent 72%),
        radial-gradient(26% 40% at 9% 14%, rgba(255, 255, 255, .88), transparent 75%),
        linear-gradient(135deg, #fffefa 0%, #fbf8ff 36%, #f3f5ff 68%, #f3fbfd 100%) !important;
}

html.dark .ctf-enterprise-hero,
html[data-theme="dark"] .ctf-enterprise-hero {
    --home-hero-ink: #f5f2fb;
    --home-hero-panel: rgba(29, 27, 39, .84);
    --home-hero-panel-solid: #211f2b;
    --home-hero-panel-soft: rgba(38, 35, 50, .86);
    --home-hero-line: rgba(184, 173, 255, .16);
    --home-hero-line-strong: rgba(184, 173, 255, .27);
    --home-hero-shadow: 0 36px 96px rgba(0, 0, 0, .4), 0 14px 36px rgba(0, 0, 0, .25);
    background:
        radial-gradient(58% 92% at 84% 14%, rgba(115, 96, 255, .23), transparent 70%),
        radial-gradient(44% 72% at 75% 82%, rgba(35, 185, 214, .13), transparent 72%),
        radial-gradient(36% 60% at 103% 52%, rgba(223, 110, 168, .11), transparent 72%),
        linear-gradient(135deg, #17151d 0%, #1b1826 42%, #171d2a 73%, #142329 100%) !important;
}

.ctf-enterprise-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    pointer-events: none;
    opacity: .72;
    background-image:
        radial-gradient(circle, rgba(102, 87, 245, .22) 1.2px, transparent 1.4px),
        linear-gradient(rgba(102, 87, 245, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(102, 87, 245, .055) 1px, transparent 1px);
    background-position: 0 0, 0 0, 0 0;
    background-size: 24px 24px, 72px 72px, 72px 72px;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .88) 58%, rgba(0, 0, 0, .72) 100%);
    mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .1) 30%, rgba(0, 0, 0, .88) 58%, rgba(0, 0, 0, .72) 100%);
}

.ctf-enterprise-hero::after {
    content: "";
    position: absolute;
    width: min(880px, 68vw);
    aspect-ratio: 1;
    right: min(-250px, -12vw);
    top: 50%;
    z-index: -2;
    pointer-events: none;
    border: 1px solid rgba(102, 87, 245, .12);
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(255, 255, 255, .34) 34.2% 34.5%, transparent 34.8% 49%, rgba(102, 87, 245, .09) 49.2% 49.5%, transparent 49.8% 64%, rgba(35, 185, 214, .09) 64.2% 64.5%, transparent 64.8%),
        conic-gradient(from 30deg, transparent 0 15%, rgba(102, 87, 245, .08) 16% 20%, transparent 21% 42%, rgba(35, 185, 214, .08) 43% 48%, transparent 49% 73%, rgba(223, 110, 168, .07) 74% 78%, transparent 79% 100%);
    filter: blur(.1px);
    transform: translateY(-50%);
    animation: ctf-home-hero-orbit 24s linear infinite;
}

html.dark .ctf-enterprise-hero::before,
html[data-theme="dark"] .ctf-enterprise-hero::before {
    opacity: .48;
}

html.dark .ctf-enterprise-hero::after,
html[data-theme="dark"] .ctf-enterprise-hero::after {
    border-color: rgba(174, 162, 255, .12);
    background:
        radial-gradient(circle at 50% 50%, transparent 0 34%, rgba(174, 162, 255, .08) 34.2% 34.5%, transparent 34.8% 49%, rgba(102, 87, 245, .12) 49.2% 49.5%, transparent 49.8% 64%, rgba(35, 185, 214, .08) 64.2% 64.5%, transparent 64.8%),
        conic-gradient(from 30deg, transparent 0 15%, rgba(130, 112, 255, .1) 16% 20%, transparent 21% 42%, rgba(35, 185, 214, .08) 43% 48%, transparent 49% 73%, rgba(223, 110, 168, .07) 74% 78%, transparent 79% 100%);
}

.ctf-enterprise-hero-grid {
    position: relative;
    z-index: 1;
    min-height: min(790px, calc(100svh - 70px));
    grid-template-columns: minmax(0, .86fr) minmax(520px, 1.14fr);
    align-items: center;
    gap: clamp(46px, 6vw, 96px);
    padding-block: clamp(72px, 9vh, 104px);
}

.ctf-enterprise-hero-grid::before {
    content: "";
    position: absolute;
    width: min(780px, 62vw);
    height: min(610px, 72vh);
    right: -7%;
    top: 50%;
    z-index: -2;
    pointer-events: none;
    opacity: .7;
    background:
        radial-gradient(circle at 15% 27%, rgba(102, 87, 245, .88) 0 3px, rgba(102, 87, 245, .18) 4px 11px, transparent 12px),
        radial-gradient(circle at 34% 12%, rgba(35, 185, 214, .8) 0 2px, rgba(35, 185, 214, .16) 3px 9px, transparent 10px),
        radial-gradient(circle at 62% 18%, rgba(223, 110, 168, .78) 0 2px, rgba(223, 110, 168, .14) 3px 9px, transparent 10px),
        radial-gradient(circle at 82% 33%, rgba(102, 87, 245, .78) 0 2px, rgba(102, 87, 245, .14) 3px 9px, transparent 10px),
        radial-gradient(circle at 25% 68%, rgba(35, 185, 214, .78) 0 2px, rgba(35, 185, 214, .14) 3px 9px, transparent 10px),
        radial-gradient(circle at 58% 78%, rgba(102, 87, 245, .82) 0 3px, rgba(102, 87, 245, .15) 4px 10px, transparent 11px),
        radial-gradient(circle at 88% 72%, rgba(223, 110, 168, .74) 0 2px, rgba(223, 110, 168, .13) 3px 9px, transparent 10px),
        linear-gradient(25deg, transparent 0 24%, rgba(102, 87, 245, .12) 24.2% 24.45%, transparent 24.7% 100%),
        linear-gradient(152deg, transparent 0 38%, rgba(35, 185, 214, .11) 38.2% 38.45%, transparent 38.7% 100%),
        linear-gradient(63deg, transparent 0 61%, rgba(223, 110, 168, .1) 61.2% 61.45%, transparent 61.7% 100%);
    transform: translateY(-50%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 0 48%, transparent 78%);
    mask-image: radial-gradient(ellipse at center, #000 0 48%, transparent 78%);
    animation: ctf-home-hero-field 11s ease-in-out infinite alternate;
}

.ctf-enterprise-hero-grid::after {
    content: "";
    position: absolute;
    width: 390px;
    height: 390px;
    right: 11%;
    top: 50%;
    z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    background: rgba(102, 87, 245, .14);
    filter: blur(86px);
    opacity: .72;
    transform: translateY(-50%);
}

.ctf-enterprise-hero-copy {
    position: relative;
    max-width: 680px;
}

.ctf-enterprise-hero-copy::before {
    content: "";
    position: absolute;
    width: 112px;
    height: 5px;
    left: 0;
    top: -28px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--home-hero-indigo), var(--home-hero-cyan), transparent);
    opacity: .72;
}

.ctf-enterprise-hero-copy h1 {
    text-wrap: balance;
}

.ctf-enterprise-hero-copy > p {
    color: color-mix(in srgb, var(--mkt-muted) 92%, var(--home-hero-indigo));
}

.ctf-enterprise-note {
    position: relative;
    z-index: 1;
}

/* Rich platform preview */
.ctf-enterprise-product-shot.is-platform {
    width: min(100%, 700px);
    justify-self: end;
    overflow: visible;
    border-color: rgba(102, 87, 245, .22) !important;
    border-radius: 24px !important;
    background: var(--home-hero-panel) !important;
    box-shadow: var(--home-hero-shadow) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.12);
    backdrop-filter: blur(24px) saturate(1.12);
    animation: ctf-home-hero-panel 9s ease-in-out infinite;
}

.ctf-enterprise-product-shot.is-platform::before {
    content: "";
    position: absolute;
    inset: -46px -58px -54px -42px;
    z-index: -2;
    pointer-events: none;
    border-radius: 42px;
    background:
        radial-gradient(circle at 28% 30%, rgba(102, 87, 245, .22), transparent 42%),
        radial-gradient(circle at 78% 70%, rgba(35, 185, 214, .18), transparent 44%),
        radial-gradient(circle at 88% 18%, rgba(223, 110, 168, .13), transparent 38%);
    filter: blur(24px);
    opacity: .92;
}

.ctf-enterprise-product-shot.is-platform::after {
    inset: auto 8% -31px !important;
    height: 58px !important;
    background: rgba(74, 61, 158, .2) !important;
    filter: blur(28px) !important;
    opacity: .62 !important;
}

.ctf-enterprise-product-shot.is-platform .ctf-proof-preview-topline {
    min-height: 50px;
    border-radius: 23px 23px 0 0;
    padding-inline: 20px;
    background: color-mix(in srgb, var(--home-hero-panel-soft) 84%, transparent);
    color: color-mix(in srgb, var(--mkt-muted) 88%, var(--home-hero-indigo));
}

.ctf-enterprise-product-shot.is-platform .ctf-proof-preview-topline > span i {
    color: var(--mkt-success);
}

.ctf-enterprise-product-shot.is-platform .ctf-proof-preview-topline > i {
    color: color-mix(in srgb, var(--mkt-muted) 70%, var(--home-hero-indigo));
}

.ctf-home-platform-preview {
    display: grid;
    gap: 16px;
    border-radius: 0 0 23px 23px;
    padding: clamp(18px, 2.2vw, 26px) !important;
    background:
        linear-gradient(145deg, rgba(255, 255, 255, .38), transparent 46%),
        color-mix(in srgb, var(--home-hero-panel-solid) 94%, transparent);
}

html.dark .ctf-home-platform-preview,
html[data-theme="dark"] .ctf-home-platform-preview {
    background:
        linear-gradient(145deg, rgba(142, 126, 255, .06), transparent 46%),
        color-mix(in srgb, var(--home-hero-panel-solid) 94%, transparent);
}

.ctf-home-platform-context {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.ctf-home-platform-context > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--mkt-muted);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .045em;
    text-transform: uppercase;
}

.ctf-home-platform-context > span:first-child i {
    color: var(--home-hero-indigo-strong);
    font-size: 15px;
}

.ctf-home-platform-live {
    flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--mkt-success) 23%, transparent);
    border-radius: 999px;
    padding: 6px 9px;
    background: color-mix(in srgb, var(--mkt-success) 7%, var(--home-hero-panel-solid));
    color: color-mix(in srgb, var(--mkt-success) 88%, var(--mkt-text)) !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.ctf-home-platform-live::before {
    content: "";
    width: 6px;
    height: 6px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: var(--mkt-success);
    box-shadow: 0 0 0 0 color-mix(in srgb, var(--mkt-success) 32%, transparent);
    animation: ctf-home-live-pulse 2.2s ease-out infinite;
}

.ctf-home-platform-summary {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    border: 1px solid var(--home-hero-line);
    border-radius: 15px;
    padding: 13px 14px;
    background: color-mix(in srgb, var(--home-hero-panel-soft) 82%, transparent);
}

.ctf-home-platform-profile {
    min-width: 0;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
}

.ctf-home-platform-profile-icon,
.ctf-home-platform-node-icon,
.ctf-home-platform-output-icon,
.ctf-home-platform-decision-icon {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid color-mix(in srgb, var(--home-hero-indigo) 18%, var(--mkt-border));
    background: color-mix(in srgb, var(--home-hero-indigo) 8%, var(--home-hero-panel-solid));
    color: var(--home-hero-indigo-strong);
}

.ctf-home-platform-profile-icon {
    width: 38px;
    height: 38px;
    border-radius: 11px;
    font-size: 17px;
}

.ctf-home-platform-profile > div {
    min-width: 0;
}

.ctf-home-platform-profile small,
.ctf-home-platform-profile strong {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ctf-home-platform-profile small {
    color: var(--mkt-muted);
    font-size: 9px;
}

.ctf-home-platform-profile strong {
    margin-top: 3px;
    color: var(--mkt-text);
    font-size: 11px;
    font-weight: 720;
}

.ctf-home-platform-profile-score {
    border-radius: 999px;
    padding: 5px 7px;
    background: color-mix(in srgb, var(--home-hero-cyan) 10%, var(--home-hero-panel-solid));
    color: color-mix(in srgb, var(--home-hero-cyan) 70%, var(--mkt-text));
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .04em;
}

.ctf-home-platform-signal-pills {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 6px;
}

.ctf-home-platform-signal-pills span {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid color-mix(in srgb, var(--mkt-border) 82%, transparent);
    border-radius: 999px;
    padding: 5px 7px;
    background: color-mix(in srgb, var(--home-hero-panel-solid) 84%, transparent);
    color: var(--mkt-muted);
    font-size: 8px;
    font-weight: 650;
    white-space: nowrap;
}

.ctf-home-platform-signal-pills i {
    color: var(--home-hero-indigo-strong);
    font-size: 10px;
}

.ctf-home-platform-flow {
    display: grid;
    grid-template-columns: minmax(0, .82fr) 28px minmax(0, .98fr) 28px minmax(0, 1.18fr);
    align-items: stretch;
    gap: 0;
}

.ctf-home-platform-node,
.ctf-home-platform-decision,
.ctf-home-platform-output {
    min-width: 0;
    border: 1px solid var(--home-hero-line);
    border-radius: 14px;
    background: color-mix(in srgb, var(--home-hero-panel-solid) 92%, transparent);
}

.ctf-home-platform-node {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
    padding: 14px;
}

.ctf-home-platform-node-main {
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.ctf-home-platform-node-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 16px;
}

.ctf-home-platform-node small,
.ctf-home-platform-node strong {
    display: block;
}

.ctf-home-platform-node small,
.ctf-home-platform-output small,
.ctf-home-platform-decision small {
    color: var(--mkt-muted);
    font-size: 8px;
    line-height: 1.4;
}

.ctf-home-platform-node strong {
    margin-top: 3px;
    overflow: hidden;
    color: var(--mkt-text);
    font-size: 11px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ctf-home-platform-node-status {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-radius: 999px;
    padding: 5px 7px;
    background: color-mix(in srgb, var(--home-hero-cyan) 9%, var(--home-hero-panel-solid));
    color: color-mix(in srgb, var(--home-hero-cyan) 72%, var(--mkt-text));
    font-size: 8px;
    font-style: normal;
    font-weight: 750;
}

.ctf-home-platform-node-status::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--home-hero-cyan);
}

.ctf-home-platform-connector {
    position: relative;
    min-width: 28px;
}

.ctf-home-platform-connector::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg, var(--home-hero-line), var(--home-hero-line-strong));
}

.ctf-home-platform-connector::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    right: 2px;
    top: 50%;
    border-top: 1px solid var(--home-hero-line-strong);
    border-right: 1px solid var(--home-hero-line-strong);
    transform: translateY(-50%) rotate(45deg);
}

.ctf-home-platform-connector > span {
    position: absolute;
    width: 7px;
    height: 7px;
    left: 1px;
    top: 50%;
    border-radius: 50%;
    background: var(--home-hero-indigo);
    box-shadow: 0 0 0 5px rgba(102, 87, 245, .08);
    transform: translateY(-50%);
    animation: ctf-home-signal-travel 2.6s ease-in-out infinite;
}

.ctf-home-platform-decision {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: space-between;
    gap: 12px;
    padding: 14px;
    border-color: color-mix(in srgb, var(--home-hero-indigo) 28%, var(--mkt-border));
    background:
        radial-gradient(circle at 100% 0, rgba(102, 87, 245, .12), transparent 46%),
        color-mix(in srgb, var(--home-hero-indigo) 5%, var(--home-hero-panel-solid));
}

.ctf-home-platform-decision::after {
    content: "";
    position: absolute;
    width: 92px;
    height: 92px;
    right: -38px;
    bottom: -42px;
    border: 1px solid rgba(102, 87, 245, .14);
    border-radius: 50%;
    box-shadow: 0 0 0 18px rgba(102, 87, 245, .04), 0 0 0 36px rgba(35, 185, 214, .025);
}

.ctf-home-platform-decision-head {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 36px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
}

.ctf-home-platform-decision-icon {
    width: 36px;
    height: 36px;
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(102, 87, 245, .15), rgba(35, 185, 214, .08));
    font-size: 17px;
}

.ctf-home-platform-decision strong {
    display: block;
    margin-top: 3px;
    color: var(--mkt-text);
    font-size: 10px;
    font-weight: 760;
    line-height: 1.35;
}

.ctf-home-platform-decision-bars {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}

.ctf-home-platform-decision-bars span {
    position: relative;
    height: 4px;
    overflow: hidden;
    border-radius: 999px;
    background: color-mix(in srgb, var(--mkt-border) 64%, transparent);
}

.ctf-home-platform-decision-bars span::after {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--signal-level, 80%);
    border-radius: inherit;
    background: linear-gradient(90deg, var(--home-hero-indigo), var(--home-hero-cyan));
    transform-origin: left;
    animation: ctf-home-signal-level 4.6s var(--signal-delay, 0s) ease-in-out infinite;
}

.ctf-home-platform-decision-copy {
    position: relative;
    z-index: 1;
    line-height: 1.5 !important;
}

.ctf-home-platform-outputs {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.ctf-home-platform-output {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    padding: 11px;
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.ctf-home-platform-output:first-child {
    border-color: color-mix(in srgb, var(--home-hero-indigo) 20%, var(--mkt-border));
}

.ctf-home-platform-output:last-child {
    border-color: color-mix(in srgb, var(--home-hero-cyan) 22%, var(--mkt-border));
}

.ctf-home-platform-output-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 15px;
}

.ctf-home-platform-output:last-child .ctf-home-platform-output-icon {
    border-color: color-mix(in srgb, var(--home-hero-cyan) 22%, var(--mkt-border));
    background: color-mix(in srgb, var(--home-hero-cyan) 8%, var(--home-hero-panel-solid));
    color: color-mix(in srgb, var(--home-hero-cyan) 72%, var(--mkt-text));
}

.ctf-home-platform-output strong {
    display: block;
    margin-top: 3px;
    overflow: hidden;
    color: var(--mkt-text);
    font-size: 10px;
    font-weight: 740;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ctf-home-platform-output-tag {
    border-radius: 999px;
    padding: 5px 6px;
    background: color-mix(in srgb, var(--home-hero-indigo) 7%, var(--home-hero-panel-solid));
    color: color-mix(in srgb, var(--home-hero-indigo) 74%, var(--mkt-text));
    font-size: 7px;
    font-weight: 800;
    white-space: nowrap;
}

.ctf-home-platform-footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 14px;
    padding-top: 2px;
}

.ctf-home-platform-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
}

.ctf-home-platform-metric {
    min-width: 0;
    display: grid;
    gap: 2px;
    border-left: 2px solid color-mix(in srgb, var(--home-hero-indigo) 24%, var(--mkt-border));
    padding-left: 8px;
}

.ctf-home-platform-metric:nth-child(2) {
    border-left-color: color-mix(in srgb, var(--home-hero-cyan) 30%, var(--mkt-border));
}

.ctf-home-platform-metric:nth-child(3) {
    border-left-color: color-mix(in srgb, var(--home-hero-pink) 30%, var(--mkt-border));
}

.ctf-home-platform-metric strong {
    color: var(--mkt-text);
    font-size: 11px;
    font-weight: 780;
}

.ctf-home-platform-metric span {
    overflow: hidden;
    color: var(--mkt-muted);
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ctf-home-platform-channel {
    display: grid;
    justify-items: end;
    gap: 5px;
}

.ctf-home-platform-channel > span {
    color: var(--mkt-muted);
    font-size: 8px;
}

.ctf-home-platform-channel-icons {
    display: flex;
    align-items: center;
}

.ctf-home-platform-channel-icons i {
    width: 26px;
    height: 26px;
    display: grid;
    place-items: center;
    margin-left: -5px;
    border: 2px solid var(--home-hero-panel-solid);
    border-radius: 50%;
    background: color-mix(in srgb, var(--home-hero-indigo) 9%, var(--home-hero-panel-solid));
    color: var(--home-hero-indigo-strong);
    font-size: 11px;
}

.ctf-home-platform-channel-icons i:nth-child(2) {
    background: color-mix(in srgb, var(--home-hero-cyan) 10%, var(--home-hero-panel-solid));
    color: color-mix(in srgb, var(--home-hero-cyan) 72%, var(--mkt-text));
}

.ctf-home-platform-channel-icons i:nth-child(3) {
    background: color-mix(in srgb, var(--home-hero-pink) 9%, var(--home-hero-panel-solid));
    color: color-mix(in srgb, var(--home-hero-pink) 70%, var(--mkt-text));
}

.ctf-home-platform-demo-note {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
    margin-top: -2px;
    color: var(--mkt-muted);
    font-size: 7px;
}

.ctf-home-platform-demo-note i {
    color: var(--mkt-success);
    font-size: 9px;
}

.ctf-proof-preview.is-platform.is-compact .ctf-home-platform-summary,
.ctf-proof-preview.is-platform.is-compact .ctf-home-platform-footer {
    grid-template-columns: 1fr;
}

.ctf-proof-preview.is-platform.is-compact .ctf-home-platform-signal-pills,
.ctf-proof-preview.is-platform.is-compact .ctf-home-platform-channel {
    justify-content: flex-start;
    justify-items: start;
}

.ctf-proof-preview.is-platform.is-compact .ctf-home-platform-flow {
    grid-template-columns: 1fr;
    gap: 8px;
}

.ctf-proof-preview.is-platform.is-compact .ctf-home-platform-connector {
    display: none;
}

@keyframes ctf-home-hero-orbit {
    to { transform: translateY(-50%) rotate(360deg); }
}

@keyframes ctf-home-hero-field {
    0% { opacity: .54; transform: translateY(-50%) translate3d(-7px, -5px, 0) scale(.98); }
    100% { opacity: .78; transform: translateY(-50%) translate3d(8px, 6px, 0) scale(1.015); }
}

@keyframes ctf-home-hero-panel {
    0%, 100% { transform: translate3d(0, 0, 0); }
    50% { transform: translate3d(0, -7px, 0); }
}

@keyframes ctf-home-live-pulse {
    0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--mkt-success) 30%, transparent); }
    70% { box-shadow: 0 0 0 7px transparent; }
    100% { box-shadow: 0 0 0 0 transparent; }
}

@keyframes ctf-home-signal-travel {
    0%, 100% { left: 1px; opacity: .42; }
    50% { left: calc(100% - 9px); opacity: 1; }
}

@keyframes ctf-home-signal-level {
    0%, 100% { transform: scaleX(.72); opacity: .62; }
    50% { transform: scaleX(1); opacity: 1; }
}

@media (max-width: 1180px) {
    .ctf-enterprise-hero-grid {
        grid-template-columns: minmax(0, .92fr) minmax(470px, 1.08fr);
        gap: clamp(34px, 4vw, 60px);
    }

    .ctf-home-platform-summary {
        grid-template-columns: 1fr;
    }

    .ctf-home-platform-signal-pills {
        justify-content: flex-start;
    }
}

@media (max-width: 1024px) {
    .ctf-enterprise-hero-grid {
        min-height: auto;
        grid-template-columns: 1fr;
        gap: 54px;
        padding-block: 82px 96px;
    }

    .ctf-enterprise-hero-copy {
        max-width: 760px;
    }

    .ctf-enterprise-product-shot.is-platform {
        width: min(100%, 760px);
        justify-self: center;
    }

    .ctf-enterprise-hero-grid::before {
        width: min(900px, 100vw);
        right: -28%;
        top: 67%;
        opacity: .55;
    }

    .ctf-enterprise-hero-grid::after {
        right: 18%;
        top: 70%;
    }
}

@media (max-width: 720px) {
    .ctf-enterprise-hero {
        background:
            radial-gradient(100% 62% at 78% 35%, rgba(102, 87, 245, .18), transparent 72%),
            radial-gradient(76% 54% at 84% 78%, rgba(35, 185, 214, .13), transparent 74%),
            linear-gradient(155deg, #fffefa 0%, #f8f5ff 50%, #f2fafc 100%) !important;
    }

    html.dark .ctf-enterprise-hero,
    html[data-theme="dark"] .ctf-enterprise-hero {
        background:
            radial-gradient(100% 62% at 78% 35%, rgba(102, 87, 245, .18), transparent 72%),
            radial-gradient(76% 54% at 84% 78%, rgba(35, 185, 214, .1), transparent 74%),
            linear-gradient(155deg, #17151d 0%, #1c1927 52%, #152328 100%) !important;
    }

    .ctf-enterprise-hero::before {
        opacity: .48;
        -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .46) 32%, rgba(0, 0, 0, .75) 100%);
        mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, .46) 32%, rgba(0, 0, 0, .75) 100%);
    }

    .ctf-enterprise-hero::after {
        width: 720px;
        right: -430px;
        top: 69%;
    }

    .ctf-enterprise-hero-grid {
        gap: 42px;
        padding-block: 68px 80px;
    }

    .ctf-enterprise-hero-copy::before {
        width: 86px;
        top: -20px;
    }

    .ctf-enterprise-product-shot.is-platform {
        border-radius: 20px !important;
    }

    .ctf-enterprise-product-shot.is-platform .ctf-proof-preview-topline {
        min-height: 46px;
        border-radius: 19px 19px 0 0;
        padding-inline: 15px;
        font-size: 9px;
    }

    .ctf-home-platform-preview {
        gap: 13px;
        border-radius: 0 0 19px 19px;
        padding: 15px !important;
    }

    .ctf-home-platform-context {
        align-items: flex-start;
    }

    .ctf-home-platform-context > span:first-child {
        max-width: 58%;
    }

    .ctf-home-platform-summary {
        padding: 11px;
    }

    .ctf-home-platform-signal-pills {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .ctf-home-platform-signal-pills span {
        justify-content: center;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .ctf-home-platform-flow {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ctf-home-platform-connector {
        min-height: 18px;
    }

    .ctf-home-platform-connector::before {
        width: 1px;
        height: 100%;
        left: 50%;
        right: auto;
        top: 0;
        background: linear-gradient(180deg, var(--home-hero-line), var(--home-hero-line-strong));
    }

    .ctf-home-platform-connector::after {
        width: 6px;
        height: 6px;
        right: auto;
        left: 50%;
        top: auto;
        bottom: 2px;
        transform: translateX(-50%) rotate(135deg);
    }

    .ctf-home-platform-connector > span {
        left: 50%;
        top: 1px;
        transform: translateX(-50%);
        animation: ctf-home-signal-travel-vertical 2.6s ease-in-out infinite;
    }

    .ctf-home-platform-outputs {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: 1fr;
    }

    .ctf-home-platform-output {
        grid-template-columns: 30px minmax(0, 1fr);
        padding: 10px;
    }

    .ctf-home-platform-output-icon {
        width: 30px;
        height: 30px;
    }

    .ctf-home-platform-output-tag {
        display: none;
    }

    .ctf-home-platform-footer {
        grid-template-columns: 1fr;
    }

    .ctf-home-platform-channel {
        grid-template-columns: auto auto;
        align-items: center;
        justify-content: space-between;
        justify-items: start;
    }

    .ctf-home-platform-demo-note {
        justify-content: flex-start;
    }
}

@media (max-width: 440px) {
    .ctf-enterprise-hero-grid {
        padding-block: 58px 70px;
    }

    .ctf-enterprise-product-shot.is-platform::before {
        inset: -22px -18px -28px;
        filter: blur(20px);
    }

    .ctf-home-platform-context > span {
        font-size: 8px;
    }

    .ctf-home-platform-live {
        padding: 5px 7px;
    }

    .ctf-home-platform-profile {
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .ctf-home-platform-profile-icon {
        width: 34px;
        height: 34px;
    }

    .ctf-home-platform-profile-score {
        display: none;
    }

    .ctf-home-platform-signal-pills {
        grid-template-columns: 1fr;
    }

    .ctf-home-platform-signal-pills span:nth-child(n + 3) {
        display: none;
    }

    .ctf-home-platform-outputs {
        grid-template-columns: 1fr;
    }

    .ctf-home-platform-metrics {
        gap: 4px;
    }

    .ctf-home-platform-metric {
        padding-left: 6px;
    }

    .ctf-home-platform-metric strong {
        font-size: 10px;
    }

    .ctf-home-platform-metric span {
        font-size: 7px;
    }
}

@keyframes ctf-home-signal-travel-vertical {
    0%, 100% { top: 1px; opacity: .42; }
    50% { top: calc(100% - 8px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .ctf-enterprise-hero::after,
    .ctf-enterprise-hero-grid::before,
    .ctf-enterprise-product-shot.is-platform,
    .ctf-home-platform-live::before,
    .ctf-home-platform-connector > span,
    .ctf-home-platform-decision-bars span::after {
        animation: none !important;
    }
}
