body.home {
    color: #000;
}

/* ---------- Hero: the live "Trust decisions" dashboard ----------
   views/partials/home-dashboard.php, from the redesign (#829). The stage is the
   redesign's blue with its light coming in from the right, so the glass frame
   has colour to blur. Everything here is CSS; js/home.js only streams rows into
   the feed. */

/* The redesign's light (#829's img/v3/hero-waves), at 96px: it's a blur, so it
   upscales without a visible difference, costs no request, and is too
   low-detail to count as the page's largest paint, which stays the hero text. */
.fp-hero-visual,
.fp-agentic__card {
    --fp-light: url(data:image/webp;base64,UklGRuYBAABXRUJQVlA4INoBAADwDQCdASpgAHkAPpE+mUklraskKVbcObASCU3J8CVB192Q+2mARgHJrU9EkrAlvOBA/4HSeGhQloybAnlb7YcOfJ01jffBaHJeOD8nGJrXCucvNdqeUp9OHoZm9Ip/R5eIGYdP34Tdr6mZPeqRoCy1Eu7Jqdq34pQA/bKsvidC5N/+Sn+3f7yrFMrW5BO+5IahXYlXTjfshgNwmF8rPo0iXXexzRh6yltuPiwgWdKBoT1hRqyeMcdqyShGC7/80fssg3baHIsRGxrNcX0f3vSsKyrK2w5rhp64aRRlIj6bgrgV8mcKXgAB8zWzc2rkb2Jq+ypPw+cmlYDvhjHz/Es9KjLuVyXoqvgiNMVbZNMMwe9Ax5HXVlDnANO7haJ2mQrwV7eO2LCD4FZcmuUf+E8jz71cZWsHcJA9C6oTKE6HvDUXReXNlI29rF9Nd0v1sKSJJ6P+hNOQzyf8A3qDGKq/7r5WTpJhgq0jP+JE4Buh0gyZ99jguR4WuuWRuKt/P4FCGACj/pD8atDekmHuga+bjR+ZN5mO9sNVbFRU6JmdwQ75UmkYX2HpXg452lRAcgnFmyOkH/W0oE0+JkKI0Cqe7QI+wmI7SdmbNxQJuHKZx1mztUAwD1JxcAA=);
}

.fp-hero-visual {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 32px 16px 72px;
    overflow: hidden;
    border-radius: 24px;
    background: #005de8 radial-gradient(96.87% 96.87% at 7.81% 3.13%, #005de8 0%, #1b6fef 100%);
}

.fp-hero-visual::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 78%;
    height: 100%;
    background: var(--fp-light) center / cover no-repeat;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(91.71deg, transparent 7.26%, #000 66.11%);
    mask-image: linear-gradient(91.71deg, transparent 7.26%, #000 66.11%);
}

@media (max-width: 399.98px) {
    .fp-hero-visual {
        padding: 24px 10px 72px;
    }
}

@media (min-width: 576px) {
    .fp-hero-visual {
        padding: 48px 40px 84px;
    }
}

@media (min-width: 992px) {
    .fp-hero-visual {
        min-height: 578px;
        margin-right: 0;
        padding: 56px 48px 88px;
    }
}

.fp-dash {
    position: relative;
    width: min(404px, 100%);
    container-type: inline-size;
    color: #090d1f;
    font-size: 13px;
    line-height: 18px;
    text-align: left;
    animation: fp-rise .7s cubic-bezier(.16, 1, .3, 1) .15s both;
}

.fp-dash__frame {
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, .42);
    border-radius: 22px;
    background: rgba(255, 255, 255, .12);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 40px 80px -32px rgba(0, 22, 100, .5);
}

.fp-dash__panel {
    padding: 16px 16px 12px;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(9, 13, 31, .06);
}

.fp-dash__head,
.fp-dash__foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fp-dash__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.fp-dash__logo {
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 8px;
    background: #005de8 radial-gradient(96.87% 96.87% at 7.81% 3.13%, #005de8 0%, #1b6fef 100%);
    color: #fff;
}

.fp-dash__live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 8px 2px 6px;
    border-radius: 999px;
    background: #eaf8f1;
    color: #005c3f;
    font-weight: 700;
    font-size: 10px;
    line-height: 18px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.fp-dash__live i {
    position: relative;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #12b76a;
}

.fp-dash__live i::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #12b76a;
    opacity: 0;
}

