/* ==========================================================================
   XYRA Books (books-v4) — layout and colour, light theme
   Motion lives in books-v4-motion.css.

   The design is drawn at 1440px. Sections are fluid up to that width; at
   <=1024px two-column sections stack (graphic under the text) and at <=640px
   everything is one column with a 20px gutter and headings around 60% size.

   The page is white and lavender throughout. Three panels stay vivid and dark
   on purpose, so the important numbers carry: corporate tax, the balance
   sheet card and the Ask XYRA answer card.
   ========================================================================== */

.bkx-body {
  /* surfaces */
  --bkx-bg: #FFFFFF;
  --bkx-surface: #F7F5FF;          /* lavender alternate */
  --bkx-card: #FFFFFF;
  --bkx-line: #ECEAF7;
  --bkx-line-2: #E6E3F5;
  --bkx-dash: #CFC8EE;
  --bkx-shadow: 0 20px 50px rgba(64, 52, 201, .08);
  --bkx-shadow-2: 0 20px 50px rgba(64, 52, 201, .14);
  /* the dot grid that sits on the lavender surfaces */
  --bkx-dots: radial-gradient(rgba(64, 52, 201, .07) 1.2px, transparent 1.2px);

  /* text */
  --bkx-ink: #16133A;
  --bkx-body: #4A4766;
  --bkx-muted: #6E6B8A;
  --bkx-on-dark: #FFFFFF;
  --bkx-on-dark-soft: #E6DEFF;

  /* accents */
  --bkx-brand: #4034C9;
  --bkx-cyan: #22D3EE;
  --bkx-violet: #6F5BFF;
  --bkx-violet-2: #8F7BFF;
  --bkx-magenta: #E44BC8;
  --bkx-deep: #3B2BB5;

  /* money in · money out · bank · tax · warning */
  --bkx-in: #0E8A5F;
  --bkx-in-bg: #E2F6EE;
  --bkx-in-ink: #0B5E42;
  --bkx-out: #B0297F;
  --bkx-out-bg: #FDE8F4;
  --bkx-out-ink: #9B1F7A;
  --bkx-sky: #0A6F87;
  --bkx-sky-bg: #E0F5FA;
  --bkx-tax: #4034C9;
  --bkx-tax-bg: #ECE9FC;
  --bkx-warn: #A35406;
  --bkx-warn-bg: #FFF4E0;

  --bkx-grad: linear-gradient(90deg, #0891B2 0%, #4034C9 50%, #C0389F 100%);
  --bkx-grad-btn: linear-gradient(90deg, #4034C9 0%, #8A3FD0 55%, #C0389F 100%);

  /* Spacing system — the same four tokens at every breakpoint, only their
     values change (see "Breakpoints" at the end of this file):
       --gutter     side gutter of every section, panel and strip
       --sec-y      top + bottom of a white section (2 × between two)
       --band-y     top + bottom of a tinted band section
       --panel-pad  inner padding of the big panels                      */
  --gutter: 64px;
  --sec-y: 48px;
  --band-y: 64px;
  --panel-pad: 56px;
  --content: 1312px;
  /* the section header block: eyebrow → H2 → sub, then the content */
  --bkx-head-gap: 16px;
  --bkx-head-space: 40px;
  /* type scale */
  --fs-h1: clamp(36px, 5.2vw, 64px);
  --fs-h2: clamp(30px, 4vw, 46px);
  --fs-body: clamp(15px, 1.2vw, 18px);
  --fs-big: clamp(32px, 4vw, 56px);
  /* the shared header's live height; books-v4.js keeps it in sync */
  --bkx-head: 69px;
  --bkx-subnav-h: 0px;

  margin: 0;
  background: var(--bkx-bg);
  color: var(--bkx-ink);
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   Shared header + footer
   The page is light from top to bottom, so the shared header keeps the look
   xyra-shell.css already gives it. Only the footer needs a word: it ships
   dark (#0B0118), which reads as a deliberate base under a white page.
   -------------------------------------------------------------------------- */
.bkx-body .tvc-nav {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.bkx-body .tvc-nav .nav-link,
.bkx-body .tvc-nav .navbar-brand,
.bkx-body .tvc-nav a { text-decoration: none !important; }

/* --------------------------------------------------------------------------
   Primitives
   -------------------------------------------------------------------------- */
/* The shared header parks its mobile drawer off-screen to the right. It is
   position: fixed, so no ancestor overflow catches it — clip at the root.
   clip, not hidden: hidden would turn <html> into a scroll container and the
   sticky header would stop sticking. */
.bkx-html,
.bkx-html body { overflow-x: clip; }
.bkx { display: block; position: relative; overflow-x: clip; text-wrap: pretty; }

/* the one page container: every section uses it, so left edges line up */
.bkx-wrap { width: 100%; max-width: calc(var(--content) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); box-sizing: border-box; }
/* grid and flex children may shrink (each grid also uses minmax(0, …)) */
.bkx-wrap > * { min-width: 0; }
/* anchor jumps land under the header and the sub-nav */
.bkx [id] { scroll-margin-top: calc(var(--bkx-head) + var(--bkx-subnav-h) + 8px); }

.bkx-sec { position: relative; }

/* Typography. The whole page — headings, body, buttons, inputs, the phone
   mockup — is set in Lexend Deca, the same face xyra-shell.css forces onto
   headings site-wide. Said once more here with !important so nothing in the
   shell (or a browser default for buttons and inputs) slips another face in. */
.bkx-body .bkx,
.bkx-body .bkx :is(h1, h2, h3, h4, p, span, strong, b, em, small, a, li, label, button, input, select, textarea) { font-family: 'Lexend Deca', system-ui, sans-serif !important; }

/* Weights: 700 headings and big numbers, 600 card titles and buttons, 500
   labels, 400 body. :where() keeps these at zero specificity, so they only
   replace the browser's bold — any class rule below still decides. */
:where(.bkx) :is(strong, b, h3, h4, button) { font-weight: 600; }
.bkx-display,
.bkx-num,
.bkxh-metric__value,
.bkxh-splash__name { font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; }

/* headings: tight tracking, two lines with the second in gradient */
.bkx-h2,
.bkxh-title {
  /* balance keeps a single word off the last line wherever the browser can */
  text-wrap: balance;
}
.bkx-h2 {
  margin: 0;
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-size: var(--fs-h2);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--bkx-ink);
}
/* every section H2 is two lines with an explicit <br>; on desktop each line
   holds together, so the break is always the one in the markup */
@media (min-width: 1280px) {
  .bkx-h2__line { white-space: nowrap; }
}

.bkx-grad {
  background: var(--bkx-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bkx-lead { margin: 0; font-size: var(--fs-body); line-height: 1.6; color: var(--bkx-body); }

.bkx-eyebrow {
  align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--bkx-line-2);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C0389F;
}
.bkx-eyebrow--mint { background: var(--bkx-in-bg); border-color: rgba(143, 240, 196, .35); color: var(--bkx-in-ink); }
.bkx-eyebrow--pink { background: var(--bkx-out-bg); border-color: rgba(255, 180, 217, .35); color: var(--bkx-out); }
.bkx-eyebrow--cyan { background: var(--bkx-sky-bg); border-color: rgba(34, 211, 238, .35); color: var(--bkx-sky); }
.bkx-eyebrow--lilac { background: var(--bkx-tax-bg); border-color: rgba(143, 123, 255, .40); color: var(--bkx-tax); }
.bkx-eyebrow--live { display: inline-flex; align-items: center; gap: 8px; }

.bkx-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bkx-in); flex: none; }

/* buttons */
.bkx-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 32px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.bkx-btn--grad { background: var(--bkx-grad-btn); color: #FFFFFF; box-shadow: 0 14px 34px rgba(64, 52, 201, .35); }
.bkx-btn--white { background: #FFFFFF; border: 1.5px solid #DCD7F5; color: var(--bkx-ink); padding: 18px 30px; }
.bkx-btn:hover { transform: translateY(-2px); filter: saturate(1.05); }
.bkx-btn--grad:hover { color: #FFFFFF; box-shadow: 0 18px 42px rgba(64, 52, 201, .45); }
.bkx-btn--white:hover { color: var(--bkx-brand); }

/* the "In simple words:" explainer box that repeats across sections */
.bkx-simple {
  margin: 0;
  padding: 16px 18px;
  border-radius: 18px;
  background: var(--bkx-surface);
  border: 1px dashed var(--bkx-dash);
  font-size: 15px;
  line-height: 1.6;
  color: var(--bkx-body);
}
.bkx-simple strong { color: var(--bkx-ink); }
.bkx-simple__lead { color: var(--bkx-tax); }
.bkx-simple--mint .bkx-simple__lead { color: var(--bkx-in); }
.bkx-simple--pink .bkx-simple__lead { color: var(--bkx-out); }
.bkx-simple--cyan .bkx-simple__lead { color: var(--bkx-sky); }

/* image slot: paints a labelled placeholder until the real photo is dropped in */
.bkx-photo {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background-color: #FFFFFF;
  background-image: linear-gradient(150deg, rgba(228, 75, 200, .10) 0%, rgba(255, 255, 255, 0) 60%);
  border: 1px dashed var(--bkx-dash);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  padding: 0 22px;
  box-sizing: border-box;
  color: var(--bkx-brand);
}
.bkx-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bkx-photo__label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.bkx-photo__note { font-size: 12px; line-height: 1.4; color: var(--bkx-muted); }

/* Split section header — one pattern for every section that has one: eyebrow
   and H2 on the left, the sub (or the "In simple words" box, or the tabs) on
   the right, bottoms aligned. 48px from the header block to the content. */
.bkx-bank__head,
.bkx-tax__head,
.bkx-rep__head,
.bkx-price__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  gap: 48px;
  align-items: end;
  margin: 0 0 var(--bkx-head-space);
}
/* centred head (explainer, Ask XYRA): eyebrow, H2 and sub stacked in the middle */
.bkx-head,
.bkx-ask__head { display: flex; flex-direction: column; align-items: center; gap: var(--bkx-head-gap); text-align: center; margin: 0 0 var(--bkx-head-space); }
.bkx-head__copy,
.bkx-ask__headcopy { display: flex; flex-direction: column; align-items: center; gap: var(--bkx-head-gap); }
.bkx-head__lead,
.bkx-ask__lead { max-width: 620px; }
/* the badge sits on the centre line with the heading */
.bkx-head .bkx-eyebrow,
.bkx-ask__head .bkx-eyebrow { align-self: center; }
.bkx-bank__headcopy,
.bkx-tax__headcopy,
.bkx-rep__headcopy,
.bkx-price__headcopy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--bkx-head-gap); min-width: 0; }
/* the right column sets the width now */
.bkx-bank__simple,
.bkx-rep__simple { max-width: none; }
.bkx-tax__head .bkx-pilltabs { justify-self: end; }

/* dot grid on the tinted bands: its own layer, masked so it fades out at the
   top and bottom instead of stopping at the section edge */
.bkx-dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(64, 52, 201, .07) 1.2px, transparent 1.2px);
  background-size: 24px 24px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0, #000 160px, #000 calc(100% - 160px), transparent 100%);
}

.bkx-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* --------------------------------------------------------------------------
   1 · Hero — light theme, one 16s loop
   Drawn in the reference's own 1440 x 880 coordinate system: .bkxh-stage is
   that canvas, and every left/top below is the number from the design file.
   Between 1200px and 1440px the canvas is scaled rather than cropped; under
   1200px it stops being a canvas and becomes a stacked layout.
   -------------------------------------------------------------------------- */
.bkxh {
  --hero-loop: 16s;
  /* the real height of the shared header; books-v4.js keeps it in sync */
  --nav-h: 69px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
  /* the screen that is left under the nav (min-height: 100svh − nav), with a
     floor for very short windows and a cap for very tall ones. The bottom
     padding leaves room for the trust strip that overlaps the hero's edge. */
  height: calc(100svh - var(--header-h, var(--nav-h)));
  min-height: 600px;
  max-height: 920px;
  padding-block: clamp(16px, 3svh, 40px) 72px;
  background-color: #F7F5FF;
  background-image: linear-gradient(180deg, #F8F6FC 0%, #EFE9F8 52%, #ECE6F7 78%, #F7F5FF 100%);
  color: #16133A;
}

/* one clock for the whole scene — the reference's .T */
.bkxh-t {
  animation-duration: var(--hero-loop);
  animation-iteration-count: infinite;
}
/* off-screen: hold still. Coming back: wipe the animations for one frame so
   every element restarts the loop together from 0 (see books-v4.js). */
.bkxh.is-paused .bkxh-t { animation-play-state: paused; }
.bkxh.is-restarting .bkxh-t { animation: none !important; }

/* --- light streaks and brand haze --- */
.bkxh-fx { position: absolute; inset: 0; z-index: 1; }
.bkxh-fx span { position: absolute; display: block; }
.bkxh-fx__haze { border-radius: 50%; filter: blur(20px); }
.bkxh-fx__haze--lilac {
  left: 57%; top: 60px; width: 560px; height: 560px;
  background: radial-gradient(closest-side, rgba(201, 190, 255, .55), rgba(201, 190, 255, 0));
}
.bkxh-fx__haze--pink {
  left: 41.7%; top: 59%; width: 420px; height: 320px;
  background: radial-gradient(closest-side, rgba(255, 200, 236, .45), rgba(255, 200, 236, 0));
}
.bkxh-fx__rays {
  inset: -200px;
  filter: blur(6px);
  background-image:
    linear-gradient(118deg, rgba(255, 255, 255, 0) 38%, rgba(255, 255, 255, .9) 41%, rgba(255, 255, 255, 0) 45%),
    linear-gradient(118deg, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .6) 52%, rgba(255, 255, 255, 0) 55%),
    linear-gradient(118deg, rgba(255, 255, 255, 0) 62%, rgba(255, 255, 255, .75) 65%, rgba(255, 255, 255, 0) 69%),
    linear-gradient(118deg, rgba(255, 255, 255, 0) 76%, rgba(255, 255, 255, .5) 78%, rgba(255, 255, 255, 0) 81%);
}
.bkxh-fx__rays--ink {
  filter: blur(10px);
  background-image:
    linear-gradient(118deg, rgba(150, 120, 200, 0) 46%, rgba(150, 120, 200, .12) 48%, rgba(150, 120, 200, 0) 50%),
    linear-gradient(118deg, rgba(150, 120, 200, 0) 70%, rgba(150, 120, 200, .10) 72%, rgba(150, 120, 200, 0) 74%);
}
/* the bottom fade: above the streaks and haze (last layer of .bkxh-fx), below
   the copy and the scene, so nothing ends in a hard line at the hero edge */
.bkxh-fx__floor {
  left: 0; right: 0; bottom: 0; height: 220px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(247, 245, 255, 0) 0%, rgba(247, 245, 255, .85) 70%, #F7F5FF 100%);
}

/* --- two columns in the page container, both vertically centred --- */
.bkxh-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: calc(var(--content) + 2 * var(--gutter));
  height: 100%;
  margin: 0 auto;
  padding-inline: var(--gutter);
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 48px;
}

/* --- left copy: normal flow, no reserved space for a nav we do not use --- */
.bkxh-copy {
  position: relative;
  z-index: 4;
  min-width: 0;
  /* wide enough that "Bookkeeping that" stays on one line from 1280px up */
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  /* the Ask XYRA card is the last thing in the column; the whole block is
     centred in the hero's height */
  align-self: center;
}

