* {
    box-sizing: border-box;
}

html {
    font-family: Arial, "Noto Sans Hebrew", sans-serif;
    background: #f5f7fa;
    color: #172033;
}

body {
    margin: 0;
    min-height: 100vh;
}

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

.card {
    width: min(100%, 560px);
    background: #fff;
    border: 1px solid #e1e6ee;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 12px 36px rgba(16, 24, 40, 0.08);
}

.brand {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(1.6rem, 5vw, 2.2rem);
    line-height: 1.2;
    margin: 16px 0 8px;
}

.lead {
    color: #566075;
    line-height: 1.6;
    margin-bottom: 24px;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    font-size: .78rem;
}

.step {
    padding: 8px 6px;
    text-align: center;
    border-radius: 8px;
    background: #f0f2f6;
    color: #737d91;
}

.step.active {
    background: #172033;
    color: #fff;
}

label {
    display: block;
    font-weight: 700;
    margin: 18px 0 8px;
}

input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #aeb7c5;
    border-radius: 10px;
    padding: 12px 14px;
    font: inherit;
    background: #fff;
}

input:focus {
    outline: 3px solid rgba(23, 32, 51, .18);
    border-color: #172033;
}

.hint {
    font-size: .88rem;
    color: #667085;
    margin-top: 6px;
}

button,
.button-link {
    width: 100%;
    min-height: 52px;
    border: 0;
    border-radius: 10px;
    margin-top: 24px;
    padding: 13px 18px;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
    background: #172033;
    color: #fff;
    text-decoration: none;
    display: inline-grid;
    place-items: center;
}

button:focus-visible,
.button-link:focus-visible {
    outline: 3px solid #7d8799;
    outline-offset: 3px;
}

.privacy {
    color: #667085;
    font-size: .82rem;
    line-height: 1.6;
    margin: 18px 0 0;
}

@media (max-width: 520px) {
    .card {
        border-radius: 14px;
        padding: 22px 18px;
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}


.secondary-link {
    display: inline-block;
    margin-top: 18px;
    color: #344054;
    text-underline-offset: 3px;
}

.summary {
    border: 1px solid #e1e6ee;
    border-radius: 12px;
    overflow: hidden;
    margin-top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 14px 16px;
    border-bottom: 1px solid #e8ecf2;
}

.summary-row:last-child {
    border-bottom: 0;
}

.summary-row span {
    color: #667085;
}

.summary-row strong {
    text-align: left;
    direction: ltr;
}

.amount-row {
    background: #f7f8fa;
    font-size: 1.08rem;
}

.amount-row strong {
    font-size: 1.3rem;
}


.notice {
    margin: 18px 0;
    padding: 13px 15px;
    border: 1px solid #c9d2df;
    border-radius: 10px;
    background: #f7f9fc;
    line-height: 1.55;
}


.payment-shell {
    align-items: start;
}

.payment-card {
    width: min(100%, 760px);
}

.payment-frame {
    display: block;
    width: 100%;
    min-height: 680px;
    border: 0;
    border-radius: 12px;
    background: #fff;
}

@media (max-width: 600px) {
    .payment-frame {
        min-height: 760px;
    }
}
