:root {
    color-scheme: light;
    --checkout-bg: #f4f4f4;
    --checkout-ink: #17212b;
    --checkout-muted: #667487;
    --checkout-line: #dddddd;
    --checkout-line-strong: #cfcfcf;
    --checkout-panel: #ffffff;
    --checkout-soft: #f0f0f0;
    --checkout-soft-hover: #e6e6e6;
    --checkout-primary: #d97b1f;
    --checkout-primary-hover: #c96f1b;
    --checkout-success: #1d8a55;
    --checkout-danger: #c74747;
    --checkout-danger-bg: #fdeaea;
    --checkout-shadow: 0 12px 30px rgba(15, 23, 34, 0.08);
    --checkout-radius: 18px;
    --footer-cream: #fffaf2;
    --footer-cream-border: #efe4d2;
    --footer-sand: #7b725f;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    background: var(--checkout-bg);
    color: var(--checkout-ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.checkout-is-busy,
body.checkout-is-modal-open {
    overflow: hidden;
}

button,
input,
select,
textarea {
    font: inherit;
}

.checkout-shell {
    display: grid;
    grid-template-columns: 340px minmax(0, 1fr);
    gap: 20px;
    width: min(1120px, calc(100% - 32px));
    min-height: calc(100vh - 92px);
    margin: 0 auto;
    padding: 24px 0 36px;
}

.checkout-main,
.checkout-summary__box {
    background: var(--checkout-panel);
    border: 1px solid var(--checkout-line);
    box-shadow: var(--checkout-shadow);
}

.checkout-main {
    grid-column: 2;
    min-width: 0;
    border-radius: var(--checkout-radius);
    padding: 24px;
}

.checkout-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--checkout-line);
}

.checkout-brand {
    display: inline-flex;
    align-items: center;
    border: 0;
    background: transparent;
    padding: 0;
    text-decoration: none;
}

.checkout-brand img {
    display: block;
    width: 116px;
    height: auto;
}

.checkout-security {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--checkout-muted);
    font-size: 13px;
    font-weight: 700;
}

.checkout-security__dot {
    position: relative;
    display: block;
    flex: 0 0 auto;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--checkout-success);
}

.checkout-security__dot::after {
    position: absolute;
    inset: -1px;
    border: 1px solid var(--checkout-success);
    border-radius: 50%;
    content: "";
    pointer-events: none;
    animation: checkout-security-ring 1.6s ease-out infinite;
}

@keyframes checkout-security-ring {
    0% {
        opacity: 0.7;
        transform: scale(0.8);
    }

    75%,
    100% {
        opacity: 0;
        transform: scale(2.6);
    }
}

.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 28px;
}

.checkout-progress__item {
    width: 9px;
    height: 9px;
    min-height: 0;
    border: 0;
    border-radius: 999px;
    background: var(--checkout-line);
    padding: 0;
    cursor: default;
    transition: width 0.2s ease, background 0.2s ease;
}

.checkout-progress__item.is-active,
.checkout-progress__item.is-complete {
    background: var(--checkout-primary);
}

.checkout-progress__item.is-active {
    width: 28px;
}

.checkout-progress__item span {
    display: block;
    width: 100%;
    height: 100%;
}

.checkout-form {
    min-height: 600px;
}

.checkout-step {
    display: none;
}

.checkout-step.is-active {
    display: block;
}

