/* ============================================================
   DynamicSource — design system
   Dark "flight deck" theme · magenta brand accent
   ============================================================ */

:root {
  /* Palette — "dusk flight deck": dark, but airy */
  --bg: #151d31;
  --bg-2: #19223a;
  --panel: #1e2944;
  --panel-2: #243154;
  --line: rgba(168, 182, 216, 0.16);
  --line-strong: rgba(168, 182, 216, 0.30);
  --ink: #f0f3fb;
  --ink-2: #c8d1e6;
  --muted: #9aa7c4;
  --accent: #e64f85;          /* brand magenta */
  --accent-strong: #f2679a;
  --violet: #8a6cf6;          /* logo violet */
  --cyan: #4adfd2;            /* avionics data */
  --green: #4fdf99;           /* avionics ok */
  --amber: #f6c05e;           /* avionics caution */
  --grad-brand: linear-gradient(92deg, #e64f85 0%, #ae62e6 55%, #8a6cf6 100%);
  --shadow-card: 0 10px 34px rgba(8, 12, 24, 0.35);
  --shadow-pop: 0 20px 60px rgba(8, 12, 24, 0.45);

  /* Type */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", "SF Mono", Menlo, Consolas, monospace;

  /* Rhythm */
  --radius: 14px;
  --radius-lg: 20px;
  --container: 1180px;
  --nav-h: 72px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: rgba(230, 79, 133, 0.35); }

/* ---------- Utilities ---------- */
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.grad-text {
  background: var(--grad-brand);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.kicker {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-strong);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.kicker::before {
  content: "";
  width: 22px; height: 1px;
  background: var(--accent);
  display: inline-block;
}
.section { padding: 96px 0; position: relative; }
.section-head { max-width: 640px; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 14px 0 14px;
}
.section-head p { color: var(--muted); font-size: 17px; }
.center { text-align: center; }
.center.section-head { margin-left: auto; margin-right: auto; }
.center .kicker::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.01em;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 6px 24px rgba(230, 79, 133, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(230, 79, 133, 0.5); }
.btn-ghost {
  border: 1px solid var(--line-strong);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.02);
}
.btn-ghost:hover { border-color: var(--accent); background: rgba(230, 79, 133, 0.08); transform: translateY(-2px); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.25s ease, border-color 0.25s ease, backdrop-filter 0.25s ease;
}
.nav.scrolled {
  background: rgba(21, 29, 49, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
}
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 500; letter-spacing: -0.01em; }
.logo b { font-weight: 800; }
.logo-mark { width: 30px; height: 30px; flex: none; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); background: rgba(255, 255, 255, 0.05); }
.nav-cta { display: flex; align-items: center; gap: 12px; }
.nav-cta .btn { padding: 10px 20px; font-size: 14px; }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-pop);
  padding: 8px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  list-style: none;
}
.nav-links li:hover > .dropdown-menu,
.nav-links li:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
.dropdown-menu a {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 14px;
  border-radius: 9px;
}
.dropdown-menu a small { color: var(--muted); font-weight: 400; font-size: 12.5px; }
.dropdown-menu a:hover { background: rgba(230, 79, 133, 0.09); }
.caret { display: inline-block; margin-left: 5px; opacity: 0.6; font-size: 10px; transform: translateY(-1px); }

/* Mobile nav */
.nav-toggle { display: none; width: 42px; height: 42px; border-radius: 9px; position: relative; z-index: 102; }
.nav-toggle span {
  display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 5px auto; border-radius: 2px; transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-cta .btn-ghost { display: none; }
  .nav-links {
    position: fixed;
    inset: 0;
    background: rgba(21, 29, 49, 0.97);
    backdrop-filter: blur(18px);
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, visibility 0.22s;
    z-index: 101;
  }
  .nav-links.open { opacity: 1; visibility: visible; }
  .nav-links a { font-size: 20px; padding: 12px 22px; text-align: center; }
  .dropdown-menu {
    position: static; transform: none; opacity: 1; visibility: visible;
    background: none; border: 0; box-shadow: none; padding: 0; min-width: 0;
    display: none;
  }
  .nav-links.open .dropdown-menu { display: block; }
  .dropdown-menu a { font-size: 15px; padding: 8px; align-items: center; }
  .dropdown-menu a small { display: none; }
  .caret { display: none; }
}

