.how-page {
    background: #f6f8fa;
    color: #182033;
}

.how-container {
    max-width: 1320px;
}

.how-hero {
    overflow: hidden;
    padding: 76px 0;
    background:
        radial-gradient(circle at 83% 16%, rgba(32, 187, 115, 0.22), transparent 28%),
        linear-gradient(135deg, #10182c 0%, #17213a 57%, #123b31 100%);
}

.how-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(390px, 0.85fr);
    align-items: center;
    gap: 90px;
}

.how-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 17px;
    padding: 7px 12px;
    border: 1px solid rgba(100, 221, 164, 0.25);
    border-radius: 999px;
    background: rgba(32, 187, 115, 0.12);
    color: #72e0ab;
    font-size: 13px;
    font-weight: 750;
}

.how-hero h1 {
    max-width: 800px;
    margin: 0;
    color: #fff;
    font-size: clamp(42px, 5vw, 65px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.045em;
}

.how-hero__copy > p {
    max-width: 700px;
    margin: 24px 0 30px;
    color: #c2cad7;
    font-size: 18px;
    line-height: 1.72;
}

.how-hero__actions,
.how-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.how-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 750;
    text-decoration: none;
}

.how-button--primary {
    background: #20bb73;
    color: #fff !important;
}

.how-button--primary:hover {
    background: #159c5e;
}

.how-button--ghost {
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

.how-button--light {
    background: #fff;
    color: #182033 !important;
}

.how-hero__benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 27px;
}

.how-hero__benefits span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #aeb8c7;
    font-size: 12px;
}

.how-hero__benefits i {
    color: #55db9b;
}

.how-hero__demo {
    position: relative;
    padding: 25px 20px;
}

.how-demo-card {
    position: relative;
    z-index: 2;
    padding: 28px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.how-demo-card__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 26px;
}

.how-demo-card__logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #edf1f5;
    color: #536078;
    font-size: 22px;
}

.how-demo-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #147a4e;
    font-size: 12px;
    font-weight: 700;
}

.how-demo-card__saving {
    color: #159c5e;
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.how-demo-card h2 {
    margin: 7px 0;
    color: #182033;
    font-size: 21px;
}

.how-demo-card > p {
    margin: 0 0 22px;
    color: #6c7688;
    font-size: 13px;
}

.how-demo-card__code {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    border: 1px dashed #9edabc;
    border-radius: 10px;
    background: #f4fbf7;
}

.how-demo-card__code span {
    padding: 13px 15px;
    color: #182033;
    font-family: monospace;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 0.07em;
}

.how-demo-card__code b {
    align-self: stretch;
    display: inline-flex;
    align-items: center;
    padding: 0 15px;
    background: #20bb73;
    color: #fff;
    font-size: 12px;
}

.how-demo-note {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 11px 14px;
    border-radius: 9px;
    background: #fff;
    color: #344054;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    font-size: 12px;
    font-weight: 700;
}

.how-demo-note i {
    color: #159c5e;
}

.how-demo-note--one {
    bottom: 3px;
    left: -15px;
}

.how-demo-note--two {
    top: 3px;
    right: -12px;
}

.how-steps {
    padding: 84px 0;
    background: #fff;
}

.how-section-head {
    max-width: 760px;
    margin-bottom: 38px;
}

.how-section-head > span,
.how-types__intro > span,
.how-checkout__copy > span,
.how-trust__box > div > span,
.how-transparent__grid > div > span,
.how-cta span {
    color: #159c5e;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.how-section-head h2,
.how-types__intro h2,
.how-checkout__copy h2,
.how-transparent h2 {
    margin: 8px 0 12px;
    color: #182033;
    font-size: clamp(31px, 4vw, 44px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.035em;
}

.how-section-head p,
.how-types__intro p {
    margin: 0;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}

.how-steps__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.how-steps__grid article {
    position: relative;
    padding: 31px;
    border: 1px solid #e0e5eb;
    border-radius: 15px;
    background: #f9fafb;
}

.how-step-number {
    position: absolute;
    top: 24px;
    right: 26px;
    color: #d5dbe3;
    font-size: 22px;
    font-weight: 800;
}

.how-steps__grid article > i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: #e8f8f0;
    color: #159c5e;
    font-size: 23px;
}

.how-steps__grid h3 {
    margin: 22px 0 9px;
    color: #182033;
    font-size: 20px;
}

.how-steps__grid p {
    margin: 0;
    color: #687386;
    line-height: 1.65;
}

.how-types {
    padding: 82px 0;
}

.how-types__intro {
    max-width: 650px;
    margin-bottom: 34px;
}

.how-types__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.how-type-card {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 22px;
    padding: 30px;
    border: 1px solid #dfe5eb;
    border-radius: 16px;
    background: #fff;
}

.how-type-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: #e8f8f0;
    color: #159c5e;
    font-size: 26px;
}

.how-type-card > div > span {
    color: #159c5e;
    font-size: 12px;
    font-weight: 750;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.how-type-card h3 {
    margin: 6px 0 9px;
    color: #182033;
    font-size: 21px;
}

.how-type-card p {
    margin: 0;
    color: #687386;
    line-height: 1.65;
}

.how-type-card__example {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 20px;
    padding: 11px 13px;
    border-radius: 8px;
    background: #f2f5f7;
    color: #253047;
}

.how-type-card__example code,
.how-type-card__example b {
    color: #253047;
    font-weight: 800;
}

.how-checkout {
    padding: 82px 0;
    background: #fff;
}

.how-checkout__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(400px, 0.8fr);
    align-items: center;
    gap: 90px;
}

.how-checkout__copy > p {
    max-width: 650px;
    margin: 0 0 24px;
    color: #667085;
    font-size: 16px;
    line-height: 1.7;
}

.how-checkout__copy ul {
    display: grid;
    gap: 13px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.how-checkout__copy li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #3b465b;
}

.how-checkout__copy li i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 23px;
    height: 23px;
    border-radius: 50%;
    background: #e8f8f0;
    color: #159c5e;
}

