/* TrueNAS landing page additions – to be loaded after the main T27 stylesheet */

.truenas-hero {
  padding-top: clamp(5rem, 9vw, 9rem);
  padding-bottom: clamp(5rem, 9vw, 9rem);
}

.truenas-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: center;
}

.truenas-logo {
  display: block;
  width: min(440px, 70%);
  height: auto;
  margin: 1.5rem 0 2.5rem;
}

.reseller-panel {
  padding: clamp(2rem, 4vw, 3rem);
  background: #0f1d2d;
  color: #fff;
}

.reseller-panel p {
  margin: 1.5rem 0 0;
  line-height: 1.6;
  opacity: .82;
}

.reseller-badge {
  display: block;
  width: min(280px, 100%);
  height: auto;
}

.reseller-badge.large {
  width: min(360px, 100%);
}

.truenas-feature-list {
  border-top: 1px solid rgba(29,43,59,.16);
}

.truenas-feature {
  padding: 1.75rem 0;
  border-bottom: 1px solid rgba(29,43,59,.16);
}

.truenas-feature h3 {
  margin: 0 0 .55rem;
}

.truenas-feature p {
  margin: 0;
  line-height: 1.6;
}

.truenas-feature-list.compact .truenas-feature {
  padding: 1.5rem 0;
}

.truenas-partner-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
  gap: clamp(3rem, 7vw, 8rem);
  align-items: start;
}

.badge-column {
  display: flex;
  justify-content: center;
  position: sticky;
  top: 8rem;
}

.service-row-static {
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(29,43,59,.16);
}

.service-row-static:first-child {
  border-top: 1px solid rgba(29,43,59,.16);
}

.service-row-static h3 {
  margin: 0 0 .45rem;
}

.service-row-static p {
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .truenas-hero-grid,
  .truenas-partner-grid {
    grid-template-columns: 1fr;
  }

  .reseller-panel {
    max-width: 520px;
  }

  .badge-column {
    justify-content: flex-start;
    position: static;
  }
}

@media (max-width: 600px) {
  .truenas-logo {
    width: min(340px, 90%);
  }
}
