:root {
  --sky: #7cc4ef;
  --sky-deep: #3d8fd6;
  --cream: #fff8ec;
  --cream-2: #fdeed6;
  --card: rgba(255, 255, 255, 0.86);
  --ink: #1d2b3a;
  --muted: #5b6b7b;
  --line: rgba(29, 43, 58, 0.08);
  --orange: #d9480f;
  --orange-2: #c2410c;
  --orange-3: #b83d0e;
  --sign-orange: #e8590c;
  --paper: #fffdf8;
  --paper-warm: #fff4dc;
  --on-accent: #fffaf4;
  --ink-2: #2b4257;
  --sky-2: #b9e0f7;
  --sky-wash: #e3f3fd;
  --sky-wash-2: #f4fbff;
  --peach: #ffe3c2;
  --peach-ink: #7a5d3f;
  --bezel: #fffaf2;
  --bezel-2: #f1dcc0;
  --sun: #ffd23f;
  --red: #c8352a;
  --jet: #f0662e;
  --prop: #f5b630;
  --heli: #2fc4ad;
  --sea: #4f9cf2;
  --fighter: #6f95c4;
  --crop: #8fbf2f;
  --shuttle: #e05fd0;
  --grass: #7fa44c;
  --radius: 28px;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font: "Nunito", ui-rounded, "SF Pro Rounded", system-ui, -apple-system, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 700 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.05; font-weight: 900; letter-spacing: -0.015em; text-wrap: balance; }
h2 { font-size: clamp(34px, 4.6vw, 54px); margin-bottom: 18px; }
h3 { font-size: 24px; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.section-lede { color: var(--muted); font-size: 19px; max-width: 640px; }
.fineprint { color: var(--muted); font-size: 14px; margin-top: 18px; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 56px; padding: 0 26px; border-radius: 999px;
  background: var(--orange-2); color: var(--on-accent); text-decoration: none;
  font: 900 17px/1 var(--font);
  transition: transform .2s var(--ease-out);
}
.btn:hover { transform: translateY(-2px) scale(1.03); }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn-sm { min-height: 42px; padding: 0 20px; font-size: 15px; background: linear-gradient(180deg, var(--orange-2), var(--orange-3)); box-shadow: 0 3px 9px color-mix(in srgb, var(--ink) 14%, transparent); }
.btn-play {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; padding: 0 30px; border-radius: 16px;
  background: var(--sign-orange); color: var(--on-accent); text-decoration: none;
  font: 900 19px/1 var(--font);
  box-shadow: 0 10px 24px color-mix(in srgb, var(--sign-orange) 30%, transparent);
  transition: transform .2s var(--ease-out), box-shadow .2s var(--ease-out);
}
.btn-play:hover { transform: translateY(-2px); box-shadow: 0 14px 28px color-mix(in srgb, var(--sign-orange) 36%, transparent); }
.btn-play:active { transform: translateY(1px); }
.btn-play svg { flex: none; width: 24px; height: 24px; fill: currentColor; }
a:focus-visible { outline: 3px solid var(--sky-deep); outline-offset: 4px; }

/* nav */
.nav {
  position: fixed; inset: 12px 12px auto; z-index: 10;
  display: flex; align-items: center; gap: 24px;
  max-width: 1180px; margin-inline: auto; padding: 8px 8px 8px 12px;
  background: color-mix(in srgb, var(--cream) 82%, transparent); backdrop-filter: blur(16px) saturate(1.4);
  border-radius: 999px; box-shadow: 0 8px 30px color-mix(in srgb, var(--ink) 12%, transparent);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; font-style: italic; font-size: 19px; }
.brand img { border-radius: 10px; }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 800; }
.nav nav a:hover { color: var(--ink); }
@media (max-width: 760px) { .nav nav { display: none; } .nav .btn-sm { margin-left: auto; } }

