:root {
  --bg: #07111d;
  --bg-deep: #03070d;
  --panel: #0d1b2b;
  --panel-strong: #10263c;
  --line: #1c3956;
  --line-soft: rgba(120, 166, 214, 0.22);
  --text: #eff6ff;
  --muted: #9fb2c8;
  --soft: #d7e4f4;
  --blue: #2e7bcf;
  --blue-bright: #6bb7ff;
  --gold: #d5a84b;
  --gold-soft: rgba(213, 168, 75, 0.14);
  --green: #42d392;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
  --radius: 8px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(46, 123, 207, 0.08), transparent 420px),
    var(--bg);
  color: var(--soft);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}

body.has-lightbox {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  background: repeating-linear-gradient(
    0deg,
    rgba(255, 255, 255, 0.015),
    rgba(255, 255, 255, 0.015) 1px,
    transparent 1px,
    transparent 4px
  );
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -80px;
  z-index: 200;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 10px 14px;
  border-radius: 4px;
}

.skip-link:focus {
  top: 12px;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(7, 17, 29, 0.86);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: blur(18px);
}

.nav-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.96rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.brand img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a,
.section-label,
.btn,
.trust-row,
.panel-top,
.panel-grid span,
.nav-log span,
.panel-footer,
.tools-grid article span,
.install-grid article span,
.sequence-label {
  font-family: var(--mono);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.nav-links a {
  color: var(--muted);
  font-size: 0.72rem;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 6px;
  padding: 8px 10px;
  margin-left: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: var(--bg-deep);
  padding: 12px 22px;
  font-size: 0.74rem;
  font-weight: 800;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
  background: #e6bc62;
  border-color: #e6bc62;
}

.btn-small {
  min-height: 40px;
  padding: 10px 16px;
}

.btn-ghost {
  background: transparent;
  color: var(--gold);
}

.btn-ghost:hover {
  background: var(--gold-soft);
  color: var(--text);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(13, 27, 43, 0.88), rgba(6, 14, 24, 0.88));
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-label {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.76rem;
  font-weight: 800;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--text);
  line-height: 1.08;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.45rem, 5vw, 4.35rem);
  letter-spacing: 0;
  margin-bottom: 24px;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 3.2rem);
  margin-bottom: 18px;
}

h3 {
  font-size: 1.12rem;
  margin-bottom: 10px;
}

p {
  color: var(--muted);
  font-size: 1.04rem;
}

.hero {
  display: grid;
  align-items: center;
  padding-top: 76px;
  padding-bottom: 56px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  right: -28vw;
  top: 6vh;
  background: radial-gradient(circle, rgba(46, 123, 207, 0.18), transparent 62%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 1fr);
  gap: 58px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-sub {
  max-width: 620px;
  margin-bottom: 30px;
  font-size: 1.18rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--muted);
  font-size: 0.68rem;
}

.trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 10px;
  background: rgba(13, 27, 43, 0.52);
}

.trust-status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 14px rgba(66, 211, 146, 0.85);
}

.flight-panel {
  border: 1px solid rgba(107, 183, 255, 0.38);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(46, 123, 207, 0.18), transparent 38%),
    linear-gradient(180deg, var(--panel-strong), var(--panel));
  box-shadow: var(--shadow);
  overflow: hidden;
}

.panel-top,
.panel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px;
  color: var(--muted);
  font-size: 0.72rem;
  border-bottom: 1px solid var(--line-soft);
}

.live-dot {
  color: var(--green);
}

.route-lockup {
  display: grid;
  grid-template-columns: 1fr 70px 1fr;
  align-items: center;
  gap: 18px;
  padding: 30px 26px;
  color: var(--text);
  font-family: var(--mono);
  font-size: clamp(2.1rem, 5vw, 4.2rem);
}

