@font-face {
  font-family: "Obelix";
  src: url("/assets/obelix.woff2") format("woff2");
  font-display: swap;
}

:root {
  --navy-950: #06153f;
  --navy-900: #0a205d;
  --navy-800: #102d78;
  --blue-700: #184ab9;
  --blue-500: #3977ef;
  --sky-100: #eaf4ff;
  --cream: #fffaf0;
  --white: #ffffff;
  --ink: #102044;
  --muted: #5c6883;
  --yellow: #ffe54f;
  --yellow-strong: #ffc928;
  --accent: #ef3438;
  --accent-strong: #b9162a;
  --accent-soft: #ff5148;
  --accent-cool: #86ddff;
  --accent-gold: #ffe27a;
  --coral: #ff5c49;
  --cyan: #66e1ff;
  --line: rgba(15, 42, 105, 0.14);
  --shadow: 0 24px 70px rgba(4, 19, 63, 0.22);
  --radius: 28px;
  --shell: min(1180px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  background-color: #06143a;
}

body {
  margin: 0;
  color: var(--ink);
  background: #06143a;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

main {
  background-color: #06143a;
}

body::selection {
  color: var(--white);
  background: var(--accent);
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  letter-spacing: -0.035em;
  line-height: 1.05;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3.25rem, 6.2vw, 6.8rem);
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(2.45rem, 4.5vw, 4.8rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  border-radius: 10px;
  color: var(--white);
  background: var(--accent);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 18px;
  left: 50%;
  display: grid;
  grid-template-columns: 158px 1fr auto;
  align-items: center;
  width: var(--shell);
  min-height: 70px;
  padding: 8px 10px 8px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 22px;
  color: var(--white);
  background: rgba(5, 22, 66, 0.46);
  box-shadow: 0 12px 38px rgba(3, 17, 56, 0.18);
  backdrop-filter: blur(16px) saturate(1.2);
  transform: translateX(-50%);
  transition: background 180ms ease, top 180ms ease, border-radius 180ms ease;
}

.site-header.is-scrolled {
  top: 8px;
  background: rgba(5, 22, 66, 0.88);
}

.back-to-top {
  position: fixed;
  z-index: 90;
  right: max(18px, calc((100vw - var(--shell)) / 2 + 2px));
  bottom: max(18px, env(safe-area-inset-bottom));
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  color: #fff;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.28), transparent 25%),
    linear-gradient(145deg, #ff5459, #d51f2b 72%);
  box-shadow:
    0 12px 30px rgba(2, 10, 34, 0.34),
    0 0 0 5px rgba(239, 52, 56, 0.1);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(16px) scale(0.82);
  visibility: hidden;
  transition:
    opacity 220ms ease,
    transform 320ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0s linear 320ms,
    box-shadow 220ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
  visibility: visible;
  transition-delay: 0s;
}

.back-to-top svg {
  width: 25px;
  height: 25px;
  margin: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.35;
}

.back-to-top:hover,
.back-to-top:focus-visible {
  box-shadow:
    0 14px 34px rgba(2, 10, 34, 0.42),
    0 0 0 7px rgba(239, 52, 56, 0.16);
  transform: translateY(-3px) scale(1.04);
}

.back-to-top:active {
  transform: translateY(0) scale(0.96);
}

.back-to-top:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.9);
  outline-offset: 3px;
}

.game-player-open .back-to-top {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

@media (max-width: 680px) {
  .back-to-top {
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    width: 44px;
    height: 44px;
  }
}

.brand {
  width: 132px;
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.26));
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(18px, 2.4vw, 34px);
}

.main-nav a {
  position: relative;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  font-weight: 750;
  text-decoration: none;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -5px;
  left: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
  content: "";
  transform: scaleX(0);
  transition: transform 160ms ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border: 0;
  border-radius: 16px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-small {
  min-height: 50px;
  padding: 12px 23px;
  border-radius: 14px;
  font-size: 0.92rem;
}

.site-header > .header-demo-button {
  display: inline-flex;
}

.button-yellow {
  color: var(--white);
  background: linear-gradient(180deg, var(--accent-soft), var(--accent-strong));
  box-shadow: 0 12px 28px rgba(185, 22, 42, 0.34), inset 0 1px rgba(255, 255, 255, 0.32);
}

.title-accent {
  position: relative;
  display: inline-block;
  color: var(--white);
  text-shadow: none;
}

.title-accent::after {
  position: absolute;
  right: 0.04em;
  bottom: -0.04em;
  left: 0.04em;
  height: 0.08em;
  border-radius: 999px;
  background: var(--accent);
  content: "";
  opacity: 0.78;
}

.button-coral {
  color: var(--white);
  background: linear-gradient(180deg, #ff7866, var(--coral));
  box-shadow: 0 16px 36px rgba(255, 92, 73, 0.28);
}

.button-blue {
  color: var(--white);
  background: linear-gradient(180deg, #377cef, #1752c9);
  box-shadow: 0 14px 32px rgba(24, 74, 185, 0.22);
}

.button-outline {
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
  background: rgba(7, 25, 72, 0.18);
}

.hero {
  position: relative;
  min-height: 850px;
  color: var(--white);
  background-color: #315ec1;
  background-image: linear-gradient(180deg, rgba(2, 17, 66, 0.18), rgba(45, 92, 194, 0.02) 68%, rgba(12, 45, 121, 0.45)), url("/assets/sky.webp");
  background-position: center top;
  background-size: cover;
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle at 75% 39%, rgba(122, 192, 255, 0.25), transparent 31%), linear-gradient(90deg, rgba(6, 24, 71, 0.34), transparent 58%);
  content: "";
}

@media (max-width: 560px) {
  .hero {
    background-position: center top;
    background-size: cover;
    background-repeat: no-repeat;
  }

  .hero::before {
    background:
      radial-gradient(circle at 72% 52%, rgba(122, 192, 255, 0.18), transparent 30%),
      linear-gradient(180deg, rgba(2, 12, 45, 0.7) 0%, rgba(5, 23, 71, 0.5) 46%, rgba(5, 23, 71, 0.12) 64%, transparent 76%);
  }

  .hero-cloud-one {
    top: 14%;
    left: -17%;
    width: 230px;
    opacity: 0.27;
  }

  .hero-cloud-two {
    top: 29%;
    right: -20%;
    width: 260px;
    opacity: 0.24;
  }
}

.hero-inner {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1.03fr 0.97fr;
  gap: 24px;
  align-items: center;
  width: var(--shell);
  min-height: 850px;
  margin: 0 auto;
  padding: 145px 0 125px;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
  color: var(--blue-700);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 30px;
  height: 3px;
  border-radius: 3px;
  background: currentColor;
  content: "";
}

.hero .eyebrow,
.section-heading-light .eyebrow,
.landing-section .eyebrow {
  color: var(--accent);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.08rem, 1.5vw, 1.28rem);
}

.hero-actions,
.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
}

.text-link {
  color: var(--white);
  font-weight: 800;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 5px;
}

.text-link span {
  display: inline-block;
  margin-left: 5px;
  color: var(--accent);
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 0;
  margin: 42px 0 0;
  list-style: none;
}

.hero-facts li {
  min-width: 132px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  background: rgba(9, 31, 91, 0.28);
  backdrop-filter: blur(8px);
}

.hero-facts strong,
.hero-facts span {
  display: block;
}

.hero-facts strong {
  color: var(--accent);
  font-size: 1.15rem;
}

.hero-facts span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-scene {
  position: relative;
  height: 610px;
  margin-right: -7vw;
}

.hero-plane {
  position: absolute;
  z-index: 4;
  top: 44%;
  left: 28%;
  width: clamp(205px, 20vw, 300px);
  height: auto;
  filter: drop-shadow(0 30px 24px rgba(7, 24, 75, 0.35));
  animation: planeFloat 4.2s ease-in-out infinite;
}

.flight-line {
  position: absolute;
  top: 59%;
  right: 4%;
  left: 0;
  height: 140px;
  border-top: 3px dashed rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.flight-line::before,
.flight-line::after {
  position: absolute;
  top: -9px;
  left: 31%;
  width: 130px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5));
  content: "";
  filter: blur(3px);
}

.flight-line::after {
  top: 12px;
  left: 37%;
  width: 100px;
}

.multiplier {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 82px;
  height: 82px;
  border: 4px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(23, 70, 173, 0.62);
  box-shadow: 0 0 0 7px rgba(81, 159, 255, 0.17), 0 16px 30px rgba(5, 23, 72, 0.2);
  backdrop-filter: blur(8px);
}

.multiplier img {
  width: auto;
  max-width: 34px;
  max-height: 45px;
}

.multiplier-one {
  top: 25%;
  right: 24%;
  transform: rotate(5deg);
}

.multiplier-two {
  right: 2%;
  bottom: 25%;
  width: 72px;
  height: 72px;
}

.hero-rocket {
  position: absolute;
  z-index: 3;
  top: 45%;
  right: 4%;
  width: 112px;
  height: auto;
  filter: drop-shadow(0 12px 10px rgba(5, 21, 64, 0.3));
  transform: rotate(2deg);
  animation: rocketDrift 3.8s ease-in-out infinite;
}

.altitude {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
}

.altitude-one { top: 19%; right: 10%; width: 280px; height: 280px; }
.altitude-two { top: 11%; right: 2%; width: 440px; height: 440px; }
.altitude-three { top: 3%; right: -8%; width: 620px; height: 620px; }

.hero-cloud {
  position: absolute;
  z-index: 0;
  opacity: 0.35;
  pointer-events: none;
}

.hero-cloud-one {
  top: 11%;
  left: -7%;
  width: 360px;
}

.hero-cloud-two {
  top: 20%;
  right: -5%;
  width: 430px;
}

.hero-sea {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: -30px;
  left: 0;
  height: 125px;
  background-color: #0d3f93;
  background-image: linear-gradient(180deg, rgba(92, 185, 255, 0.4), transparent), url("/assets/sea-noise.jpg");
  mask-image: linear-gradient(to bottom, transparent 0%, black 35%);
}

.section-shell {
  width: var(--shell);
  margin: 0 auto;
}

.section-dark {
  color: var(--white);
  background: var(--navy-950);
}

.section-light {
  background: var(--cream);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 48px;
}

.section-heading > p:last-child {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.08rem;
}

