.fly-page {
  --fly-acid: #c9ff69;
  --fly-green: #2d6c48;
  --fly-deep: #07160f;
  --fly-glass: #dff7e9;
  --fly-amber: #ffcf62;
  background:
    linear-gradient(rgba(16, 16, 38, 0.08) 2px, transparent 2px),
    linear-gradient(90deg, rgba(16, 16, 38, 0.08) 2px, transparent 2px),
    linear-gradient(135deg, #ddf6e8 0%, #aee6c4 48%, #c9ff69 48% 72%, #79c9ff 72% 100%);
  background-size: 28px 28px, 28px 28px, 100% 100%;
}

.fly-page::before {
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 249, 220, 0.92), transparent 23rem),
    radial-gradient(circle at 88% 16%, rgba(201, 255, 105, 0.5), transparent 20rem),
    radial-gradient(circle at 58% 88%, rgba(121, 201, 255, 0.42), transparent 24rem);
}

.fly-skip {
  position: fixed;
  top: -80px;
  left: 16px;
  z-index: 100;
  padding: 12px 16px;
  background: var(--ink);
  border: 3px solid var(--paper);
  color: var(--paper);
  font-weight: 900;
}

.fly-skip:focus { top: 16px; }
.fly-site-header .nav-rail { background: var(--fly-green); }

.fly-main,
.fly-footer {
  width: min(100% - 24px, var(--max));
  margin: 0 auto;
}

.fly-main {
  display: grid;
  gap: 18px;
  min-width: 0;
  padding-bottom: 18px;
}

.fly-hero,
.fly-flow,
.fly-screens,
.fly-readings,
.fly-science,
.fly-price,
.fly-faq {
  min-width: 0;
  border: 4px solid var(--line);
  box-shadow: 8px 8px 0 var(--blue-dark);
}

.fly-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: 14px;
  min-height: 680px;
  padding: 14px;
  background: var(--fly-green);
}

.fly-hero-copy {
  display: grid;
  align-content: center;
  gap: 20px;
  min-width: 0;
  padding: clamp(28px, 5vw, 64px);
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(201, 255, 105, 0.08) 0 2px, transparent 2px 28px),
    linear-gradient(0deg, rgba(201, 255, 105, 0.07) 0 2px, transparent 2px 28px),
    var(--fly-deep);
  border: 4px solid var(--line);
  color: var(--paper);
}

.fly-live-line {
  display: flex;
  gap: 9px;
  align-items: center;
  width: fit-content;
  padding: 8px 10px;
  background: var(--fly-acid);
  border: 3px solid var(--line);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.06em;
}

.fly-live-dot {
  width: 10px;
  height: 10px;
  background: #26b764;
  border: 2px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(38, 183, 100, 0.22);
}

.fly-hero-copy .eyebrow,
.fly-section-heading .eyebrow,
.fly-readings .eyebrow,
.fly-science .eyebrow,
.fly-price .eyebrow { margin: 0; }

.fly-hero-copy h1 {
  max-width: 10ch;
  margin: 0;
  font-size: clamp(3.6rem, 7.8vw, 7.6rem);
  line-height: 0.84;
  text-transform: uppercase;
  text-shadow: 5px 5px 0 var(--fly-green), 10px 10px 0 rgba(0, 0, 0, 0.28);
}

.fly-hero-copy h1 em {
  color: var(--fly-acid);
  font-style: normal;
}

.fly-lead {
  max-width: 700px;
  margin: 0;
  color: #f3ffdd;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 800;
  line-height: 1.6;
}

.fly-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.fly-actions .button-primary,
.fly-price-card .button-primary { background: var(--fly-acid); }
.fly-actions .button-secondary { background: var(--paper); color: var(--ink); }

