/* JetEdCo Independent Partner Program — page styles.
   Brand tokens (colors, Satoshi) come from /css/brand.css.

   Sections rotate through brand color themes (.theme-dark / .theme-light /
   .theme-blue) per the brand book's usage examples, with gradient "seam"
   bands blending one section's background into the next. */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* overflow-x: clip (not just hidden) stops iOS Safari from expanding
   the layout viewport around off-screen decor, which rendered the whole
   page zoomed-out on iPhones */
html { overflow-x: hidden; overflow-x: clip; }
body { line-height: 1.6; overflow-x: hidden; overflow-x: clip; }

/* No hanging single words: short display text balances its lines,
   longer copy avoids orphans (browsers without support just wrap normally) */
h1, h2, h3,
.disclosure, .section-lede, .hero-sub,
.logos-footnote, .team-note, .compare-footnote,
.flow-label, .infra-card h3, .faq-question span:first-child {
  text-wrap: balance;
}
p { text-wrap: pretty; }
img, video, iframe { max-width: 100%; display: block; }
ul, ol { list-style: none; }

/* ---- Section themes ----
   Components only ever read the --s-* variables. */

.theme-dark {
  --s-bg: var(--jetedco-dark);
  --s-bg-css: #2D3035;
  --s-ink: var(--jetedco-white);
  --s-muted: rgba(204, 217, 245, 0.72);
  --s-eyebrow: var(--jetedco-cream);
  --s-card: rgba(204, 217, 245, 0.05);
  --s-border: rgba(204, 217, 245, 0.14);
  --s-accent: var(--jetedco-blue);
  --btn-bg: var(--jetedco-blue);
  --btn-ink: #ffffff;
  --btn-glow: rgba(69, 137, 215, 0.35);
  background: var(--s-bg);
  color: var(--s-ink);
}

.theme-light {
  --s-bg: #E9EFFB;   /* airy tint of Jetedco White */
  --s-bg-css: #E9EFFB;
  --s-ink: var(--jetedco-dark);
  --s-muted: rgba(45, 48, 53, 0.68);
  --s-eyebrow: var(--jetedco-blue);
  --s-card: #ffffff;
  --s-border: rgba(45, 48, 53, 0.10);
  --s-accent: var(--jetedco-blue);
  --btn-bg: var(--jetedco-blue);
  --btn-ink: #ffffff;
  --btn-glow: rgba(69, 137, 215, 0.35);
  background: var(--s-bg);
  color: var(--s-ink);
}