@media (max-width: 560px) {
  .logo { font-size: 16px; gap: 8px; }
  .logo-mark { width: 26px; height: 26px; }
  .nav-inner { gap: 10px; padding: 0 16px; }
  .nav-cta { gap: 8px; }
  .nav-cta .btn { padding: 9px 13px; font-size: 13px; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--nav-h) + 84px) 0 100px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(1000px 520px at 78% -10%, rgba(138, 108, 246, 0.20), transparent 62%),
    radial-gradient(820px 480px at 12% 8%, rgba(230, 79, 133, 0.15), transparent 60%),
    linear-gradient(180deg, #1a2340 0%, var(--bg) 100%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(168, 182, 216, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 182, 216, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 30%, black 30%, transparent 75%);
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 64px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(36px, 5.2vw, 58px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 20px 0 22px;
}
.hero-sub { font-size: 18px; color: var(--ink-2); max-width: 480px; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.hero-points { display: flex; gap: 26px; flex-wrap: wrap; }
.hero-point { display: flex; align-items: center; gap: 9px; font-size: 13.5px; color: var(--muted); font-family: var(--font-mono); }
.hero-point .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; }

@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-sub { max-width: 60ch; }
}

/* ---------- Hero platform schematic: the suite around the JAWS back-end ---------- */
.hero-net {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}
.hero-net svg { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.hero-net .flow {
  stroke-dasharray: 3 10;
  animation: ds-flow 1.5s linear infinite;
}
@keyframes ds-flow {
  to { stroke-dashoffset: -13; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-net .flow { animation: none; }
}

/* ---------- EFB device mock ---------- */
.efb-wrap { position: relative; perspective: 1400px; }
.efb {
  background: #0f1728;
  border: 1px solid var(--line-strong);
  border-radius: 22px;
  padding: 14px;
  box-shadow: var(--shadow-pop), 0 0 0 6px rgba(255, 255, 255, 0.02);
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform 0.4s ease;
}
.efb-wrap:hover .efb { transform: rotateY(-3deg) rotateX(1deg); }
.efb-screen {
  background: #131c33;
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  font-family: var(--font-mono);
}
.efb-titlebar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 11px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--muted);
}
.efb-titlebar b { color: var(--ink); font-weight: 600; }
.efb-body { padding: 16px; display: grid; gap: 14px; }
.efb-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.efb-cell {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 10px 12px;
}
.efb-cell .lbl { font-size: 9.5px; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 3px; }
.efb-cell .val { font-size: 15px; font-weight: 600; color: var(--ink); }
.efb-cell .val.cyan { color: var(--cyan); }
.efb-cell .val.green { color: var(--green); }
.efb-cell .val.amber { color: var(--amber); }
.efb-speeds {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: rgba(74, 223, 210, 0.05);
  border: 1px solid rgba(74, 223, 210, 0.22);
  border-radius: 9px;
  padding: 13px 12px;
  text-align: center;
}
.efb-speeds .lbl { font-size: 10px; letter-spacing: 0.18em; color: var(--muted); margin-bottom: 2px; }
.efb-speeds .val { font-size: 24px; font-weight: 700; color: var(--cyan); text-shadow: 0 0 18px rgba(74, 223, 210, 0.45); }
.efb-status {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10.5px; letter-spacing: 0.1em; color: var(--muted);
}
.efb-status .ok { color: var(--green); display: inline-flex; align-items: center; gap: 6px; }
.efb-status .ok::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.efb-glow {
  position: absolute; inset: -10% -8%; z-index: -1;
  background: radial-gradient(closest-side, rgba(138, 108, 246, 0.26), transparent 70%);
  filter: blur(12px);
}
.efb-cell .val { white-space: nowrap; }
@media (max-width: 560px) {
  .efb { padding: 9px; transform: none; }
  .efb-body { padding: 12px; gap: 10px; }
  .efb-row { gap: 7px; }
  .efb-cell { padding: 8px 9px; }
  .efb-cell .val { font-size: 12px; }
  .efb-cell .lbl { font-size: 8.5px; }
  .efb-speeds .val { font-size: 19px; }
  .efb-titlebar { font-size: 9.5px; padding: 9px 12px; letter-spacing: 0.08em; }
  .efb-status { flex-wrap: wrap; gap: 4px 10px; }
  .mock-panel-body { padding: 14px; }
  .section { padding: 72px 0; }
}

