/* Checkout pages (owner, 25 Nov 2026): a band with the lines print, numbered sections, a clearer summary. The membership checkout is the same page with the print's cyan line in gold. */
.co-band, .co-band + .co { --gold: #d3a432; --gold-h: #e2b84c; --gold-line: #c79a2a; --gold-ink: #2a1f00; --gold-text: #7a5906; }
.co-band { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: var(--on-ink); padding: 40px 0 46px; }
.co-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url(a/ui/topo-wide-dark.svg) right top / cover no-repeat; opacity: .9; }
.co-band--gold::before { background-image: url(a/ui/topo-wide-dark-gold.svg); }
.co-kicker { font: 600 13px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--on-ink-m); }
.co-band--gold .co-kicker { color: var(--gold-h); }
.co-band h1 { margin: 14px 0 10px; font: 700 clamp(36px, 5vw, 56px)/1.05 var(--f-display); color: var(--on-ink); }
.co-prog { margin: 0; font-size: 19px; color: var(--on-ink-m); max-width: 60ch; }
[dir="rtl"] .co-kicker { letter-spacing: 0; text-transform: none; }
.co-band + .co { padding-block: 34px 72px; }
#formwrap { counter-reset: cosec; }
#formwrap h2 { counter-increment: cosec; display: flex; align-items: center; gap: 12px; margin: 30px 0 12px; font: 700 24px/1.25 var(--f-display); }
#formwrap h2::before { content: counter(cosec); flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: var(--on-ink); font: 700 15px var(--f-body); }
.co-band--gold + .co #formwrap h2::before { background: var(--gold); color: var(--gold-ink); }
[dir="rtl"] #formwrap h2 { line-height: 1.5; }
.co-band + .co .sum { border-radius: 16px; box-shadow: 0 14px 34px rgba(29, 27, 58, .09); }
.co-band + .co .sum .total { font-size: 30px; }
.co-band--gold + .co .sum { border-color: var(--gold-line); }
.co-band--gold + .co .sum .total { color: var(--gold-text); }
.co-band--gold + .co .meth > label:has(input:checked) { border-color: var(--gold-line); box-shadow: 0 0 0 3px rgba(211, 164, 50, .18); }
html[data-kca-theme="dark"] .co-band--gold + .co .sum .total { color: var(--gold-h); }
@media (max-width: 700px) { .co-band { padding: 28px 0 32px; } .co-band h1 { font-size: 34px; } }

