/* Only the four homepage route cards. No fonts, layout, news or JS changes. */
body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(104, 168, 190, .27);
  background: radial-gradient(ellipse at 0% 0%, rgba(68, 172, 194, .085), transparent 62%),
    linear-gradient(150deg, #102130 0%, #0b1725 58%, #0c1423 100%);
  box-shadow: 0 8px 24px rgba(0, 4, 10, .2),
    inset 0 1px 0 rgba(222, 249, 255, .025);
  transition: border-color 220ms ease, box-shadow 220ms ease,
    transform 220ms cubic-bezier(.2, .7, .3, 1);
}
body.is-fa.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card {
  background: radial-gradient(ellipse at 100% 0%, rgba(68, 172, 194, .085), transparent 62%),
    linear-gradient(210deg, #102130 0%, #0b1725 58%, #0c1423 100%);
}
body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -70px;
  inset-inline-start: -36px;
  width: 240px;
  height: 180px;
  background: radial-gradient(ellipse, rgba(102, 222, 241, .11), transparent 70%);
  opacity: .55;
  pointer-events: none;
  transition: opacity 220ms ease;
}
body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset-inline: 20px;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(133, 234, 249, .65), transparent);
  opacity: .5;
  pointer-events: none;
  transition: opacity 220ms ease;
}
body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card > i {
  background: linear-gradient(145deg, rgba(58, 165, 193, .16), rgba(71, 100, 167, .09));
  color: #76ddec;
  box-shadow: inset 0 0 0 1px rgba(116, 214, 234, .12), 0 5px 16px rgba(0, 0, 0, .11);
  transition: color 220ms ease, box-shadow 220ms ease;
}
/* Override the older shared hover lift on touch devices. Hover is enhancement,
   not a requirement: the border light and icon surface are present at rest. */
body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card:hover {
  transform: none;
}
body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card:focus-visible {
  outline: 2px solid #8de3ef;
  outline-offset: 3px;
  border-color: rgba(116, 214, 234, .64);
  box-shadow: 0 12px 30px rgba(0, 4, 10, .3), 0 0 24px rgba(74, 187, 212, .07);
}
@media (hover: hover) and (pointer: fine) {
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card:hover {
    border-color: rgba(116, 214, 234, .6);
    box-shadow: 0 14px 32px rgba(0, 4, 10, .32), 0 0 28px rgba(74, 187, 212, .065),
      inset 0 1px 0 rgba(222, 249, 255, .04);
  }
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card:hover::before,
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card:hover::after { opacity: 1; }
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card:hover > i {
    color: #a4edfa;
    box-shadow: inset 0 0 0 1px rgba(132, 224, 242, .26), 0 5px 20px rgba(38, 163, 193, .1);
  }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  /* Do not compete with the existing scroll-reveal animation. */
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card:hover:not([data-nx-reveal="pending"]):not([data-nx-reveal="revealing"]) {
    transform: translateY(-3px);
  }
}
@media (prefers-reduced-motion: reduce) {
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card,
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card::before,
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card::after,
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card > i { transition: none; }
}
@media (forced-colors: active) {
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card {
    background: Canvas;
    color: LinkText;
    border-color: LinkText;
    box-shadow: none;
  }
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card::before,
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card::after { display: none; }
}
@media print {
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card { box-shadow: none; }
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card::before,
  body.nexito-home[data-page="home"] .nx-home-paths .nx-feature-card::after { display: none; }
}