.theme-blue {
  --s-bg: linear-gradient(180deg, #4589D7 0%, #3B7AC6 100%);
  --s-bg-css: #4589D7;
  --s-ink: #ffffff;
  --s-muted: rgba(255, 255, 255, 0.82);
  --s-eyebrow: var(--jetedco-white);
  --s-card: rgba(255, 255, 255, 0.12);
  --s-border: rgba(255, 255, 255, 0.28);
  --s-accent: #ffffff;
  --btn-bg: #ffffff;
  --btn-ink: var(--jetedco-blue);
  --btn-glow: rgba(255, 255, 255, 0.3);
  background: var(--s-bg);
  color: var(--s-ink);
}

/* Gradient seams that blend adjacent section backgrounds.
   The negative margins tuck each seam 1px under its neighbors so
   subpixel rounding can't open a hairline gap at the boundaries. */
.seam { height: clamp(64px, 9vw, 130px); margin-block: -1px; }
.seam-dark-blue   { background: linear-gradient(180deg, #2D3035, #4589D7); }
.seam-dark-light  {
  height: clamp(110px, 15vw, 200px);
  background: linear-gradient(180deg,
    #2D3035 0%, #3D4757 32%, #6B80A2 62%, #AEC0DE 84%, #E9EFFB 100%);
}
.seam-light-blue  { background: linear-gradient(180deg, #E9EFFB, #4589D7); }
.seam-blue-light  { background: linear-gradient(180deg, #3B7AC6, #E9EFFB); }
.seam-light-dark  {
  background: linear-gradient(180deg,
    #E9EFFB 0%, #AEC0DE 16%, #6B80A2 38%, #3D4757 68%, #2D3035 100%);
}
.seam-blue-dark   { background: linear-gradient(180deg, #3B7AC6, #2D3035); }

/* ---- Photographic sections (text over imagery, per the brand deck) ---- */
.section-photo { position: relative; isolation: isolate; margin-top: -1px; }
.section-photo .section-bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: -2;
}
.section-photo .section-veil { position: absolute; inset: 0; z-index: -1; }
/* hero: image dims toward the dark seam below */
.veil-hero {
  background: linear-gradient(180deg,
    rgba(45, 48, 53, 0.60) 0%,
    rgba(45, 48, 53, 0.42) 45%,
    #2D3035 100%);
}
/* comparison: emerges from the light section above, settles into dark below */
.veil-compare {
  background: linear-gradient(180deg,
    #E9EFFB 0%,
    rgba(233, 239, 251, 0) 16%,
    rgba(45, 48, 53, 0.38) 62%,
    #2D3035 100%);
}
/* world map: image dissolves into flat dark at both edges */
.veil-map {
  background: linear-gradient(180deg,
    #2D3035 0%,
    rgba(45, 48, 53, 0) 22%,
    rgba(45, 48, 53, 0) 68%,
    #2D3035 100%);
}
/* final CTA: emerges from light FAQ, settles into the dark footer */
.veil-final {
  background: linear-gradient(180deg,
    #E9EFFB 0%,
    rgba(233, 239, 251, 0) 20%,
    rgba(45, 48, 53, 0.45) 65%,
    #2D3035 100%);
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}
.container-narrow { max-width: 840px; }

.section { padding-block: clamp(56px, 9vw, 110px); }
/* anchored scrolls stop below the sticky header */
.section, [id] { scroll-margin-top: 92px; }

h2 {
  font-size: clamp(26px, 4vw, 42px);
  margin-bottom: 0.6em;
  color: var(--s-ink);
}
.eyebrow-heading {
  font-size: clamp(15px, 1.8vw, 18px);
  letter-spacing: 0.18em;
  color: var(--s-eyebrow);
  text-align: center;
  margin-bottom: 2.2em;
}
.section-lede {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--s-muted);
  max-width: 55ch;
  margin-bottom: 32px;
}

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---- Scroll reveal (added by JS; disabled for reduced motion) ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 18px 40px;
  min-height: 48px;
  background: var(--btn-bg, var(--jetedco-blue));
  color: var(--btn-ink, #fff);
  text-decoration: none;
  font-weight: var(--weight-title);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 15px;
  border-radius: 8px;
  border: 0;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.7s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px var(--btn-glow, rgba(69, 137, 215, 0.35)); }
.btn:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }
.btn-small {
  padding: 10px 18px;
  font-size: 12px;
  min-height: 0;
  letter-spacing: 0.04em;
  border-radius: 6px;
}

/* Delayed CTAs: hidden but space-reserving until the reveal timer fires */
.cta-pending {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ---- Disclosure ---- */
.disclosure {
  margin-top: 20px;
  font-size: 14px;
  font-weight: var(--weight-subtitle);
  color: var(--s-muted);
  letter-spacing: 0.03em;
}
.disclosure-center { text-align: center; }

/* ---- Header (stays dark across all sections) ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(45, 48, 53, 0.97);
  border-bottom: 1px solid rgba(204, 217, 245, 0.12);
  --btn-bg: var(--jetedco-blue);
  --btn-ink: #fff;
  --btn-glow: rgba(69, 137, 215, 0.35);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 14px;
}
.header-logo img { width: clamp(120px, 16vw, 170px); height: auto; }

/* ---- Hero ---- */
.hero { padding-block: clamp(28px, 5vw, 80px); overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  grid-template-areas:
    "copy video"
    "actions video";
  align-items: center;
  column-gap: clamp(32px, 5vw, 64px);
}
.hero-copy { grid-area: copy; align-self: end; }
.hero-video { grid-area: video; }
.hero-actions { grid-area: actions; align-self: start; margin-top: 28px; }
.hero h1 { font-size: clamp(26px, 4vw, 48px); margin-bottom: 14px; color: var(--s-ink); }
.hero-sub {
  font-size: clamp(15px, 1.8vw, 18px);
  color: var(--s-muted);
  line-height: 1.5;
}
.hero-actions .disclosure { margin-top: 14px; font-size: 13px; }
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "copy" "video" "actions";
  }
  .hero-copy { margin-bottom: 20px; }
  .hero-actions { margin-top: 20px; text-align: center; }
  .hero-actions .btn { width: 100%; }
}

/* ---- Video embed (VSL) — sized for a 1080x1350 (4:5) portrait video ---- */
.video-embed {
  position: relative;
  aspect-ratio: 4 / 5;
  max-width: 440px;
  margin-inline: auto;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
}
.video-embed iframe, .video-embed video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.video-poster {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.video-placeholder-note {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  background: linear-gradient(180deg, rgba(45,48,53,0.25), rgba(45,48,53,0.65));
  color: #fff;
  font-weight: var(--weight-subtitle);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.video-play-badge {
  width: 74px; height: 74px;
  border-radius: 50%;
  background: var(--jetedco-blue);
  position: relative;
  box-shadow: 0 8px 30px rgba(69, 137, 215, 0.5);
}
.video-play-badge::after {
  content: "";
  position: absolute; top: 50%; left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 13px 0 13px 22px;
  border-color: transparent transparent transparent #fff;
}

/* ---- Logo cloud ---- */
.section-logos { padding-block: clamp(40px, 6vw, 72px); }
.section-logos .eyebrow-heading { font-size: clamp(19px, 2.4vw, 23px); }
.logo-cloud {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 32px);
  align-items: center;
  max-width: 880px;
  margin-inline: auto;
}
.logo-cloud li {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 72px;
  padding: 16px;
}
.logo-cloud img {
  max-height: 46px;
  max-width: min(150px, 100%);
  width: auto;
  opacity: 0.95;
}
/* placeholders (only shown when a logo has no asset yet) get a subtle card */
.logo-cloud li:has(.logo-placeholder) {
  border-radius: 10px;
  background: var(--s-card);
  border: 1px solid var(--s-border);
}
@media (max-width: 700px) {
  .logo-cloud { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.logo-cloud .logo-placeholder {
  font-size: 12px;
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s-muted);
  text-align: center;
}
.logos-footnote {
  text-align: center;
  margin-top: 24px;
  font-size: 14px;
  color: var(--s-muted);
}

/* ---- Typeform ---- */
.section-typeform { text-align: center; padding-top: 0; }
.section-typeform .section-lede { margin-inline: auto; }
.typeform-embed {
  position: relative;
  min-height: 560px;
  height: min(800px, 88vh);
  height: min(800px, 88svh);
  border-radius: 14px;
  overflow: hidden;
  background: var(--s-card);
  border: 1px solid var(--s-border);
  box-shadow: 0 14px 44px rgba(45, 48, 53, 0.10);
}
.typeform-embed iframe { width: 100%; height: 100%; position: absolute; inset: 0; border: 0; }
/* Phones: the form takes the whole screen, so the iOS keyboard's
   scroll-into-view lands cleanly instead of shoving the page around */
@media (max-width: 760px) {
  .typeform-embed {
    height: calc(100svh - 68px); /* screen minus the sticky header */
    min-height: 620px;
    margin-inline: calc(-1 * clamp(20px, 5vw, 48px));
    border-radius: 0;
    border-left: 0;
    border-right: 0;
    scroll-margin-top: 68px;     /* snap lands flush under the header */
  }
}
.typeform-loading {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 18px;
  color: var(--s-muted);
  font-weight: var(--weight-subtitle);
}
.spinner {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 3px solid var(--s-border);
  border-top-color: var(--s-accent);
  animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Responsibility comparison (blue section, glass panels) ---- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 760px) {
  .compare-grid { grid-template-columns: 1fr; }
}
.compare-col {
  border-radius: 14px;
  padding: clamp(24px, 4vw, 40px);
}
.compare-col-you {
  background: #ffffff;
  color: var(--jetedco-dark);
  box-shadow: 0 18px 50px rgba(24, 46, 80, 0.25);
}
.compare-col-jetedco {
  background: rgba(45, 48, 53, 0.55);
  border: 1px solid rgba(204, 217, 245, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.section-compare { padding-top: clamp(96px, 14vw, 180px); }
.compare-col h3 {
  font-size: clamp(19px, 2.4vw, 24px);
  margin-bottom: 20px;
}
.compare-col-you h3 { color: var(--jetedco-blue); }
.compare-col li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
  font-size: clamp(15px, 1.8vw, 17px);
}
/* bullet: a small jet on takeoff */
.compare-col li::before {
  content: "";
  position: absolute; left: 0; top: 5px;
  width: 19px; height: 19px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='rotate(45 12 12)' fill='%23000' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath transform='rotate(45 12 12)' fill='%23000' d='M21 16v-2l-8-5V3.5a1.5 1.5 0 0 0-3 0V9l-8 5v2l8-2.5V19l-2 1.5V22l3.5-1 3.5 1v-1.5L13 19v-5.5l8 2.5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.compare-col-you li::before {
  background: var(--jetedco-blue);
  top: 7px;
  width: 16px; height: 16px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.5 12.2 2.3 8l1.4-1.4 2.8 2.8 5.8-5.8L13.7 5z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23000' d='M6.5 12.2 2.3 8l1.4-1.4 2.8 2.8 5.8-5.8L13.7 5z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.compare-col-jetedco li::before { background: var(--jetedco-white); }
.compare-footnote {
  margin-top: 32px;
  text-align: center;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: var(--weight-subtitle);
  color: var(--s-ink);
  max-width: 60ch;
  margin-inline: auto;
}

/* ---- Team ---- */
.team-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}
@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr; }
}
.team-copy p {
  font-size: clamp(16px, 2vw, 18px);
  margin-bottom: 18px;
  color: var(--s-ink);
}
.section-team {
  background: linear-gradient(180deg, #2D3035 0%, #3A4048 55%, #2D3035 100%);
}
.team-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(12px, 2vw, 22px);
}
.team-photos li {
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  background: var(--s-card);
  border: 1px solid var(--s-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}
.team-photos img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; }
/* the ninth tile: hints at the wider team beyond the grid */
.team-photos li.team-more {
  background: none;
  border: 2px dashed rgba(204, 217, 245, 0.35);
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 12px);
  padding: 14px;
  text-align: center;
}
.team-more img {
  width: 30%;
  height: auto;
  object-fit: contain;
  opacity: 0.75;
}
.team-more span {
  font-size: clamp(10px, 1.4vw, 13px);
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(204, 217, 245, 0.75);
}
.team-note {
  margin-top: 18px;
  font-size: 14px;
  color: var(--s-muted);
  text-align: center;
}
.team-photo-placeholder {
  height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px;
  color: var(--s-muted);
  font-size: 12px;
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: center;
  padding: 12px;
}
.team-photo-placeholder svg { width: 42px; height: 42px; opacity: 0.5; }

/* ---- Infrastructure: hub-and-spoke network ----
   A central JetEdCo node feeds dotted routes (drawn by app.js, with
   traveling pulses) down into the four capability cards. */
.infra-wrap { position: relative; max-width: 1060px; margin-inline: auto; }
.infra-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.infra-hub {
  position: relative;
  width: 96px; height: 96px;
  margin: 0 auto clamp(56px, 8vw, 96px);
  border-radius: 50%;
  background: #ffffff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 36px rgba(45, 48, 53, 0.16);
}
.infra-hub img { width: 52px; height: auto; }
/* soft radiating ring */
.infra-hub::after {
  content: "";
  position: absolute; inset: -2px;
  border-radius: 50%;
  border: 2px solid rgba(69, 137, 215, 0.45);
  animation: hub-ring 2.8s ease-out infinite;
}
@keyframes hub-ring {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.65); opacity: 0; }
}
/* small connector stub when the SVG routes are hidden */
.infra-hub::before {
  content: "";
  position: absolute; top: 100%; left: 50%;
  width: 2px; height: clamp(40px, 6vw, 70px);
  transform: translateX(-50%);
  background: repeating-linear-gradient(180deg,
    rgba(69, 137, 215, 0.5) 0 3px, transparent 3px 11px);
}
.infra-wrap.routed .infra-hub::before { display: none; }

.infra-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
@media (max-width: 960px) { .infra-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .infra-grid { grid-template-columns: 1fr; } }

.infra-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  padding: clamp(26px, 3vw, 38px) clamp(20px, 2.5vw, 28px);
  background: var(--s-card);
  border: 1px solid var(--s-border);
  text-align: center;
  box-shadow: 0 6px 22px rgba(45, 48, 53, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.infra-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(45, 48, 53, 0.14);
}
/* accent hairline along the top, where the route lands */
.infra-card::before {
  content: "";
  position: absolute; top: 0; left: 20%; right: 20%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background: linear-gradient(90deg, transparent, var(--jetedco-blue), transparent);
}
.infra-icon {
  width: 72px; height: 72px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(69, 137, 215, 0.10);
  display: flex; align-items: center; justify-content: center;
}
.infra-card svg {
  width: 34px; height: 34px;
  color: var(--s-accent);
}
.infra-card h3 {
  font-size: clamp(17px, 2vw, 20px);
  margin-bottom: 8px;
  color: var(--s-ink);
}
.infra-card p { font-size: 14px; color: var(--s-muted); }

/* staggered entrance (delays set by app.js) */
.infra-card.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.infra-card.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .infra-hub::after { animation: none; opacity: 0; }
  .infra-card.reveal { opacity: 1; transform: none; }
}

/* ---- Growth flow: the "flight path" (blue section showpiece) ----
   app.js measures the step nodes and draws a dotted SVG route through
   them; the brand paper plane flies the route as you scroll and lights
   each step up. Static (fully drawn, no plane) for reduced motion. */
.section-flow h2 {
  text-align: center;
  margin-bottom: 1.6em;
  animation: gentle-float 5.5s ease-in-out infinite;
}
@keyframes gentle-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-7px); }
}
.section-flow .container-narrow { max-width: 900px; }

.flow {
  position: relative;
  max-width: 760px;
  margin-inline: auto;
}
.flow-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.flow-plane {
  position: absolute;
  top: 0; left: 0;
  width: 40px; height: 40px;
  pointer-events: none;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
  will-change: transform;
}
.flow li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 76px minmax(0, 1fr);
  align-items: center;
  min-height: 112px;
  padding-block: 8px;
}
/* no-JS fallback: simple connector segments (hidden once JS enhances) */
.flow li:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 50%; top: calc(50% + 34px); height: 44px;
  width: 2px;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.4);
}
.flow.enhanced li::before { display: none; }

.flow .flow-num {
  grid-column: 2;
  justify-self: center;
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex; align-items: center; justify-content: center;
  font-weight: var(--weight-title);
  font-size: 18px;
  color: #ffffff;
  transition: background 0.35s ease, color 0.35s ease, box-shadow 0.35s ease;
}
.flow .flow-num.active {
  background: #ffffff;
  color: var(--jetedco-blue);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.16);
}
.flow .flow-label {
  display: inline-block;
  font-size: clamp(15px, 1.8vw, 17px);
  font-weight: var(--weight-subtitle);
  color: #ffffff;
  line-height: 1.45;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 12px 18px;
}
.flow li:nth-child(odd) .flow-label { grid-column: 3; grid-row: 1; justify-self: start; text-align: left; margin-left: 6px; }
.flow li:nth-child(even) .flow-label { grid-column: 1; grid-row: 1; justify-self: end; text-align: right; margin-right: 6px; }

/* the payoff step */
.flow li.flow-highlight { min-height: 128px; }
.flow li.flow-highlight .flow-num { width: 68px; height: 68px; font-size: 21px; }
.flow li.flow-highlight .flow-num.active {
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.18), 0 0 44px rgba(255, 255, 255, 0.55);
}
.flow li.flow-highlight .flow-label {
  background: #ffffff;
  color: var(--jetedco-blue);
  font-weight: var(--weight-title);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

@media (max-width: 760px) {
  .flow li { grid-template-columns: 76px minmax(0, 1fr); min-height: 96px; }
  .flow .flow-num { grid-column: 1; }
  .flow li:nth-child(odd) .flow-label,
  .flow li:nth-child(even) .flow-label {
    grid-column: 2; grid-row: 1; justify-self: start; text-align: left;
    margin: 0 0 0 4px;
  }
  .flow li:not(:last-child)::before { left: 38px; }
}

/* ---- FAQ ---- */
.section-faq h2 { text-align: center; margin-bottom: 1.4em; }
.faq-item {
  border: 1px solid var(--s-border);
  border-radius: 12px;
  margin-bottom: 12px;
  background: var(--s-card);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(45, 48, 53, 0.06);
}
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
  min-height: 48px;
  background: none;
  border: 0;
  color: var(--s-ink);
  font-family: var(--font-brand);
  font-weight: var(--weight-subtitle);
  font-size: clamp(15px, 2vw, 17px);
  text-align: left;
  cursor: pointer;
}
.faq-question:focus-visible { outline: 3px solid var(--s-accent); outline-offset: -3px; }
.faq-icon {
  flex: none;
  width: 22px; height: 22px;
  position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--s-accent);
  transition: transform 0.2s ease;
}
.faq-icon::before { width: 14px; height: 2px; }
.faq-icon::after { width: 2px; height: 14px; }
.faq-question[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) scaleY(0); }
.faq-answer { padding: 0 22px 22px; }
.faq-answer p {
  font-size: clamp(14px, 1.8vw, 16px);
  color: var(--s-muted);
  margin-bottom: 10px;
}
.faq-answer p:last-child { margin-bottom: 0; }

