/* The BloxUI pages on the site's one look (theme.css: tokens + components; this file only adds page layout).
   - the shop (bloxui_base.html + bloxui.html, bloxui_thanks.html, bloxui_key.html, bloxui_upgrade.html): its own
     minimal top bar (.bx-top), the sales page (.bx-hero ... .bx-final) and the utility card pages (.bx-page > .bx-panel)
   - self_hosted.html (.bx-legal)
   Colours, radii, shadows and type come from the tokens; nothing here moves under prefers-reduced-motion. */

/* ---------------------------------------------------------------- SHOP CHROME */
.shop-page { overflow-x: hidden; }
.shop-page main [id] { scroll-margin-top: 84px; }
.bx-top { position: sticky; top: 0; z-index: 60; background: rgba(7, 7, 8, 0.72); border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2); }
.bx-top-row { display: flex; align-items: center; gap: 8px; min-height: var(--header-h, 64px); }
.bx-top .logo { font-size: 1.15rem; }
.bx-links { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.bx-links a { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 0.94rem; padding: 8px 14px; border-radius: var(--r-pill);
  transition: color 0.2s, background 0.2s; }
.bx-links a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }
.bx-top-cta { margin-left: 8px; }
.bx-menu { position: relative; display: none; }
.bx-menu > summary { list-style: none; cursor: pointer; width: 44px; height: 44px; display: grid; place-items: center; }
.bx-menu > summary::-webkit-details-marker { display: none; }
.bx-menu[open] > summary { background: rgba(255, 255, 255, 0.1); color: #fff; }
.bx-menu .menu { min-width: 230px; }
.bx-menu .menu a { min-height: 44px; }
@media (max-width: 860px) {
  .bx-links { display: none; }
  .bx-top-cta { margin-left: auto; }
  .bx-menu { display: block; }
}

/* the "BloxUI on the web" note (UI_WEB=1): one thin bar over the hero */
.bx-note { background: linear-gradient(90deg, #06102a, #0a2a74 50%, #06102a); border-bottom: 1px solid rgba(74, 144, 255, 0.28);
  font-size: 0.92rem; padding: 10px 0; text-align: center; color: var(--ink); }
.bx-note .badge { margin-right: 6px; vertical-align: 1px; }
.bx-note a { display: inline-flex; align-items: center; gap: 5px; color: #fff; font-weight: 600; margin-left: 6px; white-space: nowrap; }
.bx-note a .i { width: 1em; height: 1em; transition: transform 0.2s var(--ease); }
.bx-note a:hover .i { transform: translateX(3px); }

.bx-foot { margin-top: 0; }
.bx-foot .footer-fine a { color: var(--ink-2); }
.bx-toasts { z-index: 120; }

/* a price inside a button: a lighter suffix after a hairline (like .btn-sub) */
.btn .price { font-weight: 500; opacity: 0.85; padding-left: 10px; margin-left: 2px; border-left: 1px solid rgba(255, 255, 255, 0.32); }
.btn.busy { opacity: 0.7; pointer-events: none; }
.bx-fine { color: var(--ink-3); font-size: var(--fs-small); margin: 16px 0 0; }
.bx-fine .i { width: 1em; height: 1em; vertical-align: -2px; margin-right: 6px; }

/* ---------------------------------------------------------------- SALES PAGE: HERO */
.bx-hero { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 9vw, 128px) 0 clamp(40px, 5vw, 64px); }
.bx-hero::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 4%; width: min(980px, 120vw); height: 70%; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 123, 255, 0.22), transparent); filter: blur(20px); pointer-events: none; }
.bx-hero-in { position: relative; z-index: 1; text-align: center; max-width: 980px; }
.bx-kicker { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 6px 14px; border-radius: var(--r-pill);
  border: 1px solid rgba(74, 144, 255, 0.35); background: rgba(47, 123, 255, 0.1); color: #cfe0ff; font-weight: 500; font-size: 0.9rem;
  box-shadow: 0 0 24px -8px rgba(47, 123, 255, 0.7); }
