@font-face {
    font-family: Montserrat;
    src: url("../Fonts/montserrat-latin.woff2") format("woff2");
    font-style: normal;
    font-weight: 600 800;
    font-display: swap;
}

:root {
    --particle-dark: #0b0f14;
    --particle-ink: #141a23;
    --particle-blue: var(--eqvi-sky);
    --particle-blue-on-light: var(--eqvi-sky-text);
    --particle-gutter: clamp(20px, 5.56vw, 80px);
}

.particle-container {
    width: min(1280px, 100% - var(--particle-gutter) * 2);
    margin-inline: auto;
}

.particle-title {
    font-family: Montserrat, system-ui, sans-serif;
    font-weight: 700;
}

.particle-eyebrow {
    color: var(--particle-blue);
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1.4;
    text-transform: uppercase;
}

.particle-accent {
    color: var(--particle-blue);
}

.particle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 190px;
    min-height: 48px;
    padding: 12px 24px;
    border-radius: 6px;
    background: var(--particle-blue);
    color: #071b31;
    font-size: 0.9375rem;
    font-weight: 750;
}

.particle-button:hover {
    background: var(--eqvi-sky-hover);
}

.particle-button:focus-visible,
.particle-header a:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 4px;
}

.particle-header,
.particle-hero {
    background: var(--particle-dark);
    color: #fff;
}

.particle-header {
    position: relative;
}

.particle-header__inner {
    position: relative;
    z-index: 2;
    min-height: 60px;
    display: flex;
    align-items: center;
}

.particle-header__brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
}

.particle-header__brand img {
    filter: brightness(0) invert(1);
}

.particle-hero.bank-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}

.eqvi-hero-ring {
    position: absolute;
    z-index: 0;
    inset: 0 0 0 auto;
    width: min(62vw, 820px);
    opacity: .9;
    pointer-events: none;
}

.eqvi-hero-ring canvas {
    display: block;
    width: 100%;
    height: 100%;
}

@media (width < 768px) {
    .eqvi-hero-ring {
        width: 120vw;
        opacity: .78;
    }
}

@media (width < 640px) {
    .eqvi-hero-ring {
        right: -20%;
    }
}

.particle-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    align-content: center;
    min-height: 532px;
    padding-block: 37px 48px;
}

.particle-hero__heading {
    display: grid;
    grid-template-columns: minmax(0, max-content) max-content;
    align-items: start;
    column-gap: clamp(24px, 5vw, 68px);
    margin-block: 34px 26px;
}

.particle-hero .particle-button {
    justify-self: start;
}

.particle-hero h1 {
    margin: 0;
    font-size: clamp(2.375rem, 4.45vw, 4rem);
    line-height: 1.04;
}

.particle-hero h1 > span {
    display: block;
}

.particle-hero__intro {
    max-width: 705px;
    color: #c3cbd6;
    font-size: 1.1875rem;
    line-height: 1.25;
    text-wrap: pretty;
}

.particle-hero__points {
    display: grid;
    gap: 13px;
    margin-block: 29px 32px;
    font-size: 1rem;
    line-height: 1.6;
}

.particle-hero__points li {
    display: flex;
    align-items: baseline;
    gap: 13px;
}

.particle-hero__points li::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border-radius: 50%;
    background: var(--particle-blue);
}

.particle-ecosystem {
    background: #f3f7f9;
    color: var(--particle-ink);
}

.particle-ecosystem__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
    gap: clamp(24px, 5vw, 72px);
    min-height: 568px;
    padding-block: 53px 68px;
}

.particle-ecosystem .particle-eyebrow,
.particle-comparison .particle-eyebrow {
    color: var(--particle-blue-on-light);
}

.particle-ecosystem .particle-accent {
    color: var(--eqvi-sky-display);
}

.particle-ecosystem h2 {
    margin-top: 24px;
    font-size: clamp(2.125rem, 3.33vw, 3rem);
    line-height: 1.2;
}

.particle-ecosystem__title-line {
    display: block;
    margin-top: 7px;
    font-size: 0.92em;
}

.particle-ecosystem__description {
    max-width: 480px;
    margin-top: 43px;
    color: #4b596a;
    font-size: 1.125rem;
    line-height: 1.25;
    text-wrap: pretty;
}

