.field-super-functions {display:grid;justify-items:center;padding-block:clamp(24px,4vw,56px) clamp(18px,2.4vw,34px);}
.kem-features {
  width: min(100%, 1312px);
  container-type: inline-size;
  color: #f5f6f7;
  font-family: Onest, Arial, sans-serif;
}

.kem-features__frame {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(22px, 4cqw, 56px);
  border: 1px solid #334351;
  border-radius: clamp(18px, 2.3cqw, 30px);
  background:
    radial-gradient(ellipse at 50% 62%, #192b3c, transparent 62%),
    #101b28;
}

.kem-features__header {
  display: grid;
  place-items: center;
  min-height: 48px;
}

.kem-features__header :is(h1, h2) {
  margin: 0;
  color: inherit;
  font: 700 clamp(39px, 6.3cqw, 90px)/.91 var(--display, "Arial Narrow", sans-serif);
  letter-spacing: .005em;
  text-align: center;
  text-wrap: balance;
}

.kem-features__header :is(h1, h2) span {
  color: #ff843e;
}

.kem-features__stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.85fr) minmax(0, 1fr);
  grid-template-rows: repeat(3, minmax(0, 1fr));
  align-items: center;
  min-height: clamp(355px, 37cqw, 452px);
  margin-top: clamp(12px, 2cqw, 30px);
}

.kem-features__orb-space {
  grid-area: 1 / 2 / -1;
  align-self: stretch;
}

.kem-features__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.kem-features__list {
  display: contents;
}

.kem-features__slot {
  position: relative;
  z-index: 1;
  min-width: 0;
  list-style: none;
}

.kem-features__slot:nth-child(odd) { grid-column: 1; }
.kem-features__slot:nth-child(even) { grid-column: 3; }
.kem-features__slot:nth-child(-n+2) { grid-row: 1; }
.kem-features__slot:nth-child(n+3):nth-child(-n+4) { grid-row: 2; }
.kem-features__slot:nth-child(n+5) { grid-row: 3; }

.kem-features__feature {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(8px, 1.25cqw, 17px);
  width: 100%;
  min-height: 86px;
  padding: 12px clamp(11px, 1.3cqw, 18px);
  border: 1px solid #d8e0e7;
  border-radius: 15px;
  color: #142c42;
  background: #fff;
  box-shadow: 0 3px 6px #0003, 0 13px 24px -13px #000b;
  text-align: left;
  font: 400 clamp(14px, 1.5cqw, 19px)/1.25 Onest, Arial, sans-serif;
}

.kem-features__feature::before {
  position: absolute;
  inset: -1px;
  border: 1px solid #ed7742;
  border-radius: inherit;
  box-shadow: 0 0 0 2px #ffad743d, 0 15px 26px -13px #ff8d5459;
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 230ms cubic-bezier(.23, 1, .32, 1);
}

.kem-features__feature[data-active="true"]::before {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .kem-features__frame[data-playing="true"] .kem-features__feature[data-active="true"] {
    animation: kem-feature-arrival 620ms cubic-bezier(.23, 1, .32, 1);
  }
}

@keyframes kem-feature-arrival {
  0%, 100% { transform: translateY(0); }
  32% { transform: translateY(-4px); }
}

.kem-features__icon {
  display: grid;
  place-items: center;
  width: clamp(34px, 3.7cqw, 46px);
  aspect-ratio: 1;
  border: 1px solid #ffe0cd;
  border-radius: 9px;
  background: #fff2e9;
  color: #a8401c;
}

.kem-features__icon svg {
  width: 57%;
  height: 57%;
}

.kem-features button:focus-visible {
  outline: 2px solid #ffc3a2;
  outline-offset: 4px;
}

.kem-features__details {
  box-sizing: border-box;
  width: min(460px, calc(100% - 28px));
  max-height: calc(100dvh - 28px);
  margin: auto;
  padding: 0;
  overflow: auto;
  border: 1px solid #d8e0e7;
  border-radius: 18px;
  background: #fff;
  color: #142c42;
  box-shadow: 0 10px 26px #0003, 0 32px 70px -18px #061828a6;
}

.kem-features__details::backdrop {
  background: #091522a6;
}

.kem-features__details-body {
  padding: clamp(19px, 5vw, 30px);
}

.kem-features__details-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 17px;
}

.kem-features__details-top .kem-features__icon {
  width: 46px;
  border-radius: 9px;
}

.kem-features__details-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #e0e6eb;
  border-radius: 10px;
  background: #f6f8fa;
  color: #142c42;
}

.kem-features .kem-features__details-close:focus-visible {
  outline-color: #a8401c;
  outline-offset: 2px;
}

.kem-features__details h2 {
  margin: 0 0 9px;
  font: 700 clamp(22px, 5.6vw, 28px)/1.15 Onest, Arial, sans-serif;
  text-wrap: balance;
}

.kem-features__details p {
  margin: 0;
  color: #40566a;
  font: 400 16px/1.55 Onest, Arial, sans-serif;
}

@media (prefers-reduced-motion: no-preference) {
  .kem-features__details[open] {
    animation: kem-features-details-in 220ms cubic-bezier(.23, 1, .32, 1);
  }

  .kem-features__details[open]::backdrop {
    animation: kem-features-backdrop-in 220ms cubic-bezier(.23, 1, .32, 1);
  }
}

@keyframes kem-features-details-in {
  from { opacity: 0; transform: scale(.97); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes kem-features-backdrop-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (hover: hover) {
  .kem-features__feature:hover {
    border-color: #ffac7d;
  }

  .kem-features__details-close:hover {
    background: #fff2e9;
  }
}

@container (max-width: 850px) {
  .kem-features__frame {
    padding: clamp(14px, 4cqw, 36px);
  }

  .kem-features__header :is(h1, h2) {
    font-size: clamp(30px, 7.7cqw, 65px);
  }

  .kem-features__stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: clamp(185px, 51cqw, 340px) repeat(3, 1fr);
    gap: 10px 20px;
    min-height: 0;
    margin-top: 6px;
  }

  .kem-features__orb-space { grid-area: 1 / 1 / 2 / -1; }
  .kem-features__slot:nth-child(even) { grid-column: 2; }
  .kem-features__slot:nth-child(-n+2) { grid-row: 2; }
  .kem-features__slot:nth-child(n+3):nth-child(-n+4) { grid-row: 3; }
  .kem-features__slot:nth-child(n+5) { grid-row: 4; }

  .kem-features__feature {
    min-height: 66px;
    height: 100%;
    padding: 9px;
    font-size: clamp(12px, 2.6cqw, 17px);
    border-radius: 11px;
  }

  .kem-features__slot { align-self: stretch; }
  .kem-features__icon { width: clamp(24px, 5.4cqw, 39px); border-radius: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  .kem-features__feature::before { transition: none; }
}

@container (max-width: 340px) {
  .kem-features__feature {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    gap: 5px;
    min-height: 78px;
  }
}
