/* NT2 System Grid — 2x2 feature cards. */

.nt2-sys__section { padding-top: var(--nt2-section-pt); padding-bottom: var(--nt2-section-pb); }

.nt2-sys__sprite { position: absolute; width: 0; height: 0; }

.nt2-sys__lede { margin-top: var(--space-lg); }

/* Blockified heading/lede wrappers: strip child margins so spacing stays tight. */
.nt2-sys__headline > :first-child,
.nt2-sys__lede > :first-child { margin-top: 0; }
.nt2-sys__headline > :last-child,
.nt2-sys__lede > :last-child { margin-bottom: 0; }

.nt2-sys__grid {
  list-style: none;
  margin: var(--space-3xl) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
}
@media (min-width: 720px) {
  .nt2-sys__grid { grid-template-columns: repeat(2, 1fr); gap: var(--space-xl); margin-top: var(--space-4xl); }
}

.nt2-sys__card {
  background: var(--clr-bg-card-secondary);
  border-radius: var(--radius-2xl);
  padding: var(--space-2xl) var(--space-xl);
  transition: transform 0.4s var(--nt2-ease-out), box-shadow 0.4s var(--nt2-ease-out);
}
@media (min-width: 1024px) {
  .nt2-sys__card { padding: var(--space-2xl) var(--space-2xl); }
}
.nt2-sys__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -18px color-mix(in srgb, var(--clr-bg-accent-dark) 22%, transparent);
}

.nt2-sys__icon-wrap {
  width: 44px;
  height: 44px;
  margin-bottom: var(--space-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.nt2-sys__icon-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.nt2-sys__icon {
  display: block;
  width: 44px;
  height: 44px;
  color: var(--clr-tertiary);
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}
.nt2-sys__icon--placeholder {
  color: var(--clr-tertiary);
}

.nt2-sys__title {
  margin: 0 0 var(--space-md);
  font-size: clamp(var(--font-size-xl), 2vw, var(--font-size-3xl));
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--clr-text-primary);
}

.nt2-sys__desc {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--clr-text-secondary);
}


/* Richtext typography normalization: block-converted text stores its
   content as <h2>/<p> without a class, so the inner tag (notably an
   <h2>) reverts to browser defaults and loses the wrapper typography.
   Force inner richtext tags to inherit the wrapper class type. */
.nt2-sys__headline > *, .nt2-sys__headline h1, .nt2-sys__headline h2, .nt2-sys__headline h3, .nt2-sys__headline h4, .nt2-sys__headline h5, .nt2-sys__headline h6, .nt2-sys__headline p {
  margin: 0 !important; padding: 0 !important; font-size: inherit !important; font-weight: inherit !important; font-family: inherit !important; line-height: inherit; color: inherit;
}
.nt2-sys__lede > *, .nt2-sys__lede h1, .nt2-sys__lede h2, .nt2-sys__lede h3, .nt2-sys__lede h4, .nt2-sys__lede h5, .nt2-sys__lede h6, .nt2-sys__lede p {
  margin: 0 !important; padding: 0 !important; font-size: inherit !important; font-weight: inherit !important; font-family: inherit !important; line-height: inherit; color: inherit;
}