/* ---------- Trust bar / logo marquee ---------- */
.trustbar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0 20px; background: var(--bg-2); }
.trustbar .lbl { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.trustbar-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  flex-wrap: wrap;
}
.logo-marquee {
  position: relative;
  overflow: hidden;
  margin-top: 6px;
  padding: 46px 0 42px; /* tall test section — air above and below the logos */
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  cursor: grab;
  touch-action: pan-y; /* horizontal swipes drag the logos, vertical still scrolls the page */
  user-select: none;
  -webkit-user-select: none;
}
.logo-marquee.dragging { cursor: grabbing; }
@media (max-width: 640px) {
  .logo-marquee { padding: 30px 0 26px; }
}
.airstream { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.marquee-track {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  animation: ds-marquee 95s linear infinite; /* keeps the same speed with 34 logos */
  will-change: transform;
}
.marquee-group { display: flex; align-items: center; gap: 78px; padding-right: 78px; }
.marquee-group img {
  height: 26px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.62;
  transition: opacity 0.2s ease;
  -webkit-user-drag: none;
}
.marquee-group img:hover { opacity: 1; }
@keyframes ds-marquee { to { transform: translateX(-50%); } }
@media (max-width: 640px) {
  .marquee-group { gap: 48px; padding-right: 48px; }
  .marquee-group img { height: 22px; max-width: 120px; }
}

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 980px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  position: relative;
  overflow: hidden;
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-5px);
  border-color: rgba(230, 79, 133, 0.4);
  box-shadow: var(--shadow-card);
}
.card::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity 0.22s ease;
}
.card:hover::before { opacity: 1; }
.card-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(230, 79, 133, 0.1);
  border: 1px solid rgba(230, 79, 133, 0.25);
  display: grid; place-items: center;
  margin-bottom: 20px;
  color: var(--accent-strong);
}
.card-icon svg { width: 22px; height: 22px; }
.card h3 { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 4px; }
.card .card-tag { font-family: var(--font-mono); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.card-link {
  margin-top: 20px;
  font-weight: 600; font-size: 14px;
  color: var(--accent-strong);
  display: inline-flex; align-items: center; gap: 6px;
}
.card-link .arrow { transition: transform 0.18s ease; }
.card:hover .card-link .arrow { transform: translateX(4px); }

/* ---------- Feature split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split.rev > .split-visual { order: -1; }
@media (max-width: 920px) {
  .split { grid-template-columns: 1fr; gap: 44px; }
  .split.rev > .split-visual { order: 0; }
}
.split h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; margin: 14px 0 16px; }
.split p.lead { color: var(--muted); font-size: 16.5px; margin-bottom: 26px; }
.checklist { list-style: none; display: grid; gap: 13px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--ink-2); }
.checklist .check {
  flex: none; width: 22px; height: 22px; margin-top: 1px;
  border-radius: 7px;
  background: rgba(79, 223, 153, 0.1);
  border: 1px solid rgba(79, 223, 153, 0.3);
  display: grid; place-items: center;
  color: var(--green);
}
.checklist .check svg { width: 11px; height: 11px; }

/* Panel visual (generic framed mock) */
.mock-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}
.mock-panel-bar {
  display: flex; align-items: center; gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
}
.mock-panel-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.mock-panel-bar i:first-child { background: rgba(230, 79, 133, 0.55); }
.mock-panel-bar .t { margin-left: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; color: var(--muted); }
.mock-panel-body { padding: 22px; }