.section-heading-light > p:last-child {
  color: rgba(255, 255, 255, 0.7);
}

.demo-section {
  position: relative;
  padding: 110px 0 120px;
  background-image: radial-gradient(circle at 15% 10%, rgba(47, 100, 212, 0.34), transparent 27%), radial-gradient(circle at 85% 55%, rgba(69, 213, 255, 0.12), transparent 30%);
}

.demo-section::before {
  position: absolute;
  top: 58px;
  right: 0;
  width: 42%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28));
  content: "";
}

.demo-console {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  background: #071b53;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.42), 0 0 0 8px rgba(255, 255, 255, 0.035);
}

.video-console {
  display: flex;
  justify-content: center;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.console-top,
.console-bottom {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 10px 18px;
  color: rgba(255, 255, 255, 0.64);
  background: linear-gradient(180deg, #102d78, #091d55);
  font-size: 0.73rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.console-top {
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.console-bottom {
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.console-bottom a {
  color: var(--accent);
  text-decoration: none;
}

.console-bottom button {
  padding: 0;
  border: 0;
  color: var(--accent);
  background: none;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  cursor: pointer;
}

.console-lights {
  display: flex;
  gap: 6px;
}

.console-lights i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f61be;
}

.console-lights i:first-child { background: var(--coral); }
.console-lights i:nth-child(2) { background: var(--yellow); }
.console-lights i:last-child { background: #4dd69f; }

.console-fullscreen {
  min-width: 34px;
  height: 34px;
  padding: 0 9px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 9px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.console-fullscreen-label { display: none; }

body.game-player-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.game-player[hidden] { display: none; }

.game-player {
  --game-player-control-height: clamp(72px, 6vw, 80px);
  position: fixed;
  z-index: 3000;
  inset: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100dvh;
  color: var(--white);
  background: #020817;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.game-player.is-open {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.game-player.is-closing { pointer-events: none; }

.game-player .game-player-stage {
  opacity: 0.35;
  transform: scale(0.982);
  filter: blur(7px);
  transition:
    opacity 0.32s ease,
    transform 0.44s cubic-bezier(0.2, 0.78, 0.25, 1),
    filter 0.38s ease;
}

.game-player.is-open .game-player-stage {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

.game-promo {
  position: absolute;
  z-index: 2;
  top: max(14px, env(safe-area-inset-top));
  right: max(14px, env(safe-area-inset-right));
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto auto;
  column-gap: 10px;
  width: clamp(232px, 22vw, 292px);
  min-height: var(--game-player-control-height);
  padding: 10px 10px 10px 14px;
  overflow: hidden;
  border: 1px solid rgba(132, 205, 255, 0.68);
  border-radius: 13px;
  color: #fff;
  background:
    radial-gradient(circle at 100% 0, rgba(75, 160, 255, 0.24), transparent 48%),
    linear-gradient(135deg, rgba(13, 48, 125, 0.9), rgba(5, 20, 67, 0.92) 72%);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(4, 16, 52, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 5px 0 0 var(--accent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-decoration: none;
  text-transform: uppercase;
  isolation: isolate;
  opacity: 0;
  transform: translateY(-14px) scale(0.97);
  transition: opacity 0.28s ease 0.08s, transform 0.38s cubic-bezier(0.2, 0.78, 0.25, 1) 0.08s, filter 0.15s ease;
}

.game-player.is-open .game-promo { opacity: 1; transform: translateY(0) scale(1); }
.game-promo:hover {
  border-color: rgba(183, 226, 255, 0.92);
  filter: brightness(1.08);
  transform: translateY(-2px);
}
.game-promo:active { transform: translateY(1px); }

.game-promo::before {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 22px;
  width: 74px;
  height: 100%;
  background: linear-gradient(118deg, transparent 0 43%, rgba(255, 255, 255, 0.055) 44% 56%, transparent 57%);
  content: "";
  pointer-events: none;
}

.game-promo::after {
  position: absolute;
  right: 15px;
  bottom: 10px;
  width: 54px;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(142, 211, 255, 0.44) 0 5px, transparent 5px 10px);
  content: "";
  pointer-events: none;
}

.game-promo-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 7px;
  grid-column: 1 / -1;
  margin-bottom: 6px;
  color: #9edbff;
  font-size: 8px;
  font-weight: 950;
  line-height: 1;
  letter-spacing: 1.15px;
}

.game-promo-brand::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(239, 52, 56, 0.18), 0 0 12px rgba(255, 54, 70, 0.72);
  content: "";
}

.game-promo-brand b { color: #fff; }

.game-promo-offer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: baseline;
  grid-column: 1;
  grid-row: 2;
  gap: 5px;
  font-size: clamp(8px, 0.72vw, 10px);
  line-height: 1;
  letter-spacing: 0.35px;
}

.game-promo-offer b {
  color: #fff;
  font-size: clamp(19px, 1.65vw, 24px);
  letter-spacing: -0.7px;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.game-promo-code {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: max-content;
  align-items: center;
  grid-column: 1;
  grid-row: 3;
  gap: 5px;
  margin-top: 5px;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: rgba(222, 240, 255, 0.72);
  background: transparent;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: 0.6px;
}

.game-promo-code b {
  color: #fff;
  font-size: 9px;
  letter-spacing: 1px;
}

.game-promo-action {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  grid-column: 2;
  grid-row: 2 / 4;
  gap: 6px;
  margin-top: 0;
  padding: 7px 9px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  box-shadow: 0 5px 13px rgba(150, 8, 31, 0.28), inset 0 1px rgba(255, 255, 255, 0.2);
  font-size: 8px;
  font-weight: 950;
  letter-spacing: 0.4px;
}

.game-promo-action b {
  font-size: 14px;
  line-height: 0.5;
}

@media (max-width: 560px) {
  .game-promo {
    width: min(242px, calc(100vw - 84px));
    padding: 9px 9px 9px 13px;
    border-radius: 12px;
  }

  .game-promo-offer { gap: 4px; }
  .game-promo-action { padding-inline: 8px; }
}

.game-player-close {
  position: absolute;
  z-index: 2;
  top: max(14px, env(safe-area-inset-top));
  left: max(14px, env(safe-area-inset-left));
  width: var(--game-player-control-height);
  height: var(--game-player-control-height);
  min-height: var(--game-player-control-height);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 13px;
  color: var(--white);
  background: rgba(7, 27, 83, 0.82);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-weight: 850;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  transition: opacity 0.28s ease 0.1s, transform 0.38s cubic-bezier(0.2, 0.78, 0.25, 1) 0.1s, background-color 0.2s ease;
}

.game-player.is-open .game-player-close { opacity: 1; transform: translateY(0) scale(1); }
.game-player-close:hover { background: rgba(16, 48, 126, 0.94); }

.game-player-close span:first-child {
  font-size: 1.65rem;
  font-weight: 750;
  line-height: 1;
  transform: translateX(-1px);
}

.game-player-stage {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  overflow: hidden;
  background: #000;
}

.game-player-stage iframe {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  flex: 1 1 auto;
  border: 0;
  background: #000;
}

.game-player-loader {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 16px;
  padding: 24px;
  color: rgba(226, 238, 255, 0.82);
  background:
    radial-gradient(circle at 50% 42%, rgba(36, 87, 192, 0.32), transparent 32%),
    #020817;
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.game-player.is-loading .game-player-loader {
  opacity: 1;
}

.game-player-loader i {
  width: 38px;
  height: 38px;
  border: 3px solid rgba(255, 255, 255, 0.16);
  border-top-color: var(--accent-soft);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(239, 52, 56, 0.18);
  animation: playerLoaderSpin 780ms linear infinite;
}

@keyframes playerLoaderSpin {
  to { transform: rotate(360deg); }
}

.demo-stage {
  position: relative;
  aspect-ratio: 16 / 8.5;
  min-height: 470px;
  background-color: #244ea5;
  background-image: linear-gradient(rgba(5, 20, 63, 0.12), rgba(5, 20, 63, 0.35)), url("/assets/sky.webp");
  background-position: center;
  background-size: cover;
}

.demo-stage.video-stage {
  width: min(360px, 100%);
  min-height: 0;
  aspect-ratio: 9 / 16;
  overflow: visible;
  display: grid;
  place-items: center;
  background: transparent;
  background-image: none;
  border-radius: 0;
  box-shadow: none;
}

.phone-mockup {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  max-width: none;
  aspect-ratio: 9 / 16;
  border-radius: 42px;
  filter: drop-shadow(0 28px 42px rgba(0, 0, 0, 0.46));
}

.demo-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  aspect-ratio: 9 / 16;
  object-fit: contain;
  border-radius: 42px;
  background: #101f68;
  pointer-events: none;
}

.phone-frame {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

@media (max-width: 560px) {
  .game-player { --game-player-control-height: 72px; }

  .console-fullscreen {
    min-width: 0;
    padding-inline: 11px;
    font-size: 0.72rem;
    font-weight: 850;
    white-space: nowrap;
  }

  .console-fullscreen-label { display: inline; }

  .game-player-close {
    width: var(--game-player-control-height);
    height: var(--game-player-control-height);
    min-height: var(--game-player-control-height);
    padding: 0;
  }

  .video-stage { border-radius: 0; }
  .phone-mockup { width: 100%; height: 100%; max-width: none; border-radius: 34px; }
  .demo-video { border-radius: 34px; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .game-promo {
    min-height: 46px;
    padding-block: 5px;
    transform: scale(0.9);
    transform-origin: top right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-promo::after { animation: none; }
  .game-player,
  .game-player-stage,
  .game-promo,
  .game-player-close { transition: none !important; }
}

@media (orientation: landscape) and (max-height: 560px) {
  .demo-stage {
    width: 100%;
    height: calc(100svh - 92px);
    min-height: 260px;
    aspect-ratio: auto;
  }
}

.demo-cover {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px;
  text-align: center;
  transition: opacity 220ms ease, visibility 220ms ease;
}

.demo-cover::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: radial-gradient(circle, rgba(16, 45, 120, 0.12), rgba(5, 20, 63, 0.72));
  content: "";
}

.demo-cover.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.demo-cover > img {
  width: min(410px, 68%);
  margin-bottom: 12px;
  filter: drop-shadow(0 15px 20px rgba(5, 20, 63, 0.36));
}

.demo-cover p {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 800;
}

.demo-cover span {
  margin-top: 14px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.78rem;
}

.button-launch {
  min-width: 260px;
}

.demo-frame {
  width: 100%;
  height: 100%;
  border: 0;
  background: #071b53;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 8px;
  border-radius: 50%;
  background: #4dd69f;
  box-shadow: 0 0 0 4px rgba(77, 214, 159, 0.12);
}

.primary-cta {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  margin-top: 34px;
  padding: 34px 38px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(26, 66, 158, 0.68), rgba(11, 34, 91, 0.8));
}

.primary-cta h2 {
  margin: 5px 0 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.cta-kicker {
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.how-section {
  padding: 120px 0;
}

.flight-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.flight-steps li {
  position: relative;
  min-height: 360px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(18, 47, 109, 0.06);
  overflow: hidden;
}

.flight-steps li::after {
  position: absolute;
  right: -18px;
  bottom: -26px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--sky-100);
  content: "";
}

.step-number {
  display: block;
  margin-bottom: 24px;
  color: var(--blue-500);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.flight-steps img,
.step-gauge,
.step-bonuses {
  position: relative;
  z-index: 1;
  height: 98px;
  margin-bottom: 22px;
}

.step-plane {
  width: 108px;
  object-fit: contain;
  object-position: left center;
}

.step-rocket {
  width: 126px;
  object-fit: contain;
  object-position: left center;
}

.step-carrier {
  width: 190px;
  object-fit: contain;
  object-position: left center;
}

.step-gauge {
  display: grid;
  width: 98px;
  place-items: center;
  border: 8px solid var(--navy-800);
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-weight: 950;
  box-shadow: inset 0 0 0 5px rgba(255, 255, 255, 0.7);
}

.step-bonuses {
  display: flex;
  align-items: center;
  gap: 3px;
}

.step-bonuses img {
  width: auto;
  height: 58px;
  margin: 0;
  object-fit: contain;
}

.flight-steps h3 {
  position: relative;
  z-index: 1;
}

.flight-steps p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.mechanics-section {
  padding: 125px 0;
  background: #e9f4ff;
  background-image: radial-gradient(circle at 90% 10%, rgba(64, 131, 238, 0.18), transparent 28%);
}

.mechanics-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: clamp(45px, 7vw, 100px);
  align-items: center;
}

.mechanics-copy p {
  color: var(--muted);
}

.mechanics-copy .button {
  margin-top: 12px;
}

.mechanics-copy a:not(.button),
.source-note a,
.editorial-main a {
  color: var(--blue-700);
  font-weight: 750;
  text-underline-offset: 4px;
}

.mechanics-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  min-height: 400px;
  align-items: center;
  padding: 38px;
  border: 10px solid var(--white);
  border-radius: 34px;
  background: linear-gradient(180deg, #2f66cc, #173d9a);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.mechanics-board::before {
  position: absolute;
  inset: 0;
  background: url("/assets/cloud-soft.webp") center / 70% auto no-repeat;
  content: "";
  opacity: 0.15;
}

.mechanic-card {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 150px;
  align-items: center;
  justify-content: center;
  gap: 3px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  color: var(--white);
  background: rgba(6, 28, 86, 0.5);
  box-shadow: 0 14px 30px rgba(4, 18, 60, 0.25), inset 0 0 0 8px rgba(255, 255, 255, 0.05);
  font-size: 2.4rem;
  font-weight: 950;
}

.mechanic-card img {
  width: auto;
  max-width: 65px;
  max-height: 66px;
}

.mechanic-plus span {
  color: var(--accent);
}

.mechanic-danger {
  flex-direction: column;
  color: var(--accent);
}

.mechanic-danger img {
  width: 106px;
  max-width: 70%;
}

.mechanic-danger span {
  font-size: 1.3rem;
}

.route-line {
  position: absolute;
  right: 8%;
  bottom: 43px;
  left: 8%;
  height: 2px;
  background: rgba(255, 255, 255, 0.4);
}

.route-line i {
  position: absolute;
  top: -5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
}

.route-line i:first-child { left: 15%; }
.route-line i:nth-child(2) { left: 50%; }
.route-line i:last-child { right: 15%; }

.facts-section {
  padding: 120px 0;
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 1px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background: var(--line);
  overflow: hidden;
}

.facts-grid div {
  padding: 30px;
  background: var(--white);
}

.facts-grid dt {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.facts-grid dd {
  margin: 0;
  color: var(--navy-800);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 950;
  line-height: 1.15;
}

.source-note {
  max-width: 880px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.controls-section {
  padding: 125px 0;
  background: #eaf3ff;
}

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

.control-card {
  position: relative;
  min-height: 300px;
  padding: 34px;
  border: 1px solid rgba(19, 65, 153, 0.14);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(18, 57, 132, 0.07);
  overflow: hidden;
}

.control-card::after {
  position: absolute;
  right: -42px;
  bottom: -56px;
  width: 190px;
  height: 190px;
  border: 1px solid rgba(46, 104, 208, 0.13);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(46, 104, 208, 0.035), 0 0 0 50px rgba(46, 104, 208, 0.025);
  content: "";
}

.control-card h3,
.control-card p,
.control-index {
  position: relative;
  z-index: 1;
}

.control-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.control-index {
  display: block;
  margin-bottom: 45px;
  color: var(--blue-500);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.13em;
}

.control-card-accent {
  color: var(--white);
  border-color: transparent;
  background: linear-gradient(145deg, #245bc4, #102d78);
}

.control-card-accent p {
  color: rgba(255, 255, 255, 0.74);
}

.control-card-accent .control-index {
  color: var(--accent);
}

.editorial-section {
  padding: 125px 0;
  background: var(--white);
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: clamp(48px, 7vw, 110px);
  align-items: start;
}

.editorial-main {
  max-width: 770px;
}

.editorial-main > p:not(.eyebrow) {
  color: #3f4c68;
}

.editorial-main h3 {
  margin-top: 42px;
  font-size: 1.8rem;
}

.editorial-aside {
  position: sticky;
  top: 105px;
  display: grid;
  gap: 18px;
}

.aside-card {
  padding: 27px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--cream);
}

.aside-card-blue {
  color: var(--white);
  border: 0;
  background: linear-gradient(145deg, var(--blue-700), var(--navy-800));
  box-shadow: var(--shadow);
}

.aside-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.aside-card-blue p {
  color: rgba(255, 255, 255, 0.75);
}

.aside-card-blue a {
  display: inline-block;
  margin-top: 18px;
  color: var(--accent);
  font-weight: 850;
}

.aside-label {
  display: block;
  margin-bottom: 10px;
  color: var(--blue-500);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.aside-card-blue .aside-label {
  color: var(--accent);
}

.faq-section {
  padding: 120px 0;
  background: #f3f7fc;
}

.faq-layout {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: clamp(50px, 7vw, 100px);
  align-items: start;
}

.faq-layout .section-heading {
  position: sticky;
  top: 110px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 49, 113, 0.04);
}

.faq-list summary {
  position: relative;
  padding: 22px 60px 22px 24px;
  font-size: 1.04rem;
  font-weight: 850;
  cursor: pointer;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 22px;
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--blue-700);
  content: "+";
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  padding: 0 60px 24px 24px;
  margin: 0;
  color: var(--muted);
}

.landing-section {
  position: relative;
  min-height: 620px;
  color: var(--white);
  background-color: #2f61c2;
  background-image: linear-gradient(180deg, rgba(7, 26, 79, 0.15), rgba(5, 25, 76, 0.65)), url("/assets/sky.webp");
  background-position: center;
  background-size: cover;
  overflow: hidden;
}

.landing-section::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 150px;
  background-color: #123f8f;
  background-image: linear-gradient(rgba(94, 189, 255, 0.3), transparent), url("/assets/sea-noise.jpg");
  content: "";
}

.landing-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  min-height: 620px;
  padding: 70px 0 145px;
}

.landing-copy {
  position: relative;
  z-index: 4;
  max-width: 580px;
}

.landing-copy p:not(.eyebrow) {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.8);
}

.landing-scene {
  position: relative;
  align-self: stretch;
}

.landing-carrier {
  position: absolute;
  z-index: 3;
  right: -5vw;
  bottom: -95px;
  width: min(760px, 60vw);
  filter: drop-shadow(0 24px 20px rgba(2, 16, 51, 0.34));
}

.landing-plane {
  position: absolute;
  z-index: 4;
  top: 24%;
  right: 24%;
  width: 220px;
  height: auto;
  filter: drop-shadow(0 18px 16px rgba(4, 20, 63, 0.3));
  transform: rotate(5deg);
  animation: planeFloat 4.2s ease-in-out infinite;
}

.landing-cloud {
  position: absolute;
  top: -35px;
  left: 35%;
  width: 440px;
  opacity: 0.22;
}

.site-footer {
  color: rgba(255, 255, 255, 0.72);
  background: #040f31;
}

.footer-inner {
  display: grid;
  grid-template-columns: 170px 1fr auto;
  gap: 30px;
  align-items: center;
  width: var(--shell);
  min-height: 150px;
  margin: 0 auto;
}

.footer-brand {
  width: 145px;
}

.footer-brand img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 25px;
}

.footer-inner nav a {
  font-size: 0.84rem;
  font-weight: 750;
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--accent);
}

.age-mark {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 950;
}

.toast {
  position: fixed;
  z-index: 4000;
  right: 20px;
  bottom: 20px;
  max-width: 380px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 14px;
  color: var(--white);
  background: rgba(4, 15, 49, 0.94);
  box-shadow: var(--shadow);
  font-size: 0.9rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal,
.js .reveal.motion-card {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 560ms ease, transform 560ms ease;
}

.js .reveal.is-visible,
.js .reveal.motion-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes planeFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-14px) rotate(-1deg); }
}

@keyframes rocketDrift {
  0%, 100% { transform: translate(0, 0) rotate(2deg); }
  50% { transform: translate(-10px, 8px) rotate(-1deg); }
}

@media (max-width: 1050px) {
  .site-header {
    grid-template-columns: 130px 1fr auto;
  }

  .main-nav {
    gap: 16px;
  }

  .main-nav a {
    font-size: 0.8rem;
  }

  .hero-inner {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .hero-scene {
    margin-right: -16vw;
  }

  .flight-steps {
    grid-template-columns: repeat(6, 1fr);
  }

  .flight-steps li {
    grid-column: span 2;
  }

  .flight-steps li:nth-child(4) {
    grid-column: 2 / span 2;
  }

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

  .mechanics-board {
    max-width: 760px;
  }
}

@media (max-width: 820px) {
  :root {
    --shell: min(100% - 28px, 680px);
  }

  body {
    font-size: 16px;
  }

  .site-header {
    grid-template-columns: 1fr auto auto;
    min-height: 62px;
    padding-left: 14px;
    border-radius: 18px;
  }

  .brand {
    width: 118px;
  }

  .site-header > .button {
    display: none;
  }

  .site-header > .header-demo-button {
    display: inline-flex;
    min-height: 44px;
    padding: 9px 15px;
    border-radius: 12px;
    font-size: 0.78rem;
  }

  .nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-toggle span:not(.sr-only) {
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: var(--white);
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 17px;
    background: rgba(5, 22, 66, 0.97);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 150ms ease, transform 150ms ease;
  }

  .main-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .main-nav a {
    padding: 13px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
  }

  .main-nav a:hover {
    background: rgba(255, 255, 255, 0.07);
  }

  .hero,
  .hero-inner {
    min-height: 930px;
  }

  .hero-inner {
    display: block;
    padding-top: 128px;
  }

  .hero-copy {
    position: relative;
    z-index: 5;
  }

  .hero-scene {
    position: absolute;
    right: 0;
    bottom: 65px;
    left: 0;
    height: 370px;
    margin: 0;
  }

  .hero-plane {
    top: 44%;
    left: 19%;
    width: 220px;
  }

  .multiplier-one { top: 15%; right: 24%; }
  .multiplier-two { right: 5%; bottom: 20%; }
  .hero-rocket { top: 48%; right: 1%; }

  .hero-facts {
    max-width: 520px;
  }

  .demo-section,
  .how-section,
  .mechanics-section,
  .facts-section,
  .controls-section,
  .editorial-section,
  .faq-section {
    padding: 88px 0;
  }

  .demo-stage {
    aspect-ratio: 4 / 3;
    min-height: 0;
  }

  .primary-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .flight-steps {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .flight-steps li,
  .flight-steps li:nth-child(4) {
    grid-column: auto;
    min-height: 330px;
  }

  .flight-steps li:last-child {
    grid-column: 1 / -1;
  }

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

  .control-card {
    min-height: 0;
  }

  .editorial-grid,
  .faq-layout {
    grid-template-columns: 1fr;
  }

  .editorial-aside,
  .faq-layout .section-heading {
    position: static;
  }

  .editorial-aside {
    grid-template-columns: 1fr 1fr;
  }

  .landing-inner {
    display: block;
    padding-top: 85px;
  }

  .landing-copy {
    max-width: 620px;
  }

  .landing-scene {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 280px;
  }

  .landing-carrier {
    right: -12vw;
    bottom: -45px;
    width: 650px;
  }

  .landing-plane {
    top: 2%;
    right: 28%;
    width: 170px;
  }

  .footer-inner {
    grid-template-columns: 130px 1fr auto;
  }
}

@media (max-width: 560px) {
  :root {
    --shell: calc(100% - 24px);
    --radius: 22px;
  }

  h1 {
    font-size: clamp(2.72rem, 13vw, 4rem);
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3.2rem);
  }

  .site-header {
    top: 9px;
  }

  .hero,
  .hero-inner {
    min-height: 930px;
  }

  .hero-inner {
    padding-top: 110px;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 30px;
  }

  .hero-facts li {
    min-width: 0;
    padding: 10px 7px;
    text-align: center;
  }

  .hero-facts strong {
    font-size: 0.95rem;
  }

  .hero-facts span {
    font-size: 0.58rem;
    line-height: 1.25;
  }

  .hero-scene {
    height: 315px;
  }

  .hero-plane {
    top: 44%;
    left: 9%;
    width: 190px;
  }

  .hero-rocket {
    top: 48%;
    right: -5%;
    width: 98px;
  }

  .multiplier {
    width: 64px;
    height: 64px;
  }

  .multiplier-one { top: 16%; right: 20%; }
  .multiplier-two { right: 0; bottom: 14%; width: 58px; height: 58px; }
  .altitude-three { display: none; }

  .section-heading {
    margin-bottom: 34px;
  }

  .demo-section,
  .how-section,
  .mechanics-section,
  .facts-section,
  .controls-section,
  .editorial-section,
  .faq-section {
    padding: 72px 0;
  }

  .demo-console {
    margin-right: -12px;
    margin-left: -12px;
    border-radius: 0;
  }

  .console-top > span {
    display: none;
  }

  .console-bottom {
    font-size: 0.62rem;
  }

  .demo-stage {
    aspect-ratio: 9 / 15;
    max-height: 720px;
  }

  .demo-cover {
    padding: 24px;
  }

  .demo-cover > img {
    width: 88%;
  }

  .button-launch {
    width: 100%;
    min-width: 0;
  }

  .primary-cta {
    padding: 27px 24px;
  }

  .primary-cta .button {
    width: 100%;
  }

  .flight-steps {
    grid-template-columns: 1fr;
  }

  .flight-steps li,
  .flight-steps li:nth-child(4),
  .flight-steps li:last-child {
    grid-column: auto;
    min-height: 300px;
  }

  .mechanics-board {
    grid-template-columns: 1fr;
    min-height: 650px;
    padding: 30px 58px;
  }

  .mechanic-card {
    min-height: 150px;
  }

  .route-line {
    top: 8%;
    right: 30px;
    bottom: 8%;
    left: auto;
    width: 2px;
    height: auto;
  }

  .route-line i {
    top: auto;
    left: -5px !important;
  }

  .route-line i:first-child { top: 15%; }
  .route-line i:nth-child(2) { top: 50%; }
  .route-line i:last-child { top: 84%; }

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

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

  .control-card {
    padding: 27px 24px;
  }

  .control-index {
    margin-bottom: 28px;
  }

  .facts-grid div {
    padding: 24px;
  }

  .editorial-aside {
    grid-template-columns: 1fr;
  }

  .faq-list summary {
    padding-right: 54px;
  }

  .landing-section,
  .landing-inner {
    min-height: 760px;
  }

  .landing-inner {
    padding: 72px 0 280px;
  }

  .landing-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .landing-carrier {
    right: -32vw;
    bottom: 0;
    width: 650px;
    max-width: none;
  }

  .landing-plane {
    top: 12%;
    right: 15%;
    width: 150px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    padding: 35px 0;
  }

  .footer-brand {
    width: 125px;
  }

  .footer-inner nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  .toast {
    right: 12px;
    bottom: 12px;
    left: 12px;
    max-width: none;
  }
}

/* Keep game artwork legible at every breakpoint. */
.demo-cover > img{width:min(340px,58%);height:auto;object-fit:contain}

@media(max-width:520px){
  .demo-stage{aspect-ratio:4/5;min-height:520px;max-height:none}
  .demo-cover>img{width:min(270px,76%)}
  .landing-carrier{right:-125px;width:520px}
  .landing-plane{right:18%;width:130px}
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

/* UI/UX typography pass: readable copy, calmer display scale, stable mobile width. */
body {
  font-size: 18px;
  line-height: 1.72;
}

h1 {
  max-width: 720px;
  font-size: clamp(3.3rem, 5.15vw, 5.5rem);
  line-height: 1;
}

h2 {
  font-size: clamp(2.35rem, 3.8vw, 4.1rem);
  line-height: 1.04;
}

.hero-lead,
.section-heading > p:last-child {
  font-size: 1.12rem;
  line-height: 1.68;
}

.flight-steps p,
.aside-card p,
.control-card p,
.faq-list details p {
  font-size: 1rem;
  line-height: 1.68;
}

.faq-list summary {
  font-size: 1.08rem;
  line-height: 1.4;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent-strong);
  outline-offset: 4px;
}

@media (max-width: 560px) {
  body {
    font-size: 17px;
    line-height: 1.68;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(2.5rem, 11.2vw, 2.9rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
  }

  h2 {
    font-size: clamp(2rem, 8.8vw, 2.55rem);
    line-height: 1.06;
  }

  .hero-lead,
  .section-heading > p:last-child {
    font-size: 1.02rem;
  }

  .flight-steps li,
  .flight-steps li:nth-child(4),
  .flight-steps li:last-child {
    min-height: 260px;
  }

  .faq-list summary {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  /* Let the flight bridge the hero and demo instead of sitting under the facts. */
  .hero {
    z-index: 2;
    overflow: visible;
  }

  .hero-inner {
    padding-bottom: 125px;
  }

  .hero-copy {
    z-index: 6;
  }

  .hero-scene {
    z-index: 5;
    bottom: -65px;
    height: 250px;
    pointer-events: none;
  }

  .hero-plane {
    top: 5%;
    left: 7%;
    width: 180px;
  }

  .hero-rocket {
    top: 8%;
    right: -3%;
    width: 90px;
  }

  .multiplier-one {
    top: 0;
    right: 18%;
  }

  .multiplier-two {
    right: 2%;
    bottom: 8%;
  }

  .flight-line {
    top: 48%;
  }

  .altitude-one {
    top: 4%;
    right: 5%;
    width: 230px;
    height: 230px;
  }

  .altitude-two {
    top: -20%;
    right: -2%;
    width: 340px;
    height: 340px;
  }

  .demo-section {
    z-index: 1;
    padding-top: 35px;
  }

  .demo-stage {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 5;
  }

  .hero-cloud-two {
    right: 0;
    width: 360px;
  }
}

/* Advertising-poster composition for the Aviamasters homepage hero. */
.hero.hero-promo {
  position: relative;
  z-index: 2;
  min-height: max(850px, 100svh);
  overflow: hidden;
  color: #fff;
  background-color: #64ade8;
  background-image:
    linear-gradient(180deg, rgba(54, 139, 217, 0.22), rgba(197, 230, 251, 0.58) 64%, rgba(237, 248, 255, 0.86)),
    url("/assets/sky.webp");
  background-position: center top;
  background-size: cover;
  isolation: isolate;
}

.hero.hero-promo::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    radial-gradient(circle at 84% 32%, rgba(255, 255, 255, 0.88), transparent 29%),
    linear-gradient(90deg, rgba(14, 95, 184, 0.12), transparent 58%);
  content: "";
}

.hero-promo-inner {
  position: relative;
  z-index: 3;
  width: var(--shell);
  min-height: max(850px, 100svh);
  margin: 0 auto;
  padding: 180px 0 150px;
}

.hero-promo-copy {
  position: relative;
  z-index: 5;
  width: min(680px, 62vw);
  text-shadow: 0 3px 18px rgba(19, 78, 151, 0.16);
}

.hero-promo-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-promo-label::before {
  width: 38px;
  height: 4px;
  border-radius: 4px;
  background: var(--accent);
  content: "";
}

.hero-promo h1 {
  max-width: none;
  margin-bottom: 22px;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.hero-promo-kicker,
.hero-promo-title {
  display: block;
}

.hero-promo-kicker {
  margin-bottom: 10px;
  font-size: clamp(1.3rem, 2.1vw, 2rem);
  font-weight: 900;
  letter-spacing: 0.025em;
}

.hero-promo-title {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(4.35rem, 7.5vw, 7.6rem);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.025em;
}

.hero-promo-lead {
  max-width: 610px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.96);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  font-weight: 700;
  line-height: 1.45;
}

.hero-promo-cta {
  min-width: 320px;
  min-height: 70px;
  justify-content: space-between;
  padding: 16px 22px 16px 28px;
  border: 2px solid rgba(255, 255, 255, 0.78);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, #1349be, #092c8d);
  box-shadow: 0 18px 42px rgba(13, 64, 159, 0.28), inset 0 1px rgba(255, 255, 255, 0.26);
  font-size: 1.15rem;
}

.hero-promo-cta span:last-child {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-size: 1.35rem;
}

.hero-studio {
  position: absolute;
  z-index: 7;
  top: 122px;
  right: max(28px, calc((100vw - 1180px) / 2));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 1.15rem;
  font-weight: 450;
  letter-spacing: 0.28em;
  text-decoration: none;
}

.hero-studio b {
  display: grid;
  width: 34px;
  height: 40px;
  place-items: center;
  color: #fff;
  background: #f6c928;
  font-size: 1.65rem;
  letter-spacing: 0;
}

.hero-promo-scene {
  position: absolute;
  z-index: 2;
  right: -13vw;
  bottom: 40px;
  width: min(82vw, 1080px);
  pointer-events: none;
}

.hero-promo-plane {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 35px 38px rgba(41, 83, 135, 0.25));
  transform: rotate(-4deg);
}

.hero-promo-plane-logo {
  position: absolute;
  z-index: 2;
  top: 51%;
  left: 45%;
  width: 15%;
  filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.32));
  transform: rotate(-3deg);
}

.hero-promo-rocket {
  position: absolute;
  z-index: 1;
  top: -4%;
  right: 12%;
  width: 14%;
  filter: drop-shadow(0 12px 12px rgba(34, 77, 132, 0.25));
  transform: rotate(-12deg);
}

.hero-promo-cloud {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.hero-promo-cloud-one {
  right: -8%;
  bottom: 12%;
  width: 48vw;
  opacity: 0.82;
}

.hero-promo-cloud-two {
  right: 18%;
  bottom: -4%;
  width: 42vw;
  opacity: 0.62;
}

.hero-promo-facts {
  position: absolute;
  z-index: 8;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  min-height: 96px;
  padding: 0 max(28px, calc((100vw - 1180px) / 2));
  margin: 0;
  color: #fff;
  background: #073aaf;
  list-style: none;
}

.hero-promo-facts li {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 14px 36px;
}

.hero-promo-facts li + li::before {
  position: absolute;
  top: 28%;
  bottom: 28%;
  left: 0;
  width: 3px;
  border-radius: 3px;
  background: repeating-linear-gradient(to bottom, rgba(255, 255, 255, 0.4) 0 3px, transparent 3px 9px);
  content: "";
}

.hero-promo-facts strong,
.hero-promo-facts span {
  display: block;
}

.hero-promo-facts strong {
  font-size: 0.96rem;
}

.hero-promo-facts span {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.78rem;
  line-height: 1.35;
}

@media (max-width: 820px) {
  .hero.hero-promo,
  .hero-promo-inner {
    min-height: 960px;
  }

  .hero-promo-inner {
    padding-top: 145px;
  }

  .hero-promo-copy {
    width: min(650px, 88vw);
  }

  .hero-studio {
    top: 102px;
    right: 22px;
    font-size: 0.92rem;
  }

  .hero-studio b {
    width: 28px;
    height: 33px;
    font-size: 1.3rem;
  }

  .hero-promo-scene {
    right: -23vw;
    bottom: 44px;
    width: 960px;
  }

  .hero-promo-facts {
    padding-inline: 14px;
  }

  .hero-promo-facts li {
    padding-inline: 18px;
  }
}

@media (max-width: 560px) {
  .hero.hero-promo,
  .hero-promo-inner {
    min-height: 940px;
  }

  .hero.hero-promo {
    overflow: hidden;
    background-position: 43% top;
  }

  .hero-promo-inner {
    padding: 124px 0 120px;
  }

  .hero-promo-copy {
    width: 100%;
  }

  .hero-promo-label {
    max-width: 240px;
    margin-bottom: 15px;
    font-size: 0.65rem;
    line-height: 1.35;
  }

  .hero-promo h1 {
    margin-bottom: 18px;
  }

  .hero-promo-kicker {
    margin-bottom: 7px;
    font-size: 1.05rem;
  }

  .hero-promo-title {
    font-size: clamp(3rem, 13.2vw, 3.45rem);
    line-height: 0.88;
  }

  .hero-promo-lead {
    width: 94%;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.42;
  }

  .hero-promo-cta {
    width: 100%;
    min-width: 0;
    min-height: 62px;
  }

  .hero-studio {
    top: 87px;
    right: 14px;
    gap: 5px;
    font-size: 0.72rem;
    letter-spacing: 0.2em;
  }

  .hero-studio b {
    width: 24px;
    height: 28px;
    font-size: 1.05rem;
  }

  .hero-promo-scene {
    right: -330px;
    bottom: 67px;
    width: 790px;
  }

  .hero-promo-plane-logo {
    top: 51%;
    left: 45%;
  }

  .hero-promo-rocket {
    top: 2%;
    right: 19%;
  }

  .hero-promo-cloud-one {
    right: -42%;
    bottom: 12%;
    width: 130vw;
  }

  .hero-promo-cloud-two {
    right: 10%;
    bottom: -2%;
    width: 105vw;
  }

  .hero-promo-facts {
    min-height: 94px;
    padding-inline: 4px;
  }

  .hero-promo-facts li {
    padding: 10px 8px;
  }

  .hero-promo-facts strong {
    font-size: 0.7rem;
    line-height: 1.22;
  }

.hero-promo-facts span {
    margin-top: 3px;
    font-size: 0.58rem;
    line-height: 1.25;
  }
}

/* Polished Aviamasters video showcase. */
.demo-flightdeck {
  position: relative;
  z-index: 1;
  overflow: hidden;
  padding: 118px 0 108px;
  background-color: #06143a;
  background-image:
    radial-gradient(circle at 86% 30%, rgba(65, 139, 255, 0.24), transparent 28%),
    radial-gradient(circle at 8% 7%, rgba(38, 92, 204, 0.28), transparent 30%),
    linear-gradient(180deg, #071b4e 0%, #06143a 62%, #040d26 100%);
}

.demo-flightdeck::before {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  background-image:
    linear-gradient(rgba(135, 177, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(135, 177, 255, 0.045) 1px, transparent 1px);
  background-size: 66px 66px;
  content: "";
  pointer-events: none;
}

.demo-showcase {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: center;
}

.demo-copy {
  max-width: 610px;
}

.demo-copy .section-heading {
  margin-bottom: 34px;
}

.demo-copy .section-heading h2 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 4.5vw, 4.75rem);
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.demo-copy .section-heading > p:last-child {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.64);
  line-height: 1.72;
}

.demo-details {
  display: grid;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.demo-details span {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  min-height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.74);
  font-size: 0.88rem;
  font-weight: 760;
}

.demo-details b {
  color: #6ba8ff;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
}

.demo-visual {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  padding: 62px 44px 34px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 38px;
  background-color: #4288d7;
  background-image:
    linear-gradient(180deg, rgba(13, 65, 149, 0.08), rgba(3, 27, 80, 0.42)),
    url("/assets/sky.webp");
  background-position: center top;
  background-size: cover;
  box-shadow: 0 42px 100px rgba(0, 0, 0, 0.42), inset 0 1px rgba(255, 255, 255, 0.22);
  isolation: isolate;
}

.demo-visual::after {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 24px;
  width: 42px;
  height: 42px;
  border-right: 2px solid rgba(255, 255, 255, 0.45);
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  content: "";
}

.demo-visual-head {
  position: absolute;
  z-index: 8;
  top: 24px;
  right: 28px;
  left: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.61rem;
  font-weight: 900;
  letter-spacing: 0.15em;
}

.demo-visual-head span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.demo-visual-head i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5af1a7;
  box-shadow: 0 0 0 5px rgba(90, 241, 167, 0.14), 0 0 14px rgba(90, 241, 167, 0.8);
}

.demo-visual-head b {
  padding: 6px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff268;
}

.demo-flightdeck .video-console {
  position: relative;
  z-index: 6;
  height: 100%;
  align-items: center;
  background: transparent;
}

.demo-flightdeck .demo-stage.video-stage {
  width: 314px;
  min-height: 0;
  aspect-ratio: 147 / 250;
  overflow: visible;
  background: transparent;
}

.demo-flightdeck .phone-mockup {
  position: relative;
  z-index: 5;
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: visible;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50px;
  background:
    linear-gradient(145deg, #ecf4ff 0%, #7f98c2 16%, #1e315d 38%, #07132d 62%, #819ac4 84%, #eef5ff 100%);
  box-shadow:
    0 34px 70px rgba(1, 12, 38, 0.5),
    0 0 0 2px rgba(7, 20, 49, 0.8),
    inset 0 0 0 2px rgba(255, 255, 255, 0.36);
  filter: none;
}

.demo-flightdeck .phone-mockup::before {
  position: absolute;
  z-index: -1;
  inset: -7px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 56px;
  content: "";
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 5px solid #020714;
  border-radius: 40px;
  background: #061646;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  isolation: isolate;
}

.demo-flightdeck .demo-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  background: #07194d;
  object-fit: cover;
  object-position: center;
}

.phone-island {
  position: absolute;
  z-index: 4;
  top: 10px;
  left: 50%;
  width: 94px;
  height: 25px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: #01040c;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transform: translateX(-50%);
}

.phone-island::before {
  position: absolute;
  top: 10px;
  left: 29px;
  width: 35px;
  height: 4px;
  border-radius: 4px;
  background: #17243a;
  content: "";
}

.phone-island i {
  position: absolute;
  top: 8px;
  right: 9px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #6382b5, #142849 48%, #040815 70%);
}

.phone-glare {
  position: absolute;
  z-index: 3;
  top: -10%;
  left: -34%;
  width: 72%;
  height: 116%;
  background: linear-gradient(110deg, transparent 35%, rgba(255, 255, 255, 0.13) 51%, transparent 65%);
  pointer-events: none;
  transform: rotate(4deg);
}

.phone-button {
  position: absolute;
  left: -5px;
  width: 5px;
  border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #aabbd6, #263959 42%, #8ca2c2);
  box-shadow: -1px 0 2px rgba(0, 0, 0, 0.4);
}

.phone-button-top {
  top: 118px;
  height: 58px;
}

.phone-button-bottom {
  top: 190px;
  height: 78px;
}

.demo-cloud,
.demo-rocket,
.demo-carrier,
.demo-multiplier,
.demo-radar {
  position: absolute;
  pointer-events: none;
}

.demo-cloud {
  z-index: 1;
  opacity: 0.45;
}

.demo-cloud-one {
  right: -24%;
  bottom: 12%;
  width: 430px;
}

.demo-cloud-two {
  top: 12%;
  left: -27%;
  width: 390px;
  opacity: 0.28;
}

.demo-carrier {
  z-index: 4;
  right: -5%;
  bottom: -6px;
  width: 68%;
  filter: drop-shadow(0 12px 16px rgba(4, 23, 69, 0.35));
}

.demo-rocket {
  z-index: 4;
  top: 38%;
  left: 6%;
  width: 86px;
  filter: drop-shadow(0 8px 10px rgba(4, 22, 64, 0.28));
  transform: rotate(-3deg);
}

.demo-multiplier {
  z-index: 5;
  top: 18%;
  right: 6%;
  display: flex;
  width: 68px;
  height: 68px;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  background: rgba(22, 69, 169, 0.72);
  box-shadow: 0 0 0 7px rgba(255, 255, 255, 0.12), 0 16px 30px rgba(6, 27, 80, 0.24);
  backdrop-filter: blur(7px);
}

.demo-multiplier img {
  width: auto;
  max-width: 29px;
  max-height: 38px;
}

.demo-radar {
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
}

.radar-one {
  top: 10%;
  right: -8%;
  width: 270px;
  height: 270px;
}

.radar-two {
  top: 1%;
  right: -18%;
  width: 430px;
  height: 430px;
}

.demo-primary-cta {
  position: relative;
  z-index: 2;
  margin-top: 54px;
  padding: 30px 34px;
  border-color: rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  background: linear-gradient(120deg, rgba(24, 63, 147, 0.72), rgba(8, 29, 80, 0.86));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.22);
}

.demo-primary-cta::before {
  position: absolute;
  right: 205px;
  bottom: 0;
  left: 42%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.34) 0 16px, transparent 16px 28px);
  content: "";
}

