/* ---- hero flow diagram (.amp-flow) ---- */
.amp-flow {
    position: relative;
    padding-top: 16px
}

.amp-flow__source {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 9px;
    margin-bottom: 16px
}

.amp-flow__glow {
    position: absolute;
    top: -14px;
    left: 50%;
    width: 190px;
    height: 100px;
    transform: translateX(-50%);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(9px);
    background: radial-gradient(ellipse at center, rgba(24, 116, 193, .42), rgba(30, 159, 232, .2) 45%, transparent 72%);
    animation: amp-flow-glow 3.2s ease-in-out infinite
}

@keyframes amp-flow-glow {
    0%, 100% {
        opacity: .5;
        transform: translateX(-50%) scale(.9)
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) scale(1.08)
    }
}

.amp-flow__card {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 100px;
    background: #fff;
    box-shadow: 0 16px 34px rgba(24, 116, 193, .18), 0 2px 6px rgba(16, 24, 40, .08)
}

.amp-flow__card img {
    height: 40px;
    width: 180px;
    display: block
}

.amp-flow__card-btns {
    display: flex;
    gap: 8px
}

.amp-flow__proto {
    font-size: 14px;
    font-weight: 700;
    padding: 8px 18px;
    border-radius: 100px;
    color: #fff;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(24, 116, 193, .2)
}

