/* BE Personal Training · Branded boot experience v27.
   Standalone, non-blocking after app readiness; no network fonts or libraries. */
#be-boot-screen {
  --be-boot-ivory:#f3f0e8;
  --be-boot-muted:#aeb7ae;
  --be-boot-gold:#bd9351;
  --be-boot-gold-light:#e5c795;
  --be-boot-move-x:0px;
  --be-boot-move-y:0px;
  position:fixed;
  z-index:9999;
  inset:0;
  overflow:hidden;
  isolation:isolate;
  display:grid;
  grid-template-rows:auto 1fr auto;
  padding:clamp(22px,4vw,49px) clamp(22px,5vw,74px);
  min-height:100dvh;
  background:#111916;
  color:var(--be-boot-ivory);
  font-family:Inter,"Avenir Next",Avenir,Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
  transition:opacity .42s cubic-bezier(.22,.8,.28,1),visibility .42s;
}
#be-boot-screen, #be-boot-screen * { box-sizing:border-box; }
#be-boot-screen[hidden] {display:none!important;}
#be-boot-screen.be-boot-done { opacity:0;visibility:hidden;pointer-events:none; }
#be-boot-screen::before {
  content:"";
  position:absolute;
  inset:-25%;
  z-index:-3;
  background:
    radial-gradient(ellipse at 47% 46%,rgba(101,112,83,.19) 0%,transparent 33%),
    radial-gradient(ellipse at 74% 21%,rgba(187,147,81,.12) 0%,transparent 30%),
    radial-gradient(ellipse at 16% 81%,rgba(60,97,75,.15) 0%,transparent 34%),
    linear-gradient(145deg,#101715 0%,#1b241e 52%,#131a16 100%);
  animation:be-boot-breathe 8s ease-in-out infinite alternate;
}
#be-boot-screen::after {
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  opacity:.2;
  background-image:
    linear-gradient(to right,transparent calc(50% - .5px),rgba(255,255,255,.1) 50%,transparent calc(50% + .5px)),
    repeating-linear-gradient(90deg,transparent 0,transparent 94px,rgba(219,194,149,.075) 95px,transparent 96px);
  mask-image:linear-gradient(to bottom,transparent,black 15%,black 76%,transparent);
  pointer-events:none;
}
.be-boot-top,.be-boot-bottom {
  display:flex;
  position:relative;
  z-index:1;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  font-size:10px;
  letter-spacing:.18em;
  text-transform:uppercase;
  font-weight:750;
}
.be-boot-top-brand { display:inline-flex;align-items:center;gap:11px;letter-spacing:.19em; }
.be-boot-top-dot {height:8px;width:8px;border-radius:50%;background:var(--be-boot-gold);box-shadow:0 0 18px rgba(223,176,92,.65);animation:be-boot-dot 2.4s ease-in-out infinite;}
.be-boot-top-edition {color:rgba(223,226,215,.46);font-weight:550;letter-spacing:.12em;}
.be-boot-center {
  position:relative;
  z-index:1;
  width:min(100%,700px);
  margin:auto;
  padding:18px 0 25px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}
