/* Space LogistiX shared visual system for the standalone ILS Xchange terminal. */
.ilsx-app {
  --ilsx-ink: #07111f;
  --ilsx-panel: #0b192b;
  --ilsx-border: #29384d;
  --ilsx-copper: #d98035;
  --ilsx-copper-bright: #ef9a4c;
  --ilsx-muted: #aebbd0;
  min-height: 100vh;
  color: #e9eef5;
  background: #070f1e;
  font-family: Lato, Inter, system-ui, sans-serif;
}

.ilsx-app .ilsx-telemetry {
  color: #d4deea;
  background: #07111f;
  border-color: rgba(217, 128, 53, .35);
  letter-spacing: .015em;
}

.ilsx-app .ilsx-telemetry strong { color: #f0a05b; }
.ilsx-app .ilsx-telemetry button {
  color: #f4f7fb;
  background: linear-gradient(115deg, #b95a20, #d98035) !important;
  box-shadow: 0 4px 16px rgba(190, 104, 37, .12);
}

.ilsx-app .ilsx-header {
  background: rgba(7, 17, 31, .96);
  border-color: rgba(148, 163, 184, .2);
}

.ilsx-brand { min-width: 0; text-decoration: none; }
.ilsx-brand-logo {
  display: block;
  width: 76px;
  height: 36px;
  object-fit: contain;
  border-radius: 3px;
  background: #fff;
}
.ilsx-footer-logo { width: 68px; height: 32px; }
.ilsx-brand > div { line-height: 1.45; }
.ilsx-brand > div > div:first-child { color: #e9a15e; letter-spacing: .12em; }

.ilsx-app .ilsx-primary-nav { gap: 1.15rem; }
.ilsx-app .ilsx-primary-nav a,
.ilsx-app .ilsx-primary-nav button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  padding: 6px 0;
  border: 0;
  border-bottom: 1px solid transparent;
  border-radius: 0;
  color: #cbd5e1;
  background: transparent !important;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .095em;
  line-height: 1.4;
  text-transform: uppercase;
  transition: color .18s ease, border-color .18s ease;
}
.ilsx-app .ilsx-primary-nav a:hover,
.ilsx-app .ilsx-primary-nav button:hover {
  color: #f0a05b;
  border-bottom-color: #d98035;
}
.ilsx-app .ilsx-primary-nav a[class*="text-amber-300"] {
  color: #f0a05b;
  border-bottom-color: #d98035;
}
.ilsx-app .ilsx-primary-nav button { color: #8ed7f3; }
.ilsx-app .ilsx-primary-nav button:hover { color: #b8ecff; border-color: #38bdf8; }

.ilsx-app .ilsx-hero {
  isolation: isolate;
  border-color: rgba(217, 128, 53, .34);
  background-color: #07111f;
  background-image: linear-gradient(90deg, rgba(5, 13, 25, .97) 0%, rgba(5, 13, 25, .84) 52%, rgba(5, 13, 25, .66) 100%), url('/media/hero-poster.jpg');
  background-position: center 46%;
  background-size: cover;
}
.ilsx-app .ilsx-hero-copy { position: relative; z-index: 1; }
.ilsx-app .ilsx-hero-logo {
  display: block;
  width: min(100%, 330px);
  height: auto;
  max-height: 120px;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 1rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .38));
}
.ilsx-app .ilsx-hero h1 {
  max-width: 780px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.08;
  text-wrap: balance;
}
.ilsx-app .ilsx-primary-cta {
  color: #fff;
  background: linear-gradient(115deg, #d98035, #b95a20) !important;
  border: 1px solid #e89148;
  box-shadow: 0 4px 20px rgba(190, 104, 37, .16);
}
.ilsx-app .ilsx-primary-cta:hover { filter: brightness(1.08); transform: translateY(-1px); }
.ilsx-app .ilsx-secondary-cta {
  color: #e7edf4;
  border-color: #46566b;
  background: rgba(8, 20, 36, .82) !important;
}
.ilsx-app .ilsx-secondary-cta:hover { border-color: #d98035; background: #101f32 !important; }
.ilsx-app .ilsx-telemetry-panel {
  background: rgba(9, 24, 42, .91);
  border-color: rgba(148, 163, 184, .27);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .28);
}

.ilsx-app .ilsx-section h2 { letter-spacing: -.035em; }
.ilsx-app .ilsx-exchange-section,
.ilsx-app .ilsx-encyclopedia-section { color: #dce5ef; }
.ilsx-app .ilsx-calculator-section {
  background: #0a1422;
  border-color: rgba(148, 163, 184, .18);
}
.ilsx-app .ilsx-footer {
  background: #050c16;
  border-color: rgba(148, 163, 184, .2);
}

.ilsx-app :focus-visible { outline: 2px solid #38bdf8; outline-offset: 4px; }

@media (max-width: 760px) {
  .ilsx-app .ilsx-header > div { padding-top: 11px; padding-bottom: 11px; gap: 12px; }
  .ilsx-brand-logo { width: 64px; height: 30px; }
  .ilsx-brand > div > div:first-child { font-size: 11px; }
  .ilsx-brand > div > div:last-child { font-size: 9px; }
  .ilsx-app .ilsx-primary-nav { width: 100%; gap: 9px 16px; }
  .ilsx-app .ilsx-primary-nav a,
  .ilsx-app .ilsx-primary-nav button { font-size: 9px; min-height: 30px; }
  .ilsx-app .ilsx-hero { background-position: 60% center; }
  .ilsx-app .ilsx-hero-logo { width: min(100%, 270px); max-height: 92px; margin-bottom: .7rem; }
  .ilsx-app .ilsx-hero-copy { gap: 1rem; }
  .ilsx-app .ilsx-hero h1 { font-size: clamp(2rem, 8vw, 3.1rem); }
}

@media (prefers-reduced-motion: reduce) {
  .ilsx-app *, .ilsx-app *::before, .ilsx-app *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