.checkout-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.checkout-kicker {
    margin: 0 0 8px;
    color: var(--checkout-primary);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

h1,
h2 {
    max-width: 680px;
    margin: 0 0 10px;
    color: var(--checkout-ink);
    font-size: 30px;
    line-height: 1.12;
    letter-spacing: 0;
}

h2 {
    font-size: 26px;
}

.checkout-muted {
    max-width: 560px;
    margin: 0 0 24px;
    color: var(--checkout-muted);
    font-size: 15px;
    line-height: 1.5;
}

.checkout-muted--intro {
    max-width: 470px;
    color: var(--checkout-ink);
    font-size: 16px;
    font-weight: 700;
}

.checkout-cpf-intro {
    width: 100%;
    max-width: none;
    margin: 0 0 24px;
    color: var(--checkout-muted);
    font-size: 15px;
    line-height: 1.5;
}

.checkout-cpf-intro p {
    margin: 0;
}

.checkout-cpf-intro p + p {
    margin-top: 6px;
}

.checkout-cpf-intro strong {
    color: var(--checkout-ink);
    font-size: 16px;
}

.checkout-cpf-intro .checkout-cpf-intro__title {
    margin-top: 16px;
}

.checkout-cpf-intro .checkout-cpf-intro__title:first-child {
    margin-top: 0;
}

.checkout-cpf-intro ul {
    margin: 6px 0 0;
    padding-left: 20px;
}

.checkout-cpf-intro li + li {
    margin-top: 3px;
}

.checkout-cpf-intro .checkout-cpf-intro__document {
    margin-top: 18px;
}

.checkout-requirements {
    display: grid;
    gap: 8px;
    padding-left: 0;
    list-style: none;
}

.checkout-requirements + p {
    margin-top: 16px;
}

.checkout-requirements li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr);
    gap: 8px;
    align-items: start;
}

.checkout-requirements li > span:first-child {
    font-size: 18px;
    line-height: 1.35;
}

.checkout-start-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 360px));
    gap: 14px;
    max-width: 734px;
}

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

.checkout-field {
    display: grid;
    gap: 7px;
    min-width: 0;
}

.checkout-field--full {
    grid-column: 1 / -1;
}

.checkout-field span,
.checkout-file span {
    color: var(--checkout-ink);
    font-size: 13px;
    font-weight: 700;
}

.checkout-field input,
.checkout-field select {
    width: 100%;
    min-height: 46px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius);
    background: #ffffff;
    color: var(--checkout-ink);
    padding: 0 12px;
    outline: none;
}

.checkout-field input::placeholder {
    color: #8792a0;
}

.checkout-field input[readonly] {
    border-color: var(--checkout-line);
    background: var(--checkout-soft);
    color: var(--checkout-ink);
    cursor: default;
}

.checkout-validatable-input {
    position: relative;
    display: block;
}

.checkout-field .checkout-validatable-input input {
    padding-right: 42px;
}

.checkout-validatable-input__icon {
    position: absolute;
    top: 50%;
    right: 13px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--checkout-success);
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    line-height: 1;
}

.checkout-validatable-input__icon[hidden] {
    display: none;
}

[data-cpf-field].is-valid input {
    border-color: var(--checkout-success);
    box-shadow: 0 0 0 3px rgba(34, 139, 94, 0.12);
}

[data-cpf-field].is-loading .checkout-validatable-input__icon {
    background: transparent;
    color: transparent !important;
}

[data-cpf-field].is-loading .checkout-validatable-input__icon::before {
    width: 15px;
    height: 15px;
    border: 2px solid var(--checkout-line-strong);
    border-top-color: var(--checkout-primary);
    border-radius: 50%;
    content: "";
    animation: checkout-spin 0.7s linear infinite;
}

[data-cpf-field].is-invalid input {
    border-color: var(--checkout-danger);
    box-shadow: 0 0 0 3px rgba(199, 71, 71, 0.12);
}

[data-cpf-field].is-invalid .checkout-validatable-input__icon {
    background: var(--checkout-danger);
}

.checkout-phone-input {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 46px;
    overflow: hidden;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius);
    background: #ffffff;
}

.checkout-phone-input:focus-within {
    border-color: var(--checkout-primary);
    box-shadow: 0 0 0 3px rgba(217, 123, 31, 0.14);
}

.checkout-phone-input__prefix {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0 11px;
    border-right: 1px solid var(--checkout-line);
    background: var(--checkout-soft);
    white-space: nowrap;
}

.checkout-phone-input__prefix strong {
    color: var(--checkout-ink);
    font-size: 14px;
}

.checkout-phone-input input {
    min-width: 0;
    border: 0;
    border-radius: 0;
}

.checkout-field .checkout-phone-input input:focus {
    box-shadow: none;
}