.demo-primary-cta h2 {
  margin: 4px 0 0;
  font-size: clamp(1.65rem, 2.35vw, 2.45rem);
}

.demo-primary-cta .button {
  min-width: 250px;
  border-radius: 14px;
}

/* Full-version conversion panel: styled as an Aviamasters flight command. */
.demo-primary-cta.cta-boost {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: clamp(20px, 3vw, 38px);
  min-height: 210px;
  align-items: center;
  padding: clamp(30px, 4vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(132, 205, 255, 0.42);
  border-radius: 28px;
  background:
    radial-gradient(circle at 86% 18%, rgba(65, 149, 255, 0.34), transparent 27%),
    linear-gradient(118deg, rgba(7, 28, 81, 0.98), rgba(12, 51, 137, 0.96) 58%, rgba(6, 24, 70, 0.98));
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32), inset 0 1px rgba(255, 255, 255, 0.12);
  isolation: isolate;
}

.demo-primary-cta.cta-boost::before {
  position: absolute;
  z-index: -1;
  top: -72px;
  right: 25%;
  width: 250px;
  height: 340px;
  background: linear-gradient(112deg, transparent 0 43%, rgba(255, 255, 255, 0.055) 44% 55%, transparent 56%);
  content: "";
  transform: rotate(8deg);
}

