/* Compact visible actions with a generous, transparent touch target. */
body[data-page-id="home"] .feature-system__item {
  grid-template-columns: 38px clamp(16px, 6vw, 28px) 36px 16px minmax(0, 1fr) 52px;
}

body[data-page-id="home"] .feature-system__number {
  white-space: nowrap;
}

body[data-page-id="home"] button.feature-system__demo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 44px;
  min-width: 52px;
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gx-ui-primary, #4c6331);
  -webkit-text-fill-color: currentColor;
  -webkit-mask-image: none;
  mask-image: none;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

body[data-page-id="home"] .feature-system__demo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  box-sizing: border-box;
  width: 52px;
  height: 26px;
  border: 1px solid #bcc9af;
  border-radius: 999px;
  background: #edf2e7;
  font-family: inherit;
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 140ms ease, border-color 140ms ease;
}

body[data-page-id="home"] .feature-system__demo-pill svg {
  flex: none;
  width: 9px;
  height: 10px;
  fill: currentColor;
}

@media (hover: hover) {
  body[data-page-id="home"] .feature-system__demo:hover .feature-system__demo-pill {
    background: #e1e9d8;
    border-color: #8b9e78;
  }
}

body[data-page-id="home"] .feature-system__demo:active .feature-system__demo-pill {
  background: #d7e2cc;
  border-color: #7d9269;
}

body[data-page-id="home"] .feature-system__demo:focus-visible {
  border-radius: 16px;
  outline: 2px solid var(--gx-ui-primary, #4c6331);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  body[data-page-id="home"] .feature-system__demo-pill {
    transition: none;
  }
}