.fly-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fly-trust li {
  padding: 7px 9px;
  border: 2px solid rgba(255, 249, 220, 0.48);
  color: var(--fly-acid);
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fly-chamber {
  position: relative;
  display: grid;
  min-width: 0;
  place-items: center;
  overflow: hidden;
  padding: 62px 34px;
  background:
    linear-gradient(rgba(16, 16, 38, 0.08) 3px, transparent 3px),
    linear-gradient(90deg, rgba(16, 16, 38, 0.08) 3px, transparent 3px),
    var(--fly-glass);
  background-size: 24px 24px;
  border: 4px solid var(--line);
}

.fly-chamber video {
  display: block;
  width: min(310px, 78%);
  height: auto;
  border: 4px solid var(--line);
  border-radius: 28px;
  box-shadow: 14px 14px 0 rgba(16, 16, 38, 0.24);
  transform: rotate(1deg);
}

.fly-label {
  position: absolute;
  z-index: 2;
  padding: 9px 11px;
  background: var(--paper);
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 900;
  line-height: 1.35;
}

.fly-label-top { top: 24px; left: 24px; transform: rotate(-2deg); }
.fly-label-bottom { right: 24px; bottom: 24px; transform: rotate(2deg); }
.fly-label i { display: inline-block; width: 8px; height: 8px; background: #26b764; border-radius: 50%; }

.fly-flow,
.fly-screens,
.fly-faq {
  padding: clamp(22px, 4vw, 52px);
  background: var(--paper);
}

.fly-section-heading {
  display: grid;
  gap: 12px;
  max-width: 820px;
  min-width: 0;
  margin-bottom: 28px;
}

.fly-section-heading h2,
.fly-readings h2,
.fly-science h2,
.fly-price h2 {
  margin: 0;
  font-size: clamp(2.4rem, 5.5vw, 5.5rem);
  line-height: 0.9;
  text-transform: uppercase;
}

.fly-section-heading > p:last-child,
.fly-readings > div > p:last-child,
.fly-science p,
.fly-price > div > p:last-child {
  margin: 0;
  font-weight: 800;
  line-height: 1.55;
}

.fly-step-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.fly-step-grid li {
  min-width: 0;
  padding: 18px;
  background: var(--fly-glass);
  border: 3px solid var(--line);
  box-shadow: 5px 5px 0 rgba(16, 16, 38, 0.18);
}

.fly-step-grid span { color: var(--fly-green); font-weight: 900; }
.fly-step-grid h3 { margin: 8px 0; font-size: 1.55rem; text-transform: uppercase; }
.fly-step-grid p { margin: 0; font-size: 0.86rem; font-weight: 800; line-height: 1.5; }

.fly-screens { background: var(--fly-green); }
.fly-screens .fly-section-heading { color: var(--paper); }
.fly-screens .fly-section-heading > p:last-child { color: #eaffdb; }

.fly-screen-rail {
  display: grid;
  grid-auto-columns: minmax(210px, 0.25fr);
  grid-auto-flow: column;
  gap: 14px;
  min-width: 0;
  padding: 8px 8px 18px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
}

.fly-screen-rail figure {
  position: relative;
  margin: 0;
  padding: 16px 10px 58px;
  background: var(--paper);
  border: 4px solid var(--line);
  box-shadow: 8px 8px 0 var(--fly-deep);
  scroll-snap-align: start;
}

.fly-screen-rail img {
  display: block;
  width: 100%;
  height: auto;
  border: 3px solid var(--line);
  border-radius: 18px;
}

.fly-screen-rail figcaption {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  gap: 2px;
  font-size: 0.72rem;
}

.fly-screen-rail figcaption b { text-transform: uppercase; }
.fly-screen-rail figcaption span { font-weight: 800; }

.fly-readings {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 52px);
  background: var(--fly-amber);
}

.fly-readings > div { display: grid; align-content: center; gap: 14px; min-width: 0; }
.fly-readings ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; }
.fly-readings li { display: flex; justify-content: space-between; gap: 8px; padding: 12px 14px; background: var(--ink); border: 3px solid var(--line); color: var(--paper); font-weight: 900; text-transform: uppercase; }
.fly-readings li:last-child { grid-column: 1 / -1; background: var(--fly-green); }
.fly-readings b { color: var(--fly-acid); }

.fly-science {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 24px;
  align-items: center;
  padding: clamp(22px, 4vw, 52px);
  background: var(--ink);
  color: var(--paper);
}

.fly-science-mark {
  display: grid;
  width: 130px;
  height: 130px;
  place-items: center;
  background: var(--fly-acid);
  border: 4px solid var(--paper);
  box-shadow: 10px 10px 0 var(--blue-dark);
  color: var(--ink);
  font-size: 5rem;
  font-weight: 900;
}

.fly-science > div:last-child { display: grid; gap: 14px; min-width: 0; }
.fly-science a { width: fit-content; color: var(--fly-acid); font-weight: 900; text-transform: uppercase; }

.fly-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(270px, 0.46fr);
  gap: 18px;
  padding: clamp(22px, 4vw, 52px);
  background: var(--cyan);
}

