/* Critical startup presentation: available before the JavaScript bundle. */
body { margin: 0; }
.app-loading {
  min-height: 100vh; min-height: 100dvh; margin: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; overflow: hidden; background: #f4f6f9; color: #1e1b60;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
.app-loading .brand { display: flex; align-items: center; gap: 12px; padding: 0; margin: 0; color: #1e1b60; font-size: 18px; font-weight: 700; }
.app-loading .brand img { width: 38px; height: 38px; }
.app-loading .brand small { display: block; margin-top: 3px; color: #66718a; font-size: 10px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; }
.app-loading-flight { position: relative; width: 100%; height: clamp(160px, 24vh, 220px); overflow: hidden; }
.app-loading-airplane {
  position: absolute; top: 20px; left: -64px; width: 48px; height: 48px;
  color: #1e1b60; transform-origin: center;
  animation: travel-hub-flight-horizontal 1.8s linear infinite, travel-hub-flight-arc 1.8s linear infinite;
  will-change: translate, transform;
}
.app-loading > p { margin: 0; padding: 0 20px; color: #66718a; text-align: center; font-size: 14px; }
@keyframes travel-hub-flight-horizontal {
  from { translate: 0 0; }
  to { translate: calc(100vw + 128px) 0; }
}
@keyframes travel-hub-flight-arc {
  0% { transform: translateY(120px) rotate(-5deg) scale(.72); }
  12.5% { transform: translateY(78px) rotate(4deg) scale(.82); }
  25% { transform: translateY(40px) rotate(16deg) scale(.96); }
  37.5% { transform: translateY(12px) rotate(30deg) scale(1.1); }
  50% { transform: translateY(0) rotate(45deg) scale(1.18); }
  62.5% { transform: translateY(8px) rotate(56deg) scale(1.1); }
  75% { transform: translateY(27px) rotate(64deg) scale(.98); }
  87.5% { transform: translateY(53px) rotate(69deg) scale(.84); }
  100% { transform: translateY(84px) rotate(73deg) scale(.72); }
}
@media (prefers-reduced-motion: reduce) {
  .app-loading-airplane { animation: none; left: calc(50% - 24px); translate: none; transform: translateY(40px) rotate(45deg); will-change: auto; }
}

html[data-skip-startup-flight="true"] .app-loading-flight { display: none; }