.demo-primary-cta.cta-boost::after {
  position: absolute;
  z-index: 0;
  right: 32px;
  bottom: 20px;
  width: 116px;
  height: 3px;
  background: repeating-linear-gradient(90deg, rgba(141, 211, 255, 0.48) 0 9px, transparent 9px 17px);
  content: "";
}

.cta-boost-copy,
.cta-boost-offer,
.cta-boost-button {
  position: relative;
  z-index: 1;
}

.cta-boost-copy {
  max-width: 610px;
}

.cta-boost .cta-kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #9fdcff;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
}

.cta-boost .cta-kicker::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 5px rgba(239, 52, 56, 0.16), 0 0 18px rgba(255, 65, 76, 0.62);
  content: "";
}

.demo-primary-cta.cta-boost h2 {
  max-width: 620px;
  margin: 9px 0 10px;
  color: #fff;
  font-size: clamp(1.6rem, 2vw, 2.15rem);
  line-height: 1.06;
  letter-spacing: -0.025em;
  text-transform: uppercase;
}

.cta-boost-copy p {
  max-width: 590px;
  margin: 0;
  color: rgba(224, 239, 255, 0.8);
  font-size: clamp(0.88rem, 1.05vw, 1rem);
  font-weight: 650;
  line-height: 1.48;
}

