.order-proof {
    --proof-blue: #0a3eaa;
    --proof-dark: #061b55;
    --proof-light: #8eb8ff;
    --proof-mint: #64e5b4;
    position: relative;
    overflow: hidden;
    padding: 62px 0 70px;
    color: #fff;
    background:
        radial-gradient(circle at 50% 26%, rgba(34, 102, 230, .34), transparent 42%),
        linear-gradient(135deg, #08276e 0%, var(--proof-blue) 48%, var(--proof-dark) 100%);
}

.order-proof,
.order-proof * {
    box-sizing: border-box;
}

.order-proof::before,
.order-proof::after {
    position: absolute;
    border: 1px solid rgba(122, 170, 255, .12);
    border-radius: 50%;
    content: "";
}

.order-proof::before {
    top: -250px;
    left: -140px;
    width: 650px;
    height: 650px;
}

.order-proof::after {
    right: -220px;
    bottom: -370px;
    width: 780px;
    height: 780px;
}

.order-proof__inner {
    position: relative;
    z-index: 1;
    width: min(1540px, calc(100% - 64px));
    margin: 0 auto;
}

.order-proof__section-no {
    display: table;
    margin: 0 auto;
    padding-bottom: 9px;
    border-bottom: 2px solid var(--proof-mint);
    color: #fff;
    font-size: 20px;
    font-weight: 850;
    line-height: 1;
}

.order-proof h2 {
    margin: 28px 0 44px;
    color: #fff;
    font-size: clamp(48px, 4vw, 66px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -4px;
    text-align: center;
    word-break: keep-all;
}

.order-proof__rail {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}

.order-proof__rail::before {
    position: absolute;
    z-index: 0;
    right: 5%;
    bottom: 116px;
    left: 5%;
    height: 5px;
    border-radius: 10px;
    background: linear-gradient(90deg, #74a9ff, #99c2ff 55%, #68e2b2);
    box-shadow: 0 0 0 5px rgba(120, 169, 255, .15);
    content: "";
}

.order-proof__metric {
    position: relative;
    z-index: 1;
    min-width: 0;
    text-align: center;
}

.order-proof__icon {
    display: flex;
    width: 56px;
    height: 56px;
    margin: 0 auto 18px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: #eff6ff;
    font-size: 28px;
    line-height: 1;
}

.order-proof__visual {
    height: 210px;
}

.order-proof__visual svg {
    display: block;
    width: 100%;
    height: 100%;
    fill: none;
    stroke: #8eb5fc;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2.2;
}

.order-proof__visual .route {
    stroke-dasharray: 4 7;
}

.order-proof__visual .hub,
.order-proof__visual .clock {
    stroke: #fff;
    stroke-width: 3;
}

.order-proof__visual .main-store,
.order-proof__visual .barcode,
.order-proof__visual .basket {
    stroke: #b9d0ff;
    stroke-width: 3;
}

.order-proof__visual .scan-frame,
.order-proof__visual .receipt,
.order-proof__visual .store {
    stroke: #9cbcff;
}

.order-proof__visual .product {
    fill: rgba(80, 130, 226, .18);
}

.order-proof__visual .accent,
.order-proof__visual .success {
    stroke: var(--proof-mint);
    stroke-width: 3.2;
}

.order-proof__visual .success {
    fill: rgba(100, 229, 180, .08);
}

.order-proof__visual .small-store circle {
    fill: rgba(77, 128, 226, .1);
}

.order-proof__checkpoint {
    position: relative;
    width: 44px;
    height: 44px;
    margin: -3px auto 23px;
    border: 5px solid #d7e5ff;
    border-radius: 50%;
    background: var(--proof-mint);
    box-shadow:
        0 0 0 8px rgba(77, 133, 237, .46),
        0 0 0 13px rgba(100, 229, 180, .1);
}

.order-proof__value {
    display: flex;
    min-height: 78px;
    align-items: baseline;
    justify-content: center;
    margin: 0;
    color: #fff;
    line-height: 1;
    white-space: nowrap;
}

.order-proof__value strong {
    font-size: clamp(52px, 4.9vw, 82px);
    font-weight: 850;
    letter-spacing: -4px;
}

.order-proof__value span {
    margin-left: 5px;
    font-size: clamp(28px, 2.4vw, 42px);
    font-weight: 800;
    letter-spacing: -2px;
}

.order-proof__label {
    margin: 12px 0 0;
    color: #e5edff;
    font-size: 18px;
    font-weight: 550;
    line-height: 1.4;
    letter-spacing: -.55px;
    word-break: keep-all;
}

@media (max-width: 1100px) {
    .order-proof__inner {
        width: min(960px, calc(100% - 48px));
    }

    .order-proof__rail {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 45px 20px;
    }

    .order-proof__rail::before {
        display: none;
    }

    .order-proof__metric {
        padding: 24px 12px 28px;
        border-bottom: 1px solid rgba(158, 190, 246, .32);
    }

    .order-proof__visual {
        height: 190px;
    }

    .order-proof__checkpoint {
        margin-top: -7px;
    }
}

@media (max-width: 640px) {
    .order-proof {
        padding: 70px 0 76px;
    }

    .order-proof__inner {
        width: calc(100% - 36px);
    }

    .order-proof__section-no {
        font-size: 16px;
    }

    .order-proof h2 {
        margin: 25px 0 38px;
        font-size: 35px;
        line-height: 1.22;
        letter-spacing: -2px;
    }

    .order-proof h2 span {
        display: block;
    }

    .order-proof__rail {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .order-proof__metric {
        display: grid;
        min-height: 175px;
        grid-template-columns: 120px 1fr;
        grid-template-rows: auto auto;
        align-items: center;
        padding: 20px 0;
        text-align: left;
    }

    .order-proof__visual {
        grid-row: 1 / 3;
        width: 120px;
        height: 120px;
    }

    .order-proof__checkpoint {
        position: absolute;
        top: 50%;
        left: 108px;
        width: 22px;
        height: 22px;
        margin: 0;
        border-width: 3px;
        box-shadow: 0 0 0 5px rgba(77, 133, 237, .4);
        transform: translateY(-50%);
    }

    .order-proof__value {
        min-height: 0;
        align-self: end;
        justify-content: flex-start;
        padding-left: 24px;
    }

    .order-proof__value strong {
        font-size: 45px;
        letter-spacing: -2.7px;
    }

    .order-proof__value span {
        font-size: 24px;
        letter-spacing: -1.2px;
    }

    .order-proof__label {
        align-self: start;
        margin-top: 10px;
        padding-left: 24px;
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .order-proof * {
        scroll-behavior: auto !important;
    }
}
