/* Salesforge rebuild, version 7, round 7: "Get a yes from your team", the one-page business case.

   The visitor who finds Salesforge is often not the one who pays for it. This turns their path and plan into a business
   case they can hand to whoever says yes: the ask, what it costs, the cost against one "Classic" SDR (Agent Path) or where
   the money goes (Human Path), the first month, customer proof, the questions a boss asks with Frank's own answers, and a
   decision block. It opens from the plan builder on the homepage, a band on Pricing, the savings calculator on Agent Frank,
   the Ask box and from its own link. The visitor edits the numbers beside the page; the address bar always holds the link
   that reopens exactly this case. "Copy link", "Copy as text", "Share" (phones) and "Save as PDF" (the browser's own
   print to PDF, laid out for A4). Whoever opens a shared link reads it, can press "Approve" (a stamp lands on the page,
   kept on that device only) and then sees the next step, a demo-mode form. Nothing is sent anywhere.
   New code. Every number is Frank's (js/case.js); the paper stays white in both looks, like paper. Works with
   js/case.js; every class starts with bc- (the site already uses case__ and case-badge for its case-study cards). */

/* ---------------------------------------------------------------- entry points on the pages */
.bc-cta {
  display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 14px 14px 14px 16px; border-radius: 14px;
  background: linear-gradient(100deg, #f9f5ff, #fdf2fa 70%, #fff6ed); border: 1px solid #ebe9fe; color: #101828;
}
.bc-cta__icon {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 11px; background: #fff; color: #6e40d7;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 0 0 1px #ebe9fe;
}
.bc-cta__icon svg { width: 22px; height: 22px; }
.bc-cta__text { flex: 1 1 auto; min-width: 0; font-size: 14px; line-height: 1.4; color: #475467; }
.bc-cta__title { display: block; color: #101828; font-weight: 650; font-size: 14.5px; }
.bc-cta .bc-cta__btn {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px; border-radius: 10px;
  border: 1px solid #6e40d7; background: #fff; color: #6e40d7; font-weight: 600; font-size: 14px; white-space: nowrap;
  transition: background .15s, color .15s, box-shadow .15s;
}
.bc-cta .bc-cta__btn:hover { background: #6e40d7; color: #fff; box-shadow: 0 8px 20px -8px rgba(110, 64, 215, .8); }
.bc-cta .bc-cta__btn:focus-visible { outline: 2px solid #6e40d7; outline-offset: 2px; }
.bc-cta__btn svg { width: 16px; height: 16px; flex: none; }
.bc-cta--af { max-width: 880px; margin: 28px auto 0; }
@media (max-width: 600px) {
  .bc-cta { flex-wrap: wrap; }
  .bc-cta__text { flex-basis: calc(100% - 54px); }
  .bc-cta .bc-cta__btn { width: 100%; justify-content: center; height: 44px; }
}
html[data-look="night"] .bc-cta {
  background: linear-gradient(100deg, rgba(143, 99, 246, .16), rgba(239, 148, 201, .08) 70%, rgba(254, 166, 104, .08));
  border-color: rgba(183, 164, 255, .24); color: #f4f4fa;
}
html[data-look="night"] .bc-cta__icon { background: rgba(255, 255, 255, .06); color: #b7a4ff; box-shadow: 0 0 0 1px rgba(183, 164, 255, .26); }
html[data-look="night"] .bc-cta__text { color: #bbbdc9; }
html[data-look="night"] .bc-cta__title { color: #f4f4fa; }
html[data-look="night"] .bc-cta .bc-cta__btn { background: transparent; color: #d3c3ff; border-color: rgba(183, 164, 255, .55); }
html[data-look="night"] .bc-cta .bc-cta__btn:hover { background: #6e40d7; border-color: #6e40d7; color: #fff; box-shadow: 0 10px 26px -8px rgba(143, 99, 246, .9); }
html[data-look="night"] .bc-cta .bc-cta__btn:focus-visible { outline-color: #b7a4ff; }

/* Pricing: a band under the plans */
.bc-band { padding: 8px 0 72px; }
.bc-band__inner {
  position: relative; display: grid; grid-template-columns: 170px minmax(0, 1fr) auto; align-items: center; gap: 28px;
  padding: 26px 32px; border-radius: 20px; overflow: hidden; border: 1px solid #ebe9fe;
  background: radial-gradient(70% 140% at 0% 50%, #efe7ff, transparent 70%), linear-gradient(100deg, #faf7ff, #fff 60%, #fff8f1);
}
.bc-band__art { position: relative; height: 128px; }
.bc-mini {
  position: absolute; left: 22px; top: 2px; width: 104px; height: 128px; padding: 12px 11px; border-radius: 4px; background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .08), 0 18px 34px -12px rgba(16, 24, 40, .35); transform: rotate(-6deg);
}
.bc-mini i { display: block; height: 5px; margin-top: 6px; border-radius: 3px; background: #eaecf0; }
.bc-mini i:nth-child(1) { width: 46%; margin-top: 0; background: #6e40d7; }
.bc-mini i:nth-child(2) { width: 88%; height: 7px; background: #101828; }
.bc-mini i:nth-child(3) { width: 70%; }
.bc-mini b { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 9px; }
.bc-mini b span { height: 18px; border-radius: 3px; background: #f2f4f7; }
.bc-mini b span:first-child { background: #101828; }
.bc-mini__stamp {
  position: absolute; right: -22px; bottom: -6px; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  border: 2.5px solid #6e40d7; color: #6e40d7; font-size: 8px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
  transform: rotate(-14deg); background: rgba(255, 255, 255, .55); box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px #6e40d7;
}
.bc-band__kicker { display: inline-block; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: #6e40d7; }
.bc-band__title { margin: 6px 0 0; color: #101828; }
.bc-band__text { margin: 8px 0 0; max-width: 58ch; font-size: 15px; line-height: 1.55; color: #475467; }
.bc-band__acts { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.bc-band__note { font-size: 12.5px; color: #667085; }
.bc-band .bc-band__btn { min-height: 48px; padding: 0 20px; font-size: 15px; box-shadow: 0 10px 26px -12px rgba(110, 64, 215, .9); }
.bc-band .bc-band__btn svg { width: 16px; height: 16px; }
@media (max-width: 991px) {
  .bc-band__inner { grid-template-columns: 130px minmax(0, 1fr); gap: 20px 24px; padding: 24px; }
  .bc-band__art { height: 120px; }
  .bc-mini { left: 4px; }
  .bc-band__acts { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px 16px; }
}
@media (max-width: 600px) {
  .bc-band { padding-bottom: 48px; }
  .bc-band__inner { grid-template-columns: minmax(0, 1fr); padding: 22px 18px; }
  .bc-band__art { display: none; }
  .bc-band .bc-band__btn { width: 100%; }
}
html[data-look="night"] .bc-band__inner {
  border-color: rgba(183, 164, 255, .2);
  background: radial-gradient(60% 140% at 0% 50%, rgba(110, 64, 215, .34), transparent 70%),
    linear-gradient(100deg, #151620, #12131b 60%, #17141a);
  box-shadow: 0 30px 80px -40px rgba(143, 99, 246, .6);
}
html[data-look="night"] .bc-band__kicker { color: #b7a4ff; }
html[data-look="night"] .bc-band__title { color: #f4f4fa; }
html[data-look="night"] .bc-band__text { color: #bbbdc9; }
html[data-look="night"] .bc-band__note { color: #9597a6; }
html[data-look="night"] .bc-mini { box-shadow: 0 0 0 1px rgba(255, 255, 255, .08), 0 22px 44px -14px rgba(143, 99, 246, .7); }
html[data-look="night"] .bc-mini__stamp { background: rgba(255, 255, 255, .7); }

/* ---------------------------------------------------------------- the overlay */
html.bc-locked, html.bc-locked body { overflow: hidden; }
.bc {
  --bc-shell: #f4f5f9; --bc-bar: rgba(255, 255, 255, .92); --bc-ink: #101828; --bc-text: #344054; --bc-muted: #667085;
  --bc-line: #e4e7ec; --bc-panel: #fff; --bc-field: #fff; --bc-field-line: #d0d5dd; --bc-track: #eaecf0;
  --bc-desk: radial-gradient(circle at 1px 1px, rgba(16, 24, 40, .08) 1px, transparent 0) 0 0 / 22px 22px, #eceef4;
  --bc-paper-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 28px 70px -22px rgba(16, 24, 40, .32);
  position: fixed; inset: 0; z-index: 1900; font-family: "Inter", sans-serif; color: var(--bc-text); line-height: 1.4;
}
html[data-look="night"] .bc {
  --bc-shell: #0f1017; --bc-bar: rgba(16, 17, 25, .9); --bc-ink: #f4f4fa; --bc-text: #c2c3cc; --bc-muted: #9597a6;
  --bc-line: rgba(255, 255, 255, .09); --bc-panel: #14151e; --bc-field: #1e1f2c; --bc-field-line: rgba(255, 255, 255, .14);
  --bc-track: rgba(255, 255, 255, .12);
  --bc-desk: radial-gradient(70% 45% at 50% 0%, rgba(110, 64, 215, .26), transparent 72%),
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .05) 1px, transparent 0) 0 0 / 22px 22px, #0b0c11;
  --bc-paper-shadow: 0 0 0 1px rgba(255, 255, 255, .06), 0 44px 120px -34px rgba(143, 99, 246, .65);
}
.bc[hidden] { display: none; }
.bc [hidden] { display: none !important; }
.bc-backdrop {
  position: absolute; inset: 0; background: rgba(16, 24, 40, .55);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .22s ease;
}
html[data-look="night"] .bc-backdrop { background: rgba(4, 5, 9, .72); }
.bc-shell {
  position: absolute; inset: 16px; display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; outline: none;
  background: var(--bc-shell); box-shadow: 0 30px 90px -20px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .06);
  opacity: 0; transform: translateY(14px) scale(.985); transition: opacity .24s ease, transform .34s cubic-bezier(.2, .8, .2, 1);
}
.bc.is-open .bc-backdrop { opacity: 1; }
.bc.is-open .bc-shell { opacity: 1; transform: none; }
@media (max-width: 767px) { .bc-shell { inset: 0; border-radius: 0; } }

/* the bar */
.bc-bar {
  flex: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; padding: 0 12px 0 18px;
  border-bottom: 1px solid var(--bc-line); background: var(--bc-bar);
}
.bc-bar__title { display: flex; align-items: center; gap: 10px; margin: 0; min-width: 0; font-size: 15px; font-weight: 650; color: var(--bc-ink); white-space: nowrap; }
.bc-bar__icon, .bc-banner__icon { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #f4ebff; color: #6e40d7; }
.bc-bar__icon svg, .bc-banner__icon svg { width: 18px; height: 18px; }
html[data-look="night"] .bc-bar__icon, html[data-look="night"] .bc-banner__icon { background: rgba(143, 99, 246, .18); color: #c9b8ff; }
.bc-bar__acts { display: flex; align-items: center; gap: 6px; min-width: 0; }
.bc .bc-tool {
  display: inline-flex; align-items: center; gap: 7px; height: 38px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--bc-line); background: var(--bc-panel); color: var(--bc-ink); font-size: 13.5px; font-weight: 550; white-space: nowrap;
  transition: background .15s, border-color .15s, box-shadow .15s, color .15s;
}
.bc .bc-tool svg { width: 18px; height: 18px; flex: none; }
.bc .bc-tool:hover { border-color: #b692f6; box-shadow: 0 0 0 3px rgba(110, 64, 215, .12); }
.bc .bc-tool:focus-visible { outline: 2px solid #8f63f6; outline-offset: 2px; }
.bc .bc-tool--main { background: #6e40d7; border-color: #6e40d7; color: #fff; }
.bc .bc-tool--main:hover { background: #5e39b4; border-color: #5e39b4; }
.bc .bc-tool--close { width: 38px; padding: 0; justify-content: center; margin-left: 4px; }
.bc .bc-tool[aria-pressed="true"] { background: #f4ebff; border-color: #d6bbfb; color: #5e39b4; }
html[data-look="night"] .bc .bc-tool[aria-pressed="true"] { background: rgba(143, 99, 246, .2); border-color: rgba(183, 164, 255, .45); color: #e4dbff; }
html[data-look="night"] .bc .bc-tool--main { background: #6e40d7; border-color: #6e40d7; color: #fff; box-shadow: 0 8px 24px -10px rgba(143, 99, 246, .9); }
@media (max-width: 899px) { .bc .bc-tool--text { display: none; } }
@media (max-width: 639px) {
  .bc-bar { padding: 0 8px 0 12px; gap: 8px; }
  .bc .bc-tool { width: 38px; padding: 0; justify-content: center; }
  .bc .bc-tool__t { display: none; }
  .bc .bc-tool--main { width: auto; padding: 0 12px; }
  .bc .bc-tool--main .bc-tool__t { display: inline; }
}
@media (max-width: 420px) { .bc-bar__title span:last-child { display: none; } .bc .bc-tool--close { margin-left: 0; } }

/* the editor beside the page (from 1080 px) or above it */
.bc-main { flex: 1 1 auto; min-height: 0; display: grid; grid-template-columns: 0 minmax(0, 1fr); transition: grid-template-columns .3s cubic-bezier(.2, .8, .2, 1); }
.bc.is-editing .bc-main { grid-template-columns: 360px minmax(0, 1fr); }
.bc-edit { min-width: 0; overflow: hidden; visibility: hidden; overscroll-behavior: contain; background: var(--bc-panel); border-right: 1px solid var(--bc-line); }
.bc.is-editing .bc-edit { overflow: auto; visibility: visible; }
.bc-desk { min-width: 0; overflow: auto; overscroll-behavior: contain; padding: 36px 32px 72px; background: var(--bc-desk); }
@media (max-width: 1079px) {
  .bc-main, .bc.is-editing .bc-main { display: block; overflow: auto; overscroll-behavior: contain; background: var(--bc-desk); }
  .bc-edit { display: none; visibility: visible; overflow: visible; border-right: 0; border-bottom: 1px solid var(--bc-line); }
  .bc.is-editing .bc-edit { display: block; overflow: visible; }
  .bc-desk { overflow: visible; padding: 24px 20px 56px; background: none; }
}
@media (max-width: 767px) { .bc-desk { padding: 12px 10px 44px; } }

.bc-form { display: flex; flex-direction: column; gap: 18px; margin: 0; padding: 22px 22px 30px; }
@media (min-width: 640px) and (max-width: 1079px) {
  .bc-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 24px; max-width: 860px; margin: 0 auto; }
  .bc-edit__title, .bc-edit__note, .bc-f--group { grid-column: 1 / -1; }
  .bc-f--group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 24px; }
  .bc-f--group > legend { grid-column: 1 / -1; float: left; width: 100%; margin-bottom: 4px; }
}
.bc-edit__title { margin: 0; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--bc-muted); }
.bc-edit__note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--bc-muted); }
.bc-f { display: flex; flex-direction: column; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.bc-f__label { padding: 0; font-size: 13px; font-weight: 600; color: var(--bc-ink); }
.bc-f__row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.bc-f__out { font-size: 15px; font-weight: 650; color: var(--bc-ink); font-variant-numeric: tabular-nums; }
.bc-f__hint { margin: 0; font-size: 12px; color: var(--bc-muted); }
.bc-f--group { gap: 12px; padding: 14px; border: 1px solid var(--bc-line); border-radius: 12px; }
.bc-f--sub { gap: 6px; }
.bc-f--sub .bc-f__label { font-size: 12.5px; font-weight: 500; color: var(--bc-text); }
.bc-f--sub .bc-f__out { font-size: 13px; }
.bc .bc-input {
  width: 100%; height: 42px; margin: 0; padding: 0 12px; border-radius: 10px; border: 1px solid var(--bc-field-line);
  background: var(--bc-field); color: var(--bc-ink); font: inherit; font-size: 14.5px;
}
.bc .bc-input::placeholder { color: var(--bc-muted); opacity: 1; }
.bc .bc-input:focus { outline: none; border-color: #8f63f6; box-shadow: 0 0 0 4px rgba(143, 99, 246, .18); }
.bc-seg-group { display: flex; flex-wrap: wrap; gap: 6px; }
.bc-opt { position: relative; flex: 1 1 0; min-width: max-content; }
.bc-opt input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.bc-opt span {
  display: flex; align-items: center; justify-content: center; height: 38px; padding: 0 12px; border-radius: 10px;
  border: 1px solid var(--bc-field-line); background: var(--bc-field); color: var(--bc-text); font-size: 13.5px; font-weight: 550;
  white-space: nowrap; transition: background .15s, border-color .15s, color .15s;
}
.bc-opt:hover span { border-color: #b692f6; }
.bc-opt.is-on span { background: #6e40d7; border-color: #6e40d7; color: #fff; }
.bc-opt input:focus-visible + span { outline: 2px solid #8f63f6; outline-offset: 2px; }
.bc-range { --fill: 50%; -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 22px; margin: 0; background: transparent; cursor: pointer; }
.bc-range::-webkit-slider-runnable-track { height: 6px; border-radius: 3px; background: linear-gradient(90deg, #6e40d7 var(--fill), var(--bc-track) var(--fill)); }
.bc-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 20px; height: 20px; margin-top: -7px; border-radius: 50%; background: #fff;
  border: 2px solid #6e40d7; box-shadow: 0 2px 6px rgba(16, 24, 40, .25);
}
.bc-range::-moz-range-track { height: 6px; border-radius: 3px; background: var(--bc-track); }
.bc-range::-moz-range-progress { height: 6px; border-radius: 3px; background: #6e40d7; }
.bc-range::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 2px solid #6e40d7; }
.bc-range:focus-visible { outline: none; }
.bc-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 5px rgba(143, 99, 246, .32); }

/* the banner for whoever opens a shared link */
.bc-banner {
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; max-width: 820px; margin: 0 auto 16px; padding: 12px 14px;
  border-radius: 14px; background: var(--bc-panel); border: 1px solid var(--bc-line); color: var(--bc-ink); font-size: 14px; font-weight: 550;
}
.bc-banner__text { flex: 1 1 260px; min-width: 0; }
.bc-banner__acts { display: flex; flex-wrap: wrap; gap: 8px; }

.bc .bc-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 18px; border-radius: 10px;
  border: 1px solid transparent; font-size: 15px; font-weight: 600; white-space: nowrap; transition: background .15s, box-shadow .15s, border-color .15s;
}
.bc .bc-btn svg { width: 18px; height: 18px; flex: none; }
.bc .bc-btn--primary { background: #6e40d7; border-color: #6e40d7; color: #fff; box-shadow: 0 1px 2px rgba(16, 24, 40, .05), 0 10px 24px -12px rgba(110, 64, 215, .9); }
.bc .bc-btn--primary:hover { background: #5e39b4; border-color: #5e39b4; }
.bc .bc-btn--primary:focus-visible { outline: 2px solid #6e40d7; outline-offset: 3px; }
.bc .bc-btn--ghost { background: transparent; border-color: var(--bc-field-line); color: var(--bc-ink); }
.bc .bc-btn--ghost:hover { border-color: #b692f6; }
.bc .bc-btn--sm { height: 38px; padding: 0 14px; font-size: 13.5px; }
.bc .bc-btn[disabled] { opacity: .7; cursor: default; }

.bc-toast {
  position: absolute; left: 50%; bottom: 22px; z-index: 5; max-width: calc(100% - 32px); margin: 0; padding: 10px 16px; border-radius: 12px;
  background: #101828; color: #fff; font-size: 14px; font-weight: 550; text-align: center; box-shadow: 0 18px 40px -12px rgba(0, 0, 0, .55);
  opacity: 0; transform: translate(-50%, 12px); pointer-events: none; transition: opacity .2s ease, transform .25s ease;
}
.bc-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
html[data-look="night"] .bc-toast { background: #f4f4fa; color: #101828; }
.bc-clip { position: fixed; left: -9999px; top: 0; opacity: 0; }
.bc-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

/* ---------------------------------------------------------------- the paper (white in both looks) */
.bc-paper {
  position: relative; width: 100%; max-width: 820px; margin: 0 auto; padding: 52px 56px 40px; border-radius: 6px;
  background: #fff; color: #475467; font-size: 14px; line-height: 1.55; box-shadow: var(--bc-paper-shadow);
  font-variant-numeric: tabular-nums; -webkit-print-color-adjust: exact; print-color-adjust: exact;
}
.bc-paper b { font-weight: 650; }
.bc.is-entering .bc-paper { animation: bc-paper .6s cubic-bezier(.2, .8, .2, 1) both; }
.bc.is-entering .bc-paper > * { animation: bc-rise .55s cubic-bezier(.2, .8, .2, 1) both; animation-delay: calc(var(--i, 0) * 55ms + 140ms); }
@keyframes bc-paper { from { opacity: 0; transform: translateY(28px); } }
@keyframes bc-rise { from { opacity: 0; transform: translateY(10px); } }

.bc-mast { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 18px; border-bottom: 1px solid #eaecf0; }
.bc-mast__logo { width: 132px; height: auto; }
.bc-mast__meta { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.bc-mast__kind { font-size: 11px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: #6e40d7; }
.bc-mast__date { font-size: 12.5px; color: #667085; }

.bc-top { margin-top: 30px; }
.bc-for { margin: 0 0 10px; font-size: 13px; color: #667085; }
.bc-for b { color: #101828; font-weight: 600; }
.bc-h1 { margin: 0; font-size: 36px; line-height: 1.1; font-weight: 650; letter-spacing: -.032em; color: #101828; text-wrap: balance; }
.bc-at { color: #6e40d7; }
.bc-lede { margin: 14px 0 0; max-width: 64ch; font-size: 15px; line-height: 1.6; color: #475467; }
.bc-ask {
  margin: 20px 0 0; padding: 14px 18px; border-radius: 12px; border: 1px solid #ebe9fe; color: #101828; font-size: 15px; line-height: 1.55;
  background: linear-gradient(90deg, #f9f5ff, #fdf4ff 60%, #fff7ed);
}
.bc-ask__k {
  display: inline-block; margin-right: 10px; padding: 3px 8px; border-radius: 6px; background: #6e40d7; color: #fff;
  font-size: 10.5px; font-weight: 650; letter-spacing: .1em; text-transform: uppercase; vertical-align: 2px;
}

.bc-figs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 22px 0 0; }
.bc-fig { margin: 0; padding: 14px 14px 13px; border: 1px solid #eaecf0; border-radius: 12px; background: #fcfcfd; }
.bc-fig dt { font-size: 11.5px; font-weight: 550; line-height: 1.3; color: #667085; }
.bc-fig dd { margin: 6px 0 0; font-size: 25px; line-height: 1.1; font-weight: 650; letter-spacing: -.02em; color: #101828; }
.bc-fig p { margin: 5px 0 0; font-size: 11.5px; line-height: 1.35; color: #667085; }
.bc-fig--main { border-color: #101828; background: radial-gradient(120% 140% at 100% 0, rgba(143, 99, 246, .6), transparent 62%), #101828; }
.bc-fig--main dt { color: #c7c9d9; }
.bc-fig--main dd { color: #fff; }
.bc-fig--main p { color: #c9b8ff; }

.bc-sec { margin-top: 30px; padding-top: 20px; border-top: 1px solid #eaecf0; }
.bc-h { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 12px; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: #101828; }
.bc-h::before { content: ""; flex: none; width: 14px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #6e40d7, #fea668); }
.bc-sub { margin: -4px 0 14px; font-size: 13.5px; color: #475467; }

.bc-stack { width: 100%; border-collapse: collapse; }
.bc-stack td { padding: 11px 0; border-bottom: 1px solid #f2f4f7; vertical-align: middle; }
.bc-stack .bc-stack__logo { width: 150px; padding-right: 14px; }
.bc-logo { display: inline-flex; align-items: center; }
.bc-logo img { width: auto; height: 20px; }
.bc-logo--agent { gap: 8px; font-size: 14px; font-weight: 650; color: #101828; }
.bc-logo--agent img { width: 24px; height: 24px; border-radius: 50%; }
.bc-stack__what { font-size: 13px; }
.bc-stack__tag { display: block; font-weight: 600; color: #101828; }
.bc-stack__detail { display: block; font-size: 12.5px; color: #667085; }
.bc-stack .bc-stack__price { padding-left: 12px; text-align: right; white-space: nowrap; font-size: 15px; font-weight: 650; color: #101828; }
.bc-stack__price small { font-size: 12px; font-weight: 500; color: #667085; }
.bc-free { color: #067647; }
.bc-total { display: flex; align-items: baseline; justify-content: flex-end; gap: 8px; margin: 14px 0 0; color: #101828; }
.bc-total__k { margin-right: auto; font-size: 13px; font-weight: 600; color: #667085; }
.bc-total b { font-size: 30px; line-height: 1; font-weight: 700; letter-spacing: -.025em; color: #6e40d7; }
.bc-total__per { font-size: 13px; color: #667085; }
.bc-note { margin: 6px 0 0; font-size: 12px; color: #667085; text-align: right; }

.bc-bars { display: grid; gap: 16px; }
.bc-barrow__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 13px; font-weight: 600; color: #344054; }
.bc-barrow__head b { font-size: 16px; color: #101828; white-space: nowrap; }
.bc-barrow__head small { font-size: 12px; font-weight: 500; color: #667085; }
.bc-barrow__track { display: flex; height: 22px; border-radius: 7px; overflow: hidden; background: #f2f4f7; }
.bc-seg { flex: none; height: 100%; min-width: 3px; }
.bc-seg + .bc-seg { box-shadow: inset 1.5px 0 0 #fff; }
.bc-barrow__legend { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 7px; font-size: 12px; color: #667085; }
.bc-leg { display: inline-flex; align-items: center; gap: 6px; }
.bc-leg i { flex: none; width: 9px; height: 9px; border-radius: 3px; }
.bc-seg--1 { background: #98a2b3; }
.bc-seg--2 { background: #b4bcc8; }
.bc-seg--3 { background: #cdd3dc; }
.bc-seg--4 { background: #dfe3e9; }
.bc-seg--af { background: linear-gradient(90deg, #6e40d7, #8f63f6); }
.bc-seg--infra { background: #d6bbfb; }
.bc-seg--p1 { background: #6e40d7; }
.bc-seg--p2 { background: #9e77ed; }
.bc-seg--p3 { background: #d6bbfb; }
.bc-seg--free { background: #ecfdf3; box-shadow: inset 0 0 0 1px #abefc6; }
.bc-claim {
  display: flex; flex-direction: column; gap: 4px; margin: 18px 0 0; padding: 14px 16px; border-radius: 12px; background: #f9f5ff;
  color: #101828; font-size: 18px; font-weight: 650; letter-spacing: -.01em;
}
.bc-claim b { color: #6e40d7; }
.bc-claim__sub { font-size: 13px; font-weight: 500; letter-spacing: 0; color: #475467; }
.bc-claim--plain { font-size: 15px; background: #f9fafb; }
.bc-src { margin: 8px 0 0; font-size: 11.5px; color: #667085; }

.bc-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 18px; padding: 0; list-style: none; }
.bc-why__item { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid #eaecf0; border-radius: 12px; }
.bc-why__h { font-size: 13.5px; font-weight: 650; line-height: 1.3; color: #101828; }
.bc-why__t { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 12.5px; color: #475467; }
.bc-why__logo { width: auto; height: 13px; }
.bc-barrow--split .bc-barrow__head b { color: #6e40d7; }

.bc-steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.bc-step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 12px; background: #f9fafb; }
.bc-step:not(:last-child)::after { content: ""; position: absolute; top: 26px; right: -12px; width: 12px; height: 2px; background: #d6bbfb; }
.bc-step__n { display: grid; place-items: center; width: 24px; height: 24px; margin-bottom: 6px; border-radius: 50%; background: #6e40d7; color: #fff; font-size: 12px; font-weight: 650; }
.bc-step__when { font-size: 13px; font-weight: 650; color: #101828; }
.bc-step__what { font-size: 13px; color: #475467; }

.bc-proof { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.bc-proof__card { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid #eaecf0; border-radius: 12px; }
.bc-proof__logo { width: auto; height: 20px; max-width: 120px; object-fit: contain; object-position: left center; }
.bc-proof__big { margin-top: 4px; font-size: 24px; line-height: 1.1; font-weight: 700; letter-spacing: -.02em; color: #6e40d7; }
.bc-proof__t { font-size: 12.5px; line-height: 1.45; color: #475467; }
.bc-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; font-size: 12.5px; font-weight: 550; color: #344054; }
.bc-dot { width: 4px; height: 4px; border-radius: 50%; background: #d0d5dd; }

.bc-qa { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; margin: 0; }
.bc-qa__item { margin: 0; }
.bc-qa dt { font-size: 13.5px; font-weight: 650; color: #101828; }
.bc-qa dd { margin: 4px 0 0; font-size: 13px; line-height: 1.5; color: #475467; }

/* the decision, the approval and the stamp */
.bc-paper .bc-decide { position: relative; margin-top: 30px; padding: 20px 20px 22px; border: 1.5px dashed #d6bbfb; border-radius: 14px; background: #fcfaff; }
.bc-decide .bc-h { margin-bottom: 10px; }
.bc-next { max-width: 54ch; margin: 0; font-size: 14.5px; font-weight: 550; color: #101828; }
.bc-sign { display: none; align-items: flex-end; gap: 10px; margin-top: 26px; font-size: 12px; color: #667085; }
.bc-sign__line { flex: 1 1 auto; height: 1px; margin-bottom: 4px; background: #98a2b3; }
.bc-sign__line--short { flex: 0 0 120px; }
.bc-approve { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 16px; }
.bc-approve__hint { font-size: 12.5px; color: #667085; }
.bc-approved { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: #067647; }
.bc-approved__ok { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #17b26a; color: #fff; }
.bc-approved__ok svg { width: 14px; height: 14px; }
.bc-go { display: flex; gap: 8px; max-width: 520px; margin: 12px 0 0; }
.bc-paper .bc-input { background: #fff; border-color: #d0d5dd; color: #101828; }
.bc-paper .bc-input::placeholder { color: #98a2b3; }
.bc-go__input { flex: 1 1 auto; min-width: 0; height: 46px; }
.bc-go-done { display: flex; align-items: center; gap: 8px; max-width: 520px; margin: 12px 0 0; padding: 12px 14px; border-radius: 10px; background: #ecfdf3; color: #067647; font-size: 14px; font-weight: 600; }
.bc-stamp { position: absolute; top: 14px; right: 18px; pointer-events: none; opacity: 0; }
.bc-stamp.is-on { opacity: .93; }
.bc-stamp__in {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; width: 146px; height: 146px; border-radius: 50%;
  border: 4px solid #6e40d7; box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 5px #6e40d7; color: #6e40d7; text-align: center;
  transform: rotate(-12deg); mix-blend-mode: multiply; filter: url(#bc-ink);
}
.bc-stamp__word { font-size: 20px; line-height: 1.05; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; }
.bc-stamp__date { font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.bc-stamp__by { max-width: 108px; overflow: hidden; font-size: 11px; font-weight: 600; white-space: nowrap; text-overflow: ellipsis; }
.bc-stamp.is-landing .bc-stamp__in { animation: bc-stamp .5s cubic-bezier(.2, 1.35, .35, 1) both; }
.bc-paper.is-thud { animation: bc-thud .42s ease-out; }
@keyframes bc-stamp {
  0% { opacity: 0; transform: rotate(-24deg) scale(2.1); }
  55% { opacity: 1; transform: rotate(-10deg) scale(.94); }
  100% { opacity: 1; transform: rotate(-12deg) scale(1); }
}
@keyframes bc-thud { 30% { transform: translateY(2px) scale(.997); } }

.bc-foot { margin-top: 26px; padding-top: 14px; border-top: 1px solid #f2f4f7; font-size: 11px; line-height: 1.5; color: #667085; }
.bc-foot__link { display: block; margin-top: 6px; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: 10.5px; color: #667085; word-break: break-all; }

/* the paper on smaller screens (screen only: print keeps the A4 layout below) */
@media screen and (max-width: 767px) {
  .bc-paper { padding: 26px 18px 24px; border-radius: 4px; font-size: 13.5px; }
  .bc-mast__logo { width: 112px; }
  .bc-top { margin-top: 22px; }
  .bc-h1 { font-size: 27px; }
  .bc-lede { font-size: 14px; }
  .bc-ask { padding: 12px 14px; font-size: 14px; }
  .bc-figs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bc-fig { padding: 12px; }
  .bc-fig dd { font-size: 21px; }
  .bc-sec { margin-top: 24px; padding-top: 16px; }
  .bc-stack tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "logo price" "what what"; padding: 10px 0; border-bottom: 1px solid #f2f4f7; }
  .bc-stack td { padding: 0; border: 0; }
  .bc-stack .bc-stack__logo { grid-area: logo; width: auto; padding: 0; }
  .bc-stack__what { grid-area: what; padding-top: 6px; }
  .bc-stack .bc-stack__price { grid-area: price; padding-left: 8px; }
  .bc-logo img { height: 18px; }
  .bc-total b { font-size: 26px; }
  .bc-note { text-align: left; }
  .bc-claim { font-size: 16px; }
  .bc-why, .bc-steps, .bc-proof, .bc-qa { grid-template-columns: minmax(0, 1fr); }
  .bc-step:not(:last-child)::after { display: none; }
  .bc-paper .bc-decide { padding: 16px; }
  .bc-next { padding-right: 96px; }
  .bc-stamp { top: 8px; right: 6px; }
  .bc-stamp__in { width: 104px; height: 104px; border-width: 3px; box-shadow: inset 0 0 0 2px #fff, inset 0 0 0 3.5px #6e40d7; }
  .bc-stamp__word { font-size: 14px; }
  .bc-stamp__date { font-size: 9.5px; }
  .bc-stamp__by { max-width: 80px; font-size: 9.5px; }
  .bc-go { flex-direction: column; }
  .bc-go .bc-btn { width: 100%; }
  .bc-banner { margin-bottom: 10px; }
  .bc-banner__acts { width: 100%; }
  .bc-banner__acts .bc-btn { flex: 1 1 0; }
}
@media screen and (max-width: 379px) {
  .bc-paper { padding: 22px 14px 20px; }
  .bc-h1 { font-size: 24px; }
  .bc-fig dd { font-size: 19px; }
  .bc-figs { gap: 6px; }
  .bc-fig { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .bc-backdrop, .bc-shell, .bc-main, .bc-toast { transition: none; }
  .bc.is-entering .bc-paper, .bc.is-entering .bc-paper > *, .bc-stamp.is-landing .bc-stamp__in, .bc-paper.is-thud { animation: none; }
}

/* ---------------------------------------------------------------- Save as PDF: only the paper, laid out for A4 */
@media print {
  @page { size: A4; margin: 12mm 13mm 13mm; }
  /* Night's dark colour scheme would paint the page margins dark: paper is light */
  html.bc-printing { color-scheme: light !important; }
  html.bc-printing, html.bc-printing body { height: auto !important; overflow: visible !important; background: #fff !important; }
  html.bc-printing body { padding: 0 !important; }
  html.bc-printing body > *:not(.bc) { display: none !important; }
  html.bc-printing .bc { position: static; display: block; }
  html.bc-printing .bc-backdrop, html.bc-printing .bc-bar, html.bc-printing .bc-edit, html.bc-printing .bc-banner,
  html.bc-printing .bc-toast, html.bc-printing [data-bc-screen], html.bc-printing .bc-go, html.bc-printing .bc-go-done { display: none !important; }
  html.bc-printing .bc-shell, html.bc-printing .bc-main, html.bc-printing .bc-desk {
    position: static; display: block; height: auto; margin: 0; padding: 0; overflow: visible; border: 0; border-radius: 0;
    background: none; box-shadow: none; opacity: 1; transform: none; transition: none;
  }
  html.bc-printing .bc-paper, html.bc-printing .bc-paper * { animation: none !important; }
  html.bc-printing .bc-paper { max-width: none; margin: 0; padding: 0; border-radius: 0; box-shadow: none; font-size: 13px; }
  html.bc-printing .bc-sign { display: flex; }
  html.bc-printing .bc-sec, html.bc-printing .bc-figs, html.bc-printing .bc-top { break-inside: avoid; }
  html.bc-printing .bc-sec { margin-top: 22px; padding-top: 14px; }
  html.bc-printing .bc-h1 { font-size: 32px; }
}
