/* ========================================================================== 
   Landing profile / capability cards
   ========================================================================== */

.landing-info {
  width: 100%;
  padding: 1.2rem var(--wp--custom--viewport-padding) 1.5rem;
}

.landing-info__inner {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  width: min(100%, var(--wp--custom--layout--wide));
  margin-inline: auto;
  overflow: hidden;
  background: rgba(8, 10, 12, 0.42);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: var(--wp--custom--radius--medium, 0.65rem);
}

.landing-info__card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
  padding: 1rem 1.05rem;
}

.landing-info__card + .landing-info__card {
  border-left: 1px solid var(--wp--preset--color--border);
}

.landing-info__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  color: var(--wp--preset--color--accent);
  flex: 0 0 auto;
}

.landing-info__icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.landing-info__copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.landing-info__value {
  color: var(--wp--preset--color--foreground);
  font-size: clamp(1.35rem, 1.1rem + 0.55vw, 1.8rem);
  line-height: 1;
}

.landing-info__title {
  margin-top: 0.15rem;
  color: var(--wp--preset--color--foreground);
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.landing-info__value + .landing-info__title {
  margin-top: 0.3rem;
  font-size: 0.72rem;
  font-weight: 500;
}

.landing-info__detail {
  margin-top: 0.28rem;
  color: var(--wp--preset--color--secondary);
  font-size: 0.72rem;
  line-height: 1.35;
}

@media (max-width: 1180px) {
  .landing-info__inner {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .landing-info__card:nth-child(4) {
    border-left: 0;
  }

  .landing-info__card:nth-child(n + 4) {
    border-top: 1px solid var(--wp--preset--color--border);
  }
}

@media (max-width: 640px) {
  .landing-info {
    padding-top: 1rem;
  }

  .landing-info__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .landing-info__card {
    grid-template-columns: 2rem minmax(0, 1fr);
    gap: 0.65rem;
    padding: 0.85rem 0.75rem;
  }

  .landing-info__card:nth-child(n) {
    border-top: 0;
    border-left: 0;
  }

  .landing-info__card:nth-child(even) {
    border-left: 1px solid var(--wp--preset--color--border);
  }

  .landing-info__card:nth-child(n + 3) {
    border-top: 1px solid var(--wp--preset--color--border);
  }

  /* Keep the landing concise without horizontal scrolling. */
  .landing-info__card:nth-child(n + 5) {
    display: none;
  }

  .landing-info__icon {
    width: 2rem;
    height: 2rem;
  }

  .landing-info__value {
    font-size: 1.2rem;
  }

  .landing-info__title {
    font-size: 0.7rem;
  }

  .landing-info__detail {
    font-size: 0.66rem;
  }
}

/* Compact wide-desktop spacing to keep the full landing stack visible. */
@media (min-width: 1181px) {
  .landing-info {
    padding-top: 0.7rem;
    padding-bottom: 0.9rem;
  }

  .landing-info__card {
    gap: 0.7rem;
    padding: 0.72rem 0.82rem;
  }

  .landing-info__icon {
    width: 2.45rem;
    height: 2.45rem;
  }

  .landing-info__value {
    font-size: clamp(1.2rem, 1rem + 0.38vw, 1.55rem);
  }

  .landing-info__title {
    font-size: 0.78rem;
  }

  .landing-info__detail {
    margin-top: 0.2rem;
    font-size: 0.66rem;
  }
}

/* Short desktop viewport: keep the complete six-card strip visible. */
@media (min-width: 1181px) and (max-height: 900px) {
  .landing-info {
    padding-top: 0.38rem;
    padding-bottom: 0.45rem;
  }

  .landing-info__card {
    gap: 0.52rem;
    padding: 0.48rem 0.62rem;
  }

  .landing-info__icon {
    width: 2rem;
    height: 2rem;
  }

  .landing-info__value {
    font-size: 1.16rem;
  }

  .landing-info__title {
    margin-top: 0.08rem;
    font-size: 0.68rem;
  }

  .landing-info__value + .landing-info__title {
    margin-top: 0.16rem;
    font-size: 0.62rem;
  }

  .landing-info__detail {
    margin-top: 0.12rem;
    font-size: 0.58rem;
    line-height: 1.22;
  }
}
