.po {
    --fp-acc: #4f6bed;
    --fp-soft: #eef1fe;
    --po-bg: #090b10;
    --po-blue: #8ab4ff;
    --po-mint: #9fe6c8;
}

.po-hero {
    position: relative;
    isolation: isolate;
    margin-top: -64px;
    padding: 156px 0 96px;
    overflow: clip;
    background: var(--po-bg);
    color: #fff;
}

.po-hero__bg i {
    position: absolute;
    inset: 0;
    z-index: -1;
    background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 30%, transparent 80%);
}

.po-hero__bg span {
    position: absolute;
    z-index: -1;
    border-radius: 50%;
    filter: blur(120px);
}

.po-hero__bg span:nth-child(2) {
    left: 10%;
    top: 20%;
    width: 520px;
    height: 420px;
    background: rgba(138, 180, 255, .16);
}

.po-hero__bg span:nth-child(3) {
    right: 8%;
    top: 46%;
    width: 520px;
    height: 420px;
    background: rgba(159, 230, 200, .1);
}

.po-hero__copy {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.po-hero .fp-desc {
    margin-left: auto;
    margin-right: auto;
    color: #a3abbd;
}

.po-hero .fp-btn {
    background: #fff;
    color: #0b0b12;
}

.po-center {
    justify-content: center;
}

.po-router {
    display: grid;
    grid-template-columns: 320px 1fr 240px;
    align-items: center;
    max-width: 1040px;
    margin: 64px auto 0;
    padding: 28px;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015));
    box-shadow: 0 60px 120px -60px rgba(0, 0, 0, .8), inset 0 1px 0 rgba(255, 255, 255, .06);
}

.po-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1.586;
    border-radius: 20px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: radial-gradient(120% 140% at 0% 0%, #2a3350 0%, #12151f 55%, #0c0e14 100%);
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .8);
}

.po-card__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.po-chip {
    width: 42px;
    height: 32px;
    border-radius: 7px;
    background: linear-gradient(135deg, #d9c38a, #a98c4d);
    position: relative;
}

.po-chip::after {
    content: "";
    position: absolute;
    inset: 7px 10px;
    border: 1px solid rgba(60, 40, 10, .35);
    border-radius: 4px;
}

.po-card__fam {
    height: 28px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(159, 230, 200, .14);
    color: var(--po-mint);
    font-size: 13px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-4px);
    transition: opacity .4s, transform .4s;
}

.po-card__fam.is-on {
    opacity: 1;
    transform: none;
}

.po-card__num {
    margin: 0;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 19px;
    letter-spacing: .08em;
    color: #e9edf7;
}

.po-card__mask {
    color: #6a7186;
}

.po-card__bot {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #8a91a6;
}

.po-card__bot b {
    color: #fff;
    font-size: 15px;
}

.po-card__scan {
    position: absolute;
    left: 0;
    right: 0;
    top: -40%;
    height: 40%;
    background: linear-gradient(180deg, transparent, rgba(138, 180, 255, .18), transparent);
    opacity: 0;
}

.po-card.is-scan .po-card__scan {
    animation: po-scan 1.1s ease-in-out;
}

@keyframes po-scan {
    0% { top: -40%; opacity: 1; }
    100% { top: 100%; opacity: 1; }
}

.po-wires {
    width: 100%;
    height: 300px;
    overflow: visible;
}

.po-wire {
    fill: none;
    stroke: rgba(255, 255, 255, .1);
    stroke-width: 1.5;
    vector-effect: non-scaling-stroke;
}

.po-wire--flow {
    stroke: var(--po-blue);
    stroke-width: 2.5;
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    opacity: 0;
    filter: drop-shadow(0 0 6px rgba(138, 180, 255, .8));
}

.po-wire--flow.is-on {
    opacity: 1;
    animation: po-draw .9s cubic-bezier(.4, 0, .2, 1) forwards;
}