.how-checkout__mockup {
    padding: 28px;
    border: 1px solid #dfe5eb;
    border-radius: 16px;
    background: #f8fafb;
    box-shadow: 0 15px 40px rgba(24, 32, 51, 0.08);
}

.how-checkout__mockup > span {
    display: block;
    margin-bottom: 22px;
    color: #182033;
    font-size: 18px;
    font-weight: 800;
}

.how-checkout__mockup > div {
    display: flex;
    justify-content: space-between;
}

.how-checkout__mockup p {
    margin: 0;
    color: #667085;
}

.how-checkout__mockup label {
    display: block;
    margin: 23px 0 8px;
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.how-checkout__input {
    overflow: hidden;
    border: 1px solid #cfd6df;
    border-radius: 9px;
    background: #fff;
}

.how-checkout__input input {
    width: 100%;
    min-width: 0;
    padding: 0 13px;
    border: 0;
    background: transparent;
    color: #182033;
    font-family: monospace;
    font-weight: 800;
    outline: none;
}

.how-checkout__input button {
    padding: 11px 16px;
    border: 0;
    background: #182033;
    color: #fff;
    font-weight: 700;
}

.how-checkout__success {
    justify-content: flex-start !important;
    gap: 8px;
    margin: 12px 0 20px;
    color: #147a4e;
    font-size: 12px;
}

.how-checkout__total {
    align-items: center;
    padding-top: 18px;
    border-top: 1px solid #dfe4ea;
}

.how-checkout__total strong {
    color: #182033;
    font-size: 25px;
}

.how-trust {
    padding: 70px 0;
}

.how-trust__box {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 25px;
    padding: 36px;
    border: 1px solid #cae9d8;
    border-radius: 17px;
    background: #eaf8f1;
}

.how-trust__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: #fff;
    color: #159c5e;
    font-size: 30px;
}

.how-trust h2 {
    margin: 5px 0 7px;
    color: #182033;
    font-size: 25px;
}

.how-trust p {
    max-width: 720px;
    margin: 0;
    color: #607063;
    line-height: 1.65;
}

.how-trust__box > a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #147a4e;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
}

.how-transparent {
    padding: 78px 0;
    background: #fff;
}

.how-transparent__grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
}

.how-transparent__grid > div:last-child p {
    margin: 0 0 18px;
    color: #667085;
    font-size: 16px;
    line-height: 1.75;
}

.how-transparent__grid > div:last-child a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #159c5e;
    font-weight: 750;
    text-decoration: none;
}

.how-cta {
    padding: 70px 0;
}

.how-cta > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 38px 42px;
    border-radius: 17px;
    background: #182033;
}

.how-cta h2 {
    max-width: 700px;
    margin: 6px 0 0;
    color: #fff;
    font-size: 28px;
    font-weight: 800;
}

@media (max-width: 991.98px) {
    .how-hero__grid,
    .how-checkout__grid,
    .how-transparent__grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .how-steps__grid {
        grid-template-columns: 1fr;
    }

    .how-trust__box {
        grid-template-columns: auto 1fr;
    }

    .how-trust__box > a {
        grid-column: 2;
    }
}

@media (max-width: 767.98px) {
    .how-hero {
        padding: 50px 0;
    }

    .how-hero h1 {
        font-size: 39px;
    }

    .how-hero__copy > p {
        font-size: 16px;
    }

    .how-hero__demo {
        padding: 16px 4px 28px;
    }

    .how-demo-note--one {
        left: -3px;
    }

    .how-demo-note--two {
        right: -3px;
    }

    .how-steps,
    .how-types,
    .how-checkout,
    .how-transparent {
        padding: 56px 0;
    }

    .how-types__grid {
        grid-template-columns: 1fr;
    }

    .how-type-card {
        grid-template-columns: 1fr;
    }

    .how-checkout__mockup {
        padding: 22px 18px;
    }

    .how-trust {
        padding: 48px 0;
    }

    .how-trust__box {
        grid-template-columns: 1fr;
        padding: 28px 22px;
    }

    .how-trust__box > a {
        grid-column: 1;
        white-space: normal;
    }

    .how-cta > .container {
        align-items: flex-start;
        flex-direction: column;
        width: auto;
        margin-right: 12px;
        margin-left: 12px;
        padding: 29px 24px;
    }
}
