.pos-showcase,
.pos-roadmap {
    overflow: clip;
}

.pos-showcase {
    padding: 118px 0 126px;
    background: #eef3f7;
}

.pos-showcase__heading {
    max-width: 900px;
    margin: 0 auto 38px;
    text-align: center;
}

.pos-showcase__heading h2,
.pos-roadmap__heading h2 {
    margin: 12px 0 20px;
    color: #082b4c;
    font-size: 58px;
    font-weight: 500;
    line-height: 1.08;
}

.pos-showcase__heading p,
.pos-roadmap__heading > p {
    max-width: 690px;
    margin: 0 auto;
    color: #587084;
    font-size: 15px;
    line-height: 1.75;
}

.pos-showcase__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: min(720px, 100%);
    margin: 0 auto 48px;
    padding: 5px;
    border: 1px solid #c8d6e0;
    border-radius: 7px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(12, 45, 70, .06);
}

.pos-showcase__tabs button {
    min-width: 0;
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 10px 14px;
    border: 0;
    border-radius: 4px;
    color: #536d81;
    background: transparent;
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.pos-showcase__tabs button:hover {
    color: #0b4d86;
    background: #f3f8fc;
}

.pos-showcase__tabs button[aria-selected="true"] {
    color: #fff;
    background: #0a65b7;
    box-shadow: 0 5px 14px rgba(10, 101, 183, .2);
}

.pos-showcase__tabs svg {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
}

.pos-device-stage {
    position: relative;
    width: min(1180px, 100%);
    margin: 0 auto;
    padding: 8px 0 44px;
}

.pos-device-stage::after {
    content: "";
    position: absolute;
    z-index: 0;
    right: 18%;
    bottom: 28px;
    left: 18%;
    height: 18px;
    border-radius: 50%;
    background: rgba(8, 32, 52, .2);
    filter: blur(15px);
}

.pos-device {
    position: relative;
    z-index: 1;
    width: 100%;
}

.pos-device__display {
    position: relative;
    width: 100%;
    aspect-ratio: 1.76 / 1;
    padding: 14px 14px 30px;
    border: 1px solid #56636d;
    border-radius: 10px;
    background: #11171c;
    box-shadow: 0 30px 70px rgba(2, 18, 32, .24), inset 0 0 0 1px #080d11;
}

.pos-device__camera {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 4px;
    height: 4px;
    border: 1px solid #43515b;
    border-radius: 50%;
    background: #05090c;
    transform: translateX(-50%);
}

.pos-device__screen {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border: 1px solid #05080a;
    border-radius: 3px;
    background: #080b0e;
    box-shadow: inset 0 0 0 1px #252d33;
    container-type: inline-size;
}

.pos-device__view {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(.992);
    transition: opacity .28s ease, transform .35s ease, visibility 0s linear .35s;
}

.pos-device__view.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition-delay: 0s;
}

.pos-device__view img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: auto;
}

.pos-device__admin {
    position: absolute;
    top: 93.45%;
    left: 3.45%;
    width: 7.3%;
    height: 2.1%;
    display: flex;
    align-items: center;
    padding-left: .25%;
    color: #081d34;
    background: #f8fafc;
    font-size: .72cqi;
    font-weight: 600;
    line-height: 1;
}

.pos-device__brand {
    position: absolute;
    bottom: 8px;
    left: 50%;
    color: #73818b;
    font-size: 8px;
    font-weight: 600;
    transform: translateX(-50%);
}

.pos-device__hinge {
    position: relative;
    z-index: 2;
    width: 7%;
    height: 18px;
    margin: -8px auto 0;
    border: 1px solid #4b5963;
    border-radius: 50%;
    background: #1b252c;
}

.pos-device__stand {
    width: 12%;
    height: 58px;
    margin: -3px auto 0;
    border-right: 1px solid #52606a;
    border-left: 1px solid #1a242b;
    background: #303b43;
}

