:root {
    --black: #050505;
    --surface: #0b0b0b;
    --border: #252525;

    --white: #f4f4f2;
    --gray: #8b8b86;
    --dark-gray: #555550;
}


* {
    box-sizing: border-box;
}


html,
body {
    margin: 0;
    min-height: 100%;
}


body {
    background: var(--black);
    color: var(--white);

    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    -webkit-font-smoothing: antialiased;
}


a {
    color: inherit;
    text-decoration: none;
}


.page {
    width: min(1120px, calc(100% - 48px));
    min-height: 100vh;

    margin: auto;

    display: flex;
    flex-direction: column;
}


/* ================= HEADER ================= */

.header {
    height: 86px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    border-bottom: 1px solid var(--border);
}


.brand {
    display: flex;
    align-items: center;
    gap: 11px;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: -0.02em;
}


.brand img {
    width: 31px;
    height: 31px;

    object-fit: contain;

    filter: invert(1);
}


.secure {
    color: var(--dark-gray);

    font-size: 8px;
    font-weight: 700;

    letter-spacing: 0.18em;
}


/* ================= CHECKOUT ================= */

.checkout {
    flex: 1;

    min-height: calc(100vh - 186px);

    display: grid;

    grid-template-columns: 1fr 390px;

    align-items: center;

    gap: 120px;

    padding: 70px 0;
}


/* ================= PRODUCT ================= */

.product-label {
    color: #666661;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.22em;
}


h1 {
    margin: 16px 0 28px;

    font-size: clamp(70px, 9vw, 112px);

    line-height: 0.88;

    letter-spacing: -0.085em;

    font-weight: 800;
}


.description {
    max-width: 540px;

    margin: 0;

    color: #aaa;

    font-size: 16px;

    line-height: 1.7;
}


.description.muted {
    margin-top: 10px;

    color: #666661;

    font-size: 13px;
}


/* ================= PURCHASE CARD ================= */

.purchase {
    background: var(--surface);

    border: 1px solid var(--border);

    padding: 25px;

    box-shadow:
        0 35px 90px rgba(0, 0, 0, 0.4);
}


.purchase-header {
    display: flex;
    align-items: center;

    gap: 12px;

    padding-bottom: 23px;

    border-bottom: 1px solid #202020;
}


.product-icon {
    width: 38px;
    height: 38px;

    display: grid;
    place-items: center;

    border: 1px solid #292929;
}


.product-icon img {
    width: 25px;
    height: 25px;

    object-fit: contain;

    filter: invert(1);
}


.product-name strong {
    display: block;

    font-size: 12px;
}


.product-name span {
    display: block;

    margin-top: 3px;

    color: #5e5e59;

    font-size: 9px;
}


/* ================= PRICE ================= */

.price-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    padding: 30px 0 20px;
}


.price {
    font-size: 66px;

    line-height: 0.85;

    letter-spacing: -0.08em;

    font-weight: 800;
}


.currency {
    margin-left: 5px;

    color: #5f5f5b;

    font-size: 9px;

    font-weight: 700;
}


.one-time {
    color: #62625e;

    font-size: 8px;

    font-weight: 800;

    letter-spacing: 0.15em;
}


/* ================= OFFER ================= */

.offer {
    display: flex;
    align-items: center;

    gap: 9px;

    padding: 12px;

    border: 1px solid #202020;

    background: #101010;

    color: #777772;

    font-size: 9px;
}


.offer strong {
    color: #b5b5b0;
}


.offer-dot {
    width: 6px;
    height: 6px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #eee;
}


/* ================= BUY ================= */

.buy-button {
    width: 100%;
    height: 59px;

    margin-top: 14px;

    padding: 0 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    background: #f4f4f2;
    color: #050505;

    font-size: 12px;
    font-weight: 800;

    transition:
        transform 0.25s ease,
        background 0.25s ease;
}


.buy-button:hover {
    background: #fff;

    transform: translateY(-2px);
}


.arrow {
    font-size: 21px;

    font-weight: 400;
}


.checkout-note {
    margin: 13px 0 0;

    color: #4f4f4b;

    font-size: 8px;

    text-align: center;
}


/* ================= FOOTER ================= */

footer {
    min-height: 100px;

    display: flex;
    align-items: center;

    gap: 25px;

    border-top: 1px solid var(--border);

    color: #454541;

    font-size: 8px;
}


footer span {
    margin-right: auto;
}


footer a {
    transition: color 0.2s ease;
}


footer a:hover {
    color: #aaa;
}


/* ================= MOBILE ================= */

@media (max-width: 800px) {

    .checkout {
        grid-template-columns: 1fr;

        gap: 55px;

        padding: 65px 0;
    }


    .product {
        max-width: 650px;
    }


    .purchase {
        width: min(100%, 500px);

        margin: auto;
    }

}


@media (max-width: 520px) {

    .page {
        width: calc(100% - 32px);
    }


    .header {
        height: 72px;
    }


    .brand {
        font-size: 11px;
    }


    .brand img {
        width: 27px;
        height: 27px;
    }


    .secure {
        font-size: 7px;
    }


    .checkout {
        padding: 55px 0;
    }


    h1 {
        font-size: 65px;
    }


    .description {
        font-size: 14px;
    }


    .purchase {
        padding: 20px;
    }


    .price {
        font-size: 58px;
    }


    footer {
        min-height: 90px;

        flex-wrap: wrap;

        padding: 20px 0;
    }


    footer span {
        width: 100%;
    }

}