.fp-dash.is-on:not(.is-offscreen) .fp-dash__live i::after {
    animation: fp-ping 1.8s cubic-bezier(0, 0, .2, 1) infinite;
}

.fp-dash__kpi {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding: 12px 12px 10px 14px;
    border: 1px solid #e4edfb;
    border-radius: 12px;
    background: linear-gradient(180deg, #f5f9ff 0%, #fff 100%);
}

.fp-dash__kpi-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.fp-dash__label {
    color: #526079;
    font-size: 12px;
    line-height: 16px;
}

.fp-dash__value {
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.fp-dash__delta {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    align-self: flex-start;
    padding: 1px 7px 1px 5px;
    border-radius: 999px;
    background: #e7f8ef;
    color: #067647;
    font-weight: 600;
    font-size: 11px;
    line-height: 18px;
}

.fp-dash__chart {
    position: relative;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 190px;
    height: 56px;
}

.fp-dash__spark {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
}

/* The line draws in with a wipe. (A dash can't do it here: on a stretched
   SVG with a non-scaling stroke, a pathLength dash ends before the path.) */
.fp-dash__line {
    animation: fp-draw 1.6s cubic-bezier(.16, 1, .3, 1) .5s backwards;
}

.fp-dash__area {
    animation: fp-fade 1s cubic-bezier(0, 0, .2, 1) 1s both;
}

/* Centred on the line's last point, (168, 12) in the chart's 168 × 56 viewBox,
   which the chart stretches to its box. */
.fp-dash__head-dot {
    position: absolute;
    left: 100%;
    top: calc(12 / 56 * 100%);
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: #005de8;
    box-shadow: 0 0 0 4px rgba(0, 93, 232, .16);
    animation: fp-pop .5s cubic-bezier(.16, 1, .3, 1) 1.7s both;
}

/* Every row keeps its hairline, so the list never changes height while rows
   trade places. The last one is clipped off and the foot's own line takes its
   place, a fixed edge the old rows sink under; new rows rise through a
   feathered top edge. */
.fp-dash__feed {
    position: relative;
    display: flex;
    flex-direction: column;
    margin: 10px 0 -1px;
    padding: 0;
    list-style: none;
    overflow: hidden;
    clip-path: inset(0 0 1px);
    -webkit-mask-image: linear-gradient(transparent, #000 8px);
    mask-image: linear-gradient(transparent, #000 8px);
}

.fp-dash__row {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 10px;
    margin: 0;
    padding: 7px 4px;
    border-bottom: 1px solid #f0f3f8;
    background: #fff;
}

.fp-dash.is-on .fp-dash__row {
    will-change: transform;
}

.fp-dash__avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #eef4ff;
    color: #0049b8;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: .5px;
}

.fp-dash__avatar.is-agent {
    background: linear-gradient(135deg, #b4a6ee 0%, #2a8bff 100%);
    color: #fff;
}

.fp-dash__who {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.fp-dash__who b,
.fp-dash__who small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-dash__who b {
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
}

.fp-dash__who small {
    color: #526079;
    font-size: 11px;
    line-height: 15px;
}

.fp-dash__amt {
    font-weight: 600;
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}

.fp-dash__chip {
    min-width: 72px;
    padding: 3px 8px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
    white-space: nowrap;
}

.fp-dash__chip.is-ok {
    background: #e7f8ef;
    color: #067647;
}

.fp-dash__chip.is-no {
    background: #feecec;
    color: #b42318;
}

.fp-dash__chip.is-warn {
    background: #fff4e5;
    color: #a23f00;
}

.fp-dash__chip.is-info {
    background: #eef4ff;
    color: #0049b8;
}

.fp-dash__foot {
    padding-top: 10px;
    border-top: 1px solid #f0f3f8;
    color: #526079;
    font-size: 12px;
}

.fp-dash__foot b {
    color: #090d1f;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

/* A narrow panel drops the amounts before it truncates names. */
@container (max-width: 380px) {
    .fp-dash__amt {
        display: none;
    }
}

@container (max-width: 300px) {
    .fp-dash__row {
        grid-template-columns: 28px minmax(0, 1fr) auto auto;
        gap: 8px;
    }

    .fp-dash__avatar {
        width: 28px;
        height: 28px;
    }

    .fp-dash__chip {
        min-width: 0;
        padding: 3px 7px;
    }
}

/* Narrow phones: the panel takes nearly the whole stage. */
@media (max-width: 399.98px) {
    .fp-dash__frame {
        padding: 8px;
        border-radius: 18px;
    }

    .fp-dash__panel {
        padding: 14px 12px 10px;
    }
}

/* "AI agent recognized": a frosted tag that hangs off the panel's edge. */
.fp-dash-tag {
    position: absolute;
    left: 50%;
    bottom: -44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 8px;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: 16px;
    background: rgba(255, 255, 255, .86);
    -webkit-backdrop-filter: blur(14px) saturate(1.6);
    backdrop-filter: blur(14px) saturate(1.6);
    box-shadow: 0 18px 40px -16px rgba(0, 22, 100, .45);
    white-space: nowrap;
    translate: -50% 0;
    animation: fp-tag-in .9s cubic-bezier(.16, 1, .3, 1) 1.1s both;
}

@media (min-width: 576px) {
    .fp-dash-tag {
        left: -24px;
        bottom: -30px;
        translate: none;
    }
}

@media (min-width: 1200px) {
    .fp-dash-tag {
        left: -44px;
    }
}

.fp-dash-tag__icon {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #f0a6cf 0%, #b79cf2 50%, #66a0ff 100%);
    color: #fff;
}

.fp-dash-tag__text {
    display: flex;
    flex-direction: column;
}

.fp-dash-tag__text b {
    font-weight: 600;
    font-size: 13px;
    line-height: 18px;
}

.fp-dash-tag__text small {
    color: #526079;
    font-size: 11px;
    line-height: 15px;
}

.fp-dash-tag.is-ping {
    animation: fp-tag-ping .9s cubic-bezier(.16, 1, .3, 1);
}

@keyframes fp-rise {
    from {
        opacity: .01;
        transform: translate3d(0, 14px, 0) scale(.98);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fp-draw {
    from {
        clip-path: inset(-4px 100% -4px -4px);
    }

    to {
        clip-path: inset(-4px);
    }
}

@keyframes fp-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes fp-pop {
    from {
        opacity: 0;
        transform: scale(0);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fp-ping {
    0% {
        opacity: .75;
        transform: scale(1);
    }

    80%,
    100% {
        opacity: 0;
        transform: scale(2.7);
    }
}

@keyframes fp-tag-in {
    from {
        opacity: 0;
        transform: translate3d(-12px, 10px, 0) scale(.94);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes fp-tag-ping {
    30% {
        transform: translate3d(0, -3px, 0) scale(1.035);
        box-shadow: 0 22px 44px -16px rgba(0, 22, 100, .5), 0 0 0 6px rgba(183, 156, 242, .35);
    }
}

/* Journey Cards - smooth gradient via @property */
@property --jc-start {
    syntax: "<color>";
    inherits: false;
    initial-value: #ffffff;
}

@property --jc-end {
    syntax: "<color>";
    inherits: false;
    initial-value: #ffffff;
}

.journey-card {
    --jc-start: #ffffff;
    --jc-end: #ffffff;
    background: linear-gradient(127.53deg, var(--jc-start), var(--jc-end));
    border: 1px solid #eee;
    transition: --jc-start 0.2s ease, --jc-end 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.journey-card:hover {
    --jc-start: #005DE8;
    --jc-end: #2A8BFF;
    border-color: #005DE8;
    color: white;
}

.journey-card:hover .journey-card-cta {
    color: white;
}

.journey-card:hover h3,
.journey-card:hover p {
    color: white;
}

.journey-card:hover img {
    filter: brightness(0) invert(1);
}



.platform-cta:hover .platform-cta-arrow {
    transform: translateX(3px);
}

/* Results Slider Pagination */
#results-slider .splide__pagination {
    position: relative;
    bottom: auto;
    margin-top: 60px;
    padding: 0;
}

#results-slider .splide__pagination__page {
    background: rgba(255, 255, 255, 0.4);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    margin: 0 6px;
    opacity: 1;
}

#results-slider .splide__pagination__page.is-active {
    background: white;
    transform: scale(1.2);
}

#results-slider .splide__slide img {
    outline: 1px solid transparent;
}

/* Homepage Marquee */
.homepage-marquee {
    display: flex;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.homepage-marquee-track {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex-shrink: 0;
    padding-right: 3rem;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    user-select: none;
}

.homepage-marquee-track img {
    outline: 1px solid transparent;
}

/* Solutions Cards */
.solutions-card {
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.solutions-card-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.solutions-card:hover .solutions-card-overlay {
    background: rgba(0, 0, 0, 0.45);
}

.solutions-card-title {
    position: relative;
    z-index: 2;
    transition: color 0.4s ease;
}

.solutions-card:hover .solutions-card-title {
    color: white;
}

.solutions-card-buttons {
    opacity: 0;
    transition: opacity 0.4s ease;
}

.solutions-card:hover .solutions-card-buttons {
    opacity: 1;
}

.solutions-card-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: white;
    border-radius: 9999px;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 1rem;
    color: #0B1B2B;
    text-decoration: none;
    transition: box-shadow 0.3s ease, opacity 0.35s ease, transform 0.35s ease;
    opacity: 0;
    transform: translateY(12px);
}

.solutions-card:hover .solutions-card-btn {
    opacity: 1;
    transform: translateY(0);
}

.solutions-card:hover .solutions-card-btn:nth-child(1) {
    transition-delay: 0s;
}

.solutions-card:hover .solutions-card-btn:nth-child(2) {
    transition-delay: 0.1s;
}

.solutions-card:hover .solutions-card-btn:nth-child(3) {
    transition-delay: 0.2s;
}

.solutions-card-btn:hover {
    box-shadow: 0px 4px 8px 12px rgba(0, 93, 232, 0.12);
}

.solutions-card-btn .btn-icon {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.solutions-card-btn .btn-icon img {
    width: 24px;
    height: 24px;
}

.cc1 {
    top: 230px;
    left: 80px;
    right: 0;
    margin: auto;
    bottom: 0;
}

.cc2 {
    top: 20px;
    left: -100px;
    right: 0;
    margin: auto;
    bottom: auto;
}

@media (min-width: 1600px) {
    .cc2 {
        left: 50px;
    }
}

.cc3 {
    top: 44px;
    left: 60px;
    right: 0;
    margin: auto;
    bottom: auto;
}

.cc4 {
    top: auto;
    left: -140px;
    right: 0px;
    margin: auto;
    bottom: 0;
}

/* Platform Image Overlay */
.platform-overlay {
    display: none;
}

@media (min-width: 1024px) {
    .platform-overlay {
        display: block;
    }
}

/* Scroll Fade Animation */
.scroll-fade-item {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease-out, transform 0.9s ease-out;
}

.scroll-fade-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
/* Agents Section â€” cards use the .glass-card utility from tailwind.config.js */
.btn-agents-light {
    background: linear-gradient(127.53deg, #ffffff 0%, #e9defa 100%);
    transition: filter 0.2s ease;
}

.btn-agents-light:hover {
    filter: brightness(0.95);
}

/* Impact Conference carousel (homepage only) â€” cap image height at 224px.
   Overrides the shared component's h-[128px]/md:h-[150px] so the strip runs taller. */
.fp-impact-carousel .impact-2026-image-carousel .splide__slide img {
    height: auto;
    max-height: 224px;
}

/* ---------- AI Agents are already shopping ----------
   views/partials/home-agentic.php: ai.forter.com's two cards, in glass frames on
   the redesign's blue (#829). The cards follow ai.forter.com's own styles
   (.kpi, .viz-gbars, .amark and .anote in its css/pages.css) at its compact
   sizes. */

.fp-agentic {
    padding: 0 0 64px;
    background: #fff;
}

@media (min-width: 992px) {
    .fp-agentic {
        padding-bottom: 96px;
    }
}

.fp-agentic__card {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    overflow: hidden;
    border-radius: 16px;
    background: #005de8 radial-gradient(96.87% 96.87% at 7.81% 3.13%, #005de8 0%, #1b6fef 100%);
    color: #fff;
}

.fp-agentic__card::before {
    content: '';
    position: absolute;
    z-index: -1;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 68%;
    background: var(--fp-light) center / cover no-repeat;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 92%);
    mask-image: linear-gradient(0deg, #000 10%, transparent 92%);
}

/* The redesign's fine dot grid, faded across the card. */
.fp-agentic__card::after {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, .9) 1px, transparent 1.4px);
    background-size: 22px 22px;
    background-position: 11px 11px;
    opacity: .2;
    pointer-events: none;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
    mask-image: linear-gradient(180deg, #000 0%, transparent 60%);
}

.fp-agentic__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 44px 20px 0;
}

.fp-agentic__title {
    max-width: 560px;
    margin: 0;
    color: #fff;
    font-family: Poppins, 'Poppins Fallback', sans-serif;
    font-weight: 600;
    font-size: 34px;
    line-height: 1.1;
    text-wrap: balance;
}

.fp-agentic__sub {
    max-width: 526px;
    margin: 20px 0 32px;
    color: #fff;
    font-size: 18px;
    line-height: 1.6;
}

.fp-agentic__cta {
    width: 100%;
    transition: color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.fp-agentic__cta:hover,
.fp-agentic__cta:focus-visible {
    color: #0049b8;
    box-shadow: 0 10px 24px -10px rgba(0, 22, 100, .6);
    transform: translateY(-1px);
}

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

.fp-agentic__charts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
    padding: 32px 12px 24px;
}

@media (min-width: 576px) {
    .fp-agentic__text {
        padding: 56px 48px 8px;
    }

    .fp-agentic__title {
        font-size: 44px;
    }

    .fp-agentic__cta {
        width: auto;
    }

    .fp-agentic__charts {
        gap: 24px;
        padding: 32px 48px 56px;
    }
}

@media (min-width: 1200px) {
    .fp-agentic__card {
        grid-template-columns: minmax(0, 672fr) minmax(0, 704fr);
        min-height: 644px;
    }

    .fp-agentic__text {
        grid-column: 2;
        grid-row: 1;
        justify-content: center;
        padding: 64px 80px;
    }

    .fp-agentic__title {
        font-size: 64px;
    }

    .fp-agentic__charts {
        grid-column: 1;
        grid-row: 1;
        padding: 48px 40px 48px 72px;
    }

    .fp-agentic__card::before {
        top: 0;
        width: 48.84%;
        height: 100%;
        -webkit-mask-image: linear-gradient(268.29deg, transparent 7.26%, #000 90.82%);
        mask-image: linear-gradient(268.29deg, transparent 7.26%, #000 90.82%);
    }

    .fp-agentic__card::after {
        -webkit-mask-image: linear-gradient(90deg, transparent 18%, #000 52%);
        mask-image: linear-gradient(90deg, transparent 18%, #000 52%);
    }
}

.fp-achart {
    container-type: inline-size;
    padding: 8px;
    border: 1.33px solid rgba(255, 255, 255, .4);
    border-radius: 16px;
    background: rgba(255, 255, 255, .1);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    box-shadow: 0 30px 60px -36px rgba(0, 24, 110, .55);
}

@media (min-width: 576px) {
    .fp-achart {
        padding: 13px;
    }
}

.fp-achart__card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    color: #090d1f;
    font-size: 14px;
    line-height: 1.45;
}

.fp-achart__card h3 {
    margin: 0;
    color: #090d1f;
    font-family: inherit;
    font-weight: 600;
    line-height: 1.4;
}

.fp-achart__when {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: #66708a;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.4;
}

.fp-achart__when svg {
    flex: none;
    width: 13px;
    height: 13px;
}

/* "Agentic orders vs. 3 months ago": ai.forter.com's first KPI tile. */
.fp-kpi {
    display: grid;
    gap: 8px;
    padding: 18px 18px 14px;
}

.fp-kpi__top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 2px 10px;
}

.fp-achart__card .fp-kpi__label {
    color: #3a4561;
    font-size: 13px;
}

.fp-kpi__delta {
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
}

.fp-kpi__value {
    margin: 0;
    font-weight: 700;
    font-size: 35px;
    font-size: clamp(35px, 8.4cqi, 51px);
    line-height: 1;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.fp-kpi__spark {
    position: relative;
    height: 44px;
    margin-top: 2px;
}

.fp-kpi__spark svg {
    display: block;
    width: 100%;
    max-width: none;
    height: 100%;
    overflow: visible;
}

.fp-kpi__line {
    animation: fp-draw 1.6s cubic-bezier(.16, 1, .3, 1) .2s backwards;
}

.fp-kpi__area {
    animation: fp-fade .9s cubic-bezier(0, 0, .2, 1) .9s both;
}

.fp-kpi__dot {
    position: absolute;
    width: 7px;
    height: 7px;
    margin: -3.5px 0 0 -3.5px;
    border-radius: 50%;
    background: #8f7ae6;
    animation: fp-pop .5s cubic-bezier(.16, 1, .3, 1) 1.5s both;
}

/* "Agentic order growth by agent": ai.forter.com's growth bars, each agent's
   change from a shared zero line, up to the right and down to the left. */
.fp-gb {
    --who: 128px;
    --val: 54px;
    --gap: 8px;
    padding: 16px 14px 14px;
}

@container (min-width: 500px) {
    .fp-gb {
        --who: 150px;
        --val: 62px;
        --gap: 14px;
        padding: 18px 20px 14px;
    }
}

.fp-gb__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px 12px;
    margin-bottom: 10px;
}

/* The switch stays beside the title while the title still has 220px. */
.fp-gb__tt {
    display: grid;
    flex: 1 1 220px;
    gap: 2px;
    min-width: 0;
}

.fp-achart__card .fp-gb__title {
    font-size: 15px;
}

/* Month / Quarter / Half: ai.forter.com's segmented control, as radio buttons. */
.fp-gb__seg {
    display: inline-flex;
    gap: 2px;
    min-width: 0;
    margin: 0 0 0 auto;
    padding: 3px;
    border: 0;
    border-radius: 999px;
    background: rgba(9, 13, 31, .05);
    box-shadow: inset 0 0 0 1px rgba(9, 13, 31, .08);
}

.fp-gb__seg label {
    position: relative;
    display: block;
    margin: 0;
    cursor: pointer;
}

.fp-gb__seg input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.fp-gb__seg span {
    display: flex;
    align-items: center;
    height: 26px;
    padding: 0 10px;
    border-radius: 999px;
    color: #3a4561;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .3s cubic-bezier(.16, 1, .3, 1), background-color .3s cubic-bezier(.16, 1, .3, 1), box-shadow .3s cubic-bezier(.16, 1, .3, 1);
}

.fp-gb__seg label:hover span,
.fp-gb__seg input:checked + span {
    color: #090d1f;
}

.fp-gb__seg input:checked + span {
    background: #fff;
    box-shadow: 0 1px 2px rgba(9, 13, 31, .08), 0 6px 14px -6px rgba(9, 13, 31, .2);
}

.fp-gb__seg input:focus-visible + span {
    outline: 2px solid #005de8;
    outline-offset: 1px;
}

/* Month shows until another period is picked. The switch runs on :has(), and
   a browser without it keeps Month and doesn't show the switch. (Its own rule:
   one selector a browser can't parse drops the whole list.) */
.fp-gb [data-period]:not([data-period="month"]) {
    display: none;
}

@supports not selector(:has(*)) {
    .fp-gb__seg {
        display: none;
    }
}

.fp-gb:has(input[value="quarter"]:checked) [data-period="month"],
.fp-gb:has(input[value="half"]:checked) [data-period="month"] {
    display: none;
}

.fp-gb:has(input[value="quarter"]:checked) .fp-gb__when[data-period="quarter"],
.fp-gb:has(input[value="half"]:checked) .fp-gb__when[data-period="half"] {
    display: inline;
}

.fp-gb:has(input[value="quarter"]:checked) .fp-gb__rows[data-period="quarter"],
.fp-gb:has(input[value="half"]:checked) .fp-gb__rows[data-period="half"] {
    display: grid;
}

.fp-gb__rows {
    position: relative;
    display: grid;
    gap: 2px;
    margin: 0;
    padding: 2px 0;
    list-style: none;
}

/* The zero line, in the bars' column: --z is where zero falls in it. */
.fp-gb__rows::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: calc(var(--who) + var(--gap) + (100% - var(--who) - var(--val) - 2 * var(--gap)) * var(--z));
    width: 1.5px;
    margin-left: -.75px;
    background: #c9d2e3;
}

.fp-gb__row {
    display: grid;
    grid-template-columns: var(--who) minmax(0, 1fr) var(--val);
    column-gap: var(--gap);
    align-items: center;
    min-height: 34px;
    margin: 0;
}

.fp-gb__who {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.3;
}

.fp-gb__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.fp-gb__track {
    position: relative;
    z-index: 1;
    height: 24px;
}

.fp-gb__bar {
    position: absolute;
    top: 50%;
    height: 12px;
    margin-top: -6px;
    border-radius: 0 6px 6px 0;
    background: var(--c);
    transform-origin: left center;
    animation: fp-grow .9s cubic-bezier(.16, 1, .3, 1) var(--d, 0s) both;
}

.fp-gb__bar.is-down {
    border-radius: 6px 0 0 6px;
    transform-origin: right center;
    opacity: .55;
}

.fp-gb__na {
    position: absolute;
    top: 50%;
    padding-left: 8px;
    color: #66708a;
    font-size: 12px;
    font-style: normal;
    font-weight: 500;
    white-space: nowrap;
    transform: translateY(-50%);
}

.fp-gb__v {
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: right;
    white-space: nowrap;
}

.fp-gb__row.is-hero .fp-gb__who,
.fp-gb__row.is-hero .fp-gb__v {
    color: #005de8;
}

.fp-gb__row.is-hero .fp-gb__bar {
    background: linear-gradient(90deg, #045ee8 0%, #2a8bff 100%);
}

.fp-gb__row.is-na .fp-gb__who {
    color: #3a4561;
}

/* Too narrow for three columns: each bar gets the card's width, under its agent. */
@container (max-width: 359.98px) {
    .fp-gb {
        padding: 14px 12px 12px;
    }

    .fp-gb__row {
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas: 'who v' 'track track';
        min-height: 0;
        padding: 4px 0;
    }

    .fp-gb__who {
        grid-area: who;
    }

    .fp-gb__v {
        grid-area: v;
    }

    .fp-gb__track {
        grid-area: track;
        height: 16px;
    }

    /* The zero line runs through the bars only, not the names above them. */
    .fp-gb__rows::before {
        display: none;
    }

    .fp-gb__track::before {
        content: '';
        position: absolute;
        top: -2px;
        bottom: -2px;
        left: calc(100% * var(--z));
        width: 1.5px;
        margin-left: -.75px;
        background: #c9d2e3;
    }

    .fp-gb__na {
        padding-left: 6px;
        font-size: 11.5px;
    }
}

.fp-gb__note {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin: 12px 0 0;
    padding-top: 12px;
    border-top: 1px solid rgba(9, 13, 31, .08);
    color: #3a4561;
    font-size: 12px;
    line-height: 1.45;
}

.fp-gb__note > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fp-gb__note b {
    color: #090d1f;
    font-weight: 700;
}

/* An agent's mark (ai.forter.com's .amark): its logo in a ring of its colour. */
.fp-amark {
    position: relative;
    display: inline-grid;
    place-items: center;
    flex: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: inset 0 0 0 2px var(--c), 0 4px 10px -4px rgba(9, 13, 31, .25);
}

.fp-gb__note .fp-amark {
    box-shadow: inset 0 0 0 2px var(--c);
}

.fp-amark img {
    display: block;
    width: 12px;
    height: 12px;
}

.fp-amark--all {
    background: linear-gradient(92deg, #005de8 0%, #2a8bff 48%, #8f7ae6 100%);
    box-shadow: inset 0 0 0 2px #005de8, 0 4px 10px -4px rgba(9, 13, 31, .25);
}

.fp-amark--all::after {
    content: '';
    width: 40%;
    height: 40%;
    border-radius: 50%;
    background: linear-gradient(90deg, #045ee8 0%, #2a8bff 100%);
}

.fp-amark__initial::before {
    content: attr(data-initial);
    color: var(--c);
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
}

@keyframes fp-grow {
    from {
        transform: scaleX(0);
    }

    to {
        transform: none;
    }
}

/* Charts still below the fold when js/home.js runs wait there, undrawn, and
   draw in as they arrive. */
.fp-achart.is-pending .fp-gb__bar,
.fp-achart.is-pending .fp-kpi__line,
.fp-achart.is-pending .fp-kpi__area,
.fp-achart.is-pending .fp-kpi__dot {
    animation: none;
}

.fp-achart.is-pending .fp-gb__bar {
    transform: scaleX(0);
}

.fp-achart.is-pending .fp-kpi__line {
    clip-path: inset(-4px 100% -4px -4px);
}

.fp-achart.is-pending .fp-kpi__area,
.fp-achart.is-pending .fp-kpi__dot {
    opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
    .fp-dash,
    .fp-dash__line,
    .fp-dash__area,
    .fp-dash__head-dot,
    .fp-dash-tag,
    .fp-dash__live i::after,
    .fp-gb__bar,
    .fp-kpi__line,
    .fp-kpi__area,
    .fp-kpi__dot {
        animation: none !important;
    }

    .fp-agentic__cta,
    .fp-gb__seg span {
        transition: none;
    }
}