/* ---- Final CTA ---- */
.section-final-cta { text-align: center; }
.section-final-cta h2 { margin-bottom: 28px; }

/* ---- Footer ---- */
.site-footer {
  padding-block: 48px;
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  text-align: center;
}
.footer-symbol { width: 54px; height: auto; opacity: 0.7; }
.site-footer p { font-size: 14px; color: var(--s-muted); }
.site-footer .footer-legal {
  max-width: 88ch;
  margin-top: 10px;
  font-size: 11px;
  line-height: 1.7;
  text-align: left;
  color: rgba(204, 217, 245, 0.45);
}

/* ============================================================
   HERO SPECTACLE — world map alive with flight routes, staggered
   entrance choreography, shimmer headline, floating VSL card.
   (Motion language shared with /webinar; all of it is disabled
   for prefers-reduced-motion at the bottom.)
   ============================================================ */

/* slow Ken Burns drift on the map */
.hero-map-bg { animation: kenburns 30s ease-in-out infinite alternate; will-change: transform; }
@keyframes kenburns {
  from { transform: scale(1); }
  to   { transform: scale(1.09) translateY(-1.6%); }
}
.veil-hero-map {
  background:
    radial-gradient(60% 70% at 70% 38%, rgba(45, 48, 53, 0) 0%, rgba(45, 48, 53, 0.35) 100%),
    linear-gradient(180deg,
      rgba(45, 48, 53, 0.72) 0%,
      rgba(45, 48, 53, 0.45) 45%,
      #2D3035 100%);
}

/* animated flight routes */
.routes-svg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
}
.routes-svg .route {
  fill: none;
  stroke: rgba(134, 172, 229, 0.38);
  stroke-width: 1.6;
  stroke-dasharray: 3 9;
  animation: route-dash 26s linear infinite;
}
.routes-svg .r2 { animation-duration: 34s; stroke-opacity: 0.75; }
.routes-svg .r3 { animation-duration: 42s; stroke-opacity: 0.55; }
@keyframes route-dash { to { stroke-dashoffset: -480; } }
.routes-svg .city { fill: #86ACE5; }
.routes-svg .city-pulse {
  fill: none;
  stroke: #86ACE5;
  stroke-width: 1.5;
  transform-box: fill-box;
  transform-origin: center;
  animation: city-pulse 3.2s ease-out infinite;
}
.routes-svg .p2 { animation-delay: 0.9s; }
.routes-svg .p3 { animation-delay: 1.7s; }
.routes-svg .p4 { animation-delay: 2.4s; }
@keyframes city-pulse {
  0%   { transform: scale(0.4); opacity: 0.9; }
  100% { transform: scale(2.6); opacity: 0; }
}
#hero-plane image { filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.45)); }
.hero .container { position: relative; z-index: 1; }

/* eyebrow */
.eyebrow {
  font-size: clamp(12px, 1.6vw, 15px);
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--jetedco-cream);
  margin-bottom: 16px;
}

