.wpsuite-preview-nav-try > a {
  font-weight: 750;
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.28em;
}

.wpsuite-preview-home {
  color: #10192b;
  margin: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.wpsuite-preview-home__inner {
  background: #fff;
  border: 1px solid #d7ddea;
  border-radius: 24px;
  box-shadow: var(--wp--preset--shadow--natural, 0 18px 36px rgba(15, 23, 42, 0.14));
  overflow: hidden;
}

.wpsuite-preview-home__visual {
  background: linear-gradient(135deg, #312e81 0%, #4f46e5 50%, #7c3aed 100%);
  color: #fff;
  min-height: 230px;
  padding: clamp(2rem, 4vw, 3rem);
}

.wpsuite-preview-home__body {
  padding: clamp(1.75rem, 3.5vw, 2.5rem);
}

.wpsuite-preview-home__eyebrow,
.wpsuite-preview-home__step {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.wpsuite-preview-home__eyebrow {
  color: #fff;
}

.wpsuite-preview-home__step {
  color: #5b4cdb;
}

.wpsuite-preview-home__visual h2 {
  color: #fff;
  font-size: clamp(2rem, 4.7vw, 3.75rem);
  letter-spacing: -0.045em;
  line-height: 1.02;
  margin: 0;
}

.wpsuite-preview-home__visual > p:last-child {
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.65;
  margin: 1.5rem 0 0;
  max-width: 820px;
}

.wpsuite-preview-home__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
}

.wpsuite-preview-home__card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 2.4vw, 1.75rem);
}

.wpsuite-preview-home__card h3 {
  font-size: 1.25rem;
  line-height: 1.25;
  margin: 0;
}

.wpsuite-preview-home__card p:last-child {
  line-height: 1.65;
  margin: 1rem 0 0;
}

.wpsuite-preview-home__card a,
.wpsuite-preview-home__next a {
  color: #4338ca;
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.wpsuite-preview-home__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.wpsuite-preview-home__button {
  align-items: center;
  border: 2px solid #10192b;
  border-radius: 8px;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 52px;
  padding: 0.85rem 1.25rem;
  text-decoration: none;
  transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.wpsuite-preview-home__button:hover,
.wpsuite-preview-home__button:focus-visible {
  transform: translateY(-2px);
}

.wpsuite-preview-home__button--primary {
  background: #10192b;
  color: #fff;
}

.wpsuite-preview-home__button--secondary {
  background: transparent;
  color: #10192b;
}

.wpsuite-preview-home__next {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 1.5rem;
}

/* Keep the provisioned demo cards aligned with one another and with the
 * Composer invitation above them. Their Gutenberg content remains editable. */
.wpsuite-preview-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.wp-block-column:has(> .wpsuite-preview-card) {
  display: flex;
}

.wp-block-column > .wpsuite-preview-card {
  flex: 1;
}

.wpsuite-preview-card > .wp-block-group:last-child {
  flex: 1;
}

.wpsuite-preview-card .wp-block-buttons {
  margin-top: auto;
  width: 100%;
}

.wpsuite-preview-card .wp-block-button__link {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 52px;
}

@media (max-width: 800px) {
  .wpsuite-preview-home__grid {
    grid-template-columns: 1fr;
  }

  .wpsuite-preview-home__actions {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wpsuite-preview-home__button {
    transition: none;
  }

  .wpsuite-preview-home__button:hover,
  .wpsuite-preview-home__button:focus-visible {
    transform: none;
  }
}