.be-boot-eyebrow {
  display:flex;
  align-items:center;
  gap:10px;
  color:var(--be-boot-gold-light);
  font-size:10px;
  font-weight:770;
  line-height:1.4;
  letter-spacing:.26em;
  text-transform:uppercase;
  animation:be-boot-rise .65s both;
}
.be-boot-eyebrow::before,.be-boot-eyebrow::after{
  content:"";
  display:block;
  width:22px;
  height:1px;
  background:linear-gradient(90deg,transparent,var(--be-boot-gold));
}
.be-boot-eyebrow::after{transform:rotate(180deg)}
.be-boot-logo-stage {
  position:relative;
  display:grid;
  place-items:center;
  width:min(100vw - 48px, 446px);
  width:min(calc(100vw - 48px),446px);
  height:clamp(224px,32vw,327px);
  margin:9px auto 0;
  transform:translate3d(var(--be-boot-move-x),var(--be-boot-move-y),0);
  transition:transform .25s ease-out;
  will-change:transform;
}
.be-boot-logo-aura {
  position:absolute;
  width:min(78%,328px);
  aspect-ratio:1;
  border-radius:50%;
  background:radial-gradient(circle,rgba(186,147,80,.14) 0%,rgba(186,147,80,.04) 46%,transparent 72%);
  filter:blur(13px);
  animation:be-boot-halo 3.2s ease-in-out infinite alternate;
}
.be-boot-orbit {
  position:absolute;
  left:50%;
  top:50%;
  width:clamp(220px,29vw,313px);
  height:clamp(220px,29vw,313px);
  border:1px solid rgba(196,168,120,.16);
  border-radius:50%;
  transform:translate(-50%,-50%) rotate(0);
}
.be-boot-orbit::before {
  content:"";
  position:absolute;
  inset:-7px;
  border-radius:inherit;
  border:1px dashed rgba(203,170,115,.15);
}
.be-boot-orbit--outer {
  animation:be-boot-spin 30s linear infinite;
}
.be-boot-orbit--inner {
  width:clamp(170px,23vw,246px);
  height:clamp(170px,23vw,246px);
  border-color:rgba(184,159,103,.11);
  animation:be-boot-spin-reverse 23s linear infinite;
}
.be-boot-orbit--inner::before{display:none}
.be-boot-orbit--outer::after {
  content:"";
  position:absolute;
  top:10.5%;
  left:13%;
  width:7px;height:7px;
  border-radius:50%;
  background:var(--be-boot-gold-light);
  box-shadow:0 0 0 5px rgba(189,147,81,.11),0 0 20px rgba(231,190,125,.7);
}
.be-boot-logo {
  position:relative;
  z-index:2;
  display:block;
  width:clamp(194px,28vw,289px);
  height:auto;
  max-width:84%;
  filter:drop-shadow(0 15px 30px rgba(2,5,2,.2));
  animation:be-boot-logo-enter .48s ease-out both;
}
.be-boot-spark {
  position:absolute;
  width:4px;height:4px;border-radius:50%;
  background:rgba(222,193,143,.8);
  box-shadow:0 0 13px rgba(221,167,99,.8);
  animation:be-boot-spark 4s ease-in-out infinite;
}
.be-boot-spark--a{left:16%;top:32%}
.be-boot-spark--b{right:18%;bottom:24%;animation-delay:1.4s;width:3px;height:3px}
.be-boot-spark--c{left:28%;bottom:14%;animation-delay:2.1s;width:2px;height:2px}
.be-boot-wordmark {
  margin:-10px 0 0;
  font-size:clamp(10px,1.2vw,12px);
  letter-spacing:.48em;
  text-indent:.48em;
  font-weight:740;
  color:rgba(248,246,239,.93);
  animation:be-boot-rise .42s both;
}
.be-boot-rule{
  width:40px;height:1px;
  background:linear-gradient(90deg,transparent,var(--be-boot-gold),transparent);
  margin:26px auto 20px;
  opacity:.9;
  animation:be-boot-rise .5s .08s both;
}
.be-boot-status {
  color:rgba(234,237,227,.76);
  font-size:clamp(12px,1.5vw,14px);
  font-weight:500;
  line-height:1.6;
  min-height:23px;
  letter-spacing:.012em;
  transition:opacity .18s ease;
}
.be-boot-status.is-changing {opacity:.25}
.be-boot-loader {
  width:clamp(160px,38vw,242px);
  height:3px;
  position:relative;
  overflow:hidden;
  border-radius:10px;
  margin:21px auto 13px;
  background:rgba(231,225,211,.14);
}
.be-boot-loader-fill {
  position:absolute;
  top:0;bottom:0;
  width:38%;
  border-radius:inherit;
  background:linear-gradient(90deg,transparent,#ad7e3d,#f0d6a2,#bd9351,transparent);
  box-shadow:0 0 13px rgba(201,160,92,.5);
  animation:be-boot-loading 1.65s cubic-bezier(.44,0,.24,1) infinite;
}
.be-boot-loader-caption {
  color:rgba(214,218,207,.45);
  text-transform:uppercase;
  font-size:9px;
  letter-spacing:.23em;
  font-weight:700;
}
.be-boot-bottom {
  padding-top:18px;
  border-top:1px solid rgba(245,239,220,.08);
  color:rgba(226,229,217,.45);
  font-size:9px;
  letter-spacing:.13em;
}
.be-boot-bottom strong{color:rgba(233,201,153,.78);font-weight:710;}
.be-boot-bottom-track{display:flex;gap:8px;align-items:center}
.be-boot-bottom-track i{display:inline-block;width:13px;height:1px;background:rgba(226,195,144,.28)}
.be-boot-bottom-track i:first-child{background:var(--be-boot-gold);width:28px}
@keyframes be-boot-breathe {to{transform:translate3d(1.5%,1%,0) scale(1.025)}}
@keyframes be-boot-dot {0%,100%{opacity:.62;transform:scale(.8)}50%{opacity:1;transform:scale(1.14)}}
@keyframes be-boot-spin {to{transform:translate(-50%,-50%) rotate(360deg)}}
@keyframes be-boot-spin-reverse {to{transform:translate(-50%,-50%) rotate(-360deg)}}
@keyframes be-boot-halo {to{transform:scale(1.16);opacity:.58}}
@keyframes be-boot-spark {0%,100%{opacity:.15;transform:translateY(5px)}50%{opacity:.85;transform:translateY(-9px)}}
@keyframes be-boot-logo-enter {from{opacity:.58;transform:translateY(7px) scale(.985)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes be-boot-rise {from{opacity:0;transform:translateY(11px)}to{opacity:1;transform:translateY(0)}}
@keyframes be-boot-loading {0%{transform:translateX(-140%)}100%{transform:translateX(365%)}}
@media(max-width:540px){
 #be-boot-screen{padding:23px 22px 28px;}
 .be-boot-top{font-size:9px;}
 .be-boot-top-edition{display:none;}
 .be-boot-logo-stage{height:clamp(222px,76vw,306px);margin:5px auto 0}
 .be-boot-logo{width:clamp(204px,58vw,269px)}
 .be-boot-orbit--outer{width:clamp(226px,71vw,298px);height:clamp(226px,71vw,298px)}
 .be-boot-orbit--inner{width:clamp(182px,56vw,240px);height:clamp(182px,56vw,240px)}
 .be-boot-wordmark{font-size:10px;letter-spacing:.35em;text-indent:.35em}
 .be-boot-bottom{font-size:9px;}
 .be-boot-bottom-track{display:none}
}
@media(max-height:580px) {
 #be-boot-screen{padding-top:15px;padding-bottom:15px}
 .be-boot-center{padding:5px 0}
 .be-boot-logo-stage{height:198px}
 .be-boot-orbit--outer{width:195px;height:195px}
 .be-boot-orbit--inner{width:165px;height:165px}
 .be-boot-logo{width:195px}
 .be-boot-rule{margin:10px auto}
 .be-boot-loader{margin:13px auto 10px}
}
@media(prefers-reduced-motion:reduce){
 #be-boot-screen,#be-boot-screen::before,#be-boot-screen *,
 #be-boot-screen *::before,#be-boot-screen *::after{
  animation:none!important;
  transition:none!important;
  transform:none!important;
 }
 .be-boot-orbit,.be-boot-orbit--inner{transform:translate(-50%,-50%)!important}
 .be-boot-loader-fill{left:30%;width:40%}
 #be-boot-screen.be-boot-done{display:none!important}
}

/* v28: minimalist composition — exactly one brand label, actual logo, and progress line. */
#be-boot-screen { grid-template-rows:auto minmax(0,1fr); }
#be-boot-screen .be-boot-center { gap:0; padding:0; }
#be-boot-screen .be-boot-logo-stage { margin:0 auto; }
#be-boot-screen .be-boot-loader { margin:4px auto 0; width:clamp(156px,34vw,236px); }
@media(max-width:540px) {
 #be-boot-screen .be-boot-loader { margin:6px auto 0; width:min(48vw,216px); }
}

/* v29: centre the logo and loading line with no other visible text. */
#be-boot-screen { grid-template-rows:minmax(0,1fr); }