.particle-ecosystem__caption {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 15px;
    color: #15202a;
    font-size: 0.8125rem;
    font-weight: 750;
    line-height: 1.4;
    text-transform: uppercase;
}

.particle-ecosystem__caption::before {
    content: "";
    flex: 0 0 48px;
    height: 2px;
    background: var(--eqvi-sky);
}

.particle-ecosystem__diagram {
    position: relative;
    justify-self: center;
    width: min(70%, 315px);
    aspect-ratio: 1;
}

.particle-ecosystem__node {
    position: absolute;
    left: var(--x);
    top: var(--y);
    display: grid;
    width: 17%;
    aspect-ratio: 1;
    place-items: center;
    transform: translate(-50%, -50%);
    border: 1px solid #fff;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 26%, #fff 0%, color-mix(in srgb, var(--tint) 48%, white) 60%, var(--tint) 100%);
    box-shadow: inset 0 0 8px #fff9, 0 4px 16px color-mix(in srgb, var(--tint) 55%, transparent);
    color: #172b45;
}

.particle-ecosystem__node--center {
    width: 29%;
}

.particle-ecosystem__node svg {
    width: 49%;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.particle-evolution__path {
    --marker-size: 23px;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    gap: 7px;
}

.particle-evolution__path::before {
    content: "";
    position: absolute;
    inset: -8px auto calc(var(--marker-size) / 2) calc(var(--marker-size) / 2 - 0.5px);
    width: 1px;
    background: linear-gradient(to top, #19d9f6, #43aafc 17%, #20ddc6 34%, #7fb3ff 50%, #9578ff 67%, #fa7aff 83%, #d275ff);
    opacity: 0.6;
}

.particle-evolution__path::after {
    content: "";
    position: absolute;
    top: -8px;
    left: calc(var(--marker-size) / 2 - 2.5px);
    width: 5px;
    height: 5px;
    border: solid #cb91ef;
    border-width: 1px 0 0 1px;
    transform: rotate(45deg);
}

.particle-evolution__path li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #b6c4d2;
    font-size: 0.8125rem;
    line-height: 1.15;
    white-space: nowrap;
}

.particle-evolution__path strong {
    color: #e6eff9;
    font-weight: 650;
}

.particle-evolution__icon {
    position: relative;
    display: grid;
    flex: 0 0 var(--marker-size);
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--node-color) 45%, transparent);
    border-radius: 50%;
    color: var(--node-color);
    background: #0d1924;
}

