/* HRMS development page — warm, people-centric design system extension */
.hm-page {
  --hm-navy: #11182c;
  --hm-indigo: #4f46e5;
  --hm-violet: #7668f8;
  --hm-coral: #f06a6a;
  --hm-mint: #14b8a6;
  --hm-warm: #fff9f6;
  --hm-rose-soft: #fff0f1;
  --hm-mint-soft: #e9fbf7;
  --hm-violet-soft: #f0efff;
  --ec-ink: var(--hm-navy);
  --ec-muted: #60687b;
  --ec-soft: #f8f7fc;
  --ec-indigo: var(--hm-indigo);
  --ec-violet: var(--hm-coral);
  --ec-mint: var(--hm-mint);
  --ec-grad: linear-gradient(120deg, #4f46e5, #7657ed 54%, #f06a6a);
}

.hm-main {
  background: #fff;
}

.hm-main a:focus-visible,
.hm-main button:focus-visible,
.hm-main summary:focus-visible,
.hm-main input:focus-visible,
.hm-main select:focus-visible,
.hm-main textarea:focus-visible {
  outline-color: rgba(79, 70, 229, 0.34);
}

.hm-main .ec-icon {
  color: var(--hm-indigo);
  background: linear-gradient(145deg, #f1efff, #fff0f1);
  box-shadow: inset 0 0 0 1px rgba(79, 70, 229, 0.11);
}

/* Hero */
.hm-hero {
  padding-top: clamp(60px, 7vw, 100px);
  background:
    radial-gradient(circle at 80% 8%, rgba(240, 106, 106, 0.1), transparent 28%),
    linear-gradient(180deg, #fff9f7 0%, #f9f8ff 55%, #fff 100%);
}

.hm-hero::before {
  background-image:
    linear-gradient(rgba(79, 70, 229, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(79, 70, 229, 0.045) 1px, transparent 1px);
}

.hm-hero .ec-hero-bg i:nth-child(1) {
  background: #ddd8ff;
}

.hm-hero .ec-hero-bg i:nth-child(2) {
  background: #ffd6d6;
}

.hm-hero .ec-hero-bg i:nth-child(3) {
  background: #c9f7ed;
}

.hm-hero .ec-hero-grid {
  grid-template-columns: minmax(0, 0.88fr) minmax(540px, 1.12fr);
  gap: clamp(40px, 6vw, 82px);
}

.hm-hero h1 {
  max-width: 680px;
  font-size: clamp(43px, 5.1vw, 72px);
}

.hm-hero .cr-hero-kicker {
  max-width: 620px;
  color: #252c43;
}

.hm-hero .ec-hero-copy > p {
  max-width: 660px;
  font-size: 16.5px;
}

.hm-hero .ec-mini-proof span svg {
  color: var(--hm-coral);
}

.hm-console {
  position: relative;
  min-height: 560px;
  overflow: visible;
  border: 1px solid rgba(79, 70, 229, 0.16);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow:
    0 40px 90px -42px rgba(17, 24, 44, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  transform: perspective(1200px) rotateY(-2deg) rotateX(1deg);
}

.hm-console::before {
  content: "";
  position: absolute;
  inset: -14px;
  z-index: -1;
  border: 1px solid rgba(240, 106, 106, 0.12);
  border-radius: 40px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.5), rgba(240, 239, 255, 0.28));
}

.hm-console-top {
  height: 56px;
  padding: 0 19px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid #ebe9f4;
}

.hm-console-top > b {
  color: var(--hm-navy);
  font-size: 12px;
  letter-spacing: -0.01em;
}

.hm-window-dots {
  display: flex;
  gap: 6px;
}

.hm-window-dots i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d4d3dc;
}

.hm-window-dots i:nth-child(1) {
  background: #f06a6a;
}

.hm-window-dots i:nth-child(2) {
  background: #f1b84b;
}

.hm-window-dots i:nth-child(3) {
  background: #14b8a6;
}

.hm-console-top > em {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  border-radius: 999px;
  color: #0b7d71;
  background: var(--hm-mint-soft);
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hm-console-top > em i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-mint);
  box-shadow: 0 0 0 4px rgba(20, 184, 166, 0.12);
  animation: hm-live 1.8s ease-in-out infinite;
}

.hm-console-body {
  min-height: 504px;
  display: grid;
  grid-template-columns: 58px 1fr;
}

.hm-console-body > aside {
  padding: 18px 9px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 11px;
  border-right: 1px solid #ebe9f4;
  background: rgba(248, 247, 252, 0.72);
  border-radius: 0 0 0 29px;
}

.hm-console-body > aside span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: #8b91a2;
}

.hm-console-body > aside span.is-active {
  color: #fff;
  background: linear-gradient(145deg, var(--hm-indigo), var(--hm-violet));
  box-shadow: 0 10px 20px -9px rgba(79, 70, 229, 0.7);
}

.hm-dashboard {
  min-width: 0;
  padding: 22px;
}

.hm-dashboard-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.hm-dashboard-head small,
.hm-dashboard-head strong {
  display: block;
}

.hm-dashboard-head small {
  margin-bottom: 3px;
  color: #8a91a2;
  font-size: 9px;
}

.hm-dashboard-head strong {
  color: var(--hm-navy);
  font-size: 15px;
}

.hm-team-stack {
  display: flex;
  align-items: center;
}