.cta-boost-copy p b { color: #fff; }

.cta-boost-offer {
  display: grid;
  min-width: 164px;
  min-height: 142px;
  align-content: center;
  justify-items: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 20px;
  background: rgba(3, 19, 63, 0.48);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.12);
  text-align: center;
}

.cta-boost-offer span:first-child {
  color: rgba(201, 229, 255, 0.72);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.cta-boost-offer strong {
  margin: 1px 0 5px;
  color: #fff;
  font-size: clamp(2.5rem, 4vw, 4rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.07em;
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.cta-boost-code {
  padding: 5px 9px;
  border: 1px solid rgba(134, 220, 255, 0.42);
  border-radius: 7px;
  color: #fff;
  background: rgba(19, 72, 162, 0.52);
  font-size: 0.7rem;
  font-weight: 950;
  letter-spacing: 0.12em;
}

.demo-primary-cta.cta-boost .cta-boost-button {
  display: flex;
  min-width: 238px;
  min-height: 68px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 17px 15px 21px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  box-shadow: 0 16px 34px rgba(158, 8, 32, 0.38), inset 0 1px rgba(255, 255, 255, 0.25);
  font-size: 0.92rem;
  font-weight: 950;
  line-height: 1.15;
  text-align: left;
}

.cta-boost-button b {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-strong);
  background: #fff;
  font-size: 1.25rem;
}

.demo-primary-cta.cta-boost .cta-boost-button:hover,
.demo-primary-cta.cta-boost .cta-boost-button:focus-visible {
  box-shadow: 0 20px 42px rgba(184, 12, 40, 0.52), inset 0 1px rgba(255, 255, 255, 0.28);
}

.demo-launch-cta {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 20px;
  min-height: 126px;
  align-items: center;
  margin-top: 42px;
  padding: 22px 24px;
  overflow: hidden;
  border: 1px solid rgba(120, 202, 255, 0.36);
  border-radius: 20px;
  background:
    radial-gradient(circle at 76% 0, rgba(83, 166, 255, 0.28), transparent 30%),
    linear-gradient(122deg, rgba(13, 53, 139, 0.94), rgba(5, 24, 75, 0.97));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.12);
  isolation: isolate;
}

.demo-launch-cta::after {
  position: absolute;
  z-index: -1;
  top: 0;
  right: 24%;
  width: 170px;
  height: 100%;
  background: linear-gradient(116deg, transparent 0 44%, rgba(255, 255, 255, 0.055) 45% 56%, transparent 57%);
  content: "";
}

.demo-launch-icon {
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-soft), var(--accent-strong));
  box-shadow: 0 12px 28px rgba(154, 8, 31, 0.38), 0 0 0 7px rgba(239, 52, 56, 0.1);
}

