/* Phase 07 owner-approved local typography and end-of-sequence refinement.
   Kept outside the sealed Phase 06 candidate and limited to immersive devices. */
@media (min-width: 1001px) and (orientation: landscape) and (hover: hover) and (pointer: fine) {
  .prelaunch-scroll-indicator {
    font: inherit;
    color: inherit;
  }
}

@media not all and (min-width: 1001px) and (orientation: landscape) and (hover: hover) and (pointer: fine) {
  .prelaunch-card h3,
  .prelaunch-card:nth-child(2n) h3 {
    font-family: "Chalet New York Nineteen Sixty", Arial, Helvetica, sans-serif;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: -0.035em;
    line-height: 0.94;
  }

  .prelaunch-meta,
  .prelaunch-card:nth-child(2n) .prelaunch-meta {
    font-size: 9pt;
    line-height: 12pt;
  }

  @media (max-width: 640px) {
    .prelaunch-card h3,
    .prelaunch-card:nth-child(2n) h3 {
      font-size: clamp(28px, 7.8vw, 36px);
    }
  }

  @media (min-width: 641px) {
    .prelaunch-card h3,
    .prelaunch-card:nth-child(2n) h3 {
      font-size: clamp(36px, 4vw, 48px);
    }
  }

  .prelaunch-scroll-indicator {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: default;
    pointer-events: none;
  }

  .prelaunch-scroll-indicator.is-past-first {
    opacity: 1;
  }

  .prelaunch-scroll-indicator.is-final-story {
    cursor: pointer;
    pointer-events: auto;
  }

  .prelaunch-scroll-indicator:focus-visible {
    outline: 1px solid currentColor;
    outline-offset: 4px;
  }
}

#prelaunch-title > span:first-child {
  font-family: "Chalet New York Nineteen Sixty", Arial, Helvetica, sans-serif;
}

/* EIF social links use the existing Selected Features footer and typography. */
.prelaunch-social-heading {
  display: none;
}

.prelaunch-footer {
  display: flex;
  flex-flow: row wrap;
  max-width: 100%;
  box-sizing: border-box;
}

.prelaunch-footer .prelaunch-social {
  display: flex;
  flex: 0 1 auto;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  color: inherit;
  font: 400 11px/1.6 "Chalet London Nineteen Sixty", Arial, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.prelaunch-social-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}

.prelaunch-social a {
  display: inline-flex;
  align-items: center;
  color: inherit;
  text-decoration: none;
  text-underline-offset: .25em;
}

.prelaunch-social a:hover,
.prelaunch-social a:focus-visible {
  text-decoration: underline;
}

.prelaunch-social a:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 3px;
}

.prelaunch-social-separator {
  margin-inline: .2em;
}

@media (max-width: 1000px), (orientation: portrait), (hover: none), (pointer: coarse) {
  .prelaunch-footer {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    justify-content: center;
    gap: 10px 14px;
  }

  .prelaunch-letter:before {
    display: none;
  }

  .prelaunch-footer .prelaunch-social-item,
  .prelaunch-footer .prelaunch-letter {
    min-height: 44px;
  }

  .prelaunch-footer .prelaunch-social a,
  .prelaunch-footer .prelaunch-letter {
    min-height: 44px;
  }
}

@media (max-width: 640px) {
  .prelaunch-footer {
    display: flex;
    flex-flow: column nowrap;
    align-items: center;
    gap: 12px;
    padding-bottom: max(24px, env(safe-area-inset-bottom));
  }

  .prelaunch-footer .prelaunch-social {
    flex: 0 1 auto;
    justify-content: center;
  }

  .prelaunch-footer .prelaunch-social-separator {
    margin-inline: .15em;
  }

  .prelaunch-footer .prelaunch-letter:before {
    display: none;
  }
}

@media (max-width: 360px) {
  .prelaunch-footer .prelaunch-social-item {
    margin-inline: .3em;
  }

  .prelaunch-footer .prelaunch-social-separator {
    display: none;
  }
}

@media not all and (min-width: 1001px) and (orientation: landscape) and (hover: hover) and (pointer: fine) {
  .prelaunch-social-heading {
    display: block;
    margin: 0 0 clamp(18px, 3vh, 30px);
    color: #fff;
    font: 500 clamp(19px, 3vw, 28px)/1.1 "Chalet New York Nineteen Sixty", Arial, Helvetica, sans-serif;
    letter-spacing: .02em;
    text-align: center;
    text-transform: uppercase;
  }

  .prelaunch-footer {
    display: flex;
    min-height: 100dvh;
    align-content: center;
    margin-top: 0;
    padding: max(24px, env(safe-area-inset-top)) 20px max(24px, env(safe-area-inset-bottom));
    color: #fff;
    scroll-snap-align: start;
    position: relative;
  }
}
