/* ==========================================================================
   Product pages: tools.html (.pr) and risenex-billing.html (.bf).
   Hand-written source, linked after css/work.css (tokens, hero, buttons,
   tags, CTA) and css/about.css (section scaffolding).

   The billing window (.bfw) is the one product visual: an HTML mockup with
   example data only. js/product.js makes it interactive everywhere and, on
   desktop with motion allowed, drives one scroll moment per page with GSAP
   ScrollTrigger. Without that (phones, reduced motion, no script) every
   element is in its finished state.
   ========================================================================== */

/* ---------- shared hero bits ---------- */
.pr-hero__inner, .bx-hero__inner { padding: 96px 0 72px; text-align: center; display: flex; flex-direction: column; align-items: center; }
.pr-hero .wk-hero__title, .bx-hero .wk-hero__title { max-width: 15ch; margin-bottom: 24px; }
.pr-hero .wk-hero__lede, .bx-hero .wk-hero__lede { margin-bottom: 32px; }
.pr-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.pr-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 30px; }
.pr-chips li { font-size: 13.5px; padding: 8px 14px; border-radius: 999px; color: rgba(255, 255, 255, 0.9); background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
.bx-hero .wk-hero__panel { padding-bottom: 140px; }

.pr-prod__logo { display: block; width: 140px; height: auto; margin: -6px 0 14px -6px; }
@media (max-width: 767px) {
  .pr-prod__logo { width: 120px; }
}

/* ==========================================================================
   Risenex Billing hero (.bx-hero): light, with the product working beside the
   words. Copy on the left, the live counter on the right (stacked below
   1100px). The panel keeps the shared shape from css/work.css; only its
   colours change here.
   ========================================================================== */
.bx-hero .wk-hero__panel {
  color: var(--text);
  background:
    radial-gradient(55% 70% at 100% 0%, rgba(42, 95, 208, 0.11), rgba(42, 95, 208, 0) 62%),
    radial-gradient(50% 70% at 0% 100%, rgba(226, 173, 59, 0.16), rgba(226, 173, 59, 0) 60%),
    linear-gradient(168deg, #fffdf8 0%, #f9f6ee 52%, #f2f5fb 100%);
  box-shadow: inset 0 0 0 1px rgba(11, 22, 48, 0.07), inset 0 1px 0 #fff, 0 2px 4px rgba(11, 22, 48, 0.04), 0 30px 70px -36px rgba(11, 22, 48, 0.28);
}
.bx-hero .wk-glow--a { background: radial-gradient(circle, rgba(42, 95, 208, 0.13) 0%, rgba(42, 95, 208, 0) 65%); }
.bx-hero .wk-glow--b { background: radial-gradient(circle, rgba(226, 173, 59, 0.2) 0%, rgba(226, 173, 59, 0) 65%); }
.bx-hero .wk-gridlines { background-image: linear-gradient(rgba(11, 22, 48, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(11, 22, 48, 0.05) 1px, transparent 1px); }

.bx-hero .bx-hero__inner {
  display: grid; grid-template-columns: minmax(0, 1fr) 540px; align-items: center; gap: 48px;
  padding: 40px 0 56px; text-align: left;
}
.bx-hero__copy { min-width: 0; }
/* Official transparent logo (assets/risenex-billing-logo.png, resized only),
   straight on the light panel. */
.bx-logo { display: block; width: 320px; height: auto; margin: -6px 0 8px -10px; }
.bx-hero .wk-hero__title {
  max-width: 12ch; margin-bottom: 22px; font-size: clamp(46px, 5.4vw, 78px); line-height: 1;
  color: var(--ink); text-shadow: none;
}
/* "offline." in a deeper gold: every stop keeps at least 3.9:1 on the panel
   (large text needs 3:1); color is the stop a contrast checker reads. */
.bx-hero .wk-hero__title .wk-serif { filter: none; }
.bx-hero .wk-gold-text {
  color: #8a5a0c;
  background-image: linear-gradient(110deg, #6b4306 0%, #8a5a0c 24%, #a06c14 42%, #8a5a0c 58%, #6b4306 78%, #8a5a0c 100%);
}
.bx-hero .wk-hero__lede { max-width: 34em; margin-bottom: 30px; color: var(--text); }
.bx-hero .pr-ctas { justify-content: flex-start; }
.bx-btn-line {
  color: var(--royal-deep); background: rgba(255, 255, 255, 0.72);
  box-shadow: inset 0 0 0 1.5px var(--royal-deep), 0 8px 20px -14px rgba(11, 22, 48, 0.5);
}
.bx-btn-line svg { color: #1a7f45; }
.bx-btn-line:hover { background: #fff; transform: translateY(-2px); box-shadow: inset 0 0 0 1.5px var(--royal-deep), 0 14px 28px -14px rgba(11, 22, 48, 0.5); }
.bx-hero .pr-chips { justify-content: flex-start; }
.bx-hero .pr-chips li { color: var(--text); background: rgba(255, 255, 255, 0.78); box-shadow: inset 0 0 0 1px var(--line-2); }

/* "Offline desktop first. Cloud version coming next." beside the eyebrow */
.bx-hero__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-bottom: 18px; }
.bx-hero__tags .wk-eyebrow { margin-bottom: 0; }
.bx-next {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 10px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; line-height: 1.3; color: var(--royal-deep);
  background: rgba(255, 255, 255, 0.8); box-shadow: inset 0 0 0 1px var(--line-2);
}
.bx-next::before { content: ''; flex: none; width: 7px; height: 7px; border-radius: 50%; background: #c08a1e; box-shadow: 0 0 0 3px rgba(192, 138, 30, 0.18); }

/* ---------- the live counter (example data) ----------
   Finished and still unless html.bx-play is set: js/product.js sets it on
   desktop (html.wk-motion) once the page has loaded, and only moves things
   by transform and opacity, so nothing around it shifts. */
.bx-live { position: relative; height: 608px; }
.bx-printer { position: absolute; right: 0; bottom: 0; width: 316px; }
.bx-roll { position: relative; overflow: hidden; height: 524px; margin: 0 20px -6px; }
.bx-paper {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 18px 14px;
  font: 500 12.5px/1.45 ui-monospace, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace; color: var(--ink);
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(11, 22, 48, 0.08);
  /* torn top edge */
  -webkit-mask: linear-gradient(#000, #000) 0 10px / 100% 100% no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 0 / 14px 10px repeat-x;
  mask: linear-gradient(#000, #000) 0 10px / 100% 100% no-repeat, conic-gradient(from 135deg at 50% 0, #000 90deg, transparent 0) 0 0 / 14px 10px repeat-x;
}
.bx-r__shop { font-size: 14.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; }
.bx-r__sub { font-size: 11px; color: #4a5568; text-align: center; margin-top: 2px !important; }
.bx-r__meta { display: flex; justify-content: space-between; margin-top: 10px !important; padding: 6px 0; font-size: 11.5px; color: #4a5568; border-top: 1px dashed #b9c2d0; border-bottom: 1px dashed #b9c2d0; }
.bx-r__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; border-bottom: 1px dashed #dde3ec; }
.bx-r__item small { display: block; font-size: 10.5px; color: #4a5568; margin-top: 1px; }
.bx-r__lines b, .bx-r__tax dd, .bx-r__total b { font-variant-numeric: tabular-nums; white-space: nowrap; }
.bx-r__lines b { font-weight: 600; }
.bx-r__tax { margin: 8px 0 0; }
.bx-r__tax div { display: flex; justify-content: space-between; padding: 1px 0; font-size: 12px; }
.bx-r__tax dt { color: #4a5568; }
.bx-r__tax dd { margin: 0; }
.bx-r__total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px !important; padding: 7px 0 6px; border-top: 2px solid var(--ink); border-bottom: 1px dashed #b9c2d0; }
.bx-r__total span { font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.bx-r__total b { display: inline-block; min-width: 10ch; text-align: right; font-size: 18px; font-weight: 700; color: var(--ink); }
.bx-r__end { margin-top: 10px; text-align: center; }

.bx-r__end p { font-size: 10.5px; color: #4a5568; }

.bx-printer__body {
  position: relative; height: 76px; border-radius: 18px 18px 22px 22px;
  background: linear-gradient(180deg, #1d4699 0%, #143a8a 40%, #0b2257 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -10px 20px rgba(3, 12, 40, 0.45), 0 22px 40px -18px rgba(11, 22, 48, 0.55);
}
.bx-printer__slot { position: absolute; left: 14px; right: 14px; top: 10px; height: 6px; border-radius: 4px; background: #061335; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.6), 0 1px 0 rgba(255, 255, 255, 0.15); }
.bx-printer__slot::after { content: ''; position: absolute; left: 10%; right: 10%; bottom: -5px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, transparent, #e9bd5c, transparent); opacity: 0.85; }
.bx-printer__led { position: absolute; left: 22px; bottom: 22px; width: 8px; height: 8px; border-radius: 50%; background: #f0c766; box-shadow: 0 0 0 3px rgba(240, 199, 102, 0.18), 0 0 10px rgba(240, 199, 102, 0.8); }
.bx-printer__label { position: absolute; right: 22px; bottom: 18px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255, 255, 255, 0.86); }

.bx-scan {
  position: absolute; left: 0; top: 54px; z-index: 2; width: 200px; padding: 16px 16px 14px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.94); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line);
}
.bx-scan__label { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--royal); }
.bx-scan__dot { width: 7px; height: 7px; border-radius: 50%; background: #1a7f45; box-shadow: 0 0 0 3px rgba(26, 127, 69, 0.16); }
.bx-scan__name { margin-top: 10px !important; font-size: 15px; font-weight: 650; color: var(--ink); }
.bx-scan__hsn { font-size: 12.5px; color: var(--muted); }
.bx-scan__code { position: relative; margin: 10px 0 10px; padding: 8px 10px; border-radius: 10px; background: #f4f6fa; overflow: hidden; }
/* barcodes: drawn with gradients (example bars, not a real code) */
.bx-bars {
  display: block; height: 30px;
  background:
    repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 8px, var(--ink) 8px 11px, transparent 11px 12px, var(--ink) 12px 13px, transparent 13px 16px),
    repeating-linear-gradient(90deg, transparent 0 19px, #f4f6fa 19px 21px, transparent 21px 37px);
  background-blend-mode: normal;
}
.bx-bars--sm { width: 74%; height: 22px; margin: 0 auto 5px; }
.bx-scan__beam {
  position: absolute; top: 4px; bottom: 4px; left: 0; width: 3px; border-radius: 3px; opacity: 0;
  background: #c8901f; box-shadow: 0 0 10px 2px rgba(226, 173, 59, 0.75), 0 0 26px 6px rgba(226, 173, 59, 0.35);
}
.bx-scan__stock { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--muted); }
.bx-scan__stock b { display: inline-block; min-width: 3ch; font-size: 16px; font-variant-numeric: tabular-nums; color: var(--ink); }
.bx-scan__was { font-size: 11.5px; color: #8a5a0c; }

/* playing (desktop, motion allowed, after load) */
.bx-play .bx-paper { transition: transform 0.7s cubic-bezier(0.3, 0.7, 0.2, 1), opacity 0.45s ease; will-change: transform; }
.bx-play .bx-paper.is-reset { transition: none; }
.bx-play .bx-scan [data-scan] { transition: opacity 0.25s ease; }
.bx-play .bx-scan.is-swap [data-scan] { opacity: 0; }
.bx-play .bx-scan__beam.is-on { opacity: 1; animation: bxBeam 0.85s cubic-bezier(0.45, 0, 0.55, 1) both; }
.bx-play .bx-printer__led.is-busy { animation: bxLed 0.5s ease-in-out infinite alternate; }
@keyframes bxBeam { from { transform: translateX(0); } to { transform: translateX(145px); } }
@keyframes bxLed { from { opacity: 1; } to { opacity: 0.35; } }

@media (max-width: 1100px) {
  .bx-hero .bx-hero__inner { grid-template-columns: minmax(0, 1fr); gap: 40px; justify-items: center; text-align: center; padding-top: 28px; }
  .bx-hero__copy { display: flex; flex-direction: column; align-items: center; }
  .bx-logo { margin-left: 0; margin-right: 0; }
  .bx-hero .wk-hero__title { max-width: 13ch; }
  .bx-hero .pr-ctas, .bx-hero .pr-chips, .bx-hero__tags { justify-content: center; }
  .bx-live { width: 540px; max-width: 100%; }
}
@media (max-width: 767px) {
  .bx-hero .bx-hero__inner { padding: 44px 0 40px; gap: 32px; }
  /* phones: the official white-background file (see the <picture>), multiplied
     into the panel so its white drops out exactly as the transparent file's would */
  .bx-logo { width: 220px; margin: -4px 0 12px; mix-blend-mode: multiply; }
  .bx-hero .wk-hero__title { font-size: clamp(42px, 13vw, 58px); max-width: 11ch; }
  .bx-next { font-size: 12.5px; padding: 5px 11px 5px 9px; }
  /* phones: the finished receipt only, still */
  .bx-live { width: 100%; height: auto; display: flex; justify-content: center; }
  .bx-scan { display: none; }
  .bx-printer { position: relative; width: min(300px, 100%); }
  .bx-roll { height: auto; }
  .bx-paper { position: relative; }
}

/* ==========================================================================
   The billing window (example data)
   ========================================================================== */
.bfw {
  --bfw-line: #e6ebf3;
  position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr);
  border-radius: 18px; overflow: hidden; background: #fff; color: #3b475b; font-size: 13.5px; text-align: left;
  box-shadow: 0 0 0 1px rgba(11, 22, 48, 0.08), 0 2px 4px rgba(11, 22, 48, 0.05), 0 30px 60px -20px rgba(11, 22, 48, 0.28), 0 70px 120px -40px rgba(16, 42, 94, 0.45);
}
.bfw__bar { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px; background: #f3f6fb; border-bottom: 1px solid var(--bfw-line); }
.bfw__dots { display: flex; gap: 6px; }
.bfw__dots i { width: 10px; height: 10px; border-radius: 50%; background: #d4dbe7; }
.bfw__title { font-size: 13px; font-weight: 600; color: #0b1630; }
.bfw__offline { margin-left: auto; display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 650; color: #146c3c; padding: 4px 10px; border-radius: 999px; background: #e6f6ec; }
.bfw__offline::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; }
.bfw__side { padding: 16px 12px; background: #0f1d3d; color: rgba(255, 255, 255, 0.7); font-size: 13px; }
.bfw__brand { display: block; padding: 0 8px 14px; font-weight: 700; color: #fff; letter-spacing: -0.01em; }
.bfw__brand span { color: #f3d891; }
.bfw__side li { padding: 8px 10px; border-radius: 9px; }
.bfw__side li.is-on { color: #fff; background: rgba(255, 255, 255, 0.1); }
.bfw__main { padding: 20px 22px 18px; min-width: 0; }
.bfw__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; margin-bottom: 16px; }
.bfw__h { font-size: 19px; font-weight: 700; color: #0b1630; letter-spacing: -0.02em; }
.bfw__meta { font-size: 12px; color: #5b6779; margin-top: 2px; }
.bfw__parties { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-bottom: 14px; }
.bfw__party { padding: 11px 13px; border-radius: 12px; background: #f6f8fc; box-shadow: inset 0 0 0 1px var(--bfw-line); font-size: 12.5px; line-height: 1.5; }
.bfw__party b { display: block; color: #0b1630; font-size: 13px; }
.bfw__party small { display: block; font-size: 11.5px; color: #5b6779; font-variant-numeric: tabular-nums; }
.bfw__label { display: block; font-size: 10.5px; font-weight: 650; letter-spacing: 0.08em; text-transform: uppercase; color: #5b6779; margin-bottom: 4px; }
.bfw__supply { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 12.5px; }
.bfw__seg { display: inline-flex; padding: 3px; border-radius: 10px; background: #eef2f8; box-shadow: inset 0 0 0 1px var(--bfw-line); }
.bfw__seg label { position: relative; cursor: pointer; }
.bfw__seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.bfw__seg span { display: block; padding: 6px 12px; border-radius: 8px; font-weight: 600; color: #5b6779; transition: background 0.25s, color 0.25s, box-shadow 0.25s; }
.bfw__seg input:checked + span { color: #0b1630; background: #fff; box-shadow: 0 1px 2px rgba(11, 22, 48, 0.12); }
.bfw__seg input:focus-visible + span { outline: 3px solid #e2ad3b; outline-offset: 2px; }
.bfw table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.bfw th { font-size: 10.5px; font-weight: 650; letter-spacing: 0.06em; text-transform: uppercase; color: #5b6779; text-align: left; padding: 0 8px 8px; border-bottom: 1px solid var(--bfw-line); }
.bfw td { padding: 9px 8px; border-bottom: 1px solid var(--bfw-line); color: #0b1630; vertical-align: middle; }
.bfw th.n, .bfw td.n { text-align: right; }
.bfw td small { display: block; font-size: 11px; color: #5b6779; }
.bfw__qty { display: inline-flex; align-items: center; gap: 2px; }
.bfw__qty button {
  width: 24px; height: 24px; border: 0; border-radius: 7px; cursor: pointer; font: inherit; font-size: 15px; line-height: 1; color: #1f4fb8; background: #eef3fc;
}
.bfw__qty button:hover { background: #dfe8fa; }
.bfw__qty button:focus-visible { outline: 3px solid #e2ad3b; outline-offset: 1px; }
.bfw__qty output { min-width: 26px; text-align: center; font-weight: 650; }
.bfw__foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 260px); gap: 18px; margin-top: 14px; align-items: end; }
.bfw__note { font-size: 12px; color: #5b6779; }
.bfw__note b { color: #146c3c; }
.bfw__totals { display: grid; gap: 6px; font-size: 13px; font-variant-numeric: tabular-nums; }
.bfw__totals div { display: flex; justify-content: space-between; gap: 12px; }
.bfw__totals [hidden] { display: none; }
.bfw__grand { padding-top: 8px; margin-top: 4px; border-top: 1px solid var(--bfw-line); font-size: 17px; font-weight: 750; color: #0b1630; }
.bfw__actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.bfw__btn { height: 36px; padding: 0 16px; border: 0; border-radius: 10px; cursor: pointer; font: inherit; font-size: 13px; font-weight: 650; }
.bfw__btn--ghost { color: #1f4fb8; background: #eef3fc; }
.bfw__btn--gold { color: #1d1404; background: linear-gradient(110deg, #c8912a, #f7e2a0, #e2ad3b); box-shadow: 0 6px 14px -8px rgba(176, 120, 20, 0.8); }
.bfw__btn { transition: transform 0.25s var(--ease), filter 0.25s, background-color 0.25s; }
@media (hover: hover) { .bfw__btn--ghost:hover { background: #e2eafb; } .bfw__btn--gold:hover { filter: brightness(1.05) saturate(1.1); transform: translateY(-1px); } .bfw__btn:active { transform: scale(0.97); } }
.bfw__btn:focus-visible { outline: 3px solid #e2ad3b; outline-offset: 2px; }
.bfw__stamp {
  position: absolute; right: 26px; top: 64px; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px;
  font-size: 13px; font-weight: 650; color: #146c3c; background: #e6f6ec; box-shadow: 0 10px 24px -12px rgba(20, 108, 60, 0.6), inset 0 0 0 1px rgba(31, 157, 85, 0.25);
  opacity: 0; transform: translateY(-6px); transition: opacity 0.35s, transform 0.35s; pointer-events: none;
}
.bfw__stamp.is-on { opacity: 1; transform: none; }
.bfw__demo { position: absolute; left: 16px; bottom: 12px; font-size: 11px; color: #5b6779; }
.bfw-wrap { position: relative; max-width: 1020px; margin: -112px auto 0; }
.bfw-wrap::after { content: ''; position: absolute; left: 6%; right: 6%; bottom: -30px; height: 60px; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, rgba(16, 42, 94, 0.25), transparent); filter: blur(8px); }

/* Signature (Risenex Billing, desktop): the window stays in view while the bill builds. */
.bx-stage { position: relative; }
.bx-stage__sticky { position: relative; }
.bx-steps { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin: 28px auto 0; max-width: 1020px; }
.bx-steps li { display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px 9px 10px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--muted); background: #fff; box-shadow: var(--sh-1), inset 0 0 0 1px var(--line); transition: color 0.3s, box-shadow 0.3s; }
.bx-steps li span { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 12px; color: var(--royal); background: #eef3fc; transition: background 0.3s, color 0.3s; }
.bx-steps li.is-on { color: var(--ink); box-shadow: var(--sh-2), inset 0 0 0 1px rgba(226, 173, 59, 0.6); }
.bx-steps li.is-on span { color: #1d1404; background: var(--gold-grad); background-size: 220% 100%; }
.bx-armed .bx-stage { height: 260vh; }
.bx-armed .bx-stage__sticky { position: sticky; top: 92px; }

/* ---------- Risenex Billing sections ---------- */
.bx-offline {
  position: relative; overflow: hidden; padding: 88px 64px; border-radius: 34px; color: rgba(255, 255, 255, 0.84);
  background: radial-gradient(70% 90% at 0% 0%, rgba(42, 95, 208, 0.85), rgba(42, 95, 208, 0) 60%), linear-gradient(160deg, #143a8a 0%, #0a1a3a 100%);
  box-shadow: var(--sh-3), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}
.bx-offline::after { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 70px solid transparent; border-bottom-color: rgba(226, 173, 59, 0.35); border-left-color: rgba(91, 143, 245, 0.25); transform: rotate(-20deg); }
.bx-offline .wk-h2 { color: #fff; max-width: 14ch; }
.bx-offline__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.bx-offline ul { display: grid; gap: 14px; }
.bx-offline li { display: flex; gap: 14px; align-items: flex-start; font-size: 17.5px; line-height: 1.55; }
.bx-offline li::before { content: ''; flex: none; width: 10px; height: 10px; margin-top: 8px; border-radius: 3px; transform: rotate(45deg); background: var(--gold-grad); background-size: 220% 100%; }
.bx-offline b { color: #fff; }

/* ---------- two ways to use it: desktop now, cloud planned ---------- */
.bx-ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 980px; }
.bx-way { display: flex; flex-direction: column; padding: 32px; border-radius: 26px; background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.bx-way--planned { background: linear-gradient(180deg, #fbfcfe 0%, #f3f6fb 100%); box-shadow: none; border: 1.5px dashed rgba(31, 79, 184, 0.38); }
.bx-way__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.bx-way h3 { font-size: 26px; letter-spacing: -0.03em; }
.bx-way h3 span { font-weight: 500; color: var(--muted); }
.bx-way__lead { font-size: 16.5px; line-height: 1.6; margin-bottom: 18px; }
.bx-way__label { font-size: 12px; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 10px; }
.bx-way ul { display: grid; gap: 9px; margin-bottom: 22px; }
.bx-way li { position: relative; padding-left: 22px; font-size: 15.5px; line-height: 1.5; }
.bx-way li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--royal-hi); }
.bx-way--planned li::before { background: transparent; box-shadow: inset 0 0 0 1.5px var(--royal-2); }
.bx-way__foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; font-weight: 600; color: var(--text); }
.bx-ways__note { max-width: 980px; margin-top: 22px; font-size: 16px; line-height: 1.6; color: var(--text); }

/* waitlist: which version (required radio group) */
.bx-pick { min-width: 0; margin: 0; padding: 0; border: 0; }
.bx-pick legend { padding: 0; margin-bottom: 8px; font-size: 13.5px; font-weight: 600; color: var(--ink); }
.bx-pick__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.sv-form .bx-pick label {
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 16px 0 12px; border-radius: 12px; cursor: pointer;
  font-size: 15px; font-weight: 500; color: var(--ink); background: #f6f8fc; box-shadow: inset 0 0 0 1px var(--line-2);
}
.sv-form .bx-pick input { width: 18px; height: 18px; min-height: 0; margin: 0; padding: 0; flex: none; background: none; box-shadow: none; accent-color: var(--royal); }
.sv-form .bx-pick label:has(input:checked) { background: #fff; box-shadow: inset 0 0 0 2px var(--royal-2); }
.sv-form .bx-pick label:has(input:focus-visible) { outline: 3px solid #e2ad3b; outline-offset: 2px; }

.bx-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 900px; }
.bx-plan { padding: 32px; border-radius: 26px; background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.bx-plan h3 { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 26px; letter-spacing: -0.03em; margin-bottom: 8px; }
.bx-plan > p { font-size: 16.5px; margin-bottom: 18px; }
.bx-plan ul { display: grid; gap: 8px; }
.bx-plan li { position: relative; padding-left: 22px; font-size: 15.5px; }
.bx-plan li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--royal-hi); }
.bx-plan--gold { background: linear-gradient(180deg, #fffaf0, #fff); box-shadow: var(--sh-2), inset 0 0 0 1px rgba(226, 173, 59, 0.45); }
.bx-plans__note { margin-top: 22px; font-size: 15.5px; color: var(--muted); }

/* ==========================================================================
   PRODUCTS page
   ========================================================================== */
.pr-show { position: relative; padding: 0 0 40px; }
.pr-show__stage { position: relative; max-width: 980px; margin: -120px auto 0; perspective: 1600px; }
/* The showcase is pulled up over the hero; its empty box must not swallow clicks on the hero's buttons. */
.pr-show { pointer-events: none; }
.pr-show :is(a, button, [tabindex]) { pointer-events: auto; }
.pr-show__card { position: relative; transform-origin: 50% 100%; }
.pr-show__sheen {
  position: absolute; inset: 0; z-index: 3; border-radius: 18px; pointer-events: none; mix-blend-mode: soft-light; opacity: 0;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 236, 180, 0.95) 48%, rgba(255, 214, 120, 0.55) 54%, transparent 65%); background-size: 300% 100%; background-position: 120% 0;
}
.pr-show .bfw { pointer-events: none; }
.pr-show .bfw__qty button { visibility: hidden; }

.pr-products { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 24px; }
.pr-prod { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 40px; border-radius: 30px; background: #fff; box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.pr-prod__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.pr-prod__name { font-size: clamp(34px, 3.4vw, 50px); font-weight: 680; letter-spacing: -0.045em; color: var(--ink); }
.pr-prod__kind { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-text); margin-bottom: 16px; }
.pr-prod > p { font-size: 17.5px; line-height: 1.6; max-width: 34em; margin-bottom: 22px; }
.pr-prod ul.pr-feat { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; margin-bottom: 28px; }
.pr-feat li { position: relative; padding-left: 22px; font-size: 15.5px; }
.pr-feat li::before { content: ''; position: absolute; left: 2px; top: 0.55em; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--royal-hi); }
.pr-prod__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 12px; }
.pr-prod--dark { color: rgba(255, 255, 255, 0.84); background: radial-gradient(90% 90% at 100% 0%, rgba(42, 95, 208, 0.9) 0%, rgba(42, 95, 208, 0) 60%), linear-gradient(160deg, #143a8a 0%, #0a1a3a 100%); }
.pr-prod--dark .pr-prod__name { color: #fff; }
.pr-prod--dark .pr-prod__kind { color: #f3d891; }
.pr-prod--dark::after { content: ''; position: absolute; right: -90px; bottom: -150px; width: 340px; height: 340px; border-radius: 50%; border: 50px solid transparent; border-top-color: rgba(91, 143, 245, 0.3); border-left-color: rgba(226, 173, 59, 0.4); transform: rotate(-20deg); pointer-events: none; }
.pr-next { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 32px 64px; align-items: center; padding: 48px; border-radius: 30px; background: linear-gradient(180deg, #fff, #f3f6fc); box-shadow: var(--sh-2), inset 0 0 0 1px var(--line); }
.pr-next__slots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.pr-next__slots span { display: grid; place-items: center; aspect-ratio: 1; border-radius: 20px; font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); background: repeating-linear-gradient(135deg, #f1f4f9 0 10px, #eaeff7 10px 20px); box-shadow: inset 0 0 0 1px var(--line); }

/* ==========================================================================
   Tablet and phone
   ========================================================================== */
@media (max-width: 1100px) {
  .pr-products { grid-template-columns: minmax(0, 1fr); }
  .bx-offline__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pr-next { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .bfw { grid-template-columns: minmax(0, 1fr); }
  .bfw__side { display: none; }
}
@media (max-width: 767px) {
  .pr-hero__inner, .bx-hero__inner { padding: 56px 0 40px; }
  .pr-ctas .wk-btn { flex: 1 1 auto; justify-content: center; }
  .bx-hero .wk-hero__panel { padding-bottom: 96px; }
  .bfw-wrap { margin-top: -80px; }
  .pr-show__stage { margin-top: -80px; }
  .bfw { font-size: 12.5px; border-radius: 14px; }
  .bfw__main { padding: 16px 12px 14px; }
  .bfw__parties { grid-template-columns: minmax(0, 1fr); }
  .bfw th:nth-child(2), .bfw td:nth-child(2), .bfw th:nth-child(4), .bfw td:nth-child(4) { display: none; }
  .bfw__foot { grid-template-columns: minmax(0, 1fr); }
  .bfw__title { display: none; }
  .bfw__stamp { right: 12px; top: 54px; }
  .bx-steps { justify-content: flex-start; }
  .bx-offline { padding: 48px 24px; border-radius: 26px; }
  .bx-offline li { font-size: 16.5px; }
  .bx-plans, .bx-ways { grid-template-columns: minmax(0, 1fr); }
  .bx-way { padding: 24px; }
  .bx-plan { padding: 24px; }
  .pr-prod { padding: 26px 22px; border-radius: 24px; }
  .pr-prod ul.pr-feat { grid-template-columns: minmax(0, 1fr); }
  .pr-prod__actions .wk-btn { flex: 1 1 auto; justify-content: center; }
  .pr-next { padding: 28px 22px; border-radius: 24px; }
}

/* Phones (2026-11-23): body copy at least 16px, buttons thumb-sized,
   one column of features. */
@media (max-width: 767px) {
  .pr-feat li, .bx-plans__note { font-size: 16px; }
  .pr-prod ul.pr-feat { grid-template-columns: minmax(0, 1fr); }
  .bx-way__foot { font-size: 15px; }
  .bfw__qty button { width: 34px; height: 34px; }
  .bfw__btn { height: 44px; font-size: 14px; }
  .sv-form .bx-pick input { width: 22px; height: 22px; }
}