@keyframes po-draw {
    to { stroke-dashoffset: 0; }
}

.po-nodes {
    list-style: none;
    margin: 0;
    padding: 0;
    height: 300px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
}

.po-nodes li {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .03);
    font-size: 13.5px;
    color: #b9c0d0;
    transition: background .4s, border-color .4s, color .4s, box-shadow .4s;
}

.po-nodes li i {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #3a4152;
    transition: background .4s, box-shadow .4s;
}

.po-nodes li em {
    margin-left: auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--po-mint);
    color: #0b1410;
    opacity: 0;
    transform: scale(.6);
    transition: opacity .3s, transform .3s;
}

.po-nodes li em .fp-ico {
    width: 13px;
    height: 13px;
}

.po-nodes li.is-on {
    color: #fff;
    border-color: rgba(138, 180, 255, .45);
    background: rgba(138, 180, 255, .1);
    box-shadow: 0 0 0 4px rgba(138, 180, 255, .08);
}

.po-nodes li.is-on i {
    background: var(--po-blue);
    box-shadow: 0 0 10px var(--po-blue);
}

.po-nodes li.is-ok em {
    opacity: 1;
    transform: none;
}

.po-trail {
    list-style: none;
    margin: 18px auto 0;
    padding: 0;
    max-width: 1040px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.po-trail li {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .07);
    background: rgba(255, 255, 255, .025);
    transition: border-color .4s, background .4s;
}

.po-trail small {
    display: block;
    font-size: 12px;
    color: #7f879b;
}

.po-trail b {
    display: block;
    margin-top: 3px;
    min-height: 1.4em;
    font-size: 15px;
}

.po-trail li.is-lit {
    border-color: rgba(138, 180, 255, .3);
    background: rgba(138, 180, 255, .06);
}

.po-trail li.is-ok.is-lit {
    border-color: rgba(159, 230, 200, .35);
    background: rgba(159, 230, 200, .07);
}

.po-trail li.is-ok b {
    color: var(--po-mint);
}

.po-hero .fp-chips {
    margin-top: 36px;
}

.po-matrix {
    display: grid;
    grid-template-columns: 1.35fr .85fr;
    gap: 20px;
    max-width: 1120px;
    margin: 0 auto;
}

.po-matrix > * {
    min-width: 0;
}

.po-table {
    border-radius: 26px;
    border: 1px solid var(--fp-line);
    background: #fff;
    padding: 10px;
    box-shadow: 0 40px 80px -56px rgba(30, 40, 90, .45);
    overflow-x: auto;
}

.po-table__h,
.po-row {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr repeat(4, minmax(64px, .8fr));
    gap: 8px;
    align-items: center;
    min-width: 560px;
}

.po-table__h {
    padding: 10px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #8a8fa3;
}

.po-row {
    width: 100%;
    padding: 14px;
    border: 0;
    border-radius: 14px;
    background: none;
    font: inherit;
    text-align: left;
    cursor: pointer;
    color: var(--fp-ink);
    transition: background .25s;
}

.po-row + .po-row {
    margin-top: 2px;
}

.po-row:hover {
    background: #f7f8fc;
}

.po-row.is-on {
    background: #0e1220;
    color: #fff;
}

.po-row__fam {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    font-size: 14.5px;
}

.po-row__fam i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 2px solid #c9cfe0;
}

.po-row.is-on .po-row__fam i {
    border-color: var(--po-mint);
    background: var(--po-mint);
}

.po-row__pos {
    font-size: 13px;
    padding: 4px 10px;
    border-radius: 999px;
    background: #f1f3f9;
    justify-self: start;
    white-space: nowrap;
}

.po-row.is-on .po-row__pos {
    background: rgba(255, 255, 255, .1);
}

.po-row__r {
    font-size: 13.5px;
    font-variant-numeric: tabular-nums;
    color: #4b5068;
}

.po-row.is-on .po-row__r {
    color: #c9d3ec;
}