.route-lockup span {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.route-lockup strong:last-child {
  text-align: right;
}

.panel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.panel-grid div {
  padding: 16px;
  border-right: 1px solid var(--line-soft);
}

.panel-grid div:last-child {
  border-right: 0;
}

.panel-grid span,
.nav-log span {
  display: block;
  color: var(--muted);
  font-size: 0.66rem;
  margin-bottom: 6px;
}

.panel-grid strong,
.nav-log strong {
  color: var(--text);
  font-family: var(--mono);
}

.nav-log {
  padding: 18px;
  display: grid;
  gap: 12px;
}

.nav-log div {
  padding: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(3, 7, 13, 0.28);
}

.panel-footer {
  border-top: 1px solid var(--line-soft);
  border-bottom: 0;
  color: var(--gold);
}

.split,
.feature-band,
.final-inner {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: center;
}

.copy-stack {
  display: grid;
  gap: 16px;
}

.section-header {
  max-width: 700px;
  margin-bottom: 36px;
}

.single-line-heading {
  max-width: none;
  white-space: nowrap;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.tools-grid article,
.install-grid article {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(13, 27, 43, 0.72);
  padding: 22px;
}

.tools-grid article span,
.install-grid article span,
.sequence-label {
  display: block;
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.chart-photo-wrap {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(46, 123, 207, 0.16), rgba(3, 7, 13, 0.28));
  box-shadow: var(--shadow);
  padding: 14px;
}

.chart-photo {
  width: 100%;
  aspect-ratio: 16 / 9.4;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
}

.chart-carousel {
  padding: 14px;
}

.chart-carousel .carousel-title-row {
  margin-bottom: 14px;
}

.chart-carousel .carousel-slide {
  flex-basis: 100%;
}

.chart-carousel .carousel-slide img {
  aspect-ratio: 16 / 9.4;
}

.screenshot-carousel {
  background:
    linear-gradient(180deg, rgba(3, 7, 13, 0.18), rgba(46, 123, 207, 0.07)),
    var(--bg);
  padding: 96px 0;
}

.carousel-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.7fr);
  gap: 38px;
  align-items: end;
  max-width: none;
}

.carousel-header p:last-child {
  margin-bottom: 22px;
}

.carousel-sequence {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(13, 27, 43, 0.58);
  padding: 18px;
  overflow: hidden;
}

.carousel-sequence + .carousel-sequence {
  margin-top: 22px;
}

.carousel-title-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 16px;
}

.carousel-title-row h3 {
  margin-bottom: 0;
}

.carousel-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.carousel-controls button {
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(3, 7, 13, 0.32);
  color: var(--gold);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  min-height: 38px;
  padding: 8px 12px;
  text-transform: uppercase;
}

.carousel-controls button:hover {
  border-color: var(--gold);
  color: var(--text);
}

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  padding: 2px 2px 14px;
  scroll-padding-inline: 2px;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--gold) transparent;
}

.carousel-slide {
  flex: 0 0 min(72%, 780px);
  margin: 0;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: var(--bg-deep);
  overflow: hidden;
  scroll-snap-align: start;
}

.carousel-slide img {
  width: 100%;
  aspect-ratio: 16 / 9.55;
  object-fit: cover;
  cursor: zoom-in;
}

.carousel-slide figcaption {
  border-top: 1px solid var(--line-soft);
  color: var(--muted);
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 12px 14px;
  text-transform: uppercase;
}

.install-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.install-grid ol {
  margin: 14px 0 0;
  padding-left: 22px;
  color: var(--muted);
}

.install-grid li + li {
  margin-top: 8px;
}

.final-cta {
  padding-top: 72px;
}

.final-inner {
  --cta-logo-size: clamp(78px, 9vw, 112px);
  border: 1px solid rgba(213, 168, 75, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(213, 168, 75, 0.14), rgba(46, 123, 207, 0.12));
  padding: 34px;
}

.final-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  justify-self: end;
}