.pos-device__foot {
    width: 34%;
    height: 16px;
    margin: -1px auto 0;
    border: 1px solid #43525d;
    border-radius: 50% 50% 6px 6px;
    background: #2b353d;
    box-shadow: 0 12px 18px rgba(3, 17, 29, .2), inset 0 1px #59656e;
    transform: perspective(260px) rotateX(58deg);
}

.pos-device__expand {
    position: absolute;
    z-index: 3;
    top: 26px;
    right: 18px;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 4px;
    color: #fff;
    background: rgba(8, 29, 47, .82);
    cursor: pointer;
    transition: background-color .2s ease, transform .2s ease;
}

.pos-device__expand:hover {
    background: #0879de;
    transform: translateY(-2px);
}

.pos-device__expand svg {
    width: 18px;
}

.pos-showcase__details {
    width: min(1040px, 100%);
    margin: 12px auto 0;
    border-top: 1px solid #c5d5e0;
}

.pos-showcase__details article {
    grid-template-columns: 1fr .9fr;
    gap: 72px;
    align-items: start;
    padding: 42px 0 0;
}

.pos-showcase__details article:not([hidden]) {
    display: grid;
}

.pos-showcase__details article > span {
    grid-column: 1 / -1;
    margin-bottom: -50px;
    color: #0879de;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.pos-showcase__details h3 {
    margin: 0 0 14px;
    color: #0a2f4e;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.18;
}

.pos-showcase__details p {
    margin: 0;
    color: #61798c;
    font-size: 13px;
    line-height: 1.75;
}

.pos-showcase__details ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 13px 20px;
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
}

.pos-showcase__details li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #34556d;
    font-size: 11px;
}

.pos-showcase__details li svg {
    width: 17px;
    height: 17px;
    color: #149774;
}

.pos-screen-dialog {
    width: min(96vw, 1800px);
    max-width: none;
    max-height: 94vh;
    padding: 0;
    border: 1px solid #3e4f5c;
    border-radius: 6px;
    background: #0b1218;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .42);
}

.pos-screen-dialog::backdrop {
    background: rgba(2, 10, 17, .86);
}

.pos-screen-dialog__bar {
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 10px 8px 18px;
    border-bottom: 1px solid #293945;
    color: #e8f2f8;
}

.pos-screen-dialog__bar strong {
    font-size: 12px;
    font-weight: 600;
}

.pos-screen-dialog__bar button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 4px;
    color: #dce8ef;
    background: #17242d;
    cursor: pointer;
}

.pos-screen-dialog__bar svg {
    width: 18px;
}

.pos-screen-dialog__viewport {
    max-height: calc(94vh - 53px);
    overflow: auto;
}

.pos-screen-dialog__viewport img {
    display: block;
    width: auto;
    min-width: 100%;
    max-width: none;
    height: auto;
}

.pos-roadmap {
    padding: 112px 0;
    background: #eaf2f7;
}

.pos-roadmap__heading {
    max-width: 780px;
    margin-bottom: 44px;
}

.pos-roadmap__heading h2 {
    font-size: 56px;
}

.pos-roadmap__heading > p {
    max-width: 650px;
    margin: 20px 0 0;
}

.pos-roadmap__grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 20px;
}

.pos-integrations,
.pos-loyalty {
    display: grid;
    grid-template-columns: 50px 1fr;
    gap: 22px;
    padding: 34px;
    border: 1px solid #c5d6e2;
    border-radius: 6px;
    background: #fff;
}

.pos-roadmap__icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border: 1px solid #afd0e8;
    border-radius: 4px;
    color: #0879de;
    background: #edf7ff;
}

.pos-roadmap__icon svg {
    width: 22px;
}

.pos-status {
    color: #0879de;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.pos-roadmap h3 {
    margin: 8px 0 10px;
    color: #0b2f4e;
    font-size: 23px;
    font-weight: 600;
}