.po-calc {
    border-radius: 26px;
    background: #0e1220;
    color: #fff;
    padding: 22px;
    box-shadow: 0 40px 80px -40px rgba(14, 18, 32, .6);
}

.po-calc__top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.po-calc__top small {
    display: block;
    font-size: 12px;
    color: #8a91a6;
}

.po-calc__top b {
    font-size: 26px;
    letter-spacing: -.02em;
    font-variant-numeric: tabular-nums;
}

.po-calc__fam {
    height: 28px;
    padding: 0 12px;
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: rgba(159, 230, 200, .14);
    color: var(--po-mint);
    font-size: 12.5px;
    font-weight: 700;
}

.po-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    margin: 18px 0 8px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: rgba(255, 255, 255, .04);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
}

.po-toggle i {
    position: relative;
    width: 40px;
    height: 24px;
    flex: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    transition: background .25s;
}

.po-toggle i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform .25s;
}

.po-toggle[aria-pressed="true"] i {
    background: #6f8cff;
}

.po-toggle[aria-pressed="true"] i::after {
    transform: translateX(16px);
}

.po-calc__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.po-calc__list li {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2px 12px;
    padding: 12px 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    animation: po-in .4s cubic-bezier(.2, .7, .2, 1) both;
}

@keyframes po-in {
    from { opacity: 0; transform: translateY(6px); }
}

.po-calc__list b {
    font-size: 14.5px;
}

.po-calc__list small {
    font-size: 12px;
    color: #8a91a6;
}

.po-calc__list em {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
    font-style: normal;
    font-weight: 700;
    font-size: 15px;
    font-variant-numeric: tabular-nums;
}

.po-calc__note {
    margin: 12px 4px 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: #8a91a6;
}

.po-sec--dark {
    background: var(--po-bg);
    color: #fff;
}

.po-flow {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.po-flow__line {
    position: absolute;
    left: 12%;
    right: 12%;
    top: 30px;
    height: 2px;
    background: rgba(255, 255, 255, .08);
    overflow: hidden;
}

.po-flow__line span {
    position: absolute;
    top: 0;
    left: -30%;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--po-blue), transparent);
    animation: po-run 2.8s linear infinite;
}

@keyframes po-run {
    to { left: 100%; }
}

.po-flow li {
    position: relative;
    text-align: center;
    padding: 0 8px;
}

.po-flow__ic {
    width: 60px;
    height: 60px;
    margin: 0 auto 18px;
    border-radius: 18px;
    display: grid;
    place-items: center;
    background: #121623;
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--po-blue);
    position: relative;
    z-index: 1;
    transition: border-color .4s, box-shadow .4s, color .4s;
}

.po-flow__ic .fp-ico {
    width: 24px;
    height: 24px;
}

.po-flow li.is-on .po-flow__ic {
    border-color: rgba(138, 180, 255, .55);
    box-shadow: 0 0 0 6px rgba(138, 180, 255, .08), 0 0 30px rgba(138, 180, 255, .25);
    color: #fff;
}

.po-flow em {
    display: block;
    font-style: normal;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    color: #6f7790;
}

.po-flow b {
    display: block;
    margin-top: 4px;
    font-size: 17px;
}

.po-flow small {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: #9aa2b6;
}

.po-controls {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 44px;
}

.po-ctl {
    position: relative;
    padding: 22px;
    border-radius: 22px;
    border: 1px solid var(--fp-line);
    background: #fff;
    transition: transform .25s, box-shadow .25s;
}

.po-ctl:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 40px -28px rgba(30, 40, 90, .35);
}

.po-ctl__ic {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: var(--fp-soft);
    color: var(--fp-acc);
    margin-bottom: 16px;
}

.po-ctl b {
    display: block;
    font-size: 16px;
    padding-right: 64px;
}

.po-ctl small {
    display: block;
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.55;
    color: var(--fp-mute);
}