/* ---------- Quotes ---------- */
.quote-card {
  background: linear-gradient(180deg, var(--panel-2) 0%, var(--panel) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px 32px;
}
.quote-card .mark { font-size: 44px; line-height: 1; color: var(--accent); font-family: Georgia, serif; margin-bottom: 12px; }
.quote-card blockquote { font-size: 16.5px; color: var(--ink-2); line-height: 1.65; }
.quote-card figcaption { margin-top: 22px; display: flex; align-items: center; gap: 14px; }
.quote-card .avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-brand);
  display: grid; place-items: center;
  font-weight: 700; font-size: 15px; color: #fff;
  flex: none;
}
.quote-card .who b { display: block; font-size: 14.5px; }
.quote-card .who span { font-size: 13px; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line-strong);
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(600px 280px at 50% -20%, rgba(230, 79, 133, 0.20), transparent 70%),
    radial-gradient(500px 260px at 85% 120%, rgba(138, 108, 246, 0.18), transparent 70%),
    var(--panel-2);
}
.cta-band h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.cta-band p { color: var(--muted); max-width: 480px; margin: 0 auto 32px; font-size: 16.5px; }
.cta-band .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Page hero (subpages) ---------- */
.page-hero {
  position: relative;
  padding: calc(var(--nav-h) + 76px) 0 64px;
  overflow: hidden;
}
.page-hero .hero-bg, .page-hero .hero-grid { z-index: -1; }
.page-hero h1 { font-size: clamp(32px, 4.6vw, 50px); font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; margin: 18px 0 16px; }
.page-hero .lead { font-size: 17.5px; color: var(--ink-2); max-width: 620px; }
.page-hero .hero-actions { margin-top: 30px; margin-bottom: 0; }

/* Breadcrumb */
.crumbs { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.08em; color: var(--muted); display: flex; gap: 8px; align-items: center; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: 0.5; }

/* ---------- FAQ accordion ---------- */
.faq-list { max-width: 760px; margin: 0 auto; display: grid; gap: 14px; }
.faq-item {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(230, 79, 133, 0.4); }
.faq-item summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  flex: none; width: 26px; height: 26px;
  border-radius: 8px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-size: 15px; color: var(--accent-strong);
  transition: transform 0.22s ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); }
.faq-item .faq-body { padding: 0 24px 22px; color: var(--muted); font-size: 15px; max-width: 66ch; }

/* ---------- Aircraft grid ---------- */
.mfr-group { margin-bottom: 52px; }
.mfr-group > h3 {
  font-family: var(--font-mono);
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 18px;
  display: flex; align-items: center; gap: 14px;
}
.mfr-group > h3::after { content: ""; height: 1px; flex: 1; background: var(--line); }
.ac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .ac-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .ac-grid { grid-template-columns: 1fr; } }
.ac-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px 20px;
  display: flex; flex-direction: column; gap: 14px;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.ac-card:hover, .ac-card:focus-visible { transform: translateY(-3px); border-color: rgba(230, 79, 133, 0.4); box-shadow: var(--shadow-card); }
