.payment-feature {
    --payment-cream: #faf2e9;
    --payment-highlight: #ece4fb;
    --payment-mint: #dbf1e4;
}

.payment-feature .booking-feature-hero-layout {
    grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr);
    padding-block: clamp(35px, 3.25vw, 48px);
}
.payment-feature h1 { font-size: clamp(39px, 3.8vw, 58px); }
.payment-feature .booking-feature-hero h1 + p { max-width: 52ch; font-size: clamp(16px, 1.35vw, 20px); }
.payment-feature .booking-feature-content { padding-block: clamp(25px, 2.65vw, 39px); }
.payment-feature .booking-feature-section { scroll-margin-top: 20px; }
.payment-feature .booking-feature-section + .booking-feature-section { margin-top: clamp(31px, 3.1vw, 45px); }
.payment-feature .booking-feature-section > h2 { margin-bottom: 12px; }
.payment-feature .booking-feature-section > h2 + p { margin-bottom: clamp(17px, 1.65vw, 24px); }
.payment-feature .booking-feature-section a:not(.button) { color: var(--action-dark); text-decoration: underline; text-underline-offset: .16em; }

.payment-feature-recap, .payment-feature-demo {
    min-width: 0;
    border: 1px solid #e9dfd8;
    border-radius: clamp(15px, 1.5vw, 22px);
    background: var(--payment-cream);
}
.payment-feature-recap {
    display: grid;
    gap: clamp(9px, 1vw, 14px);
    padding: clamp(14px, 1.6vw, 23px);
    border: 5px solid #fff;
    box-shadow: var(--booking-shadow);
}
.payment-feature-studio {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--ink);
    font: 700 clamp(25px, 2.85vw, 42px)/1.1 Georgia, serif;
    letter-spacing: -.035em;
}
.payment-feature-studio img { flex: none; width: clamp(28px, 3.2vw, 46px); height: auto; }
.payment-feature-invoice {
    padding: clamp(10px, 1.05vw, 15px);
    border: 1px solid var(--booking-edge);
    border-radius: 13px;
    background: #fff;
}
.payment-feature-invoice > strong {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 0 5px 10px;
    border-bottom: 1px solid var(--booking-edge);
    font-size: clamp(16px, 1.55vw, 22px);
}
.payment-feature-amounts { margin: 3px 0 0; }
.payment-feature-amounts > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 9px;
    line-height: 1.25;
}
.payment-feature-amounts > div:nth-child(2) { background: var(--payment-highlight); color: var(--action-dark); font-weight: 710; }
.payment-feature-amounts dd { margin: 0; font-weight: 720; white-space: nowrap; }
.payment-feature-simulate { width: 100%; min-height: 46px; padding-inline: 10px; }
.payment-feature-simulate[hidden] { display: none; }
.payment-feature .payment-feature-note { font-size: 13px; text-align: center; }

