:root {
    --bg: #f4efe6;
    --paper: #fffaf3;
    --ink: #1a1a1a;
    --muted: #706b64;
    --line: rgba(26, 26, 26, .15);
    --coral: #ff5a3c;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family:
        Inter,
        Arial,
        Helvetica,
        sans-serif;
}

a {
    color: inherit;
}

.header,
.layout,
.footer {
    width: min(
        1180px,
        calc(100% - 48px)
    );
    margin: 0 auto;
}

.header {
    min-height: 104px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img,
.result-logo img {
    display: block;
    width: 144px;
    height: auto;
}

.home-link {
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px solid;
}

.layout {
    min-height: calc(100vh - 220px);
    padding: 70px 0 100px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        minmax(360px, 510px);
    gap: 90px;
    align-items: start;
}

.intro {
    padding-top: 18px;
}

.eyebrow {
    margin: 0 0 24px;
    color: var(--coral);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
}

h1 {
    margin: 0;
    font-size:
        clamp(
            48px,
            6vw,
            82px
        );
    line-height: .94;
    letter-spacing: -.05em;
    font-weight: 500;
}

.lead {
    margin: 32px 0 0;
    max-width: 560px;
    font-size: 22px;
    line-height: 1.4;
}

.copy {
    margin: 18px 0 0;
    max-width: 560px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.card {
    padding: 34px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 26px;
}

form {
    display: grid;
    gap: 25px;
}

.field {
    display: grid;
    gap: 9px;
}

.field label {
    font-size: 13px;
    font-weight: 700;
}

.field input,
.field select {
    width: 100%;
    min-height: 56px;
    padding: 0 16px;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 16px;
    outline: none;
}

.field input:focus,
.field select:focus {
    border-color: var(--ink);
}

.hint,
.secure {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.45;
}

.accept {
    display: grid;
    grid-template-columns:
        22px
        1fr;
    gap: 11px;
    align-items: start;
    font-size: 14px;
    line-height: 1.45;
}

.accept input {
    width: 18px;
    height: 18px;
    margin: 2px 0 0;
    accent-color: var(--coral);
}

.accept a {
    text-underline-offset: 3px;
}

.error {
    color: #9a2d1e;
    font-size: 14px;
    line-height: 1.4;
}

.error:empty {
    display: none;
}

button,
.result-button {
    min-height: 56px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background: var(--ink);
    color: #fff;
    font: inherit;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
}

button:hover,
.result-button:hover {
    background: var(--coral);
}

button:disabled {
    opacity: .55;
    cursor: wait;
}

.footer {
    padding: 30px 0 48px;
    border-top: 1px solid var(--line);
}

.footer nav {
    display: flex;
    flex-wrap: wrap;
    gap: 13px 26px;
}

.footer a {
    font-size: 13px;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.result-page {
    min-height: 100vh;
    padding: 24px;
    display: grid;
    place-items: center;
}

.result-card {
    width: min(700px, 100%);
    padding: 52px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 26px;
}

.result-logo {
    display: inline-block;
    margin-bottom: 70px;
}

.result-card p:not(.eyebrow) {
    margin: 30px 0 0;
    max-width: 540px;
    font-size: 18px;
    line-height: 1.55;
}

.result-button {
    margin-top: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}


@media (max-width: 820px) {

    .header,
    .layout,
    .footer {
        width: min(
            680px,
            calc(100% - 32px)
        );
    }

    .layout {
        padding: 42px 0 72px;
        grid-template-columns: 1fr;
        gap: 44px;
    }

    .intro {
        padding-top: 0;
    }

    .card {
        padding: 26px;
    }
}


@media (max-width: 390px) {

    .header,
    .layout,
    .footer {
        width: calc(100% - 24px);
    }

    .header {
        min-height: 82px;
    }

    .logo img {
        width: 118px;
    }

    .layout {
        padding-top: 28px;
    }

    h1 {
        font-size: 46px;
    }

    .card {
        padding: 20px;
        border-radius: 20px;
    }

    .result-card {
        padding: 30px 22px;
    }
}


/* KOEKSE_PAYMENT_08E2_START */


/* Central payment composition */

.layout {
    display: block;
    min-height: calc(100vh - 220px);
    padding: 58px 0 94px;
}

.card {
    width: min(620px, 100%);
    margin: 0 auto;
}


/* Offer acceptance */

.accept-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px 7px;

    font-size: 14px;
    line-height: 1.45;
}

.accept-row > input {
    width: 18px;
    height: 18px;

    margin: 0 4px 0 0;

    flex: 0 0 auto;

    accent-color: var(--coral);
}

.accept-row > label {
    cursor: pointer;
}


/*
 * Must beat the generic black payment-button rule.
 */

.offer-modal-open {
    appearance: none;

    display: inline;

    width: auto;
    min-height: 0;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;
    color: var(--ink);

    font: inherit;
    font-weight: inherit;
    line-height: inherit;

    text-decoration: underline;
    text-underline-offset: 3px;

    cursor: pointer;
}

.offer-modal-open:hover {
    background: transparent;
    color: var(--coral);
}

.offer-modal-open:focus-visible {
    outline: 2px solid var(--coral);
    outline-offset: 3px;
}


/* Compact payment note */

.payment-note {
    max-width: 470px;

    margin: -4px 0 0;

    color: var(--muted);

    font-size: 12px;
    line-height: 1.48;
}


/* Offer popup */

.offer-dialog {
    width: min(920px, calc(100% - 40px));
    height: min(80vh, 800px);

    padding: 0;

    border: 0;
    border-radius: 22px;

    background: var(--paper);
    color: var(--ink);

    box-shadow:
        0 28px 90px
        rgba(0, 0, 0, .25);

    overflow: hidden;
}

.offer-dialog::backdrop {
    background:
        rgba(26, 26, 26, .52);
}

.offer-dialog-shell {
    height: 100%;

    display: grid;
    grid-template-rows:
        auto
        minmax(0, 1fr);
}

.offer-dialog-header {
    min-height: 64px;

    padding:
        0
        18px
        0
        24px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    border-bottom:
        1px solid
        var(--line);
}

.offer-dialog-header strong {
    font-size: 15px;
    font-weight: 700;
}


/*
 * Must also beat generic payment-button styles.
 */

.offer-dialog-close {
    appearance: none;

    width: 40px;
    height: 40px;
    min-height: 40px;

    margin: 0;
    padding: 0;

    display: grid;
    place-items: center;

    border: 0;
    border-radius: 50%;

    background: transparent;
    color: var(--ink);

    font-family:
        Arial,
        Helvetica,
        sans-serif;

    font-size: 28px;
    font-weight: 300;
    line-height: 1;

    cursor: pointer;
}

.offer-dialog-close:hover {
    background:
        rgba(26, 26, 26, .07);
}

.offer-dialog iframe {
    display: block;

    width: 100%;
    height: 100%;

    border: 0;

    background: var(--paper);
}


@media (max-width: 820px) {

    .layout {
        min-height: auto;
        padding: 36px 0 70px;
    }

    .card {
        width: min(620px, 100%);
    }

    .offer-dialog {
        width: calc(100% - 20px);
        height: 88vh;

        border-radius: 18px;
    }
}


@media (max-width: 390px) {

    .layout {
        padding-top: 24px;
    }

    .payment-note {
        max-width: 100%;

        font-size: 11px;
        line-height: 1.45;
    }
}


/* KOEKSE_PAYMENT_08E2_END */


/* KOEKSE_PAYMENT_FOOTER_V2_START */


.payment-footer {
    margin-top: 72px;

    background: #171717;
    color: #f5f1e8;
}

.payment-footer__inner {
    width: min(
        1100px,
        calc(100% - 48px)
    );

    margin: 0 auto;

    padding: 54px 0 48px;

    display: grid;

    grid-template-columns:
        minmax(220px, 1.25fr)
        minmax(260px, 1.5fr)
        minmax(180px, .8fr);

    gap: 60px;
}

.payment-footer__name {
    margin-bottom: 16px;

    color: #ff5a3c;

    font-size: 13px;
    font-weight: 700;

    letter-spacing: .15em;
}

.payment-footer__brand p {
    margin: 0 0 28px;

    color: rgba(245,241,232,.62);

    font-size: 13px;
    line-height: 1.5;
}

.payment-footer__caption {
    margin-bottom: 18px;

    color: rgba(245,241,232,.42);

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: .12em;
}

.payment-footer__docs {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-content: start;

    gap: 11px 26px;
}

.payment-footer__docs
.payment-footer__caption {
    grid-column: 1 / -1;
}

.payment-footer a {
    width: fit-content;

    color: #f5f1e8;

    font-size: 13px;
    line-height: 1.4;

    text-decoration: none;
}

.payment-footer a:hover {
    color: #ff5a3c;
}

.payment-footer__action {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.payment-footer__action a {
    font-size: 16px;
}

.payment-footer__bottom {
    width: min(
        1100px,
        calc(100% - 48px)
    );

    margin: 0 auto;

    padding: 18px 0 22px;

    display: flex;
    justify-content: space-between;

    border-top:
        1px solid
        rgba(245,241,232,.14);

    color:
        rgba(245,241,232,.38);

    font-size: 10px;

    text-transform: uppercase;
    letter-spacing: .11em;
}


@media (max-width: 760px) {

    .payment-footer {
        margin-top: 48px;
    }

    .payment-footer__inner {
        width: calc(100% - 32px);

        padding: 40px 0;

        grid-template-columns: 1fr;
        gap: 38px;
    }

    .payment-footer__docs {
        grid-template-columns: 1fr;
    }

    .payment-footer__bottom {
        width: calc(100% - 32px);
    }
}


@media (max-width: 390px) {

    .payment-footer__inner,
    .payment-footer__bottom {
        width: calc(100% - 24px);
    }
}


/* KOEKSE_PAYMENT_FOOTER_V2_END */

/* PAYMENT FOOTER V2 START */
.payment-footer-v2{
    margin-top:120px;
    background:#111214;
    color:#f4f0ea;
}

.payment-footer-v2__shell{
    width:min(1120px, calc(100% - 48px));
    margin:0 auto;
    padding:56px 0 24px;
}

.payment-footer-v2__grid{
    display:grid;
    grid-template-columns:1fr 1.45fr .9fr;
    gap:56px;
    align-items:start;
}

.payment-footer-v2__col{
    min-width:0;
}

.payment-footer-v2__eyebrow{
    margin:0 0 20px;
    font-size:12px;
    line-height:1.2;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#ff623f;
}

.payment-footer-v2__name{
    margin:0 0 24px;
    font-size:28px;
    line-height:1.08;
    color:#f4f0ea;
}

.payment-footer-v2__main-link{
    display:inline-block;
    color:#f4f0ea;
    text-decoration:none;
    border-bottom:1px solid rgba(244,240,234,.35);
    padding-bottom:3px;
    transition:border-color .2s ease, color .2s ease;
}

.payment-footer-v2__main-link:hover,
.payment-footer-v2__main-link:focus-visible{
    color:#ffffff;
    border-color:#ffffff;
}

.payment-footer-v2__docs-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px 28px;
}

.payment-footer-v2__docs-grid a{
    color:#f4f0ea;
    text-decoration:none;
    line-height:1.45;
    opacity:.92;
}

.payment-footer-v2__docs-grid a:hover,
.payment-footer-v2__docs-grid a:focus-visible{
    opacity:1;
    text-decoration:underline;
    text-underline-offset:3px;
}

.payment-footer-v2__micro{
    margin:18px 0 0;
    max-width:280px;
    font-size:14px;
    line-height:1.55;
    color:rgba(244,240,234,.68);
}

.payment-footer-v2__bottom{
    margin-top:40px;
    padding-top:18px;
    border-top:1px solid rgba(244,240,234,.12);
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:24px;
    font-size:12px;
    line-height:1.2;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:rgba(244,240,234,.52);
}

.payment-footer-v2__bottom a{
    color:rgba(244,240,234,.78);
    text-decoration:none;
}

.payment-footer-v2__bottom a:hover,
.payment-footer-v2__bottom a:focus-visible{
    color:#ffffff;
    text-decoration:underline;
    text-underline-offset:3px;
}

@media (max-width: 1024px){
    .payment-footer-v2__grid{
        grid-template-columns:1fr;
        gap:36px;
    }

    .payment-footer-v2__name{
        font-size:24px;
    }

    .payment-footer-v2__micro{
        max-width:100%;
    }
}

@media (max-width: 700px){
    .payment-footer-v2{
        margin-top:88px;
    }

    .payment-footer-v2__shell{
        width:min(100% - 32px, 1120px);
        padding:44px 0 22px;
    }

    .payment-footer-v2__docs-grid{
        grid-template-columns:1fr;
        gap:12px;
    }

    .payment-footer-v2__bottom{
        flex-direction:column;
        align-items:flex-start;
        gap:12px;
    }
}
/* PAYMENT FOOTER V2 END */

/* KOEKSE SHARED FOOTER START */
.koekse-shared-footer{
    margin-top:96px;
    background:#111214;
    color:#f4f0ea;
}

.koekse-shared-footer__shell{
    width:min(1120px, calc(100% - 48px));
    margin:0 auto;
    padding:44px 0 22px;
}

.koekse-shared-footer__grid{
    display:grid;
    grid-template-columns:.7fr 1.5fr .9fr;
    gap:48px;
    align-items:start;
}

.koekse-shared-footer__eyebrow{
    margin:0 0 18px;
    font-size:12px;
    line-height:1.2;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:#ff623f;
}

.koekse-shared-footer__docs-grid{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:14px 26px;
}

.koekse-shared-footer__docs-grid a,
.koekse-shared-footer__main-link,
.koekse-shared-footer__domain{
    color:#f4f0ea;
    text-decoration:none;
}

.koekse-shared-footer__docs-grid a{
    line-height:1.45;
    opacity:.92;
}

.koekse-shared-footer__docs-grid a:hover,
.koekse-shared-footer__docs-grid a:focus-visible,
.koekse-shared-footer__main-link:hover,
.koekse-shared-footer__main-link:focus-visible,
.koekse-shared-footer__domain:hover,
.koekse-shared-footer__domain:focus-visible{
    color:#ffffff;
    text-decoration:underline;
    text-underline-offset:3px;
}

.koekse-shared-footer__main-link{
    display:inline-block;
    font-size:16px;
    line-height:1.35;
}

.koekse-shared-footer__bottom{
    margin-top:34px;
    padding-top:16px;
    border-top:1px solid rgba(244,240,234,.12);
    display:flex;
    justify-content:flex-start;
    align-items:center;
}

.koekse-shared-footer__domain{
    font-size:12px;
    line-height:1.2;
    letter-spacing:.08em;
    text-transform:uppercase;
    color:rgba(244,240,234,.72);
}

@media (max-width: 1024px){
    .koekse-shared-footer__grid{
        grid-template-columns:1fr;
        gap:32px;
    }
}

@media (max-width: 700px){
    .koekse-shared-footer{
        margin-top:72px;
    }

    .koekse-shared-footer__shell{
        width:min(100% - 32px, 1120px);
        padding:36px 0 20px;
    }

    .koekse-shared-footer__docs-grid{
        grid-template-columns:1fr;
        gap:12px;
    }
}
/* KOEKSE SHARED FOOTER END */