.fly-price > div:first-child { display: grid; align-content: center; gap: 14px; min-width: 0; }
.fly-price-card { display: grid; gap: 10px; padding: 22px; background: var(--paper); border: 4px solid var(--line); box-shadow: 8px 8px 0 var(--blue-dark); text-align: center; }
.fly-price-card span,
.fly-price-card small { font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; }
.fly-price-card strong { font-size: clamp(3.6rem, 7vw, 6rem); line-height: 0.9; }
.fly-price-card small { color: var(--fly-green); }

.fly-faq details { margin-top: 10px; background: var(--white); border: 3px solid var(--line); box-shadow: 4px 4px 0 rgba(16, 16, 38, 0.16); }
.fly-faq summary { padding: 16px 18px; cursor: pointer; font-weight: 900; text-transform: uppercase; }
.fly-faq details p { margin: 0; padding: 0 18px 18px; font-weight: 800; line-height: 1.55; }

.fly-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
  padding: 16px;
  background: var(--ink);
  border: 4px solid var(--line);
  box-shadow: 8px 8px 0 var(--blue-dark);
  color: var(--paper);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fly-footer a { color: var(--fly-acid); }

@media (max-width: 980px) {
  .fly-hero,
  .fly-readings,
  .fly-price { grid-template-columns: 1fr; }
  .fly-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fly-chamber { min-height: 620px; }
}

@media (max-width: 700px) {
  .fly-site-header { align-items: stretch; }
  .fly-site-header .nav-rail { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fly-site-header .nav-rail a { min-width: 0; padding-inline: 8px; font-size: 0.66rem; }
  .fly-main,
  .fly-footer { width: min(100% - 16px, var(--max)); }
  .fly-hero { min-height: 0; padding: 10px; }
  .fly-hero-copy { gap: 16px; padding: 26px 18px; }
  .fly-hero-copy h1 { font-size: clamp(3rem, 16vw, 5rem); }
  .fly-actions,
  .fly-actions .button { width: 100%; }
  .fly-chamber { min-height: 520px; padding: 60px 20px; }
  .fly-chamber video { width: min(260px, 78%); }
  .fly-label { font-size: 0.62rem; }
  .fly-label-top { top: 18px; left: 16px; }
  .fly-label-bottom { right: 16px; bottom: 18px; }
  .fly-flow,
  .fly-screens,
  .fly-faq,
  .fly-readings,
  .fly-science,
  .fly-price { padding: 20px 16px; }
  .fly-step-grid { grid-template-columns: 1fr; }
  .fly-screen-rail { grid-auto-columns: minmax(188px, 72vw); }
  .fly-readings ul { grid-template-columns: 1fr; }
  .fly-readings li:last-child { grid-column: auto; }
  .fly-science { grid-template-columns: 1fr; }
  .fly-science-mark { width: 92px; height: 92px; font-size: 3.5rem; }
  .fly-footer { flex-direction: column; }
}

@media (max-width: 430px) {
  .fly-live-line { font-size: 0.62rem; white-space: nowrap; }
  .fly-hero-copy h1 { font-size: clamp(2.8rem, 15vw, 4rem); }
  .fly-section-heading h2,
  .fly-readings h2,
  .fly-science h2,
  .fly-price h2 { font-size: clamp(2.1rem, 11vw, 3.5rem); }
}

@media (prefers-reduced-motion: reduce) {
  .fly-chamber video { display: none; }
  .fly-chamber { background-image: url("../assets/fly-lab/fly-lab-feed-live-poster.jpg"); background-position: center; background-repeat: no-repeat; background-size: contain; }
}