/* headline lines + icy shimmer on the payoff line */
.h1-line { display: block; }
.h1-shimmer {
  background: linear-gradient(100deg, #CCD9F5 0%, #86ACE5 30%, #ffffff 50%, #86ACE5 68%, #CCD9F5 100%);
  background-size: 230% 100%;
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #CCD9F5; /* fallback if clip:text unsupported */
  animation: shimmer 6s ease-in-out infinite;
}
@keyframes shimmer {
  0%, 100% { background-position: 0% 0; }
  50%      { background-position: 100% 0; }
}

/* load-in choreography */
.rise { opacity: 0; animation: rise 0.85s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.rise-1 { animation-delay: 0.05s; }
.rise-2 { animation-delay: 0.15s; }
.rise-3 { animation-delay: 0.28s; }
.rise-4 { animation-delay: 0.42s; }
.rise-5 { animation-delay: 0.55s; }
.rise-6 { animation-delay: 0.7s; }
@keyframes rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}

/* breathing glow on the primary CTA */
.btn-glow { animation: btn-breathe 3.2s ease-in-out infinite; }
@keyframes btn-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(69, 137, 215, 0.0); }
  50%      { box-shadow: 0 10px 34px rgba(69, 137, 215, 0.55); }
}

/* the VSL card floats with halo + echo frames */
.hero-video { position: relative; }
.vsl-card {
  position: relative;
  animation: floaty 7s ease-in-out infinite;
  animation-delay: 1s;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}
