:root{--ink:#211830;--purple:#6027a0;--lilac:#dbc1fc;--line:#cbbfd0;--soft:#f7f0ff;font-family:Arial,Helvetica,sans-serif;color:var(--ink);background:#fff}
*{box-sizing:border-box}
body{margin:0}
h1,h2,p,ol,dl,dd{margin:0}
a{color:inherit}
svg{width:1.25rem;height:1.25rem;fill:none;stroke:currentColor;stroke-width:1.6;flex:none}
.symbols{position:absolute;width:0;height:0}
.shell{width:min(1080px,calc(100% - 36px));margin:auto}
.top,.footer,.spread{display:flex;align-items:center;justify-content:space-between;gap:.7rem}
.top{padding:14px 0;border-bottom:1px solid var(--line)}
.top img{display:block;width:clamp(65px,12vw,90px);height:auto}
.top ol{list-style:none;display:flex;gap:.35rem;padding:0;font-size:.78rem}
.top li{display:flex;gap:.3rem;align-items:center;padding:.48rem .65rem;border-radius:50px;color:#594c64}
.top [aria-current]{background:var(--soft);color:var(--purple);font-weight:700}
.intro{padding-block:clamp(34px,7vw,82px) clamp(24px,4vw,42px)}
.label{font-size:.75rem;letter-spacing:.14em;font-weight:700;text-transform:uppercase}
h1,h2{font-weight:600;line-height:1.03;letter-spacing:-.055em;text-wrap:balance}
h1{font-size:clamp(2.65rem,8vw,6rem);margin:.55rem 0 .8rem}
h1 em{color:var(--purple);font-style:normal}
h2{font-size:clamp(1.65rem,4vw,2.8rem);margin:.5rem 0}
.intro>p:last-child{font-size:clamp(1rem,2vw,1.2rem);line-height:1.5}
.layout{display:grid;grid-template-columns:1fr 1fr;gap:clamp(14px,3vw,28px);align-items:start}
.panel{border-radius:24px;padding:clamp(18px,3.8vw,42px);min-width:0}
.violet{background:var(--lilac)}
.plain{border:1px solid var(--line)}
.spark{width:2.35rem;height:2.35rem;color:var(--purple);animation:rotate 16s linear infinite}
@keyframes rotate{to{transform:rotate(180deg)}}
.amount{font-size:clamp(1.8rem,6vw,4.15rem);font-weight:700;letter-spacing:-.055em;overflow-wrap:anywhere}
.amount small{font-size:.48em;letter-spacing:0}
.fine{font-size:.84rem;line-height:1.45}
.payment{margin:1rem 0}
.payment-row,.next{display:flex;align-items:center;justify-content:space-between;gap:.55rem;border-top:1px solid #21183040;padding:.5rem 0}
.payment-row div{min-width:0}
dt{font-size:.78rem;margin-bottom:.2rem}
dd{font-weight:700;overflow-wrap:anywhere}
button,input,textarea{font:inherit}
.icon-button,.button{cursor:pointer;border:1px solid var(--purple);min-height:44px;border-radius:50px;display:inline-flex;align-items:center;justify-content:center;gap:.55rem;transition:background .18s,color .18s,transform .18s}
.icon-button{background:#ffffff9c;color:var(--purple);width:44px;flex:none}
.icon-button:hover,.outline:hover{background:#eee0fc}
.button{padding:.65rem 1rem;font-weight:700;text-align:left}
.primary{background:var(--purple);color:#fff;margin-top:1rem}
.primary:hover{background:#442071}
.outline{background:#fff;color:var(--purple)}
button:active{transform:scale(.97)}
:focus-visible{outline:3px solid var(--purple);outline-offset:3px}
.copy-status{margin-top:.35rem;min-height:1.2em}
.field{display:block;margin:1rem 0 .42rem;font-size:.94rem;font-weight:700;line-height:1.35}
input,textarea{width:100%;min-width:0;border:1px solid #9686a1;border-radius:10px;padding:.65rem .72rem;color:var(--ink);background:#fff;min-height:46px}
textarea{resize:vertical}
[aria-invalid=true]{border-color:#a12147}
.field-error,.error{color:#891438}
.field-error{font-size:.86rem;margin-top:.3rem}
.upload{border:1px dashed #9686a1;border-radius:16px;padding:1rem;background:var(--soft);margin-top:1rem}
.upload>svg{color:var(--purple)}
.upload .field{margin-top:.35rem}
.upload input{background:transparent;border:0;padding:.35rem 0}
input::file-selector-button{border:1px solid var(--purple);border-radius:50px;background:#fff;color:var(--purple);font:inherit;font-size:.85rem;cursor:pointer;margin-right:.45rem;min-height:32px}
.demo,.notice{display:block;border-radius:12px;padding:.65rem .8rem;background:var(--soft);line-height:1.45;font-size:.9rem;margin:.8rem 0}
.demo{display:flex;align-items:center;gap:.5rem}
.notice a{font-weight:700}
.badge{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;color:var(--purple);background:#fff;margin-bottom:1rem;border:1px solid #b690d7}
.timing{margin:.8rem 0 1rem;line-height:1.45}
.next{justify-content:flex-start}
.next span,.number{color:var(--purple);font-weight:700;font-size:.8rem}
.number{margin-right:.25rem}
.later{border-top:1px solid var(--line);padding-top:1rem;margin-top:1.1rem}
.later .fine{margin-top:.45rem}
.footer{border-top:1px solid var(--line);padding:18px 0;margin-top:clamp(32px,7vw,80px);font-size:.8rem}
@media(max-width:700px){.layout{grid-template-columns:minmax(0,1fr)}.thanks aside{order:1}.top li{padding-inline:.45rem}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important}}
.progress:not([hidden]){display:flex;align-items:center;gap:.6rem;margin-top:.8rem;color:var(--purple)}
.progress progress{width:min(100%,11rem);height:.65rem;accent-color:var(--purple)}
.wizard-steps{display:flex;gap:.55rem;flex-wrap:wrap;list-style:none;padding:0;margin:1rem 0}
.wizard-steps li{display:flex;align-items:center;gap:.35rem;padding:.45rem .65rem;border:1px solid var(--line);border-radius:50px;font-size:.8rem}
.wizard-steps li span{font-weight:700}
.wizard-steps [aria-current]{background:var(--soft);border-color:var(--purple);color:var(--purple)}
.wizard-actions{display:flex;align-items:center;gap:.65rem 1rem;flex-wrap:wrap;margin-top:1rem}
.wizard-actions .button{margin-top:0}
.wizard-actions a{color:var(--purple);font-size:.88rem}

@media (min-width: 801px) and (pointer: fine), (min-width: 801px) and (min-height: 501px) {
  .intro { padding-block:clamp(34px, 4vw, 56px) clamp(22px, 3vw, 34px); }
  h1 { font-size:clamp(2.75rem, 4.15vw, 3.75rem); }
  h2 { font-size:clamp(1.65rem, 2.6vw, 2.25rem); }
  .amount { font-size:clamp(2.5rem, 4.3vw, 3.25rem); }
  .panel { padding:clamp(24px, 3vw, 32px); }
  .layout.thanks { grid-template-columns:minmax(0, .8fr) minmax(0, 1.2fr); }

  @media (max-width: 900px) {
    .layout, .layout.thanks { grid-template-columns:minmax(0, 1fr); }
    .thanks aside { order:1; }
  }
}

select{font:inherit;width:100%;min-height:48px;padding:12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--ink)}
.panel details{padding:16px 0;border-bottom:1px solid var(--line)}.panel summary{cursor:pointer;font-weight:700;line-height:1.5}.panel details p{margin-top:12px;line-height:1.6}.panel>p{line-height:1.6}.manual-care{margin-top:28px}.later{display:flex;flex-wrap:wrap;gap:10px}.later p{flex-basis:100%}

/* UEBS identity for the pages customers receive after checkout. */
.branded-resource {
    background: var(--soft);
    min-height: 100vh;
}
.branded-resource .top {
    margin-top: 16px;
    padding: 14px clamp(16px, 4vw, 32px);
    border: 0;
    border-bottom: 4px solid var(--lilac);
    border-radius: 20px;
    background: var(--ink);
    color: white;
}
.branded-resource .top > a {
    padding: 7px 10px;
    border-radius: 9px;
    background: white;
}
.branded-resource .top li { color: white; }
.branded-resource .top [aria-current] {
    color: var(--ink);
    background: var(--lilac);
}
.branded-resource .panel.plain { background: white; }
.branded-resource .panel.violet {
    background: var(--ink);
    color: white;
}
.branded-resource .panel.violet .spark { color: var(--lilac); }
.branded-resource .panel.violet .button.primary {
    background: var(--lilac);
    color: var(--ink);
}
.branded-resource .panel.violet input { color: var(--ink); }
.branded-resource .panel.violet :focus-visible { outline-color: var(--lilac); }
.branded-resource .panel.violet .next { border-color: #ffffff50; }
.branded-resource .footer {
    margin-top: 28px;
    border-top: 2px solid var(--lilac);
}
.branded-resource .panel.violet .next span { color: var(--lilac); }

.button:disabled,.icon-button:disabled{opacity:.55;cursor:not-allowed}
#receipt-preview:has(span:not(:empty)){margin-top:.5rem}

.bcv-retry {
    margin-top: .5rem;
    padding: .3rem 0;
    color: inherit;
    background: none;
    border: 0;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
}

.checkout-step:not(.checkout-payment) {
    max-width: 740px;
    margin-inline: auto;
}

.checkout-notice {
    margin: clamp(14px, 3vw, 24px) 0 0;
}

.checkout-step .intro {
    padding-block: clamp(20px, 4vw, 36px) clamp(16px, 3vw, 26px);
}

.checkout-step h1 {
    font-size: clamp(2.35rem, 6vw, 3.85rem);
    margin-bottom: .35rem;
}

.payment-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.payment-layout .panel {
    padding: clamp(16px, 2.35vw, 26px);
}

.payment-layout .amount {
    font-size: clamp(1.85rem, 4vw, 2.55rem);
    margin: .25rem 0;
}

.payment-layout .spark {
    width: 1.6rem;
    height: 1.6rem;
}

.payment-layout .payment {
    margin: .65rem 0;
}

.payment-layout .payment-row {
    padding-block: .15rem;
}

.payment-layout .icon-button {
    background: transparent;
    border-color: transparent;
}

.payment-layout .icon-button:hover {
    background: #ffffff9c;
}

.payment-layout .copy-status:empty {
    margin: 0;
    min-height: 0;
}

.payment-next h2 {
    margin-top: 0;
}

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

.checkout-fields .field {
    margin-top: 0;
}

.field-help {
    margin-top: .35rem;
}

.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1rem;
}

.checkout-actions .primary {
    margin-top: 0;
}

@media (max-width: 700px) {
    .payment-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: .65rem;
    }

    .checkout-payment .intro {
        padding-block: 16px 12px;
    }

    .checkout-payment h1 {
        font-size: clamp(1.85rem, 7vw, 2.35rem);
        margin: 0;
    }

    .payment-layout .panel {
        border-radius: 18px;
    }

    .payment-layout .payment-next {
        border: 0;
        padding: 0;
    }

    .payment-next h2,
    .payment-next p {
        display: none;
    }

    .payment-next .button {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 540px) {
    .checkout-fields {
        grid-template-columns: minmax(0, 1fr);
    }

    .checkout-actions .button {
        width: 100%;
    }
}

.checkout [hidden] {
    display: none;
}

.form-required {
    margin-bottom: 1rem;
}

.business-step {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.business-step h2 {
    font-size: clamp(1.35rem, 3vw, 1.8rem);
}

.check-field {
    display: flex;
    align-items: center;
    gap: .55rem;
    width: fit-content;
    min-height: 44px;
    margin-top: .5rem;
}

.check-field input {
    width: 1.15rem;
    height: 1.15rem;
    min-height: 0;
    flex: none;
    accent-color: var(--purple);
}

.text-button {
    min-height: 44px;
    padding: 0;
    background: transparent;
    border: 0;
    color: var(--purple);
    font-weight: 700;
    cursor: pointer;
}

.business-step .field input {
    margin-top: .35rem;
}

.business-step .check-field input {
    margin-top: 0;
}

.business-intro .label {
    color: var(--purple);
}

.payment-review {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .45rem .8rem;
    margin: .8rem 0 .4rem;
    background: var(--soft);
    color: var(--purple);
    border-radius: 50px;
    font-size: .86rem;
    font-weight: 700;
}

.business-intro h1 {
    max-width: 17ch;
    text-wrap: initial;
    margin-bottom: .65rem;
}

.business-intro > p:not(.label, .payment-review) {
    max-width: 60ch;
    line-height: 1.55;
}

.business-progress-label {
    color: var(--purple);
    font-weight: 700;
}

.business-progress {
    display: block;
    width: 100%;
    height: .55rem;
    margin: .45rem 0 .7rem;
    border: 0;
    border-radius: 50px;
    overflow: hidden;
    background: var(--soft);
    accent-color: var(--purple);
}

.business-progress::-webkit-progress-bar { background: var(--soft); }
.business-progress::-webkit-progress-value { background: var(--purple); transition: width .25s ease; }
.business-progress::-moz-progress-bar { background: var(--purple); }

.business-step:not([hidden]),
[data-checkout-step="done"]:not([hidden]) .completion-panel {
    animation: checkout-enter .25s ease-out both;
}

@keyframes checkout-enter {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.completion-panel {
    margin-top: clamp(20px, 4vw, 44px);
    padding: clamp(24px, 6vw, 52px);
    background: var(--soft);
    border: 1px solid var(--lilac);
}

.completion-icon {
    display: grid;
    place-items: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--lilac);
    color: var(--purple);
    margin-bottom: .8rem;
}

.completion-icon svg { width: 28px; height: 28px; }

.completion-panel h1 {
    max-width: 18ch;
    text-wrap: initial;
}

.completion-lead {
    max-width: 57ch;
    margin-top: .75rem;
}

.completion-channels {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0;
}

.completion-channels li {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .5rem .75rem;
    border-radius: 50px;
    background: white;
    color: var(--purple);
    font-size: .875rem;
    font-weight: 700;
}

.completion-panel .completion-note {
    margin-bottom: .85rem;
    color: #594c64;
}

.checkout .spark {
    animation: none;
}

.checkout-title,
.step-title {
    display: flex;
    align-items: center;
    gap: clamp(.55rem, 2vw, .85rem);
}

.checkout-icon {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--soft);
    color: var(--purple);
}

.checkout-title .checkout-icon {
    width: clamp(38px, 6vw, 52px);
    height: clamp(38px, 6vw, 52px);
}

.checkout-title h1 {
    text-wrap: initial;
}

.checkout-payment .payment-lead {
    max-width: 66ch;
    margin-top: .45rem;
    font-size: clamp(.95rem, 2vw, 1.12rem);
}

.payment-instruction {
    margin-top: .45rem;
}

.receipt-next-note,
.step-copy {
    margin-top: .55rem;
    color: #594c64;
    line-height: 1.5;
}

.field-with-icon svg {
    margin-right: .35rem;
    vertical-align: middle;
    color: var(--purple);
}

#receipt-preview.is-attached {
    display: flex;
    align-items: center;
    gap: .4rem;
    color: var(--purple);
    font-weight: 700;
    overflow-wrap: anywhere;
}

.business-progress-track {
    position: relative;
}

.business-progress-track::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: repeating-linear-gradient(90deg, transparent 0 calc(25% - 3px), white calc(25% - 3px) 25%);
}

#copy-payment.is-copied {
    background: var(--purple);
    color: white;
}

#copy-payment.is-copied svg,
#receipt-preview.is-attached,
.extra-social {
    animation: checkout-enter .25s ease-out both;
}

[data-checkout-step="done"]:not([hidden]) .completion-icon path {
    animation: draw-check .45s ease-out both;
}

@keyframes draw-check {
    from { stroke-dasharray: 1; stroke-dashoffset: 1; }
    to { stroke-dasharray: 1; stroke-dashoffset: 0; }
}
