/* Escalate typography, adapted to the existing Comparsa layout and palette. */
@font-face {
  font-family: Archivo;
  src: url('/assets/launch-20260911/fonts/archivo-400.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url('/assets/launch-20260911/fonts/archivo-500.ttf') format('truetype');
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Archivo;
  src: url('/assets/launch-20260911/fonts/archivo-600.ttf') format('truetype');
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}
:root {
  --launch-sans: Archivo, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sans: var(--launch-sans);
  --sans-display: var(--launch-sans);
  --c-sans: var(--launch-sans);
  --mono: var(--launch-sans);
  --c-mono: var(--launch-sans);
  --launch-control-radius: 4px;
  --launch-control-tracking: .065em;
  --launch-display-tracking: -.035em;
  --r-control: var(--launch-control-radius);
  --c-control-radius: var(--launch-control-radius);
}
body,
button,
input,
select,
textarea {
  font-family: var(--launch-sans);
}
html {
  overflow-x: clip;
}
.home .hero {
  overflow-x: clip;
  overflow-y: visible;
}
.home .hero h1,
.home .desktop-hero-copy h1,
.c-title,
.page-head h1,
.cw-headline,
.cw-success-headline {
  font-family: var(--launch-sans);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: var(--launch-display-tracking);
}
.hero-waitlist-panel h2,
.home .desktop-talent-panel h2,
.talent-merge-heading h2,
.c-section h2,
.c-prose h2,
.prose h2 {
  font-family: var(--launch-sans);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: var(--launch-display-tracking);
}
.sides h3,
.talent-merge-steps h3,
.cw-benefit h2,
.c-card h2,
.c-card h3,
.faq dt {
  font-family: var(--launch-sans);
  font-weight: 500;
  letter-spacing: -.02em;
}
.home .desktop-hero-copy p,
.hero-subhead,
.cw-subhead,
.c-lede {
  font-weight: 400;
  line-height: 1.65;
  letter-spacing: -.01em;
}
.desktop-talent-panel li,
.talent-flash-list li,
html.talent-flash-motion .talent-flash-active span {
  font-family: var(--launch-sans);
  font-weight: 500;
}
.btn,
.waitlist .btn,
.site-nav .header-cta,
.c-nav .nav-cta,
.nav-cta,
.c-btn,
.c-button,
.cds-btn,
.cw-submit {
  min-height: 48px;
  padding: 12px 23px;
  border-radius: var(--launch-control-radius);
  font-family: var(--launch-sans);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--launch-control-tracking);
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: none;
}
.site-nav .header-cta,
.c-nav .nav-cta,
.nav-cta {
  min-height: 44px;
  padding: 10px 18px;
  font-size: 12px;
}
.hero-secondary {
  font-weight: 500;
}
.launch-download {
  margin: 25px 0 26px;
}
.app-store-link {
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  border-radius: var(--launch-control-radius);
  text-decoration: none;
}
.app-store-link img {
  display: block;
  width: 156px;
  height: 52px;
}
.launch-download-note {
  max-width: 35ch;
  margin: 12px 0 0;
  color: var(--paper-70);
  font-size: 14px;
  line-height: 1.65;
}
.launch-updates {
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid var(--line);
}
.launch-updates h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 500;
  letter-spacing: -.02em;
}
.launch-updates p {
  margin: 0 0 18px;
  color: var(--paper-70);
  font-size: 15px;
  line-height: 1.6;
}
.cw-launch-action {
  margin: 24px 0 28px;
}
.app-preview {
  margin-top: clamp(64px, 8vw, 112px);
  padding-top: 48px;
  border-top: 1px solid var(--line);
}
.app-preview-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px 40px;
  margin-bottom: 38px;
}
.app-preview h2 {
  margin: 0;
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 400;
  letter-spacing: var(--launch-display-tracking);
  line-height: 1.15;
}
.app-preview-heading p {
  max-width: 38ch;
  margin: 0;
  color: var(--paper-70);
  font-size: 15px;
  line-height: 1.6;
}
.app-preview-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(20px, 4vw, 60px);
  width: min(100%, 1000px);
  margin-inline: auto;
}
.app-preview figure {
  min-width: 0;
  margin: 0;
}
.app-preview figure a {
  display: block;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
}
.app-preview figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
}
.app-preview figcaption {
  padding-top: 16px;
  color: var(--paper-70);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
}
@media (max-width: 700px) {
  .app-preview-gallery {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: min(80vw, 286px);
    justify-content: start;
    gap: 22px;
    overflow-x: auto;
    padding: 6px 6px 20px;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 6px;
  }
  .app-preview figure {
    scroll-snap-align: start;
  }
}
@media (max-width: 480px) {
  .home .hero h1 {
    font-size: clamp(38px, 11.4vw, 54px);
  }
  .hero-actions .btn {
    width: 100%;
  }
  .launch-download {
    margin-top: 22px;
  }
}