.payment-feature-modes, .payment-feature-steps, .payment-feature-setup {
    display: grid;
    gap: clamp(10px, 1.15vw, 16px);
    margin: 0;
    padding: 0;
    list-style: none;
}
.payment-feature-modes { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.payment-feature-modes > li, .payment-feature-steps > li, .payment-feature-setup > li {
    min-width: 0;
    padding: clamp(12px, 1.45vw, 21px);
    border: 1px solid var(--booking-edge);
    border-radius: 13px;
    background: #fff;
}
.payment-feature-modes h3 { margin-bottom: 7px; }
.payment-feature-modes p, .payment-feature-setup p { font-size: clamp(15px, 1.16vw, 17px); line-height: 1.4; }
.payment-feature-mode-icon { display: block; margin-bottom: 11px; }
.payment-feature-mode-icon img, .payment-feature-setup > li > img {
    display: block;
    filter: invert(17%) sepia(88%) saturate(4388%) hue-rotate(247deg) brightness(.93);
}

.payment-feature-demo { padding: clamp(12px, 1.35vw, 19px); scroll-margin-top: 18px; }
.payment-feature-demo-header { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 12px; }
.payment-feature-demo-header .payment-feature-studio { font-size: clamp(24px, 2.6vw, 37px); }
.payment-feature-demo-header .payment-feature-studio img { width: clamp(26px, 2.7vw, 38px); }
.payment-feature-demo-header time { padding-left: 18px; border-left: 1px solid #d8cccb; font-weight: 690; }
.payment-feature-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 2.4vw, 35px); }
.payment-feature-steps > li { position: relative; padding: clamp(11px, 1.1vw, 16px); }
.payment-feature-steps h3, .payment-feature-setup h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.payment-feature-steps h3 { font-size: clamp(17px, 1.5vw, 22px); letter-spacing: -.04em; }
.payment-feature-steps h3 > span, .payment-feature-number {
    display: grid;
    flex: none;
    place-items: center;
    width: 29px;
    height: 29px;
    border-radius: 50%;
    background: var(--payment-highlight);
    color: var(--action-dark);
    font-size: 15px;
    font-weight: 730;
    letter-spacing: 0;
}
.payment-feature-times { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
.payment-feature-times .button { min-height: 44px; gap: 4px; padding-inline: 4px; border-color: #d8d1e7; font-size: clamp(13px, 1.06vw, 15px); }
.payment-feature-times .button-primary img { filter: brightness(0) invert(1); }
.payment-feature-arrow {
    position: absolute;
    top: 50%;
    left: calc(100% + (clamp(24px, 2.4vw, 35px) - 19px) / 2);
    display: flex;
    transform: translateY(-50%) rotate(180deg);
}
.payment-feature-steps .payment-feature-amounts > div { padding: 3px 8px; }
.payment-feature-confirmation {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px;
    padding: 10px;
    border-radius: 9px;
    background: var(--payment-mint);
    font-size: clamp(14px, 1.08vw, 16px);
}
.payment-feature-confirmation > img { flex: none; }
.payment-feature-confirmation > div { flex: 1; min-width: max-content; }
.payment-feature-confirmation div > span { display: block; margin-top: 3px; }
.payment-feature-confirmation time { display: flex; align-items: center; gap: 5px; margin-left: auto; font-weight: 700; }

.payment-feature-setup { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.payment-feature-setup > li { display: grid; grid-template-columns: 29px 25px minmax(0, 1fr); align-items: start; gap: 9px; background: #f3ecfb; }
.payment-feature-setup h3 { font-size: clamp(17px, 1.45vw, 21px); letter-spacing: -.04em; }
.payment-feature-setup > li > img { margin-top: 2px; }
.payment-feature .booking-feature-faq summary { min-height: 45px; padding-block: 9px; }
.payment-feature .booking-feature-closing { margin-top: 0; border-radius: 0; }
.payment-feature .booking-feature-closing > .booking-feature-wrap { width: min(900px, 100%); }
.payment-feature .booking-feature-closing .booking-feature-art { opacity: 1; transform: none; }

.payment-feature-demo[data-flow="active"] > .payment-feature-demo-overview { display: none; }
.payment-feature-demo .booking-profile { display: flex; align-items: center; gap: 12px; }
.payment-feature-demo .booking-profile .studio-mark { height: auto; flex: none; }
.payment-feature-demo .booking-flow-summary { background: #fff8f1; }
.payment-feature-demo .booking-flow-main { min-block-size: 0; }
.payment-feature-demo .booking-flow-note { font-size: 14px; }
.payment-feature-demo .booking-flow-summary .booking-flow-fee { font-weight: 700; }
.payment-feature-demo .booking-demo-prices div:nth-child(2) { background: var(--payment-highlight); }

@media (max-width: 1020px) {
    .payment-feature .booking-feature-hero-layout { grid-template-columns: minmax(0, 1fr); }
    .payment-feature .booking-feature-hero h1 { max-width: 23ch; }
    .payment-feature-modes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .payment-feature h1 { font-size: clamp(29px, 7.8vw, 38px); }
    .payment-feature .booking-feature-hero-layout { padding-block: 27px 33px; }
    .payment-feature .booking-feature-hero h1 + p { max-width: none; }
    .payment-feature-modes, .payment-feature-steps, .payment-feature-setup { grid-template-columns: minmax(0, 1fr); }
    .payment-feature-modes > li { display: grid; grid-template-columns: 48px minmax(0, 1fr); align-items: center; gap: 12px; }
    .payment-feature-modes h3 { margin-bottom: 4px; }
    .payment-feature-mode-icon { display: grid; place-items: center; margin: 0; border-right: 1px solid var(--booking-edge); }
    .payment-feature-mode-icon img { width: 30px; height: 30px; margin-right: 8px; }
    .payment-feature-demo-header { column-gap: 10px; }
    .payment-feature-demo-header time { padding-left: 0; border: 0; font-size: 13px; }
    .payment-feature-steps { gap: 25px; }
    .payment-feature-arrow { top: calc(100% + 3px); left: 50%; transform: translateX(-50%) rotate(-90deg); }
    .payment-feature-setup h3 { margin-bottom: 5px; }
    .payment-feature .booking-feature-faq summary { min-height: 49px; }
}

@media (min-width: 390px) and (max-width: 760px) {
    .payment-feature .booking-feature-closing .booking-feature-actions { grid-template-columns: 1fr 1.15fr; }
    .payment-feature .booking-feature-closing .button { padding-inline: 7px; font-size: 13px; }
}