.checkout-field input:focus,
.checkout-field select:focus {
    border-color: var(--checkout-primary);
    box-shadow: 0 0 0 3px rgba(217, 123, 31, 0.14);
}

.checkout-error {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-top: 14px;
    padding: 8px 10px;
    border: 1px solid #efb8b8;
    border-radius: 6px;
    background: var(--checkout-danger-bg);
    color: #9f2f2f;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.checkout-error:empty {
    display: none;
}

.checkout-field > .checkout-error {
    margin-top: 0;
}

.checkout-error[data-tone="info"] {
    border-color: var(--checkout-line-strong);
    background: var(--checkout-soft);
    color: var(--checkout-muted);
}

.checkout-error:not(:empty) + .checkout-actions,
.checkout-error:not(:empty) + .checkout-button {
    margin-top: 12px;
}

.checkout-step[data-step="1"] > .checkout-button {
    margin-top: 16px;
}

.checkout-divider {
    height: 1px;
    margin: 22px 0;
    background: var(--checkout-line);
}

.checkout-cpf-details {
    display: grid;
    gap: 16px;
    margin: 20px 0 0;
    padding-top: 20px;
    border-top: 1px solid var(--checkout-line);
}

.checkout-cpf-details[hidden] {
    display: none;
}

.checkout-cpf-details__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.checkout-cpf-details__header .checkout-kicker {
    margin-bottom: 4px;
    color: var(--checkout-success);
}

.checkout-cpf-details__header strong {
    color: var(--checkout-ink);
    font-size: 15px;
}

.checkout-check {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
    color: var(--checkout-ink);
    font-weight: 700;
}

.checkout-check input {
    width: 18px;
    height: 18px;
    accent-color: var(--checkout-primary);
}

.checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 1px solid var(--checkout-line-strong);
    border-radius: var(--checkout-radius);
    background: var(--checkout-soft);
    color: var(--checkout-ink);
    padding: 0 18px;
    font-weight: 800;
    cursor: pointer;
}

.checkout-button:hover {
    background: var(--checkout-soft-hover);
}

.checkout-button:not(.checkout-button--ghost):not(.checkout-button--soft) {
    border-color: var(--checkout-primary);
    background: var(--checkout-primary);
    color: #ffffff;
}

.checkout-button:not(.checkout-button--ghost):not(.checkout-button--soft):hover {
    background: var(--checkout-primary-hover);
}

.checkout-button--ghost {
    background: transparent;
    color: var(--checkout-ink);
}

.checkout-button--soft {
    background: var(--checkout-soft);
    color: var(--checkout-ink);
}

.checkout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}

.checkout-code-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: end;
    max-width: 620px;
}

.checkout-identity-intro {
    max-width: 620px;
    margin-top: 10px;
    color: var(--checkout-muted);
    font-size: 13px;
    line-height: 1.55;
}

.checkout-identity-intro p {
    margin: 0;
}

.checkout-identity-intro p + p {
    margin-top: 6px;
}

.checkout-identity-intro ul {
    margin: 4px 0 0;
    padding-left: 18px;
}

.checkout-identity-intro li + li {
    margin-top: 2px;
}

.checkout-payment-intro {
    margin-bottom: 20px;
    font-size: 14px;
}

.checkout-payment-intro strong {
    color: var(--checkout-ink);
}

.checkout-payment-intro__success strong {
    color: var(--checkout-success);
}

.checkout-payment-intro__access {
    color: var(--checkout-ink);
}

.checkout-file {
    display: grid;
    gap: 10px;
    max-width: 620px;
    margin-top: 18px;
    padding: 16px;
    border: 1px dashed var(--checkout-line-strong);
    border-radius: var(--checkout-radius);
    background: var(--checkout-soft);
}

.checkout-file input {
    width: 100%;
}

.checkout-upload-status {
    max-width: 620px;
    margin: 12px 0 0;
    border: 1px solid #b9e1c8;
    border-radius: var(--checkout-radius);
    background: #e6f6ed;
    color: var(--checkout-success);
    padding: 10px 12px;
    font-size: 13px;
    font-weight: 800;
}

