
  /* ── Two ways to buy. Quick buy by card (#buy-b) is the primary option: it comes first (left on
        desktop, top on phones), carries the highlight and the filled button. The file-service
        account (#buy-a) is the calmer second card with the top-up bonus. ── */
  .buy-choice, .bopt { scroll-margin-top: 140px; }   /* clear the sticky header */
  .buy-choice { display: grid; grid-template-columns: 1.08fr 1fr; gap: 18px; }
  .buy-choice > h2 { grid-column: 1 / -1; margin: 0 0 2px; font-size: 23px; font-weight: 800; letter-spacing: -.01em; color: var(--text); }
  .buy-choice > h2:focus { outline: none; }   /* focused only programmatically by the phone bar */
  .bopt {
    position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0;
    background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 26px 26px 24px;
    box-shadow: 0 4px 14px rgba(11,30,52,.05);
  }
  .bopt.best {
    border-color: #38bdf8;
    background: radial-gradient(ellipse 500px 260px at 100% 0%, rgba(14,165,233,.14) 0, transparent 70%), linear-gradient(135deg, #f0f9ff 0%, #fff 100%);
    box-shadow: 0 0 0 4px rgba(14,165,233,.10), 0 18px 44px -18px rgba(14,165,233,.5);
  }
  .badge-best, .badge-soft {
    position: absolute; top: -13px; left: 22px; max-width: calc(100% - 44px);
    font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
    padding: 6px 12px; border-radius: 999px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .badge-best { background: linear-gradient(135deg, #f59e0b, #f97316); color: #fff; box-shadow: 0 6px 16px rgba(249,115,22,.35); }
  .badge-soft { padding: 5px 11px; background: #fff7ed; color: #b45309; border: 1px solid #fdba74; }
  .bopt h3 { margin: 4px 0 0; font-size: 18px; font-weight: 800; color: var(--text); }
  .bopt .sub { margin: -8px 0 0; color: var(--muted); font-size: 13.5px; line-height: 1.5; }
  .bprice { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; font-size: 40px; font-weight: 800; letter-spacing: -.02em; color: var(--text); line-height: 1; }
  .bprice small { font-size: 14px; line-height: 1.35; color: var(--muted); font-weight: 600; letter-spacing: 0; }
  .steps3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: st; }
  .steps3 li {
    counter-increment: st; position: relative; padding: 10px 12px 10px 44px; border-radius: 12px;
    background: #fff; border: 1px solid #dbeafe; font-size: 14px; line-height: 1.45;
  }
  .steps3 li::before {
    content: counter(st); position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center;
    background: linear-gradient(135deg, var(--red), var(--red-deep)); color: #fff; font-size: 12px; font-weight: 800;
  }
  .steps3 .hl { color: #b45309; font-weight: 800; white-space: nowrap; }
  .bopt:not(.best) .steps3 li { background: #f8fafc; border-color: var(--line); }
  .bopt:not(.best) .steps3 li::before { background: #e2e8f0; color: #334155; }
  .ticks { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
  .ticks li { position: relative; padding-left: 24px; font-size: 14px; line-height: 1.5; color: var(--text); }
  .ticks li::before { content: "✓"; position: absolute; left: 2px; top: 0; color: #10b981; font-weight: 900; }
  .ticks li.no { color: var(--muted); }
  .ticks li.no::before { content: "–"; color: #94a3b8; }
  .bactions { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
  .bnotes { margin: 2px 0 0; padding: 0; list-style: none; display: grid; gap: 3px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
  .bnotes li { position: relative; padding-left: 14px; }
  .bnotes li::before { content: "·"; position: absolute; left: 3px; top: 0; font-weight: 900; color: #94a3b8; }
  .bc-btn {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    padding: 15px 20px; border-radius: 12px; border: 0; cursor: pointer;
    font-family: inherit; font-weight: 800; font-size: 15px; line-height: 1.25; text-align: center; text-decoration: none;
    transition: transform .15s, box-shadow .2s, border-color .15s, opacity .15s;
  }
  .bc-pri { color: #fff; background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%); box-shadow: 0 12px 28px rgba(14,165,233,.34); }
  .bc-pri:hover { color: #fff; transform: translateY(-1px); }
  .bc-sec { color: var(--text); background: #fff; border: 1.5px solid #94a3b8; }
  .bc-sec:hover { color: var(--text); border-color: var(--text); }
  .bc-btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
  .bc-btn:focus-visible, .qb-link:focus-visible, .qb-close:focus-visible, .qb .chk input:focus-visible, .cpy:focus-visible {
    outline: 3px solid rgba(14,165,233,.5); outline-offset: 2px;
  }
  /* copy-to-clipboard control next to an order number */
  .cpy {
    display: inline-flex; align-items: center; justify-content: center; gap: 5px; vertical-align: middle; margin: 0 2px 0 4px; padding: 3px 9px;
    border-radius: 8px; border: 1px solid #bfdbfe; background: #f0f9ff; color: #0369a1; cursor: pointer;
    font: 700 12px/1.4 Inter, sans-serif; white-space: nowrap;
  }
  .cpy svg { width: 13px; height: 13px; flex: none; }
  .cpy:hover { background: #e0f2fe; }
  .cpy.ok { background: #dcfce7; border-color: #86efac; color: #166534; }
  .bc-btn svg { width: 17px; height: 17px; flex: none; }
  .login-link { text-align: center; font-size: 13.5px; color: var(--muted); }
  .login-link a { color: var(--red); font-weight: 700; }
  .paylogos { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 2px; padding: 0; list-style: none; }
  .paylogos li { font-size: 11.5px; font-weight: 800; padding: 4px 8px; border-radius: 6px; border: 1px solid var(--line); color: #475569; background: #fff; }
  .qb-noscript { margin: 0; font-size: 13px; color: var(--muted); }
  @media (max-width: 760px) {
    .buy-choice { grid-template-columns: 1fr; row-gap: 26px; }
    .buy-choice, .bopt { scroll-margin-top: 72px; }
    .bopt { padding: 24px 18px 20px; }
    .bprice { font-size: 34px; }
  }

  /* ── Quick-buy dialog ── */
  html.qb-lock, html.qb-lock body { overflow: hidden; }
  .qb-overlay {
    position: fixed; inset: 0; z-index: 1000;   /* above the header (100) and the chat launcher (900) */
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(15,23,42,.55); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    overscroll-behavior: contain;
  }
  .qb-overlay[hidden] { display: none; }
  /* .qb-loading / .bc-btn set their own display, which would beat the hidden attribute */
  .qb-overlay [hidden] { display: none !important; }
  .qb {
    position: relative; width: 100%; max-width: 580px;
    max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); overflow: auto; overscroll-behavior: contain;
    background: #fff; color: var(--text); border-radius: 22px; box-shadow: 0 30px 80px rgba(0,0,0,.35);
    padding: 24px 26px 22px;
  }
  .qb.is-pay { max-width: 760px; }
  .qb:focus { outline: none; }
  .qb-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
  .qb-head h2 { margin: 0; font-size: 20px; font-weight: 800; line-height: 1.3; }
  .qb-close {
    flex: none; display: grid; place-items: center; width: 36px; height: 36px;
    border: 0; border-radius: 10px; background: #f1f5f9; color: var(--text);
  }
  .qb-close:hover { background: #e2e8f0; }
  .qb-close svg { width: 18px; height: 18px; }
  .qb-steps { list-style: none; display: flex; gap: 6px; margin: 14px 0 16px; padding: 0; font-size: 12px; font-weight: 700; color: #94a3b8; }
  .qb-steps li { flex: 1; min-width: 0; text-align: center; padding: 7px 4px; border-radius: 8px; background: #f1f5f9; line-height: 1.3; }
  .qb-steps li.on { background: #e0f2fe; color: #0369a1; }
  .qb-steps li.done { background: #dcfce7; color: #15803d; }
  .qb-file { background: #f8fafc; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: 13.5px; line-height: 1.6; overflow-wrap: anywhere; }
  .qb-file code { font-family: 'JetBrains Mono', Consolas, monospace; font-size: 12.5px; font-weight: 700; }
  .qb-avail { display: flex; align-items: flex-start; gap: 8px; min-height: 21px; margin: 12px 0 0; font-size: 13px; font-weight: 600; line-height: 1.6; color: var(--muted); }
  .qb-avail .dot { flex: none; width: 9px; height: 9px; margin-top: 6px; border-radius: 50%; background: #cbd5e1; }
  .qb-avail.ok { color: #166534; }
  .qb-avail.ok .dot { background: #22c55e; box-shadow: 0 0 0 3px rgba(34,197,94,.2); }
  .qb-avail.closed { color: #92400e; }
  .qb-avail.closed .dot { background: #f59e0b; }
  .qb-closed { margin-top: 12px; padding: 14px; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; color: #92400e; font-size: 13.5px; line-height: 1.55; }
  .qb-closed b { display: block; margin-bottom: 4px; color: #78350f; }
  .qb-closed p { margin: 0 0 10px; }
  .qb-link {
    border: 0; background: none; padding: 0; cursor: pointer; text-align: left;
    font: inherit; font-weight: 800; color: var(--primary-deep); text-decoration: underline; text-underline-offset: 2px;
  }
  .qb-link:hover { color: var(--primary-dark); }
  .qb label.field { display: block; margin: 16px 0 6px; font-weight: 700; font-size: 13.5px; }
  .qb input[type=email] {
    display: block; width: 100%; padding: 12px 14px; border-radius: 11px; border: 1.5px solid #cbd5e1;
    font: inherit; font-size: 16px; color: var(--text); background: #fff;   /* 16px: no iOS zoom on focus */
  }
  .qb input[type=email]:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14,165,233,.18); }
  .qb input[aria-invalid="true"] { border-color: #ef4444; background: #fef2f2; }
  .qb-typo { margin: 7px 0 0; font-size: 13px; color: #92400e; }
  .mail-hint { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
  .mail-hint b { color: var(--text); }
  .qb-err { margin: 7px 0 0; font-size: 12.5px; line-height: 1.45; color: #b91c1c; font-weight: 700; }
  .how-del { margin-top: 16px; padding: 12px 14px 4px; border-radius: 14px; background: #f0f9ff; border: 1px solid #bae6fd; font-size: 13px; line-height: 1.5; }
  .how-del ol { margin: 6px 0 8px; padding-left: 18px; }
  .how-del li { margin-bottom: 4px; }
  .qb-consents { border: 0; margin: 14px 0 0; padding: 0; min-width: 0; }
  .qb .chk {
    display: flex; gap: 10px; align-items: flex-start; margin-top: 8px; padding: 10px 12px;
    border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 13.2px; line-height: 1.5;
  }
  .qb .chk { transition: border-color .15s, background .15s; }
  .qb .chk:hover { border-color: #93c5fd; background: #f8fbff; }
  .qb .chk:has(input:checked) { border-color: #86efac; background: #f0fdf4; }
  .qb .chk.bad { border-color: #fca5a5; background: #fef2f2; }
  /* small touches: the dialog arrives softly, the active step and the cards feel alive */
  .qb-overlay:not([hidden]) { animation: qb-fade .18s ease-out; }
  .qb-overlay:not([hidden]) .qb { animation: qb-in .24s cubic-bezier(.2, .8, .2, 1); }
  @keyframes qb-fade { from { opacity: 0; } to { opacity: 1; } }
  @keyframes qb-in { from { opacity: 0; transform: translateY(14px) scale(.985); } to { opacity: 1; transform: none; } }
  .qb-steps li { transition: background .2s, color .2s; }
  .qb-steps li.on { background: linear-gradient(135deg, #e0f2fe, #dbeafe); box-shadow: inset 0 0 0 1px #bae6fd; }
  .qb-steps li.done { box-shadow: inset 0 0 0 1px #bbf7d0; }
  @media (hover: hover) {
    .bopt { transition: transform .2s, box-shadow .2s, border-color .2s; }
    .bopt:hover { transform: translateY(-2px); }
    .bopt:not(.best):hover { border-color: #bfdbfe; box-shadow: 0 14px 32px -14px rgba(11,30,52,.18); }
    .bc-pri:hover { box-shadow: 0 16px 34px rgba(14,165,233,.42); }
  }
  @media (prefers-reduced-motion: reduce) {
    .qb-overlay:not([hidden]), .qb-overlay:not([hidden]) .qb { animation: none; }
    .bopt, .bopt:hover { transition: none; transform: none; }
  }
  .qb .chk input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--primary-deep); cursor: pointer; }
  .qb .chk label { cursor: pointer; }
  .qb .chk-links a { color: var(--primary-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  .qb-msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 13.5px; line-height: 1.5; background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
  .qb-msg.info { background: #f0f9ff; border-color: #bae6fd; color: #075985; }
  .qb-dup { margin-top: 14px; padding: 14px; border-radius: 14px; background: #fffbeb; border: 1px solid #fde68a; font-size: 13.5px; line-height: 1.55; color: #78350f; }
  .qb-dup b { display: block; margin-bottom: 4px; }
  .qb-dup p { margin: 0 0 10px; }
  .qb-dup .row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
  .qb-dup .bc-btn { padding: 10px 16px; font-size: 14px; }
  .qb-dup code, .qb-paybar code { font-family: 'JetBrains Mono', Consolas, monospace; font-weight: 700; }
  .qb-submit { width: 100%; margin-top: 16px; }
  .qb-secure { margin: 10px 0 0; text-align: center; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
  .qb-secure svg { display: inline-block; width: 13px; height: 13px; margin-right: 5px; vertical-align: -2px; }
  .nw { white-space: nowrap; }
  .qb-alt { margin: 14px 0 0; padding-top: 12px; border-top: 1px dashed var(--line); text-align: center; font-size: 13.5px; line-height: 1.5; }
  .qb-alt .qb-link { color: #b45309; text-align: center; }
  .qb-fine { margin: 12px 0 0; font-size: 12px; line-height: 1.55; color: var(--muted); }
  .qb-fine a { color: var(--muted); text-decoration: underline; }
  /* the one thing the buyer must do before paying */
  .qb-check { display: inline-block; padding: 1px 8px; border-radius: 6px; background: #fef3c7; color: #92400e;
    font-weight: 800; box-shadow: inset 0 0 0 1px #fcd34d; white-space: nowrap; }
  .qb-check.qb-nr { background: #fee2e2; color: #b91c1c; box-shadow: inset 0 0 0 1px #fca5a5; text-transform: uppercase; letter-spacing: .03em; font-size: .92em; }
  .qb-help { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
  .qb-help a { color: var(--primary-deep); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
  .qb-help .qb-link { font-weight: 800; }
  .qb-paybar code { white-space: nowrap; }
  .qb-paybar {
    display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 14px;
    padding: 10px 14px; border-radius: 12px; background: #f8fafc; border: 1px solid var(--line); font-size: 13.5px; line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .qb-stripe { position: relative; min-height: 440px; margin-top: 12px; }
  .qb-loading { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 200px; margin: 0; font-size: 14px; color: var(--muted); }
  .qb-spin { width: 18px; height: 18px; border-radius: 50%; border: 2.5px solid #bae6fd; border-top-color: var(--primary-deep); animation: qb-spin .8s linear infinite; }
  @keyframes qb-spin { to { transform: rotate(360deg); } }
  .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  @media (max-width: 600px) {
    .qb-overlay { padding: 0; align-items: stretch; }
    .qb, .qb.is-pay {
      max-width: none; max-height: none; height: 100%; border-radius: 0; box-shadow: none;
      padding: calc(12px + env(safe-area-inset-top)) 16px calc(20px + env(safe-area-inset-bottom));
    }
    .qb-head {   /* the close button stays reachable while the form scrolls */
      position: sticky; top: calc(-12px - env(safe-area-inset-top)); z-index: 2;
      margin: 0 -16px; padding: 10px 16px 8px; background: #fff; border-bottom: 1px solid #eef2f7;
    }
    .qb-head h2 { font-size: 18px; }
    .qb-steps { margin: 12px 0 14px; font-size: 11.5px; }
    .qb-stripe { min-height: 360px; }
  }
  @media (prefers-reduced-motion: reduce) { .qb-spin { animation-duration: 2s; } .bc-btn { transition: none; } }