.ac-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
/* EFB-style type data plate: ICAO designators + configuration chips */
.ac-plate {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
  min-height: 122px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-mono);
  background:
    linear-gradient(rgba(168, 182, 216, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 182, 216, 0.045) 1px, transparent 1px),
    radial-gradient(240px 120px at 80% 0%, rgba(138, 108, 246, 0.13), transparent 70%),
    radial-gradient(220px 120px at 10% 100%, rgba(230, 79, 133, 0.09), transparent 70%),
    rgba(10, 14, 26, 0.35);
  background-size: 34px 34px, 34px 34px, auto, auto, auto;
  transition: border-color 0.18s ease;
}
.ac-card:hover .ac-plate { border-color: rgba(230, 79, 133, 0.35); }
.plate-wm {
  position: absolute;
  right: -14px;
  bottom: -18px;
  width: 92px;
  height: 92px;
  color: var(--ink);
  opacity: 0.05;
  pointer-events: none;
  transition: opacity 0.18s ease;
}
.ac-card:hover .plate-wm { opacity: 0.09; }
.ac-plate--modal .plate-wm { width: 150px; height: 150px; right: -20px; bottom: -30px; opacity: 0.06; }
.ac-plate-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.ac-plate-row i, .ac-plate-codes em { font-style: normal; }
.ac-plate-row .tag-green, .ac-plate-row #ac-modal-scap.tag-green { color: var(--green); }
.ac-plate-row .tag-cyan, .ac-plate-row #ac-modal-scap.tag-cyan { color: var(--cyan); }
.ac-plate-codes {
  text-align: center;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--ink);
  text-shadow: 0 0 22px rgba(138, 108, 246, 0.35);
  white-space: nowrap;
}
.ac-plate-codes em { color: var(--accent-strong); font-weight: 400; padding: 0 0.28em; opacity: 0.75; }
.ac-plate-codes.n1 { font-size: 32px; }
.ac-plate-codes.n2 { font-size: 26px; }
.ac-plate-codes.n3 { font-size: 20px; }
.ac-plate-codes.n4 { font-size: 16.5px; }
.ac-plate--modal {
  border: 0;
  background: none;
  min-height: 0;
  width: 100%;
  max-width: 430px;
  gap: 22px;
  padding: 0;
}
.ac-plate--modal .ac-plate-row { font-size: 11px; }
.ac-plate--modal .ac-plate-codes.n1 { font-size: 48px; }
.ac-plate--modal .ac-plate-codes.n2 { font-size: 40px; }
.ac-plate--modal .ac-plate-codes.n3 { font-size: 31px; }
.ac-plate--modal .ac-plate-codes.n4 { font-size: 25px; }
.ac-info { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.ac-info b { font-size: 16px; }
.ac-info span { font-size: 12px; color: var(--muted); font-family: var(--font-mono); letter-spacing: 0.05em; }

/* ---------- Aircraft modal ---------- */
.ac-modal {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--ink); /* native <dialog> defaults to black text; force theme ink */
  max-width: min(620px, 94vw);
  width: 100%;
  margin: auto;
}
.ac-modal::backdrop {
  background: rgba(10, 14, 26, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.ac-modal-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  overflow: hidden auto;
  max-height: calc(100dvh - 32px);
  box-shadow: var(--shadow-pop);
}
.ac-modal[open] .ac-modal-card { animation: modal-in 0.28s ease; }
@keyframes modal-in {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: none; }
}
.ac-modal-media {
  position: relative;
  padding: 40px 34px;
  min-height: 210px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(rgba(168, 182, 216, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(168, 182, 216, 0.05) 1px, transparent 1px),
    radial-gradient(420px 200px at 75% 0%, rgba(138, 108, 246, 0.20), transparent 70%),
    radial-gradient(380px 200px at 15% 100%, rgba(230, 79, 133, 0.14), transparent 70%),
    var(--bg-2);
  background-size: 44px 44px, 44px 44px, auto, auto, auto;
  border-bottom: 1px solid var(--line);
}
.ac-modal-body { padding: 26px 30px 30px; }
.ac-modal-body h3 { font-size: 23px; font-weight: 700; letter-spacing: -0.01em; margin: 8px 0 10px; }
.ac-modal-body .blurb { color: var(--muted); font-size: 14.5px; margin-bottom: 18px; }
.ac-modal-sub {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin: 18px 0 10px;
}
.ac-modal-sub:first-of-type { margin-top: 0; }
.ac-modal-body .checklist { gap: 10px; }
.ac-modal-body .checklist li { font-size: 14px; }
.ac-modal-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.ac-modal-actions .btn { padding: 11px 20px; font-size: 14px; }
.ac-modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(21, 29, 49, 0.65);
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 17px;
  line-height: 1;
  display: grid;
  place-items: center;
  backdrop-filter: blur(4px);
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.ac-modal-close:hover { border-color: var(--accent); transform: rotate(90deg); }
@media (max-width: 560px) {
  .ac-modal-media { padding: 30px 20px; min-height: 160px; }
  .ac-plate--modal .ac-plate-codes.n1 { font-size: 38px; }
  .ac-plate--modal .ac-plate-codes.n2 { font-size: 31px; }
  .ac-plate--modal .ac-plate-codes.n3 { font-size: 24px; }
  .ac-plate--modal .ac-plate-codes.n4 { font-size: 19px; }
  .ac-modal-body { padding: 22px 20px 24px; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
@media (max-width: 800px) { .news-grid { grid-template-columns: 1fr; } }
.news-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: transform 0.2s ease, border-color 0.2s ease;
  display: flex; flex-direction: column; gap: 10px;
}
.news-card:hover { transform: translateY(-4px); border-color: rgba(230, 79, 133, 0.4); }
.news-card time { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--muted); text-transform: uppercase; }
.news-card h3 { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; }
.news-card p { color: var(--muted); font-size: 14.5px; flex: 1; }
.news-tag {
  align-self: flex-start;
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 99px;
  background: rgba(230, 79, 133, 0.1);
  border: 1px solid rgba(230, 79, 133, 0.3);
  color: var(--accent-strong);
}
.news-tag.cyan { background: rgba(74, 223, 210, 0.08); border-color: rgba(74, 223, 210, 0.3); color: var(--cyan); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: start; }
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info { display: grid; gap: 26px; }
.contact-line { display: flex; gap: 16px; align-items: flex-start; }
.contact-line .ci {
  flex: none; width: 42px; height: 42px; border-radius: 11px;
  background: rgba(230, 79, 133, 0.1);
  border: 1px solid rgba(230, 79, 133, 0.25);
  display: grid; place-items: center;
  color: var(--accent-strong);
}
.contact-line .ci svg { width: 19px; height: 19px; }
.contact-line b { display: block; font-size: 15px; margin-bottom: 2px; }
.contact-line p, .contact-line a.plain { color: var(--muted); font-size: 14.5px; }
.contact-line a.plain:hover { color: var(--ink); }

.form {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 34px;
  display: grid;
  gap: 18px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field input, .field textarea, .field select {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--ink);
  font: inherit;
  font-size: 14.5px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(230, 79, 133, 0.18);
}
.field textarea { min-height: 120px; resize: vertical; }
.form .note { font-size: 12.5px; color: var(--muted); }

/* ---------- Footer ---------- */
.footer {
  border-top: 1px solid var(--line);
  background: var(--bg-2);
  padding: 64px 0 34px;
  margin-top: 96px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer .logo { margin-bottom: 16px; }
.footer .about { color: var(--muted); font-size: 14px; max-width: 300px; }
.footer h4 { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer ul { list-style: none; display: grid; gap: 10px; }
.footer ul a { color: var(--ink-2); font-size: 14.5px; transition: color 0.15s ease; }
.footer ul a:hover { color: var(--accent-strong); }
.footer address { font-style: normal; color: var(--muted); font-size: 14.5px; line-height: 1.8; }
.footer address a { color: var(--ink-2); }
.footer address a:hover { color: var(--accent-strong); }
.footer-certs { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.cert-chip {
  font-family: var(--font-mono); font-size: 10.5px; font-weight: 600; letter-spacing: 0.08em;
  padding: 5px 11px; border-radius: 99px;
  border: 1px solid var(--line-strong);
  color: var(--ink-2);
}
.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--muted);
}
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--ink); }
.socials { display: flex; gap: 10px; }
.socials a {
  width: 36px; height: 36px; border-radius: 9px;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--ink-2);
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}
.socials a:hover { border-color: var(--accent); color: var(--accent-strong); transform: translateY(-2px); }
.socials svg { width: 16px; height: 16px; }