[data-phone-code-status] {
    margin: 18px 0;
}

.checkout-upload-status[hidden] {
    display: none;
}

[data-identity-verification-fields][hidden] {
    display: none;
}

.checkout-identity-approved {
    display: inline-flex;
    width: fit-content;
    margin: 18px 0 0;
    border: 1px solid #a8daba;
    border-radius: var(--checkout-radius);
    background: #e6f6ed;
    color: var(--checkout-success);
    padding: 10px 14px;
    font-size: 14px;
    font-weight: 800;
}

.checkout-identity-approved[hidden] {
    display: none;
}

.checkout-verification-modal {
    position: fixed;
    z-index: 1000;
    inset: 0;
    display: grid;
    place-items: center;
    background: rgba(23, 33, 43, 0.5);
    padding: 20px;
}

.checkout-verification-modal[hidden] {
    display: none;
}

.checkout-verification-modal__dialog {
    width: min(100%, 430px);
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius);
    background: var(--checkout-panel);
    box-shadow: var(--checkout-shadow);
    padding: 30px 24px;
    text-align: center;
}

.checkout-verification-modal__dialog h2 {
    margin: 18px auto 8px;
    font-size: 22px;
    line-height: 1.2;
}

.checkout-verification-modal__dialog p {
    max-width: 340px;
    margin: 0 auto;
    color: var(--checkout-muted);
    font-size: 14px;
    line-height: 1.5;
}

.checkout-verification-modal__spinner {
    display: block;
    width: 46px;
    height: 46px;
    margin: 0 auto;
    border: 4px solid var(--checkout-line);
    border-top-color: var(--checkout-primary);
    border-radius: 50%;
    animation: checkout-spin 0.8s linear infinite;
}

.checkout-phone-modal__dialog {
    display: grid;
    gap: 14px;
    text-align: left;
}

.checkout-phone-modal__dialog .checkout-kicker {
    margin: 0;
}

.checkout-phone-modal__dialog h2 {
    margin: 0;
}

.checkout-phone-modal__dialog > p {
    max-width: none;
    margin: 0;
}

.checkout-phone-modal__dialog > p strong {
    color: var(--checkout-ink);
}

.checkout-phone-modal__field {
    margin-top: 4px;
}

.checkout-phone-modal__field input {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0;
    text-align: center;
}

.checkout-phone-modal__resend {
    width: fit-content;
    border: 0;
    background: transparent;
    color: var(--checkout-primary);
    padding: 0;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.checkout-phone-modal__resend:disabled {
    color: var(--checkout-muted);
    cursor: default;
}

.checkout-phone-modal__status {
    color: var(--checkout-success) !important;
    font-size: 13px !important;
    font-weight: 700;
}

.checkout-phone-modal__status[hidden] {
    display: none;
}

.checkout-phone-modal__confirm,
.checkout-phone-modal__back {
    width: 100%;
}

.checkout-phone-modal__back {
    margin-top: -4px;
}

@keyframes checkout-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .checkout-security__dot::after {
        animation: none;
        opacity: 0;
    }

    .checkout-verification-modal__spinner {
        animation-duration: 1.6s;
    }
}

.checkout-contract,
.checkout-success {
    max-width: 720px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius);
    background: var(--checkout-soft);
    padding: 18px;
    line-height: 1.55;
}

.checkout-contract {
    overflow: hidden;
    padding: 0;
}

.checkout-contract__heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid var(--checkout-line);
    padding: 15px 17px;
}

.checkout-contract__heading span {
    color: var(--checkout-muted);
    font-size: 12px;
}

.checkout-contract__body {
    max-height: 390px;
    overflow: auto;
    padding: 17px;
    background: var(--checkout-panel);
    color: #384555;
    font-size: 12px;
    line-height: 1.6;
    scrollbar-gutter: stable;
}

.checkout-contract__body p {
    margin: 0 0 12px;
}

.checkout-contract__summary {
    margin: 15px 0;
    border-block: 1px solid var(--checkout-line);
    padding: 13px 0 2px;
}

