/* ============================================================
   Container — shared responsive layout constraint
   Provides 1024px max content width with responsive side padding.
   Import this in any component that uses the .container class.
   ============================================================ */

.container {
  position:   relative;
  width:      100%;
  max-width:  calc(1024px + 160px); /* 1024px content + 80px × 2 */
  padding:    0 80px;
  margin:     0 auto;
  box-sizing: border-box;
}

/* Tablet (≤991px): 60px sides */
@media (max-width: 991px) {
  .container {
    padding: 0 60px;
  }
}

/* Landscape mobile (≤767px): 2rem sides */
@media (max-width: 767px) {
  .container {
    padding: 0 2rem;
  }
}



/* ============================================================
   Wide container — 1360px content + 48px side padding
   Used for full-bleed section content blocks (slider, big cards)
   that need to be wider than the standard 1024px text container.
   ============================================================ */

.container-wide {
  width:      100%;
  max-width:  calc(1384px + 96px);   /* 1384px content + 48px × 2 */
  padding:    0 3rem;                /* 48px sides */
  margin:     0 auto;
  box-sizing: border-box;
}

/* Tablet (≤991px): 16px less than .container (60px → 44px) */
@media (max-width: 991px) {
  .container-wide {
    padding: 0 44px;
  }
}

/* Landscape mobile (≤767px): 16px less than .container (2rem → 1rem) */
@media (max-width: 767px) {
  .container-wide {
    padding: 0 1rem;
  }
}


/* ============================================================
   AirHowItWorksSection — "Try. Train. Launch." 3-step section
   White ground (refresh.css, BG-1); "Demo section" step cards: beige
   on white, no outline, radius 24, the number outlined 26px. The
   heading's single marked run is set in the markup (MK-1).
   ============================================================ */

.air-hiw.hp-section {
  padding-block: 6rem;   /* AIR page spacing trim: was inherited 8rem */
}

@media (max-width: 991px) {
  .air-hiw.hp-section {
    padding-block: 4.5rem;   /* was inherited 6rem */
  }
}

/* Header and steps are one logical group; this stack owns their 64px rhythm.
   .hp-rail stays bounded by the outer container. */
.air-hiw__content {
  display:        flex;
  flex-direction: column;
  gap:            4rem;   /* 64px */
}


/* Header uses the shared .section-header convention (section.css). The heading
   spans full width via `section-header__text--wide`; the body keeps the readable
   measure automatically (section.css owns that cap). */


/* ---- Steps row -------------------------------------------- */

.air-hiw__steps {
  display:     flex;
  flex-wrap:   nowrap;
  align-items: stretch;
  gap:         var(--spacing-4);   /* 16px either side of the arrow (48 card to card) */
  width:       100%;
}

/* Arrow between cards (a sibling, not nested in a card slot). The arrows
   stay (owner, 2026-11-16): with every card the same beige, they are what
   makes the row read as steps; drawn in the number outline's grey. */
.air-hiw__arrow {
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
  width:           16px;
  color:           var(--opacity-neutral-40);
}


/* ---- Individual step card --------------------------------- */

.air-hiw__step {
  display:         flex;
  flex-direction:  column;
  justify-content: space-between;
  flex:            1;
  min-width:       0;
  padding:         1.75rem;    /* 28px */
  background:      var(--secondary);   /* beige on white (BG-8), no outline (BD-1) */
  border-radius:   var(--radius-lg);   /* 24px (RD-3) */
  overflow:        hidden;
  box-sizing:      border-box;
  gap: 1.5rem;
}

/* ---- Step top (badge + copy) ------------------------------ */

.air-hiw__step-top {
  display:        flex;
  flex-direction: column;
  gap:            var(--spacing-4);   /* 16px number → content */
}


/* ---- Step number badge ------------------------------------ */

.air-hiw__step-badge {
  display:         flex;
  align-items:     center;
  justify-content: center;
  flex-shrink:     0;
  width:           26px;
  height:          26px;
  border-radius:   var(--radius-full);
  border:          1px solid var(--opacity-neutral-40);
  font-size:       var(--font-size-xs);
  line-height:     var(--line-height-xs);
  font-weight:     var(--font-weight-regular);
  color:           var(--muted-foreground);
}


/* ---- Step copy -------------------------------------------- */

.air-hiw__step-copy {
  display:        flex;
  flex-direction: column;
  gap:            0.5rem;   /* 8px */
}

/* Small card title: stays sans, 18/28 (TY-10, C10). */
.air-hiw__step-title {
  margin:      0;
  font-size:   var(--font-size-lg);
  line-height: var(--line-height-lg);
  font-weight: var(--font-weight-bold);
  color:       var(--popover-foreground);
}

.air-hiw__step-body {
  margin:      0;
  font-size:   var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
  color:       var(--foreground);
}

.air-hiw__step-note {
  margin:      0;
  font-size:   var(--font-size-base);
  line-height: var(--line-height-base);
  font-weight: var(--font-weight-regular);
  color:       var(--muted-foreground);
}


/* ============================================================
   Tablet (≤991px)
   ============================================================ */

@media (max-width: 991px) {
  .air-hiw__steps {
    flex-direction: column;
    align-items:    stretch;
  }

  .air-hiw__step {
    flex:  none;
    width: 100%;
  }

  .air-hiw__arrow {
    display:   flex;
    align-self: center;
    width:     16px;
    height:    16px;
    transform: rotate(90deg);
  }
}


/* ============================================================
   Mobile (≤767px)
   ============================================================ */

@media (max-width: 767px) {
  .air-hiw.hp-section {
    padding: 3.375rem 0 3rem;   /* was 4.5rem 0 4rem */
  }

  .air-hiw .container {
    padding: 0 1rem;
  }

  .air-hiw .section-header {
    gap:        var(--spacing-6);
    width:      100%;
    padding:    0 1rem;
    box-sizing: border-box;
  }

  .air-hiw__step {
    flex:           none;
    width:          100%;
    gap:            3.5rem;
    padding:        1.75rem;
    justify-content: flex-start;
  }
}



