.emc-canvas,
.emc-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.emc-hero {
  position: relative;
  overflow: hidden;
  min-height: 56vh;
  padding-top: 96px;
  padding-bottom: clamp(2.8rem, 6vw, 4.1rem);
  background:
    radial-gradient(circle at 14% 12%, rgb(20 240 181 / 12%) 0%, transparent 34%),
    radial-gradient(circle at 88% 20%, rgb(0 61 255 / 22%) 0%, transparent 38%),
    linear-gradient(180deg, #060d24 0%, #0c1d4b 58%, #12306f 100%);
}

.emc-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 74ch;
  margin-inline: auto;
}

.emc-hero__title {
  color: #ffffff;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.08;
  margin: 0.7rem 0 0.9rem;
}

.emc-hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.15rem;
}

.emc-hero__actions .btn--secondary {
  border-color: rgb(255 255 255 / 30%);
  color: #ffffff;
}

.emc-matrix-wrap {
  background: linear-gradient(180deg, #f7faff 0%, #f2f7ff 100%);
  padding-top: clamp(2.1rem, 4.5vw, 3.2rem);
}

.em-models-layout {
  display: grid;
  gap: 0.9rem;
}

.em-models-panel {
  padding: 0;
}

.em-models-panel__head {
  text-align: center;
  max-width: 62ch;
  margin-inline: auto;
  margin-bottom: 0.82rem;
}

.em-models-panel__head .section-title {
  margin-bottom: 0.28rem;
}

.em-models-panel__head .section-intro {
  max-width: 62ch;
  margin-inline: auto;
}

.em-models-panel--cards {
  background: none;
}

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

.emc-card {
  --emc-accent: #2f63c8;

  border: 1px solid #d5e3fc;
  border-radius: 16px;
  background: #ffffff;
  padding: 0.95rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 22px rgb(14 44 101 / 6%);
  transition:
    transform 260ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.emc-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--emc-accent) 0%, rgb(255 255 255 / 0%) 86%);
}

.emc-card:hover {
  transform: translateY(-3px);
  border-color: #bfd2f3;
  box-shadow: 0 16px 30px rgb(14 44 101 / 10%);
}

.emc-card .card__icon {
  margin-bottom: 0;
  border: 1px solid color-mix(in srgb, var(--emc-accent) 36%, white);
  background: color-mix(in srgb, var(--emc-accent) 12%, white);
  color: var(--emc-accent);
}

.emc-card__head {
  display: flex;
  align-items: center;
  gap: 0.62rem;
  margin-bottom: 0.52rem;
}

.emc-card__head .card__title {
  color: #2a3448;
  font-size: 1rem;
  margin-bottom: 0;
}

.emc-card__kicker {
  display: inline-flex;
  align-self: flex-start;
  border: 1px solid #c9dafc;
  border-radius: 999px;
  background: #edf4ff;
  color: #1f54cd;
  font-size: 0.69rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.18rem 0.5rem;
  margin-bottom: 0.46rem;
}

.emc-card .card__body {
  color: #111111;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 0.52rem;
}

.emc-score {
  display: flex;
  flex-wrap: wrap;
  gap: 0.32rem;
  margin-bottom: 0.58rem;
  padding-top: 0.55rem;
  border-top: 1px solid #e5edf9;
}

.emc-score span {
  border: 1px solid #dbe5f6;
  border-radius: 999px;
  background: #fbfcff;
  color: #2a3448;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  padding: 0.22rem 0.46rem;
}

.emc-points {
  list-style: disc;
  padding-left: 1rem;
  display: grid;
  gap: 0.24rem;
  color: #111111;
  font-size: 0.82rem;
  line-height: 1.45;
  margin-top: auto;
}

.emc-points li {
  display: list-item;
}

.emc-points li::marker {
  color: #111111;
}

.emc-cta {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 18%, rgb(20 240 181 / 15%) 0%, transparent 34%),
    linear-gradient(180deg, #091a4d 0%, #003dff 100%);
}

.emc-cta__shell {
  position: relative;
  z-index: 1;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 18px;
  background: rgb(255 255 255 / 6%);
  padding: clamp(1.2rem, 2.2vw, 1.8rem);
}

.emc-cta .section-intro {
  max-width: 62ch;
  margin-inline: auto;
}

.emc-cta .btn {
  margin-top: 1rem;
}

.cta-particles-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.emc-footer-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.05;
}

.emc-footer-inner {
  position: relative;
  z-index: 1;
}

.footer__desc {
  color: rgb(255 255 255 / 65%);
  margin-top: 1rem;
  max-width: 32ch;
}

.footer h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer__links {
  display: grid;
  gap: 0.5rem;
  color: rgb(255 255 255 / 75%);
}

.footer__mail {
  display: block;
  color: rgb(255 255 255 / 75%);
  margin-bottom: 0.9rem;
}

.footer__mail i {
  margin-right: 0.35rem;
}

.emc-footer-note {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.2rem 0;
  color: rgb(255 255 255 / 45%);
  font-size: 0.85rem;
}

@media (width <= 1024px) {
  .emc-matrix {
    grid-template-columns: 1fr;
  }
}

@media (width <= 768px) {
  .emc-card {
    padding: 0.82rem;
  }

  .emc-score {
    gap: 0.28rem;
  }

  .emc-score span {
    font-size: 0.69rem;
  }
}