.hm-team-stack span,
.hm-team-stack b {
  width: 28px;
  height: 28px;
  margin-left: -6px;
  display: grid;
  place-items: center;
  border: 2px solid #fff;
  border-radius: 50%;
  color: #fff;
  background: #6d62e9;
  font-size: 7px;
  font-weight: 800;
}

.hm-team-stack span:nth-child(2) {
  background: var(--hm-coral);
}

.hm-team-stack span:nth-child(3) {
  background: var(--hm-mint);
}

.hm-team-stack b {
  color: #555d72;
  background: #eef0f7;
}

.hm-kpi-row {
  margin-top: 18px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.hm-kpi-row article {
  min-width: 0;
  padding: 13px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border: 1px solid #eeedf4;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 24px -20px rgba(17, 24, 44, 0.35);
}

.hm-kpi-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
}

.hm-kpi-icon.hm-coral {
  color: #d94f58;
  background: var(--hm-rose-soft);
}

.hm-kpi-icon.hm-mint {
  color: #0d927f;
  background: var(--hm-mint-soft);
}

.hm-kpi-icon.hm-violet {
  color: #6254dc;
  background: var(--hm-violet-soft);
}

.hm-kpi-row small,
.hm-kpi-row strong,
.hm-kpi-row em {
  display: block;
}

.hm-kpi-row small {
  overflow: hidden;
  color: #848b9d;
  font-size: 8px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.hm-kpi-row strong {
  margin-top: 2px;
  color: var(--hm-navy);
  font-size: 19px;
  line-height: 1;
}

.hm-kpi-row em {
  grid-column: 1 / -1;
  margin-top: -3px;
  color: #747c90;
  font-size: 8px;
  font-style: normal;
}

.hm-dashboard-grid {
  margin-top: 11px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
}

.hm-attendance-card,
.hm-approval-card {
  padding: 15px;
  border: 1px solid #eeedf4;
  border-radius: 17px;
  background: #fff;
}

.hm-attendance-card > header,
.hm-approval-card > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7467e9;
}

.hm-attendance-card header small,
.hm-attendance-card header b,
.hm-approval-card header small,
.hm-approval-card header b {
  display: block;
}

.hm-attendance-card header small,
.hm-approval-card header small {
  color: #9298a8;
  font-size: 8px;
}

.hm-attendance-card header b,
.hm-approval-card header b {
  margin-top: 1px;
  color: var(--hm-navy);
  font-size: 11px;
}

.hm-attendance-main {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.hm-attendance-ring {
  width: 88px;
  height: 88px;
  padding: 8px;
  flex: none;
  border-radius: 50%;
  background: conic-gradient(var(--hm-mint) 0 78%, var(--hm-indigo) 78% 90%, var(--hm-coral) 90% 96%, #eeeef4 96%);
  animation: hm-ring 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.hm-attendance-ring > span {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  text-align: center;
  border-radius: 50%;
  background: #fff;
}

.hm-attendance-ring strong,
.hm-attendance-ring small {
  display: block;
}

.hm-attendance-ring strong {
  color: var(--hm-navy);
  font-size: 17px;
}

.hm-attendance-ring small {
  color: #858c9c;
  font-size: 7px;
}

.hm-attendance-main ul {
  min-width: 92px;
  padding: 0;
  list-style: none;
}

.hm-attendance-main li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 5px;
  color: #6c7487;
  font-size: 8px;
  line-height: 2;
}

.hm-attendance-main li i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--hm-mint);
}

.hm-attendance-main li i.is-remote {
  background: var(--hm-indigo);
}

.hm-attendance-main li i.is-leave {
  background: var(--hm-coral);
}

.hm-attendance-main li b {
  color: var(--hm-navy);
}

.hm-approval-card > div {
  margin-top: 10px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transform: translateY(6px);
  animation: hm-card-in 0.45s ease forwards;
  animation-delay: var(--d, 0ms);
}

.hm-approval-card > div > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #5d54c4;
  background: #f0efff;
  font-size: 7px;
  font-weight: 800;
}

.hm-approval-card > div:nth-of-type(2) > span {
  color: #c75059;
  background: #fff0f1;
}

.hm-approval-card > div:nth-of-type(3) > span {
  color: #0e8879;
  background: #e9fbf7;
}

.hm-approval-card p,
.hm-approval-card p b,
.hm-approval-card p small {
  display: block;
  min-width: 0;
}

.hm-approval-card p b {
  color: var(--hm-navy);
  font-size: 8px;
}

.hm-approval-card p small {
  margin-top: 1px;
  color: #8a91a2;
  font-size: 7px;
}

.hm-approval-card > div > svg {
  padding: 3px;
  color: #0f9f8c;
  border-radius: 50%;
  background: var(--hm-mint-soft);
}

.hm-lifecycle {
  margin-top: 11px;
  padding: 10px 14px;
  display: flex;
  justify-content: space-between;
  gap: 7px;
  border-radius: 14px;
  color: #646c80;
  background: linear-gradient(90deg, #f5f3ff, #fff5f2, #edfbf8);
}

.hm-lifecycle span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 8px;
  font-weight: 700;
  white-space: nowrap;
}

.hm-lifecycle span > svg:first-child {
  color: var(--hm-indigo);
}

.hm-lifecycle span > svg:last-child {
  margin-left: 3px;
  color: #abb0bc;
}