/* hero */
.hero { position: relative; padding: 108px 0 96px; overflow: hidden; isolation: isolate; }
.hero-bg {
  position: absolute; inset: 0; z-index: -3;
  background: url("media/backdrop.webp?v=6") center / cover no-repeat;
  animation: fade-in 1.2s ease both, slow-zoom 26s ease-in-out infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2; pointer-events: none;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--sky) 85%, transparent) 0%, color-mix(in srgb, var(--sky) 35%, transparent) 28%, color-mix(in srgb, var(--sky) 0%, transparent) 55%, color-mix(in srgb, var(--cream) 0%, transparent) 82%, var(--cream) 100%),
    radial-gradient(55% 55% at 22% 50%, color-mix(in srgb, var(--cream) 45%, transparent), transparent 70%);
}
@keyframes fade-in { from { opacity: 0; } }
@keyframes slow-zoom { from { transform: scale(1.02); } to { transform: scale(1.14); } }

/* top-down clouds drifting over the airfield */
.clouds { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.clouds i {
  position: absolute; width: 360px; height: 160px; border-radius: 50%;
  background:
    radial-gradient(closest-side at 30% 60%, var(--paper) 60%, transparent),
    radial-gradient(closest-side at 62% 40%, var(--paper) 62%, transparent),
    radial-gradient(closest-side at 78% 66%, var(--paper) 55%, transparent);
  filter: blur(6px) drop-shadow(0 30px 18px color-mix(in srgb, var(--ink) 18%, transparent));
  opacity: .9; animation: drift linear infinite;
}
.clouds i:nth-child(1) { top: 8%;  animation-duration: 70s; animation-delay: -10s; }
.clouds i:nth-child(2) { top: 34%; animation-duration: 95s; animation-delay: -60s; scale: 1.4; opacity: .75; }
.clouds i:nth-child(3) { top: 62%; animation-duration: 80s; animation-delay: -35s; scale: .9; }
.clouds i:nth-child(4) { top: 18%; animation-duration: 110s; animation-delay: -85s; scale: 1.8; opacity: .55; }
.clouds i:nth-child(5) { top: 74%; animation-duration: 120s; animation-delay: -5s; scale: 1.2; opacity: .6; }
@keyframes drift { from { transform: translateX(-30vw); } to { transform: translateX(120vw); } }

.hero-grid { position: relative; z-index: 3; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: 48px; }
/* One board holds the whole pitch: logo, line, actions. */
.hero-copy {
  justify-self: start; width: 100%; max-width: 540px; padding: 36px 36px 32px; border-radius: var(--radius);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
  box-shadow: 0 24px 60px color-mix(in srgb, var(--ink) 22%, transparent);
  animation: rise-in .8s var(--ease-out) .15s both;
}
.logo { width: clamp(220px, 34vw, 340px); margin: 0 0 28px; }
.logo-mark { display: block; width: 100%; height: auto; }
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }

