/* The website pay page (/pay/ and /pay/thanks/; build-pay.mjs, pay.js), and /start/ through start.css.
   Layout, colour, spacing and motion only. Every piece of type here is one of the site's roles: the .pay-* and .tk-* selectors
   are registered in the compact role set of site.css (the payment pages' own, smaller scale), and no type size is set in this file.
   The palette is the --pay-* token set of site.css (navy anchor, royal blue second, gold for small premium details, cool tinted neutrals,
   green / amber / red for states). The site ships in one (light) theme here, so there is no dark block; only the ticket has its own
   light / dark toggle. The primary button is a navy-to-indigo gradient over a navy background-colour; the logo strip sits on the page
   with no tile behind it. Controls are compact on purpose: fields 44px, the amount field 52px, buttons 46px, chips 36px. */

/* The brand look (15 Oct 2026): the site's red and ink replace the navy / royal blue on the pay pages. Scoped to .pay so the plans, /start/ and the rest keep the --pay-* palette they use; type is untouched. */
.pay {
  --pay-navy: #1A1310; --pay-navy-d: #0F0A08;
  --pay-royal: #AE0E20; --pay-royal-ink: #8A0007;
  --pay-grad: linear-gradient(135deg, #9A0B1B 0%, #C4162A 100%);
  --pay-grad-d: linear-gradient(135deg, #7E0816 0%, #A90F22 100%);
  --pay-tint: #FAF6F3; --pay-tint-2: #F4EDE8; --pay-tint-3: #EADFD8;
  --pay-line: #E7DDD6; --pay-line-2: #D5C8BE;
  --pay-ring: rgba(174, 14, 32, .22);
}
.pay { position: relative; overflow: hidden; overflow: clip; padding-block: clamp(24px, 4vw, 56px) clamp(48px, 7vw, 88px);
  background: radial-gradient(60% 46% at 88% 0%, rgba(174, 14, 32, .09), transparent 70%), linear-gradient(180deg, var(--pay-tint) 0%, #fff 72%); }
.pay::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(circle, rgba(174, 14, 32, .13) .9px, transparent 1.3px); background-size: 16px 16px; -webkit-mask-image: linear-gradient(0deg, #000 0%, transparent 40%); mask-image: linear-gradient(0deg, #000 0%, transparent 40%); }
.pay > .wrap { position: relative; }
.pay-grid { display: grid; gap: clamp(24px, 4vw, 48px); align-items: start; justify-items: center; }
.pay-grid > * { width: 100%; max-width: 480px; }
.pay-one { max-width: 40rem; }

/* ── the left column: what this is, and why it is safe ─────────────── */
.pay-intro { display: grid; gap: 14px; align-content: start; }
.pay-kicker { margin: 0; color: var(--pay-royal-ink); }
.pay-kicker::before { content: ""; display: inline-block; vertical-align: middle; width: 20px; height: 2px; margin: -2px 10px 0 0; border-radius: 2px; background: var(--pay-gold); }
.pay-h { margin: 0; color: var(--pay-navy); text-wrap: balance; }
.pay-lede { margin: 0; max-width: 30rem; color: var(--pr-body); text-wrap: pretty; }
.pay-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; margin-top: 4px; }
.pay-logos img { display: block; width: 300px; max-width: 100%; height: auto; }
@media (min-width: 960px) { .pay-logos img { width: 320px; } }
.pay-trust { list-style: none; margin: 8px 0 0; padding: 16px 18px; display: grid; gap: 14px; background: linear-gradient(180deg, #fff 0%, var(--pay-tint) 100%); border: 1px solid var(--pay-line); border-left: 3px solid var(--pay-gold); border-radius: 12px; }
.pay-trust li { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; color: var(--pr-body); }
.pay-trust svg { box-sizing: border-box; width: 20px; height: 20px; margin-top: 1px; fill: none; stroke: var(--pay-royal); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }   /* the tick stands alone: no disc behind it */
.pay-trust b { display: block; color: var(--pay-navy); }
.pay-trust a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pay-trust a:hover { color: var(--pay-navy); }
.pay-methods { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pay-methods span { padding: 3px 10px; border: 1px solid var(--pay-line-2); border-radius: 999px; background: #fff; color: var(--pr-ink-2); }

/* ── the card ──────────────────────────────────────────────────────── */
.pay-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--pay-line); border-radius: 16px; padding: clamp(20px, 3.2vw, 28px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 1px 2px rgba(26, 19, 16, .05), 0 4px 10px -4px rgba(26, 19, 16, .08), 0 24px 48px -28px rgba(26, 19, 16, .30); }
.pay-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: linear-gradient(90deg, var(--pay-navy) 0%, var(--pay-royal) 62%, var(--pay-gold) 100%); }

/* the stepper: a real ordered list; the current step carries aria-current */
.pay-steps { list-style: none; margin: 0 0 clamp(18px, 2.6vw, 24px); padding: 3px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); position: relative; border: 1px solid var(--pay-line-2); border-radius: 999px; background: var(--pay-tint); }
.pay-steps::after { content: ""; position: absolute; inset: 3px auto 3px 3px; width: calc((100% - 6px) / 3); border-radius: 999px; background: var(--pay-grad); box-shadow: 0 4px 10px -4px rgba(26, 19, 16, .55); transition: transform .34s var(--ease); }
.pay-steps[data-at="2"]::after { transform: translateX(100%); }
.pay-steps[data-at="3"]::after { transform: translateX(200%); }
.pay-steps li { position: relative; z-index: 1; display: flex; justify-content: center; align-items: center; gap: 7px; padding: 8px 4px; text-align: center; color: var(--pr-ink-3); transition: color .25s var(--ease); }
.pay-steps i { display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; border: 1.5px solid currentColor; font-style: normal; }
.pay-steps li[aria-current="step"] { color: #fff; }
.pay-steps li.is-done { color: var(--pay-navy); }
.pay-steps li.is-done i { background: none; border-color: transparent; color: var(--pay-royal); }
.pay-steps li.is-done i::before { content: ""; width: 9px; height: 5px; margin-top: -2px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }
.pay-steps li.is-done i span { display: none; }
.pay-steps b { color: inherit; }
@media (max-width: 479px) { .pay-steps i { display: none; } .pay-steps li.is-done::before { content: "✓"; color: var(--pay-royal); } }

/* a step: one screen of the flow */
.pay-step { display: grid; gap: 14px; }
.pay-step[hidden] { display: none; }
.pay-step:not([hidden]) { animation: pay-in .32s var(--ease) both; }
[data-plan-block]:not([hidden]), [data-amount-block]:not([hidden]) { display: grid; gap: 14px; }   /* the two blocks of step 2 are plain divisions: without this the sentence, the field and the shortcuts touch */
.pay-step-k { margin: 0; color: var(--pay-royal-ink); }
.pay-step-h { margin: 2px 0 0; color: var(--pay-navy); outline: none; }
.pay-sub { margin: 0; color: var(--pr-body); max-width: 32rem; }
@keyframes pay-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* fields */
.pay-field { display: grid; gap: 6px; margin: 0; }
.pay-field label { color: var(--pay-navy); }
.pay-field label span { font-weight: 400; color: var(--pr-ink-3); }
.pay-box { display: flex; align-items: stretch; background: #fff; border: 1px solid var(--pay-line-2); border-radius: 10px; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background-color .2s var(--ease); }
.pay-box:hover { border-color: var(--pr-ink-3); }
.pay-box:focus-within { border-color: var(--pay-royal); background: #fff; box-shadow: 0 0 0 3px var(--pay-ring); outline: 2px solid transparent; }   /* a soft ring, not a hard rectangle; the transparent outline is what a forced-colours browser draws */
.pay-in { flex: 1; min-width: 0; min-height: 42px; padding: 9px 14px; border: 0; border-radius: 10px; background: transparent; color: var(--pr-ink); outline: none; }
.pay-in::placeholder { color: #666; }
.pay-pre { display: grid; place-items: center; padding-inline: 12px; border-right: 1px solid var(--pay-line-2); border-radius: 9px 0 0 9px; background: var(--pay-tint-2); color: var(--pay-navy); }
.pay-field.is-bad .pay-box { border-color: var(--pay-red); background: #fff; }
.pay-hint { margin: 0; color: var(--pr-ink-3); }
.pay-err { margin: 0; color: #8a0007; display: none; }
.pay-field.is-bad .pay-err { display: block; }
.pay-field.is-bad .pay-hint { display: none; }

/* the amount: one larger field, a few shortcuts into it, and the one fact about tax */
.pay-amt .pay-pre { padding-inline: 16px; background: transparent; border-right: 0; color: var(--pay-navy); }
.pay-amt .pay-in { min-height: 52px; padding-left: 0; }
.pay-chips[hidden] { display: none; }
.pay-edit .pay-link[hidden], [data-quote-block][hidden] { display: none; }
.pay-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pay-chip { min-height: 36px; padding: 6px 16px; border: 1px solid var(--pay-line-2); border-radius: 999px; background: #fff; color: var(--pay-navy); cursor: pointer; transition: background .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease); }
.pay-chip:hover { background: var(--pay-tint-2); border-color: var(--pay-royal); }
.pay-chip[aria-pressed="true"] { border-color: var(--pay-navy); background: var(--pay-tint-3); box-shadow: inset 0 0 0 1px var(--pay-navy); }
.pay-live { margin: 0; color: var(--pr-body); min-height: 1.4em; }

/* the review */
.pay-sum, .pay-planbox { margin: 0; display: grid; border: 1px solid var(--pay-line-2); border-radius: 12px; overflow: hidden; background: #fff; }
.pay-sum div, .pay-planbox div { display: grid; grid-template-columns: minmax(84px, 30%) 1fr; gap: 12px; align-items: baseline; padding: 10px 16px; border-top: 1px solid var(--pay-line); }
.pay-sum div:first-child, .pay-planbox div:first-child { border-top: 0; }
.pay-sum div[hidden], .pay-planbox div[hidden] { display: none; }
.pay-sum dt, .pay-planbox dt { margin: 0; color: var(--pr-ink-3); }
/* the discount rows (21 Oct 2026): the starting price struck out, the rupees off in green */
.pay-was-row s { color: var(--pr-ink-3); text-decoration: line-through; text-decoration-thickness: 1.5px; }
.pay-off-row dt, .pay-off-row dd { color: #0d6b36 !important; font-weight: 600; }
.pay-sum dd, .pay-planbox dd { margin: 0; color: var(--pr-ink); overflow-wrap: anywhere; }
.pay-sum .pay-total, .pay-planbox .pay-total { background: linear-gradient(90deg, var(--pay-tint-2), var(--pay-tint)); border-top-color: var(--pay-line-2); align-items: center; }
.pay-total-v { color: var(--pay-navy); }
.pay-edit { display: flex; flex-wrap: wrap; gap: 6px 18px; margin: -2px 0 0; }
.pay-link { padding: 0; border: 0; background: none; color: var(--pay-royal-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.pay-link:hover { color: var(--pay-navy); }
.pay-notice { margin: 0; color: var(--pr-body); }

/* buttons: the primary one is the page's only filled control */
.pay-actions { display: grid; gap: 10px; margin-top: 2px; }
.pay-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 46px; padding: 11px 22px; border: 0; border-radius: 10px; background-color: var(--pay-navy); background-image: var(--pay-grad); color: #fff; text-decoration: none; cursor: pointer; box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 6px 14px -8px rgba(26, 19, 16, .7); transition: background-image .2s var(--ease), transform .2s var(--ease), box-shadow .2s var(--ease); }
.pay-btn:hover { background-image: var(--pay-grad-d); transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 12px 22px -10px rgba(26, 19, 16, .8); }
.pay-btn:focus-visible, .pay-chip:focus-visible, .pay-link:focus-visible, .pay-card a:focus-visible, .pay-trust a:focus-visible { outline: 2px solid var(--pay-royal); outline-offset: 3px; box-shadow: 0 0 0 5px var(--pay-ring); }
.pay-btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.pay-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-btn.is-quiet { background: transparent; color: var(--pay-navy); border: 1px solid var(--pay-line-2); box-shadow: none; }
.pay-btn.is-quiet:hover { background: var(--pay-tint-2); border-color: var(--pay-royal); box-shadow: none; transform: none; }
.pay-fine { margin: 0; color: var(--pr-ink-3); text-align: center; }
.pay-fine a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pay-fine a:hover { color: var(--pr-ink); }

/* a refusal in the flow (the window did not open, the payment was not completed) */
.pay-fail { display: grid; gap: 8px; padding: 12px 14px; border: 1px solid #F0C8C3; border-left: 3px solid var(--pay-red); border-radius: 10px; background: #FDF4F3; }
.pay-fail[hidden] { display: none; }
.pay-fail p { margin: 0; color: var(--pr-ink); }
.pay-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ── the result page ───────────────────────────────────────────────── */
.pay-result { display: grid; gap: 20px; justify-items: center; text-align: left; }
.pay-result [data-state][hidden] { display: none; }
.pay-result [data-state] { display: grid; gap: 16px; width: 100%; max-width: 24rem; animation: pay-in .32s var(--ease) both; }
.pay-wait { display: grid; gap: 14px; }
.pay-mark { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--pay-tint-2); border: 1px solid var(--pay-line-2); }
.pay-mark svg { width: 22px; height: 22px; fill: none; stroke: var(--pay-navy); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pay-spin { width: 22px; height: 22px; border: 2px solid var(--pay-line-2); border-top-color: var(--pay-royal); border-radius: 50%; animation: pay-turn .9s linear infinite; }
@keyframes pay-turn { to { transform: rotate(360deg); } }

/* the ticket: two parts joined by a dashed line, a notch at each end of it. White by default in a light browser, dark in a dark one; the toggle flips it.
   The top part carries the tone of the payment: a 4px bar along its edge and a soft wash that fades out. */
.pay-ticket { --tk-bg: #fff; --tk-ink: #14110f; --tk-mute: #4a4440; --tk-line: rgba(20, 17, 15, .28); --tk-chip: #f3f5fa; --tk-tone: var(--pay-green); --tk-tint: rgba(21, 128, 61, .12); --tk-shadow: rgba(20, 17, 15, .22);
  --notch: 12px; width: 100%; color: var(--tk-ink); filter: drop-shadow(0 0 .6px var(--tk-shadow)) drop-shadow(0 18px 24px rgba(26, 19, 16, .14)); }
.pay-ticket[data-th="dark"] { --tk-bg: #131211; --tk-ink: #f6f3ee; --tk-mute: #b9b2aa; --tk-line: rgba(246, 243, 238, .32); --tk-chip: #1f1d1b; --tk-shadow: rgba(0, 0, 0, .5); }
.pay-ticket[data-tone="paid"] { --tk-tone: var(--pay-green); --tk-tint: rgba(21, 128, 61, .13); }
.pay-ticket[data-tone="pending"] { --tk-tone: var(--pay-amber); --tk-tint: rgba(234, 179, 8, .2); }
.pay-ticket[data-tone="failed"] { --tk-tone: var(--pay-red); --tk-tint: rgba(179, 38, 30, .12); }
.pay-ticket[data-th="dark"][data-tone="paid"] { --tk-tone: #4ade80; --tk-tint: rgba(74, 222, 128, .16); }
.pay-ticket[data-th="dark"][data-tone="pending"] { --tk-tone: #facc15; --tk-tint: rgba(250, 204, 21, .16); }
.pay-ticket[data-th="dark"][data-tone="failed"] { --tk-tone: #f87171; --tk-tint: rgba(248, 113, 113, .16); }
.tk-part { position: relative; background: var(--tk-bg); }
.tk-top { display: grid; justify-items: center; gap: 8px; padding: 26px 24px 22px; text-align: center; border-radius: 18px 18px 0 0;
  background: linear-gradient(var(--tk-tone), var(--tk-tone)) top / 100% 4px no-repeat, linear-gradient(180deg, var(--tk-tint) 0%, transparent 88%), var(--tk-bg);
  -webkit-mask: radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle var(--notch) at 0 100%, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 100%, #0000 98%, #000) right / 51% 100% no-repeat; }
.tk-top::after { content: ""; position: absolute; left: 24px; right: 24px; bottom: 0; border-top: 2px dashed var(--tk-line); }
.tk-bot { display: grid; gap: 14px; padding: 22px 24px 24px; border-radius: 0 0 18px 18px;
  -webkit-mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; mask: radial-gradient(circle var(--notch) at 0 0, #0000 98%, #000) left / 51% 100% no-repeat, radial-gradient(circle var(--notch) at 100% 0, #0000 98%, #000) right / 51% 100% no-repeat; }
.tk-mark { display: grid; place-items: center; width: 52px; height: 52px; color: var(--tk-tone); }   /* the mark alone, no disc behind it */
.tk-mark svg { width: 40px; height: 40px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tk-mark svg path, .tk-mark svg circle { stroke-dasharray: 60; stroke-dashoffset: 60; animation: tk-draw .7s .25s var(--ease) forwards; }
@keyframes tk-draw { to { stroke-dashoffset: 0; } }
.tk-h { margin: 4px 0 0; color: var(--tk-ink); outline: none; }
.tk-sub { margin: 0; color: var(--tk-mute); max-width: 19rem; text-wrap: balance; }
.tk-theme { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 36px; height: 36px; padding: 0; border: 1px solid var(--tk-line); border-radius: 50%; background: transparent; color: var(--tk-ink); cursor: pointer; }
.tk-theme:hover { background: var(--tk-chip); }
.tk-theme:focus-visible { outline: 2px solid var(--tk-tone); outline-offset: 2px; }
.tk-theme svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.tk-theme .tk-moon, .pay-ticket[data-th="dark"] .tk-theme .tk-sun { display: none; }
.pay-ticket[data-th="dark"] .tk-theme .tk-moon { display: block; }
.tk-grid { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; text-align: left; }
.tk-grid > div { display: grid; gap: 3px; min-width: 0; align-content: start; }
.tk-grid > [hidden] { display: none; }
.tk-full { grid-column: 1 / -1; }
.tk-c2 { text-align: right; }
.tk-grid dt { margin: 0; color: var(--tk-mute); }
.tk-grid dd { margin: 0; color: var(--tk-ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.tk-grid dd.tk-mono { letter-spacing: .02em; }
.tk-how { display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; background: var(--tk-chip); }
.tk-how[hidden] { display: none; }
.tk-how-i { display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 9px; background: var(--tk-bg); color: var(--tk-ink); border: 1px solid var(--tk-line); }
.tk-how-i:empty { display: none; }
.tk-how-i.is-logo { width: auto; min-width: 50px; height: 36px; padding: 5px 9px; background: #fff; border-color: rgba(20, 17, 15, .18); }   /* the supplied marks are drawn for a light ground: they always sit on white */
.tk-how-i.is-logo img { display: block; height: 22px; width: auto; max-width: none; }
.tk-how-i svg { width: 20px; height: 20px; }
.tk-who, .tk-how-d { margin: 0; overflow-wrap: anywhere; }
.tk-who { color: var(--tk-ink); }
.tk-how-d { color: var(--tk-mute); }
.tk-how-d[hidden] { display: none; }
.tk-bar { display: flex; justify-content: center; border-top: 2px dashed var(--tk-line); padding-top: 18px; }
.tk-bar svg { display: block; width: min(100%, 230px); height: 52px; fill: var(--tk-ink); }
.tk-barnum { margin: -4px 0 0; text-align: center; color: var(--tk-mute); letter-spacing: .28em; }
.tk-note { margin: 0; color: var(--tk-mute); text-align: center; }
.tk-note a { color: var(--tk-ink); text-decoration: underline; text-underline-offset: 3px; }
.tk-actions { display: grid; gap: 10px; justify-items: center; }
.tk-actions .pay-btn { width: 100%; background: var(--tk-ink); color: var(--tk-bg); box-shadow: none; }
.tk-actions .pay-btn:hover { background: var(--tk-ink); opacity: .88; box-shadow: none; transform: none; }
.tk-actions .pay-btn.is-quiet { background: transparent; color: var(--tk-ink); border: 1px solid var(--tk-line); opacity: 1; }
.tk-actions .pay-btn.is-quiet:hover { background: var(--tk-chip); opacity: 1; }
.tk-actions .pay-btn:focus-visible, .tk-next-act .pay-btn:focus-visible { box-shadow: 0 0 0 5px var(--tk-tint); }
.tk-actions .pay-link { color: var(--tk-ink); }
.tk-actions .pay-link:focus-visible, .tk-actions .pay-btn:focus-visible { outline-color: var(--tk-tone); }
.pay-next { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--pr-body); }
.pay-next li { padding-left: 22px; position: relative; }
.pay-next li::before { content: ""; position: absolute; left: 4px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--pay-royal); }
.pay-row { display: grid; gap: 12px; }

@media (min-width: 960px) {
  /* one centred card (15 Oct 2026): the heading above it, the payment logos below it; the empty left column is gone. Under 960px the stack is unchanged (heading, logos, card). */
  .pay-grid { grid-template-columns: minmax(0, 480px); justify-content: center; justify-items: stretch; row-gap: clamp(18px, 2vw, 28px); }
  .pay-grid > * { max-width: none; }
  .pay-intro { display: contents; }
  .pay-kicker, .pay-h { text-align: center; }
  .pay-kicker { grid-row: 1; }
  .pay-h { grid-row: 2; justify-self: center; }
  .pay-card { grid-row: 3; }
  .pay-logos { grid-row: 4; justify-content: center; margin-top: 6px; }
  .pay-actions.is-split { grid-template-columns: auto 1fr; align-items: center; }
  .pay-row { grid-template-columns: 1fr 1fr; }
  .pay::before { -webkit-mask-image: linear-gradient(270deg, #000 0%, transparent 50%); mask-image: linear-gradient(270deg, #000 0%, transparent 50%); }
}
/* on a phone every target is 44px or more (the quick amounts are 36px on a desktop) */
@media (max-width: 767px) {
  .pay-chip { min-height: 44px; padding-inline: 18px; }
  .pay-chips { gap: 10px; }
  .pay-link { display: inline-flex; align-items: center; min-height: 44px; }
  .pay-btn { min-height: 48px; }
  .tk-theme { width: 44px; height: 44px; top: 10px; right: 10px; }
}
@media (min-width: 560px) { .pay-row.is-two { grid-template-columns: 1fr 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .pay-step:not([hidden]), .pay-result [data-state] { animation: none; }
  .tk-mark svg path, .tk-mark svg circle { animation: none; stroke-dashoffset: 0; }
  .pay-steps::after, .pay-steps li, .pay-btn, .pay-box, .pay-chip { transition: none; }
  .pay-btn:hover { transform: none; }
  .pay-spin { animation-duration: 3s; }
}

/* ── Get started: the plan breakdown on /pay/ and the five-second countdown on the paid ticket ─────────────────────── */
.pay-planbox { margin-top: 2px; }
.tk-next { display: grid; gap: 10px; padding-top: 2px; }
.tk-next[hidden] { display: none; }
.tk-next-bar { height: 5px; border-radius: 999px; background: var(--tk-line); overflow: hidden; }
.tk-next-bar[hidden] { display: none; }
.tk-next-bar i { display: block; height: 100%; width: 0; background: var(--tk-tone); border-radius: inherit; }
.tk-next-act { display: grid; gap: 8px; justify-items: center; }
.tk-next-act .pay-btn { background: var(--tk-ink); color: var(--tk-bg); text-decoration: none; box-shadow: none; }
.tk-next-act .pay-btn:hover { background: var(--tk-ink); opacity: .88; box-shadow: none; transform: none; }
.tk-next-act .pay-btn:focus-visible, .tk-next-act .pay-link:focus-visible { outline-color: var(--tk-tone); }
.tk-next-act .pay-link { color: var(--tk-ink); }
.tk-next-act .pay-link[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) { .tk-next-bar i { transition: none !important; } }

/* the consent line: a real checkbox, never ticked for the person */
.pay-check { display: grid; grid-template-columns: 20px 1fr; gap: 12px; align-items: start; padding: 12px 14px; border: 1px solid var(--pay-line-2); border-radius: 10px; background: #fff; cursor: pointer; }
.pay-check input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pay-navy); }
.pay-check span { color: var(--pr-body); }
.pay-check a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.pay-check:has(input:focus-visible) { outline: 2px solid var(--pay-royal); outline-offset: 2px; box-shadow: 0 0 0 5px var(--pay-ring); }
.pay-field.is-bad .pay-check, .pay-check.is-bad { border-color: var(--pay-red); }

/* a plan page: what is included (plain lists, no type sizes: the roles come from site.css) and the customer's choice of gateway */
.pay-incl { margin: 10px 0 0; padding-left: 20px; display: grid; gap: 4px; color: var(--pr-body); }
.pay-more { margin-top: 10px; }
.pay-more summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; color: var(--pr-ink); }
.pay-more summary:focus-visible { outline: 2px solid var(--pay-navy); outline-offset: 2px; }
.pay-gw { display: grid; gap: 8px; }
.pay-gw[hidden], .pay-chips [hidden] { display: none; }
.pay-gw .pay-chip { min-height: 44px; }
.pay-check + .pay-err { margin-top: 6px; }