.checkout-contract__clauses {
    margin: 0;
    padding-left: 20px;
}

.checkout-contract__clauses li {
    margin-bottom: 11px;
    padding-left: 3px;
}

.checkout-signature {
    max-width: 720px;
    margin-top: 18px;
}

.checkout-signature__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 9px;
}

.checkout-button--compact {
    min-height: 36px;
    border-radius: 8px;
    padding: 0 13px;
    font-size: 12px;
}

.checkout-signature__canvas {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border: 1px solid var(--checkout-line-strong);
    border-radius: var(--checkout-radius);
    background: var(--checkout-panel);
    background-image: linear-gradient(to bottom, transparent calc(100% - 45px), #e5e7ea calc(100% - 44px), transparent calc(100% - 43px));
    touch-action: none;
    overscroll-behavior: contain;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.checkout-signature canvas {
    display: block;
    width: 100%;
    height: 220px;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

.checkout-signature > p {
    margin: 7px 0 0;
    color: var(--checkout-muted);
    font-size: 12px;
}

.checkout-contract-signed {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.checkout-contract-signed a {
    color: var(--checkout-success);
    white-space: nowrap;
}

.checkout-success p {
    margin: 8px 0 0;
    color: var(--checkout-muted);
}

.checkout-success {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
}

.checkout-success__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--checkout-success);
    color: #ffffff;
    font-weight: 900;
}

.checkout-payment-result {
    display: grid;
    gap: 14px;
    width: 100%;
    max-width: 720px;
    min-width: 0;
    margin-top: 18px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius);
    background: var(--checkout-soft);
    padding: 18px;
    overflow: hidden;
}

.checkout-payment-result[hidden] {
    display: none;
}

.checkout-payment-result__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border-radius: var(--checkout-radius);
    background: var(--checkout-primary);
    color: #ffffff;
    padding: 0 18px;
    font-weight: 900;
    text-decoration: none;
}

.checkout-payment-result__details {
    display: grid;
    gap: 10px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    color: var(--checkout-muted);
    font-size: 14px;
    line-height: 1.45;
}

.checkout-payment-result__details > * {
    min-width: 0;
    max-width: 100%;
}

.checkout-payment-result__row {
    display: grid;
    gap: 4px;
    min-width: 0;
}

.checkout-payment-result__long-value {
    display: block;
    max-width: 100%;
    color: var(--checkout-ink);
    font-variant-numeric: tabular-nums;
    overflow-wrap: anywhere;
    word-break: break-all;
}

.checkout-payment-result__details a {
    color: var(--checkout-primary);
    font-weight: 900;
}

.checkout-payment-result__copy {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 80px;
    border: 1px solid var(--checkout-line);
    border-radius: var(--checkout-radius);
    background: #ffffff;
    color: var(--checkout-ink);
    padding: 10px;
    overflow-x: hidden;
    overflow-wrap: anywhere;
    white-space: pre-wrap;
    word-break: break-all;
    resize: vertical;
}

.checkout-summary {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
}

.checkout-summary__box {
    position: sticky;
    top: 24px;
    border-radius: var(--checkout-radius);
    padding: 22px;
}

.checkout-summary h2 {
    margin-bottom: 10px;
    font-size: 24px;
    line-height: 1.15;
}

.checkout-summary p {
    margin: 0;
    color: var(--checkout-muted);
    line-height: 1.5;
}

.checkout-notice {
    margin-top: 16px;
    border: 1px solid #f0d58a;
    border-radius: var(--checkout-radius);
    background: #fff5d6;
    color: #8a5f00;
    padding: 12px;
    font-size: 13px;
    font-weight: 800;
}

.checkout-totals {
    display: grid;
    gap: 12px;
    margin: 20px 0 0;
}

.checkout-totals div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--checkout-line);
}

.checkout-totals dt {
    color: var(--checkout-muted);
    font-size: 13px;
    font-weight: 800;
}

.checkout-summary__extras {
    margin-top: 12px;
}