.hero-tag { font-size: 30px; font-weight: 900; line-height: 1.15; margin-bottom: 8px; }
.lede { font-size: 18px; color: var(--muted); }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 28px; }
.link-play { color: var(--ink); font-weight: 900; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; text-decoration-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.link-play:hover { text-decoration-color: var(--ink); }
.hero .fineprint { color: var(--muted); margin-top: 20px; }
@keyframes rise-in { from { opacity: 0; transform: translateY(30px) scale(.94); } }

.hero-device { display: flex; justify-content: center; animation: rise-in 1s var(--ease-out) .3s both; }
.phone {
  height: min(620px, calc(100vh - 170px)); max-width: 100%;
  aspect-ratio: 1398 / 2034;
  padding: 12px; border-radius: 48px;
  background: linear-gradient(145deg, var(--bezel), var(--bezel-2));
  box-shadow: 0 0 0 1.5px color-mix(in srgb, var(--paper) 90%, transparent) inset, 0 40px 70px color-mix(in srgb, var(--ink) 35%, transparent);
  transform: rotate(3deg);
  animation: float 7s ease-in-out infinite;
}
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 37px; background: var(--grass); }
@media (max-width: 900px) {
  .hero { padding: 104px 0 80px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .hero::before { background: linear-gradient(180deg, color-mix(in srgb, var(--sky) 92%, transparent) 0%, color-mix(in srgb, var(--sky) 50%, transparent) 40%, color-mix(in srgb, var(--cream) 20%, transparent) 75%, var(--cream) 100%); }
  .phone { height: auto; width: min(360px, 80vw); transform: none; }
}

/* hero flight paths */
.hero-flight { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
.route { fill: none; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 2400; stroke-dashoffset: 2400; }
.route-jet { stroke: var(--jet); animation: draw-route 16s linear infinite; }
.route-heli { stroke: var(--heli); stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw-route-b 22s linear infinite; }
.route-prop { stroke: var(--prop); stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw-route-b 19s linear -6s infinite; }
.route-float { stroke: var(--sea); stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw-route-b 24s linear -14s infinite; }
@keyframes draw-route { 0% { stroke-dashoffset: 2400; opacity: .9; } 70% { stroke-dashoffset: 0; opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
@keyframes draw-route-b { 0% { stroke-dashoffset: 1400; opacity: .9; } 70% { stroke-dashoffset: 0; opacity: .9; } 100% { stroke-dashoffset: 0; opacity: 0; } }
.hero-craft { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.craft { filter: drop-shadow(8px 12px 4px color-mix(in srgb, var(--ink) 30%, transparent)); }
.rotor { animation: spin .2s linear infinite; transform-box: fill-box; transform-origin: center; }
@keyframes spin { to { transform: rotate(360deg); } }

/* how */
.how { padding: 90px 0 90px; }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.steps li { background: var(--paper); border-radius: var(--radius); padding: 30px 28px 32px; box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 8%, transparent); }
.steps h3 { margin: 22px 0 10px; }
.steps p { color: var(--muted); }
.step-num {
  display: grid; place-items: center; width: 56px; height: 56px; border-radius: 18px;
  background: var(--c); color: var(--ink); font-size: 26px; font-weight: 900; font-variant-numeric: tabular-nums;
  box-shadow: 0 5px 14px color-mix(in srgb, var(--c) 45%, transparent); transform: rotate(-6deg);
}
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* fleet */
.aircraft { padding: 100px 0; background: linear-gradient(180deg, var(--sky-wash), var(--sky-wash-2)); }
.fleet { list-style: none; margin: 44px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.fleet li {
  position: relative; display: grid; gap: 6px; align-content: start;
  padding: 26px 24px 24px; border-radius: 24px; overflow: hidden;
  background: var(--paper); box-shadow: 0 16px 34px color-mix(in srgb, var(--ink) 8%, transparent);
  transition: transform .25s var(--ease-out);
}
.fleet li:hover { transform: translateY(-4px) rotate(-1deg); }
.fleet li::before { content: ""; position: absolute; inset: 0 0 auto; height: 8px; background: var(--c); }
.fleet b { font-size: 21px; font-weight: 900; }
.fleet span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.fleet em {
  justify-self: start; margin-top: 8px; font-style: normal; font-size: 13px; font-weight: 900;
  color: var(--ink); background: var(--c); padding: 5px 11px; border-radius: 999px;
}

/* features */
.features { padding: 100px 0 40px; }
.feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); align-items: center; gap: 56px; margin-top: 72px; }
.feature.flip .clip { order: 2; }
.clip {
  border-radius: var(--radius); overflow: hidden; background: var(--grass);
  aspect-ratio: 1834 / 1398; border: 8px solid var(--paper);
  box-shadow: 0 30px 60px color-mix(in srgb, var(--ink) 20%, transparent);
}
.feature:not(.flip) .clip { rotate: -1.2deg; }
.feature.flip .clip { rotate: 1.2deg; }
.clip video { width: 100%; height: 100%; object-fit: cover; border-radius: 20px; }
.feature-copy h3 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 14px; }
.feature-copy p { color: var(--muted); font-size: 18px; }
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { font-size: 13px; font-weight: 900; padding: 7px 13px; border-radius: 999px; background: var(--paper); color: var(--ink); box-shadow: 0 3px 9px color-mix(in srgb, var(--ink) 14%, transparent); }
@media (max-width: 860px) {
  .feature { grid-template-columns: minmax(0, 1fr); gap: 26px; margin-top: 56px; }
  .feature.flip .clip { order: 0; }
}

/* modes */
.modes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 70px 0 110px; }
.mode-card { padding: 26px 24px; border-radius: 24px; background: var(--paper); box-shadow: 0 16px 34px color-mix(in srgb, var(--ink) 7%, transparent); }
.mode-card h3 { font-size: 21px; margin-bottom: 8px; }
.mode-card p { color: var(--muted); font-size: 15px; line-height: 1.5; }
@media (max-width: 960px) { .modes { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .modes { grid-template-columns: 1fr; } }

/* demo */
.demo { padding: 100px 0; background: linear-gradient(180deg, var(--sky) 0%, var(--sky-2) 100%); }
.demo-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 56px; align-items: center; }
.demo-copy p:not(.fineprint) { color: var(--ink-2); font-size: 18px; margin-bottom: 30px; }
.demo .fineprint { color: var(--ink-2); }
.demo-frame {
  aspect-ratio: 16 / 11; border-radius: var(--radius); overflow: hidden; border: 8px solid var(--paper);
  box-shadow: 0 30px 60px color-mix(in srgb, var(--ink) 25%, transparent); background: var(--grass);
}
.demo-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 900px) {
  .demo-grid { grid-template-columns: 1fr; }
  .demo-frame { display: none; }
}

