:root {
  --bfs-ink: #020914;
  --bfs-navy: #071a2b;
  --bfs-blue: #31a8ff;
  --bfs-gold: #e3b55b;
  --bfs-gold-bright: #ffe09a;
  --bfs-paper: #eef8ff;
}

body.bfs-intro-active {
  overflow: hidden !important;
}

.bfs-intro-overlay,
.bfs-intro-overlay * {
  box-sizing: border-box;
}

.bfs-intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  overflow: hidden;
  color: var(--bfs-paper);
  background:
    radial-gradient(circle at 50% 78%, rgba(21, 92, 143, .34), transparent 36%),
    radial-gradient(circle at 50% 40%, rgba(227, 181, 91, .08), transparent 34%),
    linear-gradient(145deg, #020711 0%, #061524 50%, #020812 100%);
  isolation: isolate;
  opacity: 1;
  visibility: visible;
  transition: opacity .85s ease, visibility .85s step-end;
}

.bfs-intro-overlay::before {
  content: "";
  position: absolute;
  inset: -25%;
  z-index: -1;
  background:
    repeating-linear-gradient(90deg, transparent 0 72px, rgba(63, 159, 222, .032) 72px 73px),
    repeating-linear-gradient(0deg, transparent 0 72px, rgba(63, 159, 222, .025) 72px 73px);
  transform: perspective(700px) rotateX(62deg) translateY(32%);
  transform-origin: center bottom;
  mask-image: linear-gradient(to top, #000, transparent 72%);
}

.bfs-intro-overlay::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(0, 0, 0, .22), transparent 25% 75%, rgba(0, 0, 0, .22));
  box-shadow: inset 0 0 150px rgba(0, 0, 0, .48);
}

.bfs-intro-overlay.is-complete {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bfs-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  opacity: .8;
}

.bfs-intro-frame {
  position: relative;
  z-index: 5;
  min-width: 0;
  width: min(100%, 1920px);
  height: 100%;
  min-height: 0;
  margin-inline: auto;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  padding: clamp(18px, 2.6vw, 42px) clamp(18px, 4vw, 72px) clamp(15px, 2vw, 32px);
}

.bfs-intro-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.bfs-intro-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.bfs-intro-brand-mark {
  width: 45px;
  height: 45px;
  border: 1px solid rgba(255, 224, 154, .48);
  border-radius: 13px;
  display: grid;
  place-items: center;
  color: var(--bfs-gold-bright);
  background: linear-gradient(145deg, rgba(255, 224, 154, .13), rgba(49, 168, 255, .08));
  box-shadow: inset 0 0 18px rgba(255, 224, 154, .08), 0 10px 35px rgba(0, 0, 0, .25);
  font: 900 .86rem/1 system-ui, sans-serif;
  letter-spacing: .1em;
}

.bfs-intro-brand-copy {
  display: grid;
  gap: 3px;
}

.bfs-intro-brand-copy strong {
  font: 850 .76rem/1.1 system-ui, sans-serif;
  letter-spacing: .19em;
}

.bfs-intro-brand-copy small {
  color: #80a9c7;
  font: 700 .54rem/1.1 system-ui, sans-serif;
  letter-spacing: .15em;
}

.bfs-skip {
  position: relative;
  z-index: 30;
  appearance: none;
  border: 1px solid rgba(158, 204, 235, .28);
  border-radius: 999px;
  padding: 10px 17px;
  color: #dcefff;
  background: rgba(5, 24, 40, .66);
  backdrop-filter: blur(12px);
  cursor: pointer;
  font: 780 .69rem/1 system-ui, sans-serif;
  letter-spacing: .08em;
  transition: border-color .2s ease, color .2s ease, transform .2s ease;
}

.bfs-skip:hover,
.bfs-skip:focus-visible {
  border-color: rgba(255, 224, 154, .75);
  color: var(--bfs-gold-bright);
  transform: translateY(-1px);
}

.bfs-scene {
  position: relative;
  min-height: 0;
  perspective: 1300px;
  transform-style: preserve-3d;
}

.bfs-scene-glow {
  position: absolute;
  left: 50%;
  bottom: 8%;
  width: min(66vw, 900px);
  height: min(26vw, 320px);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(43, 149, 221, .26), rgba(227, 181, 91, .07) 44%, transparent 72%);
  filter: blur(18px);
  transform: translateX(-50%) rotateX(62deg);
  transition: opacity .8s ease, transform .8s ease;
}

.bfs-card-field {
  position: absolute;
  inset: 4% 0 7%;
  z-index: 4;
  transform-style: preserve-3d;
  opacity: 1;
  transition: opacity .42s ease;
}

.bfs-menu-card {
  --card-x: 10%;
  --card-y: 10%;
  --card-r: -4deg;
  position: absolute;
  left: var(--card-x);
  top: var(--card-y);
  width: clamp(118px, 10vw, 174px);
  min-height: clamp(48px, 4.3vw, 64px);
  padding: 9px 12px 9px 9px;
  border: 1px solid rgba(126, 197, 239, .28);
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #eaf7ff;
  background:
    linear-gradient(135deg, rgba(17, 52, 77, .93), rgba(5, 21, 36, .94)),
    rgba(3, 14, 25, .92);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .05),
    0 18px 42px rgba(0, 0, 0, .32),
    0 0 20px rgba(44, 158, 231, .05);
  backdrop-filter: blur(12px);
  transform: translate3d(0, 0, 0) rotate(var(--card-r));
  transform-style: preserve-3d;
  will-change: transform, opacity, filter;
  opacity: 0;
  animation: bfs-card-arrive .7s cubic-bezier(.22, .82, .2, 1) forwards;
  animation-delay: var(--card-enter, .2s);
}

.bfs-menu-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 224, 154, .12), transparent 74%);
  transform: translateX(-110%);
  animation: bfs-card-sheen 3.5s ease-in-out infinite;
  animation-delay: calc(var(--card-enter, .2s) + 1s);
}

.bfs-menu-card i {
  flex: 0 0 auto;
  width: clamp(29px, 2.45vw, 38px);
  height: clamp(29px, 2.45vw, 38px);
  border: 1px solid rgba(255, 224, 154, .36);
  border-radius: 10px;
  display: grid;
  place-items: center;
  color: var(--bfs-gold-bright);
  background: linear-gradient(145deg, rgba(227, 181, 91, .16), rgba(49, 168, 255, .08));
  font: 900 clamp(.49rem, .52vw, .62rem)/1 system-ui, sans-serif;
  letter-spacing: .07em;
  font-style: normal;
}

.bfs-menu-card b {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font: 780 clamp(.65rem, .68vw, .82rem)/1.05 system-ui, sans-serif;
  letter-spacing: .015em;
}

@keyframes bfs-card-arrive {
  from { opacity: 0; transform: translate3d(0, 18px, -80px) rotate(var(--card-r)) scale(.82); filter: blur(6px); }
  to { opacity: 1; transform: translate3d(0, 0, 0) rotate(var(--card-r)) scale(1); filter: blur(0); }
}

@keyframes bfs-card-sheen {
  0%, 68% { transform: translateX(-115%); }
  84%, 100% { transform: translateX(115%); }
}

.bfs-vault-wrap {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 51%;
  width: clamp(250px, 27vw, 430px);
  height: clamp(180px, 19vw, 300px);
  transform: translate(-50%, -42%);
  transform-style: preserve-3d;
  perspective: 1200px;
}

.bfs-vault {
  position: absolute;
  inset: 0;
  transform: rotateX(4deg) rotateY(-2deg);
  transform-style: preserve-3d;
  transition: transform 1.1s cubic-bezier(.18, .82, .2, 1), filter 1s ease;
}

.bfs-vault-shadow {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: -16%;
  height: 30%;
  border-radius: 50%;
  background: rgba(0, 0, 0, .7);
  filter: blur(18px);
  transform: rotateX(68deg);
}

.bfs-vault-body {
  position: absolute;
  inset: 31% 5% 5%;
  border: 1px solid rgba(255, 224, 154, .56);
  border-radius: 11px 11px 28px 28px;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255, 224, 154, .1) 46%, transparent 65%),
    linear-gradient(160deg, #132638 0%, #07121e 44%, #02070e 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .1),
    inset 0 -28px 55px rgba(0, 0, 0, .55),
    0 30px 60px rgba(0, 0, 0, .44),
    0 0 42px rgba(227, 181, 91, .08);
}

.bfs-vault-body::before,
.bfs-vault-body::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(227, 181, 91, .17);
  border-radius: 8px 8px 20px 20px;
  pointer-events: none;
}

.bfs-vault-body::after {
  inset: auto 14% 18%;
  height: 1px;
  border: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 224, 154, .6), transparent);
  box-shadow: 0 0 14px rgba(255, 224, 154, .45);
}

.bfs-vault-slot {
  position: absolute;
  z-index: 6;
  left: 17%;
  right: 17%;
  top: 31%;
  height: 9px;
  border-radius: 999px;
  background: #010305;
  box-shadow:
    inset 0 1px 2px #000,
    0 0 0 1px rgba(227, 181, 91, .38),
    0 0 18px rgba(255, 206, 108, .36);
}

.bfs-vault-slot::after {
  content: "";
  position: absolute;
  inset: 2px 5%;
  border-radius: inherit;
  background: linear-gradient(90deg, transparent, var(--bfs-gold-bright), transparent);
  opacity: .6;
  animation: bfs-slot-breathe 1.9s ease-in-out infinite;
}

