:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-soft: #08111c;
  --panel: rgba(10, 18, 30, .86);
  --panel-strong: #0b1622;
  --line: rgba(148, 163, 184, .18);
  --text: #f5fbff;
  --muted: #a9b8cb;
  --soft: #d8e6f7;
  --blue: #38bdf8;
  --cyan: #67e8f9;
  --orange: #f97316;
  --green: #22c55e;
  --red: #ef4444;
  --shadow: 0 24px 70px rgba(0, 0, 0, .32);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 4%, rgba(56, 189, 248, .18), transparent 26%),
    radial-gradient(circle at 84% 8%, rgba(249, 115, 22, .13), transparent 24%),
    linear-gradient(180deg, #05070b 0%, #07111c 52%, #05070b 100%);
  color: var(--text);
}

body.light {
  color-scheme: light;
  --bg: #d6dee8;
  --bg-soft: #e8eef5;
  --panel: rgba(246, 250, 255, .9);
  --panel-strong: #f7fbff;
  --line: rgba(71, 85, 105, .22);
  --text: #102033;
  --muted: #44576e;
  --soft: #26384f;
  --shadow: 0 20px 48px rgba(26, 51, 84, .16);
  background:
    radial-gradient(circle at 18% 4%, rgba(14, 116, 144, .16), transparent 25%),
    radial-gradient(circle at 84% 8%, rgba(249, 115, 22, .12), transparent 22%),
    linear-gradient(180deg, #d6dee8 0%, #eef4fa 50%, #d6dee8 100%);
}

a { color: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(5, 7, 11, .78);
  border-bottom: 1px solid var(--line);
}
body.light .site-header { background: rgba(247, 251, 255, .82); }
.nav {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  gap: 12px;
  min-width: 0;
}
.brand img { width: 222px; height: auto; }
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}
.nav-links a {
  padding: 10px 11px;
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 850;
  border-radius: 8px;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
  background: rgba(56, 189, 248, .10);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.theme-toggle,
.btn {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 14px;
  background: rgba(15, 23, 42, .7);
  color: var(--text);
  text-decoration: none;
  font-size: 13px;
  font-weight: 950;
  cursor: pointer;
}
body.light .theme-toggle,
body.light .btn { background: rgba(255, 255, 255, .72); }
.btn.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}
.btn.primary:hover { background: #fb923c; }
.btn.ghost:hover,
.theme-toggle:hover { border-color: rgba(56, 189, 248, .55); }
.mobile-toggle { display: none; }
.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  align-items: center;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 11, .96) 0%, rgba(5, 7, 11, .72) 42%, rgba(5, 7, 11, .38) 100%),
    linear-gradient(0deg, rgba(5, 7, 11, .98) 0%, rgba(5, 7, 11, .1) 52%),
    var(--hero-image, none) center / cover no-repeat;
}
body.light .hero::before {
  background:
    linear-gradient(90deg, rgba(214, 222, 232, .96) 0%, rgba(214, 222, 232, .78) 38%, rgba(214, 222, 232, .42) 100%),
    linear-gradient(0deg, rgba(214, 222, 232, .94) 0%, rgba(214, 222, 232, .12) 54%),
    var(--hero-image, none) center / cover no-repeat;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 0 0 220px;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, .78fr);
  gap: 28px;
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(56, 189, 248, .34);
  border-radius: 999px;
  color: var(--cyan);
  background: rgba(8, 47, 73, .28);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .04em;
  text-transform: uppercase;
}
h1 {
  margin: 18px 0 0;
  max-width: 900px;
  font-size: clamp(3rem, 8vw, 7.2rem);
  line-height: .88;
  letter-spacing: 0;
  font-weight: 950;
}
.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: var(--soft);
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  line-height: 1.65;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.hero-panel {
  border: 1px solid var(--line);
  background: rgba(8, 13, 23, .72);
  border-radius: 10px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
body.light .hero-panel { background: rgba(247, 251, 255, .78); }
.live-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 7px rgba(34, 197, 94, .13);
}
.flight-card { padding: 16px; display: grid; gap: 14px; }
.route-line {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 950;
  font-size: 20px;
}
.route-line span:nth-child(2) {
  height: 2px;
  border-top: 2px dashed rgba(169, 169, 169, .8);
  position: relative;
}
.route-line span:nth-child(2)::after {
  content: "";
  position: absolute;
  top: -7px;
  left: 48%;
  width: 16px;
  height: 16px;
  background: var(--orange);
  clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%);
}
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.mini-stat {
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(15, 23, 42, .72);
}
body.light .mini-stat { background: rgba(255,255,255,.66); }
.mini-stat span { color: var(--muted); font-size: 10px; font-weight: 950; text-transform: uppercase; }
.mini-stat strong { display: block; margin-top: 4px; color: var(--text); font-size: 16px; }
.career-grid { align-items: stretch; }
.career-stat {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 8px;
  min-height: 118px;
  text-align: center;
}
.career-stat strong {
  margin-top: 0;
  font-size: 13px;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.career-metric-logo {
  display: block;
  width: min(100%, 74px);
  height: auto;
  filter: drop-shadow(0 12px 24px rgba(56, 189, 248, .18));
}
body.light .career-metric-logo {
  filter: drop-shadow(0 10px 18px rgba(15, 38, 70, .16));
}
.section { padding: 88px 0; }
.section.compact { padding: 54px 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.section-kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .1em;
  text-transform: uppercase;
}
h2 {
  margin: 8px 0 0;
  color: var(--text);
  font-size: clamp(2rem, 4vw, 4.2rem);
  line-height: .98;
  font-weight: 950;
}
.section-copy {
  max-width: 560px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.card {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 18px 45px rgba(0,0,0,.16);
  overflow: hidden;
}
.card-pad { padding: 22px; }
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(135deg, #0ea5e9, #2563eb);
  font-size: 22px;
}
.card h3 {
  margin: 16px 0 8px;
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.2;
  font-weight: 950;
}
.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.62;
}
.feature-media {
  min-height: 310px;
  background: #09121d;
  position: relative;
  overflow: hidden;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.mock-dashboard {
  display: grid;
  gap: 12px;
  padding: 16px;
}
.mock-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.mock-tile {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(15, 23, 42, .8);
}
body.light .mock-tile { background: rgba(255,255,255,.66); }
.mock-tile small { color: var(--muted); font-weight: 950; text-transform: uppercase; }
.mock-tile b { display: block; margin-top: 6px; font-size: 22px; }
.timeline { display: grid; gap: 10px; }
.timeline-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}
.timeline-dot {
  position: relative;
  width: 46px;
  height: 46px;
  display: block;
  border-radius: 50%;
  color: transparent;
  background: var(--orange);
  font-size: 0;
  font-weight: 950;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.timeline-dot::before {
  content: attr(data-step);
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  font-weight: 950;
}
.timeline-item strong { display: block; color: var(--text); }
.timeline-item span { display: block; margin-top: 3px; color: var(--muted); line-height: 1.5; }
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  align-items: center;
}
.logo-box {
  min-height: 72px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: rgba(255,255,255,.06);
}
body.light .logo-box { background: rgba(255,255,255,.56); }
.logo-box img { max-height: 42px; object-fit: contain; filter: drop-shadow(0 10px 18px rgba(0,0,0,.18)); }
.simulator-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.simulator-box {
  min-height: 118px;
  text-decoration: none;
  align-content: center;
}
.simulator-box img {
  width: 100%;
  max-width: 210px;
  max-height: 58px;
  filter: none;
}
.msfs-box img { max-width: 250px; max-height: 70px; }
.p3d-box img { max-width: 82px; max-height: 70px; }
.faq { display: grid; gap: 10px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--panel);
  padding: 0;
  overflow: hidden;
}
.faq summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--text);
  font-weight: 950;
}
.faq details p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.6;
}
.page-hero {
  padding: 82px 0 44px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(5, 7, 11, .88), rgba(5, 7, 11, .48)),
    var(--hero-image, none) center / cover no-repeat;
}
body.light .page-hero {
  background:
    linear-gradient(90deg, rgba(214, 222, 232, .92), rgba(214, 222, 232, .58)),
    var(--hero-image, none) center / cover no-repeat;
}
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
.page-hero p { max-width: 740px; color: var(--soft); font-size: 1.12rem; line-height: 1.65; }
.site-footer {
  border-top: 1px solid var(--line);
  background: rgba(5, 7, 11, .72);
}
body.light .site-footer { background: rgba(247, 251, 255, .7); }
.footer-grid {
  padding: 42px 0 30px;
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) repeat(3, minmax(150px, .55fr));
  gap: 22px;
}
.footer-brand img { width: 188px; }
.footer-brand p { max-width: 430px; color: var(--muted); line-height: 1.6; }
.footer-col h4 { margin: 0 0 12px; color: var(--text); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; }
.footer-col a {
  display: block;
  margin: 8px 0;
  color: var(--muted);
  text-decoration: none;
  font-weight: 760;
  font-size: 14px;
}
.footer-col a:hover { color: var(--blue); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 16px 0 26px;
  color: #7f93aa;
  font-size: 12px;
  font-weight: 760;
}
.legal-note { color: var(--muted); font-size: 12px; line-height: 1.5; }
.article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  padding: 28px;
  color: var(--soft);
  line-height: 1.72;
}
.article h2 { font-size: 1.6rem; margin-top: 30px; }
.article h2:first-child { margin-top: 0; }
.article p, .article li { color: var(--soft); }
.article a { color: var(--blue); text-decoration: none; font-weight: 900; }
.acars-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.acars-product-logo {
  display: block;
  width: min(58%, 280px);
  max-width: 280px;
  max-height: 235px;
  height: auto;
  object-fit: contain;
  object-position: left center;
  margin: 0 0 22px;
  filter: brightness(0) invert(1) drop-shadow(0 18px 30px rgba(56,189,248,.16));
}
.acars-intro-title {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: clamp(2.15rem, 3.55vw, 3.25rem);
  line-height: 1.04;
}
body.light .acars-product-logo {
  filter: drop-shadow(0 18px 34px rgba(15,38,70,.12));
}

@media (max-width: 980px) {
  .mobile-toggle { display: inline-flex; }
  .nav { flex-wrap: wrap; }
  .nav-links {
    display: none;
    order: 4;
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 14px;
  }
  body.nav-open .nav-links { display: flex; }
  .nav-links a { min-height: 42px; display: flex; align-items: center; }
  .hero-inner { grid-template-columns: 1fr; padding: 24px 0 148px; }
  .hero-panel { max-width: 520px; }
  .grid-3, .grid-2, .footer-grid { grid-template-columns: 1fr; }
  .section-head { align-items: start; flex-direction: column; }
  .logo-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand img { width: 178px; }
  .nav-actions .btn.ghost { display: none; }
  .hero { min-height: auto; }
  .hero-inner { padding: 20px 0 118px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.6rem); }
  .section { padding: 60px 0; }
  .mini-grid { grid-template-columns: 1fr; }
  .mock-row { grid-template-columns: 1fr; }
  .acars-product-logo { width: min(70%, 240px); }
}
