:root {
  --feature-accent: #ff625c;
  --feature-ink: #171419;
  --feature-muted: #6f6974;
  --feature-line: #e4e1e6;
  --feature-surface: #f7f8fa;
}

html { scroll-behavior: smooth; }

.features-shell {
  width: calc(100% - 40px);
  max-width: 1360px;
  margin-inline: auto;
}

.features-hero {
  min-height: 600px;
  overflow: hidden;
  border-bottom: 1px solid #e5e9ec;
  background: #fff;
}

.features-hero__inner {
  display: grid;
  min-height: 600px;
  grid-template-columns: minmax(0, 1fr) 455px;
  align-items: center;
  gap: 48px;
}

.features-hero__main {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(0, 1fr) 326px;
  align-items: center;
  gap: 0;
}

.features-hero__copy { min-width: 0; }

.features-eyebrow {
  margin: 0 0 18px;
  color: var(--feature-accent);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.features-hero__copy h1 {
  margin: 0;
  color: var(--feature-ink);
  font-size: clamp(48px, 4vw, 68px);
  font-weight: 850;
  letter-spacing: 0;
  line-height: 1.17;
}

.features-hero__copy h1 strong {
  color: var(--feature-accent);
  font-weight: inherit;
}

.features-hero__description {
  max-width: 590px;
  margin: 24px 0 0;
  color: #55505a;
  font-size: 15px;
  line-height: 1.9;
}

.features-hero__visual {
  display: flex;
  width: 326px;
  aspect-ratio: 1.06;
  align-items: center;
  justify-content: center;
  animation: feature-visual-enter 720ms cubic-bezier(.22, 1, .36, 1) both;
}

.features-hero__visual img {
  display: block;
  width: 120%;
  max-width: none;
  height: auto;
  filter: saturate(1.08) contrast(1.035);
  mix-blend-mode: multiply;
  transform-origin: 52% 54%;
  animation: feature-float 5s ease-in-out 520ms infinite;
  transition: filter 260ms ease;
  will-change: transform;
}

.capability-map {
  position: relative;
  padding-left: 54px;
  border-left: 1px solid rgba(74, 62, 79, .2);
}

.capability-map::before {
  position: absolute;
  top: 8px;
  left: -2px;
  width: 2px;
  height: 66px;
  border-radius: 999px;
  background: linear-gradient(180deg, #ff6c66, rgba(255, 108, 102, 0));
  content: "";
}

.capability-map__heading {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--feature-line);
}

.capability-map__heading small {
  display: block;
  margin-bottom: 12px;
  color: #77717d;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
}

.capability-map__heading h2 {
  margin: 0;
  color: #242027;
  font-size: 28px;
  font-weight: 850;
  line-height: 1.2;
}

.capability-map__list a {
  display: grid;
  min-height: 110px;
  padding: 22px 14px;
  border-bottom: 1px solid #ebe8ec;
  grid-template-columns: 50px 104px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  color: inherit;
  background: transparent;
  text-decoration: none;
  transition: background-color 220ms ease, color 220ms ease;
}

.capability-map__icon {
  display: grid;
  width: 50px;
  height: 50px;
  border: 1px solid rgba(255, 98, 92, .4);
  border-radius: 8px;
  place-items: center;
  color: var(--feature-accent);
  transition: color 220ms ease, border-color 220ms ease, transform 260ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.capability-map__icon svg { width: 25px; height: 25px; }

.capability-map__list strong {
  color: #28232b;
  font-size: 16px;
  font-weight: 800;
}

.capability-map__list p {
  margin: 0;
  color: #69636f;
  font-size: 14px;
  line-height: 1.6;
  transition: color 220ms ease;
}

@media (hover: hover) {
  .capability-map__list a:hover {
    background: rgba(255, 98, 92, .055);
  }

  .capability-map__list a:hover .capability-map__icon {
    color: #fff;
    border-color: var(--feature-accent);
    background: var(--feature-accent);
    box-shadow: 0 10px 22px rgba(255, 98, 92, .2);
    transform: translateY(-2px);
  }

  .capability-map__list a:hover strong { color: #18141b; }
  .capability-map__list a:hover p { color: #4f4954; }

  .features-hero__inner:has(.capability-map__list a:hover) .features-hero__visual img {
    filter: saturate(1.16) contrast(1.055);
  }
}

.capability-map__list a:focus-visible {
  background: rgba(255, 98, 92, .07);
}

.capability-map__list a:focus-visible .capability-map__icon {
  color: #fff;
  border-color: var(--feature-accent);
  background: var(--feature-accent);
  box-shadow: 0 10px 22px rgba(255, 98, 92, .2);
  transform: translateY(-2px);
}

@keyframes feature-visual-enter {
  from { opacity: 0; transform: translateY(22px) scale(.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes feature-float {
  0%, 100% { transform: translate3d(0, 4px, 0) rotate(-.55deg) scale(1); }
  50% { transform: translate3d(0, -13px, 0) rotate(.65deg) scale(1.015); }
}