.final-logo {
  width: var(--cta-logo-size);
  height: var(--cta-logo-size);
  object-fit: contain;
  flex: 0 0 auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.3));
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(3, 7, 13, 0.88);
  backdrop-filter: blur(16px);
}

.image-lightbox[aria-hidden="true"] {
  display: none;
}

.image-lightbox img {
  max-width: min(1120px, 96vw);
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-lightbox p {
  margin: 14px 0 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-align: center;
  text-transform: uppercase;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  border: 1px solid var(--gold);
  border-radius: 6px;
  background: var(--gold);
  color: var(--bg-deep);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  min-height: 38px;
  padding: 9px 12px;
  text-transform: uppercase;
}

.footer {
  padding: 52px 0;
  background: var(--bg-deep);
  border-top: 1px solid var(--line-soft);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 1.1fr;
  gap: 38px;
}

.footer a {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.footer a:hover {
  color: var(--text);
}

.footer-brand {
  margin-bottom: 14px;
}

.footer h3 {
  font-size: 0.9rem;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 900px) {
  .nav-inner {
    flex-wrap: wrap;
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    margin-left: 0;
    padding: 12px 0 4px;
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links.is-open {
    display: flex;
  }

  .hero-grid,
  .split,
  .feature-band,
  .final-inner,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .final-actions {
    justify-self: start;
  }

  .tools-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel-grid {
    grid-template-columns: 1fr 1fr;
  }

  .panel-grid div:nth-child(2n) {
    border-right: 0;
  }

  .panel-grid div:nth-child(n + 3) {
    border-top: 1px solid var(--line-soft);
  }

  .carousel-header,
  .carousel-title-row {
    grid-template-columns: 1fr;
  }

  .carousel-header {
    display: block;
  }

  .carousel-title-row {
    display: grid;
  }

  .carousel-track {
    display: flex;
  }

  .carousel-slide {
    flex-basis: 88%;
  }

}

@media (max-width: 620px) {
  .container {
    width: min(100% - 24px, 1120px);
  }

  .brand {
    gap: 8px;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .single-line-heading {
    white-space: normal;
  }

  .section,
  .screenshot-carousel {
    padding: 58px 0;
  }

  h1 {
    font-size: 2.55rem;
  }

  h2 {
    font-size: 2rem;
  }

  p,
  .hero-sub {
    font-size: 1rem;
  }

  .hero {
    padding-bottom: 42px;
  }

  .nav .btn-small {
    width: 100%;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

  .final-actions {
    width: 100%;
    justify-self: stretch;
  }

  .final-actions .btn {
    width: min(100%, 260px);
  }

  .route-lockup {
    grid-template-columns: minmax(0, 1fr) 42px minmax(0, 1fr);
    gap: 10px;
    padding: 24px 18px;
    font-size: 2.1rem;
    text-align: initial;
  }

  .route-lockup span {
    width: auto;
  }

  .route-lockup strong:last-child {
    text-align: right;
  }

  .panel-top,
  .panel-footer {
    padding: 14px 16px;
  }

  .nav-log {
    padding: 14px;
  }

  .carousel-controls {
    width: 100%;
  }

  .carousel-controls button {
    flex: 1;
  }

  .carousel-track {
    display: flex;
    gap: 12px;
    margin-inline: -2px;
    padding-bottom: 12px;
  }

  .carousel-slide {
    flex-basis: 92%;
  }

  .chart-carousel .carousel-slide {
    flex-basis: 100%;
  }

  .carousel-slide figcaption {
    padding: 10px 12px;
  }

  .tools-grid,
  .install-grid {
    grid-template-columns: 1fr;
  }

  .chart-photo-wrap,
  .carousel-sequence {
    padding: 10px;
  }

  .final-inner {
    padding: 24px;
  }

  .image-lightbox {
    padding: 14px;
  }

  .image-lightbox img {
    max-height: 74vh;
  }

  .lightbox-close {
    top: 12px;
    right: 12px;
  }
}