.checkout-summary__extra {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--checkout-line);
}

.checkout-summary__guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
}

.checkout-summary__guarantee svg {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
    color: var(--checkout-success);
}

.checkout-summary__guarantee strong {
    color: var(--checkout-ink);
    font-size: 14px;
    line-height: 1.4;
}

.checkout-summary__support {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 48px;
    border-radius: 6px;
    background: #167c47;
    color: #ffffff;
    padding: 10px 14px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.2;
}

.checkout-summary__support:hover {
    background: #126d3e;
}

.checkout-summary__support:focus-visible {
    outline: 3px solid rgba(22, 124, 71, 0.24);
    outline-offset: 2px;
}

.checkout-summary__support img {
    width: 22px;
    height: 22px;
    flex: 0 0 auto;
}

.checkout-totals dd {
    margin: 0;
    color: var(--checkout-ink);
    font-size: 17px;
    font-weight: 900;
    text-align: right;
}

.site-footer {
    position: relative;
    z-index: 2;
    background: var(--footer-cream);
    color: #2f352a;
    padding: 14px 20px;
}

.site-footer__inner {
    width: min(100%, 1120px);
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.site-footer__brand {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-footer__logo {
    width: 130px;
    height: auto;
    flex: 0 0 auto;
}

.site-footer p {
    margin: 0;
    color: var(--footer-sand);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
}

.site-footer p strong {
    color: #2f352a;
    font-weight: 700;
}

.site-footer__security {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--checkout-success);
}

.site-footer__security svg {
    width: 28px;
    height: 28px;
    flex: 0 0 auto;
}

.site-footer__security > span {
    display: grid;
    gap: 2px;
}

.site-footer__security strong {
    color: #2f352a;
    font-size: 13px;
    line-height: 1.2;
}

.site-footer__security small {
    color: var(--footer-sand);
    font-size: 11px;
    line-height: 1.2;
}

@media (max-width: 920px) {
    .checkout-shell {
        grid-template-columns: 1fr;
    }

    .checkout-main,
    .checkout-summary {
        grid-column: auto;
        grid-row: auto;
    }

    .checkout-summary {
        order: -1;
    }

    .checkout-summary__box {
        position: static;
    }

    .checkout-form {
        min-height: 0;
    }
}

@media (max-width: 640px) {
    .checkout-shell {
        width: min(100% - 20px, 1180px);
        min-height: auto;
        padding: 10px 0 24px;
    }

    .checkout-main,
    .checkout-summary__box {
        padding: 18px;
    }

    .checkout-code-row,
    .checkout-grid,
    .checkout-start-fields {
        grid-template-columns: 1fr;
    }

    .checkout-header {
        display: flex;
        gap: 10px;
    }

    .checkout-security {
        justify-content: flex-end;
        text-align: right;
    }

    .checkout-progress__item {
        width: 9px;
        height: 9px;
    }

    .checkout-progress__item.is-active {
        width: 24px;
    }

    h1,
    h2 {
        font-size: 25px;
    }

    .checkout-button {
        width: 100%;
    }

    .checkout-button--compact {
        width: auto;
    }

    .checkout-actions {
        display: grid;
    }

    .checkout-contract__heading,
    .checkout-contract-signed {
        align-items: flex-start;
        flex-direction: column;
    }

    .checkout-contract__body {
        max-height: 360px;
        padding: 14px;
    }

    .checkout-signature__canvas,
    .checkout-signature canvas {
        height: 190px;
    }

    .site-footer {
        padding: 16px 15px;
    }

    .site-footer__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 10px;
    }

    .site-footer__brand {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
        min-width: 0;
    }

    .site-footer__logo {
        width: 105px;
    }

    .site-footer p {
        font-size: 12px;
    }

    .site-footer__security {
        align-items: center;
        gap: 6px;
        justify-self: end;
        text-align: left;
    }

    .site-footer__security svg {
        width: 22px;
        height: 22px;
    }

    .site-footer__security strong {
        font-size: 12px;
    }

    .site-footer__security small {
        font-size: 10px;
    }
}