.demo-launch-icon i {
  width: 0;
  height: 0;
  margin-left: 5px;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #fff;
}

.demo-launch-copy > span {
  color: #9edcff;
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.demo-launch-copy h2 {
  margin: 5px 0 4px;
  color: #fff;
  font-size: clamp(1.45rem, 2.35vw, 2.25rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.demo-launch-copy p {
  margin: 0;
  color: rgba(218, 238, 255, 0.74);
  font-size: 0.85rem;
  font-weight: 650;
  line-height: 1.4;
}

.demo-launch-button {
  display: flex;
  min-width: 210px;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 13px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-soft), var(--accent-strong));
  box-shadow: 0 12px 26px rgba(160, 8, 33, 0.34), inset 0 1px rgba(255, 255, 255, 0.24);
  font-size: 0.84rem;
  font-weight: 950;
  cursor: pointer;
}

.demo-launch-button b {
  display: grid;
  width: 31px;
  height: 31px;
  flex: 0 0 31px;
  place-items: center;
  border-radius: 50%;
  color: var(--accent-strong);
  background: #fff;
  font-size: 1.05rem;
}

.demo-launch-button-only {
  width: min(320px, 100%);
  min-height: 64px;
  margin: 30px 0 0;
  padding: 13px 14px 13px 22px;
  font-size: 0.92rem;
}

.demo-launch-mobile {
  display: none;
}

.section-demo-link {
  display: flex;
  width: min(320px, 100%);
  min-height: 54px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 28px;
  padding: 11px 12px 11px 18px;
  border: 1px solid rgba(126, 202, 255, 0.35);
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #174bb8, #092b7e);
  box-shadow: 0 12px 26px rgba(7, 37, 112, 0.24), inset 0 1px rgba(255, 255, 255, 0.18);
  font-size: 0.82rem;
  font-weight: 950;
  text-align: left;
}

.section-demo-link b {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--accent);
  font-size: 1rem;
}