.bx-kicker .i { width: 1.05em; height: 1.05em; color: #8fbaff; }
h1.bx-h1 { margin: 22px auto 22px; line-height: 0.94; }
.bx-h1 .t-dim { display: block; }
.bx-lead { max-width: 640px; margin: 0 auto 32px; }
.bx-ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.bx-ticks { list-style: none; padding: 0; margin: 24px 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px;
  color: var(--ink-2); font-size: 0.94rem; }
.bx-ticks li { display: inline-flex; align-items: center; gap: 8px; }
.bx-ticks .i { width: 1.05em; height: 1.05em; color: var(--green); stroke-width: 2.6; }

/* our real BloxUI screens at the hero's edges (desktop), a tilted strip over the heading (phones) */
.bx-floats { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.bx-f { width: clamp(190px, 17vw, 260px); aspect-ratio: 16 / 9; opacity: 0.92; }
.bx-f.f1 { left: -1.5%; top: 9%; }
.bx-f.f2 { left: 4.5%; top: 41%; width: clamp(160px, 14vw, 220px); }
.bx-f.f3 { left: -2%; top: 71%; }
.bx-f.f4 { right: -1.5%; top: 7%; }
.bx-f.f5 { right: 4%; top: 39%; width: clamp(160px, 14vw, 220px); }
.bx-f.f6 { right: -2.5%; top: 70%; }
@media (max-width: 1180px) {
  .bx-f.f2, .bx-f.f5 { display: none; }
  .bx-f.f1, .bx-f.f4 { top: 4%; width: 170px; }
  .bx-f.f3, .bx-f.f6 { top: 78%; width: 170px; }
  .bx-f.f1, .bx-f.f3 { left: -60px; }
  .bx-f.f4, .bx-f.f6 { right: -60px; }
}
@media (max-width: 860px) {
  .bx-hero { padding-top: 20px; }
  .bx-floats { position: relative; inset: auto; height: 150px; margin: 0 0 18px; }
  .bx-f.f3, .bx-f.f6 { display: none; }
  .bx-f.f1 { left: -8vw; top: 26px; width: 48vw; max-width: 260px; }
  .bx-f.f4 { right: -8vw; left: auto; top: 10px; width: 48vw; max-width: 260px; }
  .bx-f.f2 { display: block; left: 28vw; top: 44px; width: 44vw; max-width: 240px; z-index: 1; }
}

/* ---------------------------------------------------------------- SALES PAGE: THE DEMO */
.bx-demo-sec { padding: 0 0 clamp(48px, 7vw, 96px); }
.bx-demo { position: relative; max-width: 1040px; margin: 0 auto; }
.bx-demo::before { content: ""; position: absolute; z-index: -1; inset: 8% 6% 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(47, 123, 255, 0.45), transparent); filter: blur(40px); }
.bx-screen { position: relative; padding: clamp(6px, 0.8vw, 10px); border-radius: 24px; border: 1px solid var(--line-2);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  box-shadow: var(--shadow-3), 0 40px 120px -40px rgba(47, 123, 255, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
.bx-video { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 16px; background: #000; object-fit: cover; }
.bx-live { position: absolute; top: clamp(14px, 2vw, 22px); left: clamp(14px, 2vw, 22px); }
.bx-demo figcaption { margin: 18px auto 0; max-width: 760px; text-align: center; color: var(--ink-2); font-size: 0.98rem; line-height: 1.5; }
.bx-cap-label { display: inline-block; margin-right: 10px; padding: 2px 10px; border-radius: var(--r-pill); background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-2); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-2); vertical-align: 1px; }
.bx-demo q { color: var(--ink); }

/* ---------------------------------------------------------------- SALES PAGE: PROOF STRIP */
.bx-proof { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.025), transparent); }
.bx-proof-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.bx-proof p { display: flex; align-items: center; gap: 14px; margin: 0; padding: 22px 20px; color: var(--ink-2); font-size: 0.96rem; line-height: 1.45; }
.bx-proof p + p { border-left: 1px solid var(--line); }
.bx-proof b { color: var(--ink); font-weight: 600; }
.bx-ic { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #9fc2ff;
  background: rgba(47, 123, 255, 0.12); border: 1px solid rgba(74, 144, 255, 0.3); box-shadow: 0 0 20px -6px rgba(47, 123, 255, 0.6); }
.bx-ic .i { width: 19px; height: 19px; }
@media (max-width: 860px) {
  .bx-proof-row { grid-template-columns: minmax(0, 1fr); }
  .bx-proof p { padding: 16px 0; }
  .bx-proof p + p { border-left: 0; border-top: 1px solid var(--line); }
}