.vsl-card::before {
  content: "";
  position: absolute; inset: -14% -20%;
  background: radial-gradient(50% 50% at 50% 45%, rgba(69, 137, 215, 0.45) 0%, rgba(69, 137, 215, 0) 70%);
  filter: blur(6px);
  z-index: 0;
}
.vsl-echo {
  position: absolute;
  inset: 0;
  max-width: 440px;
  margin-inline: auto;
  border-radius: 14px;
  border: 1px solid rgba(134, 172, 229, 0.35);
  z-index: 0;
}
.vsl-echo-1 { transform: rotate(-3deg) translate(-10px, 8px); }
.vsl-echo-2 { transform: rotate(2.5deg) translate(12px, -6px); border-color: rgba(134, 172, 229, 0.2); }
.vsl-card .video-embed {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(204, 217, 245, 0.28);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}

/* floating glass chips around the VSL */
.float-chip {
  position: absolute;
  z-index: 2;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(45, 48, 53, 0.6);
  border: 1px solid rgba(204, 217, 245, 0.28);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--jetedco-white);
  font-size: 12px;
  font-weight: var(--weight-subtitle);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  animation: floaty 6s ease-in-out infinite;
}
.float-chip-1 { top: 7%;  left: 2%;  animation-delay: 0.4s; }
.float-chip-2 { top: 42%; right: -2%; animation-delay: 1.6s; }
.float-chip-3 { bottom: 12%; left: -2%; animation-delay: 2.6s; }
@media (max-width: 900px) {
  .float-chip { display: none; }  /* keep phones clean */
}

/* the paper plane crosses the seam once, on scroll */
.seam-flyby { position: relative; overflow: hidden; }
.flyby {
  position: absolute;
  top: 22%;
  left: 0;
  width: clamp(34px, 4vw, 52px);
  opacity: 0;
  pointer-events: none;
}
.flyby img { width: 100%; height: auto; }
.flyby.go { animation: flyby 3s cubic-bezier(0.35, 0.1, 0.35, 1) forwards; }
@keyframes flyby {
  0%   { transform: translate3d(-12vw, 34px, 0) rotate(6deg); opacity: 0; }
  12%  { opacity: 1; }
  88%  { opacity: 1; }
  100% { transform: translate3d(110vw, -30px, 0) rotate(-4deg); opacity: 0; }
}

/* reduced motion: everything lands settled and visible */
@media (prefers-reduced-motion: reduce) {
  .rise { opacity: 1; }
  .flyby, #hero-plane { display: none; }
  .h1-shimmer {
    background: none;
    -webkit-text-fill-color: currentColor;
    color: var(--s-ink);
  }
}