.bkxh-badge {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px 6px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .8);
  border: 1px solid #FFFFFF;
  box-shadow: 0 6px 18px rgba(90, 60, 150, .10);
  font-size: 13px;
  font-weight: 500;
  color: #4034C9;
}
.bkxh-badge__tag {
  padding: 3px 9px;
  border-radius: 999px;
  background: linear-gradient(90deg, #6F5BFF, #E44BC8);
  color: #FFFFFF;
  font-size: 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  flex: none;
}

.bkxh-title {
  margin: 0;
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-size: var(--fs-h1);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #16133A;
}
/* desktop: each line holds together — the only break is the <br> */
@media (min-width: 1200px) {
  .bkxh-title__line,
  .bkxh-title__grad { white-space: nowrap; }
}
/* short screens: step the headline down so the card stays on the first screen */
@media (min-width: 1200px) and (max-height: 720px) {
  .bkxh-title { font-size: clamp(36px, 4.2vw, 56px); }
}
.bkxh-title__grad {
  background: linear-gradient(90deg, #0891B2 0%, #4034C9 50%, #C0389F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bkxh-intro { margin: 0; font-size: var(--fs-body); line-height: 1.5; color: #4A4766; }

/* --- the two buttons under the sub --- */
.bkxh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.bkxh-actions__btn { padding: 16px 26px; font-size: 16px; font-weight: 600; min-height: 52px; box-sizing: border-box; }
.bkxh-actions .bkx-btn--grad { box-shadow: 0 14px 30px rgba(64, 52, 201, .32); }
.bkxh-actions .bkx-btn--white { padding: 15px 22px; }


/* --- prompt card --- */
.bkxh-card {
  margin-top: 4px;
  width: 100%;
  max-width: 560px;
  box-sizing: border-box;
  padding: 18px 18px 14px 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .94);
  border: 1px solid #FFFFFF;
  box-shadow: 0 24px 50px rgba(90, 60, 150, .14), 0 0 0 6px rgba(255, 255, 255, .35);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bkxh-card__label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: #8A84A8;
}
.bkxh-card__mark { width: 18px; height: 18px; flex: none; }
.bkxh-card__line { display: block; min-height: 48px; font-size: 16px; line-height: 1.5; color: #16133A; }
.bkxh-type {
  display: inline-block;
  max-width: 100%;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
}
.bkxh-caret {
  display: inline-block;
  height: 20px;
  margin-left: 2px;
  border-left: 2px solid #4034C9;
  vertical-align: -4px;
}
.bkxh-card__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.bkxh-card__meta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: #8A84A8; }
.bkxh-card__count { white-space: nowrap; }
.bkxh-file {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px 5px 6px;
  border-radius: 999px;
  background: #F1EFFB;
  color: #4034C9;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
.bkxh-file__kind {
  width: 18px;
  height: 22px;
  border-radius: 4px;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(64, 52, 201, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  font-weight: 500;
  color: #C0389F;
  flex: none;
}
.bkxh-card__act { display: flex; align-items: center; gap: 10px; }
.bkxh-plus {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #DCD7F5;
  color: #4A4766;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex: none;
}
.bkxh-go {
  position: relative;
  display: block;
  width: 150px;
  height: 42px;
  flex: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #6F5BFF, #E44BC8);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(228, 75, 200, .35);
}
.bkxh-go:hover { color: #FFFFFF; filter: saturate(1.08); }
.bkxh-go:focus-visible { outline: 3px solid #4034C9; outline-offset: 3px; }
.bkxh-go__lbl {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.bkxh-go__lbl--busy { gap: 8px; opacity: 0; }
.bkxh-go__lbl--done { opacity: 0; }
.bkxh-go__spin {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, .4);
  border-top-color: #FFFFFF;
}


/* --- the scene: pad, orb, phone, chips --------------------------------- */
.bkxh-scenewrap {
  position: relative;
  align-self: stretch;
  min-width: 0;
}
/* the design-size stage. Scaled as one piece by books-v4.js, so every
   coordinate inside it — the orb, pad, phone, beam, chips and the
   offset-paths — stays exactly as drawn. */
/* out of flow on purpose: scaling is a paint-time transform, so a 720px box
   left in flow would still force the grid row — and the hero — 720px tall */
.bkxh-stagebox {
  position: absolute;
  right: 0;
  top: 50%;
  /* the design size: 760 × 700. books-v4.js sets --s = min(column / 760,
     height / 700, 1); the orb's drop area is outside the box */
  width: 760px;
  height: 700px;
  transform-origin: right center;
  transform: translateY(-50%) scale(var(--s, 1));
}
/* the single inner wrapper: everything in the scene moves with it, so all the
   internal coordinates (and both offset-paths) stay exactly as drawn */
.bkxh-scene {
  position: absolute;
  left: 20px;
  top: 0;
  transform: translateY(-110px);
  width: 740px;
  height: 880px;
  /* above the copy only so the flying statement can cross it; the two never
     overlap geometrically */
  z-index: 5;
}
.bkxh-scene > span,
.bkxh-scene > div { position: absolute; }

.bkxh-floorshadow {
  left: 290px; top: 712px; width: 480px; height: 96px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(80, 50, 130, .32), rgba(80, 50, 130, 0));
  transform: rotate(-12deg) skewX(-30deg);
  filter: blur(6px);
}

/* charging pad */
.bkxh-pad { left: 105px; top: 696px; width: 220px; height: 84px; }
.bkxh-pad span { position: absolute; display: block; }
.bkxh-pad__base {
  left: 0; right: 0; top: 12px; height: 72px;
  border-radius: 50%;
  background: linear-gradient(180deg, #D8CEE9 0%, #BFB2D8 100%);
  box-shadow: 0 16px 26px rgba(90, 60, 150, .22);
}
.bkxh-pad__top {
  left: 0; right: 0; top: 0; height: 72px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 50% 35%, #FFFFFF 0%, #F6F2FB 50%, #E3D9F0 100%);
  box-shadow: inset 0 -3px 6px rgba(90, 60, 150, .12);
}
.bkxh-pad__ring { left: 22px; right: 22px; top: 10px; height: 52px; border-radius: 50%; border: 2px solid rgba(195, 180, 225, .9); }
.bkxh-pad__glow {
  left: 16px; right: 16px; top: 6px; height: 60px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(228, 75, 200, .10), rgba(111, 91, 255, 0) 70%);
  box-shadow: 0 0 0 3px rgba(143, 123, 255, .95), 0 0 34px 8px rgba(228, 75, 200, .5), inset 0 0 20px rgba(111, 91, 255, .45);
  opacity: 0;
}
.bkxh-pad__ripple { left: 0; right: 0; top: 0; height: 72px; border-radius: 50%; border: 2px solid rgba(143, 123, 255, .85); opacity: 0; }

/* data beam + particles */
.bkxh-beam { inset: 0; z-index: 3; }
.bkxh-beam svg { position: absolute; inset: 0; overflow: visible; }
.bkxh-beam__line { opacity: 0; filter: drop-shadow(0 0 6px rgba(143, 123, 255, .9)); }
.bkxh-spark {
  position: absolute;
  left: 0; top: 0;
  border-radius: 50%;
  background: #FFFFFF;
  opacity: 0;
  offset-path: path('M 260 690 C 320 700, 330 600, 372 560');
}
.bkxh-spark--1 { width: 10px; height: 10px; box-shadow: 0 0 12px 4px rgba(143, 123, 255, .9); }
.bkxh-spark--2 { width: 8px; height: 8px; box-shadow: 0 0 12px 4px rgba(228, 75, 200, .9); animation-delay: .35s; }
.bkxh-spark--3 { width: 8px; height: 8px; box-shadow: 0 0 12px 4px rgba(34, 211, 238, .9); animation-delay: .7s; }

/* the orb — one wrapper per motion so they never fight */
/* zero height on purpose: the drop area must not size anything. The wrapper
   is anchored on the ball's resting line above the pad and the drop happens
   above it, outside the box. */
.bkxh-orb { left: -45px; top: 606px; width: 240px; height: 0; overflow: visible; z-index: 4; }
.bkxh-orb span,
.bkxh-orb div { position: absolute; }
.bkxh-orb__shadow {
  left: 50px; top: 102px; width: 140px; height: 40px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(40, 20, 80, .55), rgba(40, 20, 80, 0));
  filter: blur(3px);
  opacity: 0;
}
.bkxh-orb__y { left: 60px; top: 0; width: 120px; height: 120px; opacity: 0; }
.bkxh-orb__hover { inset: 0; }
.bkxh-orb__halo {
  inset: -26px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(143, 123, 255, .45), rgba(228, 75, 200, .18) 60%, rgba(255, 255, 255, 0));
  opacity: 0;
}
.bkxh-orb__scan { inset: -6px; border-radius: 50%; border: 2px solid rgba(143, 123, 255, .9); opacity: 0; }
/* the pearl itself: white at the highlight, lilac at the rim, with cyan,
   violet and pink light caught inside */
.bkxh-orb__pearl {
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 26%, #FFFFFF 0%, #FDFCFF 20%, #EEE9FA 46%, #D6CDEE 70%, #B9ADDF 100%);
  box-shadow:
    0 20px 34px rgba(64, 40, 140, .26),
    inset -12px -16px 26px rgba(111, 91, 255, .38),
    inset 12px 8px 20px rgba(34, 211, 238, .22),
    inset 0 -6px 30px rgba(228, 75, 200, .30);
}
/* the iridescent rim: a conic gradient with everything but the edge masked out */
.bkxh-orb__rim {
  inset: 3px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, rgba(34, 211, 238, .55), rgba(111, 91, 255, .55), rgba(228, 75, 200, .55), rgba(34, 211, 238, .55));
  -webkit-mask: radial-gradient(closest-side, transparent 86%, #000 88%, #000 100%);
  mask: radial-gradient(closest-side, transparent 86%, #000 88%, #000 100%);
  opacity: .9;
}
.bkxh-orb__spin { inset: 0; display: flex; align-items: center; justify-content: center; }
.bkxh-orb__lens {
  position: static;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, #FFFFFF 0%, #F6F3FF 70%, #E9E3FA 100%);
  box-shadow: inset 0 2px 6px rgba(64, 52, 201, .18), 0 2px 6px rgba(255, 255, 255, .9);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bkxh-orb__lens img { width: 60px; height: 60px; filter: drop-shadow(0 2px 4px rgba(64, 52, 201, .25)); }
.bkxh-orb__gloss { left: 20px; top: 12px; width: 44px; height: 24px; border-radius: 50%; background: rgba(255, 255, 255, .95); filter: blur(5px); }
/* pink light bouncing off the pad into the underside of the pearl */
.bkxh-orb__bounce { left: 30px; right: 30px; bottom: 8px; height: 16px; border-radius: 50%; background: rgba(228, 75, 200, .25); filter: blur(6px); }

/* the phone */
.bkxh-phone { left: 330px; top: 110px; width: 300px; height: 630px; perspective: 1800px; z-index: 2; }
/* only the shell parts are placed by hand; everything on the screen flows */
.bkxh-phone__back,
.bkxh-phone__btn,
.bkxh-phone__frame,
.bkxh-phone__bezel,
.bkxh-phone__island,
.bkxh-phone__reflect,
.bkxh-screen__status,
.bkxh-done__glare { position: absolute; display: block; }
.bkxh-phone__body { position: absolute; inset: 0; transform: rotateY(-22deg) rotateX(5deg) rotateZ(-2deg); transform-style: preserve-3d; }
.bkxh-phone__back { inset: 0; border-radius: 56px; }
.bkxh-phone__back--2 { transform: translateZ(-16px); background: linear-gradient(90deg, #8A8698 0%, #CFCCD8 30%, #A29EB0 70%, #6F6B7E 100%); }
.bkxh-phone__back--1 { transform: translateZ(-8px); background: linear-gradient(90deg, #B6B3C2 0%, #EDEBF2 40%, #BDBACA 100%); }
.bkxh-phone__btn { left: -4px; width: 6px; border-radius: 3px; background: linear-gradient(90deg, #8F8C9D, #D9D7E1); transform: translateZ(-8px); }
.bkxh-phone__btn--mute { top: 130px; height: 34px; }
.bkxh-phone__btn--up { top: 180px; height: 58px; }
.bkxh-phone__btn--down { top: 250px; height: 58px; }
.bkxh-phone__frame {
  inset: 0;
  border-radius: 56px;
  background: linear-gradient(135deg, #FFFFFF 0%, #D2D0DA 18%, #F4F3F8 38%, #9C99AA 68%, #ECEBF1 100%);
  box-shadow: 40px 56px 80px rgba(60, 30, 110, .28);
}
.bkxh-phone__bezel { inset: 4px; border-radius: 52px; background: #0B0A10; }
.bkxh-phone__glass { position: absolute; inset: 10px; border-radius: 46px; background: #0B0A10; overflow: hidden; }
.bkxh-phone__island { left: 50%; top: 12px; width: 92px; height: 26px; margin-left: -46px; border-radius: 999px; background: #0B0A10; z-index: 3; }
.bkxh-phone__reflect {
  inset: 0;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 255, 255, .22) 0%, rgba(255, 255, 255, 0) 32%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, .08) 100%);
}

/* the brand splash that sits under the app screen */
.bkxh-splash {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: linear-gradient(170deg, #F2EEFF 0%, #F9EEFA 55%, #FFFFFF 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
}
.bkxh-splash__blob { position: absolute; border-radius: 50%; filter: blur(40px); }
.bkxh-splash__blob--1 { left: -60px; top: 60px; width: 220px; height: 220px; background: rgba(143, 123, 255, .28); }
.bkxh-splash__blob--2 { right: -70px; top: 220px; width: 200px; height: 200px; background: rgba(228, 75, 200, .20); }
.bkxh-splash__blob--3 { left: 40px; bottom: 60px; width: 180px; height: 160px; background: rgba(34, 211, 238, .18); }
.bkxh-splash__mark {
  position: relative;
  width: 104px; height: 104px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bkxh-splash__mark img { width: 84px; height: 84px; }
.bkxh-splash__name {
  position: relative;
  font-size: 30px;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--bkx-ink);
}

/* the app screen */
.bkxh-screen {
  position: absolute;
  inset: 0;
  opacity: 0;
  background: linear-gradient(180deg, #D3EFF0 0%, #E7F0FB 28%, #F4EEFF 56%, #FFFFFF 100%);
}
.bkxh-screen__status {
  left: 0; right: 0; top: 0;
  padding: 16px 24px 0;
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 500;
}
.bkxh-screen__bars { position: static; letter-spacing: 1px; }
.bkxh-phone__ui { position: absolute; left: 20px; right: 20px; top: 54px; display: flex; flex-direction: column; gap: 12px; }
.bkxh-row { position: relative; opacity: 0; animation-delay: var(--bkxh-step, 0s); }

.bkxh-row--head { display: flex; justify-content: space-between; align-items: center; }
.bkxh-app { position: static; display: flex; align-items: center; gap: 8px; }
.bkxh-app__mark { position: static; width: 30px; height: 30px; flex: none; }
.bkxh-app strong { font-size: 13px; }
.bkxh-live { position: static; padding: 5px 10px; border-radius: 999px; background: #E2F6EE; color: #0B5E42; font-size: 10px; font-weight: 500; }

.bkxh-metric { display: flex; flex-direction: column; gap: 2px; }
.bkxh-metric__label { position: static; font-size: 11px; font-weight: 500; color: #6E6B8A; }
.bkxh-metric__value {
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-size: 34px;
  line-height: 1;
  letter-spacing: -0.02em;
}

.bkxh-acts { display: flex; gap: 8px; }
.bkxh-act { position: static; padding: 7px 12px; border-radius: 999px; font-size: 11px; font-weight: 500; }
.bkxh-act--light { background: #FFFFFF; box-shadow: 0 2px 8px rgba(64, 52, 201, .10); }
.bkxh-act--dark { background: #16133A; color: #FFFFFF; }

.bkxh-done {
  overflow: hidden;
  padding: 14px;
  border-radius: 18px;
  background: linear-gradient(120deg, #E46AC9 0%, #B66BF0 58%, #8F7BFF 100%);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 10px 24px rgba(200, 80, 200, .35);
}
.bkxh-done strong { font-size: 16px; }
.bkxh-done > span:not(.bkxh-done__glare) { position: static; font-size: 11px; opacity: .95; }
.bkxh-done__glare {
  top: 0; bottom: 0; left: 0; width: 60%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .5) 50%, rgba(255, 255, 255, 0) 100%);
}

.bkxh-txhead { display: flex; justify-content: space-between; align-items: center; margin-top: 2px; }
.bkxh-txhead strong { font-size: 14px; }
.bkxh-txhead__link { position: static; font-size: 11px; font-weight: 500; color: #4034C9; }

.bkxh-tx { display: flex; align-items: center; gap: 10px; }
.bkxh-tx__who {
  position: static;
  width: 30px; height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 600;
  flex: none;
}
.bkxh-tx__who--mint { background: #E2F6EE; color: #0E8A5F; }
.bkxh-tx__who--pink { background: #FDE8F4; color: #B0297F; }
.bkxh-tx__who--sky { background: #E0F5FA; color: #0A6F87; }
.bkxh-tx__txt { position: static; display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.bkxh-tx__txt strong { font-size: 12px; }
.bkxh-tx__txt span { position: static; font-size: 10px; color: #6E6B8A; }
.bkxh-tx__amt { font-size: 12px; }
.bkxh-tx__amt--in { color: #0E8A5F; }

.bkxh-tabbar {
  position: absolute;
  left: 14px; right: 14px; bottom: 14px;
  height: 54px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 18px rgba(64, 52, 201, .12);
  display: flex;
  align-items: center;
  justify-content: space-around;
  font-size: 18px;
  color: #8A84A8;
}
.bkxh-tabbar span { position: static; }
.bkxh-tabbar .is-on { color: #4034C9; }

/* the two result chips */
.bkxh-chip {
  z-index: 5;
  padding: 12px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #FFFFFF;
  box-shadow: 0 18px 40px rgba(90, 60, 150, .18);
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bkxh-chip--1 { --bkxh-fx: 120px; --bkxh-fy: 60px; left: 140px; top: 210px; }
.bkxh-chip--2 { --bkxh-fx: 160px; --bkxh-fy: -20px; left: 70px; top: 470px; animation-delay: .25s; }
.bkxh-chip__mark {
  width: 34px; height: 34px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex: none;
}
.bkxh-chip__mark--mint { background: linear-gradient(145deg, #C9FBE6, #4FCF98); color: #0B5E42; }
.bkxh-chip__mark--violet { background: linear-gradient(145deg, #E0DAFF, #6F5BFF); color: #FFFFFF; font-size: 12px; }
.bkxh-chip__txt { display: flex; flex-direction: column; }
.bkxh-chip__txt strong { font-size: 14px; }
.bkxh-chip__txt span { font-size: 12px; color: #6E6B8A; }

/* the statement that flies into the orb. The path is written in scene
   coordinates, so it starts off to the left, over the prompt card. */
.bkxh-pdf {
  left: 0; top: 0;
  z-index: 7;
  width: 46px; height: 58px;
  box-sizing: border-box;
  padding: 8px 7px;
  border-radius: 8px;
  background: #FFFFFF;
  box-shadow: 0 12px 26px rgba(64, 52, 201, .28);
  display: flex;
  flex-direction: column;
  gap: 4px;
  opacity: 0;
  offset-path: path('M -592 625 C -300 400, 90 400, 225 644');
  offset-rotate: 0deg;
}
.bkxh-pdf span { position: static; height: 3px; border-radius: 2px; background: #DCD7F5; }
.bkxh-pdf__tag { height: auto !important; background: none !important; font-size: 8px; font-weight: 500; color: #C0389F; }
.bkxh-pdf span:nth-child(3) { width: 80%; }
.bkxh-pdf span:nth-child(5) { width: 60%; }

/* --------------------------------------------------------------------------
   Hero — under 1200px: stacked. Copy and card on top, scene underneath.
   The scene keeps its own 740 x 880 coordinates and is scaled and cropped to
   the part that is actually drawn in (--bkxh-sc / --bkxh-ox / --bkxh-oy).
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
  .bkxh {
    --bkxh-sc: .8;      /* scene scale */
    --bkxh-ox: 370px;   /* scene x that lands on the centre line */
    --bkxh-oy: 90px;    /* scene y cropped off the top */
    --bkxh-sh: 718px;   /* scene height actually drawn in */
    /* stacked, the hero is as tall as it needs to be — the first-screen
       height only applies to the two-column desktop layout */
    height: auto;
    min-height: 0;
    max-height: none;
    padding: var(--band-y) 0 calc(var(--band-y) + 24px);
  }
  .bkxh-fx__haze--lilac { left: 50%; top: 2%; width: 460px; height: 460px; margin-left: -230px; }
  .bkxh-fx__haze--pink { left: 50%; top: 62%; width: 380px; height: 300px; margin-left: -190px; }

  .bkxh-stage {
    position: static;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0;
    padding-inline: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
  }

  .bkxh-copy {
    position: static;
    z-index: 4;
    width: 100%;
    max-width: 620px;
    padding: 0 40px;
    box-sizing: border-box;
    align-items: center;
    text-align: center;
  }
  .bkxh-card { text-align: left; }
  .bkxh-actions { justify-content: center; }

  .bkxh-scenewrap {
    position: relative;
    z-index: 3;
    align-self: auto;
    display: block;
    width: 100%;
    height: calc(var(--bkxh-sh) * var(--bkxh-sc));
    overflow: hidden;
  }
  /* the design-size box steps aside: the stacked layout does its own crop */
  .bkxh-stagebox { position: static; width: auto; height: auto; transform: none; }
  .bkxh-scene {
    left: 50%;
    top: 0;
    transform-origin: 0 0;
    transform: translate(calc(-1 * var(--bkxh-ox) * var(--bkxh-sc)), calc(-1 * var(--bkxh-oy) * var(--bkxh-sc))) scale(var(--bkxh-sc));
  }
  /* the statement now falls from the card above into the orb */
  .bkxh-pdf { offset-path: path('M 330 110 C 180 240, 120 470, 225 644'); }
}

@media (max-width: 767px) {
  .bkxh {
    --bkxh-sc: .72;
    --bkxh-ox: 402px;   /* pad and orb sit closer to the phone down here */
    --bkxh-oy: 100px;
    --bkxh-sh: 708px;
    padding: var(--band-y) 0 88px;
  }
  .bkxh-copy { padding: 0 var(--gutter); gap: 16px; }
  .bkxh-actions { width: 100%; }
  .bkxh-actions__btn { flex: 1 1 100%; }
  /* 3D tilts lie flat on phones */
  .bkxh-phone__body { transform: none !important; }
  .bkxh-card { width: 100%; margin-top: 6px; padding: 16px 16px 14px; gap: 12px; }
  .bkxh-card__line { min-height: 70px; }
  .bkxh-card__foot { flex-wrap: wrap; gap: 10px; }
  .bkxh-card__act { width: 100%; justify-content: flex-end; }
  .bkxh-badge { font-size: 12px; padding-right: 12px; flex-wrap: wrap; border-radius: 16px; }

  /* the pad and orb move in beside the phone so the scene fits the screen */
  .bkxh-pad { left: 175px; }
  .bkxh-orb { left: 25px; }
  .bkxh-beam { transform: translateX(70px); }

  /* per the brief: no result chips and no fly-in on phones */
  .bkxh-chip,
  .bkxh-pdf { display: none; }
}



/* --------------------------------------------------------------------------
   2 · What is bookkeeping — four steps on a lit line
   -------------------------------------------------------------------------- */
.bkx-explain {
  position: relative;
  isolation: isolate;
  padding: var(--band-y) 0;
  background-color: #F7F5FF;
  /* the glow stays inside the band; the band fades into the white section below */
  background-image:
    radial-gradient(50% 40% at 50% 50%, rgba(143, 123, 255, .16) 0%, rgba(247, 245, 255, 0) 70%),
    linear-gradient(180deg, #F7F5FF 0%, #F7F5FF calc(100% - 180px), #FFFFFF 100%);
}

.bkx-steps { position: relative; }
.bkx-steps__rail {
  position: absolute;
  left: 150px; right: 150px; top: 58px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, #4FCF98, #E44BC8, #22B5D8, #6F5BFF);
  opacity: .6;
}
.bkx-steps__spark { position: absolute; left: 150px; right: 150px; top: 50px; height: 20px; }
.bkx-steps__spark span {
  position: absolute;
  top: 0;
  width: 20px; height: 20px;
  margin-left: -10px;
  box-sizing: border-box;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--bkx-brand);
  box-shadow: 0 0 18px 4px rgba(64, 52, 201, .45);
}

.bkx-steps__list {
  position: relative;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.bkx-step { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.bkx-step__icon {
  width: 120px; height: 120px;
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}
.bkx-step--mint .bkx-step__icon {
  background: linear-gradient(145deg, #C9FBE6 0%, #4FCF98 100%);
  box-shadow: 0 24px 40px rgba(79, 207, 152, .35), inset 0 -8px 16px rgba(11, 94, 66, .35), inset 0 6px 12px rgba(255, 255, 255, .6);
  color: #0B5E42;
}
.bkx-step--pink .bkx-step__icon {
  background: linear-gradient(145deg, #FFD9EE 0%, #E44BC8 100%);
  box-shadow: 0 24px 40px rgba(228, 75, 200, .32), inset 0 -8px 16px rgba(110, 20, 90, .35), inset 0 6px 12px rgba(255, 255, 255, .6);
  color: #5E0F4D;
}
.bkx-step--cyan .bkx-step__icon {
  background: linear-gradient(145deg, #CFF6FD 0%, #22B5D8 100%);
  box-shadow: 0 24px 40px rgba(34, 181, 216, .32), inset 0 -8px 16px rgba(4, 60, 80, .35), inset 0 6px 12px rgba(255, 255, 255, .6);
  color: #04394D;
}
.bkx-step--lilac .bkx-step__icon {
  background: linear-gradient(145deg, #E0DAFF 0%, #6F5BFF 100%);
  box-shadow: 0 24px 40px rgba(111, 91, 255, .35), inset 0 -8px 16px rgba(30, 20, 110, .35), inset 0 6px 12px rgba(255, 255, 255, .6);
  color: #1E1670;
}

.bkx-step__card {
  width: 100%;
  box-sizing: border-box;
  padding: 24px;
  border-radius: 26px;
  background: var(--bkx-card);
  border: 1px solid var(--bkx-line);
  box-shadow: var(--bkx-shadow);
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* fills the step, so all four cards share the row's height */
  flex: 1 1 auto;
}
.bkx-step__card--featured {
  background: linear-gradient(160deg, #EFEBFF 0%, #FFFFFF 65%);
  border-color: #DCD7F5;
  box-shadow: 0 20px 50px rgba(64, 52, 201, .12);
}
.bkx-step__kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; }
.bkx-step--mint .bkx-step__kicker { color: var(--bkx-in); }
.bkx-step--pink .bkx-step__kicker { color: var(--bkx-out); }
.bkx-step--cyan .bkx-step__kicker { color: var(--bkx-sky); }
.bkx-step--lilac .bkx-step__kicker { color: var(--bkx-tax); }
.bkx-step__title { font-size: 21px; line-height: 1.25; }
.bkx-step__body { font-size: 15px; line-height: 1.6; color: var(--bkx-body); text-wrap: balance; }
.bkx-step__chips { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.bkx-chip { padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.bkx-step--mint .bkx-chip { background: var(--bkx-in-bg); color: var(--bkx-in-ink); }
.bkx-step--pink .bkx-chip { background: var(--bkx-out-bg); color: var(--bkx-out-ink); }
.bkx-step--cyan .bkx-chip { background: var(--bkx-sky-bg); color: #075E73; }
.bkx-step--lilac .bkx-chip { background: var(--bkx-tax-bg); color: var(--bkx-tax); }

.bkx-note {
  margin: 40px auto 0;
  max-width: 760px;
  box-sizing: border-box;
  padding: 16px 22px;
  border-radius: 999px;
  background: #FFFFFF;
  border: 1px solid var(--bkx-line-2);
  box-shadow: 0 16px 40px rgba(64, 52, 201, .10);
  display: flex;
  align-items: center;
  gap: 16px;
}
.bkx-note__avatar {
  width: 48px; height: 48px;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: #2E3F4B;
  box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px var(--bkx-violet-2);
}
.bkx-note__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.bkx-note__text { font-size: 16px; line-height: 1.6; color: var(--bkx-body); }
.bkx-note__text strong { color: var(--bkx-ink); }

/* --------------------------------------------------------------------------
   3 · Ask XYRA — questions | avatar | chat
   -------------------------------------------------------------------------- */
.bkx-ask {
  padding: var(--band-y) 0;
  background-color: #FFFFFF;
  background-image:
    radial-gradient(35% 40% at 12% 30%, rgba(34, 211, 238, .16) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(35% 40% at 90% 66%, rgba(228, 75, 200, .16) 0%, rgba(255, 255, 255, 0) 70%),
    radial-gradient(40% 40% at 50% 55%, rgba(111, 91, 255, .14) 0%, rgba(255, 255, 255, 0) 70%);
}

/* the gradient frame the app window sits in */
.bkx-ask__frame {
  border-radius: 36px;
  padding: 10px;
  background: linear-gradient(140deg, rgba(34, 211, 238, .35), rgba(111, 91, 255, .35) 45%, rgba(228, 75, 200, .35));
  box-shadow: 0 60px 120px rgba(64, 52, 201, .18);
}
.bkx-ask__grid {
  display: grid;
  grid-template-columns: clamp(280px, 22vw, 320px) 360px minmax(0, 1fr);
  border-radius: 28px;
  background: #FFFFFF;
  overflow: hidden;
}

/* --- question list --- */
.bkx-ask__panel {
  /* tight sides, so the longest question fits on one line at 1280px */
  padding: 24px 14px;
  background: #FAF9FF;
  border-right: 1px solid #EEECF6;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bkx-ask__dots { display: flex; align-items: center; gap: 6px; margin-bottom: 4px; }
.bkx-ask__dots span { width: 10px; height: 10px; border-radius: 50%; }
.bkx-ask__dots span:nth-child(1) { background: #FF8A80; }
.bkx-ask__dots span:nth-child(2) { background: #FFD27A; }
.bkx-ask__dots span:nth-child(3) { background: #8FE3B5; }
.bkx-ask__label { font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bkx-muted); }
.bkx-ask__list { display: flex; flex-direction: column; gap: 8px; }

.bkx-q {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px 12px;
  border-radius: 16px;
  border: 1.5px solid transparent;
  background: transparent;
  color: var(--bkx-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bkx-q__text { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bkx-q:hover { background: rgba(255, 255, 255, .7); }
.bkx-q.is-on { background: #FFFFFF; border-color: var(--bkx-brand); box-shadow: 0 10px 26px rgba(64, 52, 201, .16); }
.bkx-q:focus-visible { outline: 3px solid var(--bkx-brand); outline-offset: 2px; }
.bkx-q__tag {
  width: 34px; height: 34px;
  flex: none;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
}
/* off: soft tint with coloured type. on: the solid colour with white type. */
.bkx-q__tag--vat { background: #ECE9FC; color: #6F5BFF; }
.bkx-q__tag--in  { background: #E2F6EE; color: #0E8A5F; }
.bkx-q__tag--out { background: #FDE8F4; color: #C0389F; }
.bkx-q__tag--ocr { background: #E0F5FA; color: #0891B2; }
.bkx-q__tag--ct  { background: #F3E8FC; color: #8A3FD0; }
.bkx-q.is-on .bkx-q__tag { color: #FFFFFF; }
.bkx-q.is-on .bkx-q__tag--vat { background: #6F5BFF; }
.bkx-q.is-on .bkx-q__tag--in  { background: #0E8A5F; }
.bkx-q.is-on .bkx-q__tag--out { background: #C0389F; }
.bkx-q.is-on .bkx-q__tag--ocr { background: #0891B2; }
.bkx-q.is-on .bkx-q__tag--ct  { background: #8A3FD0; }

.bkx-ask__disclaimer { margin-top: auto; font-size: 12px; line-height: 1.5; color: var(--bkx-muted); }

/* --- avatar card: the idle loop with the spoken answer on top --- */
/* the column's gradient matches the videos' own background, so they blend in */
.bkx-avatar { position: relative; min-height: 640px; overflow: hidden; background: linear-gradient(180deg, #4A5C6B 0%, #3A4A58 55%, #1E2440 100%); }
.bkx-avatar__inner { position: absolute; inset: 0; }
.bkx-avatar__media {
  position: absolute;
  top: 0; left: 0; right: 0;
  aspect-ratio: 720 / 850;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.bkx-avatar__vid { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bkx-avatar__vid--answer { opacity: 0; transition: opacity .25s ease; }
.bkx-avatar__vid--answer.is-on { opacity: 1; }
.bkx-avatar__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(180deg, rgba(22, 19, 58, .28) 0%, rgba(22, 19, 58, 0) 20%, rgba(22, 19, 58, 0) 50%, rgba(22, 19, 58, .92) 100%);
}
.bkx-avatar__top { position: absolute; left: 16px; right: 16px; top: 16px; display: flex; justify-content: space-between; align-items: center; }
.bkx-avatar__status {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--bkx-ink);
  font-size: 12px;
  font-weight: 500;
}
/* "Tap for voice": mint while muted (the default), white once the voice is on */
.bkx-avatar__voice {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, .92);
  color: var(--bkx-ink);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}
.bkx-avatar__voice[aria-pressed="true"] { background: #8FF0C4; }
.bkx-avatar__voice[aria-pressed="true"] .bkx-avatar__voice-on,
.bkx-avatar__voice[aria-pressed="false"] .bkx-avatar__voice-off { display: none; }
.bkx-avatar__voice:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; }

.bkx-avatar__bottom { position: absolute; left: 16px; right: 16px; bottom: 16px; display: flex; flex-direction: column; gap: 12px; }
.bkx-wave { display: flex; align-items: flex-end; gap: 4px; height: 28px; }
.bkx-wave[hidden] { display: none; }
.bkx-wave span { width: 5px; height: 100%; border-radius: 3px; background: #8FF0C4; transform-origin: center bottom; }
/* the caption card: live transcript, with the clip's progress along its foot */
.bkx-avatar__captionbox {
  border-radius: 14px;
  overflow: hidden;
  background: rgba(22, 19, 58, .55);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.bkx-avatar__caption {
  margin: 0;
  min-height: 66px;
  box-sizing: border-box;
  padding: 12px 14px;
  color: #FFFFFF;
  font-size: 15px;
  line-height: 1.45;
}
.bkx-avatar__caption strong { color: #8FF0C4; }
.bkx-avatar__progress { display: block; height: 3px; background: rgba(255, 255, 255, .12); }
.bkx-avatar__progress span { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #8FF0C4, #6F5BFF); transition: width .2s linear; }
.bkx-avatar__talk {
  min-height: 50px;
  padding: 0 20px;
  background: #FFFFFF;
  color: var(--bkx-brand);
  font-size: 15px;
  box-shadow: none;
}
.bkx-avatar__talk:hover { color: var(--bkx-brand); box-shadow: none; }

/* --- chat --- */
.bkx-chat { display: flex; flex-direction: column; border-left: 1px solid #EEECF6; min-width: 0; }
.bkx-chat__head { display: flex; align-items: center; gap: 12px; padding: 18px 24px; border-bottom: 1px solid #EEECF6; }
/* the round XYRA mark (same file as the hero orb) */
.bkx-chat__mark { display: block; width: 42px; height: 42px; flex: none; }
/* the face and the live state only appear once the avatar column folds away */
.bkx-chat__face {
  display: none;
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 12%;
  background: #2E3F4B;
  box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px var(--bkx-violet-2);
}
.bkx-chat__state { display: none; align-items: center; gap: 6px; }
.bkx-chat__who { display: flex; flex-direction: column; min-width: 0; }
.bkx-chat__who strong { font-size: 16px; }
.bkx-chat__who span { font-size: 13px; color: var(--bkx-in); }

.bkx-chat__body {
  flex-grow: 1;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-image: var(--bkx-dots);
  background-size: 18px 18px;
}
.bkx-chat__q {
  align-self: flex-end;
  max-width: 78%;
  padding: 14px 18px;
  border-radius: 20px 20px 6px 20px;
  background: linear-gradient(90deg, #4034C9, #6F5BFF);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(64, 52, 201, .25);
}
.bkx-chat__typing {
  align-self: flex-start;
  display: flex;
  gap: 6px;
  padding: 16px 18px;
  border-radius: 20px 20px 20px 6px;
  background: #F1EFFB;
}
.bkx-chat__typing[hidden] { display: none; }
.bkx-chat__typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--bkx-brand); }

.bkx-chat__answer { align-self: flex-start; width: 92%; display: flex; flex-direction: column; gap: 12px; }
.bkx-chat__answer[hidden] { display: none; }
.bkx-chat__a { padding: 14px 18px; border-radius: 20px 20px 20px 6px; background: #F1EFFB; font-size: 16px; line-height: 1.6; }
.bkx-chat__card {
  border-radius: 20px;
  padding: 20px 22px;
  background: linear-gradient(150deg, #2A1F99 0%, #16133A 70%);
  color: #FFFFFF;
  box-shadow: 0 20px 44px rgba(22, 19, 58, .25);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bkx-chat__num { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 16px; }
.bkx-chat__numtext { display: flex; flex-direction: column; }
.bkx-chat__numlabel { font-size: 13px; color: #CFCAF5; }
.bkx-num { font-family: 'Lexend Deca', system-ui, sans-serif; font-size: clamp(32px, 3vw, 44px); line-height: 1.05; white-space: nowrap; color: #8FF0C4; }
.bkx-chat__action { padding: 10px 16px; border-radius: 12px; background: #FFFFFF; color: var(--bkx-ink); font-size: 14px; font-weight: 600; white-space: nowrap; }
/* optional row under a big figure, e.g. the VAT answer's overdue balance */
.bkx-chat__extra { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .14); font-size: 14px; color: #CFCAF5; }
.bkx-chat__chip { padding: 4px 10px; border-radius: 999px; background: #FFD6CC; color: #8A2A12; font-size: 13px; font-weight: 800; white-space: nowrap; }
.bkx-chat__action--start { align-self: flex-start; }
.bkx-chat__row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); font-size: 15px; }
.bkx-chat__rowend { display: flex; align-items: center; gap: 10px; }
.bkx-tag { padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.bkx-tag--late { background: #FFD6CC; color: #8A2A12; }
.bkx-tag--due { background: #FFE7C2; color: #7A4205; }
.bkx-tag--ok { background: #C9F5E1; color: #0B5E42; }
.bkx-tag--claim { background: #DCD6FF; color: #2A1F99; }

.bkx-chat__foot { padding: 16px 20px; border-top: 1px solid #EEECF6; display: flex; gap: 10px; align-items: center; }
.bkx-chat__input {
  flex-grow: 1;
  min-width: 0;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1.5px solid var(--bkx-line-2);
  background: #FAF9FF;
  font-family: inherit;
  font-size: 15px;
  color: var(--bkx-ink);
}
.bkx-chat__send {
  width: 50px; height: 50px;
  flex: none;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #4034C9, #C0389F);
  color: #FFFFFF;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   4 + 5 · Money in / Money out
   The panel is a two-column grid — [document card] [side column] — so the
   chips and the caption sit beside the card instead of on top of it, and
   nothing is positioned by hand any more.
   -------------------------------------------------------------------------- */
.bkx-flow { padding: var(--sec-y) 0; }
.bkx-flow__grid { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); gap: 40px; align-items: center; }
.bkx-flow--out .bkx-flow__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 400px); }
.bkx-flow__copy { display: flex; flex-direction: column; gap: var(--bkx-head-gap); min-width: 0; }
.bkx-flow__copy .bkx-steptabs { margin-top: 8px; }
.bkx-flow__copy .bkx-lead { font-size: 18px; }

/* per-step accent, set on the panel */
.bkx-tone--violet { --d-col: #6F5BFF; --d-glow: rgba(143, 123, 255, .50); }
.bkx-tone--cyan { --d-col: #0891B2; --d-glow: rgba(34, 211, 238, .45); }
.bkx-tone--magenta { --d-col: #C0389F; --d-glow: rgba(228, 75, 200, .50); }
.bkx-tone--green { --d-col: #0E8A5F; --d-glow: rgba(143, 240, 196, .45); }

/* no overflow:hidden here — only decorative layers are clipped, so a card,
   chip or caption can never be cut by the panel edge */
.bkx-flow__stage {
  position: relative;
  display: grid;
  /* the panel answers to its own width, not the viewport */
  container-type: inline-size;
  container-name: flowstage;
  padding: 40px;
  /* as tall as the biggest step (every step is stacked in the same cell) */
  min-height: 0;
  box-sizing: border-box;
  border-radius: 40px;
  background-color: var(--bkx-surface);
  background-image: var(--bkx-dots);
  background-size: 22px 22px;
  border: 1px solid var(--bkx-line-2);
}
.bkx-flow--out .bkx-flow__stage { background-color: #FFF3FB; background-image: none; }

.bkx-flow__panel {
  position: relative;
  grid-area: 1 / 1;
  display: grid;
  grid-template-columns: minmax(0, 360px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.bkx-flow--out .bkx-flow__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 360px); }
.bkx-flow--out .bkx-flow__card { order: 2; }
.bkx-flow--out .bkx-flow__side { order: 1; }
.bkx-flow__panel[hidden] { display: none; }
/* the step glow: decorative, reaches past the padding to the panel edge */
.bkx-flow__panel::before {
  content: "";
  position: absolute;
  inset: -40px;
  border-radius: 40px;
  background: radial-gradient(55% 55% at 40% 50%, var(--d-glow) 0%, rgba(14, 11, 38, 0) 72%);
  pointer-events: none;
  z-index: 0;
}
.bkx-flow--out .bkx-flow__panel::before { background: radial-gradient(55% 55% at 60% 50%, var(--d-glow) 0%, rgba(28, 11, 61, 0) 72%); }

/* the card cell: the ghost sits exactly behind the document */
.bkx-flow__card {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 360px;
  justify-self: center;
  perspective: 1800px;
}
.bkx-doc__ghost {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: #F1EFFB;
  border: 1px solid var(--bkx-line-2);
  transform: rotateX(10deg) rotateY(18deg) rotate(4deg) translateX(26px);
}
.bkx-flow--out .bkx-doc__ghost { transform: rotateX(10deg) rotateY(-18deg) rotate(-4deg) translateX(-26px); }

.bkx-doc {
  position: relative;
  width: 100%;
  box-sizing: border-box;
  transform: rotateX(10deg) rotateY(18deg);
  border-radius: 20px;
  background: #FFFFFF;
  color: var(--bkx-ink);
  box-shadow: 0 0 0 3px var(--d-col), 0 0 80px var(--d-glow), -24px 34px 56px rgba(64, 52, 201, .18);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.bkx-flow--out .bkx-doc {
  transform: rotateX(10deg) rotateY(-18deg);
  box-shadow: 0 0 0 3px var(--d-col), 0 0 80px var(--d-glow), 24px 34px 56px rgba(64, 52, 201, .18);
}
.bkx-doc__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.bkx-doc__head .bkx-display { font-size: clamp(18px, 1.6vw, 22px); }
.bkx-doc__status { padding: 4px 10px; border-radius: 999px; background: var(--d-col); color: #FFFFFF; font-size: 12px; font-weight: 500; white-space: nowrap; }
/* the TRN line is long: let it wrap rather than push the card wider */
.bkx-doc__meta { font-size: 13px; color: var(--bkx-muted); overflow-wrap: anywhere; }
.bkx-doc__rule { border-top: 1px solid #EEECF6; }
.bkx-doc__line { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; }
.bkx-doc__line > span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bkx-doc__line strong,
.bkx-doc__line > span:last-child { white-space: nowrap; }
.bkx-doc__line--muted { color: var(--bkx-muted); }
.bkx-doc__total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bkx-doc__total > span { font-size: 14px; font-weight: 500; }
.bkx-doc__total .bkx-display { font-size: clamp(24px, 2.2vw, 32px); white-space: nowrap; }
/* 12px gap + 68px = 80px under the Total row: the band the stamp sits in */
.bkx-doc__next {
  margin-top: 68px;
  min-height: 46px;
  border-radius: 12px;
  background: var(--bkx-ink);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  padding: 0 12px;
  box-sizing: border-box;
}
.bkx-doc__beam {
  position: absolute;
  left: -24px; right: -24px;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0), #22D3EE 20%, #E44BC8 80%, rgba(228, 75, 200, 0));
  box-shadow: 0 0 26px 8px rgba(111, 91, 255, .75);
}
/* the stamp lands in the band between the total and the button */
.bkx-doc__stamp {
  position: absolute;
  left: 50%;
  /* sized so the tilted stamp fits the 80px band, centred in it */
  bottom: 88px;
  padding: 4px 16px;
  border-radius: 12px;
  border: 4px solid var(--bkx-in);
  color: var(--bkx-in);
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-size: 30px;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: 0.08em;
  background: rgba(255, 255, 255, .75);
  transform: translateX(-50%) rotate(-14deg);
}
.bkx-doc__stamp--out { border-color: #C0389F; color: #C0389F; }

/* side column */
.bkx-flow__side { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bkx-flow__chips { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bkx-flow__chip {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--bkx-line-2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}
.bkx-flow__tick {
  width: 22px; height: 22px;
  flex: none;
  border-radius: 50%;
  background: #8FF0C4;
  color: #0B3A27;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 500;
}
.bkx-flow__tick--out { background: #FFB4D9; color: #5E0F4D; }

.bkx-bubble {
  margin: 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: #FFFFFF;
  color: var(--bkx-ink);
  box-shadow: 0 24px 50px rgba(64, 52, 201, .16);
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15px;
  line-height: 1.5;
}
.bkx-bubble__avatar { width: 38px; height: 38px; flex: none; border-radius: 50%; overflow: hidden; background: #2E3F4B; }
.bkx-bubble__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }

/* money out: chips → XYRA caption → photo. The row is centred in the panel
   and only as tall as the bill card (which stays where it was); the side
   column sits at the row's bottom, so the photo ends level with the card
   instead of ~35px above it */
.bkx-flow--out .bkx-flow__panel { align-content: center; }
.bkx-flow--out .bkx-flow__side { gap: 12px; align-self: end; }
.mo-photo {
  margin: 0;
  position: relative;
  flex: none;
  width: 100%;
  aspect-ratio: 73 / 50;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 44px rgba(176, 41, 127, .18), 0 0 0 1px rgba(255, 255, 255, .9);
}
/* object-position keeps her face and the phone in view (60% 40% for the v2 photo) */
.mo-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 40%; display: block; }
.mo-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 243, 251, 0) 55%, rgba(192, 56, 159, .30) 100%);
  pointer-events: none;
}
.mo-photo-chip {
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px 7px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  color: #16133A;
  font-size: 12px;
  font-weight: 500;
  box-shadow: 0 8px 20px rgba(64, 52, 201, .18);
  white-space: nowrap;
}
.mo-photo-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #C0389F;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
}

/* the step list */
.bkx-steptabs { display: flex; flex-direction: column; gap: 8px; }
.bkx-steptab {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 66px;
  padding: 10px 16px;
  border-radius: 18px;
  border: 1px solid var(--bkx-line);
  background: transparent;
  color: var(--bkx-ink);
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.bkx-steptab.is-on { background: #FFFFFF; box-shadow: 0 14px 30px rgba(64, 52, 201, .14); }
.bkx-flow .bkx-steptab.is-on { border-color: var(--bkx-in); }
.bkx-flow--out .bkx-steptab.is-on { border-color: #C0389F; }
.bkx-steptab:focus-visible { outline: 3px solid var(--bkx-brand); outline-offset: 2px; }
.bkx-steptab__n {
  width: 36px; height: 36px;
  flex: none;
  border-radius: 50%;
  background: #F1EFFB;
  color: var(--bkx-body);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}
.bkx-flow .bkx-steptab.is-on .bkx-steptab__n,
.bkx-flow .bkx-steptab.is-done .bkx-steptab__n { background: #8FF0C4; color: #0B3A27; }
.bkx-flow--out .bkx-steptab.is-on .bkx-steptab__n,
.bkx-flow--out .bkx-steptab.is-done .bkx-steptab__n { background: #FFB4D9; color: #5E0F4D; }
.bkx-steptab__txt { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bkx-steptab__txt strong { font-size: 17px; }
.bkx-steptab__txt span { font-size: 14px; color: var(--bkx-body); }
.bkx-steptab__prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: #8FF0C4; transform-origin: left; transform: scaleX(0); }
.bkx-flow--out .bkx-steptab__prog { background: #FFB4D9; }

/* --------------------------------------------------------------------------
   6 · Bank & auto-reconcile
   -------------------------------------------------------------------------- */
.bkx-bank { padding: var(--sec-y) 0; }
.bkx-bank__card {
  position: relative;
  border-radius: 40px;
  padding: var(--panel-pad);
  background-color: var(--bkx-surface);
  background-image: radial-gradient(40% 60% at 50% 60%, rgba(34, 211, 238, .28) 0%, rgba(111, 91, 255, .20) 40%, rgba(14, 11, 38, 0) 75%);
  border: 1px solid var(--bkx-line-2);
}

/* the orb column never drops under 200px; the cards give up the difference
   (a few px between 1200 and ~1260px) */
.bkx-bank__grid { display: grid; grid-template-columns: minmax(0, 420px) minmax(200px, 1fr) minmax(0, 420px); align-items: center; }
.bkx-panel {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--bkx-line-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bkx-panel__head { display: flex; justify-content: space-between; align-items: center; }
.bkx-panel__label { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bkx-muted); }
.bkx-panel__live { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 500; color: var(--bkx-in); }

.bkx-bank__balances { display: flex; gap: 6px; }
.bkx-bank__bal { flex: 1; padding: 10px 12px; border-radius: 12px; display: flex; flex-direction: column; }
.bkx-bank__bal span { font-size: 11px; font-weight: 500; opacity: .85; }
.bkx-bank__bal strong { font-size: 17px; }
.bkx-bank__bal--brand { background: linear-gradient(135deg, #8F7BFF, #E44BC8); color: #FFFFFF; }
.bkx-bank__bal--cyan { background: linear-gradient(135deg, #22D3EE, #3B82F6); color: #04263A; }

.bkx-bank__row {
  height: 52px;
  padding: 0 16px;
  border-radius: 14px;
  background: var(--bkx-surface);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
}
.bkx-bank__row--ok { background: #EFFAF5; border: 1px solid rgba(143, 240, 196, .3); }
.bkx-bank__row--warn { background: var(--bkx-warn-bg); border: 1px solid rgba(255, 210, 122, .4); }
.bkx-bank__row--ok .bkx-bank__state { color: var(--bkx-in); font-weight: 500; }
.bkx-bank__row--warn .bkx-bank__state { color: var(--bkx-warn); font-weight: 500; }
.bkx-in { color: var(--bkx-in); }
.bkx-out { color: var(--bkx-out); }
.bkx-bank__bookbal { padding: 10px 12px; border-radius: 12px; background: var(--bkx-surface); display: flex; flex-direction: column; }
.bkx-bank__bookbal > span { font-size: 11px; font-weight: 500; color: var(--bkx-muted); text-transform: uppercase; letter-spacing: 0.06em; }
.bkx-bank__bookbal strong { font-size: 17px; }
.bkx-bank__bookbal .bkx-in { font-size: 13px; }

/* Connector lines. One SVG covers the whole row: over the card background,
   under the two panels (so a line slips out from beneath the card edge) and
   under the orb. Sized and drawn in real pixels by books-v4.js. */
.bkx-bank__grid { position: relative; }
.bkx-bank__links { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.bkx-bank__grid > .bkx-panel { position: relative; z-index: 1; }
.bkx-bank__grid > .bkx-bank__wires { z-index: 2; }
.bkx-link { stroke-width: 2.5px; stroke-linecap: round; stroke-dasharray: 2 9; }
.bkx-link--check { stroke-dasharray: 3 10; }
.bkx-link-glow { stroke-width: 8px; stroke-linecap: round; opacity: .15; }
.bkx-link-dot { stroke: #FFFFFF; stroke-width: 2px; }

.bkx-bank__wires { position: relative; height: 300px; margin-top: 70px; }
/* the stacked layout's connector; hidden while the curves are drawn */
.bkx-bank__vlink { display: none; position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.bkx-bank__vlink line { stroke: #6F5BFF; stroke-width: 2.5px; stroke-linecap: round; stroke-dasharray: 2 9; }
.bkx-orb {
  position: absolute;
  left: 50%; top: 50%;
  width: 120px; height: 120px;
  margin: -60px 0 0 -60px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, #22D3EE, #6F5BFF, #E44BC8, #22D3EE);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bkx-orb__inner {
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--bkx-surface);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bkx-orb__inner .bkx-display { font-size: 28px; line-height: 1; }
.bkx-orb__inner span { margin-top: 4px; font-size: 8.5px; line-height: 1; letter-spacing: .02em; font-weight: 500; color: var(--bkx-body); text-transform: uppercase; white-space: nowrap; }

.bkx-bank__features { margin-top: 48px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.bkx-bank__feature {
  padding: 20px 22px;
  border-radius: 20px;
  background: var(--bkx-surface);
  border: 1px solid var(--bkx-line-2);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.bkx-bank__feature strong { font-size: 17px; }
.bkx-bank__feature span { font-size: 15px; line-height: 1.6; color: var(--bkx-body); }

/* --------------------------------------------------------------------------
   7 · VAT & Excise returns
   -------------------------------------------------------------------------- */
.bkx-tax { padding: var(--sec-y) 0; }

.bkx-pilltabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--bkx-surface); border: 1px solid var(--bkx-line-2); flex: none; }
.bkx-pilltab {
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  border: none;
  background: transparent;
  color: var(--bkx-ink);
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.bkx-pilltab.is-on { background: var(--bkx-ink); color: #FFFFFF; }
.bkx-pilltab:focus-visible { outline: 3px solid var(--bkx-brand); outline-offset: 2px; }

.bkx-tone--lilac { --d-col: #8F7BFF; --d-glow: rgba(111, 91, 255, .45); --d-a: #6F5BFF; --d-b: #C0389F; }
.bkx-tone--amber { --d-col: #FFB46A; --d-glow: rgba(255, 170, 90, .40); --d-a: #E08A2E; --d-b: #C0389F; }

.bkx-tax__card {
  position: relative;
  border-radius: 40px;
  padding: var(--panel-pad);
  background-color: var(--bkx-surface);
  background-image: radial-gradient(50% 70% at 30% 50%, var(--d-glow) 0%, rgba(14, 11, 38, 0) 72%);
  border: 1px solid var(--bkx-line-2);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 48px;
  align-items: center;
}
.bkx-tax__card[hidden] { display: none; }
.bkx-tax__work { display: flex; flex-direction: column; gap: 28px; }
.bkx-tax__worklabel { font-size: 15px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bkx-body); }

.bkx-eq { display: grid; grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr) 32px minmax(0, 1.15fr); align-items: center; gap: 4px; }
.bkx-eq__tile {
  padding: 22px 18px;
  border-radius: 24px;
  background: var(--bkx-surface);
  border: 1px solid var(--bkx-line-2);
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 150px;
  box-sizing: border-box;
  /* the figures size to the tile, not the viewport: "9,400 cans" ran ~30px past
     the tile's edge into the × at 1280px and up */
  container-type: inline-size;
}
.bkx-eq__label { font-size: 13px; line-height: 1.4; color: var(--bkx-body); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 19cqi: the longest value ("9,400 cans") is ~5.1× its font size wide */
.bkx-eq__value { font-size: min(clamp(24px, 2.2vw, 34px), 19cqi); line-height: 1; white-space: nowrap; }
.bkx-eq__sub { font-size: 13px; color: var(--bkx-muted); }
.bkx-eq__op { text-align: center; font-size: 28px; font-weight: 700; color: var(--bkx-muted); }
.bkx-eq__tile--result {
  background: linear-gradient(150deg, var(--d-a) 0%, var(--d-b) 100%);
  border: none;
  box-shadow: 0 0 60px var(--d-glow);
  color: #FFFFFF;
}
.bkx-eq__tile--result .bkx-eq__label { color: #FFFFFF; font-weight: 500; }
/* 16.5cqi: "AED 28,200" is ~5.9× its font size wide */
.bkx-eq__value--result { font-size: min(clamp(22px, 1.9vw, 28px), 16.5cqi); line-height: 1.05; white-space: nowrap; }
.bkx-eq__sub--result { color: #FFFFFF; opacity: .9; }

.bkx-tax__simple { padding: 18px 20px; font-size: 16px; }
.bkx-tax__points { display: flex; flex-wrap: wrap; gap: 10px; }
.bkx-point { padding: 10px 14px; border-radius: 999px; background: var(--bkx-surface); border: 1px solid var(--bkx-line-2); font-size: 14px; font-weight: 500; }

.bkx-tax__formwrap { perspective: 1600px; }
.bkx-form {
  transform: rotateX(8deg) rotateY(-14deg);
  border-radius: 24px;
  background: #FFFFFF;
  color: var(--bkx-ink);
  box-shadow: 0 0 0 3px var(--d-col), 0 0 80px var(--d-glow), 30px 40px 60px rgba(64, 52, 201, .18);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bkx-form__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.bkx-form__head .bkx-display { font-size: 22px; white-space: nowrap; }
.bkx-form__ready { padding: 4px 10px; border-radius: 999px; background: var(--bkx-in-bg); color: var(--bkx-in-ink); font-size: 12px; font-weight: 500; white-space: nowrap; }
.bkx-form__period { font-size: 13px; color: var(--bkx-muted); }
.bkx-form__row { display: flex; justify-content: space-between; gap: 12px; padding: 11px 14px; border-radius: 12px; border: 1px solid #EEECF6; font-size: 14px; }
.bkx-form__row > span { min-width: 0; }
.bkx-form__row strong { flex: none; white-space: nowrap; }
.bkx-form__row strong { white-space: nowrap; }
.bkx-form__total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 14px;
  background: var(--bkx-ink);
  color: #FFFFFF;
}
.bkx-form__total > span { font-size: 14px; font-weight: 500; }
/* mint, not --bkx-in: the dark green sank into the ink bar (4.1:1, now 13:1) */
.bkx-form__total .bkx-display { font-size: clamp(22px, 1.9vw, 28px); color: #8FF0C4; white-space: nowrap; }
.bkx-form__due { font-size: 13px; color: var(--bkx-muted); text-align: center; }

/* --------------------------------------------------------------------------
   8 · Corporate tax — the one vivid panel on the page
   Fixed type sizes (no vw scaling). Copy, steps and photo on the left; the
   calculator on the right.
   -------------------------------------------------------------------------- */
.bkx-ct { padding: var(--sec-y) 0; }
.bkx-ct__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 540px);
  gap: 56px;
  align-items: center;
  padding: 56px;
  border-radius: 40px;
  color: #FFFFFF;
  background-color: var(--bkx-deep);
  background-image:
    radial-gradient(55% 75% at 22% 30%, rgba(228, 75, 200, .70) 0%, rgba(160, 70, 220, .35) 40%, rgba(59, 43, 181, 0) 75%),
    radial-gradient(45% 60% at 95% 90%, rgba(34, 211, 238, .35) 0%, rgba(59, 43, 181, 0) 70%),
    radial-gradient(rgba(255, 255, 255, .10) 1.2px, transparent 1.2px);
  background-size: auto, auto, 22px 22px;
  box-shadow: 0 50px 100px rgba(64, 52, 201, .28);
}

/* left */
.bkx-ct__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; min-width: 0; }
.bkx-ct__badge { padding: 7px 14px; border-radius: 999px; background: #FFFFFF; color: #8A1F78; font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
.bkx-ct .bkx-h2 { color: #FFFFFF; font-size: 46px; }
.bkx-ct__intro { margin: 0; max-width: 480px; font-size: 17px; line-height: 1.6; color: #F1E8FF; }
.bkx-ct__steps {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-radius: 18px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  overflow: hidden;
}
.bkx-ct__step { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; min-width: 0; }
.bkx-ct__step + .bkx-ct__step { border-left: 1px solid rgba(255, 255, 255, .14); }
.bkx-ct__step strong { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; }
.bkx-ct__step > span { font-size: 12px; line-height: 1.4; color: var(--bkx-on-dark-soft); }
.bkx-ct__n { width: 20px; height: 20px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.bkx-ct__n--1 { background: #8FF0C4; color: #0B3A27; }
.bkx-ct__n--2 { background: #F7A8E6; color: #5E0F4D; }
.bkx-ct__n--3 { background: #9FE8F5; color: #04394D; }

.bkx-ct__photo { position: relative; margin: 8px 0 0; width: 100%; height: 190px; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 50px rgba(20, 10, 70, .35), 0 0 0 1px rgba(255, 255, 255, .18); }
.bkx-ct__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 35%; display: block; }
.bkx-ct__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(30, 20, 90, .70) 0%, rgba(30, 20, 90, .35) 40%, rgba(30, 20, 90, 0) 65%); pointer-events: none; }
.bkx-ct__photocap { position: absolute; z-index: 1; left: 20px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
/* its own dark frosted pill, so it reads over any part of the photo */
.bkx-ct__quote { padding: 6px 12px; border-radius: 999px; background: rgba(22, 19, 58, .72); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: 13px; font-weight: 600; color: #FFFFFF; white-space: nowrap; }
.bkx-ct__chip { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .95); color: var(--bkx-ink); font-size: 13px; font-weight: 600; white-space: nowrap; box-shadow: 0 8px 20px rgba(20, 10, 70, .25); }
.bkx-ct__chipdot { width: 22px; height: 22px; border-radius: 50%; background: var(--bkx-in); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 12px; }

/* right: the calculator */
.bkx-calc {
  box-sizing: border-box;
  min-width: 0;
  padding: 28px;
  border-radius: 28px;
  background: rgba(20, 12, 80, .45);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: 0 40px 80px rgba(20, 10, 70, .35);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.bkx-calc__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 12px; }
.bkx-calc__head strong { font-size: 17px; font-weight: 600; }
.bkx-calc__badge { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #8FF0C4; }

.bkx-calc__opts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); }
.bkx-calc__opt { min-height: 44px; border-radius: 10px; border: none; background: transparent; color: #FFFFFF; font-family: inherit; font-size: 15px; font-weight: 600; cursor: pointer; transition: background .2s ease, color .2s ease; }
.bkx-calc__opt:hover { background: rgba(255, 255, 255, .08); }
.bkx-calc__opt.is-on { background: #FFFFFF; color: var(--bkx-ink); }
.bkx-calc__opt:focus-visible { outline: 3px solid #8FF0C4; outline-offset: 2px; }

.bkx-calc__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 14px; color: var(--bkx-on-dark-soft); }
.bkx-calc__row strong { font-size: 16px; font-weight: 700; color: #FFFFFF; white-space: nowrap; }

/* one split bar: green 0% part = threshold / profit, pink the rest */
.bkx-calc__split { display: flex; gap: 3px; height: 44px; }
.bkx-calc__free,
.bkx-calc__taxed { display: flex; align-items: center; justify-content: center; min-width: 0; overflow: hidden; font-size: 14px; font-weight: 700; white-space: nowrap; }
.bkx-calc__free {
  flex: none;
  border-radius: 12px 4px 4px 12px;
  color: #0B3A27;
  background: repeating-linear-gradient(135deg, #A6F5D2 0 10px, #8BE9C2 10px 20px);
  transition: width .6s cubic-bezier(.2, .8, .2, 1);
}
.bkx-calc__taxed {
  flex: 1 1 auto;
  border-radius: 4px 12px 12px 4px;
  color: #5E0F4D;
  background: repeating-linear-gradient(135deg, #F7A8E6 0 10px, #EE8CDA 10px 20px);
}
.bkx-calc__free[style*="width: 100%"] { border-radius: 12px; }
.bkx-calc__split.is-all-free .bkx-calc__free { border-radius: 12px; }
.bkx-calc__split.is-all-free .bkx-calc__taxed { display: none; }

.bkx-calc__breakdown { border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(255, 255, 255, .04); }
.bkx-calc__line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 16px; font-size: 13px; color: var(--bkx-on-dark-soft); }
.bkx-calc__line + .bkx-calc__line { border-top: 1px solid rgba(255, 255, 255, .12); }
.bkx-calc__line > span { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bkx-calc__line > span::before { content: ""; width: 7px; height: 7px; flex: none; border-radius: 50%; }
.bkx-calc__line--free > span::before { background: #8FF0C4; }
.bkx-calc__line--taxed > span::before { background: #F7A8E6; }
.bkx-calc__line strong { font-size: 13px; font-weight: 700; color: #FFFFFF; white-space: nowrap; }

.bkx-calc__result { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.bkx-calc__resulttext { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bkx-calc__resultlabel { font-size: 14px; color: var(--bkx-on-dark-soft); }
.bkx-calc__total {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.02em;
  white-space: nowrap;
  background: linear-gradient(90deg, #FFFFFF, #F7A8E6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bkx-calc__note { flex-shrink: 0; margin-bottom: 4px; padding: 6px 12px; border-radius: 999px; background: rgba(247, 168, 230, .18); color: #F7A8E6; font-size: 13px; font-weight: 600; white-space: nowrap; }
.bkx-calc__note--zero { background: rgba(143, 240, 196, .18); color: #8FF0C4; }
.bkx-calc__foot { font-size: 12px; line-height: 1.5; color: #D9D2FF; }

.bkx-calc__actions { display: flex; gap: 10px; }
.bkx-calc__btn { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 18px; box-sizing: border-box; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .35); color: #FFFFFF; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.bkx-calc__btn:hover { color: #FFFFFF; background: rgba(255, 255, 255, .08); }
.bkx-calc__btn--primary { flex: 1 1 auto; border-color: #FFFFFF; background: #FFFFFF; color: var(--bkx-deep); }
.bkx-calc__btn--primary:hover { color: var(--bkx-deep); background: #F1EEFF; }

@media (max-width: 1279px) {
  .bkx-ct__panel { grid-template-columns: minmax(0, 1fr) minmax(0, 460px); gap: 40px; padding: 40px; }
  .bkx-ct .bkx-h2 { font-size: clamp(30px, 4vw, 46px); }
}
@media (max-width: 1023px) {
  .bkx-ct__panel { grid-template-columns: minmax(0, 1fr); gap: 32px; padding: 32px; border-radius: 32px; }
  .bkx-ct__intro { max-width: none; }
}
@media (max-width: 767px) {
  .bkx-ct__panel { padding: 20px; border-radius: 28px; gap: 24px; }
  .bkx-ct__step { padding: 12px 10px; }
  .bkx-ct__step strong { font-size: 13px; gap: 6px; }
  .bkx-ct__step > span { font-size: 12px; }
  .bkx-ct__photo { height: auto; aspect-ratio: 16 / 9; }
  .bkx-calc { padding: 20px; border-radius: 22px; }
  .bkx-calc__total { font-size: 36px; }
  .bkx-calc__result { flex-wrap: wrap; }
  .bkx-calc__actions { flex-direction: column; }
}
@media (max-width: 390px) {
  .bkx-ct__steps { grid-template-columns: minmax(0, 1fr); }
  .bkx-ct__step + .bkx-ct__step { border-left: none; border-top: 1px solid rgba(255, 255, 255, .14); }
}

/* --------------------------------------------------------------------------
   9 · Accounting, reports & team
   -------------------------------------------------------------------------- */
.bkx-rep { padding: var(--sec-y) 0; }

.bkx-rep__bento { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); grid-template-rows: 300px 300px; gap: 16px; }

.bkx-pl {
  grid-row: span 2;
  position: relative;
  border-radius: 32px;
  padding: 32px;
  background-color: #FFFFFF;
  background-image: radial-gradient(60% 50% at 50% 100%, rgba(111, 91, 255, .35) 0%, rgba(16, 13, 41, 0) 70%);
  border: 1px solid var(--bkx-line-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.bkx-pl__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bkx-pl__head strong { font-size: 18px; }
.bkx-pl__trend { padding: 6px 12px; border-radius: 999px; background: var(--bkx-in-bg); color: var(--bkx-in); font-size: 13px; font-weight: 500; white-space: nowrap; }
.bkx-pl__total { font-size: var(--fs-big); line-height: 1; white-space: nowrap; }
.bkx-pl__eq { font-size: 15px; color: var(--bkx-body); }

.bkx-pl__chart { position: relative; margin-top: auto; height: 300px; display: flex; align-items: flex-end; gap: 14px; padding-bottom: 28px; border-bottom: 1px solid var(--bkx-line-2); }
.bkx-pl__bar { flex: 1; height: var(--bkx-h); border-radius: 12px 12px 4px 4px; }
.bkx-pl__bar:nth-child(1) { background: linear-gradient(180deg, #22D3EE, rgba(34, 211, 238, .15)); }
.bkx-pl__bar:nth-child(2) { background: linear-gradient(180deg, #4FB8F5, rgba(79, 184, 245, .15)); }
.bkx-pl__bar:nth-child(3) { background: linear-gradient(180deg, #6F9BFF, rgba(111, 155, 255, .15)); }
.bkx-pl__bar:nth-child(4) { background: linear-gradient(180deg, #7F7BFF, rgba(127, 123, 255, .15)); }
.bkx-pl__bar:nth-child(5) { background: linear-gradient(180deg, #8F6BFF, rgba(143, 107, 255, .15)); }
.bkx-pl__bar:nth-child(6) { background: linear-gradient(180deg, #A65BEF, rgba(166, 91, 239, .15)); }
.bkx-pl__bar:nth-child(7) { background: linear-gradient(180deg, #C04FDA, rgba(192, 79, 218, .15)); }
.bkx-pl__bar:nth-child(8) { background: linear-gradient(180deg, #D84BCB, rgba(216, 75, 203, .15)); }
.bkx-pl__bar--peak { background: linear-gradient(180deg, #E44BC8, rgba(228, 75, 200, .15)) !important; box-shadow: 0 0 40px rgba(228, 75, 200, .5); }
.bkx-pl__months { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; font-size: 12px; color: var(--bkx-muted); }
.bkx-pl__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bkx-pl__chip { padding: 7px 12px; border-radius: 999px; background: var(--bkx-surface); font-size: 13px; font-weight: 500; }

.bkx-bs {
  border-radius: 32px;
  padding: 28px;
  background-color: var(--bkx-deep);
  background-image: radial-gradient(70% 80% at 90% 10%, rgba(228, 75, 200, .6) 0%, rgba(42, 16, 96, 0) 75%);
  color: #FFFFFF;
  border: 1px solid var(--bkx-line-2);
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}
.bkx-bs__donut {
  width: 170px; height: 170px;
  border-radius: 50%;
  background: conic-gradient(#8FF0C4 0 var(--bkx-donut), #F7A8E6 var(--bkx-donut) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.bkx-bs__donutin {
  width: 112px; height: 112px;
  border-radius: 50%;
  background: var(--bkx-deep);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.bkx-bs__donutin strong { font-size: 20px; }
.bkx-bs__donutin span { font-size: 12px; color: var(--bkx-on-dark-soft); }
.bkx-bs__rows { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.bkx-bs__title { font-size: 20px; }
.bkx-bs__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; }
.bkx-bs__row--total { padding-top: 8px; border-top: 1px solid rgba(255, 255, 255, .25); }
.bkx-bs__dot--mint { color: #8FF0C4; }
.bkx-bs__dot--pink { color: #F7A8E6; }

.bkx-team {
  position: relative;
  border-radius: 32px;
  padding: 28px;
  background: #FFFFFF;
  border: 1px solid var(--bkx-line-2);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.bkx-team__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bkx-team__head strong { font-size: 18px; }
.bkx-team__head span { font-size: 13px; color: var(--bkx-body); }
.bkx-team__people { display: flex; align-items: center; gap: 8px; }
.bkx-team__face {
  width: 40px; height: 40px;
  flex: none;
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 0 0 3px #FFFFFF;
}
.bkx-team__face + .bkx-team__face { margin-left: -16px; }
.bkx-team__face--violet { background: var(--bkx-brand); }
.bkx-team__face--cyan { background: #0891B2; }
.bkx-team__face--magenta { background: #C0389F; }
.bkx-team__body { font-size: 14px; color: var(--bkx-body); }
.bkx-team__approval {
  margin-top: auto;
  padding: 14px 16px;
  border-radius: 18px;
  background: var(--bkx-surface);
  border: 1px solid var(--bkx-line);
  color: var(--bkx-ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.bkx-team__approvaltext { display: flex; flex-direction: column; gap: 2px; }
.bkx-team__kicker { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--bkx-muted); }
.bkx-team__approvaltext strong { font-size: 15px; }
.bkx-team__btn { padding: 10px 16px; border-radius: 10px; background: var(--bkx-in); color: #FFFFFF; font-size: 14px; font-weight: 600; white-space: nowrap; }

/* --------------------------------------------------------------------------
   10 · Closing CTA
   -------------------------------------------------------------------------- */
/* --- FAQ ------------------------------------------------------------------ */
.bkx-faq {
  position: relative;
  isolation: isolate;
  padding: var(--band-y) 0;
  background-color: #FFFFFF;
  /* fades in from Pricing and out into the final CTA, both white */
  background-image:
    radial-gradient(35% 35% at 14% 55%, rgba(143, 123, 255, .14) 0%, rgba(247, 245, 255, 0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F5FF 180px, #F7F5FF calc(100% - 180px), #FFFFFF 100%);
}
.bkx-faq__grid { display: grid; grid-template-columns: minmax(0, 540px) minmax(0, 1fr); gap: 72px; align-items: start; }
/* the left column rides along while the questions scroll, clear of the nav */
.bkx-faq__side { display: flex; flex-direction: column; gap: var(--bkx-head-gap); position: sticky; top: 110px; }
.bkx-faq__side > :nth-child(n + 3) { margin-top: 8px; }
.faq-grad {
  background: linear-gradient(90deg, #0891B2 0%, #4034C9 50%, #C0389F 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.bkx-faq__intro { margin: 0; max-width: 440px; font-size: clamp(16px, 1.3vw, 19px); line-height: 1.6; color: var(--bkx-body); }
.bkx-faq__talk {
  align-self: flex-start;
  padding: 14px 26px;
  border-radius: 14px;
  background: #FFFFFF;
  border: 1.5px solid #DCD7F5;
  color: var(--bkx-ink);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(64, 52, 201, .08);
}
.bkx-faq__talk:hover { color: #4034C9; border-color: #C9C2F2; }

/* Ask XYRA card */
.bkx-faq__ask {
  margin-top: 26px;
  min-height: 250px;
  padding: 22px 24px 24px;
  border-radius: 26px;
  background: #FFFFFF;
  border: 1px solid #ECEAF7;
  box-shadow: 0 24px 50px rgba(64, 52, 201, .12);
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-sizing: border-box;
}
.bkx-faq__askhead { display: flex; align-items: center; justify-content: space-between; }
.bkx-faq__askname { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.bkx-faq__askname img { width: 34px; height: 34px; }
.bkx-faq__online { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; color: var(--bkx-in); }
.bkx-faq__livedot { width: 7px; height: 7px; border-radius: 50%; background: var(--bkx-in); }
.bkx-faq__q {
  align-self: flex-end;
  max-width: 80%;
  padding: 12px 16px;
  border-radius: 18px 18px 6px 18px;
  background: linear-gradient(90deg, #4034C9, #6F5BFF);
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(64, 52, 201, .22);
}
.bkx-faq__typing { align-self: flex-start; display: flex; gap: 6px; padding: 14px 16px; border-radius: 18px 18px 18px 6px; background: #F1EFFB; }
.bkx-faq__typing span { width: 7px; height: 7px; border-radius: 50%; background: #4034C9; }
.bkx-faq__typing[hidden],
.bkx-faq__a[hidden] { display: none; }
.bkx-faq__a { align-self: flex-start; max-width: 88%; display: flex; gap: 10px; align-items: flex-start; }
.bkx-faq__avatar { width: 30px; height: 30px; flex: none; border-radius: 50%; overflow: hidden; background: #2E3F4B; }
.bkx-faq__avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.bkx-faq__abubble { padding: 12px 16px; border-radius: 18px 18px 18px 6px; background: #F1EFFB; font-size: 15px; line-height: 1.6; }

/* the questions */
.bkx-faq__list { display: flex; flex-direction: column; gap: 12px; }
.bkx-faq__item {
  border-radius: 18px;
  background: #FFFFFF;
  border: 1px solid #ECEAF7;
  box-shadow: 0 6px 16px rgba(64, 52, 201, .04);
  overflow: hidden;
  transition: border-color .2s, box-shadow .3s;
}
.bkx-faq__item:hover { border-color: #DCD7F5; }
.bkx-faq__item.is-open { border-color: #DCD7F5; box-shadow: 0 20px 44px rgba(64, 52, 201, .12); }
.bkx-faq__h { margin: 0; }
.bkx-faq__btn {
  width: 100%;
  min-height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 20px 16px 26px;
  border: none;
  background: transparent;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--bkx-ink);
  text-align: left;
  cursor: pointer;
}
.bkx-faq__btn:focus-visible { outline: 2px solid #6F5BFF; outline-offset: -4px; border-radius: 18px; }
.bkx-faq__plus {
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: #F1EFFB;
  color: #4034C9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  font-weight: 600;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), background .3s, color .3s;
}
.bkx-faq__item.is-open .bkx-faq__plus { transform: rotate(45deg); background: linear-gradient(135deg, #6F5BFF, #E44BC8); color: #FFFFFF; }
/* Open/close slides: the row runs 0fr → 1fr, which animates to the answer's
   real height with no measuring. Closed answers go visibility:hidden once
   the slide ends, so screen readers and Tab skip them. */
.bkx-faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  visibility: hidden;
  transition: grid-template-rows .38s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .38s;
}
.bkx-faq__item.is-open .bkx-faq__answer {
  grid-template-rows: 1fr;
  visibility: visible;
  transition: grid-template-rows .38s cubic-bezier(.2, .8, .2, 1), visibility 0s;
}
/* the padding lives one level in, so a closed row really is 0px tall */
.bkx-faq__clip { min-height: 0; overflow: hidden; }
.bkx-faq__text {
  margin: 0;
  padding: 0 74px 20px 26px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--bkx-body);
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .2s ease, transform .3s cubic-bezier(.2, .8, .2, 1);
}
.bkx-faq__item.is-open .bkx-faq__text { opacity: 1; transform: none; transition-delay: .08s; }

@media (max-width: 1199px) {
  .bkx-faq__grid { grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 48px; }
}
/* stacked: heading and card above, questions below; nothing sticks */
@media (max-width: 1023px) {
  .bkx-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bkx-faq__side { position: static; }
  .bkx-faq__ask { max-width: 560px; }
}
@media (max-width: 767px) {
  .bkx-faq__ask { margin-top: 8px; min-height: 220px; padding: 18px; border-radius: 22px; }
  .bkx-faq__q,
  .bkx-faq__abubble { font-size: 14px; }
  .bkx-faq__list { gap: 10px; }
  .bkx-faq__item { border-radius: 16px; }
  .bkx-faq__btn { min-height: 58px; padding: 14px 14px 14px 18px; font-size: 15px; gap: 14px; }
  .bkx-faq__plus { width: 30px; height: 30px; font-size: 17px; }
  .bkx-faq__text { padding: 0 18px 18px; font-size: 14px; }
}

.bkx-cta { position: relative; isolation: isolate; padding: var(--band-y) 0; }
/* the glow behind the avatar: under everything, never catches a click */
.bkx-cta::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  top: 0;
  width: min(900px, 100%);
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(111, 91, 255, .30), rgba(255, 255, 255, 0));
  pointer-events: none;
}
.bkx-cta__inner { position: relative; z-index: 1; }
.bkx-cta__inner { display: flex; flex-direction: column; align-items: center; gap: var(--bkx-head-gap); text-align: center; }
.bkx-cta__ring { position: relative; width: 190px; height: 190px; }
.bkx-cta__spin { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #22D3EE, #6F5BFF, #E44BC8, #22D3EE); }
.bkx-cta__face { position: absolute; inset: 6px; border-radius: 50%; overflow: hidden; background: #2E3F4B; box-shadow: 0 0 0 6px #FFFFFF; }
.bkx-cta__face img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.bkx-cta__badge {
  position: absolute;
  left: 50%; bottom: -14px;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bkx-ink);
  color: #FFFFFF;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bkx-cta__badge .bkx-dot { background: #8FF0C4; }
.bkx-cta__ring { margin-bottom: 14px; }
.bkx-cta .bkx-h2 { margin-top: 8px; }
.bkx-cta__actions { margin-top: 8px; }
.bkx-cta__lead { max-width: 520px; text-wrap: balance; }
.bkx-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.bkx-cta__note { font-size: 14px; color: var(--bkx-muted); }

/* --------------------------------------------------------------------------
   Trust strip — directly under the hero, overlapping its bottom edge
   -------------------------------------------------------------------------- */
.bkx-trustwrap {
  position: relative;
  z-index: 6;
  padding-bottom: 8px;
  background: #F7F5FF;
}
.bkx-trust {
  position: relative;
  margin-top: -44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 28px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid #FFFFFF;
  box-shadow: 0 18px 40px rgba(64, 52, 201, .10);
  font-size: 14px;
  font-weight: 600;
  color: var(--bkx-body);
}
.bkx-trust__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bkx-muted); white-space: nowrap; }
.bkx-trust__item { display: flex; align-items: center; gap: 10px; white-space: nowrap; flex: none; }
.bkx-trust__icon { width: 30px; height: 30px; flex: none; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; }
.bkx-trust__icon--violet { background: #ECE9FC; color: #4034C9; }
.bkx-trust__icon--cyan { background: #E0F5FA; color: #0A6F87; }
.bkx-trust__icon--mint { background: #E2F6EE; color: #0E8A5F; }
.bkx-trust__icon--pink { background: #FDE8F4; color: #B0297F; }

/* --------------------------------------------------------------------------
   Explainer: "See how it works →" under each card's chips
   -------------------------------------------------------------------------- */
.bkx-step__link { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--bkx-line); font-size: 14px; font-weight: 600; text-decoration: none; }
.bkx-step--mint .bkx-step__link { color: var(--bkx-in); }
.bkx-step--pink .bkx-step__link { color: var(--bkx-out); }
.bkx-step--cyan .bkx-step__link { color: var(--bkx-sky); }
.bkx-step--lilac .bkx-step__link { color: var(--bkx-tax); }
.bkx-step__link:hover { text-decoration: underline; }

/* --------------------------------------------------------------------------
   Ask XYRA: the "included in every plan" band under the demo
   -------------------------------------------------------------------------- */
.bkx-askband {
  position: relative;
  overflow: hidden;
  margin-top: 32px;
  border-radius: 28px;
  padding: 28px 34px;
  background: var(--bkx-grad-btn);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: 0 30px 60px rgba(64, 52, 201, .25);
}
.bkx-askband::before { content: ""; position: absolute; right: -60px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.bkx-askband__copy { position: relative; display: flex; align-items: center; gap: 16px; }
.bkx-askband__face { width: 56px; height: 56px; flex: none; border-radius: 50%; overflow: hidden; background: #2E3F4B; box-shadow: 0 0 0 3px rgba(255, 255, 255, .6); }
.bkx-askband__face img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; }
.bkx-askband__text { display: flex; flex-direction: column; gap: 4px; }
.bkx-askband__text strong { font-size: 22px; font-weight: 600; line-height: 1.25; }
.bkx-askband__text span { font-size: 14px; opacity: .9; }
.bkx-askband__btn { position: relative; padding: 14px 22px; border-radius: 14px; background: #FFFFFF; color: var(--bkx-brand); font-size: 15px; font-weight: 600; white-space: nowrap; text-decoration: none; }
.bkx-askband__btn:hover { color: var(--bkx-brand); filter: brightness(.97); }


.bkx-tour { position: relative; }

/* --------------------------------------------------------------------------
   Final CTA: the trust line
   -------------------------------------------------------------------------- */
.bkx-cta__trust { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; font-size: 13px; color: var(--bkx-muted); }
.bkx-cta__trust li { display: flex; align-items: center; gap: 6px; }
/* the dot trails each item, so a wrapped line never starts with one */
.bkx-cta__trust li:not(:last-child)::after { content: "·"; margin-left: 8px; }

/* --------------------------------------------------------------------------
   Pricing — five plans, Monthly / Annual, one feature dropdown open at a time
   -------------------------------------------------------------------------- */
.bkx-price { padding: var(--sec-y) 0; background: #FFFFFF; }
.bkx-eyebrow--warn { background: var(--bkx-warn-bg); border-color: rgba(255, 210, 122, .45); color: var(--bkx-warn); }
.bkx-price__side { display: flex; flex-direction: column; align-items: flex-end; gap: 14px; }
.bkx-price__toggle { display: flex; gap: 4px; padding: 5px; border-radius: 14px; background: var(--bkx-surface); border: 1px solid var(--bkx-line-2); }
.bkx-price__cycle { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 0 18px; border-radius: 10px; border: none; background: transparent; color: var(--bkx-body); font-family: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background .2s, color .2s; }
.bkx-price__cycle.is-on { background: var(--bkx-brand); color: #FFFFFF; }
.bkx-price__save { padding: 3px 8px; border-radius: 999px; background: var(--bkx-in-bg); color: var(--bkx-in-ink); font-size: 12px; font-weight: 600; }
.bkx-price__note { font-size: 14px; line-height: 1.6; color: var(--bkx-body); text-align: right; }

/* Every card is a subgrid over the same ten rows — name, description, price,
   bill note, button, trial note, divider, group heading, key features,
   "See all" — so each of those sits on one line across the five cards. The
   feature list that opens is an 11th row. The card's surface (background,
   border, shadow) is a pseudo-element over rows 1–10 only, plus row 11 when
   that card is open, so only the open card grows. */
.bkx-price__grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 30px;          /* between card rows: room for the next row's badge */
  padding-top: 14px;
  align-items: start;
}
.bkx-plan {
  --p-ink: var(--bkx-ink); --p-muted: var(--bkx-muted); --p-body: var(--bkx-body); --p-line: var(--bkx-line); --p-tick: var(--bkx-in);
  --p-bg: #FFFFFF; --p-edge: inset 0 0 0 1px var(--bkx-line); --p-shadow: 0 16px 36px rgba(64, 52, 201, .06);
  position: relative;
  isolation: isolate;
  box-sizing: border-box;
  display: grid;
  grid-row: span 11;
  grid-template-rows: subgrid;
  grid-template-columns: minmax(0, 1fr);
  row-gap: 12px;
  padding: 28px 20px 0;
  color: var(--p-ink);
}
.bkx-plan::before {
  content: "";
  position: absolute;
  z-index: -1;
  grid-row: 1 / 11;
  grid-column: 1 / -1;
  inset: -28px -20px -22px;
  border-radius: 24px;
  background: var(--p-bg);
  box-shadow: var(--p-edge), var(--p-shadow);
  pointer-events: none;
}
.bkx-plan.is-open::before { grid-row: 1 / 12; }
/* Starter's 2px edge is an inset shadow, so its content lines up with the rest */
.bkx-plan--popular { --p-edge: inset 0 0 0 2px var(--bkx-violet-2); --p-shadow: 0 30px 60px rgba(64, 52, 201, .18); }
.bkx-plan--dark { --p-ink: #FFFFFF; --p-muted: #C9C3F5; --p-body: #E6E1FF; --p-line: rgba(255, 255, 255, .14); --p-tick: #8FF0C4; --p-bg: #1E1A5C; --p-edge: inset 0 0 0 1px #1E1A5C; --p-shadow: 0 30px 60px rgba(30, 26, 92, .30); }
.bkx-plan__badge { z-index: 1; }
/* without subgrid: one column of fixed-height blocks */
@supports not (grid-template-rows: subgrid) {
  .bkx-plan { display: flex; flex-direction: column; gap: 12px; padding: 28px 20px 22px; }
  .bkx-plan::before { inset: 0; }
  .bkx-plan__sub { min-height: 57px; }
  .bkx-plan__head { min-height: 40px; }
  .bkx-plan__list--key { min-height: 128px; }
}
.bkx-plan__badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 5px 12px; border-radius: 999px; background: var(--bkx-tax-bg); color: var(--bkx-brand); font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.bkx-plan--popular .bkx-plan__badge { background: linear-gradient(90deg, #4034C9, #C0389F); color: #FFFFFF; }
.bkx-plan--dark .bkx-plan__badge { background: #C9C3F5; color: #1E1A5C; }
.bkx-plan__name { font-size: 19px; font-weight: 600; }
.bkx-plan__sub { font-size: 13px; line-height: 1.45; color: var(--p-muted); }
.bkx-plan__price { display: flex; align-items: baseline; gap: 4px; white-space: nowrap; }
.bkx-plan__cur { font-size: 13px; font-weight: 600; }
.bkx-plan__amount { font-size: 36px; font-weight: 700; letter-spacing: -.02em; line-height: 1; }
.bkx-plan__per { font-size: 13px; color: var(--p-muted); }
.bkx-plan__bill { font-size: 12px; color: var(--p-muted); }
.bkx-plan__cta { display: block; padding: 12px; border-radius: 12px; border: 1.5px solid #DCD7F5; color: var(--bkx-brand); text-align: center; font-size: 14px; font-weight: 600; text-decoration: none; }
.bkx-plan__cta:hover { color: var(--bkx-brand); background: var(--bkx-surface); }
.bkx-plan--popular .bkx-plan__cta { border-color: transparent; background: var(--bkx-grad-btn); color: #FFFFFF; }
.bkx-plan--dark .bkx-plan__cta { border-color: #FFFFFF; background: #FFFFFF; color: var(--bkx-brand); }
.bkx-plan__trial { text-align: center; font-size: 12px; font-weight: 600; color: var(--p-muted); white-space: nowrap; min-height: 18px; }
.bkx-plan__rule { height: 1px; background: var(--p-line); }
.bkx-plan__head { font-size: 14px; font-weight: 600; }
.bkx-plan__list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: 13px; line-height: 1.45; color: var(--p-body); }
.bkx-plan__list li { display: flex; gap: 8px; align-items: flex-start; }
.bkx-plan__list li::before { content: "✓"; color: var(--p-tick); font-weight: 700; }
.bkx-plan__list--key { align-self: start; }
.bkx-plan__more { align-self: end; display: flex; align-items: center; justify-content: space-between; gap: 8px; width: 100%; min-height: 42px; padding: 8px 12px; white-space: nowrap; border-radius: 12px; border: 1px solid var(--bkx-line); background: var(--bkx-surface); color: var(--bkx-brand); font-family: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-align: left; }
.bkx-plan.is-open .bkx-plan__more { background: #F4F2FF; border-color: #DCD7F5; }
.bkx-plan--dark .bkx-plan__more { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .18); color: #FFFFFF; }
.bkx-plan--dark.is-open .bkx-plan__more { background: rgba(255, 255, 255, .12); }
.bkx-plan__more:focus-visible { outline: 3px solid var(--bkx-violet-2); outline-offset: 2px; }
.bkx-plan__chev { display: flex; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #FFFFFF; color: var(--bkx-brand); align-items: center; justify-content: center; transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.bkx-plan.is-open .bkx-plan__chev { transform: rotate(180deg); }
/* the dropdown: grid rows 0fr → 1fr, so the height animates */
.bkx-plan__drawer { margin-top: -12px; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .35s cubic-bezier(.2, .8, .2, 1); }
.bkx-plan.is-open .bkx-plan__drawer { grid-template-rows: 1fr; }
.bkx-plan__clip { min-height: 0; overflow: hidden; }
.bkx-plan__clip .bkx-plan__list { padding-top: 2px; }
.bkx-price__compare { display: block; width: max-content; margin: 12px auto 0; padding: 12px 0; font-size: 14px; font-weight: 600; color: var(--bkx-brand); text-decoration: none; }
.bkx-price__compare:hover { text-decoration: underline; }
@media (prefers-reduced-motion: reduce) {
  .bkx-plan__drawer, .bkx-plan__chev { transition: none; }
}

/* --------------------------------------------------------------------------
   Numbers never break across lines
   -------------------------------------------------------------------------- */
.bkx-bank__row strong,
.bkx-bank__bookbal strong,
.bkx-bank__bal strong,
.bkx-chat__rowend strong,
.bkx-tx__amt,
.bkx-bs__row strong,
.bkxh-metric__value { white-space: nowrap; }

/* --------------------------------------------------------------------------
   Short screens (a 1366×768 laptop): every demo panel fits under the header
   and the sub-nav — less padding, a shorter calculator
   -------------------------------------------------------------------------- */
@media (min-width: 768px) and (max-height: 940px) {
  .bkx-body { --panel-pad: 32px; }
  .bkx-form { gap: 8px; padding: 22px; }
  .bkx-form__row { padding-block: 9px; }
}

/* laptop (1024–1279): the VAT work column stays as short as the form beside
   it — "a − b" on the first row, "= result" on the second, the three points on
   one line. The form is centred against it, so it clears the Example tag. */
@media (min-width: 1024px) and (max-width: 1279px) {
  .bkx-tax .bkx-eq > *:nth-child(4) { grid-column: 2; grid-row: 2; }
  .bkx-tax .bkx-eq > *:nth-child(5) { grid-column: 3; grid-row: 2; }
  .bkx-tax .bkx-tax__simple { font-size: 13px; line-height: 1.55; padding: 12px 14px; }
  .bkx-tax .bkx-tax__points { gap: 6px; }
  .bkx-tax .bkx-point { padding: 7px 10px; font-size: 12px; }
  /* the tag sits at the end of the "How XYRA works it out" row, clear of the form */
}

/* ==========================================================================
   Breakpoints
     Desktop  ≥1280   gutter 64 · sec-y 48 · band-y 64 · panel 56
     Laptop   1024–1279  40 · 44 · 56 · 40
     Tablet   768–1023   32 · 40 · 48 · 32
     Mobile   ≤767       20 · 32 · 40 · 20
   ========================================================================== */
@media (max-width: 1279px) {
  .bkx-body { --gutter: 40px; --sec-y: 44px; --band-y: 56px; --panel-pad: 40px; }

  /* trust strip: label on top, the four items in a 2×2 grid */
  .bkx-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 24px; padding: 18px 24px; }
  .bkx-trust__label { grid-column: 1 / -1; }

  /* four narrow step cards: the kicker can take two lines, so every card
     reserves two and the bodies still start level */
  .bkx-step__kicker { min-height: 3.2em; }
  .bkx-step__title { font-size: 19px; min-height: 2.5em; }

  .bkx-ask__grid { grid-template-columns: clamp(280px, 22vw, 320px) 300px minmax(0, 1fr); }
  .bkx-q__text { white-space: normal; }

  /* sub-nav: the pills scroll */

  .bkx-bank__head,
  .bkx-tax__head,
  .bkx-rep__head,
  .bkx-price__head { grid-template-columns: minmax(0, 1fr) minmax(260px, 340px); gap: 32px; }

  /* money in / out: copy first with the tabs in a row, the document under it */
  .bkx-flow__grid,
  .bkx-flow--out .bkx-flow__grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .bkx-flow__copy { order: 1; }
  .bkx-flow__stage { order: 2; padding: 32px; min-height: 0; }
  .bkx-flow--out .bkx-flow__card { order: 1; }
  .bkx-flow--out .bkx-flow__side { order: 2; }
  .bkx-flow__panel,
  .bkx-flow--out .bkx-flow__panel { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .bkx-flow--out .bkx-flow__panel { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); }
  .bkx-steptabs { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .bkx-steptabs::-webkit-scrollbar { display: none; }
  .bkx-steptab { flex: 1 0 200px; scroll-snap-align: start; }

  /* bank: the three columns stay (stacked they would be ~960px tall) */
  .bkx-bank__grid { grid-template-columns: minmax(0, 1fr) 170px minmax(0, 1fr); }
  .bkx-bank__wires { height: 200px; margin-top: 40px; }
  .bkx-orb { width: 96px; height: 96px; margin: -48px 0 0 -48px; }
  .bkx-orb__inner { width: 80px; height: 80px; }
  .bkx-orb__inner .bkx-display { font-size: 21px; }
  .bkx-orb__inner span { margin-top: 3px; font-size: 7px; }
  .bkx-panel { padding: 16px; }
  .bkx-bank__row { padding-inline: 12px; font-size: 14px; }
  /* the photo gives up height so the money-out stage fits the screen */
  .mo-photo { aspect-ratio: 16 / 7; }

  /* tax: a tighter work column */
  .bkx-tax__work { gap: 16px; }
  .bkx-eq__tile { min-height: 0; padding: 16px; }
  .bkx-point { padding: 8px 12px; font-size: 13px; }
  .bkx-tax__simple { padding: 14px 16px; font-size: 15px; }

  .bkx-tax__card { grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; }
  /* the equation wraps: two tiles and the operator on row 1, the result below */
  .bkx-eq { grid-template-columns: minmax(0, 1fr) 32px minmax(0, 1fr); row-gap: 12px; }
  .bkx-eq > *:nth-child(4) { grid-column: 1 / -1; }
  .bkx-eq > *:nth-child(5) { grid-column: 1 / -1; }

  /* corporate tax: the calculator under the text */

  /* P&L full width on top, the other two beside each other */
  .bkx-rep__bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .bkx-pl { grid-row: auto; grid-column: 1 / -1; }
  .bkx-pl__chart { height: 220px; }

  /* pricing: 3 + 2, the second row centred (six half-columns, each card spans two) */
  .bkx-price__grid { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .bkx-plan { grid-column: span 2; }
  .bkx-plan:nth-child(4) { grid-column: 2 / span 2; }
}

@media (max-width: 1023px) {
  .bkx-body { --gutter: 32px; --sec-y: 40px; --band-y: 48px; --panel-pad: 32px; }

  /* tap targets */
  .bkx-plan__cta,
  .bkx-plan__more,
  .bkx-calc__btn,
  .bkx-price__cycle { min-height: 44px; box-sizing: border-box; }
  .bkxh-go { height: 44px; }

  /* every two-column section stacks, text first */
  .bkx-bank__head,
  .bkx-tax__head,
  .bkx-rep__head,
  .bkx-price__head { grid-template-columns: minmax(0, 1fr); gap: var(--bkx-head-gap); align-items: start; }
  .bkx-tax__head .bkx-pilltabs { justify-self: start; }
  .bkx-price__side { align-items: flex-start; }
  .bkx-price__note { text-align: left; }

  /* tab and pill rows scroll sideways, snapping, no visible scrollbar */
  .bkx-steptabs,
  .bkx-pilltabs,
  .bkx-ask__list,
  .bkx-trust {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 4px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .bkx-steptabs::-webkit-scrollbar,
  .bkx-pilltabs::-webkit-scrollbar,
  .bkx-ask__list::-webkit-scrollbar,
  .bkx-trust::-webkit-scrollbar { display: none; }
  .bkx-steptabs > *,
  .bkx-pilltabs > *,
  .bkx-ask__list > * { flex: 0 0 auto; scroll-snap-align: start; }
  .bkx-trust { display: grid; overflow: visible; }

  /* explainer: 2 × 2, the rail goes */
  .bkx-steps__rail,
  .bkx-steps__spark { display: none; }
  .bkx-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .bkx-step__kicker,
  .bkx-step__title { min-height: 0; }

  /* Ask XYRA: the questions become a chip row above the chat; the avatar sits
     above the chat at 16:9 */
  .bkx-ask__grid { grid-template-columns: minmax(0, 1fr); }
  .bkx-ask__panel { border-right: none; border-bottom: 1px solid #EEECF6; gap: 12px; padding: 18px 20px; }
  .bkx-ask__list { flex-direction: row; padding-bottom: 4px; }
  .bkx-q { max-width: 300px; border-color: var(--bkx-line-2); background: #FFFFFF; }
  .bkx-q .bkx-q__text { white-space: nowrap; }
  .bkx-ask__disclaimer { display: none; }
  /* the avatar: a 16:9 video card (pills on it) with the caption and the Talk
     button underneath, so they don't cover the face */
  .bkx-avatar { min-height: 0; width: 100%; background: #1E2440; }
  .bkx-avatar__inner { position: relative; inset: auto; }
  .bkx-avatar__media { position: relative; aspect-ratio: 16 / 9; max-height: 46svh; width: 100%; -webkit-mask-image: none; mask-image: none; background: linear-gradient(180deg, #4A5C6B 0%, #3A4A58 55%, #1E2440 100%); }
  /* the portrait clip sits centred in the 16:9 card; a blurred copy of the poster fills the sides */
  .bkx-avatar__media { overflow: hidden; }
  .bkx-avatar__media::before { content: ""; position: absolute; inset: -24px; background: url('../media/books/ask-xyra/xyra-poster.jpg') center / cover no-repeat; filter: blur(20px) brightness(.8); }
  .bkx-avatar__vid { object-fit: contain; object-position: center bottom; -webkit-mask-image: linear-gradient(90deg, transparent 25%, #000 33%, #000 67%, transparent 75%); mask-image: linear-gradient(90deg, transparent 25%, #000 33%, #000 67%, transparent 75%); }
  .bkx-avatar__scrim { bottom: auto; aspect-ratio: 16 / 9; max-height: 46svh; background-image: linear-gradient(180deg, rgba(22, 19, 58, .30) 0%, rgba(22, 19, 58, 0) 32%); }
  .bkx-avatar__bottom { position: static; padding: 14px 16px 16px; }
  .bkx-chat__body { padding: 20px 22px; }
  .bkx-chat { border-left: none; }

  /* money in / out: the panel drops to one column inside the stage (container query) */
  .bkx-flow__stage { padding: 24px; }
  .bkx-steptabs { margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
  .bkx-flow__card { max-width: 320px; }
  .mo-photo { max-width: 365px; }

  .bkx-bank__card { border-radius: 32px; }
  .bkx-bank__features { grid-template-columns: minmax(0, 1fr); }
  /* the orb on top, feed and books side by side under it — stacked all three
     would not fit a tablet screen */
  .bkx-bank__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .bkx-bank__wires { grid-column: 1 / -1; grid-row: 1; height: 120px; margin-top: 0; }
  .bkx-bank__links { display: none; }
  .bkx-bank__vlink { display: block; }

  .bkx-tax__card { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); gap: 24px; border-radius: 32px; }
  .bkx-tax__card,
  .bkx-body .bkx-tax__card { padding-top: var(--panel-pad); }
  .bkx-point { padding: 7px 10px; font-size: 12px; }
  .bkx-tax__formwrap { perspective: none; }
  .bkx-form { transform: none; max-width: 430px; margin: 0 auto; padding: 18px; }
  .bkx-form__row { font-size: 13px; padding-inline: 10px; }
  .bkx-eq { grid-template-columns: minmax(0, 1fr); row-gap: 4px; }
  .bkx-eq > *:nth-child(4),
  .bkx-eq > *:nth-child(5) { grid-column: auto; }
  .bkx-eq__op { font-size: 20px; line-height: 1; }
  .bkx-eq__tile { padding: 12px 14px; gap: 4px; }
  .bkx-tax__simple { font-size: 14px; padding: 12px 14px; }
  .bkx-tax__points { gap: 6px; }
  .bkx-tax__work { gap: 12px; }


  .bkx-rep__bento { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto; }
  .bkx-pl { grid-column: auto; }

  .bkx-price__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bkx-plan,
  .bkx-plan:nth-child(4) { grid-column: auto; }

  /* FAQ: heading + chat on top, the questions below; nothing sticks */
  .bkx-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .bkx-faq__side { position: static; }
}

@media (max-width: 767px) {
  .bkx-body { --gutter: 20px; --sec-y: 32px; --band-y: 40px; --panel-pad: 20px; --bkx-head-space: 28px; }

  /* trust strip: one row that scrolls, no overlap with the hero */
  .bkx-trust { display: flex; margin-top: 0; overflow-x: auto; gap: 18px; padding: 14px 18px; border-radius: 18px; }
  .bkx-trustwrap { padding-top: 12px; background: var(--bkx-surface); }

  /* explainer: one column; the line runs down the left and the light travels down it */
  .bkx-steps__list { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .bkx-step { flex-direction: row; align-items: flex-start; gap: 14px; }
  .bkx-step__icon { position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 20px; }
  .bkx-step__icon svg { width: 30px; height: 30px; }
  .bkx-steps__rail { display: block; left: 30.5px; right: auto; top: 32px; bottom: 32px; width: 3px; height: auto; background: linear-gradient(180deg, #4FCF98, #E44BC8, #22B5D8, #6F5BFF); }
  .bkx-steps__spark { display: block; left: 22px; right: auto; top: 32px; bottom: 32px; width: 20px; height: auto; }
  .bkx-steps__spark span { left: 0 !important; }
  .is-inview .bkx-steps__spark span { animation-name: bkx-travel-y; }
  .bkx-note { flex-direction: column; text-align: center; border-radius: 24px; padding: 20px; }

  /* Ask XYRA: the 16:9 video card stays above the chat; "Tap for voice" keeps
     a full 44px tap target */
  .bkx-ask__frame { border-radius: 26px; padding: 6px; }
  .bkx-ask__grid { border-radius: 20px; }
  .bkx-avatar__voice { height: 44px; }
  .bkx-chat__body { padding: 20px 16px; }
  .bkx-chat__answer { width: 100%; }
  .bkx-chat__num { flex-direction: column; align-items: flex-start; gap: 10px; }
  .bkx-askband { flex-direction: column; align-items: flex-start; padding: 22px; border-radius: 24px; }
  .bkx-askband__btn { width: 100%; box-sizing: border-box; text-align: center; min-height: 44px; }
  .bkx-askband__text strong { font-size: 18px; }


  /* sub-nav: the mark, the pills, a small CTA */

  /* money in / out: one column, flat document, photo full width at 16:10 */
  .bkx-flow__stage { padding: 20px 16px; border-radius: 28px; }
  .bkx-flow__panel,
  .bkx-flow--out .bkx-flow__panel { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bkx-flow__card,
  .bkx-flow--out .bkx-flow__card { order: 1; max-width: 320px; justify-self: center; }
  .bkx-flow__side,
  .bkx-flow--out .bkx-flow__side { order: 2; }
  .bkx-doc,
  .bkx-flow--out .bkx-doc { transform: none; padding: 20px; }
  .bkx-doc__ghost,
  .bkx-flow--out .bkx-doc__ghost { transform: translate(8px, 8px); }
  .bkx-doc__stamp { bottom: 84px; font-size: 26px; padding: 4px 14px; border-width: 3px; }
  .bkx-flow__chips { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .bkx-flow__chip { font-size: 12px; padding: 10px; line-height: 1.3; }
  .mo-photo { max-width: none; aspect-ratio: 16 / 10; border-radius: 20px; }
  .mo-photo-chip { font-size: 12px; }

  /* bank: feed → orb → books */
  .bkx-bank__card { border-radius: 26px; }
  .bkx-bank__grid { grid-template-columns: minmax(0, 1fr); }
  .bkx-bank__wires { grid-row: auto; height: 130px; }

  /* VAT & Excise: every tile full width, the operator between */
  .bkx-pilltabs { width: 100%; box-sizing: border-box; }
  .bkx-pilltab { flex: 1 0 auto; padding: 0 14px; font-size: 14px; min-height: 44px; }
  .bkx-tax__card { grid-template-columns: minmax(0, 1fr); border-radius: 26px; }
  .bkx-form__total .bkx-display { font-size: 22px; }
  .bkx-eq { grid-template-columns: minmax(0, 1fr); row-gap: 8px; }
  .bkx-eq > *:nth-child(4),
  .bkx-eq > *:nth-child(5) { grid-column: 1 / -1; }
  .bkx-eq__tile { min-height: 0; }
  .bkx-eq__op { font-size: 24px; }
  .bkx-form { max-width: 100%; }

  /* corporate tax: profit buttons 2 × 2, the rate pill under the number,
     photo at 16:7, radius 28 */

  /* reports: the donut above the numbers */
  .bkx-pl { padding: 22px; border-radius: 26px; }
  .bkx-pl__chart { height: 200px; gap: 7px; }
  .bkx-bs { grid-template-columns: minmax(0, 1fr); justify-items: center; text-align: center; padding: 22px; border-radius: 26px; }
  .bkx-bs__donut { width: 120px; height: 120px; }
  .bkx-bs__donutin { width: 80px; height: 80px; }
  .bkx-bs__donutin strong { font-size: 16px; }
  .bkx-bs__rows { width: 100%; text-align: left; }
  .bkx-team { padding: 22px; border-radius: 26px; }
  .bkx-team__approval { flex-direction: column; align-items: flex-start; }

  /* pricing: one column, Starter first, toggle centred */
  .bkx-price__side { align-items: center; width: 100%; }
  .bkx-price__note { text-align: center; }
  .bkx-price__grid { grid-template-columns: minmax(0, 1fr); }
  .bkx-plan--popular { order: -1; }

  /* FAQ */
  .bkx-faq__text { padding: 0 20px 20px; }

  /* final CTA: buttons stacked, full width */
  .bkx-cta__ring { width: 140px; height: 140px; }
  .bkx-cta__actions { width: 100%; flex-direction: column; }
  .bkx-cta__actions .bkx-btn { width: 100%; box-sizing: border-box; }
}

/* --------------------------------------------------------------------------
   Money in / out: the panel drops to one column when IT gets narrow, whatever
   the viewport is doing — so the side column is never crushed by the card.
   -------------------------------------------------------------------------- */
@container flowstage (max-width: 600px) {
  .bkx-flow__panel,
  .bkx-flow--out .bkx-flow__panel { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .bkx-flow__card,
  .bkx-flow--out .bkx-flow__card { order: 1; max-width: 320px; justify-self: center; }
  .bkx-flow__side,
  .bkx-flow--out .bkx-flow__side { order: 2; }
  .mo-photo { max-width: 365px; }
}
@media (max-width: 767px) {
  .mo-photo { max-width: none; }
}
