/* ==========================================================================
   XYRA Books · UAE e-invoicing page (einvoicing-v1)
   Loaded after books-v4.css: reuses its tokens (--gutter, --content, --fs-h2,
   --bkx-grad …), the container, the H2, the dot grid, the trust strip, the FAQ
   with Ask XYRA and the closing CTA. Drawn at 1440px from the reference; see
   "Breakpoints" at the end. Data: config/einvoicing/*.php.
   ========================================================================== */

/* section rhythm: white sections 48px, tinted bands 64px — 96px between white sections, 112px around a band (see Breakpoints) */
/* one rhythm: every section, white or tinted, gets the same top and bottom padding, so the gap between any two sections is equal (2 × --sec-y) */
.bkx-body.ei-body { --sec-y: 40px; --band-y: 40px; }

.ei-white { position: relative; padding: var(--sec-y) 0; background: #FFFFFF; }
.ei-band {
  position: relative;
  isolation: isolate;
  padding: var(--band-y) 0;
  background-color: #F7F5FF;
  background-image:
    radial-gradient(40% 45% at 75% 40%, rgba(143, 123, 255, .16) 0%, rgba(247, 245, 255, 0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #F7F5FF 160px, #F7F5FF calc(100% - 180px), #FFFFFF 100%);
}
.ei-band--amber {
  background-color: #FFFBF3;
  background-image:
    radial-gradient(40% 50% at 85% 30%, rgba(245, 165, 36, .12) 0%, rgba(255, 251, 243, 0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFFBF3 160px, #FFFBF3 calc(100% - 160px), #FFFFFF 100%);
}

/* clone: a line that wraps repeats the whole gradient on each row instead of
   splitting it (teal on one row, pink on the next) */
.ei-grad { background: var(--bkx-grad); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ei-grad--amber { background: linear-gradient(90deg, #C2610C, #F5A524); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.ei-ink { color: #16133A; font-weight: 700; }

/* an unconfirmed value ([ASP PARTNER NAME] …): amber dashed chip until config fills it in */
.ei-placeholder { display: inline-block; padding: 1px 8px; border-radius: 8px; background: #FFF4E0; border: 1.5px dashed #F5B85C; color: #A35406; font-weight: 700; line-height: 1.5; }
.ei-placeholder--lg { padding: 8px 14px; border-radius: 12px; font-size: 12px; }

/* the shared button reset sets buttons bold; these cards are body text with their own strong titles */
.ei-radio, .ei-corner, .ei-fta, .ei-step { font-weight: 400; }

/* section header: eyebrow → H2 16px, header → content 40px */
.ei-head { display: flex; flex-direction: column; align-items: flex-start; gap: var(--bkx-head-gap); margin: 0 0 var(--bkx-head-space); }
.ei-head--split { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: end; }
.ei-head__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--bkx-head-gap); }
.ei-head__lead { margin: 0; max-width: 640px; font-size: 17px; line-height: 1.6; color: #4A4766; }
.ei-head__lead--side { max-width: none; font-size: 16px; }
.ei-eyebrow { display: inline-block; padding: 7px 14px; border-radius: 999px; font-size: 12px; font-weight: 700; letter-spacing: .12em; line-height: 1.4; }
.ei-eyebrow--pink { background: #FDE8F4; color: #C0389F; }
.ei-eyebrow--amber { background: #FFF4E0; color: #A35406; }
.ei-eyebrow--cyan { background: #E0F5FA; color: #0A6F87; }
.ei-eyebrow--lilac { background: #ECE9FC; color: #4034C9; }
.ei-eyebrow--mint { background: #E2F6EE; color: #0B5E42; }

.ei-tone--violet { background: #ECE9FC; color: #4034C9; }
.ei-tone--cyan { background: #E0F5FA; color: #0A6F87; }
.ei-tone--mint { background: #E2F6EE; color: #0B5E42; }

/* --------------------------------------------------------------------------
   Motion (reference keyframes). Every looping part sits in a [data-ei-anim]
   section that public/js/einvoicing-v1.js marks .is-off while off screen.
   -------------------------------------------------------------------------- */
@keyframes ei-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes ei-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 210, 122, .6); } 50% { box-shadow: 0 0 0 8px rgba(255, 210, 122, 0); } }
@keyframes ei-todayP { 0%, 100% { box-shadow: 0 0 0 0 rgba(192, 56, 159, .5); } 50% { box-shadow: 0 0 0 8px rgba(192, 56, 159, 0); } }
@keyframes ei-pkt { 0% { left: 130px; opacity: 0; } 5% { opacity: 1; } 30%, 36% { left: 454px; } 62%, 68% { left: 778px; } 92% { left: 1102px; opacity: 1; } 100% { left: 1102px; opacity: 0; } }
@keyframes ei-pktR { 0% { left: 1102px; opacity: 0; } 5% { opacity: 1; } 30%, 36% { left: 778px; } 62%, 68% { left: 454px; } 92% { left: 130px; opacity: 1; } 100% { left: 130px; opacity: 0; } }
@keyframes ei-up { 0%, 30% { offset-distance: 0%; opacity: 0; } 34% { opacity: 1; } 52% { offset-distance: 100%; opacity: 1; } 56%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes ei-up2 { 0%, 62% { offset-distance: 0%; opacity: 0; } 66% { opacity: 1; } 84% { offset-distance: 100%; opacity: 1; } 88%, 100% { offset-distance: 100%; opacity: 0; } }
@keyframes ei-dash { to { stroke-dashoffset: -24; } }
@keyframes ei-ftaGlow { 0%, 48%, 100% { box-shadow: 0 20px 44px rgba(22, 19, 58, .25); } 52%, 58%, 84%, 90% { box-shadow: 0 0 0 6px rgba(143, 240, 196, .35), 0 20px 44px rgba(22, 19, 58, .25); } }

.ei-pulse { animation: ei-pulse 2s ease-out infinite; }
.ei-todayP { animation: ei-todayP 2s ease-out infinite; }
.ei-dash { animation: ei-dash 1.2s linear infinite; }
[data-ei-anim].is-off *, [data-ei-anim].is-off { animation-play-state: paused !important; }

/* --------------------------------------------------------------------------
   1 · Hero
   -------------------------------------------------------------------------- */
.ei-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 56px 0 112px;
  background-color: #F1EDF8;
  background-image: linear-gradient(180deg, #F8F6FC 0%, #EFE9F8 52%, #ECE6F7 78%, #F7F5FF 100%);
}
.ei-hero__glow, .ei-hero__sheen, .ei-hero__fade { position: absolute; pointer-events: none; }
.ei-hero__glow { left: calc(50% + 80px); top: 40px; width: 600px; height: 600px; border-radius: 50%; background: radial-gradient(closest-side, rgba(201, 190, 255, .6), rgba(201, 190, 255, 0)); filter: blur(20px); }
.ei-hero__sheen {
  inset: -200px;
  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%);
  filter: blur(6px);
}
.ei-hero__fade { left: 0; right: 0; bottom: 0; height: 220px; z-index: 1; background: linear-gradient(180deg, rgba(247, 245, 255, 0) 0%, rgba(247, 245, 255, .85) 70%, #F7F5FF 100%); }

.ei-hero__grid { position: relative; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) min(536px, 42vw); gap: 48px; align-items: center; }
.ei-hero__copy { display: flex; flex-direction: column; gap: 18px; }
.ei-hero__title { margin: 0; font-size: clamp(36px, 3.75vw, 54px); line-height: 1.06; font-weight: 700; letter-spacing: -.02em; color: #16133A; }
.ei-hero__lead { margin: 0; max-width: 640px; font-size: 18px; line-height: 1.6; color: #4A4766; }
.ei-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ei-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 16px; font-weight: 700; text-decoration: none; text-align: center; transition: transform .2s ease, box-shadow .2s ease; }
.ei-btn--grad { padding: 16px 26px; background: var(--bkx-grad-btn); color: #FFFFFF; box-shadow: 0 14px 30px rgba(64, 52, 201, .32); }
.ei-btn--white { padding: 15px 22px; background: #FFFFFF; border: 1.5px solid #DCD7F5; color: #16133A; }
.ei-btn:hover { transform: translateY(-2px); }
.ei-btn--grad:hover { color: #FFFFFF; box-shadow: 0 18px 40px rgba(64, 52, 201, .42); }
.ei-btn--white:hover { color: #4034C9; }

/* the shared "vivid panel": hero countdown, phase result and the five steps panel */
.ei-vivid {
  color: #FFFFFF;
  background-color: #3B2BB5;
  background-image:
    radial-gradient(55% 75% at 15% 20%, rgba(228, 75, 200, .55) 0%, rgba(59, 43, 181, 0) 72%),
    radial-gradient(45% 60% at 100% 100%, rgba(34, 211, 238, .30) 0%, rgba(59, 43, 181, 0) 70%),
    radial-gradient(rgba(255, 255, 255, .08) 1.2px, transparent 1.2px);
  background-size: auto, auto, 22px 22px;
  box-shadow: 0 40px 90px rgba(64, 52, 201, .28);
}

/* the right column: only the countdown card, centred on the copy */
.ei-cd { position: relative; box-sizing: border-box; padding: 32px; border-radius: 32px; }
.ei-cd__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ei-cd__label { font-size: 12px; font-weight: 700; letter-spacing: .12em; color: #C9C3F5; }
.ei-cd__live { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #8FF0C4; }
.ei-cd__dot { width: 7px; height: 7px; border-radius: 50%; background: #8FF0C4; }
.ei-cd__cells { margin-top: 18px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ei-cd__cells[hidden], .ei-cd__asp[hidden], .ei-cd__livenote[hidden] { display: none; }
.ei-cd__cell { padding: 16px 0 12px; border-radius: 18px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; align-items: center; gap: 4px; }
/* tabular figures: the tiles never change width as the numbers tick */
.ei-cd__cell strong { font-size: 46px; line-height: 1; font-weight: 700; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.ei-cd__cell span { font-size: 12px; color: #C9C3F5; }
.ei-cd__livenote { margin: 18px 0 0; font-size: 15px; line-height: 1.55; color: #E6E1FF; }
.ei-cd__asp { margin-top: 18px; padding: 14px 16px; border-radius: 16px; background: rgba(255, 210, 122, .12); border: 1px solid rgba(255, 210, 122, .35); display: flex; gap: 12px; align-items: flex-start; }
.ei-cd__aspdot { margin-top: 4px; width: 10px; height: 10px; flex: none; border-radius: 50%; background: #FFD27A; }
.ei-cd__asptext { display: flex; flex-direction: column; gap: 4px; }
.ei-cd__asptext > strong { font-size: 14px; color: #FFD27A; }
.ei-cd__asptext > span { font-size: 13px; line-height: 1.55; color: #E6E1FF; }
.ei-cd__asptext .ei-ink { color: #FFFFFF; }
/* the deadline ("30 October 2026") never breaks across lines */
.ei-cd__asptext > span .ei-ink { white-space: nowrap; }

/* the shared trust strip's wrapper fades into the white page over 40px */
.ei-body .bkx-trustwrap { padding-bottom: 40px; background: linear-gradient(180deg, #F7F5FF 0%, #F7F5FF 40%, #FFFFFF 100%); }

/* jumps land under the site header */
.ei [id] { scroll-margin-top: calc(var(--bkx-head) + 8px); }

/* --------------------------------------------------------------------------
   4 · Check my phase
   -------------------------------------------------------------------------- */
.ei-phase { padding-top: var(--sec-y); }
.ei-phase__grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 24px; align-items: stretch; }
.ei-phase__side { display: flex; flex-direction: column; gap: 12px; }
.ei-radios { display: flex; flex-direction: column; gap: 12px; }
.ei-radio { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; border: 1.5px solid #ECEAF7; background: rgba(255, 255, 255, .6); font-family: inherit; text-align: left; color: #16133A; cursor: pointer; transition: border-color .2s, background .2s, box-shadow .2s; }
.ei-radio:hover { border-color: #C9C3E8; }
.ei-radio.is-on { background: #FFFFFF; border-color: #8F7BFF; box-shadow: 0 18px 40px rgba(64, 52, 201, .14); }
.ei-radio:focus-visible { outline: 3px solid #8F7BFF; outline-offset: 2px; }
.ei-radio__ring { width: 22px; height: 22px; flex: none; margin-top: 2px; border-radius: 50%; border: 2px solid #C9C3E8; display: flex; align-items: center; justify-content: center; box-sizing: border-box; }
.ei-radio__ring span { width: 10px; height: 10px; border-radius: 50%; background: transparent; }
.ei-radio.is-on .ei-radio__ring { border-color: #4034C9; }
.ei-radio.is-on .ei-radio__ring span { background: #4034C9; }
.ei-radio__copy { display: flex; flex-direction: column; gap: 4px; }
.ei-radio__copy strong { font-size: 16px; }
.ei-radio__copy span { font-size: 13px; line-height: 1.5; color: #6E6B8A; }
.ei-simple { margin: 0; padding: 16px 18px; border-radius: 18px; background: #FFFFFF; border: 1px dashed #CFC8EE; font-size: 14px; line-height: 1.6; color: #4A4766; }
.ei-simple strong { color: #16133A; }
.ei-simple .ei-simple__lead { color: #4034C9; }

.ei-result {
  border-radius: 32px; padding: 36px; display: flex; flex-direction: column; gap: 20px;
}
.ei-result.is-fresh > * { animation: ei-rise .4s cubic-bezier(.2, .8, .2, 1) both; }
.ei-result__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.ei-result__phase { font-size: 32px; letter-spacing: -.02em; }
.ei-result__tag { padding: 6px 12px; border-radius: 999px; background: rgba(143, 240, 196, .16); color: #8FF0C4; font-size: 12px; font-weight: 700; }
.ei-result__tag.is-urgent { background: rgba(255, 157, 184, .18); color: #FF9DB8; }
.ei-result__dates { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ei-date { padding: 20px; border-radius: 20px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); display: flex; flex-direction: column; gap: 6px; }
.ei-date__label { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #C9C3F5; }
.ei-date__day { font-size: 30px; letter-spacing: -.02em; line-height: 1.25; }
.ei-date__left { font-size: 13px; font-weight: 700; }
.ei-date__left--asp { color: #FFD27A; }
.ei-date__left--asp.is-urgent { color: #FF9DB8; }
.ei-date__left--live { color: #8FF0C4; }
.ei-date__bar { height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.ei-date__fill { display: block; height: 100%; border-radius: 999px; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.ei-date__fill--asp { background: linear-gradient(90deg, #FFD27A, #E44BC8); }
.ei-date__fill--live { background: linear-gradient(90deg, #8FF0C4, #22D3EE); }
.ei-result__msg { margin: 0; font-size: 16px; line-height: 1.6; color: #E6E1FF; }
.ei-result__actions { margin-top: auto; display: flex; flex-wrap: wrap; gap: 10px; }
.ei-result__cta { padding: 13px 20px; border-radius: 12px; background: #FFFFFF; color: #3B2BB5; font-size: 14px; font-weight: 700; text-decoration: none; }
.ei-result__wa { padding: 13px 18px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .32); color: #FFFFFF; font-size: 14px; font-weight: 600; text-decoration: none; display: flex; align-items: center; gap: 8px; }
/* keep each button's own text colour on hover (inherit gave the white button white text) */
.ei-result__cta:hover { color: #3B2BB5; background: #F4F2FF; }
.ei-result__wa:hover { color: #FFFFFF; background: rgba(255, 255, 255, .10); border-color: rgba(255, 255, 255, .5); }
.ei-result__wa span { width: 14px; height: 14px; border-radius: 50%; background: #25D366; }
/* in motion: a glow drifts behind the result, the bars shimmer, the days-left
   dot and the picked radio pulse, the timeline's milestones breathe */
.ei-result { position: relative; overflow: hidden; isolation: isolate; }
.ei-result::before { content: ''; position: absolute; z-index: -1; width: 60%; aspect-ratio: 1; left: -10%; top: -20%; border-radius: 50%; background: radial-gradient(closest-side, rgba(228, 75, 200, .35), rgba(228, 75, 200, 0)); animation: ei-phGlow 12s ease-in-out infinite alternate; pointer-events: none; }
.ei-date { transition: transform .25s ease, background .25s ease; }
.ei-date:hover { transform: translateY(-3px); background: rgba(255, 255, 255, .12); }
.ei-date__fill { position: relative; overflow: hidden; }
.ei-date__fill::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-100%); animation: ei-phShine 3s ease-in-out infinite; }
.ei-date__fill--live::after { animation-delay: 1.5s; }
.ei-date__left { display: inline-flex; align-items: center; gap: 7px; }
.ei-date__left::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: ei-phBlink 1.6s ease-in-out infinite; }
.ei-result__tag { animation: ei-phTag 3s ease-in-out infinite; }
.ei-radio { transition: border-color .2s, background .2s, box-shadow .2s, transform .2s; }
.ei-radio:hover { transform: translateX(4px); }
.ei-radio.is-on .ei-radio__ring { animation: ei-phRing 2s ease-out infinite; }
/* the auto tour's timer: a bar along the picked card (JS sets --auto 0…1) */
.ei-radio { position: relative; overflow: hidden; }
.ei-phase.is-auto .ei-radio.is-on::after { content: ''; position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: linear-gradient(90deg, #8F7BFF, #C0389F); transform-origin: left; transform: scaleX(var(--auto, 0)); will-change: transform; }
.ei-mark__dot { animation: ei-phDot 3s ease-in-out infinite; }
.ei-mark:nth-child(2) .ei-mark__dot { animation-delay: .6s; }
.ei-mark:nth-child(3) .ei-mark__dot { animation-delay: 1.2s; }
.ei-mark:nth-child(4) .ei-mark__dot { animation-delay: 1.8s; }
.ei-mark:nth-child(5) .ei-mark__dot { animation-delay: 2.4s; }
@keyframes ei-phGlow { 0% { transform: translate(0, 0); } 50% { transform: translate(90%, 40%); } 100% { transform: translate(140%, 90%); } }
@keyframes ei-phShine { 0%, 15% { transform: translateX(-100%); } 60%, 100% { transform: translateX(100%); } }
@keyframes ei-phBlink { 0%, 100% { opacity: 1; box-shadow: 0 0 0 0 currentColor; } 50% { opacity: .45; box-shadow: 0 0 0 3px transparent; } }
@keyframes ei-phTag { 0%, 100% { box-shadow: 0 0 0 0 rgba(143, 240, 196, .35); } 50% { box-shadow: 0 0 0 6px rgba(143, 240, 196, 0); } }
@keyframes ei-phRing { 0% { box-shadow: 0 0 0 0 rgba(64, 52, 201, .35); } 70%, 100% { box-shadow: 0 0 0 8px rgba(64, 52, 201, 0); } }
@keyframes ei-phDot { 0%, 100% { box-shadow: 0 0 0 0 rgba(64, 52, 201, .25); } 50% { box-shadow: 0 0 0 6px rgba(64, 52, 201, 0); } }

/* the mandate on one line */
.ei-timeline { margin-top: 24px; border-radius: 28px; padding: 28px 40px; background: #FFFFFF; border: 1px solid #ECEAF7; box-shadow: 0 20px 50px rgba(64, 52, 201, .08); }
.ei-timeline__head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.ei-timeline__head > strong { font-size: 18px; }
.ei-timeline__legend { display: flex; flex-wrap: wrap; gap: 14px; font-size: 12px; color: #6E6B8A; }
.ei-c-asp { color: #C0389F; } .ei-c-live { color: #4034C9; } .ei-c-gov { color: #0A6F87; }
.ei-timeline__todaykey { display: flex; align-items: center; gap: 6px; }
.ei-timeline__todaykey .ei-todayP { width: 10px; height: 10px; border-radius: 50%; background: #C0389F; }
.ei-line { position: relative; height: 150px; }
.ei-line__track, .ei-line__fill { position: absolute; left: 0; top: 50%; height: 6px; margin-top: -3px; border-radius: 999px; }
.ei-line__track { right: 0; background: linear-gradient(90deg, #ECE9FC, #F4F2FF); }
.ei-line__fill { width: var(--today); background: linear-gradient(90deg, #8F7BFF, #C0389F); }
.ei-line__tick { position: absolute; left: var(--x); top: 50%; width: 1px; height: 10px; margin-top: -5px; background: #DCD7F5; }
.ei-line__marks { list-style: none; margin: 0; padding: 0; }
.ei-mark { position: absolute; left: var(--x); top: 50%; }
.ei-mark__dot { position: absolute; left: 0; top: 0; z-index: 2; width: 16px; height: 16px; transform: translate(-50%, -50%); border-radius: 50%; background: #FFFFFF; border: 4px solid #4034C9; box-sizing: border-box; }
.ei-mark--asp .ei-mark__dot { border-color: #C0389F; }
.ei-mark--gov .ei-mark__dot { border-color: #0A6F87; }
.ei-mark__label { position: absolute; left: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; white-space: nowrap; }
.ei-mark--above .ei-mark__label { bottom: 14px; }
.ei-mark--below .ei-mark__label { top: 14px; }
.ei-mark:first-child .ei-mark__label { transform: translateX(-24%); }
.ei-mark:last-child .ei-mark__label { transform: translateX(-76%); }
.ei-mark__label strong { font-size: 13px; color: #4034C9; }
.ei-mark--asp .ei-mark__label strong { color: #C0389F; }
.ei-mark--gov .ei-mark__label strong { color: #0A6F87; }
.ei-mark__label span { font-size: 11px; color: #6E6B8A; }
.ei-line__today { position: absolute; left: var(--today); top: 50%; z-index: 3; width: 22px; height: 22px; margin: -11px 0 0 -11px; border-radius: 50%; background: #C0389F; border: 4px solid #FFFFFF; box-sizing: border-box; }
.ei-mark__today { display: none; }
.ei-line__end { position: absolute; bottom: 0; font-size: 11px; color: #8A84A8; }
.ei-line__end--start { left: 0; }
.ei-line__end--end { right: 0; }

/* the full schedule */
.ei-table { margin-top: 24px; width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 24px; background: #FFFFFF; border: 1px solid #ECEAF7; overflow: hidden; font-size: 15px; text-align: left; }
.ei-table th, .ei-table td { padding: 16px 28px; border-top: 1px solid #F0EEF8; vertical-align: middle; }
.ei-table thead th { border-top: 0; padding-block: 14px; background: #F7F5FF; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6E6B8A; }
.ei-table thead th:nth-child(1) { width: 160px; } .ei-table thead th:nth-child(3) { width: 220px; } .ei-table thead th:nth-child(4) { width: 200px; }
.ei-table tbody th { font-weight: 700; }
.ei-table td:nth-child(2) { color: #4A4766; }
.ei-table td strong { font-weight: 700; }
.ei-table__note { display: block; font-size: 12px; color: #A35406; }
.ei-source { margin: 16px 0 0; font-size: 13px; line-height: 1.6; color: #6E6B8A; }
.ei-source a { color: #4034C9; }

/* --------------------------------------------------------------------------
   5 · How an e-invoice travels (five-corner diagram)
   -------------------------------------------------------------------------- */
.ei-how__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.ei-toggle { margin-bottom: var(--bkx-head-space); display: flex; gap: 4px; padding: 5px; border-radius: 14px; background: #F7F5FF; border: 1px solid #E6E3F5; }
.ei-toggle__btn { padding: 10px 16px; border-radius: 10px; border: none; background: transparent; color: #4A4766; font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.ei-toggle__btn.is-on { background: #16133A; color: #FFFFFF; }
.ei-toggle__btn:focus-visible, .ei-corner:focus-visible, .ei-fta:focus-visible { outline: 3px solid #8F7BFF; outline-offset: 2px; }
.ei-how__panel { border-radius: 32px; padding: 40px; background: linear-gradient(180deg, #F7F5FF 0%, #FFFFFF 100%); border: 1px solid #E6E3F5; box-shadow: 0 30px 70px rgba(64, 52, 201, .10); }

/* desktop: the reference's 1232 × 390 drawing, scaled as one piece to the panel (--ei-s) */
.ei-diagram { position: relative; width: 100%; aspect-ratio: 1232 / 390; }
.ei-diagram__stage { position: absolute; left: 0; top: 0; width: 1232px; height: 390px; transform: scale(var(--ei-s, 1)); transform-origin: 0 0; }
.ei-diagram__lines { position: absolute; inset: 0; }
.ei-pkt { position: absolute; z-index: 2; left: 130px; top: 281px; width: 40px; height: 28px; margin-left: -20px; border-radius: 8px; background: #FFFFFF; box-shadow: 0 8px 18px rgba(64, 52, 201, .35); display: flex; align-items: center; justify-content: center; font-size: 8px; font-weight: 800; color: #4034C9; border: 1.5px solid #8F7BFF; box-sizing: border-box; animation: ei-pkt 6s cubic-bezier(.5, 0, .3, 1) infinite; }
.ei-how.is-rev .ei-pkt { animation-name: ei-pktR; }
.ei-up { position: absolute; z-index: 2; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: #8FF0C4; box-shadow: 0 0 10px 3px rgba(14, 138, 95, .5); opacity: 0; }
.ei-up1 { offset-path: path('M 454 220 V 166 H 616 V 112'); animation: ei-up 6s ease-in-out infinite; }
.ei-up2 { offset-path: path('M 778 220 V 166 H 616 V 112'); animation: ei-up2 6s ease-in-out infinite; }
.ei-taxpill { position: absolute; z-index: 2; left: 616px; top: 166px; transform: translate(-50%, -50%); padding: 5px 12px; border-radius: 999px; background: #E0F5FA; border: 1px solid #B8E6F0; color: #0A6F87; font-size: 11px; font-weight: 700; white-space: nowrap; }

.ei-fta { position: absolute; z-index: 3; left: 466px; top: 0; width: 300px; height: 112px; box-sizing: border-box; padding: 18px 20px; border-radius: 22px; border: 1.5px solid transparent; background: #16133A; color: #FFFFFF; font-family: inherit; text-align: left; cursor: pointer; display: flex; gap: 14px; align-items: center; animation: ei-ftaGlow 6s ease-in-out infinite; }
.ei-fta.is-on { border-color: #8FF0C4; }
.ei-fta__ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: linear-gradient(145deg, #C9FBE6, #4FCF98); color: #0B5E42; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
.ei-fta__copy { display: flex; flex-direction: column; gap: 4px; }
.ei-fta__k { font-size: 12px; font-weight: 700; letter-spacing: .1em; color: #C9C3F5; }
.ei-fta__copy strong { font-size: 17px; }
.ei-fta__s { font-size: 12px; color: #C9C3F5; }

.ei-corner { position: absolute; z-index: 3; top: 220px; width: 260px; height: 150px; box-sizing: border-box; padding: 20px; border-radius: 22px; border: 1.5px solid #ECEAF7; background: #FFFFFF; color: #16133A; box-shadow: 0 12px 28px rgba(64, 52, 201, .08); font-family: inherit; text-align: left; cursor: pointer; display: flex; flex-direction: column; gap: 8px; transition: box-shadow .25s, border-color .25s; }
.ei-corner--0 { left: 0; } .ei-corner--1 { left: 324px; } .ei-corner--2 { left: 648px; } .ei-corner--3 { left: 972px; }
.ei-corner.is-mine { background: linear-gradient(150deg, #4034C9 0%, #8A3FD0 60%, #C0389F 100%); color: #FFFFFF; border-color: transparent; }
.ei-corner.is-on { border-color: #8F7BFF; box-shadow: 0 0 0 4px rgba(143, 123, 255, .30), 0 20px 40px rgba(64, 52, 201, .18); }
.ei-corner.is-mine.is-on { border: 2px solid rgba(255, 255, 255, .85); }
.ei-corner__top { display: flex; justify-content: space-between; align-items: center; }
.ei-corner__k { font-size: 12px; font-weight: 700; letter-spacing: .1em; opacity: .75; }
.ei-corner__ic { width: 34px; height: 34px; border-radius: 11px; background: #E0F5FA; color: #0A6F87; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.ei-corner.is-mine .ei-corner__ic { background: rgba(255, 255, 255, .2); color: #FFFFFF; }
.ei-corner__t { font-size: 19px; }
.ei-corner__s { font-size: 13px; line-height: 1.45; opacity: .85; }
.ei-flow-arrow { display: none; }
/* phone-only stepper parts (see ≤767) */
.ei-corner__card { display: contents; }
.ei-corner__n, .ei-corner__who, .ei-corner__fta, .ei-fta__s--mobile, .ei-rail-dot, .ei-how__peppol { display: none; }
@keyframes ei-railDot { 0% { top: 12px; opacity: 0; } 8%, 92% { opacity: 1; } 100% { top: calc(100% + 12px); opacity: 0; } }

.ei-detail { margin-top: 28px; display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; gap: 18px; align-items: center; padding: 20px 24px; border-radius: 20px; background: #FFFFFF; border: 1px solid #ECEAF7; }
.ei-detail.is-fresh { animation: ei-rise .4s cubic-bezier(.2, .8, .2, 1) both; }
.ei-detail__ic { width: 56px; height: 56px; border-radius: 16px; background: #E0F5FA; color: #0A6F87; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; }
.ei-detail__ic.is-mine { background: linear-gradient(145deg, #4034C9, #C0389F); color: #FFFFFF; }
.ei-detail__ic.is-fta { background: #16133A; color: #FFFFFF; }
.ei-detail__copy { display: flex; flex-direction: column; gap: 4px; }
.ei-detail__copy strong { font-size: 17px; }
.ei-detail__copy span { font-size: 15px; line-height: 1.55; color: #4A4766; }
.ei-detail__who { padding: 6px 12px; border-radius: 999px; background: #F1EFFB; color: #6E6B8A; font-size: 12px; font-weight: 700; white-space: nowrap; }
.ei-detail__who.is-mine { background: #ECE9FC; color: #4034C9; }
.ei-how__note { margin: 18px 0 0; font-size: 14px; line-height: 1.6; color: #6E6B8A; }
.ei-how__flow { display: none; margin: 14px 0 0; font-size: 12px; text-align: center; color: #6E6B8A; }

/* --------------------------------------------------------------------------
   6 · What XYRA does
   -------------------------------------------------------------------------- */
.ei-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ei-tile { border-radius: 26px; background: #FFFFFF; border: 1px solid #ECEAF7; box-shadow: 0 16px 36px rgba(64, 52, 201, .06); overflow: hidden; display: grid; grid-template-rows: 170px auto; }
.ei-tile__art { box-sizing: border-box; padding: 20px 24px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.ei-tile__copy { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 8px; }
.ei-tile__title { margin: 0; font-size: 19px; line-height: 1.3; font-weight: 700; color: #16133A; }
.ei-tile__body { margin: 0; font-size: 14px; line-height: 1.6; color: #4A4766; }
.ei-tile__ic { display: none; }
.ei-v-card { background: #FFFFFF; border-radius: 12px; box-shadow: 0 8px 20px rgba(64, 52, 201, .10); }
.ei-v-list { width: 100%; display: flex; flex-direction: column; gap: 6px; }
.ei-v-row { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 7px 12px; font-size: 12px; font-weight: 600; }
.ei-v-row--bad { border: 1.5px solid #FFB4A4; }
.ei-v-row__name { display: flex; flex-direction: column; min-width: 0; }
.ei-v-row__reason { font-size: 10px; color: #8A2A12; }
.ei-v-badge { flex: none; padding: 2px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.ei-v-badge--ok, .ei-v-badge--mint { background: #E2F6EE; color: #0E8A5F; }
.ei-v-badge--cyan { background: #E0F5FA; color: #0A6F87; }
.ei-v-badge--bad { background: #FFE4DE; color: #8A2A12; }
.ei-v-peppol { width: 100%; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.ei-v-peppol__dirs { display: flex; gap: 8px; width: 100%; }
.ei-v-dir { flex: 1; padding: 10px; font-size: 11px; display: flex; flex-direction: column; gap: 2px; }
.ei-v-dir span { color: #6E6B8A; }
.ei-v-dir--out { color: #4034C9; } .ei-v-dir--in { color: #0E8A5F; }
.ei-v-badges { display: flex; gap: 10px; align-items: center; }
.ei-v-seal { width: 76px; height: 76px; box-sizing: border-box; border-radius: 50%; background: #FFFFFF; box-shadow: 0 8px 20px rgba(64, 52, 201, .10); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; border: 3px solid; }
.ei-v-seal strong { font-size: 13px; }
.ei-v-seal--violet { color: #4034C9; border-color: #ECE9FC; }
.ei-v-seal--pink { color: #B0297F; border-color: #FDE8F4; }
.ei-v-seal--mint { color: #0E8A5F; border-color: #E2F6EE; }
.ei-v-vat { width: 100%; padding: 12px 14px; box-sizing: border-box; display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
.ei-v-vat__row { display: flex; justify-content: space-between; gap: 8px; }
.ei-v-vat__row--muted { color: #4A4766; }
.ei-v-vat__row--muted strong { color: #16133A; }
.ei-v-vat__tag { padding: 2px 8px; border-radius: 999px; background: #ECE9FC; color: #4034C9; font-size: 10px; font-weight: 700; }
.ei-v-vat .ei-v-vat__ok { color: #0E8A5F; }
.ei-v-chat { width: 100%; padding: 12px; box-sizing: border-box; border-radius: 16px; background: #EFE7DE; display: flex; flex-direction: column; gap: 6px; font-size: 11px; line-height: 1.4; }
.ei-v-chat__them { align-self: flex-start; max-width: 80%; padding: 8px 10px; border-radius: 4px 12px 12px 12px; background: #FFFFFF; }
.ei-v-chat__me { align-self: flex-end; max-width: 70%; padding: 8px 10px; border-radius: 12px 4px 12px 12px; background: #D9FDD3; }
/* tile drawings in motion: short loops, paused off screen like the rest */
.ei-tile { transition: transform .25s ease, box-shadow .25s ease; }
.ei-tile:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(64, 52, 201, .12); }
.ei-v-list .ei-v-badge { animation: ei-tCheck 6s ease-in-out infinite both; }
.ei-v-list .ei-v-card:nth-child(2) .ei-v-badge { animation-delay: .5s; }
.ei-v-list .ei-v-card:nth-child(3) .ei-v-badge { animation-delay: 1s; }
.ei-v-list .ei-v-badge--bad, .ei-v-row--bad .ei-v-badge { animation-name: ei-tCheck, ei-tShake; animation-duration: 6s, 6s; }
.ei-v-row--bad { animation: ei-tRing 2.4s ease-in-out infinite; }
.ei-v-dir { animation: ei-tOut 3.6s ease-in-out infinite; }
.ei-v-dir + .ei-v-dir { animation-name: ei-tIn; animation-delay: 1.8s; }
.ei-v-seal { animation: ei-tFloat 4s ease-in-out infinite; }
.ei-v-seal:nth-child(2) { animation-delay: -1.3s; }
.ei-v-seal:nth-child(3) { animation-delay: -2.6s; }
.ei-v-vat { position: relative; overflow: hidden; }
.ei-v-vat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(64, 52, 201, .08) 50%, transparent 70%); transform: translateX(-100%); animation: ei-tSweep 4s ease-in-out infinite; pointer-events: none; }
.ei-v-vat__ok { animation: ei-tGlow 4s ease-in-out infinite; }
.ei-v-chat__them { animation: ei-tMsg 7s ease-out infinite both; }
.ei-v-chat__me { animation: ei-tMsg2 7s ease-out infinite both; }
@keyframes ei-tCheck { 0%, 8% { opacity: 0; transform: scale(.6); } 14% { opacity: 1; transform: scale(1.12); } 18%, 100% { opacity: 1; transform: scale(1); } }
@keyframes ei-tShake { 0%, 30%, 40%, 100% { translate: 0; } 32% { translate: -3px; } 34% { translate: 3px; } 36% { translate: -2px; } 38% { translate: 2px; } }
@keyframes ei-tRing { 0%, 100% { box-shadow: 0 8px 20px rgba(64, 52, 201, .10), 0 0 0 0 rgba(255, 120, 90, .35); } 50% { box-shadow: 0 8px 20px rgba(64, 52, 201, .10), 0 0 0 5px rgba(255, 120, 90, 0); } }
@keyframes ei-tOut { 0%, 100% { transform: none; } 25% { transform: translateY(-5px); box-shadow: 0 14px 26px rgba(64, 52, 201, .16); } 50% { transform: none; } }
@keyframes ei-tIn { 0%, 100% { transform: none; } 25% { transform: translateY(5px); } 50% { transform: none; } }
@keyframes ei-tFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes ei-tSweep { 0%, 20% { transform: translateX(-100%); } 70%, 100% { transform: translateX(100%); } }
@keyframes ei-tGlow { 0%, 55%, 100% { text-shadow: none; } 70% { text-shadow: 0 0 10px rgba(14, 138, 95, .45); } }
@keyframes ei-tMsg { 0%, 4% { opacity: 0; transform: translateY(8px); } 12%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes ei-tMsg2 { 0%, 26% { opacity: 0; transform: translateY(8px); } 34%, 90% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }

/* --------------------------------------------------------------------------
   7 · Penalties
   -------------------------------------------------------------------------- */
/* the four violations in Cabinet Decision No. 173 of 2026: 4 across, 2 × 2 below 1024px, 1 on phones */
.ei-pen__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ei-pen__card { position: relative; overflow: hidden; border-radius: 26px; padding: 28px; background: #FFFFFF; border: 1px solid #F6E3C4; box-shadow: 0 16px 36px rgba(163, 84, 6, .08); display: flex; flex-direction: column; gap: 10px; }
.ei-pen__card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: linear-gradient(180deg, #F5A524, #C2610C); }
/* one line always: the card is a size container, so the amount shrinks with a narrow card ("AED 5,000" is ~5.1em wide) */
.ei-pen__card { container-type: inline-size; }
.ei-pen__amount { font-size: min(44px, 19cqi); white-space: nowrap; line-height: 1; letter-spacing: -.02em; color: #B45309; }
.ei-pen__unit { font-size: 16px; }
.ei-pen__body { margin: 0; font-size: 14px; line-height: 1.6; color: #4A4766; }
.ei-pen__meter { margin-top: auto; padding-top: 6px; display: flex; gap: 4px; }
.ei-pen__meter span { flex: 1; height: 8px; border-radius: 3px; background: #FCEBD0; }
.ei-pen__meter span.is-on { background: #F5A524; }
/* in motion: the meter fills block by block, the accent bar flows, the amount
   pulses once a cycle; each card starts a little after the one before */
.ei-pen__card { transition: transform .25s ease, box-shadow .25s ease; }
.ei-pen__card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(163, 84, 6, .14); }
.ei-pen__card::before { background: linear-gradient(180deg, #F5A524, #C2610C, #F5A524); background-size: 100% 200%; animation: ei-penBar 4s linear infinite; }
.ei-pen__amount { transform-origin: left center; animation: ei-penAmt 6s ease-in-out infinite; animation-delay: calc(var(--c, 0) * .6s); }
.ei-pen__meter span.is-on { animation: ei-penFill 6s ease-out infinite both; animation-delay: calc(var(--c, 0) * .6s + var(--i, 0) * .14s); }
@keyframes ei-penBar { to { background-position: 0 200%; } }
@keyframes ei-penAmt { 0%, 70%, 100% { transform: none; text-shadow: none; } 78% { transform: scale(1.04); text-shadow: 0 6px 18px rgba(245, 165, 36, .35); } 86% { transform: none; } }
@keyframes ei-penFill { 0% { background: #FCEBD0; transform: scaleY(1); } 6% { background: #F5A524; transform: scaleY(1.6); } 12%, 82% { background: #F5A524; transform: scaleY(1); } 92%, 100% { background: #FCEBD0; } }

/* --------------------------------------------------------------------------
   8 · Ready in five steps
   -------------------------------------------------------------------------- */
.ei-steps__panel {
  position: relative; overflow: hidden; border-radius: 40px; padding: 56px;
  display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 56px; align-items: center;
}
.ei-steps__copy { display: flex; flex-direction: column; gap: 20px; }
.ei-steps__eyebrow { align-self: flex-start; padding: 7px 14px; border-radius: 999px; background: #FFFFFF; color: #8A1F78; font-size: 12px; font-weight: 700; letter-spacing: .12em; }
.ei-steps__title { color: #FFFFFF; }
.ei-steps__lead { margin: 0; font-size: 17px; line-height: 1.6; color: #EDE6FF; }
.ei-steps__progress { padding: 18px; border-radius: 20px; background: rgba(20, 12, 80, .32); border: 1px solid rgba(255, 255, 255, .16); display: flex; flex-direction: column; gap: 10px; }
.ei-steps__count { display: flex; justify-content: space-between; align-items: baseline; font-size: 13px; color: #D9D2FF; }
.ei-steps__count strong { font-size: 22px; color: #FFFFFF; }
.ei-steps__bar { height: 10px; border-radius: 999px; background: rgba(255, 255, 255, .14); overflow: hidden; }
.ei-steps__bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, #8FF0C4, #FFD27A); transition: width .5s cubic-bezier(.2, .8, .2, 1); }
.ei-steps__hint { font-size: 13px; color: #D9D2FF; }
.ei-steps__cta { align-self: flex-start; padding: 15px 24px; border-radius: 14px; background: #FFD27A; color: #16133A; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px rgba(255, 210, 122, .35); }
.ei-steps__cta:hover { color: #16133A; filter: brightness(1.04); }
.ei-steps__list { display: flex; flex-direction: column; gap: 12px; }
.ei-step { width: 100%; display: grid; grid-template-columns: 52px 30px minmax(0, 1fr); gap: 14px; align-items: center; padding: 18px 22px; border-radius: 20px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(20, 12, 80, .30); color: #FFFFFF; font-family: inherit; text-align: left; cursor: pointer; transition: background .25s, border-color .25s; }
.ei-step:hover { border-color: rgba(255, 255, 255, .3); }
.ei-step:focus-visible { outline: 3px solid #FFD27A; outline-offset: 2px; }
.ei-step.is-on { background: rgba(143, 240, 196, .10); border-color: rgba(143, 240, 196, .45); }
.ei-step__n { font-size: 22px; color: #FFD27A; }
.ei-step.is-on .ei-step__n { color: #8FF0C4; }
.ei-step__box { width: 28px; height: 28px; box-sizing: border-box; border-radius: 9px; border: 2px solid rgba(255, 255, 255, .45); color: transparent; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 800; transition: background .2s, border-color .2s; }
.ei-step.is-on .ei-step__box { background: #8FF0C4; border-color: #8FF0C4; color: #16133A; }
.ei-step__copy { font-size: 15px; line-height: 1.55; color: #E6E1FF; }
.ei-step__copy strong { color: #FFFFFF; }

/* --------------------------------------------------------------------------
   9 · Pricing
   -------------------------------------------------------------------------- */
.ei-price__grid { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 64px; align-items: center; }
.ei-price__copy { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ei-price__head { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
.ei-price__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; width: 100%; max-width: 640px; }
.ei-price__chip { padding: 14px 16px; border-radius: 16px; background: #FFFFFF; border: 1px solid #ECEAF7; display: flex; flex-direction: column; gap: 2px; }
.ei-price__chip strong { font-size: 15px; }
.ei-price__chip span { font-size: 12px; color: #6E6B8A; }
.ei-price__chip.is-on { border: 2px solid #8F7BFF; }
.ei-price__chip.is-on span { color: #4034C9; font-weight: 700; }
.ei-fees { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; padding: 10px 14px; border-radius: 12px; background: #FFF4E0; border: 1.5px dashed #F5B85C; font-size: 13px; color: #A35406; }
.ei-fees.is-set { background: #FFFFFF; border: 1px solid #ECEAF7; color: #4A4766; }
.ei-price__card { position: relative; border-radius: 28px; padding: 30px; background: #FFFFFF; border: 2px solid #8F7BFF; box-shadow: 0 30px 60px rgba(64, 52, 201, .18); display: flex; flex-direction: column; gap: 16px; }
.ei-price__badge { position: absolute; top: -13px; left: 28px; padding: 5px 12px; border-radius: 999px; background: linear-gradient(90deg, #4034C9, #C0389F); color: #FFFFFF; font-size: 11px; font-weight: 700; letter-spacing: .08em; }
.ei-price__plan { font-size: 13px; font-weight: 700; letter-spacing: .12em; color: #4034C9; }
.ei-price__amount { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; font-size: 15px; font-weight: 600; }
.ei-price__amount strong { font-size: 54px; line-height: 1; letter-spacing: -.02em; font-weight: 700; }
.ei-price__per { color: #6E6B8A; font-weight: 400; }
.ei-price__save { margin-left: auto; padding: 4px 10px; border-radius: 999px; background: #E2F6EE; color: #0B5E42; font-size: 12px; font-weight: 700; }
.ei-price__rule { height: 1px; background: #ECEAF7; }
.ei-price__ticks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 14px; color: #4A4766; }
.ei-price__ticks li { display: flex; gap: 10px; }
.ei-price__ticks li span { color: #0E8A5F; font-weight: 800; }
.ei-price__cta { margin-top: 4px; padding: 15px; border-radius: 14px; background: var(--bkx-grad-btn); color: #FFFFFF; text-align: center; font-size: 15px; font-weight: 700; text-decoration: none; box-shadow: 0 14px 30px rgba(64, 52, 201, .28); }
.ei-price__cta:hover { color: #FFFFFF; }
.ei-price__foot { text-align: center; font-size: 12px; color: #6E6B8A; }
.ei-price__foot a { color: #4034C9; font-weight: 700; text-decoration: none; }

/* --------------------------------------------------------------------------
   Trusted by (the home page's band): logo marquee, ratings, "Backed by"
   -------------------------------------------------------------------------- */
.ei-trusted { position: relative; padding: var(--sec-y) 0; background: #FFFFFF; }
.ei-trusted__title { margin: 0; text-align: center; font-size: var(--fs-h2); line-height: 1.16; font-weight: 700; letter-spacing: -.02em; color: #16133A; text-wrap: balance; }
.ei-trusted__count { background: linear-gradient(96deg, #3672FF 0%, #7B4DFF 40%, #A93BE8 72%, #C42BB0 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ei-trusted__logos { margin-top: 32px; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(90deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.ei-trusted__track { display: flex; align-items: center; width: max-content; animation: ei-trustScroll 117s linear infinite; }
.ei-trusted__track img { flex: none; width: auto; height: 56px; max-width: 210px; margin-right: clamp(52px, 5.6vw, 86px); object-fit: contain; }
.ei-trusted__track img.is-tall { height: 64px; }
@media (hover: hover) { .ei-trusted__logos:hover .ei-trusted__track { animation-play-state: paused; } }
@keyframes ei-trustScroll { from { transform: translateX(0); } to { transform: translateX(-25%); } }
.ei-trusted__rate { display: flex; align-items: center; gap: 22px; margin-top: 34px; padding: 14px 22px; border-radius: 20px; background: #FFFFFF; border: 1px solid #D6D1F6; }
.ei-trusted__ratelbl { flex: none; max-width: 190px; padding-right: 22px; border-right: 1px solid #E2E8F0; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #64748B; }
.ei-trusted__ratings { flex: 1; display: flex; justify-content: space-between; align-items: center; }
.ei-trusted__ratings a { flex: 1; box-sizing: border-box; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 10px; padding: 6px 4px; border-right: 1px solid #E2E8F0; color: inherit; text-decoration: none; transition: transform .2s; }
.ei-trusted__ratings a:last-child { border-right: 0; }
.ei-trusted__ratings a:hover { transform: translateY(-2px); color: inherit; }
.ei-trusted__ratings img { width: 32px; height: 32px; object-fit: contain; }
.ei-trusted__ratings b { display: block; font-size: 14px; font-weight: 800; color: #0F172A; white-space: nowrap; }
.ei-trusted__ratings em { font-style: normal; font-size: 13.5px; font-weight: 800; color: #0F172A; }
.ei-trusted__backed { margin-top: 34px; text-align: center; }
.ei-trusted__backedlbl { display: inline-flex; align-items: center; gap: 14px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: #64748B; }
.ei-trusted__backedlbl::before, .ei-trusted__backedlbl::after { content: ''; width: 56px; height: 1px; background: linear-gradient(90deg, transparent, #C9C3F3); }
.ei-trusted__backedlbl::after { transform: scaleX(-1); }
.ei-trusted__backedrow { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 16px; }
.ei-trusted__chip { display: inline-flex; align-items: center; height: 64px; padding: 0 26px; border-radius: 999px; background: #FFFFFF; border: 1px solid #E3DFFA; transition: transform .2s, border-color .2s, box-shadow .2s; }
.ei-trusted__chip:hover { transform: translateY(-2px); border-color: #C9C3F3; box-shadow: 0 14px 30px -18px rgba(88, 80, 200, .55); }
.ei-trusted__chip img { width: auto; height: 45px; }
.ei-trusted__chip img.is-ms { height: 31px; }
@media (max-width: 960px) {
  .ei-trusted__rate { flex-direction: column; align-items: stretch; gap: 12px; padding: 16px; }
  .ei-trusted__ratelbl { max-width: none; padding: 0; border-right: 0; text-align: center; }
  .ei-trusted__ratings { flex-wrap: wrap; gap: 10px 0; }
  .ei-trusted__ratings a { flex: 1 1 33%; }
  .ei-trusted__ratings a:nth-child(3) { border-right: 0; }
}
@media (max-width: 560px) {
  .ei-trusted__logos { margin-top: 20px; }
  .ei-trusted__track img { height: 44px; max-width: 160px; }
  .ei-trusted__track img.is-tall { height: 52px; }
  .ei-trusted__ratings a { flex: 1 1 50%; border-right: 0; justify-content: flex-start; padding-left: 8px; }
  .ei-trusted__backedrow { flex-wrap: nowrap; gap: 10px; }
  .ei-trusted__chip { flex: 0 1 auto; min-width: 0; height: 52px; padding: 0 clamp(12px, 3.5vw, 20px); }
  .ei-trusted__chip img { height: clamp(28px, 8vw, 36px); max-width: 100%; }
  .ei-trusted__chip img.is-ms { height: clamp(19px, 5.4vw, 25px); }
}
@media (prefers-reduced-motion: reduce) {
  .ei-trusted__track { animation: none; }
  .ei-trusted__ratings a, .ei-trusted__chip { transition: none; }
}

/* --------------------------------------------------------------------------
   Why UAE businesses choose XYRA (the home page's section, at the home page's
   sizes: a 1200px container with 24px gutters, i.e. 1152px of content)
   -------------------------------------------------------------------------- */
.ei-why .bkx-wrap { max-width: calc(1152px + 2 * var(--gutter)); }
.ei-why__head { display: flex; flex-direction: column; align-items: center; gap: 12px; margin: 0 0 var(--bkx-head-space); text-align: center; }
.ei-why__head .ei-head__lead { max-width: 640px; font-size: clamp(16px, 1.25vw, 18px); }
.ei-why__cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.ei-why__card { position: relative; overflow: hidden; min-height: 250px; box-sizing: border-box; padding: 30px 26px; border-radius: 24px; background: #FFFFFF; border: 1px solid #E2E8F0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; text-align: center; transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.ei-why__card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(64, 52, 201, .12); }
.ei-why__t { margin: 0; font-size: 18px; line-height: 1.25; font-weight: 800; letter-spacing: -.01em; color: #16133A; }
.ei-why__p { margin: 0 auto; max-width: 30ch; font-size: 14px; line-height: 1.55; color: #475569; }
.ei-why__card--map { background: linear-gradient(180deg, #F8F7FF, #FFFFFF); }
.ei-why__map { display: block; width: auto; max-width: 100%; height: 96px; margin: 0 auto 6px; }
.ei-why__card--team { padding: 0; border: 0; justify-content: flex-end; align-items: stretch; text-align: left; }
.ei-why__card--team img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; transition: transform .8s cubic-bezier(.2, .8, .2, 1); }
.ei-why__card--team:hover img { transform: scale(1.04); }
.ei-why__glass { position: relative; margin: auto 12px 12px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(10px) saturate(1.2); backdrop-filter: blur(10px) saturate(1.2); border: 1px solid rgba(255, 255, 255, .9); box-shadow: 0 18px 34px -20px rgba(17, 22, 51, .45); }
.ei-why__glass .ei-why__t { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.ei-why__glass .ei-why__p { margin: 0; max-width: none; font-size: 13.5px; color: #565D7A; }
.ei-why__big { font-size: 46px; line-height: 1; font-weight: 800; letter-spacing: -.04em; background: linear-gradient(96deg, #2F7BFF 0%, #7A5CFF 55%, #C04DF2 100%); -webkit-background-clip: text; background-clip: text; color: transparent; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.ei-why__card--setup .ei-why__p { max-width: 34ch; }
.ei-why__iso { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 28px 40px; margin-top: 18px; padding: 22px 28px; border: 1px solid #E2E8F0; border-radius: 24px; background: linear-gradient(135deg, #FFFFFF 0%, #F8F9FF 100%); box-shadow: 0 22px 44px -34px rgba(88, 80, 200, .45); }
.ei-why__isocopy { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ei-why__isocopy h3 { margin: 0; font-size: clamp(19px, 1.7vw, 23px); line-height: 1.2; font-weight: 800; letter-spacing: -.02em; color: #16133A; }
.ei-why__isocopy p { margin: 0; max-width: 44ch; font-size: 15px; line-height: 1.5; color: #475569; }
.ei-why__certs { display: flex; align-items: stretch; gap: 14px; }
.ei-why__cert { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 18px 12px; border-radius: 16px; background: #FFFFFF; border: 1px solid #DADEF2; }
.ei-why__cert img { display: block; height: 84px; width: auto; max-width: 100%; object-fit: contain; }
.ei-why__cert figcaption { font-size: 12px; line-height: 1.35; color: #475569; text-align: center; }
.ei-why__cert figcaption b { display: block; font-size: 13px; font-weight: 700; color: #16133A; }
@media (max-width: 1040px) {
  .ei-why__iso { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .ei-why__isocopy { align-items: center; }
  .ei-why__certs { justify-content: center; }
}
@media (max-width: 1023px) {
  .ei-pen__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ei-why__cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ei-why__card--team { grid-column: 1 / -1; order: -1; min-height: 250px; }
}
@media (max-width: 767px) {
  .ei-why__head .ei-head__lead { font-size: 15px; }
  .ei-why__cards { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .ei-why__card { min-height: 0; padding: 24px 20px; }
  .ei-why__card--team { min-height: 250px; padding: 0; order: 0; }
  .ei-why__map { height: 90px; }
  .ei-why__big { font-size: 46px; }
  .ei-why__iso { padding: 22px 16px; }
  .ei-why__certs { flex-direction: column; align-items: stretch; }
  .ei-why__cert img { height: 76px; margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ei-why__card, .ei-why__card--team img { transition: none; }
  .ei-why__card:hover, .ei-why__card--team:hover img { transform: none; }
}

/* --------------------------------------------------------------------------
   Stories behind the numbers (the home page's testimonial slider, same 1152px
   width as Why XYRA)
   -------------------------------------------------------------------------- */
.ei-reviews .bkx-wrap { max-width: calc(1152px + 2 * var(--gutter)); }
.ei-tq { position: relative; border-radius: 24px; overflow: hidden; background: #FFFFFF; box-shadow: 0 30px 60px -36px rgba(49, 29, 122, .35), 0 1px 2px rgba(15, 23, 42, .04); }
.ei-tq__track { display: grid; }
.ei-tq__slide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); min-height: 440px; opacity: 0; visibility: hidden; transition: opacity .6s cubic-bezier(.2, .8, .2, 1), visibility 0s .6s; }
.ei-tq__slide.is-on { opacity: 1; visibility: visible; transition: opacity .6s cubic-bezier(.2, .8, .2, 1); }
.ei-tq__photo { position: relative; background: #E9E5FF; }
.ei-tq__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; filter: brightness(1.05) saturate(1.06) contrast(1.02); }
.ei-tq__body { position: relative; padding: 44px 48px 92px; display: flex; flex-direction: column; justify-content: center; background: #FFFFFF; }
/* the serif “ as on the home page; books-v4.css sets Lexend Deca on every span with !important */
.bkx-body .bkx .ei-tq__mark { font-family: Georgia, 'Times New Roman', serif !important; }
.ei-tq__mark { font-family: Georgia, serif; font-size: 96px; line-height: .6; font-weight: 700; color: #C7B8FF; margin-bottom: 18px; }
.ei-tq__stars { color: #F59E0B; font-size: 18px; letter-spacing: 3px; margin-bottom: 18px; }
.ei-tq__quote { margin: 0 0 26px; font-size: clamp(22px, 2.4vw, 34px); line-height: 1.25; font-weight: 500; letter-spacing: -.02em; color: #0F172A; }
.ei-tq__quote b { font-weight: 800; }
.ei-tq__by { padding-top: 22px; border-top: 1px solid rgba(15, 23, 42, .14); }
.ei-tq__by b { display: block; font-size: 18px; font-weight: 800; color: #0F172A; }
.ei-tq__by span { font-size: 14px; color: #475569; }
.ei-tq__nav { position: absolute; right: 40px; bottom: 32px; z-index: 2; display: flex; align-items: center; gap: 12px; }
.ei-tq__count { margin-right: 6px; font-size: 13px; letter-spacing: .08em; color: #475569; }
.ei-tq__count b { color: #0F172A; }
.ei-tq__btn { width: 44px; height: 44px; border-radius: 50%; border: 0; display: grid; place-items: center; cursor: pointer; color: #5B3FF0; background: linear-gradient(180deg, #FFFFFF 0%, #F3F1FF 100%); box-shadow: inset 0 0 0 .5px rgba(106, 75, 255, .25), inset 0 1px 0 #FFFFFF, 0 8px 18px -10px rgba(106, 75, 255, .45); transition: transform .18s cubic-bezier(.2, .8, .2, 1), background .18s; }
.ei-tq__btn:hover { color: #FFFFFF; background: linear-gradient(165deg, #5B8CFF 0%, #6A4BFF 100%); }
.ei-tq__btn:active { transform: scale(.94); }
.ei-tq__btn:focus-visible { outline: 3px solid #8F7BFF; outline-offset: 2px; }
.ei-tq__btn svg { width: 16px; height: 16px; }
@media (max-width: 900px) {
  .ei-tq__slide { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .ei-tq__photo { aspect-ratio: 4 / 3; }
  .ei-tq__body { padding: 20px 24px 84px; justify-content: flex-start; }
  .ei-tq__mark { position: absolute; top: 16px; right: 24px; margin: 0; font-size: 56px; line-height: 1; }
  .ei-tq__stars { margin-bottom: 10px; }
  .ei-tq__quote { font-size: 22px; }
  .ei-tq__nav { right: 20px; bottom: 22px; }
}
@media (max-width: 767px) {
  .ei-tq__body { padding: 18px 20px 80px; }
  .ei-tq__quote { font-size: 20px; margin-bottom: 18px; }
  .ei-tq__by { padding-top: 16px; }
  .ei-tq__by b { font-size: 16px; }
  .ei-tq__by span { font-size: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .ei-tq__slide, .ei-tq__slide.is-on, .ei-tq__btn { transition: none; }
}

/* --------------------------------------------------------------------------
   One interaction for every call-to-action button on the page (the same as
   the shared .bkx-btn): lift 2px with a stronger shadow on hover, press down
   on click, a focus ring for keyboard users
   -------------------------------------------------------------------------- */
.ei-btn, .ei-result__cta, .ei-result__wa, .ei-steps__cta, .ei-price__cta {
  transition: transform .2s cubic-bezier(.2, .8, .2, 1), box-shadow .2s ease, filter .2s ease, background .2s ease, border-color .2s ease;
}
.ei-btn:hover, .ei-result__cta:hover, .ei-result__wa:hover, .ei-steps__cta:hover, .ei-price__cta:hover { transform: translateY(-2px); filter: saturate(1.05); }
.ei-btn--grad:hover, .ei-price__cta:hover { box-shadow: 0 18px 42px rgba(64, 52, 201, .45); }
.ei-btn--white:hover { box-shadow: 0 12px 26px rgba(64, 52, 201, .14); border-color: #C9C3F3; }
.ei-result__cta:hover { box-shadow: 0 12px 26px rgba(20, 12, 80, .35); }
.ei-steps__cta:hover { box-shadow: 0 18px 36px rgba(255, 210, 122, .5); }
.ei-btn:active, .ei-result__cta:active, .ei-result__wa:active, .ei-steps__cta:active, .ei-price__cta:active { transform: translateY(0) scale(.98); transition-duration: .08s; }
.ei-btn:focus-visible, .ei-price__cta:focus-visible { outline: 3px solid #8F7BFF; outline-offset: 3px; }
.ei-result__cta:focus-visible, .ei-result__wa:focus-visible, .ei-steps__cta:focus-visible { outline: 3px solid #FFD27A; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
  .ei-btn, .ei-result__cta, .ei-result__wa, .ei-steps__cta, .ei-price__cta { transition: none; }
  .ei-btn:hover, .ei-result__cta:hover, .ei-result__wa:hover, .ei-steps__cta:hover, .ei-price__cta:hover,
  .ei-btn:active, .ei-result__cta:active, .ei-result__wa:active, .ei-steps__cta:active, .ei-price__cta:active { transform: none; }
}

/* the shared FAQ and CTA are white sections on this page (the Books page tints
   the FAQ): the same --sec-y rhythm as every white section */
.ei-body .bkx-faq { padding: var(--sec-y) 0; background: #FFFFFF; }
.ei-body .bkx-cta { padding-top: var(--sec-y); }

/* --------------------------------------------------------------------------
   Reduced motion: the final frame of every loop; nothing moves. The
   countdown still updates (it is information, not decoration).
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .ei-pulse, .ei-todayP, .ei-dash, .ei-fta, .ei-pkt, .ei-up, .ei-result.is-fresh > *, .ei-detail.is-fresh, .ei-tile__art *, .ei-tile__art *::after, .ei-rail-dot::before { animation: none !important; }
  .ei-rail-dot { visibility: hidden; }
  .ei-tile, .ei-pen__card { transition: none; }
  .ei-tile:hover, .ei-pen__card:hover { transform: none; }
  .ei-pen__card::before, .ei-pen__amount, .ei-pen__meter span { animation: none !important; }
  .ei-result::before, .ei-date__fill::after, .ei-date__left::before, .ei-result__tag, .ei-radio__ring, .ei-mark__dot { animation: none !important; }
  .ei-date:hover, .ei-radio:hover { transform: none; }
  .ei-pkt, .ei-up { opacity: 0; }
  .ei-date__fill, .ei-steps__bar span, .ei-step, .ei-step__box, .ei-corner, .ei-radio { transition: none; }
}

/* ==========================================================================
   Breakpoints — RESPONSIVE.md. ≥1280 is the desktop above; below it the page
   follows ipad.html (1024–1279), tablet.html (768–1023) and mobile.html (≤767).
   Gutters come from books-v4.css (64 · 40 · 32 · 20).

     range        sec-y  band-y   H1   H2   body
     ≥1280          48     64     54   46    17
     1024–1279      56     64     48   40    16
     768–1023       48     56     46   36    16
     ≤767           32     40     34   30    15
   ========================================================================== */
@media (min-width: 1440px) {
  /* one line per row, as in the reference; narrower screens let the second line wrap */
  .ei-hero__title { white-space: nowrap; }
}

/* --------------------------------------------------------------------------
   Everything below 1280: shared by iPad, tablet and phone
   -------------------------------------------------------------------------- */
@media (max-width: 1279px) {
  .bkx-body.ei-body { --sec-y: 40px; --band-y: 40px; --fs-h2: 40px; }
  /* bands fade in and out over 96px */
  .ei-band { background-image: radial-gradient(40% 45% at 75% 40%, rgba(143, 123, 255, .16) 0%, rgba(247, 245, 255, 0) 70%), linear-gradient(180deg, #FFFFFF 0%, #F7F5FF 96px, #F7F5FF calc(100% - 96px), #FFFFFF 100%); }
  .ei-band--amber { background-image: radial-gradient(40% 50% at 85% 30%, rgba(245, 165, 36, .12) 0%, rgba(255, 251, 243, 0) 70%), linear-gradient(180deg, #FFFFFF 0%, #FFFBF3 80px, #FFFBF3 calc(100% - 80px), #FFFFFF 100%); }
  .ei-head__lead, .ei-head__lead--side { font-size: 16px; }

  /* hero: copy 1fr + a 380px countdown card */
  .ei-hero { padding: 48px 0 104px; }
  .ei-hero__grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 32px; }
  .ei-hero__title { font-size: 48px; line-height: 1.08; }
  .ei-hero__copy { gap: 14px; }
  .ei-hero__lead { font-size: 16px; max-width: 560px; }
  .ei-btn { font-size: 15px; border-radius: 14px; }
  .ei-btn--grad { padding: 15px 22px; }
  .ei-btn--white { padding: 14px 22px; }
  .ei-cd { padding: 24px; border-radius: 24px; }
  .ei-cd__label { font-size: 11px; letter-spacing: .1em; }
  .ei-cd__cells { margin-top: 14px; gap: 8px; }
  .ei-cd__cell { padding: 14px 0 10px; border-radius: 14px; }
  .ei-cd__cell strong { font-size: 32px; }
  .ei-cd__cell span { font-size: 11px; }
  .ei-cd__asp { margin-top: 14px; padding: 12px 14px; border-radius: 14px; }
  .ei-cd__asptext > span { font-size: 13px; line-height: 1.5; }

  /* trust strip: four columns, no label row */
  .ei-body .bkx-trust { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding: 16px 20px; border-radius: 20px; font-size: 13px; box-shadow: 0 12px 28px rgba(64, 52, 201, .06); }
  .ei-body .bkx-trust__item { white-space: normal; gap: 8px; }
  .ei-body .bkx-trust__icon { width: 28px; height: 28px; border-radius: 8px; font-size: 11px; }

  /* section headers: eyebrow + H2 left, a 400px intro right */
  .ei-head--split { grid-template-columns: minmax(0, 1fr) 400px; gap: 48px; }
  .ei-eyebrow { padding: 6px 12px; font-size: 11px; }

  /* check my phase: radios + "in simple words" in a 320px column */
  .ei-phase__grid { grid-template-columns: 320px minmax(0, 1fr); gap: 24px; align-items: start; }
  .ei-radios { gap: 10px; }
  .ei-radio { min-height: 64px; box-sizing: border-box; padding: 14px 16px; gap: 12px; border-radius: 16px; align-items: center; }
  .ei-radio__ring { width: 20px; height: 20px; margin-top: 0; }
  .ei-radio__ring span { width: 9px; height: 9px; }
  .ei-radio__copy { gap: 2px; }
  .ei-radio__copy strong { font-size: 14px; }
  .ei-radio__copy span { font-size: 12px; line-height: 1.45; }
  .ei-simple { padding: 14px 16px; border-radius: 14px; font-size: 13px; line-height: 1.55; }
  .ei-result { padding: 26px; border-radius: 22px; gap: 14px; }
  .ei-result__phase { font-size: 28px; }
  .ei-result__tag { padding: 5px 10px; font-size: 11px; }
  .ei-result__dates { gap: 12px; }
  /* each date box: label, then the date and its days left on one row, then the bar */
  .ei-date { padding: 14px 16px; border-radius: 16px; flex-direction: row; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 8px; }
  .ei-date__label { flex: 1 1 100%; font-size: 11px; }
  .ei-date__day { font-size: 26px; }
  .ei-date__left { font-size: 12px; }
  .ei-date__bar { flex: 1 1 100%; margin-top: 6px; }
  .ei-result__msg { font-size: 14px; line-height: 1.55; }
  .ei-result__cta, .ei-result__wa { padding: 13px 18px; }

  /* the mandate on one line: the desktop drawing (dates placed by date, labels above/below), a little smaller */
  .ei-timeline { margin-top: 20px; padding: 22px 24px; border-radius: 22px; box-shadow: 0 12px 28px rgba(64, 52, 201, .06); }
  .ei-timeline__head > strong { font-size: 16px; }
  .ei-timeline__legend { font-size: 11px; gap: 12px; }
  .ei-line { height: 140px; }

  /* the schedule: 140 · 1fr · 190 · 150 */
  .ei-table { margin-top: 20px; border-radius: 20px; font-size: 14px; box-shadow: 0 12px 28px rgba(64, 52, 201, .06); }
  .ei-table th, .ei-table td { padding: 14px 20px; border-top-color: #ECEAF7; }
  .ei-table thead th { padding-block: 12px; font-size: 11px; background: #FAF9FF; }
  .ei-table thead th:nth-child(1) { width: 140px; } .ei-table thead th:nth-child(3) { width: 190px; } .ei-table thead th:nth-child(4) { width: 150px; }
  .ei-table td:nth-child(3) strong { color: #9B1F7A; }
  .ei-table td:nth-child(4) strong { color: #4034C9; }
  .ei-table__note { font-size: 11px; }
  .ei-source { margin-top: 14px; font-size: 11px; line-height: 1.55; }

  /* how it works: header split like the others, the toggle under it */
  .ei-how__head { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ei-how__head .ei-head { display: grid; grid-template-columns: minmax(0, 1fr) 400px; column-gap: 48px; row-gap: var(--bkx-head-gap); align-items: end; margin-bottom: 24px; }
  .ei-how__head .ei-eyebrow { grid-column: 1; justify-self: start; }
  .ei-how__head .bkx-h2 { grid-column: 1; }
  .ei-how__head .ei-head__lead { grid-column: 2; grid-row: 1 / 3; }
  .ei-toggle { justify-self: start; display: grid; grid-template-columns: 1fr 1fr; width: 380px; box-sizing: border-box; padding: 4px; margin-bottom: 20px; }
  .ei-toggle__btn { padding: 10px 8px; font-size: 13px; }
  /* the diagram is laid out, not scaled: FTA → bracket + pill → corners */
  .ei-how__panel { padding: 24px; border-radius: 24px; background: #FAF9FF; border-color: #ECEAF7; box-shadow: none; }
  .ei-diagram { aspect-ratio: auto; }
  .ei-diagram__stage { position: static; width: auto; height: auto; transform: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 16px; }
  .ei-diagram__lines, .ei-pkt, .ei-up, .ei-flow-arrow { display: none; }
  .ei-fta { position: relative; left: auto; top: auto; grid-column: 1 / -1; grid-row: 1; justify-self: center; width: 100%; max-width: 440px; height: auto; padding: 14px 16px; border-radius: 18px; gap: 12px; }
  .ei-fta__ic { width: 40px; height: 40px; border-radius: 12px; font-size: 11px; }
  .ei-fta__copy { gap: 2px; }
  .ei-fta__k { font-size: 11px; }
  .ei-fta__copy strong { font-size: 14px; }
  /* the bracket: up from the centres of corners 2 and 3, joined under the FTA, one stem up */
  .ei-diagram__stage::before { content: ''; grid-column: 1 / -1; grid-row: 2; height: 30px; margin: 26px calc((100% - 48px) * .375 + 15px) 0; border: 2px dashed #0A6F87; border-bottom: 0; border-radius: 12px 12px 0 0; }
  .ei-diagram__stage::after { content: ''; grid-column: 1 / -1; grid-row: 2; justify-self: center; align-self: start; height: 26px; border-left: 2px dashed #0A6F87; }
  .ei-taxpill { position: relative; left: auto; top: auto; grid-column: 1 / -1; grid-row: 2; justify-self: center; align-self: start; margin-top: 27px; transform: translateY(-50%); }
  .ei-corner { position: relative; top: auto; grid-row: 3; width: auto; height: auto; padding: 16px; border-radius: 18px; gap: 6px; box-shadow: 0 12px 28px rgba(64, 52, 201, .06); }
  .ei-corner--0 { left: auto; grid-column: 1; } .ei-corner--1 { left: auto; grid-column: 2; } .ei-corner--2 { left: auto; grid-column: 3; } .ei-corner--3 { left: auto; grid-column: 4; }
  /* short connectors between the corners */
  .ei-corner--0::after, .ei-corner--1::after, .ei-corner--2::after { content: ''; position: absolute; right: -17.5px; top: 50%; width: 16px; height: 2px; background: #8F7BFF; }
  .ei-corner__k { font-size: 11px; }
  .ei-corner__ic { width: 30px; height: 30px; border-radius: 9px; font-size: 10px; }
  .ei-corner__t { font-size: 16px; }
  .ei-corner__s { font-size: 12px; line-height: 1.5; }
  .ei-detail { margin-top: 20px; }
  .ei-how__note { margin-top: 14px; font-size: 13px; line-height: 1.55; }

  /* what XYRA does: icon tiles (46px), no drawings */
  .ei-tile, .ei-tile:hover { display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: 20px; box-shadow: 0 12px 28px rgba(64, 52, 201, .06); transform: none; }
  .ei-tile__art { display: none; }
  .ei-tile__ic { display: flex; flex: none; width: 46px; height: 46px; border-radius: 14px; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; }
  .ei-tile__copy { padding: 0; gap: 10px; }
  .ei-tile__title { font-size: 17px; }

  /* penalties: three compact cards with the 12-block meter */
  .ei-pen__grid { gap: 14px; }
  .ei-pen__card { padding: 18px 18px 18px 22px; border-radius: 18px; gap: 4px; box-shadow: 0 12px 28px rgba(163, 84, 6, .08); }
  .ei-pen__amount { font-size: min(30px, 19cqi); }
  .ei-pen__unit { font-size: 13px; }
  .ei-pen__body { font-size: 13px; line-height: 1.5; }
  .ei-pen__meter { margin-top: auto; padding-top: 10px; gap: 3px; }
  .ei-pen__meter span { height: 5px; }

  /* five steps: 340px copy + steps */
  .ei-steps__panel { grid-template-columns: 340px minmax(0, 1fr); gap: 40px; padding: 44px; border-radius: 32px; }
  .ei-steps__copy { gap: 14px; }
  .ei-steps__eyebrow { padding: 6px 12px; font-size: 11px; }
  .ei-steps__lead { font-size: 14px; }
  .ei-steps__progress { padding: 14px 16px; border-radius: 16px; gap: 8px; }
  .ei-steps__count strong { font-size: 18px; }
  .ei-steps__bar { height: 8px; }
  .ei-steps__cta { margin-top: 6px; padding: 14px 20px; font-size: 14px; }
  .ei-steps__list { gap: 10px; }
  .ei-step { grid-template-columns: 30px 24px minmax(0, 1fr); gap: 12px; align-items: start; padding: 14px 16px; border-radius: 16px; }
  .ei-step__n { font-size: 15px; line-height: 1.5; }
  .ei-step__box { width: 24px; height: 24px; border-radius: 8px; font-size: 13px; }
  .ei-step__copy { font-size: 14px; line-height: 1.5; }

  /* pricing: copy + chips + ASP note left, a 360px Starter card right */
  .ei-price__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
  .ei-price__copy { gap: 16px; }
  .ei-price__head { gap: 12px; }
  .ei-price__chips { gap: 8px; }
  .ei-price__chip { padding: 12px; border-radius: 14px; border-width: 1.5px; }
  .ei-price__chip strong { font-size: 14px; }
  .ei-price__chip span { font-size: 11px; line-height: 1.4; }
  .ei-fees { padding: 10px 12px; font-size: 12px; }
  .ei-price__card { padding: 28px; border-radius: 22px; gap: 14px; box-shadow: 0 20px 44px rgba(64, 52, 201, .16); }
  .ei-price__amount strong { font-size: 52px; }
  .ei-price__save { font-size: 11px; padding: 4px 9px; white-space: nowrap; }
  .ei-price__ticks { gap: 8px; }

  /* FAQ: header + call button + chat (380px) left, the questions right */
  .ei-body .bkx-faq__grid { grid-template-columns: 380px minmax(0, 1fr); gap: 48px; }
  .ei-body .bkx-faq__side { position: static; }
  .ei-body .bkx-faq__ask { max-width: none; }

  /* the shared footer ends 84px under its last line: clear of the Book a Demo
     button (24px up, 46px tall) that floats over it at the bottom of the page */
  .ei-body .f-sec { padding-bottom: 84px; }
}

/* --------------------------------------------------------------------------
   768–1023 · tablet.html
   -------------------------------------------------------------------------- */
@media (max-width: 1023px) {
  .bkx-body.ei-body { --sec-y: 36px; --band-y: 36px; --fs-h2: 36px; }

  /* hero: copy on top, the card full width with the counters left and the ASP note (260px) right */
  .ei-hero { padding: 48px 0 88px; }
  .ei-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ei-hero__title { font-size: 46px; }
  .ei-cd { display: grid; grid-template-columns: minmax(0, 1fr) 260px; column-gap: 16px; align-items: center; }
  .ei-cd__top { grid-column: 1 / -1; }
  .ei-cd__cells { grid-column: 1; margin-top: 16px; align-self: center; } /* number boxes keep their own height beside the taller note */
  .ei-cd__cell strong { font-size: 40px; }
  .ei-cd__asp { grid-column: 2; margin-top: 16px; }
  .ei-cd__livenote { grid-column: 1 / -1; }

  /* section headers: heading left, intro right, bottom-aligned (stacked only on phones) */
  .ei-head--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }
  .ei-how__head .ei-head { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 32px; }

  /* check my phase: radios in one row → result panel → "in simple words" */
  .ei-phase__grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .ei-phase__side { display: contents; }
  .ei-radios { order: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ei-radio { align-items: flex-start; }
  .ei-radio__ring { margin-top: 2px; }
  .ei-result { order: 2; }
  .ei-simple { order: 3; }

  /* schedule: 96 · 1fr · 140 · 120 */
  .ei-table thead th:nth-child(1) { width: 96px; } .ei-table thead th:nth-child(3) { width: 140px; } .ei-table thead th:nth-child(4) { width: 120px; }
  .ei-table th, .ei-table td { padding-inline: 16px; }

  /* how it works: FTA → pill → corners 2 × 2 → the flow note */
  .ei-how__panel { padding: 20px; }
  .ei-diagram__stage { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ei-diagram__stage::before, .ei-diagram__stage::after, .ei-corner::after { display: none; }
  .ei-taxpill { margin-top: 0; transform: none; }
  .ei-corner--0 { grid-column: 1; grid-row: 3; } .ei-corner--1 { grid-column: 2; grid-row: 3; }
  .ei-corner--2 { grid-column: 1; grid-row: 4; } .ei-corner--3 { grid-column: 2; grid-row: 4; }
  .ei-how__flow { display: block; }

  .ei-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  /* five steps: header, steps, then the CTA */
  .ei-steps__panel { display: flex; flex-direction: column; align-items: stretch; gap: 14px; padding: 32px; }
  .ei-steps__copy { display: contents; }
  .ei-steps__eyebrow { align-self: flex-start; }
  .ei-steps__list { order: 1; margin-top: 4px; }
  .ei-steps__cta { order: 2; align-self: flex-start; }

  /* pricing: header full width → Starter card left; plan list + ASP note right */
  .ei-price__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-areas: "head head" "card chips"; grid-template-rows: auto 1fr; gap: 12px 20px; align-items: start; }
  .ei-price__copy { display: contents; }
  .ei-price__head { grid-area: head; margin-bottom: 12px; }
  .ei-price__card { grid-area: card; max-width: none; }
  .ei-price__chips { grid-area: chips; display: flex; flex-direction: column; gap: 10px; max-width: none; }
  .ei-price__chip { flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; padding: 14px 16px; }
  .ei-price__chip strong { font-size: 15px; }
  .ei-price__chip span { font-size: 12px; text-align: right; }
  .ei-fees { grid-area: fees; justify-self: start; }

  /* FAQ: header + call button left, the chat (320px) right, the questions under both */
  .ei-body .bkx-faq__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .ei-body .bkx-faq__side { display: grid; grid-template-columns: minmax(0, 1fr) 320px; column-gap: 28px; row-gap: var(--bkx-head-gap); align-items: start; }
  .ei-body .bkx-faq__side > * { grid-column: 1; }
  .ei-body .bkx-faq__side > .bkx-faq__ask { grid-column: 2; grid-row: 1 / span 4; margin-top: 0; }
  .ei-body .bkx-faq__talk { justify-self: start; }
}

/* --------------------------------------------------------------------------
   ≤767 · mobile.html
   -------------------------------------------------------------------------- */
@media (max-width: 767px) {
  .bkx-body.ei-body { --sec-y: 28px; --band-y: 28px; --fs-h2: 30px; }
  .ei-head__lead, .ei-head__lead--side { font-size: 15px; }
  .ei-head--split, .ei-how__head .ei-head { grid-template-columns: minmax(0, 1fr); gap: var(--bkx-head-gap); max-width: none; }
  .ei-how__head .ei-head__lead { grid-column: 1; grid-row: auto; }

  /* hero: stacked, buttons full width, the card below */
  .ei-hero { padding: 28px 0 64px; }
  .ei-hero__title { font-size: 34px; }
  .ei-hero__lead { font-size: 15px; }
  .ei-hero__actions { flex-direction: column; align-items: stretch; gap: 10px; }
  .ei-hero__actions .ei-btn { width: 100%; box-sizing: border-box; }
  .ei-cd { display: block; padding: 20px; }
  .ei-cd__cell { padding: 12px 0 8px; }
  .ei-cd__cell strong { font-size: 34px; }

  /* trust strip: 2 × 2, no sideways scroll */
  .ei-body .bkx-trust { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 14px; overflow: visible; font-size: 12px; }

  /* check my phase */
  .ei-radios { grid-template-columns: minmax(0, 1fr); }
  .ei-radio { align-items: center; }
  .ei-radio__ring { margin-top: 0; }
  .ei-result { padding: 20px; }
  .ei-result__phase { font-size: 24px; }
  .ei-result__dates { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ei-date__day { font-size: 22px; }
  .ei-result__actions { flex-direction: column; }
  .ei-result__actions > a { justify-content: center; text-align: center; }

  /* timeline: the same drawing; labels wrap to fit the narrow line, so it is taller */
  .ei-timeline { margin-top: 14px; padding: 18px 16px 14px; border-radius: 20px; }
  .ei-timeline__head { margin-bottom: 4px; gap: 6px 12px; }
  .ei-timeline__head > strong { font-size: 15px; }
  .ei-timeline__legend { font-size: 10px; gap: 4px 10px; }
  .ei-line { height: 152px; }
  .ei-mark__label { width: max-content; max-width: calc((100vw - 72px) * .29); white-space: normal; text-align: center; }
  .ei-mark__label strong { font-size: 12px; }
  .ei-mark__label span { font-size: 10px; line-height: 1.35; }
  .ei-mark__dot { width: 14px; height: 14px; border-width: 3px; }
  .ei-line__today { width: 18px; height: 18px; margin: -9px 0 0 -9px; border-width: 3px; }
  .ei-line__end { font-size: 10px; }

  /* schedule: three cards, the two dates side by side */
  .ei-table, .ei-table tbody, .ei-table tr, .ei-table th, .ei-table td { display: block; }
  .ei-table { margin-top: 14px; background: none; border: 0; border-radius: 0; overflow: visible; box-shadow: none; }
  .ei-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .ei-table tbody { display: flex; flex-direction: column; gap: 10px; }
  .ei-table tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; padding: 14px 16px; border: 1px solid #ECEAF7; border-radius: 20px; background: #FFFFFF; box-shadow: 0 12px 28px rgba(64, 52, 201, .06); }
  .ei-table th, .ei-table td, .ei-table th:first-child, .ei-table td:first-child { padding: 0; border: 0; }
  .ei-table tbody th { grid-column: 1 / -1; font-size: 15px; }
  .ei-table td:nth-child(2) { grid-column: 1 / -1; margin-top: -4px; font-size: 12px; line-height: 1.45; text-align: left; color: #6E6B8A; }
  .ei-table td:nth-child(3), .ei-table td:nth-child(4) { padding: 8px 10px; border-radius: 10px; font-size: 12px; }
  .ei-table td:nth-child(3) { background: #FDF0F8; }
  .ei-table td:nth-child(4) { background: #F4F2FF; }
  .ei-table td:nth-child(3) strong, .ei-table td:nth-child(4) strong { color: #16133A; }
  .ei-table td:nth-child(3)::before, .ei-table td:nth-child(4)::before { content: attr(data-label); display: block; font-size: 12px; }
  .ei-table td:nth-child(3)::before { color: #9B1F7A; }
  .ei-table td:nth-child(4)::before { color: #4034C9; }
  .ei-table__note { font-size: 10px; }

  /* how it works (FIX-2): one panel — the FTA on top, then corners 1–4 as a
     numbered stepper on a dashed rail, a pink dot running down it */
  .ei-how__head .ei-head { margin-bottom: 20px; }
  .ei-toggle { width: 100%; margin-bottom: 16px; }
  .ei-toggle__btn { white-space: normal; }
  .ei-how__panel { padding: 16px; border-radius: 22px; background: #FAF9FF; border: 1px solid #ECEAF7; }
  .ei-diagram__stage { position: relative; grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ei-taxpill, .ei-how__flow, .ei-flow-arrow, .ei-detail { display: none; }
  .ei-fta { grid-row: 1; max-width: none; margin-bottom: 16px; padding: 14px 16px; border-radius: 18px; animation: none; box-shadow: none; }
  .ei-fta__ic { width: 42px; height: 42px; }
  .ei-fta__k { font-size: 10px; letter-spacing: .12em; color: #8FF0C4; }
  .ei-fta__copy strong { font-size: 15px; }
  .ei-fta__s { display: none; }
  .ei-fta__s--mobile { display: block; font-size: 12px; line-height: 1.45; }
  .ei-corner, .ei-corner.is-mine, .ei-corner.is-on, .ei-corner.is-mine.is-on { grid-column: 1; display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: start; padding: 0 0 12px; border: 0; border-radius: 0; background: none; box-shadow: none; color: #16133A; }
  .ei-corner--0 { grid-row: 2; } .ei-corner--1 { grid-row: 3; } .ei-corner--2 { grid-row: 4; } .ei-corner--3 { grid-row: 5; padding-bottom: 0; }
  .ei-corner--0::after, .ei-corner--1::after, .ei-corner--2::after { display: block; content: ''; position: absolute; left: 17px; right: auto; top: 36px; bottom: 0; width: 2px; height: auto; background: repeating-linear-gradient(180deg, #8F7BFF 0 5px, transparent 5px 10px); }
  /* stacking on the rail: dashed line (row ::after) < pink dot (z 2) < number
     circles (z 3). The rows drop their desktop z-index: 3, which otherwise
     painted their dashed line over the dot. */
  .ei-corner, .ei-corner.is-mine, .ei-corner.is-on, .ei-corner.is-mine.is-on { z-index: auto; }
  .ei-corner__n { display: flex; position: relative; z-index: 3; width: 36px; height: 36px; box-sizing: border-box; border-radius: 50%; border: 2px solid #DCD7F5; background: #FFFFFF; color: #4034C9; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; box-shadow: 0 0 0 4px #FAF9FF; }
  .ei-corner.is-mine .ei-corner__n { border-color: transparent; background: linear-gradient(135deg, #4034C9, #C0389F); color: #FFFFFF; }
  .ei-corner__card { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 14px; border-radius: 16px; background: #FFFFFF; border: 1px solid #ECEAF7; box-shadow: 0 10px 24px rgba(64, 52, 201, .07); color: #16133A; }
  .ei-corner.is-mine .ei-corner__card { background: linear-gradient(150deg, #4034C9 0%, #8A3FD0 60%, #C0389F 100%); border-color: transparent; color: #FFFFFF; }
  .ei-corner__top { justify-content: flex-start; flex-wrap: wrap; row-gap: 4px; }
  .ei-corner__k, .ei-corner__ic, .ei-corner.is-mine .ei-corner__ic { font-size: 10px; font-weight: 700; letter-spacing: .12em; opacity: .75; }
  .ei-corner__ic, .ei-corner.is-mine .ei-corner__ic { display: inline; width: auto; height: auto; margin-right: 8px; border-radius: 0; background: none; color: inherit; }
  .ei-corner__ic::before { content: ' · '; white-space: pre; }
  .ei-corner__who { display: inline-block; margin-left: auto; padding: 3px 8px; border-radius: 999px; background: #F1EFFB; color: #4A4766; font-size: 10px; font-weight: 700; white-space: nowrap; }
  .ei-corner.is-mine .ei-corner__who { background: rgba(255, 255, 255, .2); color: #FFFFFF; }
  .ei-corner__t { font-size: 16px; line-height: 1.3; }
  .ei-corner__s { font-size: 13px; line-height: 1.5; }
  .ei-corner__fta { display: inline-flex; align-self: flex-start; margin-top: 6px; padding: 4px 10px; border-radius: 999px; background: #E0F5FA; color: #0A6F87; font-size: 11px; font-weight: 700; }
  .ei-corner.is-mine .ei-corner__fta { background: rgba(255, 255, 255, .18); color: #FFFFFF; }
  /* the dot spans corners 1–3 and ends on circle 4 (12px under the end of row 3) */
  .ei-rail-dot { display: block; position: relative; z-index: 2; grid-column: 1; grid-row: 2 / 5; justify-self: start; width: 36px; pointer-events: none; }
  .ei-rail-dot::before { content: ''; position: absolute; left: 12px; top: 12px; width: 12px; height: 12px; border-radius: 50%; background: #C0389F; box-shadow: 0 0 0 4px rgba(192, 56, 159, .18), 0 0 12px rgba(192, 56, 159, .6); animation: ei-railDot 3.6s cubic-bezier(.5, 0, .5, 1) infinite; }
  .ei-how__peppol { display: flex; grid-column: 1; grid-row: 6; align-items: center; gap: 8px; margin-top: 16px; font-size: 12px; color: #6E6B8A; }
  .ei-how__peppol::before { content: ''; flex: none; width: 18px; height: 2px; background: repeating-linear-gradient(90deg, #8F7BFF 0 4px, transparent 4px 8px); }

  /* what XYRA does: compact rows (44px icon, title, text) */
  .ei-tiles { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ei-tile, .ei-tile:hover { display: grid; grid-template-columns: 44px minmax(0, 1fr); grid-template-rows: auto; align-items: start; gap: 14px; padding: 16px; }
  .ei-tile__ic { width: 44px; height: 44px; border-radius: 13px; }
  .ei-tile__copy { gap: 4px; }
  .ei-tile__title { font-size: 16px; }
  .ei-tile__body { font-size: 13px; line-height: 1.55; }

  /* penalties: one column, the 12-block level meter under each card */
  .ei-pen__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .ei-pen__amount { font-size: 28px; }
  .ei-pen__meter { padding-top: 12px; gap: 4px; }
  .ei-pen__meter span { height: 6px; }

  /* five steps: stacked, the CTA full width */
  .ei-steps__panel { padding: 24px 18px; border-radius: 24px; gap: 14px; }
  .ei-steps__cta { align-self: stretch; text-align: center; }
  .ei-step { grid-template-columns: 26px 24px minmax(0, 1fr); gap: 10px; }

  /* pricing: header → Starter card → plan chips → ASP note */
  /* the heading keeps the page's one H2 size (30px here) and wraps where it must */
  #ei-price-h .bkx-h2__line { white-space: normal; }
  .ei-price__grid { grid-template-columns: minmax(0, 1fr); grid-template-areas: "head" "card" "chips"; grid-template-rows: none; gap: 12px; }
  .ei-price__head { margin-bottom: 12px; }
  .ei-price__card { padding: 22px; }
  .ei-price__amount strong { font-size: 44px; }
  .ei-price__chips { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .ei-price__chip { flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 2px; padding: 12px; }
  .ei-price__chip strong { font-size: 14px; }
  .ei-price__chip span { font-size: 11px; text-align: left; }

  /* FAQ: header → questions → the chat */
  .ei-body .bkx-faq__grid { display: flex; flex-direction: column; gap: 16px; }
  .ei-body .bkx-faq__side { display: contents; }
  .ei-body .bkx-faq__side > :nth-child(n + 3) { margin-top: 0; }
  .ei-body .bkx-faq__list { order: 1; margin-top: 4px; }
  .ei-body .bkx-faq__ask { order: 2; }

  /* (the shared footer keeps its own phone padding, which clears the floating buttons) */
}

@media (max-width: 420px) {
  .ei-cd__label { letter-spacing: .06em; }
  .ei-cd__cell strong { font-size: 30px; }
}

/* phones: the home page's floating "Start Free Trial" capsule (same look as
   .mbar on new-homelandingpage1); the footer keeps room so it never covers the legal line */
.mbar { display: none; }
@media (max-width: 720px) {
  .mbar { display: block; position: fixed; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); z-index: 60; border-radius: 16px; }
  .mbar-inner { display: flex; align-items: stretch; }
  .mbar-cta {
    flex: 1; display: flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 52px; padding: 0 20px; border-radius: 16px; text-decoration: none;
    font-size: 16px; font-weight: 700; letter-spacing: -.01em; color: #fff !important;
    background: linear-gradient(165deg, #5b8cff 0%, #6a4bff 100%);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 1px 2px rgba(15,23,42,.18), 0 14px 30px -10px rgba(91,75,255,.65);
    transition: transform .18s cubic-bezier(.2,.8,.2,1), opacity .18s ease;
  }
  .mbar-cta:active { transform: scale(.97); opacity: .92; }
  .mbar-cta:focus-visible { outline: 3px solid #b9adff; outline-offset: 3px; }
  /* the shared footer keeps its own bottom room for this bar (site-footer.blade.php) */
  /* the open phone menu has its own Start Free Trial */
  body.tvc-drawer-open .mbar, body:has(.tvc-nav .navbar-collapse.show) .mbar { display: none; }
}

/* the UAE flag before "Ready for the mandate" (trust strip) */
.bkx-trust__label:has(.bkx-trust__flag) { display: inline-flex; align-items: center; gap: 10px; }
.bkx-trust__flag { flex: none; width: 24px; height: 12px; border-radius: 2px; overflow: hidden; box-shadow: 0 0 0 1px rgba(17,22,51,.14), 0 1px 3px rgba(17,22,51,.12); }

/* check my phase, what XYRA does + penalties: eyebrow, heading and intro centred at every size */
.ei-phase .ei-head, .ei-phase .ei-head__copy, .ei-pen .ei-head, .ei-pen .ei-head__copy, .ei-does .ei-head, .ei-does .ei-head__copy { align-items: center; text-align: center; }
.ei-phase .ei-head__copy, .ei-pen .ei-head__copy, .ei-does .ei-head__copy { width: 100%; }
.ei-phase .ei-phase__lead, .ei-pen .ei-pen__lead, .ei-does .ei-does__lead { margin-inline: auto; }
/* these headings on one line wherever they fit at a normal heading size; on phones
   they keep their two lines. Each divisor is the heading's width in em plus a little
   room: "What missing the deadline costs" ≈ 15.9em, "Your deadlines, by your
   business size" ≈ 18.3em (so it needs 640px) */
@media (min-width: 576px) {
  #ei-pen-h br { display: none; }
  #ei-pen-h { white-space: nowrap; font-size: min(var(--fs-h2), calc((100vw - 2 * var(--gutter)) / 16.4)); }
}
@media (min-width: 640px) {
  #ei-phase-h br { display: none; }
  #ei-phase-h { white-space: nowrap; font-size: min(var(--fs-h2), calc((100vw - 2 * var(--gutter)) / 18.8)); }
}

/* penalties in red (this section only): band, eyebrow, heading gradient, card
   accent, amounts and meters. Scoped to .ei-pen so the shared amber classes
   keep their colours elsewhere. */
.ei-band--amber.ei-pen {
  background-color: #FFF6F5;
  background-image:
    radial-gradient(40% 50% at 85% 30%, rgba(239, 68, 68, .10) 0%, rgba(255, 246, 245, 0) 70%),
    linear-gradient(180deg, #FFFFFF 0%, #FFF6F5 160px, #FFF6F5 calc(100% - 160px), #FFFFFF 100%);
}
.ei-pen .ei-eyebrow--amber { background: #FDE4E2; color: #B91C1C; }
.ei-pen .ei-grad--amber { background: linear-gradient(90deg, #B91C1C, #E5484D); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ei-pen .ei-pen__card { border-color: #F8DCDA; box-shadow: 0 16px 36px rgba(185, 28, 28, .07); }
.ei-pen .ei-pen__card:hover { box-shadow: 0 22px 44px rgba(185, 28, 28, .13); }
.ei-pen .ei-pen__card::before { background: linear-gradient(180deg, #EF4444, #B91C1C, #EF4444); background-size: 100% 200%; }
.ei-pen .ei-pen__amount { color: #B91C1C; }
.ei-pen .ei-pen__meter span { background: #FBE3E1; }
.ei-pen .ei-pen__meter span.is-on { background: #E5484D; animation-name: ei-penFillRed; }
.ei-pen .ei-pen__amount { animation-name: ei-penAmtRed; }
@keyframes ei-penAmtRed { 0%, 70%, 100% { transform: none; text-shadow: none; } 78% { transform: scale(1.04); text-shadow: 0 6px 18px rgba(229, 72, 77, .30); } 86% { transform: none; } }
@keyframes ei-penFillRed { 0% { background: #FBE3E1; transform: scaleY(1); } 6% { background: #E5484D; transform: scaleY(1.6); } 12%, 82% { background: #E5484D; transform: scaleY(1); } 92%, 100% { background: #FBE3E1; } }
@media (max-width: 1279px) {
  .ei-band--amber.ei-pen { background-image: radial-gradient(40% 50% at 85% 30%, rgba(239, 68, 68, .10) 0%, rgba(255, 246, 245, 0) 70%), linear-gradient(180deg, #FFFFFF 0%, #FFF6F5 80px, #FFF6F5 calc(100% - 80px), #FFFFFF 100%); }
  .ei-pen .ei-pen__card { box-shadow: 0 12px 28px rgba(185, 28, 28, .07); }
}
/* "E-invoicing that lives inside your books" on one line from 640px (it is wider
   than the two above, so it needs a little more room); phones keep two lines */
@media (min-width: 640px) {
  #ei-does-h br { display: none; }
  #ei-does-h { white-space: nowrap; font-size: min(var(--fs-h2), calc((100vw - 2 * var(--gutter)) / 19.9)); }
}

/* "What XYRA does" Peppol tile: a solid "approved" badge in place of the
   dashed partner-name placeholder (same green as the "✓ valid" chips) */
.ei-placeholder.ei-v-peppol__badge { background: #E2F6EE; border: 1.5px solid #9EDDC2; color: #0E8A5F; }

/* pricing motion (paused off screen via [data-ei-anim]):
   the Starter card floats and its border glows, the badge shimmers, the ticks
   pop in turn, a light sweeps across the CTA, and the selected plan chip pulses */
.ei-price__card { animation: ei-prFloat 6s ease-in-out infinite, ei-prGlow 6s ease-in-out infinite; }
.ei-price__badge { background: linear-gradient(90deg, #4034C9, #C0389F, #4034C9); background-size: 200% 100%; animation: ei-prShimmer 4s linear infinite; }
.ei-price__ticks li > span { display: inline-block; animation: ei-prTick 5s ease-in-out infinite; }
.ei-price__ticks li:nth-child(2) > span { animation-delay: .25s; }
.ei-price__ticks li:nth-child(3) > span { animation-delay: .5s; }
.ei-price__ticks li:nth-child(4) > span { animation-delay: .75s; }
.ei-price__ticks li:nth-child(5) > span { animation-delay: 1s; }
.ei-price__cta { position: relative; overflow: hidden; }
.ei-price__cta::after { content: ''; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.35) 50%, rgba(255,255,255,0) 100%); transform: skewX(-20deg); animation: ei-prSweep 4.5s ease-in-out infinite; pointer-events: none; }
.ei-price__chip { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.ei-price__chip:hover { transform: translateY(-3px); box-shadow: 0 12px 24px rgba(64, 52, 201, .10); }
.ei-price__chip.is-on { animation: ei-prChip 2.4s ease-out infinite; }
@keyframes ei-prFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes ei-prGlow { 0%, 100% { border-color: #8F7BFF; } 50% { border-color: #C0389F; } }
@keyframes ei-prShimmer { to { background-position: -200% 0; } }
@keyframes ei-prTick { 0%, 60%, 100% { transform: none; } 66% { transform: scale(1.35); } 72% { transform: none; } }
@keyframes ei-prSweep { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }
@keyframes ei-prChip { 0% { box-shadow: 0 0 0 0 rgba(143, 123, 255, .45); } 70%, 100% { box-shadow: 0 0 0 10px rgba(143, 123, 255, 0); } }
@media (prefers-reduced-motion: reduce) {
  .ei-price__card, .ei-price__badge, .ei-price__ticks li > span, .ei-price__cta::after, .ei-price__chip.is-on { animation: none; }
  .ei-price__cta::after { display: none; }
  .ei-price__chip, .ei-price__chip:hover { transition: none; transform: none; }
}

/* hero title: always two lines beside the countdown. Its longest line is 13× its
   font size, so the font is capped to the copy column's width (cqi) on the
   laptop widths where that column gets narrow. "not (max-width: 1023px)" leaves
   no gap for fractional widths such as 1023.3px on a scaled Windows display */
@media not all and (max-width: 1023px) {
  .ei-hero__copy { container-type: inline-size; }
  .ei-hero__title { white-space: nowrap; font-size: min(48px, 100cqi / 13.2); }
}
@media (min-width: 1280px) {
  .ei-hero__title { font-size: min(54px, 100cqi / 13.2); }
}

/* heading scale: the hero H1 stays the largest heading at every width.
   1280–1439: the countdown card gives up a little width so the two-line H1 can
   stay ~52–54px (above the 46px H2). 1024–1279: section H2s use the tablet size
   (36px) because the H1 column there only fits a 39–48px title */
@media not all and (max-width: 1279px) {
  .ei-hero__grid { grid-template-columns: minmax(0, 1fr) min(536px, max(420px, 100vw - 1020px)); }
  /* the card's "PHASE 1 GO-LIVE · 1 JANUARY 2027" stays on one line at 420px */
  .ei-cd__label { white-space: nowrap; font-size: 11px; letter-spacing: .08em; }
}
@media not all and (max-width: 1599px) {
  .ei-cd__label { font-size: 12px; letter-spacing: .12em; }
}
@media not all and (max-width: 1023px) {
  @media (max-width: 1279px) { .bkx-body.ei-body { --fs-h2: 36px; } }
}
