/* Shared presentation for production-backed legacy hardware content. */

.legacy-hero-title {
  font-size: clamp(2.65rem, 4.4vw, 4.75rem) !important;
  line-height: 1.02 !important;
  letter-spacing: -0.035em !important;
}

.legacy-hero-subtitle {
  display: block;
  max-width: 780px;
  margin-top: 0.7rem;
  font-size: clamp(1.55rem, 2.55vw, 2.65rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em !important;
}

.premium-hero .hero-desc {
  max-width: 760px;
  font-size: 1.03rem;
  line-height: 1.75;
}

#overview .section-header-centered {
  max-width: 900px;
}

#overview .section-header-centered > p {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

#overview .section-header-centered > p + p {
  margin-top: 0.8rem;
}

.legacy-product-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  max-width: 1120px;
  margin: 0 auto;
}

.legacy-product-group--wide {
  grid-column: 1 / -1;
}

.legacy-product-group {
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 14px 38px rgba(15, 23, 42, 0.06);
}

.legacy-product-group-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.2rem;
}

.legacy-product-group-heading h3 {
  margin: 0;
  color: var(--deep-blue, #0b3d71);
  font-family: var(--font-heading, sans-serif);
  font-size: clamp(1.35rem, 2.1vw, 1.85rem);
  line-height: 1.2;
}

.legacy-group-number {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  color: #1d4ed8;
  background: #eaf2ff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.legacy-group-intro {
  max-width: 900px;
  margin-bottom: 1.35rem;
}

.legacy-group-intro:last-child {
  margin-bottom: 0;
}

.legacy-group-intro p {
  margin: 0 0 0.8rem;
  color: #52627a;
  font-size: 0.98rem;
  line-height: 1.75;
}

.legacy-group-intro p:last-child {
  margin-bottom: 0;
}

.legacy-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.legacy-detail-item {
  display: grid;
  grid-template-columns: 1.6rem minmax(0, 1fr);
  gap: 0.75rem;
  align-content: start;
  padding: 1.15rem;
  background: #f8fafc;
  border: 1px solid #e8eef6;
  border-radius: 14px;
}

.legacy-detail-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.45rem;
  height: 1.45rem;
  margin-top: 0.05rem;
  border-radius: 50%;
  color: #fff;
  background: #24b47e;
  font-size: 0.72rem;
  font-weight: 800;
}

.legacy-detail-item h4 {
  margin: 0;
  color: var(--deep-blue, #0b3d71);
  font-family: var(--font-heading, sans-serif);
  font-size: 1rem;
  line-height: 1.35;
}

.legacy-detail-item p {
  margin: 0.42rem 0 0;
  color: #64748b;
  font-size: 0.9rem;
  line-height: 1.62;
}

@media (max-width: 760px) {
  .legacy-hero-title {
    font-size: clamp(2.2rem, 10.5vw, 3rem) !important;
    line-height: 1.04 !important;
  }

  .legacy-hero-subtitle {
    margin-top: 0.65rem;
    font-size: clamp(1.35rem, 6.5vw, 1.9rem) !important;
    line-height: 1.14 !important;
  }

  .premium-hero .hero-desc {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .legacy-product-groups {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .legacy-product-group--wide {
    grid-column: auto;
  }

  .legacy-product-group {
    padding: 1.25rem;
    border-radius: 17px;
  }

  .legacy-product-group-heading {
    align-items: flex-start;
    gap: 0.7rem;
  }

  .legacy-product-group-heading h3 {
    font-size: 1.3rem;
  }

  .legacy-group-number {
    width: 2rem;
    height: 2rem;
  }

  .legacy-detail-grid {
    grid-template-columns: 1fr;
  }

  .legacy-detail-item {
    padding: 1rem;
  }
}