.pos-roadmap article p {
    margin: 0;
    color: #647b8d;
    font-size: 12px;
    line-height: 1.7;
}

.pos-brand-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 8px;
    border: 1px solid #d3e0e8;
}

.pos-brand-list span {
    padding: 18px;
    color: #0b3356;
    font-size: 17px;
    font-weight: 600;
}

.pos-brand-list span + span {
    border-left: 1px solid #d3e0e8;
}

.pos-brand-list small {
    display: block;
    margin-top: 5px;
    color: #728698;
    font-size: 9px;
    font-weight: 500;
}

.pos-loyalty ul {
    grid-column: 1 / -1;
    display: grid;
    gap: 10px;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}

.pos-loyalty li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #34536b;
    font-size: 11px;
}

.pos-loyalty li svg {
    width: 17px;
    color: #159b7a;
}

.pos-roadmap__note {
    display: flex;
    gap: 9px;
    align-items: center;
    margin: 20px 0 0;
    color: #60768a;
    font-size: 10px;
}

.pos-roadmap__note svg {
    width: 16px;
    color: #0879de;
}

.pos-motion-ready .pos-reveal {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s ease, transform .65s cubic-bezier(.2, .75, .25, 1);
    transition-delay: var(--pos-delay, 0ms);
}

.pos-motion-ready .pos-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (max-width: 1100px) {
    .pos-showcase__heading h2,
    .pos-roadmap__heading h2 {
        font-size: 46px;
    }

    .pos-roadmap__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .pos-showcase,
    .pos-roadmap {
        padding: 76px 0;
    }

    .pos-showcase__heading {
        margin-bottom: 28px;
        text-align: left;
    }

    .pos-showcase__heading h2,
    .pos-roadmap__heading h2 {
        font-size: 36px;
    }

    .pos-showcase__tabs {
        margin-bottom: 30px;
    }

    .pos-showcase__tabs button {
        min-height: 52px;
        gap: 5px;
        padding: 8px 5px;
        font-size: 9px;
    }

    .pos-showcase__tabs svg {
        width: 15px;
        height: 15px;
        flex-basis: 15px;
    }

    .pos-device-stage {
        width: calc(100% + 16px);
        margin-left: -8px;
        padding-bottom: 24px;
    }

    .pos-device__display {
        padding: 7px 7px 16px;
        border-radius: 6px;
    }

    .pos-device__brand {
        bottom: 4px;
        font-size: 5px;
    }

    .pos-device__hinge {
        height: 10px;
        margin-top: -4px;
    }

    .pos-device__stand {
        height: 32px;
    }

    .pos-device__foot {
        height: 10px;
    }

    .pos-device__expand {
        top: 15px;
        right: 9px;
        width: 34px;
        height: 34px;
    }

    .pos-showcase__details article:not([hidden]) {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pos-showcase__details article > span {
        margin-bottom: -8px;
    }

    .pos-showcase__details h3 {
        font-size: 27px;
    }

    .pos-showcase__details ul {
        grid-template-columns: 1fr;
    }

    .pos-brand-list {
        grid-template-columns: 1fr 1fr;
    }

    .pos-brand-list span + span {
        border-left: 0;
    }

    .pos-brand-list span:nth-child(even) {
        border-left: 1px solid #d3e0e8;
    }

    .pos-brand-list span:nth-child(n+3) {
        border-top: 1px solid #d3e0e8;
    }

    .pos-integrations,
    .pos-loyalty {
        padding: 24px 20px;
        grid-template-columns: 42px 1fr;
        gap: 15px;
    }

    .pos-screen-dialog {
        width: 100vw;
        max-height: 100vh;
        border-radius: 0;
    }

    .pos-screen-dialog__viewport {
        max-height: calc(100vh - 53px);
    }

    .pos-screen-dialog__viewport img {
        min-width: 1100px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pos-device__view,
    .pos-motion-ready .pos-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pos-device__view:not(.is-active) {
        display: none;
    }
}