@keyframes bfs-slot-breathe {
  50% { opacity: 1; filter: blur(1px); }
}

.bfs-vault-lid {
  position: absolute;
  z-index: 9;
  left: 4%;
  right: 4%;
  top: 8%;
  height: 31%;
  border: 1px solid rgba(255, 224, 154, .62);
  border-radius: 22px 22px 8px 8px;
  background:
    linear-gradient(100deg, transparent 20%, rgba(255, 224, 154, .13) 46%, transparent 65%),
    linear-gradient(155deg, #1d3447 0%, #091724 48%, #02070e 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .12),
    0 12px 26px rgba(0, 0, 0, .38),
    0 0 24px rgba(227, 181, 91, .09);
  transform-origin: 50% 100%;
  transform: translateY(-22%) rotateX(-68deg);
  transition: transform 1.05s cubic-bezier(.55, .02, .21, 1), border-color .8s ease, box-shadow .8s ease;
}

.bfs-vault-lid::before {
  content: "";
  position: absolute;
  inset: 9px 12px;
  border: 1px solid rgba(227, 181, 91, .18);
  border-radius: 14px 14px 5px 5px;
}

.bfs-vault-seal {
  position: absolute;
  z-index: 10;
  left: 50%;
  top: 63%;
  width: clamp(46px, 4.3vw, 68px);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 224, 154, .68);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--bfs-gold-bright);
  background: radial-gradient(circle, #172b3d 0 38%, #07121e 40% 66%, #02070e 68%);
  box-shadow: inset 0 0 18px rgba(227, 181, 91, .12), 0 0 24px rgba(0, 0, 0, .44);
  transform: translate(-50%, -50%);
  font: 900 clamp(.68rem, .75vw, .9rem)/1 system-ui, sans-serif;
  letter-spacing: .08em;
  transition: box-shadow .8s ease, color .8s ease, transform .8s ease;
}

.bfs-intro-overlay[data-phase="closing"] .bfs-vault-lid,
.bfs-intro-overlay[data-phase="reveal"] .bfs-vault-lid {
  transform: translateY(24%) rotateX(0deg);
  border-color: rgba(255, 224, 154, .92);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, .16),
    0 8px 22px rgba(0, 0, 0, .4),
    0 0 48px rgba(227, 181, 91, .28);
}

.bfs-intro-overlay[data-phase="closing"] .bfs-vault {
  transform: rotateX(0deg) rotateY(0deg) scale(1.035);
  filter: drop-shadow(0 0 28px rgba(227, 181, 91, .25));
}

.bfs-intro-overlay[data-phase="closing"] .bfs-vault-seal {
  color: #fff0bd;
  transform: translate(-50%, -50%) scale(1.08);
  box-shadow: inset 0 0 22px rgba(227, 181, 91, .22), 0 0 32px rgba(227, 181, 91, .36);
}

.bfs-intro-overlay[data-phase="reveal"] .bfs-vault {
  transform: rotateX(0deg) rotateY(0deg) scale(.68) translateY(32%);
  filter: blur(5px) drop-shadow(0 0 55px rgba(227, 181, 91, .42));
  opacity: .22;
}

.bfs-reveal {
  position: absolute;
  z-index: 14;
  left: 50%;
  top: 48%;
  width: min(92%, 980px);
  display: grid;
  justify-items: center;
  text-align: center;
  opacity: 0;
  transform: translate(-50%, -44%) scale(.92);
  pointer-events: none;
  transition: opacity 1s ease, transform 1.25s cubic-bezier(.16, .82, .22, 1);
}

.bfs-intro-overlay[data-phase="reveal"] .bfs-reveal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.bfs-reveal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 17px;
  color: var(--bfs-gold-bright);
  font: 800 clamp(.59rem, .7vw, .75rem)/1 system-ui, sans-serif;
  letter-spacing: .25em;
  text-transform: uppercase;
}

.bfs-reveal-kicker::before,
.bfs-reveal-kicker::after {
  content: "";
  width: clamp(28px, 4vw, 64px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--bfs-gold));
}

.bfs-reveal-kicker::after {
  background: linear-gradient(90deg, var(--bfs-gold), transparent);
}

.bfs-reveal h1 {
  margin: 0;
  color: #f5fbff;
  font: 850 clamp(3.1rem, 7.4vw, 8.4rem)/.83 system-ui, sans-serif;
  letter-spacing: -.075em;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .48);
}

.bfs-reveal h1 span {
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 224, 154, .92);
  text-shadow: 0 0 36px rgba(227, 181, 91, .25);
}

.bfs-reveal p {
  max-width: 760px;
  margin: clamp(20px, 3vh, 32px) auto 0;
  color: #bdd6e8;
  font: 520 clamp(.94rem, 1.25vw, 1.35rem)/1.55 system-ui, sans-serif;
}

.bfs-reveal p strong {
  color: #f1f8fc;
  font-weight: 720;
}

.bfs-intro-progress {
  position: relative;
  z-index: 24;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #7695ab;
  font: 700 .57rem/1 system-ui, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.bfs-intro-progress-track {
  width: min(30vw, 260px);
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(126, 181, 216, .13);
}

.bfs-intro-progress-track span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--bfs-blue), var(--bfs-gold-bright));
  transform: scaleX(0);
  transform-origin: left center;
  animation: bfs-progress 12.2s linear forwards;
}

@keyframes bfs-progress {
  to { transform: scaleX(1); }
}

/* Public prototype tab: intentionally separate from the admin "Sistema" standard. */
.bfia-header {
  gap: 16px;
}

.bfs-systems-tab {
  appearance: none;
  margin-left: auto;
  border: 1px solid rgba(109, 190, 241, .28);
  border-radius: 999px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #dff3ff;
  background: rgba(6, 27, 45, .72);
  cursor: pointer;
  font: 760 .69rem/1 system-ui, sans-serif;
  letter-spacing: .045em;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.bfs-systems-tab::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--bfs-gold);
  box-shadow: 0 0 10px rgba(227, 181, 91, .7);
}

.bfs-systems-tab:hover,
.bfs-systems-tab:focus-visible {
  border-color: rgba(255, 224, 154, .62);
  background: rgba(11, 43, 67, .84);
  transform: translateY(-1px);
}

.bfs-system-dialog {
  width: min(1120px, calc(100vw - 34px));
  max-height: min(820px, calc(100dvh - 34px));
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(119, 192, 236, .28);
  border-radius: 27px;
  color: #eef8ff;
  background:
    radial-gradient(circle at 84% 10%, rgba(227, 181, 91, .13), transparent 28%),
    radial-gradient(circle at 10% 90%, rgba(49, 168, 255, .12), transparent 28%),
    linear-gradient(145deg, #0a2235, #03101d 70%);
  box-shadow: 0 36px 120px rgba(0, 0, 0, .65);
}

.bfs-system-dialog::backdrop {
  background: rgba(0, 7, 14, .78);
  backdrop-filter: blur(14px);
}

.bfs-system-dialog[open] {
  animation: bfs-dialog-in .34s cubic-bezier(.2, .82, .24, 1);
}

@keyframes bfs-dialog-in {
  from { opacity: 0; transform: translateY(18px) scale(.975); }
}

.bfs-dialog-inner {
  max-height: min(820px, calc(100dvh - 34px));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(22px, 4vw, 54px);
}

.bfs-dialog-close {
  position: sticky;
  z-index: 4;
  top: 0;
  float: right;
  appearance: none;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(145, 203, 238, .25);
  border-radius: 50%;
  color: #dff4ff;
  background: rgba(4, 19, 32, .84);
  cursor: pointer;
  font: 400 1.35rem/1 system-ui, sans-serif;
}

.bfs-dialog-kicker {
  display: block;
  margin-bottom: 12px;
  color: var(--bfs-gold-bright);
  font: 800 .63rem/1 system-ui, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.bfs-dialog-inner h2 {
  max-width: 720px;
  margin: 0;
  color: #f5fbff;
  font: 830 clamp(2rem, 4vw, 4.1rem)/.98 system-ui, sans-serif;
  letter-spacing: -.055em;
}

.bfs-dialog-lead {
  max-width: 760px;
  margin: 17px 0 28px;
  color: #a9c9dc;
  font: 500 clamp(.88rem, 1.15vw, 1.06rem)/1.55 system-ui, sans-serif;
}

.bfs-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.bfs-type-card {
  position: relative;
  min-width: 0;
  min-height: 176px;
  padding: 19px;
  overflow: hidden;
  border: 1px solid rgba(112, 184, 227, .18);
  border-radius: 19px;
  background: linear-gradient(145deg, rgba(19, 56, 81, .6), rgba(4, 18, 30, .78));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
}

.bfs-type-card::before {
  content: attr(data-code);
  position: absolute;
  right: 11px;
  top: 8px;
  color: rgba(255, 224, 154, .055);
  font: 900 3.8rem/1 system-ui, sans-serif;
  letter-spacing: -.08em;
}

.bfs-type-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 224, 154, .36);
  border-radius: 11px;
  display: grid;
  place-items: center;
  color: var(--bfs-gold-bright);
  background: rgba(227, 181, 91, .08);
  font: 850 .63rem/1 system-ui, sans-serif;
  letter-spacing: .08em;
}