/* a subscribed member (html[data-kca-member]): the checkout pages go gold too, the print, the numbers, the main buttons and the chosen method (owner, 25 Nov 2026) */
html[data-kca-member] .co-band::before { background-image: url(a/ui/topo-wide-dark-gold.svg); }
html[data-kca-member] .co-band .co-kicker { color: var(--gold-h); }
html[data-kca-member] .co-band + .co #formwrap h2::before { background: var(--gold); color: var(--gold-ink); }
html[data-kca-member] .co-band + .co .sum { border-color: var(--gold-line); }
html[data-kca-member] .co-band + .co .sum .total { color: var(--gold-text); }
html[data-kca-member] .co-band + .co .meth > label:has(input:checked) { border-color: var(--gold-line); box-shadow: 0 0 0 3px rgba(211, 164, 50, .18); }
html[data-kca-member] .co-band + .co .btn--accent, html[data-kca-member] .co-band + .co .btn--pay { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 1px 0 var(--gold-gleam, rgba(255, 246, 207, .6)), inset 0 -2px 0 var(--gold-edge, #8f6a0c); }
html[data-kca-member] .co-band + .co .btn--accent:hover, html[data-kca-member] .co-band + .co .btn--pay:hover { background: var(--gold-h); }
html[data-kca-theme="dark"][data-kca-member] .co-band + .co .sum .total { color: var(--gold-h); }

/* the dark bands stay dark in dark mode: the tokens inside them keep their light-theme values */
.co-band { --ink: #1d1b3a; --on-ink: #f6f7fd; --on-ink-m: #b9b8d6; }

/* the CliQ instructions and the "I sent the transfer" form of the order page (owner, 25 Nov 2026) */
.cq { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; max-width: 560px; }
.cq li { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; border: 1px solid var(--line2); border-radius: 14px; background: var(--surface); }
.cq__n { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--indigo); color: #f6f7fd; font: 700 15px var(--f-body); }
.cq__k { font-weight: 600; } .cq__k small { font-weight: 400; color: var(--muted); }
.cq li.cq__plain { grid-template-columns: minmax(0, 1fr) auto; }
.cq-form { margin-top: 24px; padding: 22px 22px 20px; border: 1px solid var(--line2); border-radius: 16px; background: var(--surface); display: grid; gap: 14px; max-width: 560px; }
.cq-form h2 { margin: 0; font: 700 22px/1.25 var(--f-display); } .cq-form p { margin: 0; }
.cq-form .muted { font-weight: 400; }
.cq-form__go { padding-top: 4px; }
html[data-kca-member] .cq__n { background: var(--gold); color: var(--gold-ink); }
html[data-kca-member] .cq li, html[data-kca-member] .cq-form { border-color: color-mix(in srgb, var(--gold-line) 55%, var(--line2)); }
html[data-kca-member] .cq-form .btn--accent { background: var(--gold); color: var(--gold-ink); box-shadow: inset 0 1px 0 rgba(255, 246, 207, .6), inset 0 -2px 0 #8f6a0c; }
@media (max-width: 560px) { .cq li { grid-template-columns: 34px 1fr; } .cq .cq__v { grid-column: 2; justify-self: start; } }

/* a subscribed member: the page behind the cards is warm too, flat (owner, 25 Nov 2026) */
html[data-kca-member] body:has(.co-band, .rg-band), html[data-kca-member] body:has(.co-band, .rg-band) .main { background: #f6ebc8; }
html[data-kca-member][data-kca-theme="dark"] body:has(.co-band, .rg-band), html[data-kca-member][data-kca-theme="dark"] body:has(.co-band, .rg-band) .main { background: color-mix(in srgb, #d3a432 10%, var(--page)); }
html[data-kca-member] .co .proc, html[data-kca-member] .proc.is-on { border-color: color-mix(in srgb, var(--gold-line, #c79a2a) 40%, var(--line2)); }

/* Back sits in the band, on the page itself, as a pill (owner, 25 Nov 2026) */
.co-backpill { display: flex; width: max-content; max-width: 100%; align-items: center; gap: 8px; margin-bottom: 18px; padding: 7px 14px 7px 10px; border: 1px solid rgba(246, 247, 253, .35); border-radius: 999px; color: #f6f7fd; font: 600 14px/1 var(--f-body); text-decoration: none; transition: background .2s, border-color .2s; }
.co-backpill:hover { background: rgba(246, 247, 253, .12); border-color: rgba(246, 247, 253, .6); }
.co-backpill:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[dir="rtl"] .co-backpill svg { transform: scaleX(-1); }
html[data-kca-member] .co-backpill, .co-band--gold .co-backpill { border-color: rgba(226, 184, 76, .6); color: #e2b84c; }

/* a way out of the checkout pages: Payments and Account in the header (owner, 25 Nov 2026) */
.co-nav { display: flex; align-items: center; gap: 4px; margin-inline-start: auto; }
.co-nav a { padding: 8px 12px; border-radius: 999px; color: var(--ink); font: 600 14px/1 var(--f-body); text-decoration: none; transition: background .2s; }
.co-nav a:hover { background: var(--sunken, rgba(29, 27, 58, .07)); }
html[data-kca-member] .co-nav a:hover { background: rgba(211, 164, 50, .2); }
@media (max-width: 760px) { .co-nav a:last-child { display: none; } }
@media (max-width: 520px) { .co-nav { display: none; } }

/* the review state is the loudest thing on the order page (owner, 25 Nov 2026) */
.cq-reviewing { position: relative; padding: 28px 30px 26px; border: 2px solid var(--indigo); border-radius: 20px; background: color-mix(in srgb, var(--indigo) 7%, var(--surface)); box-shadow: 0 16px 36px rgba(29, 27, 58, .12); max-width: 640px; }
.cq-reviewing__ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 14px; border-radius: 50%; background: var(--indigo); box-shadow: 0 0 0 8px color-mix(in srgb, var(--indigo) 16%, transparent); }
.cq-reviewing__ico::after { content: ""; width: 30px; height: 30px; background: #f6f7fd; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.cq-reviewing h1 { line-height: 1.1; }
.cq-reviewing > p { font-size: 19px; line-height: 1.5; font-weight: 500; max-width: 52ch !important; }
html[data-kca-member] .cq-reviewing { border-color: #c79a2a; background: #f6ebc8; }
html[data-kca-member] .cq-reviewing__ico { background: #d3a432; box-shadow: 0 0 0 8px rgba(211, 164, 50, .25); }
html[data-kca-member] .cq-reviewing__ico::after { background: #2a1f00; }
html[data-kca-theme="dark"][data-kca-member] .cq-reviewing { background: #2a2412; }
/* the same state on the program page's buy card */
.buy__review { border: 2px solid var(--indigo); border-radius: 16px; padding: 18px; background: color-mix(in srgb, var(--indigo) 7%, var(--surface)); }
.buy__review-ico { display: block; width: 44px; height: 44px; margin-bottom: 10px; border-radius: 50%; background: var(--indigo) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f6f7fd' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / 24px no-repeat; }
.buy__review-h { display: block; font: 700 24px/1.2 var(--f-display); margin-bottom: 8px; }
.buy__review p { font-weight: 500; }