.hm-float {
  position: absolute;
  z-index: 2;
  min-width: 190px;
  padding: 11px 13px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: 15px;
  color: var(--hm-indigo);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px -20px rgba(17, 24, 44, 0.46);
  backdrop-filter: blur(12px);
  animation: hm-float 4.8s ease-in-out infinite;
}

.hm-float span b,
.hm-float span small {
  display: block;
}

.hm-float span b {
  color: var(--hm-navy);
  font-size: 9px;
}

.hm-float span small {
  margin-top: 2px;
  color: #7a8294;
  font-size: 7px;
}

.hm-float > svg:last-child {
  padding: 3px;
  border-radius: 50%;
  color: #fff;
  background: var(--hm-mint);
}

.hm-float-a {
  left: -38px;
  bottom: 64px;
}

.hm-float-b {
  right: -34px;
  top: 104px;
  grid-template-columns: auto 1fr;
  color: var(--hm-coral);
  animation-delay: -2.2s;
}

@keyframes hm-live {
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

@keyframes hm-ring {
  from {
    opacity: 0;
    transform: rotate(-70deg) scale(0.8);
  }
}

@keyframes hm-card-in {
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes hm-float {
  50% {
    transform: translateY(-7px);
  }
}

/* Centralized overview and solution paths */
.hm-overview {
  background:
    radial-gradient(circle at 0 22%, rgba(20, 184, 166, 0.06), transparent 22%),
    #fff;
}

.hm-overview-grid {
  padding: clamp(30px, 5vw, 56px);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 7vw, 92px);
  border: 1px solid #e9e7f1;
  border-radius: 30px;
  background: linear-gradient(135deg, #fff, #fff9f7 52%, #f7f5ff);
  box-shadow: 0 28px 70px -45px rgba(17, 24, 44, 0.3);
}

.hm-overview-grid h2 {
  margin-top: 15px;
  font-size: clamp(36px, 4vw, 56px);
}

.hm-overview-copy p {
  color: var(--ec-muted);
  font-size: 15.5px;
  line-height: 1.75;
}

.hm-overview-copy p + p {
  margin-top: 14px;
}

.hm-overview-copy > div {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hm-overview-copy > div span {
  padding: 8px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e5e2f4;
  border-radius: 999px;
  color: #4d5569;
  background: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 700;
}

.hm-overview-copy > div svg {
  color: var(--hm-mint);
}

.hm-path-head {
  margin-top: clamp(72px, 8vw, 112px);
}

.hm-path-grid article:first-child::before {
  background: linear-gradient(140deg, #f1efff, #e9fbf7);
}

.hm-path-grid article:nth-child(2)::before {
  background: linear-gradient(140deg, #fff0f1, #f0efff);
}

.hm-path-grid li svg,
.hm-path-grid article > a {
  color: var(--hm-indigo);
}

/* Services and platforms */
.hm-service-grid article {
  min-height: 270px;
}

.hm-service-grid article:nth-child(7) {
  grid-column: span 2;
}

.hm-platforms {
  background:
    radial-gradient(circle at 80% 10%, rgba(240, 106, 106, 0.16), transparent 28%),
    linear-gradient(135deg, #11182c, #171838 58%, #231936);
}

.hm-platforms .ec-platforms-bg {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
}

.hm-platform-grid {
  grid-template-columns: repeat(3, 1fr);
}

.hm-platform-grid article {
  min-height: 228px;
}

.hm-platform-grid article::before {
  background: linear-gradient(90deg, var(--hm-indigo), var(--hm-coral));
}

.hm-platform-grid article:nth-child(3n + 2)::before {
  background: linear-gradient(90deg, var(--hm-coral), #f6a254);
}

.hm-platform-grid article:nth-child(3n)::before {
  background: linear-gradient(90deg, var(--hm-mint), #5b8def);
}

/* Custom HRMS blueprint */
.hm-custom {
  background:
    radial-gradient(circle at 90% 18%, rgba(240, 106, 106, 0.07), transparent 24%),
    #fff;
}

.hm-blueprint {
  display: grid;
  grid-template-columns: minmax(260px, 0.66fr) minmax(0, 1.34fr);
  gap: 20px;
  align-items: stretch;
}

.hm-blueprint-core {
  position: relative;
  min-height: 500px;
  padding: 38px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 74% 15%, rgba(240, 106, 106, 0.5), transparent 24%),
    radial-gradient(circle at 20% 35%, rgba(20, 184, 166, 0.24), transparent 28%),
    linear-gradient(145deg, #171b3a, #4f46e5 65%, #6a55da);
  box-shadow: 0 30px 64px -34px rgba(79, 70, 229, 0.58);
}

.hm-blueprint-core::before,
.hm-blueprint-core::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
}

.hm-blueprint-core::before {
  width: 330px;
  height: 330px;
  right: -140px;
  top: -100px;
}

.hm-blueprint-core::after {
  width: 190px;
  height: 190px;
  right: -40px;
  top: 20px;
}

.hm-blueprint-core > span {
  position: relative;
  z-index: 1;
  width: 62px;
  height: 62px;
  margin-bottom: auto;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 19px;
  background: rgba(255, 255, 255, 0.11);
  backdrop-filter: blur(10px);
}

.hm-blueprint-core small {
  position: relative;
  z-index: 1;
  color: #c9c9ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hm-blueprint-core strong {
  position: relative;
  z-index: 1;
  max-width: 290px;
  margin-top: 9px;
  font-family: var(--font-primary, inherit);
  font-size: clamp(31px, 3.2vw, 45px);
  line-height: 1;
  letter-spacing: -0.04em;
}

.hm-blueprint-core p {
  position: relative;
  z-index: 1;
  max-width: 310px;
  margin-top: 17px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
  line-height: 1.65;
}

.hm-blueprint-core > div {
  position: absolute;
  top: 108px;
  left: 40px;
  display: flex;
  gap: 8px;
}

.hm-blueprint-core > div i {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50%;
  background: #7c73e7;
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.08);
}

.hm-blueprint-core > div i:nth-child(2) {
  margin-left: -17px;
  background: var(--hm-coral);
}

.hm-blueprint-core > div i:nth-child(3) {
  margin-left: -17px;
  background: var(--hm-mint);
}

.hm-feature-groups {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.hm-feature-groups article {
  position: relative;
  padding: 23px;
  overflow: hidden;
  border: 1px solid #e8e6f0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 36px -28px rgba(17, 24, 44, 0.35);
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
}

.hm-feature-groups article:nth-child(5) {
  grid-column: 1 / -1;
}

.hm-feature-groups article:hover {
  transform: translateY(-4px);
  border-color: #cbc6ee;
  box-shadow: 0 24px 46px -28px rgba(79, 70, 229, 0.35);
}

.hm-feature-groups header {
  display: flex;
  align-items: center;
  gap: 11px;
}

.hm-feature-groups header > span {
  width: 40px;
  height: 40px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--hm-indigo);
  background: var(--hm-violet-soft);
}

.hm-feature-groups article:nth-child(2) header > span,
.hm-feature-groups article:nth-child(5) header > span {
  color: #0d8b7d;
  background: var(--hm-mint-soft);
}

.hm-feature-groups article:nth-child(3) header > span {
  color: #d4515a;
  background: var(--hm-rose-soft);
}

.hm-feature-groups h3 {
  margin: 0;
  color: var(--hm-navy);
  font-size: 17px;
  text-transform: capitalize;
}

.hm-feature-groups header > b {
  margin-left: auto;
  color: #dedbe9;
  font-size: 22px;
}

.hm-feature-groups ul {
  margin-top: 17px;
  padding: 0;
  display: grid;
  gap: 7px;
  list-style: none;
}

.hm-feature-groups article:nth-child(5) ul {
  grid-template-columns: repeat(2, 1fr);
}

.hm-feature-groups li {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #5e6679;
  font-size: 12px;
  line-height: 1.45;
}

.hm-feature-groups li svg {
  flex: none;
  color: var(--hm-mint);
}

/* Module cards */
.hm-module-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 13px;
}

.hm-module-grid article {
  position: relative;
  min-height: 270px;
  padding: 24px 20px;
  overflow: hidden;
  border: 1px solid #e5e3ed;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 36px -30px rgba(17, 24, 44, 0.35);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hm-module-grid article::after {
  content: "";
  position: absolute;
  right: -55px;
  bottom: -70px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--hm-violet-soft);
}

.hm-module-grid article:nth-child(3n + 2)::after {
  background: var(--hm-rose-soft);
}

.hm-module-grid article:nth-child(3n)::after {
  background: var(--hm-mint-soft);
}

.hm-module-grid article:hover {
  transform: translateY(-6px);
  box-shadow: 0 27px 50px -30px rgba(79, 70, 229, 0.35);
}

.hm-module-grid article > b {
  position: absolute;
  right: 18px;
  top: 18px;
  color: #d8d5e4;
  font-size: 11px;
  letter-spacing: 0.08em;
}

.hm-module-grid .ec-icon {
  width: 47px;
  height: 47px;
  border-radius: 15px;
}

.hm-module-grid h3 {
  position: relative;
  z-index: 1;
  margin: 26px 0 10px;
  font-size: 17px;
  line-height: 1.18;
  letter-spacing: -0.025em;
}

.hm-module-grid p {
  position: relative;
  z-index: 1;
  color: var(--ec-muted);
  font-size: 12px;
  line-height: 1.65;
}

/* Attendance, payroll and mobile self-service */
.hm-workforce-tools {
  background:
    radial-gradient(circle at 4% 40%, rgba(20, 184, 166, 0.07), transparent 22%),
    radial-gradient(circle at 96% 70%, rgba(240, 106, 106, 0.07), transparent 24%),
    #fff;
}

.hm-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.hm-spotlight {
  position: relative;
  padding: clamp(26px, 3vw, 36px);
  overflow: hidden;
  border: 1px solid #e7e4ef;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 24px 58px -40px rgba(17, 24, 44, 0.36);
}

.hm-spotlight::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -130px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.09), transparent 67%);
  pointer-events: none;
}

.hm-payroll-spotlight::before {
  background: radial-gradient(circle, rgba(240, 106, 106, 0.12), transparent 67%);
}

.hm-mobile-spotlight::before {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.12), transparent 67%);
}

