.hrms-hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hrms-hero-proof span {
  border: 1px solid #dbe3f1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: #40506a;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
}

.hrms-demo-section,
.hrms-lifecycle-section,
.hrms-features-section,
.hrms-connected-section {
  padding: 86px 0;
}

.hrms-demo-section {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 100%);
  border-top: 1px solid #e5edf8;
  border-bottom: 1px solid #e5edf8;
}

.hrms-demo-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 58px;
}

.hrms-section-kicker,
.hrms-connected-label {
  display: inline-block;
  margin-bottom: 12px;
  color: #5559b8;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hrms-demo-copy h2,
.hrms-section-heading h2,
.hrms-faq-section h2 {
  margin: 0;
  color: #071a33;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.hrms-demo-copy > p,
.hrms-section-heading > p,
.hrms-section-heading-split > p {
  color: #536176;
  font-size: 17px;
  line-height: 1.75;
}

.hrms-demo-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 26px;
}

.hrms-text-link {
  color: #343996;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.hrms-demo-note {
  margin-top: 24px;
  padding-left: 14px;
  border-left: 3px solid #7478d7;
  font-size: 13px !important;
}

.hrms-demo-window {
  overflow: hidden;
  border: 1px solid #dbe3ef;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 30px 80px rgba(46, 58, 107, 0.14);
}

.hrms-window-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 13px 16px;
  border-bottom: 1px solid #e7ecf4;
  background: #f8faff;
}

.hrms-window-bar span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e1;
}

.hrms-window-bar strong {
  margin-left: auto;
  color: #7a8699;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.hrms-role-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
}

.hrms-role-card {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: start;
  gap: 11px;
  min-height: 126px;
  padding: 16px;
  border: 1px solid #e1e6ef;
  border-radius: 13px;
  color: #071a33;
  text-decoration: none;
  transition: border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.hrms-role-card:hover,
.hrms-role-card:focus-visible {
  border-color: #8589dd;
  box-shadow: 0 10px 25px rgba(60, 65, 145, 0.1);
  transform: translateY(-2px);
}

.hrms-role-card:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}

.hrms-role-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #e9fbf4;
  color: #07835f;
  font-weight: 900;
}

.hrms-role-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.hrms-role-copy strong { font-size: 14px; }
.hrms-role-copy small {
  color: #64748b;
  font-size: 11.5px;
  line-height: 1.55;
}
.hrms-role-arrow { color: #8a96a8; }

.hrms-lifecycle-section { background: #ffffff; }
.hrms-section-heading { max-width: 760px; margin-bottom: 38px; }
.hrms-section-heading > p { margin: 18px 0 0; }

.hrms-lifecycle-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  overflow: hidden;
}

.hrms-lifecycle-grid li {
  position: relative;
  min-height: 230px;
  padding: 24px 22px;
  background: #fff;
  border-right: 1px solid #e2e8f0;
}

.hrms-lifecycle-grid li:last-child { border-right: 0; }
.hrms-lifecycle-grid li > span {
  color: #686cc5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
}
.hrms-lifecycle-grid h3 { margin: 42px 0 9px; color: #071a33; font-size: 18px; }
.hrms-lifecycle-grid p { margin: 0; color: #64748b; font-size: 13px; line-height: 1.65; }

.hrms-features-section {
  background: #071a33;
  color: #fff;
}

.hrms-features-section .hrms-section-kicker { color: #a9adff; }
.hrms-features-section .hrms-section-heading h2 { color: #fff; }
.hrms-section-heading-split {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.65fr);
  align-items: end;
  gap: 52px;
  max-width: none;
}
.hrms-section-heading-split > p { margin: 0; color: #aebbd0; }

.hrms-feature-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.hrms-feature-group {
  padding: 26px;
  border: 1px solid rgba(185, 199, 222, 0.22);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.045);
}

.hrms-feature-group-heading {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(185, 199, 222, 0.18);
}

.hrms-feature-group-heading > span {
  color: #a9adff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 800;
}

.hrms-feature-group h3 { margin: 0; color: #fff; font-size: 20px; }
.hrms-feature-group-heading p { margin: 7px 0 0; color: #9eadc3; font-size: 13px; line-height: 1.55; }
.hrms-feature-group ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px 20px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.hrms-feature-group li {
  position: relative;
  padding-left: 18px;
  color: #dce5f3;
  font-size: 13px;
  line-height: 1.5;
}
.hrms-feature-group li::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 7px;
  height: 7px;
  border: 2px solid #6ed8b5;
  border-radius: 50%;
}

.hrms-scope-note {
  margin: 22px 0 0;
  padding: 15px 18px;
  border: 1px solid rgba(185, 199, 222, 0.2);
  border-radius: 12px;
  color: #aebbd0;
  font-size: 12px;
  line-height: 1.65;
}

.hrms-connected-section { background: #f4f8ff; }
.hrms-connected-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.hrms-connected-grid article {
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 28px;
  border: 1px solid #dce5f2;
  border-radius: 16px;
  background: #fff;
}
.hrms-connected-grid h3 { margin: 0; color: #071a33; font-size: 21px; line-height: 1.25; }
.hrms-connected-grid p { color: #64748b; font-size: 14px; line-height: 1.7; }
.hrms-connected-grid a { margin-top: auto; color: #3f459f; font-size: 13px; font-weight: 800; text-decoration: none; }

.hrms-faq-section { background: #fff; }

@media (max-width: 1050px) {
  .hrms-demo-layout { grid-template-columns: 1fr; }
  .hrms-lifecycle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hrms-lifecycle-grid li { border-bottom: 1px solid #e2e8f0; }
  .hrms-lifecycle-grid li:nth-child(2n) { border-right: 0; }
  .hrms-lifecycle-grid li:last-child { grid-column: 1 / -1; border-bottom: 0; }
  .hrms-connected-grid { grid-template-columns: 1fr; }
  .hrms-connected-grid article { min-height: auto; }
}

@media (max-width: 760px) {
  .hrms-demo-section,
  .hrms-lifecycle-section,
  .hrms-features-section,
  .hrms-connected-section { padding: 62px 0; }
  .hrms-demo-layout { gap: 36px; }
  .hrms-role-grid,
  .hrms-feature-groups,
  .hrms-section-heading-split { grid-template-columns: 1fr; }
  .hrms-section-heading-split { gap: 16px; }
  .hrms-role-card:last-child:nth-child(odd) { grid-column: auto; }
  .hrms-lifecycle-grid { grid-template-columns: 1fr; }
  .hrms-lifecycle-grid li,
  .hrms-lifecycle-grid li:nth-child(2n) { min-height: auto; border-right: 0; border-bottom: 1px solid #e2e8f0; }
  .hrms-lifecycle-grid li:last-child { grid-column: auto; border-bottom: 0; }
  .hrms-lifecycle-grid h3 { margin-top: 18px; }
  .hrms-feature-group ul { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .hrms-role-card { transition: none; }
}