/* ---------- Customer logo wall ---------- */
.customer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 980px) { .customer-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .customer-grid { grid-template-columns: repeat(2, 1fr); } }
.customer-card {
  background: linear-gradient(150deg, var(--panel-2), rgba(30, 41, 68, 0.55));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  min-height: 104px;
  display: grid;
  place-items: center;
  padding: 22px 26px;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.customer-card:hover {
  transform: translateY(-3px);
  border-color: rgba(138, 108, 246, 0.45);
  box-shadow: var(--shadow-card);
}
.customer-card img {
  max-width: 100%;
  max-height: 52px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.66;
  transition: opacity 0.18s ease;
}
.customer-card:hover img { opacity: 1; }
.grid-note {
  margin-top: 26px;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.trust-more {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--accent-strong);
  white-space: nowrap;
}
.trust-more:hover { color: var(--ink); }
.quote-solo { max-width: 720px; margin: 0 auto; }

/* ---------- App screenshots ---------- */
.shot-wrap { margin: 0 auto; }
.efb-shot { display: block; width: 100%; height: auto; border-radius: 10px; }
.win-shot { display: block; width: 100%; height: auto; }

/* ---------- Aviation decorations ---------- */
.deco { position: absolute; pointer-events: none; user-select: none; }
.deco-route {
  z-index: -1;
  right: 6%;
  top: -36px;
  width: min(46vw, 640px);
  color: var(--violet);
}
.page-hero .deco-route { width: min(40vw, 520px); top: 10%; right: 0; opacity: 0.75; }
.deco-runway {
  color: var(--ink);
  opacity: 0.1;
  width: 190px;
  left: 5%;
  bottom: -12px;
}
.deco-contrail {
  z-index: 0;
  color: var(--ink);
  opacity: 0.35;
  width: 300px;
  right: 4%;
  top: 22px;
}
.deco-ring {
  z-index: -1;
  right: -100px;
  top: 30px;
  width: min(34vw, 440px);
  opacity: 0.16;
}
@media (max-width: 920px) {
  .deco-route { opacity: 0.4; }
  .deco-contrail { width: 200px; opacity: 0.22; }
  .deco-runway { display: none; }
}

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.no-reveal .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation: none !important; }
}