.bfs-type-card h3 {
  margin: 0 0 8px;
  color: #edf8ff;
  font: 780 1rem/1.1 system-ui, sans-serif;
}

.bfs-type-card p {
  margin: 0;
  color: #8eb1c7;
  font: 500 .73rem/1.48 system-ui, sans-serif;
}

.bfs-type-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(111, 183, 227, .15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: #91b5ca;
  font: 560 .77rem/1.4 system-ui, sans-serif;
}

.bfs-type-footer strong {
  color: #f3d48e;
}

@media (max-width: 900px) {
  .bfs-type-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bfs-menu-card { width: clamp(104px, 15vw, 140px); }
  .bfs-vault-wrap { width: clamp(240px, 40vw, 360px); height: clamp(175px, 28vw, 250px); }
}

@media (max-width: 640px) {
  .bfs-intro-frame {
    padding: 14px 13px 15px;
  }

  .bfs-intro-brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 11px;
  }

  .bfs-intro-brand-copy strong { font-size: .65rem; }
  .bfs-intro-brand-copy small { display: none; }
  .bfs-skip { padding: 9px 13px; font-size: .61rem; }

  .bfs-card-field {
    inset: 4% -7% 6%;
  }

  .bfs-menu-card {
    width: 104px;
    min-height: 40px;
    padding: 6px 8px 6px 6px;
    border-radius: 11px;
    gap: 6px;
  }

  .bfs-menu-card i {
    width: 27px;
    height: 27px;
    border-radius: 8px;
    font-size: .44rem;
  }

  .bfs-menu-card b {
    font-size: .58rem;
  }

  .bfs-vault-wrap {
    top: 51%;
    width: min(66vw, 280px);
    height: min(48vw, 205px);
  }

  .bfs-reveal {
    top: 49%;
  }

  .bfs-reveal-kicker {
    margin-bottom: 13px;
    font-size: .52rem;
    letter-spacing: .18em;
  }

  .bfs-reveal h1 {
    font-size: clamp(3rem, 17vw, 5rem);
    line-height: .88;
  }

  .bfs-reveal p {
    width: min(94%, 470px);
    margin-top: 21px;
    font-size: .84rem;
    line-height: 1.48;
  }

  .bfs-intro-progress {
    gap: 8px;
    font-size: .48rem;
  }

  .bfs-intro-progress-track {
    width: 34vw;
  }

  .bfs-systems-tab {
    padding: 8px 10px;
    font-size: .61rem;
  }

  .bfs-system-dialog {
    width: calc(100vw - 18px);
    max-height: calc(100dvh - 18px);
    border-radius: 21px;
  }

  .bfs-dialog-inner {
    max-height: calc(100dvh - 18px);
    padding: 20px 16px 22px;
  }

  .bfs-dialog-close {
    width: 36px;
    height: 36px;
  }

  .bfs-dialog-inner h2 {
    max-width: 86%;
    font-size: clamp(1.85rem, 9vw, 3rem);
  }

  .bfs-dialog-lead {
    margin-bottom: 20px;
    font-size: .8rem;
  }

  .bfs-type-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .bfs-type-card {
    min-height: 138px;
    padding: 16px;
  }

  .bfs-type-icon {
    margin-bottom: 17px;
  }

  .bfs-type-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 430px) {
  .bfs-menu-card:nth-child(4n) { display: none; }
  .bfs-vault-wrap { top: 53%; }
  .bfs-scene-glow { bottom: 15%; width: 110vw; height: 45vw; }
}

@media (prefers-reduced-motion: reduce) {
  .bfs-intro-overlay *,
  .bfs-intro-overlay *::before,
  .bfs-intro-overlay *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}


/* QA correction: once collection ends, no menu card remains behind the reveal. */
.bfs-intro-overlay[data-phase="closing"] .bfs-card-field,
.bfs-intro-overlay[data-phase="reveal"] .bfs-card-field {
  opacity: 0;
  pointer-events: none;
}


/* QA correction: deterministic final reveal: the brand statement never competes with residual menu cards. */
.bfs-intro-overlay[data-phase="reveal"] .bfs-card-field {
  opacity: 0 !important;
  visibility: hidden !important;
  transition: none !important;
}

.bfs-intro-overlay[data-phase="reveal"] .bfs-reveal {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  transition: none;
  animation: bfs-reveal-final 1.05s cubic-bezier(.16, .82, .22, 1) both;
}

@keyframes bfs-reveal-final {
  from {
    opacity: 0;
    transform: translate(-50%, -43%) scale(.92);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    filter: blur(0);
  }
}


/* QA correction: mobile reveal containment: final statement stays fully inside 390px and smaller screens. */
@media (max-width: 640px) {
  .bfs-intro-overlay .bfs-reveal {
    width: calc(100% - 24px);
  }

  .bfs-intro-overlay .bfs-reveal h1 {
    width: 100%;
    font-size: clamp(2.55rem, 13vw, 3.75rem) !important;
    line-height: .9;
    letter-spacing: -.065em;
    white-space: normal;
  }

  .bfs-intro-overlay .bfs-reveal h1 span {
    display: block !important;
    margin-bottom: 4px;
    font-size: .92em;
  }

  .bfs-intro-overlay .bfs-reveal p {
    width: min(100%, 340px) !important;
    max-width: 340px !important;
    padding-inline: 4px;
    font-size: .76rem !important;
    overflow-wrap: break-word;
  }

  .bfs-intro-overlay .bfs-reveal p strong {
    display: inline !important;
    white-space: normal !important;
  }
}


/* QA correction: mobile tagline split: the emphasized promise becomes its own readable line. */
@media (max-width: 640px) {
  .bfs-intro-overlay .bfs-reveal p {
    width: calc(100vw - 34px) !important;
    max-width: 356px !important;
    padding-inline: 0;
    text-align: center;
  }

  .bfs-intro-overlay .bfs-reveal p strong {
    display: block !important;
    margin-bottom: 4px;
    white-space: normal !important;
  }
}


/* QA correction: mobile tagline safe width: preserve a visible side margin on 390px and smaller screens. */
@media (max-width: 640px) {
  .bfs-intro-overlay .bfs-reveal p {
    width: min(calc(100vw - 40px), 310px) !important;
    max-width: 310px !important;
    font-size: .73rem !important;
  }
}


/* QA-only static reveal: deterministic viewport inspection; not used in the normal sequence. */
.bfs-intro-overlay.bfs-qa-static .bfs-card-field {
  display: none !important;
}

.bfs-intro-overlay.bfs-qa-static .bfs-reveal {
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1) !important;
  filter: none !important;
  animation: none !important;
  transition: none !important;
}

.bfs-intro-overlay.bfs-qa-static .bfs-vault {
  opacity: .12 !important;
  transform: scale(.68) translateY(32%) !important;
}


/* BF Systems true circular motion: sine/cosine orbit, one-second reading pause, vertical descent, and a 36-second sequence. */
.bfs-menu-card {
  backface-visibility: visible;
  transform-origin: center center;
}

.bfs-menu-card[data-bfs-presenting="true"] {
  border-color: rgba(255, 224, 154, .76);
  box-shadow:
    inset 0 1px rgba(255,255,255,.09),
    0 22px 52px rgba(0,0,0,.42),
    0 0 30px rgba(227,181,91,.24);
}

.bfs-intro-progress-track span {
  animation-duration: 36s !important;
}


/* BF Systems laptop centerpiece: cards orbit a real circle around the open laptop,
   enter its display, BF Systems lights up on-screen, then the laptop lowers under the final name. */