/* pricing */
.pricing { padding: 110px 0; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 44px; align-items: start; }
.plan { padding: 30px 28px; border-radius: var(--radius); background: var(--paper); box-shadow: 0 18px 40px color-mix(in srgb, var(--ink) 8%, transparent); }
.plan.featured { background: linear-gradient(170deg, var(--paper-warm), var(--paper)); box-shadow: 0 0 0 3px var(--orange), 0 22px 44px color-mix(in srgb, var(--orange) 20%, transparent); transform: translateY(-8px); }
.plan h3 { font-size: 20px; color: var(--muted); }
.plan.featured h3 { color: var(--orange-2); }
.price { font-size: 42px; font-weight: 900; font-variant-numeric: tabular-nums; margin: 6px 0 18px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 800; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 28px; color: var(--ink); font-size: 16px; line-height: 1.45; }
.plan li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%;
  background: var(--heli) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%231d2b3a' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 15px no-repeat;
}
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } .plan.featured { transform: none; } }

/* closer */
.closer { padding: 110px 0 120px; text-align: center; background: linear-gradient(180deg, var(--cream) 0%, var(--peach) 100%); }
.closer-inner { display: grid; justify-items: center; gap: 18px; }
.faq { padding-top: 0; padding-bottom: 110px; }
.faq-list { display: grid; gap: 12px; margin-top: 28px; max-width: 820px; }
.faq details { border-radius: var(--radius); background: var(--paper); box-shadow: 0 12px 30px color-mix(in srgb, var(--ink) 7%, transparent); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; position: relative; font-size: 19px; font-weight: 900; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 24px; top: 50%; translate: 0 -50%; font-size: 26px; color: var(--orange-2); transition: rotate .2s var(--ease-out); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding: 0 24px 22px; margin: 0; color: var(--muted); font-size: 17px; line-height: 1.55; }

.closer-mark { width: min(100%, 320px); height: auto; margin-bottom: 10px; }
.closer h2 { margin: 0; }
.closer p { color: var(--muted); font-size: 19px; margin-bottom: 14px; }

/* footer */
.footer { background: var(--peach); padding: 26px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--peach-ink); font-size: 14px; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; border-top: 1px solid color-mix(in srgb, var(--peach-ink) 20%, transparent); padding-top: 22px; }
.footer nav { display: flex; gap: 22px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--ink); }

/* scroll reveal */
.js .reveal { opacity: 0; transform: translateY(36px) scale(.97); transition: opacity .7s ease, transform .9s var(--ease-out); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .route { stroke-dashoffset: 0; }
  .hero-craft { display: none; }
}

@media (max-width: 520px) {
  .btn-play { width: 100%; min-height: 56px; padding: 0 12px; gap: 8px; white-space: nowrap; }
  .hero-copy { padding: 26px 22px 24px; }
  .btn-play svg { width: 22px; height: 22px; }
  .hero-tag { font-size: 25px; }
  .lede { font-size: 17px; }
}
