/* Public /ugc-marketplace page — the marketing hero, the sign-in gate pills,
   the FAQ/closing band, and the few dashboard component classes the reused
   `.ugc*` markup depends on (ugc-studio.css assumes dashboard.css is loaded;
   this marketing page doesn't load it, so we bundle just those pieces here,
   scoped under `.ugc` so nothing leaks into the surrounding page). */

/* ---------- marketing hero ---------- */
.ugcMktHero {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 20px 8px;
  text-align: center;
}
.ugcMktHeroInner { max-width: 760px; margin: 0 auto; }
.ugcMktEyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .04em;
  text-transform: uppercase; color: #2E31FF; margin-bottom: 14px;
}
.ugcMktHero h1 {
  margin: 0 0 16px; font-size: clamp(30px, 5vw, 50px); line-height: 1.06;
  font-weight: 700; letter-spacing: -.02em; color: #101828;
}
.ugcMktLead {
  margin: 0 auto 26px; max-width: 620px; font-size: clamp(16px, 2vw, 19px);
  line-height: 1.5; color: #667085;
}
.ugcMktHeroCtas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.ugcMktHeroGhost {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
  font-size: 15px; font-weight: 600; color: #101828; padding: 12px 18px; border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.14); transition: background .15s ease, transform .15s ease;
}
.ugcMktHeroGhost:hover { background: rgba(16, 24, 40, 0.04); transform: translateY(-1px); }
.ugcMktHeroGhost svg { width: 16px; height: 16px; }
.ugcMktHeroNote { margin: 18px 0 0; font-size: 13px; color: #98a2b3; }

/* The marketplace block sits directly under the hero on the marketing page.
   The hub's leading title/subtitle was removed (the hero already says it), so
   the creator row is the first thing here — pull it up close to the hero. */
.ugc { padding: 8px 20px 40px; }
.ugcSectionFirst { margin-top: 6px; }

/* ---------- sign-in gate pill (replaces the dashboard credit pill) ---------- */
.ugcSigninPill {
  display: inline-flex; align-items: center; gap: 6px; text-decoration: none; white-space: nowrap;
  background: #2E31FF; color: #fff; border-radius: 999px; padding: 9px 16px;
  font-size: 13.5px; font-weight: 600; transition: transform .15s ease, filter .15s ease;
}
.ugcSigninPill:hover { transform: translateY(-1px); filter: brightness(1.06); }

/* ---------- FAQ ---------- */
.ugcFaq { display: flex; flex-direction: column; gap: 0; border-top: 1px solid var(--u-line, rgba(15,23,42,.09)); }
.ugcFaqItem { border-bottom: 1px solid var(--u-line, rgba(15,23,42,.09)); }
.ugcFaqItem summary {
  list-style: none; cursor: pointer; padding: 18px 4px; font-size: 16px; font-weight: 600; color: #101828;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.ugcFaqItem summary::-webkit-details-marker { display: none; }
.ugcFaqItem summary::after {
  content: "+"; font-size: 22px; font-weight: 400; color: #98a2b3; line-height: 1; transition: transform .18s ease;
}
.ugcFaqItem[open] summary::after { transform: rotate(45deg); }
.ugcFaqItem p { margin: 0 4px 20px; font-size: 15px; line-height: 1.55; color: #667085; max-width: 760px; }

/* ---------- closing CTA band ---------- */
.ugcClose {
  text-align: center; background: var(--u-soft, #f6f7f9); border-radius: 24px; padding: 44px 24px;
}
.ugcClose h2 { margin: 0 0 8px; font-size: clamp(22px, 3vw, 30px); font-weight: 700; letter-spacing: -.01em; color: #101828; }
.ugcClose p { margin: 0 auto 22px; max-width: 480px; font-size: 16px; color: #667085; }
.ugcCloseCta {
  display: inline-flex; align-items: center; gap: 7px; text-decoration: none;
  background: #2E31FF; color: #fff; border-radius: 999px; padding: 13px 24px; font-size: 15px; font-weight: 600;
  transition: transform .15s ease, filter .15s ease;
}
.ugcCloseCta:hover { transform: translateY(-1px); filter: brightness(1.06); }
.ugcCloseCta svg { width: 17px; height: 17px; }

/* ---------- bundled dashboard components (scoped to .ugc) ----------
   The reused markup uses these classes; dashboard.css isn't loaded here, so
   redefine just the ones ugc-studio.css doesn't already cover. */
.ugc .connectPanelHead {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 18px;
}
.ugc .connectPanelHead h2 { margin: 0; font-size: 24px; letter-spacing: -0.02em; font-weight: 700; color: #101828; }
.ugc .connectPanelHead p { margin: 4px 0 0; color: #667085; font-size: 14px; }

.ugc .primaryButton, .ugc .softButton {
  min-height: 46px; border-radius: 999px; border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease;
}
.ugc .primaryButton { background: #111827; color: #fff; padding: 0 18px; }
.ugc .softButton { background: #fff; color: #101828; border-color: rgba(15, 23, 42, 0.12); padding: 0 16px; }
.ugc .primaryButton:hover, .ugc .softButton:hover { transform: translateY(-1px); }

.ugc .composerTab {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border: 0; border-radius: 999px;
  background: transparent; color: #667085; font-size: 13px; font-weight: 550; cursor: pointer;
  transition: background .14s, color .14s;
}
.ugc .composerTab:hover { background: rgba(16, 24, 40, 0.05); color: #101828; }
.ugc .composerTab.isActive { background: rgba(16, 24, 40, 0.09); color: #101828; }

/* ---------- responsive ---------- */
@media (max-width: 560px) {
  .ugcMktHero { padding: 28px 18px 4px; }
  .ugcClose { padding: 32px 18px; }
}