/* ---------- Prose (news detail / policy) ---------- */
.prose { max-width: 720px; }
.prose p { color: var(--ink-2); margin-bottom: 18px; font-size: 16px; }
.prose h2 { font-size: 24px; margin: 34px 0 14px; letter-spacing: -0.01em; }
.prose ul { margin: 0 0 18px 20px; color: var(--ink-2); }

/* ---------- Contact form states (WordPress form) ---------- */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-notice {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
}
.form-notice.err {
  border: 1px solid rgba(246, 192, 94, 0.35);
  background: rgba(246, 192, 94, 0.08);
  color: var(--amber);
}
.form-sent {
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 56px 30px;
}
.form-sent-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(79, 223, 153, 0.12);
  border: 1px solid rgba(79, 223, 153, 0.4);
  display: grid;
  place-items: center;
  color: var(--green);
}
.form-sent-icon svg { width: 26px; height: 26px; }
.form-sent h3 { font-size: 22px; }
.form-sent p { color: var(--muted); max-width: 420px; margin: 0 auto 10px; }

/* "I'm not a robot" proof-of-work checkbox */
.captcha-box {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  cursor: pointer;
  user-select: none;
  transition: border-color 0.15s ease;
}
.captcha-box:hover { border-color: var(--accent); }
.captcha-check {
  position: relative;
  flex: none;
  width: 22px;
  height: 22px;
  border: 2px solid var(--line-strong);
  border-radius: 5px;
  transition: border-color 0.15s ease;
}
.captcha-box.working .captcha-check {
  border-radius: 50%;
  border-color: var(--line);
  border-top-color: var(--accent);
  animation: cap-spin 0.7s linear infinite;
}
@keyframes cap-spin { to { transform: rotate(360deg); } }
.captcha-box.done { border-color: rgba(79, 223, 153, 0.4); cursor: default; }
.captcha-box.done .captcha-check { border-color: var(--green); }
.captcha-box.done .captcha-check::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 1px;
  width: 6px;
  height: 12px;
  border: solid var(--green);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.captcha-label { font-size: 14px; color: var(--ink-2); }

/* Overview cards: minimal plate — codes only, centred */
.ac-plate--compact {
  justify-content: center;
  align-items: center;
  min-height: 106px;
}
