/* Homepage layout: hero with focus glow, app cards */

.hero {
  position: relative;
  padding: 76px 0 56px;
  /* the 560px decorative glow must never widen the page on small screens */
  overflow-x: clip;
}

.hero::before {
  content: "";
  position: absolute;
  top: -110px;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(226, 86, 74, 0.09), transparent 65%);
  pointer-events: none;
}

.hero > * {
  position: relative;
}

.hero h1 {
  max-width: 15em;
}

.hero .lead {
  max-width: 34em;
  margin-top: 18px;
  font-size: 1.1rem;
  color: var(--muted);
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

/* Apps section */

.apps {
  padding-bottom: 24px;
}

.apps > h2 {
  margin-bottom: 20px;
}

.app-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.app-card {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.app-card .app-icon {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  flex-shrink: 0;
}

.app-card .app-body {
  flex: 1 1 0; /* shrink freely — 240px basis overflowed 320px viewports */
  min-width: 0;
}

.app-card h3 {
  font-size: 1.15rem;
}

.app-card .tagline {
  color: var(--muted);
  margin-top: 2px;
}

.app-card .chip {
  margin-left: auto;
  /* long "coming soon" chip must wrap, nowrap overflows 320-360px viewports */
  white-space: normal;
}

/* Unannounced second app: dashed card with a CSS placeholder tile */

.tile-ph {
  width: 64px;
  height: 64px;
  border-radius: 15px;
  border: 1.5px dashed var(--hairline);
  background: linear-gradient(160deg, #fafafb, #f2f2f5);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .app-grid {
    grid-template-columns: 1fr 1fr;
  }

  .app-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .app-card .chip {
    margin-left: 0;
  }
}