.particle-evolution__icon svg {
    width: calc(var(--marker-size) * 0.59);
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.particle-comparison {
    padding-block: 43px 82px;
    border-top: 12px solid #fff;
    background: #f7f8fa;
    color: var(--particle-ink);
}

.particle-comparison__layout {
    display: grid;
    grid-template-columns: minmax(0, 306px) minmax(0, 1fr);
    gap: 44px;
}

.particle-comparison h2 {
    margin-top: 18px;
    font-size: clamp(2.125rem, 2.92vw, 2.625rem);
    line-height: 1.17;
    letter-spacing: -0.02em;
}

.particle-comparison__intro > p:last-child {
    margin-top: 15px;
    color: #4b596a;
    font-size: 0.9375rem;
}

.particle-comparison__rows {
    --comparison-columns: minmax(0, 0.9fr) minmax(0, 0.92fr) minmax(0, 1.24fr);
    display: grid;
    gap: 14px;
    margin-top: 22px;
}

.particle-comparison__columns,
.particle-comparison__row summary {
    display: grid;
    grid-template-columns: var(--comparison-columns);
    gap: 10px;
}

.particle-comparison__columns {
    min-height: 50px;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    font-weight: 700;
    text-align: center;
}

.particle-comparison__columns span {
    display: grid;
    place-items: center;
    padding: 8px;
}

.particle-comparison__columns span:last-child {
    border-radius: 12px;
    background: #d7f0f8;
    color: var(--eqvi-sky-text);
}

.particle-comparison__row {
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
}

.particle-comparison__row summary {
    min-height: 118px;
    padding: 8px;
    list-style: none;
    cursor: pointer;
}

.particle-comparison__row summary::-webkit-details-marker {
    display: none;
}

.particle-comparison__row summary:focus-visible {
    outline: 2px solid var(--particle-blue-on-light);
    outline-offset: -3px;
    border-radius: inherit;
}

.particle-comparison__criterion {
    align-self: center;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 12px 9px 16px;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.3;
}

.particle-comparison__number {
    flex-shrink: 0;
    min-width: 1ch;
    color: var(--eqvi-sky-display);
    font: 750 clamp(1.875rem, 3.2vw, 2.5rem)/1 Montserrat, system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    text-align: center;
}

.particle-comparison__cell {
    position: relative;
    align-content: center;
    padding: 14px 16px;
    border-radius: 10px;
    background: #f2f4f6;
    color: #42505f;
    font-size: 0.875rem;
    line-height: 1.35;
}

.particle-comparison__cell:last-child {
    padding-inline-end: 36px;
    background: #e4f6fb;
    color: #16374a;
}

.particle-comparison__row summary:hover .particle-comparison__cell:last-child,
.particle-comparison__row[open] .particle-comparison__cell:last-child {
    background: #d7f0f8;
}

.particle-comparison__label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

.particle-comparison__arrow {
    position: absolute;
    inset: auto 16px 13px auto;
    color: var(--particle-blue-on-light);
    font-size: 1.125rem;
    font-weight: 700;
}

.particle-comparison__row[open] .particle-comparison__arrow {
    transform: rotate(180deg);
}

.particle-comparison__row > p {
    padding: 8px 24px 23px;
    color: #344356;
    font-size: 0.9375rem;
    line-height: 1.5;
}

@media (max-width: 1130px) {
    .particle-hero__intro {
        max-width: 58ch;
    }

    .particle-comparison__layout {
        grid-template-columns: minmax(0, 220px) minmax(0, 1fr);
        gap: 26px;
    }
}

@media (max-width: 900px) {
    .particle-ecosystem__inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
        min-height: 0;
        padding-block: 44px 27px;
    }

    .particle-ecosystem__description {
        max-width: 48ch;
        margin-top: 23px;
    }

    .particle-comparison__layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .particle-comparison h2 br {
        display: none;
    }

    .particle-comparison__rows {
        margin-top: 0;
    }
}

@media (max-width: 700px) {
    .particle-hero__inner {
        min-height: 0;
        padding-block: 30px 38px;
    }

    .particle-hero__heading {
        grid-template-columns: minmax(0, 1fr) clamp(6.6rem, 34%, 8.6rem);
        column-gap: 12px;
        margin-top: 24px;
    }

    .particle-hero .particle-button {
        width: min(190px, 100%);
        min-width: 0;
        padding-inline: clamp(12px, 4vw, 24px);
        white-space: nowrap;
    }

    .particle-evolution__path {
        --marker-size: 17px;
        gap: 5px;
    }

    .particle-evolution__path li {
        gap: 6px;
        font-size: 0.75rem;
        white-space: normal;
    }

    .particle-hero h1 {
        font-size: clamp(1.5625rem, 7.5vw, 3.5rem);
        line-height: 1.08;
        overflow-wrap: anywhere;
    }

    .particle-hero__intro {
        font-size: 1.0625rem;
        line-height: 1.45;
    }

    .particle-hero__points {
        margin-block: 22px 24px;
    }

    .particle-comparison {
        padding-block: 35px 48px;
    }

    .particle-comparison__columns {
        display: none;
    }

    .particle-comparison__row summary {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }

    .particle-comparison__criterion {
        grid-column: 1 / -1;
        padding: 6px 6px 4px;
    }

    .particle-comparison__cell,
    .particle-comparison__cell:last-child {
        align-content: start;
        padding: 12px 9px 26px;
    }

    .particle-comparison__label {
        display: block;
        position: static;
        width: auto;
        height: auto;
        clip-path: none;
        margin-bottom: 5px;
        font-weight: 700;
    }

    .particle-comparison__arrow {
        inset: auto 9px 4px auto;
    }

    .particle-comparison__row > p {
        padding: 9px 15px 19px;
    }

}

@media (max-width: 360px) {
    .particle-hero__inner {
        padding-block: 26px 30px;
    }

    .particle-hero__heading {
        margin-block: 18px 23px;
    }

    .particle-hero__intro {
        font-size: 1rem;
        line-height: 1.42;
    }

    .particle-hero__points {
        gap: 9px;
        margin-block: 18px 19px;
        font-size: 0.9375rem;
        line-height: 1.45;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}