/* Mobile scroll follows the content height instead of a fixed animation stage. */
@media (max-width: 899px) {
  .home .hero { min-height: 0; }
  .home .hero-stage {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    gap: 30px;
    min-height: 0;
    padding-block: 84px 52px;
  }
  .home .hero-brand-panel { display: none; }
  .home .hero-copy { grid-column: 1; grid-row: 1; }
  .home .hero-waitlist-panel {
    grid-column: 1;
    grid-row: 2;
    width: 100%;
    padding-block: 20px;
  }
  .home .brand-journey-wordmark {
    transition: none;
  }
  .home .talent-merge-stage {
    display: grid;
    grid-template-areas: 'label' 'roster' 'journey' 'how';
    grid-template-columns: minmax(0, 1fr);
    min-height: 0;
    padding-block: 40px 56px;
    overflow: visible;
  }
  .home .talent-flash-location {
    grid-area: label;
    position: static;
    margin: 0 0 32px;
  }
  .home .talent-merge-roster,
  html.talent-flash-motion .home .talent-merge-section:not(.is-complete) .talent-merge-roster {
    grid-area: roster;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    transform: none;
    transition: none;
  }
  .home .talent-flash-prompt,
  html.talent-flash-motion .home .talent-merge-section:not(.is-complete) .talent-flash-prompt {
    font-size: 14px;
    line-height: 1.5;
  }
  .home .talent-flash-list,
  html.talent-flash-motion .home .talent-merge-section:not(.is-complete) .talent-flash-list {
    margin-top: 28px;
    transition: none;
  }
  .home .talent-flash-list li,
  html.talent-flash-motion .home .talent-merge-section:not(.is-complete) .talent-flash-list li {
    min-height: 36px;
    font-size: clamp(23px, 6.5vw, 30px);
    line-height: 1.2;
    opacity: 1;
    transform: none;
    will-change: auto;
  }
  html.talent-flash-motion .home .talent-flash-active {
    display: none;
  }
  .home .talent-merge-divider,
  html.talent-flash-motion .home .talent-merge-section:not(.is-complete) .talent-merge-divider {
    grid-area: journey;
    position: relative;
    align-self: center;
    inset: auto;
    width: 100%;
    height: 1px;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home .brand-journey-target {
    grid-area: journey;
    position: relative;
    justify-self: center;
    top: auto;
    left: auto;
    width: 180px;
    height: auto;
    aspect-ratio: 1160 / 380;
    margin-block: 76px 88px;
    background: var(--ink0);
  }
  .home .brand-journey-target-anchor {
    left: 20%;
  }
  .home .brand-journey-static--target {
    left: 0;
    width: 100%;
    transform: none;
  }
  .home .talent-merge-how,
  html.talent-flash-motion .home .talent-merge-section:not(.is-complete) .talent-merge-how {
    grid-area: how;
    position: relative;
    top: auto;
    left: auto;
    width: 100%;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home .talent-merge-heading {
    flex-wrap: wrap;
    gap: 12px 20px;
  }
  .home .talent-merge-heading h2 {
    font-size: clamp(32px, 9.5vw, 42px);
  }
  .home .talent-merge-steps li,
  html.talent-flash-motion .home .talent-merge-section:not(.is-complete) .talent-merge-steps li {
    padding-block: 20px;
    opacity: 1;
    transform: none;
    transition: none;
  }
  .home .talent-merge-steps p {
    font-size: 15px;
    line-height: 1.65;
  }
  .home .app-preview {
    margin-top: 48px;
    padding-top: 36px;
  }
  .home .app-preview-gallery {
    overscroll-behavior-x: contain;
  }
}
@media (max-width: 899px) and (prefers-reduced-motion: no-preference) {
  .home .talent-flash-list li.visible {
    animation: launch-talent-focus .45s ease both;
  }
}
@keyframes launch-talent-focus {
  from { color: var(--roster-muted); }
  to { color: var(--roster-paper); }
}

@media (max-width: 899px) and (prefers-reduced-motion: reduce) {
  .home .brand-home { visibility: visible !important; pointer-events: auto !important; }
}