.hm-spotlight > header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hm-spotlight > header > span {
  width: 54px;
  height: 54px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--hm-indigo);
  background: var(--hm-violet-soft);
}

.hm-payroll-spotlight > header > span {
  color: #cf5058;
  background: var(--hm-rose-soft);
}

.hm-mobile-spotlight > header > span {
  color: #0b8c7e;
  background: var(--hm-mint-soft);
}

.hm-spotlight > header small,
.hm-spotlight > header h3 {
  display: block;
}

.hm-spotlight > header small {
  color: var(--hm-indigo);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hm-spotlight > header h3 {
  max-width: 440px;
  margin: 4px 0 0;
  font-size: clamp(20px, 2.1vw, 27px);
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.hm-device-visual {
  min-height: 156px;
  margin: 28px 0 24px;
  padding: 20px;
  display: grid;
  grid-template-columns: 0.88fr auto 1.12fr;
  align-items: center;
  gap: 14px;
  border-radius: 22px;
  background: linear-gradient(135deg, #f3f1ff, #f9f8ff 55%, #edfbf8);
}

.hm-device {
  min-height: 116px;
  display: grid;
  place-content: center;
  gap: 8px;
  text-align: center;
  border: 1px solid rgba(79, 70, 229, 0.11);
  border-radius: 18px;
  color: var(--hm-indigo);
  background: #fff;
  box-shadow: 0 18px 32px -26px rgba(79, 70, 229, 0.4);
}

.hm-device span {
  color: #5f6679;
  font-size: 9px;
  font-weight: 800;
}

.hm-sync-line {
  display: flex;
  align-items: center;
  gap: 0;
  color: var(--hm-mint);
}

.hm-sync-line i {
  width: 26px;
  height: 1px;
  overflow: hidden;
  background: linear-gradient(90deg, var(--hm-indigo), var(--hm-mint));
}

.hm-sync-line svg {
  animation: hm-spin 6s linear infinite;
}

.hm-sync-panel {
  display: grid;
  gap: 8px;
}

.hm-sync-panel > span {
  padding: 13px 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(20, 184, 166, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
}

.hm-sync-panel b {
  color: var(--hm-navy);
  font-size: 13px;
}

.hm-sync-panel small {
  color: #747c90;
  font-size: 8px;
}

.hm-payroll-visual {
  min-height: 156px;
  margin: 28px 0 24px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 10px;
  align-content: center;
  border-radius: 22px;
  background: linear-gradient(135deg, #fff2f2, #fff9f7 55%, #f5f2ff);
}

.hm-payroll-visual > div {
  grid-row: span 2;
  padding: 16px;
  border-radius: 17px;
  background: #fff;
}

.hm-payroll-visual > div small,
.hm-payroll-visual > div strong {
  display: block;
}

.hm-payroll-visual > div small {
  color: #858c9d;
  font-size: 9px;
}

.hm-payroll-visual > div strong {
  margin-top: 6px;
  color: var(--hm-navy);
  font-size: 30px;
  line-height: 1;
}

.hm-payroll-visual > div em {
  height: 6px;
  margin-top: 16px;
  display: block;
  overflow: hidden;
  border-radius: 999px;
  background: #f0edf3;
}

.hm-payroll-visual > div em i {
  width: 98%;
  height: 100%;
  display: block;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--hm-coral), #f2a05c);
  animation: hm-progress 1.1s ease both;
}

.hm-payroll-visual > span {
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(240, 106, 106, 0.12);
  border-radius: 14px;
  color: #596175;
  background: rgba(255, 255, 255, 0.9);
  font-size: 9px;
  font-weight: 700;
}

.hm-payroll-visual > span svg {
  flex: none;
  color: var(--hm-coral);
}

.hm-chip-list {
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  list-style: none;
}

.hm-chip-list li {
  padding: 8px 10px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e8e6ef;
  border-radius: 999px;
  color: #596175;
  background: #fafafd;
  font-size: 10px;
  font-weight: 650;
}

.hm-chip-list li svg {
  flex: none;
  color: var(--hm-mint);
}

.hm-caveat {
  position: relative;
  z-index: 1;
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px dashed #dedbe6;
  color: #71798b;
  font-size: 10.5px;
  line-height: 1.65;
}

.hm-mobile-spotlight {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) 230px minmax(0, 1.18fr);
  grid-template-areas:
    "head phone list"
    "note phone list";
  gap: 24px 32px;
  align-items: center;
}

.hm-mobile-spotlight > header {
  grid-area: head;
}

.hm-mobile-spotlight .hm-phone {
  grid-area: phone;
}

.hm-mobile-spotlight .hm-mobile-list {
  grid-area: list;
}

.hm-mobile-spotlight .hm-caveat {
  grid-area: note;
  align-self: start;
  margin-top: 0;
}

.hm-phone {
  position: relative;
  width: 220px;
  min-height: 365px;
  padding: 17px 14px;
  overflow: hidden;
  border: 7px solid #20263a;
  border-radius: 32px;
  background: #fbfbff;
  box-shadow: 0 28px 48px -28px rgba(17, 24, 44, 0.55);
}

.hm-phone::before {
  content: "";
  position: absolute;
  width: 64px;
  height: 15px;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  border-radius: 0 0 11px 11px;
  background: #20263a;
}

.hm-phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #60687a;
  font-size: 7px;
  font-weight: 800;
}

.hm-phone-top i {
  width: 19px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--hm-mint) 65%, #dfe1e9 65%);
}

.hm-phone-profile {
  margin-top: 19px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 9px;
}

.hm-phone-profile > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: #fff;
  background: linear-gradient(145deg, var(--hm-coral), #ee8e73);
  font-size: 8px;
  font-weight: 800;
}

.hm-phone-profile p small,
.hm-phone-profile p b {
  display: block;
}

.hm-phone-profile p small {
  color: #9298a7;
  font-size: 7px;
}

.hm-phone-profile p b {
  margin-top: 1px;
  color: var(--hm-navy);
  font-size: 9px;
}

.hm-phone-profile > svg {
  color: var(--hm-indigo);
}

.hm-phone-time {
  margin-top: 18px;
  padding: 13px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  border-radius: 16px;
  color: var(--hm-indigo);
  background: linear-gradient(135deg, #efedff, #f7f5ff);
}

.hm-phone-time p b,
.hm-phone-time p small {
  display: block;
}

.hm-phone-time p b {
  color: var(--hm-navy);
  font-size: 10px;
}

.hm-phone-time p small {
  color: #82899a;
  font-size: 7px;
}

.hm-phone-time > span {
  grid-column: 1 / -1;
  margin-top: 3px;
  padding: 7px;
  border-radius: 8px;
  color: #087f70;
  background: rgba(20, 184, 166, 0.11);
  text-align: center;
  font-size: 7px;
  font-weight: 800;
}

.hm-phone-actions {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 7px;
}

.hm-phone-actions > span {
  min-height: 58px;
  display: grid;
  place-content: center;
  gap: 5px;
  text-align: center;
  border: 1px solid #eceaf2;
  border-radius: 12px;
  color: var(--hm-indigo);
  background: #fff;
}

.hm-phone-actions small {
  color: #646c80;
  font-size: 7px;
  font-weight: 700;
}

.hm-mobile-list {
  align-content: center;
}

@keyframes hm-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hm-progress {
  from {
    width: 0;
  }
}

/* Integrations and technology */
.hm-connect-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

.hm-integration-cloud {
  position: relative;
  min-height: 610px;
  padding: clamp(26px, 3.5vw, 42px);
  overflow: hidden;
  border: 1px solid #e4e2ed;
  border-radius: 29px;
  background:
    radial-gradient(circle at 50% 52%, rgba(79, 70, 229, 0.12), transparent 27%),
    linear-gradient(145deg, #fff, #f7f5ff 58%, #fff4f2);
}

.hm-integration-cloud::before {
  content: "";
  position: absolute;
  inset: 138px 55px 128px;
  border: 1px dashed rgba(79, 70, 229, 0.2);
  border-radius: 48%;
  animation: hm-orbit 18s linear infinite;
}

.hm-integration-title {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hm-integration-title > span {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: var(--hm-indigo);
  background: #fff;
  box-shadow: 0 14px 28px -21px rgba(79, 70, 229, 0.6);
}

.hm-integration-title small {
  color: var(--hm-indigo);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.hm-integration-title h3 {
  margin: 3px 0 0;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hm-integration-core {
  position: relative;
  z-index: 2;
  width: 126px;
  height: 126px;
  margin: 56px auto 42px;
  display: grid;
  place-content: center;
  gap: 7px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 34px;
  color: #fff;
  background: linear-gradient(145deg, var(--hm-indigo), #7658ed 60%, var(--hm-coral));
  box-shadow: 0 24px 50px -23px rgba(79, 70, 229, 0.75);
}

.hm-integration-core b {
  font-size: 12px;
}

.hm-integration-core i {
  position: absolute;
  inset: -12px;
  z-index: -1;
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: 42px;
  animation: hm-core-pulse 2.8s ease-in-out infinite;
}

.hm-integration-list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hm-integration-list > span {
  padding: 9px 11px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #e5e2ee;
  border-radius: 999px;
  color: #565e72;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 10px 20px -18px rgba(17, 24, 44, 0.55);
  font-size: 10px;
  font-weight: 700;
}

.hm-integration-list > span svg {
  color: var(--hm-indigo);
}

.hm-integration-cloud > p {
  position: relative;
  z-index: 1;
  margin-top: 28px;
  color: #747b8d;
  font-size: 10.5px;
  line-height: 1.65;
  text-align: center;
}

.hm-tech-list {
  height: 100%;
}

.hm-tech-list article {
  padding: 21px 22px;
}

.hm-tech-list article:nth-child(3n + 2) header b {
  color: var(--hm-coral);
}

.hm-tech-list article:nth-child(3n) header b {
  color: var(--hm-mint);
}

@keyframes hm-orbit {
  to {
    transform: rotate(360deg);
  }
}

@keyframes hm-core-pulse {
  50% {
    opacity: 0.2;
    transform: scale(1.08);
  }
}

/* Responsible AI and data security */
.hm-intelligence {
  background:
    radial-gradient(circle at 15% 18%, rgba(20, 184, 166, 0.14), transparent 24%),
    radial-gradient(circle at 86% 82%, rgba(240, 106, 106, 0.13), transparent 25%),
    linear-gradient(135deg, #10172b, #171936 58%, #221933);
}

.hm-intelligence .ec-head h2 {
  max-width: 900px;
}

.hm-intelligence-grid article {
  min-height: 530px;
}

.hm-intelligence-grid article:first-child::before {
  background: radial-gradient(circle, rgba(20, 184, 166, 0.22), transparent 66%);
}

.hm-intelligence-grid article:nth-child(2)::before {
  background: radial-gradient(circle, rgba(240, 106, 106, 0.2), transparent 66%);
}

.hm-intelligence-grid article > p {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 14px;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.035);
  font-size: 11px;
  line-height: 1.65;
}

/* Comparison and process */
.hm-comparison .cr-recommend svg {
  color: var(--hm-coral);
}

.hm-process-section {
  background:
    radial-gradient(circle at 5% 12%, rgba(240, 106, 106, 0.07), transparent 20%),
    radial-gradient(circle at 95% 90%, rgba(20, 184, 166, 0.07), transparent 23%),
    #fff;
}

.hm-process-section .cr-process-board li > b {
  background: linear-gradient(145deg, var(--hm-indigo), #7657ed);
}

.hm-process-section .cr-process-board li:nth-child(2n) > b {
  background: linear-gradient(145deg, var(--hm-coral), #ec875e);
}

.hm-process-section .cr-process-icon {
  color: var(--hm-indigo);
  background: var(--hm-violet-soft);
}

.hm-process-section .cr-process-board li:nth-child(2n) .cr-process-icon {
  color: #cf5058;
  background: var(--hm-rose-soft);
}

.hm-process-section .cr-process-board li:nth-child(4n) .cr-process-icon {
  color: #0a8c7d;
  background: var(--hm-mint-soft);
}

/* Industries and reasons */
.hm-industries {
  background:
    radial-gradient(circle at 0 65%, rgba(79, 70, 229, 0.05), transparent 22%),
    var(--ec-soft);
}

.hm-industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 13px;
}

.hm-industry-grid article {
  min-height: 150px;
  padding: 24px;
  display: flex;
  gap: 15px;
  border: 1px solid #e4e2ec;
  border-radius: 21px;
  background: rgba(255, 255, 255, 0.9);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.hm-industry-grid article:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 42px -30px rgba(17, 24, 44, 0.35);
}

.hm-industry-grid article > span {
  width: 43px;
  height: 43px;
  flex: none;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: var(--hm-indigo);
  background: var(--hm-violet-soft);
}

.hm-industry-grid article:nth-child(3n + 2) > span {
  color: #cb4d56;
  background: var(--hm-rose-soft);
}

.hm-industry-grid article:nth-child(3n) > span {
  color: #0b887a;
  background: var(--hm-mint-soft);
}

.hm-industry-grid h3 {
  margin: 3px 0 7px;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.hm-industry-grid p {
  color: var(--ec-muted);
  font-size: 11.5px;
  line-height: 1.6;
}

.hm-reasons-head {
  margin-top: clamp(80px, 9vw, 124px);
}

.hm-reasons-head h2 {
  margin-top: 14px;
}

.hm-reasons-head > p {
  max-width: 650px;
  margin-top: 20px;
  color: var(--ec-muted);
  font-size: 15px;
  line-height: 1.7;
}

.hm-reason-grid {
  margin-top: 44px;
}

.hm-reason-grid article:nth-child(4n + 2) > span {
  color: #cf5058;
  background: var(--hm-rose-soft);
}

.hm-reason-grid article:nth-child(4n + 3) > span {
  color: #0a8b7c;
  background: var(--hm-mint-soft);
}

/* CTA and project form */
.hm-cta {
  background:
    radial-gradient(circle at 12% 12%, rgba(20, 184, 166, 0.18), transparent 24%),
    radial-gradient(circle at 90% 84%, rgba(240, 106, 106, 0.18), transparent 28%),
    linear-gradient(135deg, #10172b, #242056 64%, #37223f);
}

.hm-cta .ec-cta-bg {
  opacity: 0.55;
}

.hm-cta-grid {
  grid-template-columns: minmax(0, 0.78fr) minmax(560px, 1.22fr);
  align-items: start;
}

.hm-cta-grid > div:first-child {
  position: sticky;
  top: 120px;
}

.hm-cta h2 {
  font-size: clamp(38px, 4.5vw, 62px);
}

.hm-cta-buttons {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hm-main a.hm-btn-light,
.hm-main a.hm-btn-light:hover,
.hm-main a.hm-btn-light:focus-visible {
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  background: rgba(255, 255, 255, 0.08) !important;
  box-shadow: none !important;
}

.hm-form {
  grid-template-columns: 1fr;
}

.hm-form > header > span {
  color: #087f70;
  background: var(--hm-mint-soft);
}

.hm-form input,
.hm-form select,
.hm-form textarea {
  min-height: 48px;
}

.hm-form textarea {
  min-height: 118px;
}

.hm-form > button {
  width: 100%;
}

.hm-form > small {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  color: #70788b;
  line-height: 1.5;
}

.hm-form > small svg {
  flex: none;
  margin-top: 1px;
  color: var(--hm-mint);
}

.hm-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Responsive refinements */
@media (max-width: 1160px) {
  .hm-hero .ec-hero-grid {
    grid-template-columns: minmax(0, 0.9fr) minmax(500px, 1.1fr);
    gap: 42px;
  }

  .hm-float-a {
    left: -12px;
  }

  .hm-float-b {
    right: -12px;
  }

  .hm-module-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .hm-module-grid article:nth-child(9),
  .hm-module-grid article:nth-child(10) {
    min-height: 230px;
  }

  .hm-platform-grid,
  .hm-industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-intelligence-grid article {
    min-height: auto;
  }

  .hm-cta-grid {
    grid-template-columns: minmax(0, 0.72fr) minmax(520px, 1.28fr);
  }
}

@media (max-width: 1024px) {
  .hm-blueprint {
    grid-template-columns: 1fr;
  }

  .hm-blueprint-core {
    min-height: 400px;
  }

  .hm-feature-groups {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .hm-mobile-spotlight {
    grid-column: auto;
    grid-template-columns: minmax(0, 1fr) 220px;
    grid-template-areas:
      "head phone"
      "list phone"
      "note phone";
  }

  .hm-connect-grid {
    grid-template-columns: 1fr;
  }

  .hm-integration-cloud {
    min-height: 560px;
  }

  .hm-cta-grid {
    grid-template-columns: 1fr;
  }

  .hm-cta-grid > div:first-child {
    position: static;
  }
}

@media (max-width: 900px) {
  .hm-hero .ec-hero-grid {
    grid-template-columns: 1fr;
  }

  .hm-hero .ec-hero-copy {
    max-width: 720px;
  }

  .hm-hero .ec-hero-visual {
    width: min(720px, 100%);
    margin: 22px auto 30px;
  }

  .hm-console {
    transform: none;
  }

  .hm-overview-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hm-module-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-module-grid article,
  .hm-module-grid article:nth-child(9),
  .hm-module-grid article:nth-child(10) {
    min-height: 235px;
  }

  .hm-intelligence-grid {
    grid-template-columns: 1fr;
  }

  .hm-intelligence-grid article ul {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .hm-service-grid article:nth-child(7) {
    grid-column: auto;
  }

  .hm-platform-grid,
  .hm-industry-grid {
    grid-template-columns: 1fr;
  }

  .hm-platform-grid article {
    min-height: 210px;
  }

  .hm-overview-grid {
    padding: 28px;
    border-radius: 24px;
  }

  .hm-feature-groups {
    grid-template-columns: 1fr;
  }

  .hm-feature-groups article:nth-child(5) {
    grid-column: auto;
  }

  .hm-feature-groups article:nth-child(5) ul {
    grid-template-columns: 1fr;
  }

  .hm-device-visual,
  .hm-payroll-visual {
    min-height: auto;
  }

  .hm-mobile-spotlight {
    grid-template-columns: 1fr;
    grid-template-areas:
      "head"
      "phone"
      "list"
      "note";
  }

  .hm-phone {
    margin: 6px auto;
  }

  .hm-integration-cloud {
    min-height: auto;
  }

  .hm-integration-cloud::before {
    display: none;
  }

  .hm-integration-core {
    width: 112px;
    height: 112px;
    margin: 40px auto 30px;
  }

  .hm-intelligence-grid article ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .hm-hero h1 {
    font-size: 40px;
  }

  .hm-float {
    display: none;
  }

  .hm-console {
    min-height: 0;
    border-radius: 22px;
  }

  .hm-console::before {
    inset: -7px;
    border-radius: 28px;
  }

  .hm-console-top {
    height: 50px;
    padding: 0 13px;
  }

  .hm-console-top > b {
    font-size: 10px;
  }

  .hm-console-body {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .hm-console-body > aside {
    display: none;
  }

  .hm-dashboard {
    padding: 15px;
  }

  .hm-kpi-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-kpi-row article:nth-child(3) {
    grid-column: span 2;
  }

  .hm-dashboard-grid {
    grid-template-columns: 1fr;
  }

  .hm-lifecycle {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .hm-lifecycle span {
    justify-content: space-between;
  }

  .hm-lifecycle span:nth-child(2) > svg:last-child {
    display: none;
  }

  .hm-overview-grid {
    padding: 24px 20px;
  }

  .hm-blueprint-core {
    min-height: 380px;
    padding: 28px;
  }

  .hm-module-grid {
    grid-template-columns: 1fr;
  }

  .hm-module-grid article,
  .hm-module-grid article:nth-child(9),
  .hm-module-grid article:nth-child(10) {
    min-height: 220px;
  }

  .hm-spotlight {
    padding: 22px;
    border-radius: 23px;
  }

  .hm-device-visual {
    grid-template-columns: 1fr;
  }

  .hm-sync-line {
    justify-content: center;
    transform: rotate(90deg);
  }

  .hm-payroll-visual {
    grid-template-columns: 1fr;
  }

  .hm-payroll-visual > div {
    grid-row: auto;
  }

  .hm-integration-cloud {
    padding: 22px;
    border-radius: 23px;
  }

  .hm-integration-title {
    align-items: flex-start;
  }

  .hm-integration-core {
    margin-top: 32px;
  }

  .hm-industry-grid article {
    min-height: 0;
  }

  .hm-form .ec-form-row {
    grid-template-columns: 1fr;
  }

  .hm-cta-buttons .ec-btn {
    flex: 1 1 100%;
  }
}

@media (max-width: 420px) {
  .hm-hero h1 {
    font-size: 37px;
  }

  .hm-dashboard-head {
    align-items: flex-start;
  }

  .hm-team-stack span:nth-child(2),
  .hm-team-stack span:nth-child(3) {
    display: none;
  }

  .hm-kpi-row article {
    padding: 10px;
  }

  .hm-attendance-main {
    gap: 10px;
  }

  .hm-lifecycle span > svg:last-child {
    display: none;
  }

  .hm-blueprint-core strong {
    font-size: 31px;
  }

  .hm-feature-groups article,
  .hm-industry-grid article {
    padding: 20px;
  }

  .hm-spotlight > header {
    align-items: flex-start;
  }

  .hm-spotlight > header > span {
    width: 46px;
    height: 46px;
  }

  .hm-phone {
    width: 210px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hm-page *,
  .hm-page *::before,
  .hm-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