.po-val,
.po-sw {
    position: absolute;
    top: 22px;
    right: 22px;
}

.po-val {
    height: 30px;
    padding: 0 12px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: #f3f4f8;
    border: 1px solid #e7e9f1;
    font-size: 13px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}

.po-sw {
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: #e3e5ee;
}

.po-sw i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .15);
}

.po-sw.is-on {
    background: var(--fp-acc);
}

.po-sw.is-on i {
    transform: translateX(18px);
}

.po-secure {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    min-height: 460px;
    display: flex;
    align-items: center;
    background: #0a0c12;
}

.po-secure img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 30% 50%;
}

.po-secure::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 12, 18, .1) 20%, rgba(10, 12, 18, .92) 62%);
}

.po-secure__copy {
    position: relative;
    z-index: 1;
    margin-left: auto;
    max-width: 480px;
    padding: 56px 56px 56px 0;
    color: #fff;
}

.po-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 26px;
}

.po-badges > span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 13px;
    font-weight: 600;
}

.po-badges .fp-ico {
    width: 16px;
    height: 16px;
    color: var(--po-mint);
}

.po-cta {
    position: relative;
    overflow: hidden;
    border-radius: 32px;
    background: var(--po-bg);
    color: #fff;
    padding: 0 0 80px;
    text-align: center;
}

.po-cta__marq {
    list-style: none;
    margin: 0 0 64px;
    padding: 22px 0;
    display: flex;
    gap: 14px;
    width: max-content;
    animation: po-marq 40s linear infinite;
}

.po-cta::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 84px;
    height: 1px;
    background: rgba(255, 255, 255, .06);
}

.po-cta {
    mask-image: none;
}

.po-cta__marq li:first-child {
    margin-left: 14px;
}

.po-cta__marq li {
    height: 40px;
    padding: 0 18px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    font-size: 14px;
    font-weight: 600;
    color: #c4cad8;
    white-space: nowrap;
}

@keyframes po-marq {
    to { transform: translateX(-50%); }
}

.po-cta__copy {
    max-width: 560px;
    margin: 0 auto;
    padding: 0 20px;
}

.po-cta .fp-lead {
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .po-router {
        grid-template-columns: 1fr;
        gap: 18px;
        max-width: 520px;
    }

    .po-wires {
        display: none;
    }

    .po-nodes {
        height: auto;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .po-trail {
        grid-template-columns: 1fr 1fr;
        max-width: 520px;
    }

    .po-matrix {
        grid-template-columns: 1fr;
    }

    .po-controls {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 720px) {
    .po-hero {
        padding: 116px 0 72px;
    }

    .po-router {
        margin-top: 44px;
        padding: 14px;
        border-radius: 24px;
    }

    .po-card {
        padding: 16px;
    }

    .po-card__num {
        font-size: 16px;
    }

    .po-nodes li {
        font-size: 12.5px;
        padding: 0 10px;
    }

    .po-trail li {
        padding: 12px;
    }

    .po-trail b {
        font-size: 14px;
    }

    .po-table {
        padding: 6px;
        border-radius: 22px;
    }

    .po-calc {
        padding: 16px;
        border-radius: 22px;
    }

    .po-flow {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .po-flow__line {
        display: none;
    }

    .po-controls {
        grid-template-columns: 1fr;
    }

    .po-secure {
        flex-direction: column;
        min-height: 0;
        border-radius: 26px;
    }

    .po-secure img {
        position: relative;
        height: 240px;
    }

    .po-secure::after {
        display: none;
    }

    .po-secure__copy {
        padding: 28px 22px 34px;
        margin: 0;
    }

    .po-cta {
        border-radius: 26px;
    }
}

@media (max-width: 720px) {
    .po-table__h,
    .po-row {
        min-width: 0;
        grid-template-columns: 1fr auto;
    }

    .po-table__h span:nth-child(n + 3),
    .po-row__r {
        display: none;
    }
}