/* ---------------------------------------------------------------- SALES PAGE: SCREENS (auto-scrolling row) */
.shop-page .sec-head .t-eyebrow { display: block; font-size: var(--fs-tiny); margin: 0 auto 14px; color: #8fbaff; }
.shop-page .sec-light .sec-head .t-eyebrow { color: #0a5cff; }
.bx-screens { overflow: hidden; }
.bx-shot { margin: 0; width: min(80vw, 400px); }
.bx-shot .shot-body { gap: 4px; }
.bx-shot .shot-body b { font-weight: 600; font-size: 1.02rem; color: var(--ink); }
.bx-shot .shot-meta { margin: 0; }

/* ---------------------------------------------------------------- SALES PAGE: HOW IT WORKS (white band) */
.bx-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.bx-steps > li { display: flex; flex-direction: column; gap: 10px; padding: 28px 26px 26px; border-radius: var(--r-lg); background: #fff;
  border: 1px solid var(--line); box-shadow: var(--shadow-2); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease); }
.bx-steps > li:hover { transform: translateY(-4px); box-shadow: var(--shadow-2), 0 24px 50px -28px rgba(10, 92, 255, 0.45); }
.bx-num { font-family: var(--font-hero); font-size: 3rem; line-height: 1; letter-spacing: 0.01em;
  background: linear-gradient(180deg, #4a90ff, #0a5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.bx-steps b { font-size: 1.2rem; font-weight: 700; letter-spacing: -0.015em; color: var(--ink); }
.bx-steps span:not(.bx-num) { color: var(--ink-2); }
@media (max-width: 860px) { .bx-steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------------------------------------------------------------- SALES PAGE: PLANS */
.bx-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; max-width: 940px; margin: 0 auto; align-items: stretch; }
.bx-plan { position: relative; display: flex; flex-direction: column; gap: 14px; padding: clamp(24px, 3vw, 34px); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 40%), var(--surface); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-2); }
.bx-plan h3 { margin: 0; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-2); }
.bx-amount { margin: 0; font-weight: 800; font-size: clamp(2.6rem, 5vw, 3.4rem); letter-spacing: -0.04em; line-height: 1; color: #fff; }
.bx-amount small { font-size: 1rem; font-weight: 500; letter-spacing: 0; color: var(--ink-3); }
.bx-plan ul { list-style: none; padding: 18px 0 0; margin: 4px 0 10px; border-top: 1px solid var(--line); display: grid; gap: 11px; flex: 1;
  color: var(--ink-2); align-content: start; }
.bx-plan li { display: flex; gap: 10px; align-items: flex-start; }
.bx-plan li .i { flex: none; width: 18px; height: 18px; margin-top: 3px; color: var(--blue); stroke-width: 2.6; }
.bx-plan li b { color: var(--ink); font-weight: 600; }
.bx-plan.is-best { border-color: transparent;
  background: linear-gradient(180deg, rgba(47, 123, 255, 0.12), transparent 45%) padding-box, linear-gradient(180deg, #121319, #0e0f13) padding-box,
              var(--grad-ring) border-box;
  box-shadow: var(--shadow-3), 0 30px 80px -36px rgba(47, 123, 255, 0.85); }
.bx-plan.is-best h3 { color: #cfe0ff; }
.bx-plan-badge { position: absolute; top: clamp(24px, 3vw, 34px); right: clamp(24px, 3vw, 34px); }
@media (max-width: 760px) { .bx-plans { grid-template-columns: minmax(0, 1fr); } .bx-plan.is-best { order: -1; } }
.bx-pricing .bx-fine { margin-top: 22px; }
.sec.bx-pricing { padding-bottom: clamp(32px, 5vw, 56px); }

/* ---------------------------------------------------------------- SALES PAGE: FAQ + CLOSE */
.bx-faq .faq { margin: 0 auto; }
.bx-faq code { font-size: 0.9em; background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; word-break: break-all; }
.bx-final .t-display { max-width: 18ch; }
.bx-final .t-dim { display: block; }
.bx-final .bx-fine { margin-top: 22px; }

/* ---------------------------------------------------------------- UTILITY PAGES (thanks, lost key, upgrade) */
.bx-page { position: relative; isolation: isolate; overflow-x: clip; padding: clamp(40px, 7vw, 88px) 0 clamp(56px, 8vw, 104px); }
.bx-page::after { content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background-image: linear-gradient(var(--grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--grid-line) 1px, transparent 1px);
  background-size: 40px 40px; background-position: center top;
  -webkit-mask-image: radial-gradient(80% 70% at 50% 20%, #000 40%, transparent); mask-image: radial-gradient(80% 70% at 50% 20%, #000 40%, transparent); }
.bx-page::before { content: ""; position: absolute; z-index: -1; left: 50%; top: 0; width: min(900px, 110vw); height: 420px; transform: translateX(-50%);
  border-radius: 50%; background: radial-gradient(closest-side, rgba(47, 123, 255, 0.2), transparent); filter: blur(20px); pointer-events: none; }
.bx-panel { position: relative; max-width: 760px; margin: 0 auto; padding: clamp(24px, 4.5vw, 44px); border-radius: var(--r-xl);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 30%), var(--surface-2); border: 1px solid var(--line-2);
  box-shadow: var(--shadow-3), inset 0 1px 0 rgba(255, 255, 255, 0.06); }
.bx-panel-icon { display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 20px; border-radius: 16px; color: #fff;
  background: var(--grad-blue); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--glow-blue-lg); }
.bx-panel-icon .i { width: 26px; height: 26px; stroke-width: 2.2; }
h1.bx-h { font-size: clamp(2.2rem, 6vw, 3.4rem); margin: 0 0 14px; line-height: 1; }
.bx-h-sm { font-size: clamp(1.5rem, 4vw, 2rem); margin: 0 0 10px; }
.bx-h2 { font-size: 1.35rem; margin: 30px 0 14px; }
.bx-sub { color: var(--ink-2); font-size: 1.05rem; line-height: 1.6; margin: 0 0 18px; }
.bx-sub b { color: var(--ink); }
.bx-form { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 6px; }
.bx-form .input { flex: 1 1 260px; min-width: 0; min-height: 52px; font-size: 1rem; }
.bx-form .btn { flex: none; }
.bx-key-input { font-family: ui-monospace, Consolas, "Cascadia Mono", Menlo, monospace; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }
.bx-key-input::placeholder { letter-spacing: 0.06em; }
.bx-resend-note { margin: 12px 0 0; padding: 12px 16px; }
.bx-mini-ticks { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; color: var(--ink-3); font-size: var(--fs-small); }
.bx-mini-ticks li { display: inline-flex; align-items: center; gap: 6px; }
.bx-mini-ticks .i { width: 1em; height: 1em; color: var(--green); stroke-width: 2.6; }
@media (max-width: 520px) { .bx-form .btn { width: 100%; } }

/* the order card: one state at a time, and its words per product */
#order .state { display: none; }
#order[data-state="loading"] .loading, #order[data-state="ready"] .ready, #order[data-state="waiting"] .waiting,
#order[data-state="processing"] .processing, #order[data-state="problem"] .problem, #order[data-state="refunded"] .refunded { display: block; }
#order .state.bx-center, #order .bx-center { text-align: center; }
#order .bx-center .bx-sub { max-width: 520px; margin-left: auto; margin-right: auto; }
.bx-center-text { text-align: center; }
.only-premium, .only-trial, .only-upgrade { display: none; }
#order[data-product="premium"] .only-premium, #order[data-product="trial"] .only-trial, #order[data-product="upgrade"] .only-upgrade { display: block; }
#order[data-product="upgrade"] .not-upgrade { display: none; }
.bx-ok-icon { display: grid; place-items: center; width: 76px; height: 76px; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: var(--grad-blue);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 0 0 8px rgba(47, 123, 255, 0.12), 0 0 60px -6px rgba(47, 123, 255, 0.85); }
.bx-ok-icon .i { width: 34px; height: 34px; stroke-width: 2.6; }
.bx-icon-muted { background: var(--surface-3); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 8px rgba(255, 255, 255, 0.04); color: var(--ink-2); }
.bx-ok { color: var(--green-d); justify-content: center; }
.problem .btn, .waiting .bx-spinner { margin-top: 6px; }
.bx-spinner { width: 46px; height: 46px; margin: 4px auto 20px; border-radius: 50%; border: 3px solid rgba(255, 255, 255, 0.1); border-top-color: var(--blue-2);
  box-shadow: 0 0 30px -6px rgba(47, 123, 255, 0.7); animation: bx-spin 0.9s linear infinite; }
.bx-spinner-sm { width: 26px; height: 26px; border-width: 2px; margin-bottom: 0; }
@keyframes bx-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .bx-spinner { animation-duration: 2.4s; } }

.bx-key-box { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin: 26px 0 10px; padding: 18px 20px; border-radius: 18px;
  background: #0b0c0f; border: 1px solid rgba(74, 144, 255, 0.45); box-shadow: 0 0 0 4px rgba(47, 123, 255, 0.1), 0 20px 50px -30px rgba(47, 123, 255, 0.8); }
.bx-key-label { flex: 1 0 100%; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.bx-key-box code { flex: 1 1 260px; min-width: 0; font: 700 clamp(1.05rem, 3vw, 1.5rem) ui-monospace, Consolas, "Cascadia Mono", Menlo, monospace;
  letter-spacing: 0.08em; color: #fff; word-break: break-all; }

.bx-install { list-style: none; counter-reset: s; padding: 0; margin: 0; display: grid; gap: 0; }
.bx-install > li { counter-increment: s; position: relative; display: flex; flex-direction: column; gap: 8px; padding: 0 0 26px 52px; }
.bx-install > li::before { content: counter(s); position: absolute; left: 0; top: -3px; display: grid; place-items: center; width: 34px; height: 34px;
  border-radius: 50%; font-weight: 700; font-size: 0.95rem; color: #fff; background: var(--grad-blue); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35), var(--glow-blue); }
.bx-install > li:not(:last-child)::after { content: ""; position: absolute; left: 16.5px; top: 36px; bottom: 4px; width: 1px;
  background: linear-gradient(180deg, rgba(74, 144, 255, 0.55), var(--line)); }
.bx-install > li > b { font-size: 1.08rem; font-weight: 700; color: var(--ink); }
.bx-install > li > span { color: var(--ink-2); }
.bx-install > li > span.only-premium, .bx-install > li > span.only-trial { display: none; }
#order[data-product="premium"] .bx-install span.only-premium, #order[data-product="trial"] .bx-install span.only-trial { display: block; }
.bx-install .bx-fine { margin: 0; }
.bx-row { display: flex; flex-wrap: wrap; gap: 10px; }
.bx-paths { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; color: var(--ink-2); }
.bx-paths li { padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); }
.bx-paths code { background: #0b0c0f; border: 1px solid var(--line-2); border-radius: 8px; padding: 2px 7px; color: var(--ink); font-size: 0.9rem; overflow-wrap: anywhere; }
.bx-paths span { color: var(--ink-3); font-size: 0.88rem; }
.yt { position: relative; display: block; width: 100%; max-width: 520px; aspect-ratio: 16 / 9; margin-top: 6px; padding: 0; overflow: hidden; cursor: pointer;
  border: 1px solid var(--line-2); border-radius: 16px; background: #000; box-shadow: var(--shadow-2); }
.yt img { display: block; width: 100%; height: 100%; object-fit: cover; opacity: 0.75; transition: opacity 0.3s, transform 0.6s var(--ease-out); }
.yt:hover img { opacity: 0.95; transform: scale(1.03); }
.yt .play { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%;
  color: #fff; background: var(--grad-blue); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), var(--glow-blue-lg); transition: transform 0.25s var(--ease); }
.yt .play .i { width: 26px; height: 26px; margin-left: 3px; fill: currentColor; }
.yt:hover .play { transform: scale(1.08); }
.yt-label { position: absolute; left: 12px; bottom: 12px; padding: 5px 11px; border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 600; color: #fff;
  background: rgba(8, 8, 10, 0.7); border: 1px solid rgba(255, 255, 255, 0.16); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.yt-frame { display: block; width: 100%; max-width: 520px; aspect-ratio: 16 / 9; margin-top: 6px; border: 0; border-radius: 16px; }
.bx-upsell { margin: 24px 0 8px; padding: 22px 24px; border-radius: 20px; border: 1px solid rgba(74, 144, 255, 0.4);
  background: radial-gradient(90% 140% at 0% 0%, rgba(47, 123, 255, 0.18), transparent 60%), #111318; }
.bx-upsell h3 { margin: 0 0 6px; font-size: 1.25rem; }
.bx-upsell p { color: var(--ink-2); margin: 0 0 16px; }
.btn .price { white-space: nowrap; }
@media (max-width: 520px) {
  .bx-panel { padding: 22px 18px; border-radius: var(--r-lg); }
  .bx-upsell { padding: 18px 16px; }
  .bx-upsell .btn { width: 100%; padding-left: 14px; padding-right: 14px; white-space: nowrap; }
  .bx-upsell .btn .btn-chev { display: none; }
  .bx-install > li { padding-left: 46px; }
}

/* ---------------------------------------------------------------- SELF-HOSTED NOTE (self_hosted.html) */
.bx-legal { padding: clamp(48px, 8vw, 104px) 0; }
.bx-legal .wrap { max-width: 820px; }
.bx-legal h1 { margin: 0 0 24px; font-size: clamp(2.6rem, 7vw, 4.4rem); }
.bx-legal h1 .t-dim { display: block; }
.bx-legal-card { padding: clamp(22px, 4vw, 36px); border-radius: var(--r-xl); display: grid; gap: 4px; }
.bx-legal-card p { color: var(--ink-2); font-size: 1.04rem; line-height: 1.7; margin: 0 0 12px; }
.bx-legal-card p:last-child { margin-bottom: 0; }
.bx-legal-card b { color: var(--ink); }
.bx-legal-facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bx-legal-facts li { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r); background: var(--surface);
  border: 1px solid var(--line); color: var(--ink-2); font-size: 0.94rem; line-height: 1.45; }
.bx-legal-facts .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }
@media (max-width: 760px) { .bx-legal-facts { grid-template-columns: minmax(0, 1fr); } }