.aside-card-blue .aside-demo-button {
  width: 100%;
  margin-top: 18px;
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(5, 25, 79, 0.46);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}

.control-card-demo {
  position: relative;
  z-index: 2;
  width: 100%;
  margin-top: 24px;
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(5, 25, 79, 0.48);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1);
}

@media (max-width: 980px) {
  .demo-primary-cta.cta-boost {
    grid-template-columns: minmax(0, 1fr) 150px;
  }

  .demo-primary-cta.cta-boost .cta-boost-button {
    grid-column: 1 / -1;
    width: 100%;
  }
}

@media (max-width: 560px) {
  .demo-launch-cta {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 14px;
    min-height: 0;
    margin-top: 32px;
    padding: 20px;
    border-radius: 18px;
  }

  .demo-launch-icon {
    width: 48px;
    height: 48px;
    box-shadow: 0 9px 22px rgba(154, 8, 31, 0.34), 0 0 0 5px rgba(239, 52, 56, 0.09);
  }

  .demo-launch-icon i {
    border-top-width: 7px;
    border-bottom-width: 7px;
    border-left-width: 12px;
  }

  .demo-launch-copy h2 {
    font-size: clamp(1.28rem, 6.6vw, 1.75rem);
  }

  .demo-launch-copy p {
    margin-top: 7px;
    font-size: 0.78rem;
  }

  .demo-launch-button {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }

  .section-demo-link {
    width: 100%;
    min-height: 54px;
  }

  .demo-primary-cta.cta-boost {
    grid-template-columns: 1fr;
    gap: 20px;
    min-height: 0;
    padding: 27px 22px 23px;
    border-radius: 22px;
  }

  .demo-primary-cta.cta-boost h2 {
    font-size: clamp(1.45rem, 5.6vw, 1.75rem);
    line-height: 1.08;
  }

  .cta-boost-offer {
    width: 100%;
    min-height: 0;
    grid-template-columns: auto auto auto;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 14px 15px;
    border-radius: 15px;
  }

  .cta-boost-offer strong {
    margin: 0;
    font-size: 2.35rem;
  }

  .demo-primary-cta.cta-boost .cta-boost-button {
    grid-column: auto;
    min-width: 0;
    min-height: 62px;
  }
}

@media (max-width: 980px) {
  .demo-showcase {
    grid-template-columns: minmax(0, 1fr) 440px;
    gap: 42px;
  }

  .demo-flightdeck .demo-stage.video-stage {
    width: 286px;
  }

  .demo-visual {
    min-height: 660px;
  }
}

@media (max-width: 820px) {
  .demo-flightdeck {
    padding: 90px 0 84px;
  }

  .demo-showcase {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .demo-copy {
    max-width: 680px;
  }

  .demo-launch-desktop {
    display: none;
  }

  .demo-launch-mobile {
    display: flex;
    width: 100%;
    margin: 36px auto 0;
  }

  .demo-visual {
    width: min(540px, 100%);
    min-height: 680px;
    margin: 0 auto;
  }
}

@media (max-width: 560px) {
  .demo-flightdeck {
    z-index: 1;
    padding: 76px 0 70px;
  }

  .demo-flightdeck::before {
    background-size: 44px 44px;
  }

  .demo-showcase {
    gap: 36px;
  }

  .demo-copy .section-heading {
    margin-bottom: 26px;
  }

  .demo-copy .section-heading h2 {
    margin-bottom: 19px;
    font-size: clamp(2.2rem, 10vw, 2.75rem);
    line-height: 1.02;
  }

  .demo-details span {
    grid-template-columns: 38px 1fr;
    min-height: 50px;
    font-size: 0.78rem;
  }

  .demo-visual {
    min-height: 590px;
    padding: 54px 20px 24px;
    border-radius: 28px;
  }

  .demo-visual-head {
    top: 20px;
    right: 20px;
    left: 20px;
    font-size: 0.52rem;
    letter-spacing: 0.1em;
  }

  .demo-flightdeck .demo-stage.video-stage {
    width: min(258px, 78vw);
    min-height: 0;
    aspect-ratio: 147 / 250;
  }

  .demo-flightdeck .phone-mockup {
    padding: 8px;
    border-radius: 43px;
  }

  .demo-flightdeck .phone-mockup::before {
    inset: -5px;
    border-radius: 48px;
  }

  .phone-screen {
    border-width: 4px;
    border-radius: 35px;
  }

  .phone-island {
    top: 8px;
    width: 80px;
    height: 22px;
  }

  .phone-island::before {
    top: 8px;
    left: 24px;
    width: 31px;
  }

  .phone-island i {
    top: 6px;
  }

  .phone-button-top {
    top: 98px;
    height: 48px;
  }

  .phone-button-bottom {
    top: 158px;
    height: 66px;
  }

  .demo-multiplier {
    top: 17%;
    right: 4%;
    width: 56px;
    height: 56px;
  }

  .demo-multiplier img {
    max-width: 23px;
    max-height: 30px;
  }

  .demo-rocket {
    top: 40%;
    left: 1%;
    width: 66px;
  }

  .demo-cloud-one {
    right: -43%;
    width: 390px;
  }

  .demo-cloud-two {
    left: -58%;
    width: 340px;
  }

  .demo-carrier {
    right: -19%;
    width: 88%;
  }

  .demo-primary-cta {
    gap: 22px;
    margin-top: 40px;
    padding: 25px 22px;
  }

  .demo-primary-cta::before {
    display: none;
  }

  .demo-primary-cta .button {
    width: 100%;
    min-width: 0;
  }
}

/* Hero game phone: the video is available immediately on arrival. */
.hero-phone-stage {
  position: relative;
  display: grid;
  height: 650px;
  place-items: center;
  margin: 4px -2vw 0 0;
  pointer-events: auto;
}

.hero-phone-wrap {
  position: relative;
  z-index: 6;
  display: flex;
  width: 286px;
  flex-direction: column;
  align-items: stretch;
}

.hero-phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-phone-status span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-phone-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5af1a7;
  box-shadow: 0 0 0 5px rgba(90, 241, 167, 0.14), 0 0 14px rgba(90, 241, 167, 0.75);
}

.hero-phone-status b {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: #fff26a;
}