.bfs-intro-overlay .bfs-laptop-wrap {
  top: 51%;
  width: clamp(310px, 31vw, 500px);
  height: clamp(225px, 23vw, 370px);
  transform: translate(-50%, -44%);
  perspective: 1400px;
  transition: top 1.25s cubic-bezier(.16,.82,.22,1), transform 1.25s cubic-bezier(.16,.82,.22,1), opacity 1s ease;
}
.bfs-intro-overlay .bfs-laptop {
  position: absolute;
  inset: 0;
  transform: none;
  filter: drop-shadow(0 30px 38px rgba(0,0,0,.42));
  transform-style: preserve-3d;
  transition: transform 1.25s cubic-bezier(.16,.82,.22,1), filter 1s ease;
}
.bfs-laptop-shadow {
  position: absolute;
  left: 7%;
  right: 7%;
  bottom: 0;
  height: 13%;
  border-radius: 50%;
  background: rgba(0,0,0,.72);
  filter: blur(20px);
}
.bfs-laptop-screen {
  position: absolute;
  z-index: 4;
  left: 8%;
  right: 8%;
  top: 0;
  height: 67%;
  overflow: hidden;
  border: 2px solid rgba(255,224,154,.78);
  border-bottom-width: 4px;
  border-radius: 20px 20px 9px 9px;
  background:
    radial-gradient(circle at 50% 45%, rgba(25,118,178,.24), transparent 43%),
    linear-gradient(145deg,#102b40 0%,#06131f 56%,#02080e 100%);
  box-shadow:
    inset 0 0 0 7px #07121c,
    inset 0 1px rgba(255,255,255,.16),
    0 0 36px rgba(227,181,91,.12);
  transform-origin: 50% 100%;
  transform: perspective(1000px) rotateX(-3deg);
  transition: border-color .8s ease, box-shadow .9s ease, transform 1.1s ease;
}
.bfs-laptop-camera {
  position: absolute;
  z-index: 8;
  left: 50%;
  top: 5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #02070b;
  box-shadow: 0 0 0 1px rgba(255,224,154,.2);
  transform: translateX(-50%);
}
.bfs-laptop-screen-grid {
  position: absolute;
  inset: 10px;
  border-radius: 11px 11px 4px 4px;
  opacity: .34;
  background-image:
    linear-gradient(rgba(109,190,241,.1) 1px,transparent 1px),
    linear-gradient(90deg,rgba(109,190,241,.08) 1px,transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle,#000 0 20%,transparent 75%);
}
.bfs-laptop-dropzone {
  position: absolute;
  z-index: 3;
  inset: 18% 16%;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 18px;
  opacity: 0;
  background: transparent;
  box-shadow: none;
}
.bfs-laptop-dropzone::after { display: none; }
.bfs-laptop-screen-status {
  position: absolute;
  z-index: 5;
  left: 50%;
  top: 50%;
  color: #789cb5;
  font: 750 clamp(.48rem,.57vw,.68rem)/1 system-ui,sans-serif;
  letter-spacing: .18em;
  white-space: nowrap;
  transform: translate(-50%,-50%);
  transition: opacity .55s ease, transform .7s ease;
}
.bfs-laptop-screen-status::before {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  margin-right: 9px;
  border-radius: 50%;
  background: var(--bfs-gold);
  box-shadow: 0 0 12px rgba(227,181,91,.7);
  animation: bfs-laptop-status 1.4s ease-in-out infinite;
}
@keyframes bfs-laptop-status { 50% { opacity: .35; transform: scale(.72); } }
.bfs-laptop-screen-brand {
  position: absolute;
  z-index: 6;
  inset: 10px;
  display: grid;
  place-content: center;
  justify-items: center;
  color: #f6fbff;
  opacity: 0;
  transform: scale(.86);
  filter: blur(7px);
  transition: opacity .9s ease, transform 1s cubic-bezier(.16,.82,.22,1), filter .8s ease;
}
.bfs-laptop-screen-brand i {
  margin-bottom: 2px;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,224,154,.96);
  font: 800 clamp(1.4rem,2.1vw,2.4rem)/1 system-ui,sans-serif;
  font-style: normal;
  letter-spacing: -.04em;
  text-shadow: 0 0 22px rgba(227,181,91,.28);
}
.bfs-laptop-screen-brand b {
  font: 850 clamp(1.7rem,2.8vw,3.2rem)/.92 system-ui,sans-serif;
  letter-spacing: -.065em;
}
.bfs-laptop-screen-brand small {
  margin-top: 10px;
  color: var(--bfs-gold-bright);
  font: 750 clamp(.38rem,.46vw,.54rem)/1 system-ui,sans-serif;
  letter-spacing: .14em;
}
.bfs-laptop-hinge {
  position: absolute;
  z-index: 6;
  left: 16%;
  right: 16%;
  top: 65%;
  height: 9px;
  border: 1px solid rgba(255,224,154,.6);
  border-radius: 999px;
  background: linear-gradient(180deg,#43586a,#0b1823);
  box-shadow: 0 4px 9px rgba(0,0,0,.4);
}
.bfs-laptop-base {
  position: absolute;
  z-index: 5;
  left: 1%;
  right: 1%;
  top: 66%;
  height: 29%;
  border: 1px solid rgba(255,224,154,.68);
  clip-path: polygon(8% 0,92% 0,100% 78%,94% 100%,6% 100%,0 78%);
  background:
    linear-gradient(100deg,transparent 18%,rgba(255,224,154,.13) 48%,transparent 72%),
    linear-gradient(165deg,#263b4b 0%,#101f2b 53%,#050d14 100%);
  box-shadow: inset 0 1px rgba(255,255,255,.16),0 18px 32px rgba(0,0,0,.38);
  transform-origin: 50% 0;
  transform: perspective(720px) rotateX(53deg) scaleY(1.42);
}
.bfs-laptop-keyboard {
  position: absolute;
  left: 12%;
  right: 12%;
  top: 17%;
  height: 44%;
  border-radius: 5px;
  background:
    repeating-linear-gradient(90deg,transparent 0 7%,rgba(255,224,154,.3) 7.4% 8.3%,transparent 8.7% 10%),
    repeating-linear-gradient(0deg,transparent 0 27%,rgba(255,224,154,.28) 28% 31%,transparent 32% 36%),
    rgba(2,8,13,.78);
  box-shadow: inset 0 0 0 1px rgba(255,224,154,.22),0 2px 6px rgba(0,0,0,.45);
}
.bfs-laptop-trackpad {
  position: absolute;
  left: 39%;
  right: 39%;
  bottom: 7%;
  height: 22%;
  border: 1px solid rgba(255,224,154,.28);
  border-radius: 5px;
  background: rgba(6,17,25,.6);
}
.bfs-intro-overlay[data-phase="closing"] .bfs-laptop-screen,
.bfs-intro-overlay[data-phase="reveal"] .bfs-laptop-screen {
  border-color: rgba(255,224,154,.98);
  box-shadow:
    inset 0 0 0 7px #07121c,
    inset 0 1px rgba(255,255,255,.18),
    0 0 54px rgba(227,181,91,.35);
}
.bfs-intro-overlay[data-phase="closing"] .bfs-laptop-screen-status,
.bfs-intro-overlay[data-phase="reveal"] .bfs-laptop-screen-status {
  opacity: 0;
  transform: translate(-50%,-42%) scale(.9);
}
.bfs-intro-overlay[data-phase="closing"] .bfs-laptop-screen-brand,
.bfs-intro-overlay[data-phase="reveal"] .bfs-laptop-screen-brand {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}
.bfs-intro-overlay[data-phase="closing"] .bfs-laptop {
  transform: scale(1.035);
  filter: drop-shadow(0 0 34px rgba(227,181,91,.28));
}
.bfs-intro-overlay[data-phase="reveal"] .bfs-laptop-wrap {
  top: 70%;
  transform: translate(-50%,-40%) scale(.72);
  opacity: .9;
}
.bfs-intro-overlay[data-phase="reveal"] .bfs-laptop {
  transform: none;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.48)) drop-shadow(0 0 30px rgba(227,181,91,.17));
  opacity: 1;
}
.bfs-intro-overlay .bfs-reveal {
  top: 34%;
}
.bfs-intro-overlay[data-phase="reveal"] .bfs-reveal {
  transform: translate(-50%,-50%) scale(1);
}
.bfs-intro-overlay .bfs-reveal h1 {
  font-size: clamp(2.9rem,6.2vw,7.2rem);
}
.bfs-intro-overlay .bfs-reveal p {
  margin-top: clamp(15px,2vh,22px);
}
.bfs-intro-overlay.bfs-qa-static .bfs-laptop-wrap {
  top: 70% !important;
  opacity: .9 !important;
  transform: translate(-50%,-40%) scale(.72) !important;
}
.bfs-intro-overlay.bfs-qa-static .bfs-laptop {
  opacity: 1 !important;
  transform: none !important;
  filter: drop-shadow(0 24px 40px rgba(0,0,0,.48)) !important;
}
.bfs-intro-overlay.bfs-qa-static .bfs-laptop-screen-brand {
  opacity: 1 !important;
  transform: scale(1) !important;
  filter: none !important;
}
.bfs-intro-overlay.bfs-qa-static .bfs-laptop-screen-status { opacity: 0 !important; }
@media (max-width: 640px) {
  .bfs-intro-overlay .bfs-laptop-wrap {
    top: 52%;
    width: min(78vw,300px);
    height: min(58vw,225px);
  }
  .bfs-intro-overlay[data-phase="reveal"] .bfs-laptop-wrap {
    top: 72%;
    transform: translate(-50%,-38%) scale(.8);
  }
  .bfs-intro-overlay .bfs-reveal { top: 31%; }
  .bfs-intro-overlay .bfs-reveal-kicker { margin-bottom: 10px; }
  .bfs-intro-overlay .bfs-reveal h1 {
    font-size: clamp(2.35rem,12vw,3.45rem) !important;
  }
  .bfs-intro-overlay .bfs-reveal p {
    margin-top: 12px;
    font-size: .7rem !important;
  }
}

/* BF Systems gathered-card sequence and light laptop screen — 2026-07-26. */
.bfs-intro-progress-track span {
  animation-duration: 40s !important;
}
.bfs-menu-card[data-bfs-gathered="true"] {
  border-color: rgba(255,224,154,.84);
  box-shadow:
    inset 0 1px rgba(255,255,255,.16),
    0 12px 24px rgba(0,0,0,.3),
    0 0 24px rgba(227,181,91,.18);
}
.bfs-menu-card[data-bfs-dropping="true"] {
  border-color: rgba(139,202,255,.88);
}
.bfs-laptop-screen {
  border-color: rgba(8,120,255,.62);
  background:
    radial-gradient(circle at 50% 44%, rgba(255,255,255,.98), rgba(232,244,255,.92) 48%, rgba(199,230,255,.96) 100%),
    linear-gradient(145deg,#f9fdff 0%,#e8f4ff 58%,#d7edff 100%);
  box-shadow:
    inset 0 0 0 7px rgba(232,244,255,.94),
    inset 0 1px rgba(255,255,255,.95),
    0 0 38px rgba(8,120,255,.2);
}
.bfs-laptop-screen-grid {
  opacity: .58;
  background-image:
    linear-gradient(rgba(8,120,255,.12) 1px,transparent 1px),
    linear-gradient(90deg,rgba(8,120,255,.1) 1px,transparent 1px);
}
.bfs-laptop-screen-status {
  color: #245e86;
}
.bfs-laptop-screen-status::before {
  background: #0878ff;
  box-shadow: 0 0 12px rgba(8,120,255,.58);
}
.bfs-laptop-screen-brand {
  color: #071b3d;
}
.bfs-laptop-screen-brand i {
  -webkit-text-stroke: 1px rgba(8,120,255,.9);
  text-shadow: 0 0 18px rgba(8,120,255,.2);
}
.bfs-laptop-screen-brand small {
  color: #075eea;
}
.bfs-intro-overlay[data-phase="closing"] .bfs-laptop-screen,
.bfs-intro-overlay[data-phase="reveal"] .bfs-laptop-screen {
  border-color: rgba(8,120,255,.86);
  box-shadow:
    inset 0 0 0 7px rgba(232,244,255,.98),
    inset 0 1px rgba(255,255,255,1),
    0 0 54px rgba(8,120,255,.3);
}

/* Exact centered stack, real favicon and crisp black labels — 2026-07-26. */
.bfs-intro-progress-track span {
  animation-duration: 55s !important;
}
.bfs-menu-card {
  color: #05070a;
  border: 1px solid rgba(8,120,255,.4);
  background: linear-gradient(145deg,#ffffff 0%,#f4faff 58%,#e8f4ff 100%);
  box-shadow:
    inset 0 1px rgba(255,255,255,1),
    0 14px 30px rgba(5,20,47,.22),
    0 0 0 1px rgba(255,255,255,.5);
  backdrop-filter: none;
  animation-name: bfs-card-arrive-crisp;
  animation-duration: 1.05s;
  animation-timing-function: cubic-bezier(.18,.82,.25,1);
}
.bfs-menu-card::after {
  display: none !important;
}
.bfs-menu-card i {
  overflow: hidden;
  border-color: rgba(8,120,255,.28);
  color: #071b3d;
  background: #ffffff;
  box-shadow: 0 4px 12px rgba(8,120,255,.14);
}
.bfs-menu-card i img {
  width: 82%;
  height: 82%;
  display: block;
  object-fit: contain;
  image-rendering: auto;
}
.bfs-menu-card b {
  color: #050505;
  font: 900 clamp(.78rem,.79vw,.98rem)/1.05 Inter,system-ui,sans-serif;
  letter-spacing: 0;
  text-shadow: none;
}
.bfs-menu-card[data-bfs-presenting="true"],
.bfs-menu-card[data-bfs-gathered="true"],
.bfs-menu-card[data-bfs-dropping="true"] {
  opacity: 1;
  border-color: rgba(8,120,255,.68);
  background: linear-gradient(145deg,#ffffff 0%,#f7fbff 55%,#e8f4ff 100%);
}
.bfs-menu-card[data-bfs-presenting="true"] b,
.bfs-menu-card[data-bfs-gathered="true"] b,
.bfs-menu-card[data-bfs-dropping="true"] b {
  color: #000000;
}
@keyframes bfs-card-arrive-crisp {
  from {
    opacity: 0;
    transform: translate3d(0,12px,-30px) rotate(var(--card-r)) scale(.94);
  }
  to {
    opacity: 1;
    transform: translate3d(0,0,0) rotate(var(--card-r)) scale(1);
  }
}

/* BF Systems screen identity with real, logical side modules. */
.bfs-laptop-screen-brand {
  inset: 13px 15px 12px;
  grid-template-columns: minmax(48px,1fr) auto minmax(48px,1fr);
  place-content: stretch;
  align-items: center;
  gap: clamp(5px,.7vw,11px);
}
.bfs-screen-brand-core {
  min-width: 0;
  display: grid;
  justify-items: center;
  align-content: center;
}
.bfs-screen-favicon {
  width: clamp(24px,2.4vw,40px);
  height: clamp(24px,2.4vw,40px);
  margin-bottom: 3px;
  border: 1px solid rgba(8,120,255,.16);
  border-radius: 10px;
  object-fit: contain;
  opacity: .86;
  filter: saturate(.72) contrast(.94);
  mix-blend-mode: multiply;
  box-shadow: 0 5px 14px rgba(8,120,255,.12);
}
.bfs-screen-brand-core i {
  margin: 0 0 2px;
  color: #075eea;
  -webkit-text-stroke: 0;
  font: 950 clamp(.72rem,1.12vw,1.28rem)/1 Inter,system-ui,sans-serif;
  letter-spacing: .12em;
  text-shadow: none;
}
.bfs-screen-brand-core b {
  color: #071b3d;
  font: 950 clamp(1.05rem,2.05vw,2.35rem)/.96 Inter,system-ui,sans-serif;
  letter-spacing: -.045em;
  white-space: nowrap;
}
.bfs-screen-brand-core small {
  margin-top: clamp(5px,.7vw,9px);
  color: #075eea;
  font: 900 clamp(.32rem,.46vw,.55rem)/1 Inter,system-ui,sans-serif;
  letter-spacing: .11em;
  white-space: nowrap;
}
.bfs-screen-side {
  min-width: 0;
  display: grid;
  gap: clamp(3px,.35vw,5px);
}
.bfs-screen-side em {
  min-width: 0;
  display: grid;
  grid-template-columns: clamp(8px,.72vw,12px) 1fr;
  align-items: center;
  gap: clamp(3px,.35vw,5px);
  padding: clamp(3px,.35vw,5px);
  border: 1px solid rgba(8,120,255,.13);
  border-radius: clamp(4px,.45vw,7px);
  color: #173c64;
  background: rgba(255,255,255,.72);
  box-shadow: 0 3px 9px rgba(8,120,255,.08);
  font: 800 clamp(.27rem,.37vw,.44rem)/1 Inter,system-ui,sans-serif;
  font-style: normal;
  white-space: nowrap;
}
.bfs-screen-side em::before {
  content: "";
  width: clamp(8px,.72vw,12px);
  height: clamp(8px,.72vw,12px);
  border: 1px solid rgba(8,120,255,.3);
  border-radius: 3px;
  background:
    radial-gradient(circle at 50% 35%,#0878ff 0 18%,transparent 20%),
    linear-gradient(145deg,#e8f4ff,#ffffff);
  box-shadow: inset 0 -3px rgba(8,120,255,.08);
}
.bfs-screen-side-right em::before {
  border-radius: 50%;
  background:
    linear-gradient(90deg,transparent 44%,rgba(8,120,255,.65) 45% 55%,transparent 56%),
    linear-gradient(transparent 44%,rgba(8,120,255,.65) 45% 55%,transparent 56%),
    #eef8ff;
}
@media (max-width: 640px) {
  .bfs-laptop-screen-brand {
    inset: 11px 12px 9px;
    grid-template-columns: 52px minmax(88px,1fr) 52px;
    gap: 4px;
  }
  .bfs-screen-side em {
    grid-template-columns: 8px 1fr;
    gap: 3px;
    padding: 3px;
    font-size: .27rem;
  }
  .bfs-screen-brand-core b {
    font-size: clamp(.92rem,5vw,1.18rem);
  }
  .bfs-screen-brand-core small {
    font-size: .29rem;
    letter-spacing: .075em;
  }
}

/* Technological, phase-aware footer. */
.bfs-intro-progress {
  min-height: 28px;
  gap: 14px;
  padding: 7px 14px;
  color: #8bcaff;
  font: 900 clamp(.5rem,.58vw,.66rem)/1 Inter,system-ui,sans-serif;
  letter-spacing: .18em;
  text-shadow: 0 0 14px rgba(49,168,255,.28);
}
.bfs-intro-progress::before {
  content: "SYSTEM CORE";
  padding: 4px 6px;
  border: 1px solid rgba(49,168,255,.2);
  border-radius: 4px;
  color: rgba(199,230,255,.76);
  background: rgba(8,120,255,.08);
  font-size: .43rem;
  letter-spacing: .14em;
}
.bfs-intro-progress-track {
  width: min(28vw,250px);
  height: 5px;
  padding: 1px;
  border: 1px solid rgba(49,168,255,.24);
  background:
    repeating-linear-gradient(90deg,rgba(49,168,255,.1) 0 8px,transparent 8px 12px),
    rgba(2,14,26,.68);
  box-shadow: inset 0 0 8px rgba(49,168,255,.08),0 0 14px rgba(49,168,255,.1);
}
.bfs-intro-progress-track span {
  border-radius: inherit;
  background: linear-gradient(90deg,#0878ff,#31a8ff 55%,#e3b55b);
  box-shadow: 0 0 11px rgba(49,168,255,.66);
}
.bfs-intro-overlay[data-phase="loading"] .bfs-intro-progress {
  color: #ffffff;
  text-shadow: 0 0 17px rgba(49,168,255,.58);
}
.bfs-intro-overlay[data-phase="loading"] .bfs-intro-progress::before {
  content: "MODULE STREAM";
  color: #ffffff;
  border-color: rgba(139,202,255,.5);
}
.bfs-intro-overlay[data-phase="closing"] .bfs-intro-progress,
.bfs-intro-overlay[data-phase="reveal"] .bfs-intro-progress {
  color: #e8f4ff;
  text-shadow: 0 0 18px rgba(227,181,91,.42);
}
.bfs-intro-overlay[data-phase="closing"] .bfs-intro-progress::before,
.bfs-intro-overlay[data-phase="reveal"] .bfs-intro-progress::before {
  content: "SYSTEM READY";
  color: #ffe09a;
  border-color: rgba(227,181,91,.42);
  background: rgba(227,181,91,.08);
}
@media (max-width: 640px) {
  .bfs-intro-progress {
    max-width: calc(100vw - 24px);
    flex-wrap: wrap;
    gap: 7px 10px;
    font-size: .45rem;
    text-align: center;
  }
  .bfs-intro-progress::before {
    font-size: .36rem;
  }
  .bfs-intro-progress-track {
    flex-basis: 100%;
    width: min(64vw,230px);
  }
}

/* Final legibility polish: no compounded halo and no truncated active names. */
.bfs-menu-card[data-bfs-presenting="true"],
.bfs-menu-card[data-bfs-gathered="true"],
.bfs-menu-card[data-bfs-dropping="true"] {
  width: clamp(190px,12vw,218px);
}
.bfs-menu-card[data-bfs-presenting="true"] b,
.bfs-menu-card[data-bfs-gathered="true"] b,
.bfs-menu-card[data-bfs-dropping="true"] b {
  overflow: visible;
  color: #000000;
  font-size: clamp(.78rem,.78vw,.96rem);
  text-overflow: clip;
}
.bfs-menu-card[data-bfs-gathered="true"] {
  filter: none !important;
  box-shadow: none !important;
}
.bfs-menu-card[data-bfs-gathered="true"]:not(:has(~ .bfs-menu-card[data-bfs-gathered="true"])) {
  box-shadow:
    0 13px 28px rgba(5,20,47,.2),
    0 0 18px rgba(8,120,255,.16) !important;
}
@media (max-width: 640px) {
  .bfs-menu-card[data-bfs-presenting="true"],
  .bfs-menu-card[data-bfs-gathered="true"],
  .bfs-menu-card[data-bfs-dropping="true"] {
    width: min(180px,64vw);
    min-height: 56px;
  }
  .bfs-menu-card[data-bfs-presenting="true"] b,
  .bfs-menu-card[data-bfs-gathered="true"] b,
  .bfs-menu-card[data-bfs-dropping="true"] b {
    font-size: .7rem;
  }
  .bfs-screen-brand-core small {
    font-size: .32rem;
  }
  .bfs-intro-progress {
    display: grid;
    grid-template-columns: auto minmax(120px,1fr);
    justify-content: center;
    width: min(94vw,360px);
    max-width: 94vw;
    column-gap: 8px;
    row-gap: 6px;
    padding-inline: 5px;
  }
  .bfs-intro-progress > [data-bfs-phase-label] {
    grid-column: 1 / -1;
    font-size: .38rem;
    letter-spacing: .1em;
    white-space: nowrap;
  }
  .bfs-intro-progress::before {
    grid-column: 1;
    grid-row: 2;
  }
  .bfs-intro-progress-track {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
  }
}

/* BF Systems Full HD clarity, official branding and technological scenery — 2026-07-27. */
.bfs-intro-brand {
  gap: clamp(12px, 1.1vw, 18px);
}

.bfs-intro-brand-logo {
  width: clamp(66px, 5.8vw, 94px);
  height: auto;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
  filter: none;
}

.bfs-intro-brand-copy strong {
  color: #ffffff;
  font-size: clamp(.78rem, .86vw, 1rem);
  letter-spacing: .18em;
  text-shadow: none;
}

.bfs-intro-brand-copy small {
  color: #a9d8ff;
  font-size: clamp(.46rem, .52vw, .62rem);
  letter-spacing: .18em;
}

.bfs-tech-layer {
  position: absolute;
  z-index: 1;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  color: #8fd2ff;
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

.bfs-tech-layer::before {
  content: "";
  position: absolute;
  inset: 2% 0 4%;
  opacity: .32;
  background:
    linear-gradient(90deg, rgba(49,168,255,.26) 1px, transparent 1px) 0 0 / 54px 54px,
    linear-gradient(rgba(49,168,255,.18) 1px, transparent 1px) 0 0 / 54px 54px,
    radial-gradient(circle at 8% 24%, rgba(49,168,255,.22) 0 2px, transparent 3px),
    radial-gradient(circle at 91% 68%, rgba(227,181,91,.25) 0 2px, transparent 3px);
  mask-image: linear-gradient(90deg, #000, transparent 32%, transparent 68%, #000);
}

.bfs-tech-panel {
  position: absolute;
  width: min(21vw, 330px);
  padding: 12px 14px;
  border: 1px solid rgba(92, 186, 246, .24);
  border-left: 3px solid rgba(49, 168, 255, .62);
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(4, 29, 48, .86), rgba(4, 19, 33, .46));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  opacity: .68;
}

.bfs-tech-panel::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #59c5ff, transparent);
  animation: bfs-tech-scan 5.8s linear infinite;
}

.bfs-tech-panel span {
  display: block;
  margin-bottom: 8px;
  color: #d9f1ff;
  font-size: clamp(.39rem, .47vw, .56rem);
  font-weight: 900;
  letter-spacing: .16em;
}

.bfs-tech-panel code,
.bfs-tech-panel i,
.bfs-tech-panel b,
.bfs-tech-panel em {
  display: block;
  margin-top: 5px;
  color: #79bce8;
  font-size: clamp(.38rem, .45vw, .54rem);
  font-style: normal;
  font-weight: 650;
  line-height: 1.45;
  white-space: nowrap;
}

.bfs-tech-code {
  left: 1.2%;
  top: 16%;
}

.bfs-tech-code code:nth-of-type(1) { color: #d9ecff; }
.bfs-tech-code code:nth-of-type(2) { color: #f0cb79; }
.bfs-tech-code code:nth-of-type(3) { color: #69d7b0; }

.bfs-tech-ai {
  right: 1.2%;
  top: 14%;
  border-left-color: rgba(227,181,91,.7);
}

.bfs-tech-ai::before {
  content: "AI";
  position: absolute;
  right: 11px;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(227,181,91,.38);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #f2d38d;
  font: 900 .7rem/1 system-ui, sans-serif;
  transform: translateY(-30%);
}

.bfs-tech-ai b { color: #ffffff; letter-spacing: .1em; }
.bfs-tech-ai em { color: #65e0b5; }

.bfs-tech-data {
  left: 1.2%;
  bottom: 12%;
}

.bfs-tech-data code { color: #f4cf7d; }
.bfs-tech-data i { letter-spacing: .07em; }

.bfs-tech-rack {
  right: 1.2%;
  bottom: 11%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4px;
}

.bfs-tech-rack i {
  height: 5px;
  margin: 0;
  border: 1px solid rgba(120,195,240,.22);
  border-radius: 2px;
  background:
    radial-gradient(circle at 7px 50%, #5fe0b2 0 1px, transparent 2px),
    repeating-linear-gradient(90deg, rgba(113,184,229,.2) 0 5px, transparent 5px 9px);
}

.bfs-tech-rack b {
  margin-top: 5px;
  color: #c9e8fb;
  letter-spacing: .08em;
}

.bfs-tech-formulas {
  position: absolute;
  inset: 5% 3% 7%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-content: space-between;
  pointer-events: none;
}

.bfs-tech-formulas span {
  color: rgba(144, 205, 244, .34);
  font-size: clamp(.4rem, .55vw, .68rem);
  font-weight: 750;
  letter-spacing: .12em;
}

.bfs-tech-formulas span:nth-child(even) { justify-self: end; }

@keyframes bfs-tech-scan {
  from { transform: translateY(0); opacity: 0; }
  12% { opacity: .8; }
  88% { opacity: .8; }
  to { transform: translateY(78px); opacity: 0; }
}

/* Solid white cards and integer-scale states keep labels crisp during Full HD playback. */
.bfs-menu-card {
  width: clamp(158px, 10.6vw, 188px);
  min-height: clamp(54px, 4.4vw, 66px);
  padding: 9px 13px 9px 9px;
  border: 2px solid rgba(8,120,255,.58);
  border-radius: 13px;
  color: #000000;
  background: #ffffff;
  box-shadow: 0 9px 18px rgba(4,28,62,.18);
  filter: none !important;
  backdrop-filter: none !important;
  transform-style: flat;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.bfs-menu-card i {
  width: clamp(34px, 2.55vw, 42px);
  height: clamp(34px, 2.55vw, 42px);
  border: 1px solid rgba(8,120,255,.34);
  border-radius: 9px;
  background: #ffffff;
  box-shadow: none;
}

.bfs-menu-card i img {
  width: 88%;
  height: 88%;
  filter: none !important;
}

.bfs-menu-card b {
  color: #000000;
  overflow: visible;
  text-overflow: clip;
  font: 900 clamp(.82rem, .86vw, 1.02rem)/1 Arial, Helvetica, sans-serif;
  letter-spacing: -.01em;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.bfs-menu-card[data-bfs-presenting="true"],
.bfs-menu-card[data-bfs-gathered="true"],
.bfs-menu-card[data-bfs-dropping="true"] {
  width: clamp(226px, 14vw, 254px);
  min-height: 66px;
  border-color: #1787ff;
  background: #ffffff;
  filter: none !important;
}

.bfs-menu-card[data-bfs-presenting="true"] b,
.bfs-menu-card[data-bfs-gathered="true"] b,
.bfs-menu-card[data-bfs-dropping="true"] b {
  color: #000000;
  font-size: clamp(.95rem, 1vw, 1.14rem);
}

.bfs-menu-card[data-bfs-gathered="true"] {
  box-shadow: none !important;
}

.bfs-menu-card[data-bfs-gathered="true"]:not(:has(~ .bfs-menu-card[data-bfs-gathered="true"])) {
  box-shadow: 0 10px 22px rgba(4,28,62,.2) !important;
}

/* Official site logo inside the notebook. */
.bfs-screen-brand-core {
  min-width: clamp(128px, 11vw, 190px);
}

.bfs-screen-site-logo {
  width: clamp(58px, 5.4vw, 92px);
  height: auto;
  margin: 0 auto 2px;
  display: block;
  object-fit: contain;
  filter: none;
}

.bfs-screen-brand-core b {
  margin-top: 0;
  color: #061b3c;
  font-size: clamp(1.1rem, 1.75vw, 2rem);
  letter-spacing: -.035em;
}

.bfs-screen-brand-core small {
  margin-top: clamp(4px, .45vw, 7px);
  color: #075eea;
  font-size: clamp(.34rem, .43vw, .5rem);
}

/* A more dimensional keyboard with distinct rows, keys, function lights and spacebar. */
.bfs-laptop-base {
  background:
    linear-gradient(100deg, transparent 18%, rgba(139,202,255,.16) 48%, transparent 72%),
    linear-gradient(165deg, #385467 0%, #182b3a 52%, #08131d 100%);
}

.bfs-laptop-keyboard {
  left: 10%;
  right: 10%;
  top: 12%;
  height: 49%;
  overflow: hidden;
  border: 1px solid rgba(126,196,238,.38);
  border-radius: 6px;
  background:
    repeating-linear-gradient(90deg, transparent 0 6.2%, rgba(125,190,229,.32) 6.35% 6.7%, transparent 6.85% 7.15%),
    repeating-linear-gradient(0deg, transparent 0 21%, rgba(125,190,229,.3) 21.5% 23%, transparent 23.5% 25%),
    linear-gradient(180deg, #112331, #040a10);
  box-shadow:
    inset 0 0 0 2px rgba(2,8,13,.72),
    inset 0 8px 16px rgba(132,201,241,.05),
    0 3px 7px rgba(0,0,0,.42);
}

.bfs-laptop-keyboard::before {
  content: "";
  position: absolute;
  left: 3%;
  right: 3%;
  top: 8%;
  height: 4px;
  background: repeating-linear-gradient(90deg, #4ab5ff 0 2px, transparent 2px 10px);
  opacity: .72;
}

.bfs-laptop-keyboard::after {
  content: "";
  position: absolute;
  left: 31%;
  right: 31%;
  bottom: 8%;
  height: 17%;
  border: 1px solid rgba(126,196,238,.38);
  border-radius: 2px;
  background: linear-gradient(180deg, #172d3c, #09141d);
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}

.bfs-laptop-trackpad {
  border-color: rgba(126,196,238,.42);
  background: linear-gradient(160deg, rgba(48,79,99,.65), rgba(8,20,29,.7));
  box-shadow: inset 0 1px rgba(255,255,255,.08);
}

/* Loading label is the principal footer message, not a tiny secondary caption. */
.bfs-intro-progress {
  min-height: 42px;
  gap: 12px;
  padding: 8px 16px;
  color: #b9e2ff;
  font-size: clamp(.62rem, .7vw, .82rem);
  letter-spacing: .11em;
  text-shadow: none;
}

.bfs-intro-progress > [data-bfs-phase-label] {
  padding: 7px 11px;
  border: 1px solid rgba(86,186,255,.34);
  border-radius: 6px;
  color: #dff3ff;
  background: rgba(6,48,82,.72);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.025);
  white-space: nowrap;
}

.bfs-intro-overlay[data-phase="loading"] .bfs-intro-progress > [data-bfs-phase-label] {
  border-color: #64c8ff;
  color: #ffffff;
  background: #07559b;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.15),
    0 0 0 2px rgba(49,168,255,.16);
  font-size: clamp(.72rem, .82vw, .96rem);
}

.bfs-intro-overlay[data-phase="loading"] .bfs-intro-progress::before {
  color: #ffffff;
  background: #063963;
}

/* SYSTEM READY stays alone on the notebook for the timing controlled in JS. */
.bfs-intro-overlay[data-phase="closing"] .bfs-laptop-screen-status {
  top: 50%;
  opacity: 1;
  color: #075eea;
  font-size: clamp(.72rem, .9vw, 1rem);
  font-weight: 950;
  letter-spacing: .2em;
  transform: translate(-50%, -50%) scale(1);
}

.bfs-intro-overlay[data-phase="closing"] .bfs-laptop-screen-status::before {
  background: #28c98b;
  box-shadow: 0 0 0 4px rgba(40,201,139,.12);
}

.bfs-intro-overlay[data-phase="closing"] .bfs-laptop-screen-brand {
  opacity: 0;
  transform: scale(.96);
  filter: none;
}

.bfs-intro-overlay[data-phase="reveal"] .bfs-laptop-screen-status {
  opacity: 0;
}

.bfs-intro-overlay[data-phase="reveal"] .bfs-laptop-screen-brand {
  opacity: 1;
  transform: scale(1);
  filter: none;
}

@media (max-width: 900px) {
  .bfs-tech-panel { width: 26vw; opacity: .48; }
  .bfs-screen-brand-core { min-width: 116px; }
}

@media (max-width: 640px) {
  .bfs-intro-brand-logo {
    width: 54px;
  }

  .bfs-intro-brand-copy strong {
    font-size: .67rem;
  }

  .bfs-intro-brand-copy small {
    display: block;
    font-size: .34rem;
    letter-spacing: .11em;
  }

  .bfs-tech-panel {
    display: none;
  }

  .bfs-tech-layer::before {
    opacity: .2;
    background-size: 38px 38px;
  }

  .bfs-tech-formulas {
    inset: 7% 4% 8%;
  }

  .bfs-tech-formulas span {
    font-size: .31rem;
    opacity: .7;
  }

  .bfs-menu-card {
    width: 118px;
    min-height: 46px;
    padding: 7px;
  }

  .bfs-menu-card b {
    font-size: .68rem;
  }

  .bfs-menu-card[data-bfs-presenting="true"],
  .bfs-menu-card[data-bfs-gathered="true"],
  .bfs-menu-card[data-bfs-dropping="true"] {
    width: min(204px, 70vw);
    min-height: 62px;
  }

  .bfs-menu-card[data-bfs-presenting="true"] b,
  .bfs-menu-card[data-bfs-gathered="true"] b,
  .bfs-menu-card[data-bfs-dropping="true"] b {
    font-size: .86rem;
  }

  .bfs-laptop-screen-brand {
    grid-template-columns: 48px minmax(110px, 1fr) 48px;
  }

  .bfs-screen-site-logo {
    width: 54px;
  }

  .bfs-screen-brand-core b {
    font-size: 1rem;
  }

  .bfs-screen-brand-core small {
    font-size: .3rem;
  }

  .bfs-intro-progress {
    width: min(96vw, 374px);
    max-width: 96vw;
    min-height: 52px;
    font-size: .52rem;
  }

  .bfs-intro-progress > [data-bfs-phase-label] {
    padding: 6px 8px;
    font-size: .52rem;
    letter-spacing: .07em;
  }

  .bfs-intro-overlay[data-phase="loading"] .bfs-intro-progress > [data-bfs-phase-label] {
    font-size: .6rem;
  }

  .bfs-intro-overlay[data-phase="closing"] .bfs-laptop-screen-status {
    font-size: .66rem;
  }
}

/* BF Systems edge lanes — 2026-07-27.
   WORKFLOW/DATA and supporting technology stay at the far edges;
   the full central corridor belongs only to the cards and laptop. */
@media (min-width: 901px) {
  .bfs-intro-frame {
    width: 100%;
    max-width: none;
    margin-inline: 0;
    padding-left: clamp(10px, 1.15vw, 22px);
    padding-right: clamp(10px, 1.15vw, 22px);
  }
  .bfs-tech-layer::before {
    inset-inline: 0;
    mask-image: linear-gradient(90deg, #000 0 20%, transparent 29% 71%, #000 80% 100%);
  }
  .bfs-tech-panel { width: min(18vw, 286px); }
  .bfs-tech-code, .bfs-tech-data { left: 0; }
  .bfs-tech-ai, .bfs-tech-rack { right: 0; }
  .bfs-tech-formulas {
    inset: 4% 0 6%;
    grid-template-columns: minmax(0, 20vw) minmax(0, 20vw);
    justify-content: space-between;
    column-gap: 60vw;
  }
  .bfs-tech-formulas span { width: 100%; max-width: 20vw; }
  .bfs-tech-formulas span:nth-child(odd) { justify-self: start; text-align: left; }
  .bfs-tech-formulas span:nth-child(even) { justify-self: end; text-align: right; }
}

/* BF Systems ten-card columns — 2026-07-27.
   Five cards stay in each vertical side lane. Only one card orbits at a time. */
.bfs-intro-progress-track span { animation-duration: 36s !important; }

@media (min-width: 901px) {
  .bfs-tech-code, .bfs-tech-data { left: 0; }
  .bfs-tech-ai, .bfs-tech-rack { right: 0; }
  .bfs-menu-card[data-card-side="left"] {
    left: 20% !important;
  }
  .bfs-menu-card[data-card-side="right"] {
    left: auto !important;
    right: 20%;
  }
  .bfs-tech-panel {
    width: min(19vw, 304px);
    padding: 14px 16px;
    opacity: .96;
    border-color: rgba(103, 199, 255, .62);
    border-left-color: rgba(49, 168, 255, .92);
    background: linear-gradient(135deg, rgba(7, 42, 68, .98), rgba(4, 24, 42, .94));
    box-shadow:
      0 14px 34px rgba(0, 8, 18, .38),
      0 0 22px rgba(49, 168, 255, .10),
      inset 0 0 0 1px rgba(255, 255, 255, .06);
  }
  .bfs-tech-ai, .bfs-tech-rack {
    border-left-color: rgba(227, 181, 91, .92);
    box-shadow:
      0 14px 34px rgba(0, 8, 18, .38),
      0 0 22px rgba(227, 181, 91, .10),
      inset 0 0 0 1px rgba(255, 255, 255, .06);
  }
  .bfs-tech-panel span {
    color: #ffffff;
    font-size: clamp(.54rem, .56vw, .66rem);
  }
  .bfs-tech-panel code,
  .bfs-tech-panel i,
  .bfs-tech-panel b,
  .bfs-tech-panel em {
    color: #bfe8ff;
    font-size: clamp(.48rem, .51vw, .60rem);
  }
}

@media (max-width: 640px) {
  .bfs-card-field { inset: 5% 0 7%; }
  .bfs-menu-card:nth-child(4n) { display: flex; }
  .bfs-menu-card[data-card-side] {
    width: clamp(100px, 27.7vw, 108px);
    min-height: 48px;
    padding: 6px;
    gap: 5px;
  }
  .bfs-menu-card[data-card-side] i { width: 24px; height: 24px; }
  .bfs-menu-card[data-card-side] b {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
    font-size: .59rem;
    line-height: 1.12;
  }
  .bfs-menu-card[data-card-side="left"] { left: 0 !important; right: auto; }
  .bfs-menu-card[data-card-side="right"] { left: auto !important; right: 0; }
  .bfs-menu-card[data-card-row="1"] { top: 5% !important; }
  .bfs-menu-card[data-card-row="2"] { top: 23% !important; }
  .bfs-menu-card[data-card-row="3"] { top: 41% !important; }
  .bfs-menu-card[data-card-row="4"] { top: 59% !important; }
  .bfs-menu-card[data-card-row="5"] { top: 77% !important; }
  .bfs-intro-overlay[data-phase="collecting"] .bfs-laptop-wrap {
    width: min(42vw, 172px);
    height: min(33vw, 135px);
  }
}


/* Real BF system previews — 2026-07-27. */
.bfs-system-preview {
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(105, 198, 255, .66);
  border-left: 3px solid rgba(49, 168, 255, .94);
  border-radius: 11px;
  background: #06192b;
  box-shadow: 0 16px 38px rgba(0, 8, 18, .46), 0 0 24px rgba(49, 168, 255, .12);
  opacity: .98;
}
.bfs-system-preview.bfs-tech-ai,
.bfs-system-preview.bfs-tech-rack {
  border-left-color: rgba(227, 181, 91, .96);
  box-shadow: 0 16px 38px rgba(0, 8, 18, .46), 0 0 24px rgba(227, 181, 91, .12);
}
.bfs-system-preview::before,
.bfs-system-preview::after { display: none; }
.bfs-system-preview > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top left;
  filter: saturate(.96) contrast(1.04);
}
.bfs-system-preview figcaption {
  min-height: 38px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: linear-gradient(90deg, rgba(5, 27, 47, .98), rgba(8, 42, 68, .96));
}
.bfs-system-preview figcaption b,
.bfs-system-preview figcaption span {
  display: block;
  margin: 0;
  color: #ffffff;
  font: 850 clamp(.48rem, .52vw, .62rem)/1.15 system-ui, sans-serif;
  letter-spacing: .04em;
  white-space: nowrap;
}
.bfs-system-preview figcaption span {
  color: #a9dcff;
  font-size: clamp(.42rem, .46vw, .54rem);
  font-weight: 700;
  text-align: right;
}
@media (max-width: 900px) {
  .bfs-system-preview figcaption { display: none; }
}
@media (max-width: 640px) {
  .bfs-system-preview { display: none; }
}

/* BF Systems v13: distinct systems, live data, mobile names and visible web progress. */
.bfs-mobile-name-break { display: none; }
.bfs-personalized-badge {
  position: absolute; z-index: 3; left: 50%; top: 1.5%; margin: 0 !important; padding: 6px 11px;
  border: 1px solid rgba(116,203,255,.32); border-radius: 999px; color: #dff4ff !important;
  background: rgba(5,35,58,.78); box-shadow: 0 8px 24px rgba(0,9,19,.26);
  font: 850 clamp(.44rem,.5vw,.58rem)/1 system-ui,sans-serif !important; letter-spacing: .13em;
  white-space: nowrap; transform: translateX(-50%);
}
.bfs-live-feed {
  position: absolute; z-index: 4; left: 8px; bottom: 43px; width: min(72%,205px); margin: 0 !important;
  padding: 6px 8px; border: 1px solid rgba(127,213,255,.28); border-radius: 6px;
  background: rgba(1,17,30,.82); box-shadow: 0 8px 20px rgba(0,7,14,.28); overflow: hidden;
}
.bfs-live-feed::before {
  content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 6px 1px 0; border-radius: 50%;
  background: #42db9c; box-shadow: 0 0 8px rgba(66,219,156,.72); animation: bfs-live-pulse 1.3s ease-in-out infinite;
}
.bfs-live-feed i {
  display: block !important; width: 0; max-width: 100%; margin: 3px 0 0 !important; overflow: hidden;
  color: #d8f2ff !important; font: 760 clamp(.38rem,.42vw,.5rem)/1.25 Consolas,monospace !important;
  letter-spacing: .04em; white-space: nowrap; animation: bfs-live-write 5.4s steps(28,end) infinite;
}
.bfs-live-feed i:nth-child(2) { animation-delay: .7s; }
.bfs-live-feed i:nth-child(3) { animation-delay: 1.4s; }
@keyframes bfs-live-write {
  0%,8% { width: 0; opacity: .35; }
  38%,78% { width: 100%; opacity: 1; }
  92%,100% { width: 100%; opacity: .45; }
}
@keyframes bfs-live-pulse { 50% { opacity: .38; transform: scale(.76); } }
.bfs-intro-progress-track span { animation: none !important; }
@media (min-width: 901px) {
  .bfs-intro-progress {
    position: absolute; z-index: 80; left: 50%; bottom: clamp(8px,1.2vh,14px); width: min(68vw,820px);
    min-height: 48px; padding: 8px 14px; border: 1px solid rgba(91,191,255,.44); border-radius: 10px;
    background: rgba(2,22,38,.94); box-shadow: 0 14px 34px rgba(0,7,15,.38),inset 0 0 0 1px rgba(255,255,255,.035);
    transform: translateX(-50%);
  }
  .bfs-intro-progress-track { flex: 1 1 auto; width: auto; min-width: 220px; height: 7px; }
}
@media (max-width: 640px) {
  .bfs-menu-card[data-card-name="work-orders"] b { -webkit-line-clamp: 2; font-size: .57rem; line-height: 1.08; }
  .bfs-mobile-name-break { display: inline; }
  .bfs-personalized-badge { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bfs-live-feed i { width: 100%; animation: none; }
  .bfs-live-feed::before { animation: none; }
}


/* Desktop-only fixed progress layout: card counter above, loading rail below. */
@media (min-width: 901px) {
  .bfs-intro-progress {
    display: grid;
    grid-template-columns: 235px minmax(0, 1fr);
    grid-template-rows: 30px 18px;
    grid-template-areas:
      "counter counter"
      "loading track";
    justify-content: stretch;
    align-items: center;
    column-gap: 14px;
    row-gap: 6px;
    height: 76px;
    min-height: 76px;
    max-height: 76px;
    box-sizing: border-box;
  }

  .bfs-intro-progress > [data-bfs-phase-label] {
    grid-area: counter;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 30px;
    min-height: 30px;
    max-height: 30px;
    padding: 0 12px;
    overflow: hidden;
    box-sizing: border-box;
    font-size: clamp(.64rem, .7vw, .78rem) !important;
    line-height: 1;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .bfs-intro-progress::before {
    content: "CARREGANDO MÓDULOS · LOADING YOUR SYSTEM";
    grid-area: loading;
    display: flex;
    align-items: center;
    width: 235px;
    height: 18px;
    padding: 0;
    border: 0;
    box-sizing: border-box;
    color: #dff3ff;
    background: transparent;
    font-size: .5rem;
    line-height: 1;
    letter-spacing: .1em;
    white-space: nowrap;
  }

  .bfs-intro-progress-track {
    grid-area: track;
    align-self: center;
    width: 100%;
    min-width: 0;
    height: 7px;
  }
}