.amp-flow__proto--api {
    background: linear-gradient(135deg, #1e9fe8, var(--primary-darker, #1874c1))
}

.amp-flow__proto--mcp {
    background: linear-gradient(135deg, var(--primary-darker, #1874c1), var(--primary-darkest, #00447d))
}

.amp-flow__net {
    position: relative;
    width: 75%;
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 300 / 244
}

.amp-flow__wires {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible
}

.amp-flow__wire {
    fill: none;
    stroke: #cbd6e4;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-dasharray: 1 6
}

.amp-flow__pulse {
    fill: #1E9FE8;
    filter: url(#ampFlowGlow);
}

.amp-flow__tool {
    position: absolute;
    width: 15.5%;
    transform: translate(-50%, -50%);
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eef2f7;
    box-shadow: 0 10px 24px rgba(24, 116, 193, .1), 0 2px 6px rgba(16, 24, 40, .05);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 11px 5px 8px;
    transition: transform .2s, box-shadow .2s
}

.amp-flow__tool:hover {
    transform: translate(-50%, calc(-50% - 4px));
    box-shadow: 0 18px 32px rgba(24, 116, 193, .18), 0 3px 8px rgba(16, 24, 40, .06)
}

.amp-flow__tool img {
    width: 56%;
    aspect-ratio: 1;
    object-fit: contain;
    border-radius: 9px
}

.amp-flow__tool-cap {
    font-size: 9.5px;
    font-weight: 600;
    color: #9aa7b5;
    letter-spacing: .01em;
    white-space: nowrap
}

.amp-flow__botbox {
    position: absolute;
    left: 50%;
    top: 67%;
    width: 98%;
    transform: translateX(-50%);
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    box-shadow: 0 14px 30px rgba(24, 116, 193, .12), 0 2px 6px rgba(16, 24, 40, .05);
    padding: 9px 8px 8px
}

.amp-flow__boxtitle {
    flex-basis: 100%;
    text-align: center;
    margin-bottom: 7px;
    font-size: 8px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: #b3bdc9
}

.amp-flow__bl {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px
}

.amp-flow__bl img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: 8px
}

.amp-flow__bl span {
    font-size: 9.5px;
    font-weight: 600;
    color: #9aa7b5;
    white-space: nowrap
}

@media (prefers-reduced-motion: reduce) {
    .amp-flow__glow,
    .amp-flow__pulse {
        animation: none
    }
}

/* ---- "Connect via MCP" section: background + AI node / dotted-wire diagram ---- */
.amp-connect-card {
    position: relative;
    border: none;
    padding: 40px 0 0;
    overflow: hidden
}

.amp-connect {
    position: relative;
    width: 100%;
    aspect-ratio: 1000 / 330;
    max-width: 720px;
    margin: 0 auto;
}

.dots-bg {
    background: url('../media/images-new/mcp-landing-dots.png') no-repeat center / cover,
    linear-gradient(180deg, #fff 0%, #ecf6ff 100%) !important;
}

.dots-bg-no-gradient {
    background: url('../media/images-new/mcp-landing-dots.png') no-repeat center / cover, #fff;
}

.amp-connect__wires {
    position: absolute !important;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: visible
}

.amp-connect__node {
    position: absolute !important;
    width: 10%;
    aspect-ratio: 1;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #fff;
    border: 1px solid #eee;
    box-shadow: 0 10px 24px rgba(24, 116, 193, .1), 0 2px 6px rgba(16, 24, 40, .05);
    display: flex;
    align-items: center;
    justify-content: center
}

.amp-connect__wire {
    fill: none;
    stroke: #1874C1;
    stroke-width: 1;
    stroke-dasharray: 2 2
}

.amp-connect__node--tl {
    left: -12%;
    top: 20%
}

.amp-connect__node--bl {
    left: -12%;
    top: 77%
}

.amp-connect__node--tr {
    left: 112%;
    top: 20%
}

.amp-connect__node--br {
    left: 112%;
    top: 77%
}

.amp-connect__wire--tl { transform: translate(-50px, 50px) scale(1.6); }
.amp-connect__wire--bl { transform: translate(-50px, 280px) scale(1.6, -1.6); }
.amp-connect__wire--tr { transform: translate(1050px, 50px) scale(-1.6, 1.6); }
.amp-connect__wire--br { transform: translate(1050px, 280px) scale(-1.6, -1.6); }

@media screen and (max-width: 991px) {
    .amp-connect__wire--tl { transform: translate(70px, 65px) scale(1.2); }
    .amp-connect__wire--bl { transform: translate(70px, 265px) scale(1.2, -1.2); }
    .amp-connect__wire--tr { transform: translate(930px, 65px) scale(-1.2, 1.2); }
    .amp-connect__wire--br { transform: translate(930px, 265px) scale(-1.2, -1.2); }

    .amp-connect__node { width: 8% }

    .amp-connect__node--tl { left: 1%; top: 23% }
    .amp-connect__node--bl { left: 1%; top: 75% }
    .amp-connect__node--tr { left: 99%; top: 23% }
    .amp-connect__node--br { left: 99%; top: 75% }

    .amp-connect__panel { transform: translate(-50%, -50%) scale(.81) !important; }
}

@media screen and (max-width: 576px) {
    .amp-connect__node { width: 10% }

    .amp-connect__node--tl { left: 2%; top: 22% }
    .amp-connect__node--bl { left: 2%; top: 79% }
    .amp-connect__node--tr { left: 98%; top: 22% }
    .amp-connect__node--br { left: 98%; top: 79% }

    .amp-connect__panel { transform: translate(-50%, -50%) scale(.63) !important; }
}

.amp-connect__node img {
    width: 70%;
    height: 70%;
    object-fit: contain
}

.amp-connect__panel {
    position: absolute !important;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%)
}

.amp-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 34px;
    background: var(--primary-lightest, #ecf6ff);
    color: var(--primary-darker, #1874c1);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .02em;
    text-transform: uppercase;
    margin-bottom: 24px;
    margin-text-outline: 12px;
}

.amp-badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #14A34D;
    flex-shrink: 0;
    margin-bottom: 2px;
    animation: amp-pulse 1.4s ease-in-out infinite;
}

@media screen and (max-width: 1000px) {
    .landing-banner .col-12.mcp-banner {
        align-items: flex-start;
        text-align: left;
    }

    .mcp-banner .landing-banner__list {
        justify-content: flex-start;
        text-align: left;
    }

    .mcp-banner .landing-banner__btns {
        justify-content: flex-start;
    }
}

.landing-banner {
    position: relative;
    z-index: 0;
}

.amp-docs-link {
    transition: color .15s cubic-bezier(.4, 0, .2, 1) !important;
}

.amp-docs-link__arrow {
    display: inline-flex;
    transition: transform .15s cubic-bezier(.4, 0, .2, 1);
}

.amp-docs-link__arrow path {
    transition: stroke .15s cubic-bezier(.4, 0, .2, 1);
}

.amp-docs-link:hover {
    color: var(--primary-darkest, #00447d) !important;
}

.amp-docs-link:hover .amp-docs-link__arrow {
    transform: translateX(4px);
}

.amp-docs-link:hover .amp-docs-link__arrow path {
    stroke: var(--primary-darkest, #00447d);
}

.landing-banner__dots {
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 100%;
    height: 80%;
    aspect-ratio: 1280 / 400;
    z-index: -1;
    pointer-events: none;
}

@media screen and (max-width: 1000px) {
    .landing-banner__dots {
        height: 30%;
    }

    .mcp-landing-banner {
        padding-bottom: 48px;
    }
}

.amp-lead {
    font-size: 18px;
    line-height: 150%;
    margin-bottom: 16px;
}

.amp-lead span {
    display: block;
    font-size: inherit;
}

/* generic logo icon reused everywhere instead of real brand logos */
.amp-logo-icon {
    display: block;
    object-fit: contain;
}

.amp-tint-1 { filter: invert(35%) sepia(80%) saturate(1800%) hue-rotate(190deg); }
.amp-tint-2 { filter: invert(20%) sepia(90%) saturate(3000%) hue-rotate(330deg); }
.amp-tint-3 { filter: invert(55%) sepia(60%) saturate(1200%) hue-rotate(60deg); }
.amp-tint-4 { filter: invert(40%) sepia(90%) saturate(2000%) hue-rotate(260deg); }
.amp-tint-5 { filter: invert(60%) sepia(20%) saturate(300%) hue-rotate(0deg); }
.amp-tint-6 { filter: grayscale(1) opacity(.7); }

/* ---- flow / diagram block: see mcp-landing.css for .amp-flow* rules ---- */

.amp-icon-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.amp-card:has(.amp-icon-row) {
    display: flex;
    flex-direction: column;
}

.amp-card:has(.amp-icon-row) .amp-icon-row {
    margin-top: auto;
}

.amp-icon-row__icon {
    width: 82px;
    height: 82px;
    border-radius: 100px;
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.amp-icon-row__icon img {
    width: 65%;
    height: 65%;
}

/* ---- terminal / code card ---- */
.amp-terminal {
    background: #0d1424;
    border-radius: 16px;
    overflow: hidden;
}

.amp-plugin-grid .amp-terminal {
    min-height: 150px;
}

.amp-terminal__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}

.amp-terminal__dots {
    display: flex;
    gap: 6px;
}

.amp-terminal__dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    display: block;
}

.amp-terminal__dots span:nth-child(1) { background: #ff5f56; }
.amp-terminal__dots span:nth-child(2) { background: #ffbd2e; }
.amp-terminal__dots span:nth-child(3) { background: #27c93f; }

.amp-terminal__copy {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #fff;
    background: none;
    border: none;
    cursor: pointer;
    transition: color .15s;
    background: rgba(255,255,255,.07);
    padding: 4px 12px 4px 12px;
    border-radius: 100px;
}

.amp-terminal__copy.is-copied {
    color: #22c55e;
}

.amp-terminal__body {
    margin: 0;
    padding: 16px;
    color: #d7e0f0;
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 13px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
}

.amp-terminal__body .amp-c-key,
.amp-terminal__body .amp-c-str,
.amp-terminal__body .amp-c-muted {
    font-size: inherit;
}

.amp-terminal__body .amp-c-key { color: #7cc7ff; }
.amp-terminal__body .amp-c-str { color: #9be38a; }
.amp-terminal__body .amp-c-muted { color: #6f7c96; }

/* ---- two plug-in cards ---- */
.amp-plugin-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

@media screen and (max-width: 780px) {
    .amp-plugin-grid {
        grid-template-columns: 1fr;
    }
}

.amp-plugin-card__title {
    margin-bottom: 8px;
}

.amp-plugin-card__text {
    color: var(--secondary-darker, #6a6a6a);
    margin-bottom: 20px;
}

.amp-plugin-card__link {
    display: inline-block;
    margin-top: 16px;
    color: var(--primary-darker, #1874c1);
    font-weight: 500;
    text-decoration: none;
}

/* ---- live feed ticker ---- */
.amp-ticker {
    overflow: hidden;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    padding: 16px 0;
    display: flex;
    align-items: center;
    gap: 24px;
}

.amp-ticker__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #14A34D;
    text-transform: uppercase;
    flex-shrink: 0;
    padding-left: 8px;
}

@keyframes amp-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}

.amp-ticker__viewport {
    overflow: hidden;
    flex: 1;
}

.amp-ticker__track {
    display: flex;
    gap: 40px;
    width: max-content;
    animation: amp-ticker 80s linear infinite;
}

@keyframes amp-ticker {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

.amp-ticker__item {
    font-size: 14px;
    color: var(--secondary-darker, #6a6a6a);
    white-space: nowrap;
}
.amp-ticker__item svg {
    margin-bottom: 3px;
    margin-right: 5px;
}

.amp-ticker__item b {
    font-size: inherit;
    color: var(--secondary-darkest, #000);
}

/* ---- toggle switch panel ---- */
.amp-toggle-panel {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(20, 40, 80, .1);
    padding: 8px;
    max-width: 260px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
    z-index: 3;
}

.amp-toggle-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, #fff 40%, #fff 35%, rgba(255, 255, 255, 0) 200%);
    pointer-events: none;
    z-index: 2;
}

.amp-toggle-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px 10px;
}

.amp-toggle-row__label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.amp-toggle-row__label img {
    width: 28px;
    height: 28px;
    border-radius: 100px;
}

.amp-toggle {
    width: 34px;
    height: 20px;
    border-radius: 20px;
    background: #e2e6ec;
    position: relative;
    flex-shrink: 0;
}

.amp-toggle::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    transition: left .2s ease;
}

.amp-toggle--on {
    background: #1874C1;
}

.amp-toggle--on::after {
    left: 16px;
}

.amp-toggle--brand {
    background: #14A34D;
}

.amp-toggle--brand::after {
    left: 16px;
}

/* ---- generic card used across the "connect" section ---- */
.amp-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 24px;
    padding: 24px;
    height: 100%;
}

.amp-card__title {
    font-size: 24px;
    font-weight: 600;
    letter-spacing: -0.015em;
    line-height: 1.2;
    margin-bottom: 8px;
}

.amp-card__text {
    font-size: 16px;
    line-height: 1.45;
    margin-bottom: 16px;
}

.amp-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.amp-grid-2__col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

@media screen and (max-width: 780px) {
    .amp-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* ---- "Extensive PE/VC data set" mockup images ---- */
.amp-dataset-card {
    position: relative;
    overflow: hidden;
}

.amp-dataset-preview {
    position: relative;
    overflow: hidden;
    height: 200px;
    margin-top: 20px;
}

.amp-dataset-preview__img {
    position: absolute;
    display: block;
    border-radius: 16px;
    background: #fff;
    border: 2px solid var(--primary-lighter, #b3dcff);
    box-shadow: 0 10px 24px rgba(20, 40, 80, .08);
}

.amp-dataset-preview__img--contact {
    left: 0;
    top: 0;
    width: 58%;
    max-width: 280px;
    z-index: 2;
}

.amp-dataset-preview__img--search {
    right: 0;
    top: 40px;
    width: 54%;
    max-width: 260px;
    padding: 10px;
    z-index: 1;
}

.amp-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    border-radius: 20px;
    background: var(--primary-lightest, #ecf6ff);
    color: var(--primary-darker, #1874c1);
    font-size: 12px;
    white-space: nowrap;
}

.amp-tag__x {
    opacity: .45;
}

/* ---- Filter card: chips reveal one-by-one, looping ---- */
.amp-tag[data-chip-index] {
    display: none;
}

@keyframes ampTagIn {
    from { opacity: 0; transform: translateX(-6px) scale(.95); }
    to { opacity: 1; transform: none; }
}

.amp-tag[data-chip-index].is-visible {
    display: inline-flex;
    animation: ampTagIn .34s ease-out;
}

.amp-avatar-stack {
    display: flex;
    align-items: center;
    margin-bottom: 6px;
}

.amp-avatar-stack a {
    display: inline-flex;
    margin-left: -8px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform .15s, box-shadow .15s;
}

.amp-avatar-stack a:first-child {
    margin-left: 0;
}

.amp-avatar-stack a:hover {
    position: relative;
    z-index: 3;
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(20, 60, 120, .18);
}

.amp-avatar-stack img, .amp-avatar-stack span {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #F5F5F5;
    background: #fff;
    padding: 1px;
    object-fit: contain;
    box-sizing: border-box;
}

.amp-avatar-stack span {
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    white-space: nowrap;
    color: #1f2d3d;
}

/* ---- New PE/VC rotating logo slots ---- */
@keyframes ampAvatarRotIn {
    from { opacity: 0; transform: scale(.6); }
    to { opacity: 1; transform: scale(1); }
}

.amp-avatar-stack__slot.amp-rot-in img,
.amp-avatar-stack__slot.amp-rot-in .amp-avatar-stack__fallback {
    animation: ampAvatarRotIn .5s ease;
    font-size: 18px;
}

@media (prefers-reduced-motion: reduce) {
    .amp-avatar-stack__slot.amp-rot-in img,
    .amp-avatar-stack__slot.amp-rot-in .amp-avatar-stack__fallback {
        animation: none;
    }
}

.amp-search-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media screen and (max-width: 1000px) {
    .amp-search-grid {
        grid-template-columns: 1fr;
    }
}

.amp-search-stat {
    margin-bottom: 16px;
}

.amp-search-stat__head {
    display: flex;
    align-items: baseline;
    gap: 7px;
    margin-bottom: 11px;
}

.amp-search-stat__label {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    white-space: nowrap;
    color: #1f2d3d;
}

.amp-search-stat__count {
    font-size: 11px;
    font-weight: 600;
    color: #9aa7b5;
}

.amp-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}

.amp-match-count {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    color: #1f2d3d;
}

.amp-match-count .amp-badge__dot {
    background: #14A34D;
}

/* mobile: chips reveal one-by-one and wrap onto a different number of rows
   depending on how many fit per line, which otherwise keeps shifting the
   card's height during the loop — pin the card (not the flex tag list itself,
   which would stretch its rows/chips to fill a fixed height) per narrow width. */
@media screen and (max-width: 349px) {
    .amp-card--filter {
        height: 330px;
        overflow: hidden;
    }
}

@media screen and (min-width: 350px) and (max-width: 575px) {
    .amp-card--filter {
        height: 300px;
        overflow: hidden;
    }
}

/* ---- Export card: PEL hub branching out to export destinations ---- */
.amp-export {
    margin-top: 18px;
    display: flex;
    align-items: center;
}

.amp-export-hub {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #e7eef6;
    box-shadow: 0 14px 34px rgba(24, 116, 193, .18);
    display: flex;
    align-items: center;
    justify-content: center;
}

.amp-export-hub img {
    width: 46px;
    height: 46px;
    object-fit: contain;
    border-radius: 10px;
    display: block;
}

/* .amp-search-grid is 3 columns above 1000px, so this card is narrow by default —
   base styles here are the tight/narrow variant; the roomier one only kicks in
   once the grid drops to 1 column (below 1000px) and the card gets full width. */
.amp-export-cols {
    flex: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    padding-left: 30px;
}

/* trunk: hub → vertical spine */
.amp-export-cols::after {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 30px;
    height: 1px;
    background: #d7e0eb;
}

/* vertical spine linking the three branches */
.amp-export-cols::before {
    content: '';
    position: absolute;
    left: 30px;
    top: 24px;
    bottom: 24px;
    width: 1px;
    background: #d7e0eb;
}

.amp-export-row {
    position: relative;
    display: flex;
    align-items: center;
    height: 48px;
}

.amp-export-line {
    position: relative;
    flex: 1;
    height: 1px;
    background: #d7e0eb;
    transform: translateY(0.5px);
}

.amp-export-line::after {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    height: 3px;
    width: 34px;
    border-radius: 3px;
    background: linear-gradient(90deg, rgba(30, 159, 232, 0), #1e9fe8 50%, rgba(30, 159, 232, 0));
    filter: drop-shadow(0 0 4px rgba(30, 159, 232, .7));
    animation: ampExportFlow 2.4s linear infinite;
}

.amp-export-row:nth-child(2) .amp-export-line::after {
    animation-delay: .8s;
}

.amp-export-row:nth-child(3) .amp-export-line::after {
    animation-delay: 1.6s;
}

@keyframes ampExportFlow {
    0% { left: -34px; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .amp-export-line::after {
        animation: none;
        display: none;
    }
}

/* line labels are redundant with the box captions in the narrow (default) layout — only
   show them once the card is wide enough (below 1000px, single-column grid) to fit both. */
.amp-export-label {
    display: none;
}

.amp-export-boxwrap {
    position: relative;
    flex-shrink: 0;
}

.amp-export-cap {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 7px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: #9aa7b5;
    white-space: nowrap;
}

.amp-export-tiles {
    display: flex;
    gap: 5px;
    align-items: center;
    justify-content: center;
    width: 172px;
    box-sizing: border-box;
    padding: 8px;
    background: #fff;
    border: 1px solid #eaeff5;
    border-radius: 13px;
    box-shadow: 0 5px 16px rgba(20, 60, 120, .07);
}

.amp-export-tile {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amp-export-tile img {
    width: 26px;
    height: 26px;
    object-fit: contain;
}

@media screen and (max-width: 1000px) {
    .amp-export-cols {
        padding-left: 44px;
        gap: 38px;
    }

    .amp-export-cols::after {
        width: 44px;
    }

    .amp-export-cols::before {
        left: 44px;
    }

    .amp-export-label {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        position: absolute;
        left: 50%;
        top: 100%;
        transform: translateX(-50%);
        margin-top: 7px;
        font-size: 11px;
        font-weight: 600;
        color: #9aa7b5;
        white-space: nowrap;
    }

    .amp-export-label svg {
        flex-shrink: 0;
        width: 12px;
        height: 12px;
    }

    .amp-export-tiles {
        width: 190px;
        gap: 6px;
        padding: 8px 10px;
    }

    .amp-export-tile,
    .amp-export-tile img {
        width: 28px;
        height: 28px;
    }
}

/* mobile: the <=1000px "roomier" sizing above was tuned for a tablet-width card —
   once the card itself drops to a phone-width column, scale hub/tiles back down
   (below even the desktop-narrow sizing) so they stay proportional to the card. */
@media screen and (max-width: 576px) {
    .amp-export-hub {
        width: 35px;
        height: 35px;
        border-radius: 12px;
    }

    .amp-export-hub img {
        width: 28px;
        height: 28px;
    }

    .amp-export-cols {
        padding-left: 24px;
        gap: 24px;
    }

    .amp-export-cols::after {
        width: 24px;
    }

    .amp-export-cols::before {
        left: 24px;
    }

    .amp-export-row {
        height: 36px;
    }

    .amp-export-label {
        font-size: 9.5px;
    }

    .amp-export-label svg {
        width: 10px;
        height: 10px;
    }

    .amp-export-tiles {
        width: 132px;
        gap: 4px;
        padding: 6px 8px;
        border-radius: 11px;
    }

    .amp-export-tile,
    .amp-export-tile img {
        width: 20px;
        height: 20px;
    }
}

/* ---- comparison table status icons ---- */
.amp-status {
    display: inline-flex;
    width: 26px;
    height: 26px;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
}

.amp-status img {
    width: 20px;
    height: 20px;
    background: none;
}

/* ---- mcp-table: overlapping circular logos (matches .amp-avatar-stack) ---- */
.mcp-table .advantages__items {
    gap: 0;
}

.mcp-table .advantages__img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid #F5F5F5;
    background: #fff;
    padding: 5px;
    margin-left: -8px;
    object-fit: contain;
    box-sizing: border-box;
}

.mcp-table .advantages__img:first-child {
    margin-left: 0;
}

/* ---- mcp-table: highlight the Private Equity List column ---- */
.mcp-table .table-advantages-pel-top,
.mcp-table .table-advantages-pel-middle,
.mcp-table .table-advantages-pel-bottom {
    background: var(--primary-lightest, #ecf6ff);
}

.amp-table-pel {
    font-weight: 700;
}

.mcp-table .mcp-table__row-text {
    font-size: 14px;
    font-weight: 500;
    color: var(--secondary-darker, #6a6a6a);
}

.mcp-table .mcp-table__row-text-pel {
    font-size: 14px;
    font-weight: 700;
    color: #000;
}

/* ---- unlock banner (first): gradient hero with mini-cards + investors preview ---- */
.amp-first-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding: 48px;
    border-radius: 48px;
    background: linear-gradient(90deg, #1874c1 0%, #1e9fe8 100%);
}

.amp-first-banner__glow {
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.amp-first-banner__content {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    max-width: 470px;
    color: #fff;
}

.amp-first-banner__list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0 28px;
}

.amp-first-banner__item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
}

.amp-first-banner__item img {
    flex-shrink: 0;
}

.amp-first-banner__btn {
    white-space: nowrap;
}

.amp-first-banner__mock {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 200px;
}

@media screen and (max-width: 991px) {
    .amp-first-banner__mock {
        margin-right: 45px;
        margin-left: -35px;
    }
}

.amp-first-banner__mini-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #fff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 14px 32px rgba(11, 40, 80, .18);
}

.amp-first-banner__mini-card--right {
    align-self: flex-end;
}

.amp-first-banner__pill {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 20px;
    background: linear-gradient(90deg, #1e9fe8 0%, #85daff 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.amp-first-banner__mini-body {
    display: flex;
    align-items: center;
    gap: 10px;
}

.amp-first-banner__mini-body svg {
    flex-shrink: 0;
}

.amp-first-banner__mini-body b {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: #1874c1;
}

.amp-first-banner__status {
    display: inline-flex;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 20px;
    background: rgba(20, 163, 77, .12);
    color: #14a34d;
    font-size: 11px;
    font-weight: 700;
}

.amp-first-banner__results {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 380px;
    margin-left: -50px;
    background: #fff;
    border-radius: 20px;
    padding: 18px;
    box-shadow: 0 20px 44px rgba(11, 40, 80, .22);
}

@media screen and (max-width: 767px) {
    .amp-first-banner__results {
        margin-left: 0;
    }
}

.banner-rectangle-first {
    position: absolute;
    right: 135px;
    bottom: -155px;
    width: 96px;
    height: 371px;

    background: linear-gradient(89.63deg, #FFFFFF 0.32%, rgba(255, 255, 255, 0.25) 99.68%);
    opacity: 0.5;
    box-shadow: 0px 0px 81.2px -1px #ECF6FF;
    border-radius: 243.5px;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 0;
}

.banner-rectangle-second {
    position: absolute;
    right: 325px;
    bottom: -250px;
    width: 170px;
    height: 591px;

    background: linear-gradient(89.63deg, #FFFFFF 0.32%, rgba(255, 255, 255, 0.25) 99.68%);
    opacity: 0.5;
    box-shadow: 0px 0px 81.2px -1px #ECF6FF;
    border-radius: 243.5px;
    transform: rotate(-90deg);
    pointer-events: none;
    z-index: 0;
}

@media screen and (max-width: 991px) {
    .banner-rectangle-first {
        right: 220px;
        bottom: -180px;
    }

    .banner-rectangle-second {
        right: 30px;
        bottom: -40px;
        width: 313px;
        height: 95px;
        transform: rotate(180deg);
        background: linear-gradient(180deg, #FFFFFF 0.32%, rgba(255, 255, 255, 0.25) 99.68%);
    }
}

@media screen and (max-width: 767px) {
    .banner-rectangle-first {
        display: none;
    }

    .banner-rectangle-second {
        display: none;
    }
}

.amp-first-banner__results-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 14px;
}

.amp-first-banner__results-new {
    font-size: 12px;
    font-weight: 700;
    color: #14a34d;
    white-space: nowrap;
}

.amp-first-banner__results-img {
    display: block;
    width: 100%;
    height: auto;
}

/* the screenshot is cropped mid-row/mid-tag on its right edge — fade that
   into white instead of showing a hard cut. Shared across all three banners
   (third banner also combines this with its own bottom-crop fade). */
.amp-results-img-wrap {
    position: relative;
    overflow: hidden;
}

.amp-results-img-wrap::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 16%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

@media screen and (max-width: 767px) {
    .amp-first-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        border-radius: 28px;
        gap: 20px;
    }
}

/* ---- unlock banner (second): compact row layout, tablet overlap, no global-coverage card ---- */
.amp-second-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 48px;
    border-radius: 48px;
    background: linear-gradient(90deg, #1874c1 0%, #1e9fe8 100%);
}

.amp-second-banner__glow {
    position: absolute;
    right: 20%;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.amp-second-banner__content {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    max-width: 360px;
    color: #fff;
}

.amp-second-banner__list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    margin-top: 16px;
}

.amp-second-banner__item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    white-space: nowrap;
}

.amp-second-banner__item img {
    flex-shrink: 0;
}

.amp-second-banner__cards {
    display: none;
    z-index: 1;
    flex-shrink: 0;
}

.amp-second-banner__results {
    position: relative;
    z-index: 1;
    width: 280px;
    background: #fff;
    border-radius: 20px;
    padding: 16px;
    box-shadow: 0 20px 44px rgba(11, 40, 80, .22);
}

.amp-second-banner__mini-card {
    position: relative;
    z-index: 2;
}

.amp-second-banner__btn {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    white-space: nowrap;
}

.amp-second-banner__btn--inline {
    margin-top: 20px;
}

/* the desktop-row button is a separate element (rather than reflowing the same
   one) so the tablet layout can stay a simple two-column split: content+button
   on the left, cards on the right */
.amp-second-banner__btn--desktop {
    display: none;
}

/* tablet: two columns — content (with its own inline button) on the left,
   cards on the right; New Fund IV sits lower and overlaps ~15% into the
   Investors card's bottom-left corner; both cards size to their own content */
@media (min-width: 768px) {
    .amp-second-banner__cards {
        display: inline-flex;
        align-items: flex-start;
        justify-content: end;
    }

    .amp-second-banner__mini-card {
        align-self: flex-end;
        margin-right: -15%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .amp-second-banner__list {
        flex-direction: column;
        gap: 10px;
    }

    .amp-second-banner {
        padding: 32px;
        gap: 16px;
    }

    .amp-second-banner__content {
        max-width: 300px;
    }

    /* fixed-size, absolutely-positioned overlap instead of the inline-flex +
       percentage negative-margin trick — that percentage resolves against an
       auto-sized (shrink-to-fit) container, so its actual footprint isn't
       predictable/reducible and was still overflowing into a wrap around 810px */
    .amp-second-banner__cards {
        position: relative;
        display: block;
        width: 276px;
        height: 188px;
    }

    .amp-second-banner__results {
        position: absolute;
        top: 0;
        right: 0;
        z-index: 5;
        width: 240px;
    }

    .amp-second-banner__mini-card {
        position: absolute;
        left: 0;
        bottom: 0;
        z-index: 6;
        width: 150px;
        margin-right: 0;
    }
}

@media (min-width: 992px) {
    .amp-second-banner__content {
        max-width: 520px;
    }

    .amp-second-banner__list {
        flex-wrap: nowrap;
        gap: 8px 16px;
    }

    .amp-second-banner__cards {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .amp-second-banner__mini-card {
        align-self: center;
        margin-right: 0;
    }

    .amp-second-banner__btn--inline {
        display: none;
    }

    .amp-second-banner__btn--desktop {
        display: inline-flex;
    }
}

@media screen and (max-width: 767px) {
    .amp-second-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        border-radius: 28px;
        gap: 20px;
    }

    .amp-second-banner__list {
        flex-direction: column;
        gap: 10px;
    }

    .amp-second-banner__btn {
        width: 100%;
    }
}

/* ---- unlock banner (third, onboarding success): plain text (no checklist),
   cards shown on desktop only, "Upgrade" CTA with a price caption ---- */
.amp-third-banner {
    position: relative;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 40px 48px;
    border-radius: 48px;
    background: linear-gradient(90deg, #1874c1 0%, #1e9fe8 100%);
}

.amp-third-banner__glow {
    position: absolute;
    right: 20%;
    bottom: -120px;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, .35) 0%, rgba(255, 255, 255, 0) 70%);
    filter: blur(10px);
    pointer-events: none;
    z-index: 0;
}

.amp-third-banner__content {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    align-self: flex-start;
    max-width: 550px;
    color: #fff;
}

.amp-third-banner__text {
    font-size: 15px;
    line-height: 1.5;
    margin: 12px 0 0;
    opacity: .9;
}

.amp-third-banner__cards {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    width: 420px;
    height: 170px;
}

.amp-third-banner__cards .amp-second-banner__results {
    position: absolute;
    top: -30px;
    left: 0;
    width: 290px;
    padding: 8px 16px 8px 16px;
}

.amp-third-banner__results-img-wrap {
    position: relative;
    overflow: hidden;
    height: 64px;
}

.amp-third-banner__results-img-wrap::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 28px;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
}

.amp-third-banner__mini-card {
    position: absolute;
    right: 65px;
    bottom: -33px;
    z-index: 2;
    width: 150px;
}

.amp-third-banner__upgrade {
    position: relative;
    z-index: 1;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-right: 25px;
}

.amp-third-banner__btn {
    white-space: nowrap;
    padding: 14px 24px;
    width: 170%;
}

.amp-third-banner__price {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

@media screen and (max-width: 767px) {
    .amp-third-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 28px 24px;
        border-radius: 28px;
        gap: 20px;
    }

    .amp-third-banner__upgrade {
        width: 100%;
    }

    .amp-third-banner__btn {
        width: 100%;
    }
}

@media (max-width: 1200px) {
    .mcp-table {
        display: none;
    }
}

.popover-body p, .popover-body strong {
    font-size: 12px;
}

.popover {
    width: 260px;
}
