/* UnionKit Launchpad — page content styles (header uses communications-planner.css) */

:root {
  --uk-sage: #36443c;
  --uk-sage-deep: #1b221e;
  --uk-accent: #dd502c;
  --uk-gold: #f6d44b;
  --uk-wash: #f4f6f8;
  --uk-paper: #ffffff;
  --uk-ink: #1f2923;
  --uk-muted: #5f6b64;
  --uk-line: #dde4e0;
}

[hidden] {
  display: none !important;
}

body.launchpad-body {
  margin: 0;
  color: var(--uk-ink);
  background: var(--uk-wash);
}

body.home-routing-pending #home-dashboard-view,
body.home-routing-pending #home-launchpad-view {
  display: none !important;
}

body.launchpad-body main {
  flex: 1;
  width: 100%;
}

.launchpad-owner-banner {
  padding: 12px 18px;
  background: #fff8e6;
  border-bottom: 1px solid #f0dfa8;
  color: #6b5a1e;
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.launchpad-canvas.planner-canvas-frame {
  padding: 0;
  min-height: auto;
  overflow: hidden;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
}

.launchpad-canvas .launchpad-section:last-child {
  border-bottom: none;
}

/* Hero */
.launchpad-hero {
  min-height: min(520px, 52vh);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 56px 2.5rem 68px;
  border-bottom: 1px solid var(--uk-line);
  background: linear-gradient(180deg, #fafbfc 0%, var(--uk-wash) 100%);
  text-align: center;
}

.launchpad-hero-copy {
  width: 100%;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.launchpad-eyebrow {
  margin: 0 0 10px;
  color: var(--uk-accent);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.launchpad-hero h1,
.launchpad-section h2 {
  margin: 0;
  color: var(--uk-sage-deep);
  line-height: 0.98;
  letter-spacing: -0.02em;
}

.launchpad-hero h1 {
  font-size: clamp(2.65rem, 8vw, 5.75rem);
  font-weight: 900;
  text-align: center;
}

.launchpad-section h2 {
  font-size: clamp(1.85rem, 4vw, 3rem);
  font-weight: 900;
}

.launchpad-lede {
  max-width: 640px;
  margin: 18px auto 28px;
  color: #343943;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.4;
  font-weight: 400;
  text-align: center;
}

.launchpad-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.launchpad-actions .primary-btn {
  min-height: 46px;
  padding: 12px 28px;
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
}

.launchpad-panel,
.launchpad-card {
  background: var(--uk-paper);
  border: 1px solid var(--uk-line);
  border-radius: 12px;
  box-shadow: 0 16px 42px rgba(27, 34, 30, 0.08);
}

.launchpad-panel {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.launchpad-route-card span,
.launchpad-card strong {
  display: block;
  color: var(--uk-muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.launchpad-card b {
  display: block;
  margin-top: 8px;
  color: var(--uk-sage);
  font-size: 1.2rem;
}

.launchpad-route-card p,
.launchpad-section p,
.launchpad-card p {
  color: var(--uk-muted);
  line-height: 1.55;
}

.launchpad-section {
  padding: 64px 2.5rem;
  border-bottom: 1px solid var(--uk-line);
}

.launchpad-tools-section h2 {
  margin-bottom: 0;
}

.launchpad-tools-intro {
  margin: 20px 0 0;
  color: var(--uk-muted);
  font-size: 1.05rem;
  line-height: 1.5;
}

.launchpad-two-col {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) minmax(320px, 1.15fr);
  gap: 34px;
  align-items: start;
}

.launchpad-stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.launchpad-card {
  padding: 22px;
}

/* Tool explorer */
.launchpad-tool-deck {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.launchpad-tool-chip {
  min-height: 40px;
  border: 1px solid var(--uk-line);
  border-radius: 9999px;
  padding: 8px 16px;
  color: var(--uk-sage);
  background: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.launchpad-tool-chip:hover,
.launchpad-tool-chip.active {
  color: #fff;
  background: var(--uk-sage);
  border-color: var(--uk-sage);
}

.launchpad-tool-preview {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 36px);
  min-height: 220px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 28px;
  align-items: center;
}

.launchpad-tool-preview h3 {
  margin: 0 0 10px;
  color: var(--uk-sage-deep);
  font-size: clamp(1.4rem, 3vw, 2rem);
}

.launchpad-tool-preview-copy {
  margin: 0;
  color: var(--uk-muted);
  line-height: 1.55;
}

.launchpad-tool-preview-visual {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  border: 1px solid var(--uk-line);
  background: #fff;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.launchpad-tool-preview-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.launchpad-tool-preview-link {
  margin-top: 28px;
}

.launchpad-tool-preview-link .primary-btn {
  text-decoration: none;
}

/* Video carousel */
.launchpad-videos-section {
  padding-bottom: 72px;
  overflow: hidden;
}

.launchpad-videos-header-wrap {
  margin: 0 auto;
}

.launchpad-videos-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.launchpad-videos-subhead {
  margin: 12px 0 0;
  color: var(--uk-muted);
  font-size: 1.05rem;
  font-weight: 600;
}

.launchpad-videos-nav {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.launchpad-videos-nav-btn {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: none !important;
  border-radius: 50% !important;
  background: #eef1f4 !important;
  color: #5f6b64;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.15s ease;
}

.launchpad-videos-nav-btn:hover {
  background: #e2e7ec !important;
}

.launchpad-videos-carousel-wrap {
  width: 100%;
}

.launchpad-videos-carousel {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 20px;
  padding: 0 0 8px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.launchpad-videos-carousel::-webkit-scrollbar {
  display: none;
}

.launchpad-video-card {
  flex: 0 0 280px;
  width: 280px;
  min-width: 280px;
  max-width: 280px;
  scroll-snap-align: start;
  overflow: hidden;
  border: 1px solid var(--uk-line);
  border-radius: 20px;
  background: var(--uk-wash);
  box-shadow: 0 8px 22px rgba(27, 34, 30, 0.08);
  cursor: pointer;
  text-align: left;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.launchpad-video-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(27, 34, 30, 0.12);
}

.launchpad-video-card.is-unavailable {
  cursor: default;
}

.launchpad-video-card.is-unavailable:hover {
  transform: none;
  box-shadow: 0 10px 28px rgba(27, 34, 30, 0.08);
}

.launchpad-video-thumb {
  position: relative;
  height: 11.5rem;
  overflow: hidden;
  background: #e8ece9;
}

.launchpad-video-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  opacity: 0.88;
  transition: opacity 0.15s ease;
}

.launchpad-video-card:not(.is-unavailable):hover .launchpad-video-thumb img {
  opacity: 1;
}

.launchpad-video-thumb.is-contain,
.launchpad-video-thumb.is-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.launchpad-video-thumb.is-contain {
  background: linear-gradient(180deg, #f4f6f8 0%, #e8ece9 100%);
}

.launchpad-video-thumb.is-contain img,
.launchpad-video-thumb.is-brand img {
  width: auto;
  height: auto;
  max-width: 78%;
  max-height: 78%;
  object-fit: contain;
  opacity: 1;
}

.launchpad-video-thumb.is-brand {
  background: var(--uk-sage);
}

.launchpad-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.launchpad-video-play span {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 24px rgba(27, 34, 30, 0.18);
  color: var(--uk-sage);
  transition: transform 0.15s ease;
}

.launchpad-video-play i {
  margin-left: 3px;
  font-size: 1.1rem;
}

.launchpad-video-card:not(.is-unavailable):hover .launchpad-video-play span {
  transform: scale(1.08);
}

.launchpad-video-copy {
  padding: 16px 18px 18px;
}

.launchpad-video-copy h3 {
  margin: 0 0 6px;
  color: var(--uk-sage-deep);
  font-size: 1rem;
  font-weight: 800;
}

.launchpad-video-copy p {
  margin: 0;
  color: var(--uk-muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.launchpad-video-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px;
}

.launchpad-video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 20, 18, 0.72);
}

.launchpad-video-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 64px rgba(15, 20, 18, 0.28);
}

.launchpad-video-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: none !important;
  border-radius: 50% !important;
  background: rgba(255, 255, 255, 0.92) !important;
  color: var(--uk-sage-deep);
  box-shadow: none !important;
  cursor: pointer;
}

.launchpad-video-modal-player {
  background: #000;
}

.launchpad-video-modal-player video {
  display: block;
  width: 100%;
  max-height: min(70vh, 520px);
  background: #000;
}

.launchpad-video-modal-copy {
  padding: 20px 24px 24px;
}

.launchpad-video-modal-copy h3 {
  margin: 0 0 8px;
  color: var(--uk-sage-deep);
  font-size: 1.25rem;
}

.launchpad-video-modal-copy p {
  margin: 0;
  color: var(--uk-muted);
  line-height: 1.55;
}

/* FAQ */
.launchpad-faq-section {
  text-align: center;
}

.launchpad-faq-section h2 {
  margin-bottom: 32px;
}

.launchpad-faq-list {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin: 0 auto;
  text-align: left;
}

.launchpad-faq-item {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--uk-line);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(27, 34, 30, 0.06);
}

.launchpad-faq-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 24px;
  border: none !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: var(--uk-sage-deep);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 800;
  text-align: left;
  cursor: pointer;
}

.launchpad-faq-question {
  flex: 1;
}

.launchpad-faq-icon {
  flex-shrink: 0;
  width: 28px;
  color: #94a3b8;
  font-size: 1.75rem;
  font-weight: 300;
  line-height: 1;
  text-align: center;
  transition: transform 0.2s ease, color 0.2s ease;
}

.launchpad-faq-item.open .launchpad-faq-icon {
  transform: rotate(45deg);
  color: var(--uk-muted);
}

.launchpad-faq-body {
  padding: 0 24px 20px;
  color: var(--uk-muted);
  line-height: 1.55;
}

.launchpad-footer {
  display: grid;
  gap: 8px;
  padding: 34px 24px 46px;
  border-top: 7px solid var(--uk-gold);
  color: var(--uk-muted);
  text-align: center;
}

.launchpad-footer strong {
  color: var(--uk-sage);
}

@media (max-width: 900px) {
  .launchpad-two-col,
  .launchpad-tool-preview {
    grid-template-columns: 1fr;
  }

  .launchpad-videos-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .launchpad-hero,
  .launchpad-section {
    padding-inline: 1.5rem;
  }

  .launchpad-stat-grid {
    grid-template-columns: 1fr;
  }

  .launchpad-hero {
    min-height: auto;
    padding-top: 36px;
  }

  .launchpad-canvas.planner-canvas-frame {
    width: 100%;
    margin-top: 0;
    margin-bottom: 0;
    border-radius: 0;
  }
}

@media (min-width: 900px) {
  .launchpad-video-card {
    flex-basis: 320px;
    width: 320px;
    min-width: 320px;
    max-width: 320px;
  }
}
