/* Kept independent of Bootstrap so the initial app placeholder has its own layout. */
.flow-startup {
  --startup-ink: #123f4a;
  --startup-teal: #20b8a6;
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  box-sizing: border-box;
  padding: max(28px, env(safe-area-inset-top)) max(20px, env(safe-area-inset-right)) max(28px, env(safe-area-inset-bottom)) max(20px, env(safe-area-inset-left));
  overflow: hidden;
  background: radial-gradient(ellipse at 18% 28%, #dceee8 0, transparent 48%), radial-gradient(ellipse at 88% 80%, #edf3df 0, transparent 42%), #f4f7f3;
  color: var(--startup-ink);
  font-family: var(--flow-font, 'Segoe UI', Tahoma, Arial, sans-serif);
  text-align: center;
  line-height: 1.6;
}
.flow-startup *, .flow-startup *::before, .flow-startup *::after { box-sizing: border-box; }
.flow-startup::before, .flow-startup::after {
  position: absolute;
  z-index: -1;
  content: '';
  width: 300px;
  height: 300px;
  border: 1px solid #123f4a08;
  border-radius: 50%;
  pointer-events: none;
}
.flow-startup::before { top: calc(50% - 260px); right: calc(50% - 330px); }
.flow-startup::after { bottom: calc(50% - 270px); left: calc(50% - 320px); width: 230px; height: 230px; }
.flow-startup__card {
  width: min(100%, 400px);
  padding: 42px 32px 30px;
  border: 1px solid #ffffff;
  border-radius: 30px;
  background: linear-gradient(155deg, #ffffff 0%, #fcfdfb 100%);
  box-shadow: inset 0 1px 0 #fff, 0 5px 0 #dbe6df, 0 24px 64px #123f4a12;
}
.flow-startup__brand { display: grid; justify-items: center; gap: 22px; }
.flow-startup__mark {
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
  padding: 20px;
  border: 1px solid #fff;
  border-radius: 30px;
  background: linear-gradient(145deg, #fbfefa, #e9f3ec);
  box-shadow: inset 0 2px 0 #fff, 0 5px 0 #d3e3d9, 0 12px 23px #123f4a12;
  animation: flow-startup-float 3.2s ease-in-out infinite;
}
.flow-startup__mark img { display: block; width: 100%; height: auto; }
.flow-startup__wordmark { color: var(--startup-ink); font-family: 'Segoe UI', Tahoma, Arial, sans-serif; font-size: 28px; font-weight: 750; letter-spacing: -1.2px; line-height: 1.25; white-space: nowrap; }
.flow-startup__wordmark span { color: #0f9b8d; }
.flow-startup__status { margin-top: 30px; }
.flow-startup__status h1 { margin: 0; color: var(--startup-ink); font-size: 21px; font-weight: 700; line-height: 1.7; }
.flow-startup__status p { margin: 7px 0 0; color: #536b68; font-size: 15px; line-height: 1.8; }
.flow-startup__track { direction: ltr; position: relative; height: 5px; width: min(100%, 184px); margin: 26px auto 0; overflow: hidden; border-radius: 100px; background: #e7eee9; box-shadow: inset 0 1px 2px #123f4a08; }
.flow-startup__track span { position: absolute; top: 0; left: 0; width: 44%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b7dc6f, #20b8a6, #168c80); animation: flow-startup-progress 2.1s ease-in-out infinite; }
.flow-startup__tagline { margin: 30px 0 0; padding-top: 22px; border-top: 1px solid #e7eee9; color: #536b68; font-size: 13px; line-height: 1.7; }
@keyframes flow-startup-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@keyframes flow-startup-progress { 0% { transform: translateX(-105%); } 100% { transform: translateX(335%); } }
@media (max-width: 420px) {
  .flow-startup__card { padding: 34px 22px 25px; border-radius: 26px; }
  .flow-startup__mark { width: 94px; height: 94px; border-radius: 26px; padding: 18px; }
  .flow-startup__wordmark { font-size: 26px; }
  .flow-startup__status { margin-top: 25px; }
  .flow-startup__status h1 { font-size: 20px; }
  .flow-startup__status p { font-size: 14px; }
}
@media (max-height: 540px) and (min-width: 600px) {
  .flow-startup__card { padding-top: 24px; padding-bottom: 20px; }
  .flow-startup__mark { width: 76px; height: 76px; padding: 14px; border-radius: 22px; }
  .flow-startup__brand { gap: 16px; }
  .flow-startup__status { margin-top: 18px; }
  .flow-startup__tagline { margin-top: 20px; padding-top: 16px; }
  .flow-startup__track { margin-top: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .flow-startup__mark, .flow-startup__track span { animation: none; transform: none; }
  .flow-startup__track span { left: 28%; }
}
