@media screen and (max-width: 1024px) {
  /* Hero */
  #site-content.home-page {
    gap: 24px;
    padding: 88px 0 96px;
  }

  #site-content.home-page > section {
    padding-inline: clamp(18px, 8vw, 32px);
  }

  #site-content.home-page > section.home-panel {
    max-width: 100%;
  }

  .surface-card {
    border-radius: 26px;
    padding: 32px 24px;
  }

  .home-panel.home-panel--hero {
    padding: 28px 24px 36px;
    gap: 28px;
  }

  .home-panel--hero::before {
    width: clamp(220px, 68vw, 320px);
    height: clamp(220px, 68vw, 320px);
    top: -32%;
    right: -28%;
  }

  .home-panel--hero::after {
    width: clamp(260px, 80vw, 360px);
    height: clamp(260px, 80vw, 360px);
    bottom: -38%;
    left: -32%;
  }

  .home-panel--hero .home-panel__intro {
    gap: 20px;
    align-items: flex-start;
  }

  .home-panel--hero .home-panel__media {
    gap: 24px;
    align-items: flex-start;
  }

  .home-panel--hero .home-panel__actions {
    width: 100%;
  }

  .home-button {
    width: 100%;
    justify-content: center;
  }

  .home-panel--hero .home-panel__highlights {
    width: 100%;
    flex-direction: column;
    margin-top: 28px;
    max-width: none;
  }

  .home-panel {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    border-radius: 24px;
  }

  .home-panel--showcase,
  .home-panel--community,
  .home-panel--workflow {
    grid-template-columns: none;
  }

  .home-panel__media {
    order: 2;
  }

  .home-panel__actions {
    width: 100%;
  }

  .home-panel__actions .home-button {
    width: 100%;
  }

  /* Spotlights */
  .home-panel--spotlights.surface-card {
    gap: 32px;
  }

  .home-spotlights__grid {
    grid-template-columns: 1fr;
  }

  .home-spotlights__card {
    padding: 24px;
  }

  /* Carousels */
  .carousel {
    flex-direction: column;
    gap: 16px;
  }

  .carousel-items,
  .carousel-images {
    width: 100%;
  }

  .carousel-inner {
    gap: 16px;
    transition: opacity 0.38s ease, transform 0.38s ease;
  }

  .carousel-inner.is-transitioning {
    opacity: 0;
    transform: translateX(6px);
  }

  .product-item {
    min-width: 220px;
  }

  .product-image-link {
    height: 180px;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 48px;
    height: 48px;
  }

  /* Steps */
  .workflow {
    gap: 20px;
  }

  .workflow__step {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .workflow__number {
    width: 44px;
    height: 44px;
    font-size: 1rem;
  }

  /* CTA */
  .home-cta.surface-card {
    grid-template-columns: 1fr;
  }

  .home-cta__media {
    order: -1;
    min-height: 260px;
    margin-bottom: 12px;
  }

  .home-cta__actions {
    width: 100%;
  }

  .home-cta__actions .home-button {
    width: 100%;
  }

  .home-cta__stats {
    flex-direction: column;
  }

  .home-cta__stat {
    width: 100%;
  }
}

@media screen and (max-width: 640px) {
  .home-eyebrow {
    letter-spacing: 0.18em;
  }

  .home-panel--hero .home-panel__highlights li {
    flex-direction: row;
    align-items: center;
  }

  .home-panel--hero .home-panel__metric {
    align-items: center;
    text-align: center;
  }

  .home-cta__media {
    padding: 24px 20px;
  }

  .home-cta__mockup {
    width: 100%;
  }

  .home-cta__stats {
    gap: 16px;
  }

  .carousel-images img {
    min-height: 180px;
  }
}