.hero-phone-stage .phone-mockup {
  position: relative;
  width: 100%;
  height: auto;
  min-height: 0;
  flex: none;
  aspect-ratio: 147 / 250;
  overflow: visible;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 47px;
  background:
    linear-gradient(145deg, #ecf4ff 0%, #7f98c2 16%, #1e315d 38%, #07132d 62%, #819ac4 84%, #eef5ff 100%);
  box-shadow:
    0 32px 68px rgba(2, 18, 57, 0.42),
    0 0 0 2px rgba(7, 20, 49, 0.8),
    inset 0 0 0 2px rgba(255, 255, 255, 0.36);
  filter: none;
}

.hero-phone-launcher {
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.hero-phone-launcher:hover {
  filter: brightness(1.045);
  transform: translateY(-3px);
}

.hero-phone-launcher:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 8px;
  filter: brightness(1.045);
}

.hero-phone-launcher:active {
  transform: translateY(0) scale(0.992);
}

.hero-phone-stage .phone-mockup::before {
  position: absolute;
  z-index: -1;
  inset: -6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 53px;
  content: "";
}

.hero-phone-stage .phone-screen {
  position: absolute;
  inset: 10px;
  width: auto;
  height: auto;
  overflow: hidden;
  border: 6px solid #020817;
  border-radius: 37px;
  -webkit-clip-path: inset(0 round 37px);
  clip-path: inset(0 round 37px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
  transform: translateZ(0);
  backface-visibility: hidden;
  contain: paint;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 0 1px rgba(1, 5, 16, 0.9);
}

.hero-phone-stage .phone-screen::after {
  position: absolute;
  z-index: 6;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(2, 8, 23, 0.72);
  content: "";
  pointer-events: none;
}

.hero-phone-stage .demo-video {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  max-width: none;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
  -webkit-border-radius: 31px;
  border-radius: 31px;
  object-fit: cover;
  object-position: center;
  -webkit-clip-path: inset(0 round 31px);
  clip-path: inset(0 round 31px);
  -webkit-mask-image: -webkit-radial-gradient(white, black);
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: 100% 100%;
}

.hero-phone-button {
  width: 100%;
  min-height: 58px;
  justify-content: space-between;
  gap: 18px;
  margin-top: 18px;
  padding-inline: 22px;
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(255, 201, 40, 0.25), inset 0 1px rgba(255, 255, 255, 0.8);
}

.hero-phone-button span {
  font-size: 1.2rem;
}

.hero-phone-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit-particles {
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  transform-origin: center;
}

.hero-orbit-particles i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: var(--particle);
  box-shadow: 0 0 12px var(--particle), 0 0 0 2px rgba(255, 255, 255, 0.05);
  opacity: 0.82;
  animation: heroParticleOrbit var(--duration) linear var(--delay) infinite;
  will-change: transform;
}

.hero-orbit-particles i:nth-child(1) { --start: 8deg; --radius: 174px; --size: 5px; --duration: 16s; --delay: -3s; --particle: #ffffff; }
.hero-orbit-particles i:nth-child(2) { --start: 39deg; --radius: 212px; --size: 3px; --duration: 23s; --delay: -14s; --particle: #86ddff; }
.hero-orbit-particles i:nth-child(3) { --start: 72deg; --radius: 252px; --size: 6px; --duration: 31s; --delay: -8s; --particle: #ffe27a; }
.hero-orbit-particles i:nth-child(4) { --start: 104deg; --radius: 188px; --size: 4px; --duration: 19s; --delay: -11s; --particle: #ef3438; }
.hero-orbit-particles i:nth-child(5) { --start: 132deg; --radius: 276px; --size: 3px; --duration: 36s; --delay: -20s; --particle: #ffffff; }
.hero-orbit-particles i:nth-child(6) { --start: 161deg; --radius: 224px; --size: 7px; --duration: 27s; --delay: -5s; --particle: #86ddff; }
.hero-orbit-particles i:nth-child(7) { --start: 194deg; --radius: 164px; --size: 3px; --duration: 18s; --delay: -9s; --particle: #ffe27a; }
.hero-orbit-particles i:nth-child(8) { --start: 218deg; --radius: 264px; --size: 5px; --duration: 34s; --delay: -17s; --particle: #ffffff; }
.hero-orbit-particles i:nth-child(9) { --start: 247deg; --radius: 204px; --size: 4px; --duration: 21s; --delay: -2s; --particle: #ef3438; }
.hero-orbit-particles i:nth-child(10) { --start: 276deg; --radius: 282px; --size: 6px; --duration: 39s; --delay: -24s; --particle: #86ddff; }
.hero-orbit-particles i:nth-child(11) { --start: 303deg; --radius: 182px; --size: 3px; --duration: 17s; --delay: -7s; --particle: #ffffff; }
.hero-orbit-particles i:nth-child(12) { --start: 331deg; --radius: 238px; --size: 5px; --duration: 29s; --delay: -19s; --particle: #ffe27a; }
.hero-orbit-particles i:nth-child(13) { --start: 23deg; --radius: 292px; --size: 2px; --duration: 42s; --delay: -29s; --particle: #86ddff; }
.hero-orbit-particles i:nth-child(14) { --start: 91deg; --radius: 148px; --size: 3px; --duration: 14s; --delay: -6s; --particle: #ffffff; }
.hero-orbit-particles i:nth-child(15) { --start: 151deg; --radius: 246px; --size: 4px; --duration: 25s; --delay: -15s; --particle: #ef3438; }
.hero-orbit-particles i:nth-child(16) { --start: 229deg; --radius: 288px; --size: 3px; --duration: 37s; --delay: -26s; --particle: #ffe27a; }
.hero-orbit-particles i:nth-child(17) { --start: 289deg; --radius: 156px; --size: 5px; --duration: 15s; --delay: -10s; --particle: #86ddff; }
.hero-orbit-particles i:nth-child(18) { --start: 349deg; --radius: 266px; --size: 3px; --duration: 33s; --delay: -21s; --particle: #ffffff; }

@keyframes heroParticleOrbit {
  from {
    transform: translate(-50%, -50%) rotate(var(--start)) translateX(var(--radius));
  }

  to {
    transform: translate(-50%, -50%) rotate(calc(var(--start) + 360deg)) translateX(var(--radius));
  }
}

.orbit-one {
  width: 430px;
  height: 430px;
}

.orbit-two {
  width: 590px;
  height: 590px;
}

.demo-flight-art {
  min-height: 580px;
}

.demo-flight-preview {
  position: absolute;
  z-index: 5;
  inset: 58px 28px 68px;
}

.demo-plane {
  position: absolute;
  z-index: 4;
  top: 29%;
  left: 17%;
  width: 235px;
  filter: drop-shadow(0 26px 22px rgba(4, 26, 79, 0.38));
  animation: planeFloat 4.2s ease-in-out infinite;
}

.demo-flight-path {
  position: absolute;
  z-index: 2;
  top: 48%;
  right: -8%;
  left: 4%;
  height: 120px;
  border-top: 3px dashed rgba(255, 255, 255, 0.44);
  border-radius: 50%;
  transform: rotate(-10deg);
}

.demo-altitude {
  position: absolute;
  z-index: 6;
  top: 25%;
  left: 8%;
  padding-left: 10px;
  border-left: 2px solid #fff268;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.demo-flight-art .demo-carrier {
  width: 76%;
}

.demo-flight-art .demo-rocket {
  top: 36%;
  left: auto;
  right: 6%;
}

@media (max-width: 820px) {
  .hero,
  .hero-inner {
    min-height: 1190px;
  }

  .hero-inner {
    padding-bottom: 570px;
  }

  .hero-phone-stage {
    position: absolute;
    right: 0;
    bottom: 62px;
    left: 0;
    height: 520px;
    margin: 0;
  }

  .hero-phone-wrap {
    width: 252px;
  }

  .demo-flight-art {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .hero,
  .hero-inner {
    min-height: 1030px;
  }

  .hero {
    overflow: hidden;
  }

  .hero-inner {
    padding-bottom: 440px;
  }

  .hero-phone-stage {
    bottom: 54px;
    height: 490px;
  }

  .hero-phone-wrap {
    width: 232px;
  }

  .hero-orbit-particles {
    transform: scale(0.72);
  }

  .hero-phone-status {
    font-size: 0.5rem;
  }

  .hero-phone-stage .phone-mockup {
    padding: 8px;
    border-radius: 40px;
  }

  .hero-phone-stage .phone-mockup::before {
    inset: -5px;
    border-radius: 45px;
  }

  .hero-phone-stage .phone-screen {
    inset: 8px;
    border-width: 5px;
    border-radius: 32px;
    -webkit-clip-path: inset(0 round 32px);
    clip-path: inset(0 round 32px);
  }

  .hero-phone-stage .demo-video {
    -webkit-border-radius: 27px;
    border-radius: 27px;
    -webkit-clip-path: inset(0 round 27px);
    clip-path: inset(0 round 27px);
  }

  .hero-phone-stage .phone-island {
    top: 7px;
    width: 76px;
    height: 21px;
  }

  .hero-phone-stage .phone-island::before {
    top: 8px;
    left: 22px;
    width: 30px;
  }

  .hero-phone-stage .phone-island i {
    top: 6px;
  }

  .hero-phone-stage .phone-button-top {
    top: 90px;
    height: 44px;
  }

  .hero-phone-stage .phone-button-bottom {
    top: 145px;
    height: 62px;
  }

  .hero-phone-button {
    min-height: 54px;
    margin-top: 15px;
  }

  .orbit-one {
    width: 330px;
    height: 330px;
  }

  .orbit-two {
    width: 470px;
    height: 470px;
  }

  .demo-flight-art {
    min-height: 430px;
  }

  .demo-flight-preview {
    inset: 50px 10px 54px;
  }

  .demo-plane {
    top: 29%;
    left: 10%;
    width: 190px;
  }

  .demo-altitude {
    top: 24%;
    left: 5%;
  }

  .demo-flight-art .demo-carrier {
    right: -14%;
    width: 92%;
  }
}

/* Tighter mobile section rhythm for the long-form landing pages. */
@media (max-width: 560px) {
  .demo-section.demo-flightdeck {
    padding-top: 56px;
    padding-bottom: 52px;
  }
}

/* Site-wide motion system: cinematic entrances with restrained ambient motion. */
.js .reveal,
.js .reveal.motion-card {
  --reveal-x: 0px;
  --reveal-y: 34px;
  opacity: 0;
  transform: translate3d(var(--reveal-x), var(--reveal-y), 0) scale(0.975);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.72, 0.18, 1),
    transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--reveal-delay, 0ms);
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.js .reveal.is-visible,
.js .reveal.motion-card.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  will-change: auto;
}

@media (min-width: 821px) {
  .js .reveal.motion-card.motion-from-left { --reveal-x: -28px; }
  .js .reveal.motion-card.motion-from-right { --reveal-x: 28px; }
}

.js .site-header {
  animation: headerArrival 780ms cubic-bezier(0.16, 1, 0.3, 1) 80ms both;
}

.hero-cloud-one {
  animation: cloudVoyageOne 15s ease-in-out infinite alternate;
}

.hero-cloud-two {
  animation: cloudVoyageTwo 19s ease-in-out -5s infinite alternate;
}

@media (max-width: 680px) {
  .hero-cloud-one,
  .hero-cloud-two {
    animation: none;
  }
}

.demo-cloud-one {
  animation: cloudVoyageTwo 13s ease-in-out -3s infinite alternate;
}

.demo-cloud-two {
  animation: cloudVoyageOne 17s ease-in-out -7s infinite alternate;
}

.demo-radar {
  animation: radarBreath 4.8s ease-in-out infinite;
}

.demo-radar-two {
  animation-delay: -2.4s;
}

.demo-multiplier {
  animation: instrumentFloat 4s ease-in-out infinite;
}

.demo-rocket {
  animation: rocketDrift 4.6s ease-in-out -1.2s infinite;
}

.demo-primary-cta.cta-boost::before {
  animation: ctaLightSweep 7s ease-in-out infinite;
}

.facts-grid div::after,
.control-index {
  animation: instrumentPulse 3.2s ease-in-out infinite;
}

.facts-grid div:nth-child(2n)::after,
.control-card:nth-child(2n) .control-index {
  animation-delay: -1.6s;
}

.faq-list details[open] > p {
  animation: faqAnswerArrival 360ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.button {
  transition-duration: 260ms;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px) scale(1.015);
}

@keyframes headerArrival {
  from { opacity: 0; transform: translateX(-50%) translateY(-22px) scale(0.985); }
  to { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

@keyframes cloudVoyageOne {
  from { transform: translate3d(-12px, 5px, 0) scale(0.98); }
  to { transform: translate3d(24px, -9px, 0) scale(1.04); }
}

@keyframes cloudVoyageTwo {
  from { transform: translate3d(18px, -6px, 0) scale(1.03); }
  to { transform: translate3d(-20px, 10px, 0) scale(0.97); }
}

@keyframes radarBreath {
  0%, 100% { opacity: 0.45; transform: scale(0.96); }
  50% { opacity: 0.9; transform: scale(1.035); }
}

@keyframes instrumentFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-10px) rotate(2deg); }
}

@keyframes ctaLightSweep {
  0%, 18% { transform: translateX(-110%) rotate(8deg); opacity: 0; }
  28%, 48% { opacity: 1; }
  62%, 100% { transform: translateX(170%) rotate(8deg); opacity: 0; }
}

@keyframes instrumentPulse {
  0%, 100% { opacity: 0.68; transform: scale(0.94); }
  50% { opacity: 1; transform: scale(1.04); }
}

@keyframes faqAnswerArrival {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal,
  .js .reveal.is-visible,
  .js .reveal.motion-card,
  .js .reveal.motion-card.is-visible {
    opacity: 1;
    filter: none;
    transform: none;
    transition: none;
  }
}
