/* ==========================================================================
   IN4 CloudHR HRMS landing page (hrms-landing.html)
   A standalone page with its own light, editorial style. Colours follow the
   HRMS module: IN4 purple #6C35FF (deep #4B20C8) with the purple → teal ramp
   used on hrms.html (#6C35FF → #8B5CF6 → #0E8C9B) and the logo green as a
   small accent. Light throughout; the only solid colour band is the numbers.
   ========================================================================== */
:root {
  --hr: #6c35ff;
  --hr-deep: #4b20c8;
  --hr-mid: #8b5cf6;
  --hr-light: #c4b5fd;
  --hr-soft: #f3eeff;
  --teal: #0e8c9b;
  --green: #6dbe45;
  --amber: #f59e0b;
  --grad: linear-gradient(96deg, #6c35ff 0%, #8b5cf6 46%, #0e8c9b 100%);

  --bg: #ffffff;
  --bg-tint: #faf8ff;
  --text: #17132b;
  --muted: #5f5a76;
  --line: #ebe6f7;
  --shadow: 0 24px 54px rgba(60, 30, 140, 0.12);
  --shadow-sm: 0 8px 22px rgba(60, 30, 140, 0.07);
  --r: 22px;
  --wrap: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.6 "Inter", system-ui, sans-serif; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-family: "Plus Jakarta Sans", "Inter", sans-serif; letter-spacing: -0.02em; line-height: 1.15; }
p { margin: 0; }
.hl-wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.hl-skip { position: absolute; z-index: 100; left: 12px; top: -60px; padding: 10px 16px; border-radius: 10px; background: var(--hr); color: #fff; font-weight: 700; text-decoration: none; }
.hl-skip:focus { top: 12px; }
.hl-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---- buttons ---- */
.hl-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 13px 22px; border: 1px solid transparent; border-radius: 14px; font: 700 15px/1 "Plus Jakarta Sans", sans-serif; text-decoration: none; cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), border-color 0.25s, background-color 0.25s; }
.hl-btn:hover { transform: translateY(-2px); }
.hl-btn:focus-visible { outline: 3px solid var(--hr-light); outline-offset: 3px; }
.hl-btn--primary { background: linear-gradient(120deg, var(--hr-deep), var(--hr) 55%, var(--hr-mid)); color: #fff; box-shadow: 0 12px 26px rgba(108, 53, 255, 0.3); }
.hl-btn--primary:hover { box-shadow: 0 16px 34px rgba(108, 53, 255, 0.4); }
.hl-btn--soft { border-color: var(--line); background: #fff; color: var(--text); }
.hl-btn--soft:hover { border-color: var(--hr-light); }
.hl-btn--white { background: #fff; color: var(--hr-deep); }
.hl-btn--ghost-white { border-color: rgba(255, 255, 255, 0.4); color: #fff; }
.hl-btn--ghost-white:hover { border-color: #fff; }
.hl-btn--sm { padding: 10px 16px; font-size: 14px; border-radius: 12px; }
.hl-btn--block { width: 100%; }

/* ---- announcement strip + header ---- */
.hl-strip { position: relative; z-index: 51; padding: 8px 16px; background: var(--grad); color: #fff; font-size: 13.5px; font-weight: 600; text-align: center; }
.hl-strip a { margin-left: 8px; color: #fff; font-weight: 700; }
.hl-strip i { margin-right: 6px; }
.hl-header { position: sticky; z-index: 50; top: 0; border-bottom: 1px solid transparent; background: rgba(255, 255, 255, 0.82); backdrop-filter: blur(14px) saturate(1.5); -webkit-backdrop-filter: blur(14px) saturate(1.5); transition: border-color 0.3s, box-shadow 0.3s; }
.hl-header.is-scrolled { border-bottom-color: var(--line); box-shadow: var(--shadow-sm); }
.hl-header-row { display: flex; align-items: center; gap: 22px; height: 70px; }
.hl-logo { display: flex; align-items: center; gap: 10px; flex: none; text-decoration: none; }
.hl-logo img { width: 132px; }
.hl-logo span { padding: 3px 9px; border-radius: 8px; background: var(--hr-soft); color: var(--hr-deep); font-size: 12px; font-weight: 800; letter-spacing: 0.04em; }
.hl-nav { display: flex; gap: 4px; margin-left: auto; }
.hl-nav a { position: relative; padding: 8px 12px; color: var(--muted); font-size: 14.5px; font-weight: 600; text-decoration: none; transition: color 0.2s; }
.hl-nav a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--grad); transform: scaleX(0); transition: transform 0.3s var(--ease); }
.hl-nav a:hover,
.hl-nav a.is-active { color: var(--text); }
.hl-nav a.is-active::after { transform: scaleX(1); }
.hl-burger { display: none; width: 42px; height: 42px; margin-left: auto; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); cursor: pointer; }
.hl-burger span { display: block; width: 18px; height: 2px; margin: 4px auto; border-radius: 2px; background: currentColor; transition: transform 0.3s, opacity 0.3s; }
.hl-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hl-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hl-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.hl-progress { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; }
.hl-progress i { display: block; height: 100%; background: var(--grad); transform: scaleX(0); transform-origin: left; }

/* ---- section basics ---- */
.hl-section { padding-block: clamp(64px, 8vw, 104px); }
.hl-section--tint { background: var(--bg-tint); }
.hl-label { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--hr-soft); color: var(--hr-deep); font-size: 13px; font-weight: 700; }
.hl-label b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--hr); color: #fff; font-size: 11px; }
.hl-title { font-size: clamp(30px, 3.6vw, 44px); }
.hl-sub { margin-top: 14px; color: var(--muted); font-size: 17px; max-width: 640px; }
.hl-head { margin-bottom: clamp(32px, 4vw, 52px); }
.hl-head--center { text-align: center; }
.hl-head--center .hl-sub { margin-inline: auto; }

/* ---- hero (light) ---- */
.hl-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(36px, 5vw, 60px) 0 clamp(36px, 4vw, 48px);
  background:
    radial-gradient(50% 60% at 92% 8%, rgba(139, 92, 246, 0.2), transparent 70%),
    radial-gradient(40% 50% at 0% 90%, rgba(14, 140, 155, 0.12), transparent 70%),
    linear-gradient(180deg, #f7f3ff, #ffffff 90%);
}
.hl-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(108, 53, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(108, 53, 255, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(60% 70% at 30% 30%, #000, transparent);
  mask-image: radial-gradient(60% 70% at 30% 30%, #000, transparent);
}
.hl-orb { position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); pointer-events: none; animation: hlDrift 14s ease-in-out infinite alternate; }
.hl-orb--a { right: 6%; top: 10%; width: 260px; height: 260px; background: rgba(108, 53, 255, 0.18); }
.hl-orb--b { left: 38%; bottom: -60px; width: 220px; height: 220px; background: rgba(14, 140, 155, 0.14); animation-delay: -7s; }
.hl-hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.hl-chip { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); font-size: 13.5px; font-weight: 600; }
.hl-chip b { padding: 3px 9px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 11.5px; }
.hl-hero h1 { margin-top: 18px; font-size: clamp(36px, 4.6vw, 58px); line-height: 1.06; }
.hl-hero-lead { margin-top: 18px; max-width: 540px; color: var(--muted); font-size: 18px; }
.hl-hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

/* punch → payslip ribbon */
.hl-ribbon { position: relative; display: flex; align-items: center; justify-content: space-between; max-width: 560px; margin-top: 34px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255, 255, 255, 0.8); box-shadow: var(--shadow-sm); }
.hl-ribbon::before { content: ""; position: absolute; left: 40px; right: 40px; top: 34px; height: 2px; background: repeating-linear-gradient(90deg, var(--hr-light) 0 6px, transparent 6px 11px); }
.hl-ribbon-dot { position: absolute; left: 40px; top: 30px; width: 10px; height: 10px; border-radius: 50%; background: var(--hr); box-shadow: 0 0 0 5px rgba(108, 53, 255, 0.18); animation: hlRibbon 6s var(--ease) infinite; }
.hl-ribbon-step { position: relative; display: grid; justify-items: center; gap: 6px; width: 76px; font-size: 12px; font-weight: 700; color: var(--muted); text-align: center; }
.hl-ribbon-step i { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 13px; background: #fff; color: var(--hr); font-size: 16px; box-shadow: inset 0 0 0 1px var(--line), 0 4px 10px rgba(60, 30, 140, 0.08); animation: hlStepOn 6s ease infinite; animation-delay: calc(var(--n) * 1.1s); }
.hl-ribbon-step:last-child i { color: var(--green); }

/* hero form */
.hl-form {
  position: relative;
  padding: 22px 24px 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow), 0 0 0 1px var(--line);
}
.hl-form::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: 25px; background: var(--grad); opacity: 0.55; }
.hl-form h2 { font-size: 20px; }
.hl-form h2 + p { margin-top: 4px; color: var(--muted); font-size: 14px; }
.hl-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px 12px; margin-top: 14px; }
.hl-span-2 { grid-column: 1 / -1; }
.hl-form .form-field { display: grid; gap: 4px; }
.hl-form label { font-size: 13px; font-weight: 600; }
.hl-form .req { color: var(--hr); }
.hl-form .optional { font-weight: 500; color: var(--muted); }
.hl-form .form-input { width: 100%; padding: 9px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg-tint); color: var(--text); font: 500 14.5px/1.4 "Inter", sans-serif; transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s; }
.hl-form select.form-input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 17px) 52%, calc(100% - 12px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 30px; }
.hl-form .form-input::placeholder { color: var(--muted); opacity: 0.7; }
.hl-form .form-input:focus { outline: none; border-color: var(--hr); background-color: #fff; box-shadow: 0 0 0 4px rgba(108, 53, 255, 0.14); }
.hl-form .form-input.has-error { border-color: #e5484d; box-shadow: 0 0 0 4px rgba(229, 72, 77, 0.12); }
.hl-form .form-error { min-height: 13px; font-size: 11.5px; font-weight: 600; color: #e5484d; }
.hl-form .hl-btn { margin-top: 4px; }
.hl-form .form-status { display: none; gap: 10px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; font-size: 14px; align-items: flex-start; }
.hl-form .form-status.success { display: flex; background: #e7f7ec; color: #1f8a43; }
.hl-form .form-status.error { display: flex; background: #fff1f1; color: #c62f35; }
.hl-form .form-status.loading { display: flex; background: var(--hr-soft); color: var(--hr-deep); }
.hl-form .form-status .spinner { width: 16px; height: 16px; flex: none; border: 2px solid var(--hr-light); border-top-color: var(--hr); border-radius: 50%; animation: hlSpin 0.8s linear infinite; }
.hl-form-note { margin-top: 8px; color: var(--muted); font-size: 12.5px; text-align: center; }
.hl-form-note i { margin-right: 5px; color: var(--hr); }
.hp-field { position: absolute !important; left: -9999px !important; width: 0 !important; height: 0 !important; opacity: 0 !important; overflow: hidden; }

/* ---- client logos ---- */
.hl-logos { padding-block: 26px 34px; border-bottom: 1px solid var(--line); }
.hl-logos p { margin-bottom: 18px; color: var(--muted); font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-align: center; text-transform: uppercase; }
.hl-logo-row { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.hl-logo-track { display: flex; align-items: center; gap: 56px; width: max-content; animation: hlMarquee 40s linear infinite; }
.hl-logo-row:hover .hl-logo-track { animation-play-state: paused; }
.hl-logo-track img { width: auto; height: 34px; filter: grayscale(1); opacity: 0.6; transition: filter 0.3s, opacity 0.3s; }
.hl-logo-track img:hover { filter: none; opacity: 1; }

/* ---- hire to retire: the lifecycle ring ---- */
.hl-cycle { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.hl-ring { position: relative; width: min(100%, 500px); aspect-ratio: 1; margin-inline: auto; }
.hl-ring::before { content: ""; position: absolute; inset: 9%; border: 2px dashed var(--hr-light); border-radius: 50%; animation: hlSpin 60s linear infinite; }
.hl-ring::after { content: ""; position: absolute; inset: 20%; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.12), transparent 70%); }
.hl-ring-core { position: absolute; z-index: 1; inset: 28%; display: grid; place-items: center; align-content: center; gap: 4px; padding: 10px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); text-align: center; }
.hl-ring-core i { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 6px; border-radius: 15px; background: var(--grad); color: #fff; font-size: 20px; transition: transform 0.5s var(--ease); }
.hl-ring-core b { font: 800 clamp(16px, 2vw, 20px)/1.2 "Plus Jakarta Sans", sans-serif; }
.hl-ring-core small { color: var(--muted); font-size: 12.5px; }
.hl-node {
  position: absolute;
  z-index: 2;
  left: calc(50% + 41% * cos(var(--a)));
  top: calc(50% + 41% * sin(var(--a)));
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin: -29px 0 0 -29px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: var(--hr-deep);
  font-size: 19px;
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  cursor: pointer;
  transition: transform 0.35s var(--ease), background-color 0.3s, color 0.3s, box-shadow 0.3s;
}
.hl-node span { position: absolute; top: calc(100% + 6px); left: 50%; translate: -50% 0; padding: 2px 8px; border-radius: 999px; background: #fff; color: var(--text); font-size: 12px; font-weight: 700; white-space: nowrap; box-shadow: 0 0 0 1px var(--line); }
.hl-node:hover { transform: scale(1.08); }
.hl-node:focus-visible { outline: 3px solid var(--hr-light); outline-offset: 3px; }
.hl-node[aria-selected="true"] { background: var(--grad); color: #fff; transform: scale(1.14); box-shadow: 0 0 0 6px rgba(108, 53, 255, 0.14), 0 14px 26px rgba(108, 53, 255, 0.35); }
.hl-node[aria-selected="true"] span { background: var(--hr); color: #fff; box-shadow: none; }
.hl-stage { display: none; }
.hl-stage.is-on { display: block; animation: hlIn 0.5s var(--ease) both; }
.hl-stage small { color: var(--hr); font-size: 13px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hl-stage h3 { margin-top: 8px; font-size: clamp(24px, 2.6vw, 32px); }
.hl-stage > p { margin-top: 10px; color: var(--muted); font-size: 16.5px; }
.hl-stage ul { display: grid; gap: 10px; margin: 20px 0 0; padding: 0; list-style: none; }
.hl-stage li { display: flex; gap: 12px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; font-size: 15px; }
.hl-stage li i { flex: none; margin-top: 3px; color: var(--teal); }
.hl-cycle-nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.hl-cycle-nav button { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--text); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.hl-cycle-nav button:hover { border-color: var(--hr); color: var(--hr); }
.hl-cycle-nav button:focus-visible { outline: 3px solid var(--hr-light); outline-offset: 2px; }
.hl-cycle-count { margin-left: 6px; color: var(--muted); font-size: 14px; font-weight: 600; }

/* ---- payroll engine: input → processing → output ---- */
.hl-engine { display: grid; grid-template-columns: 1fr auto 1.2fr auto 1fr; align-items: center; gap: 0; }
.hl-col { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; box-shadow: var(--shadow-sm); }
.hl-col h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.hl-col h3 i { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 10px; background: var(--hr-soft); color: var(--hr); letter-spacing: 0; }
.hl-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.hl-col li { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 12px; background: var(--bg-tint); font-size: 14.5px; font-weight: 600; }
.hl-col li i { width: 18px; color: var(--hr); text-align: center; }
.hl-col--core { position: relative; padding: 26px; border: 0; background: linear-gradient(160deg, var(--hr-deep), var(--hr) 60%, var(--hr-mid)); color: #fff; box-shadow: 0 26px 50px rgba(108, 53, 255, 0.32); }
.hl-col--core h3 { color: rgba(255, 255, 255, 0.75); }
.hl-col--core h3 i { background: rgba(255, 255, 255, 0.16); color: #fff; }
.hl-col--core li { background: rgba(255, 255, 255, 0.1); }
.hl-col--core li i { color: #c4f1a8; }
.hl-col--out li i { color: var(--teal); }
.hl-pipe { position: relative; width: 56px; height: 2px; background: repeating-linear-gradient(90deg, var(--hr-light) 0 6px, transparent 6px 10px); }
.hl-pipe::after { content: ""; position: absolute; top: -4px; left: 0; width: 10px; height: 10px; border-radius: 50%; background: var(--hr); box-shadow: 0 0 10px rgba(108, 53, 255, 0.6); animation: hlPipe 1.8s linear infinite; }
.hl-pipe--b::after { background: var(--teal); box-shadow: 0 0 10px rgba(14, 140, 155, 0.6); animation-delay: -0.9s; }
.hl-engine-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 24px; margin-top: 28px; color: var(--muted); font-size: 14.5px; }
.hl-engine-note i { margin-right: 6px; color: var(--green); }

/* ---- attendance methods ---- */
.hl-methods { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.hl-method { position: relative; overflow: hidden; padding: 24px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s; }
.hl-method::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, 0.16), transparent 70%); transition: transform 0.5s var(--ease); }
.hl-method:hover { transform: translateY(-4px); border-color: var(--hr-light); box-shadow: var(--shadow); }
.hl-method:hover::after { transform: scale(1.6); }
.hl-method > i { display: grid; place-items: center; width: 50px; height: 50px; margin-bottom: 16px; border-radius: 15px; background: var(--hr-soft); color: var(--hr); font-size: 20px; transition: background-color 0.3s, color 0.3s; }
.hl-method:hover > i { background: var(--grad); color: #fff; }
.hl-method h3 { font-size: 18px; }
.hl-method p { margin-top: 6px; color: var(--muted); font-size: 14.5px; }
.hl-method-new { position: absolute; top: 18px; right: 18px; padding: 3px 9px; border-radius: 999px; background: #eaf7e2; color: #3e8e2d; font-size: 11px; font-weight: 800; letter-spacing: 0.04em; }

/* ---- numbers band ---- */
.hl-band { position: relative; overflow: hidden; isolation: isolate; padding-block: clamp(44px, 6vw, 64px); background: linear-gradient(110deg, var(--hr-deep), var(--hr) 50%, var(--teal)); color: #fff; }
.hl-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1.2px, transparent 1.6px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); mask-image: linear-gradient(90deg, transparent, #000 30%, #000 70%, transparent); }
.hl-nums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; }
.hl-num b { display: block; font: 800 clamp(34px, 4.4vw, 52px)/1 "Plus Jakarta Sans", sans-serif; }
.hl-num span { display: block; margin-top: 8px; color: rgba(255, 255, 255, 0.8); font-size: 15px; }

/* ---- mobile ESS: phone between two feature columns ---- */
#mobile { overflow-x: clip; }
.hl-ess { display: grid; grid-template-columns: 1fr auto 1fr; gap: clamp(20px, 3vw, 44px); align-items: center; }
.hl-ess-col { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.hl-ess-col li { display: flex; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-sm); }
.hl-ess-col--left li { flex-direction: row-reverse; text-align: right; }
.hl-ess-col i { display: grid; place-items: center; flex: none; width: 42px; height: 42px; border-radius: 13px; background: var(--hr-soft); color: var(--hr); }
.hl-ess-col b { display: block; font-size: 16px; }
.hl-ess-col span { color: var(--muted); font-size: 14px; }
.hl-phone { position: relative; width: 250px; padding: 10px; border-radius: 40px; background: #17132b; box-shadow: 0 40px 70px rgba(60, 30, 140, 0.3), inset 0 0 0 2px #2d2650; }
.hl-phone::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 18px; width: 70px; height: 20px; margin-left: -35px; border-radius: 12px; background: #17132b; }
.hl-phone-screen { position: relative; overflow: hidden; aspect-ratio: 480 / 1076; border-radius: 31px; background: #fff; }
.hl-phone-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.8s ease; }
.hl-phone-screen img.is-on { opacity: 1; }
.hl-phone-glow { position: absolute; z-index: -1; inset: 10% -30%; border-radius: 50%; background: radial-gradient(closest-side, rgba(139, 92, 246, 0.3), transparent); }

/* ---- plans ---- */
.hl-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.hl-plan { position: relative; display: flex; flex-direction: column; padding: 28px 26px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: var(--shadow-sm); }
.hl-plan--pop { border: 0; background: linear-gradient(170deg, var(--hr-deep), var(--hr) 60%, var(--hr-mid)); color: #fff; box-shadow: 0 30px 60px rgba(108, 53, 255, 0.34); transform: translateY(-10px); }
.hl-plan-tag { position: absolute; top: -13px; left: 26px; padding: 4px 12px; border-radius: 999px; background: var(--green); color: #fff; font-size: 12px; font-weight: 800; }
.hl-plan small { color: var(--hr); font-size: 12.5px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.hl-plan--pop small { color: #ddd2ff; }
.hl-plan h3 { margin-top: 8px; font-size: 26px; }
.hl-plan-for { margin-top: 4px; color: var(--muted); font-size: 15px; }
.hl-plan--pop .hl-plan-for { color: rgba(255, 255, 255, 0.78); }
.hl-plan-size { margin-top: 18px; padding: 12px 14px; border-radius: 14px; background: var(--hr-soft); font-weight: 700; }
.hl-plan-size span { display: block; color: var(--muted); font-size: 13px; font-weight: 500; }
.hl-plan--pop .hl-plan-size { background: rgba(255, 255, 255, 0.12); }
.hl-plan--pop .hl-plan-size span { color: rgba(255, 255, 255, 0.72); }
.hl-plan ul { display: grid; gap: 9px; margin: 20px 0 24px; padding: 0; list-style: none; font-size: 14.5px; }
.hl-plan li { display: flex; gap: 10px; }
.hl-plan li i { flex: none; margin-top: 4px; color: var(--teal); font-size: 13px; }
.hl-plan--pop li i { color: #c4f1a8; }
.hl-plan li.hl-plan-plus { font-weight: 700; }
.hl-plan .hl-btn { margin-top: auto; }

/* ---- integrations ---- */
.hl-int { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.hl-hub { position: relative; width: min(100%, 440px); aspect-ratio: 1.1; margin-inline: auto; }
.hl-hub-center { position: absolute; left: 50%; top: 50%; display: grid; place-items: center; width: 120px; height: 120px; margin: -60px 0 0 -60px; border-radius: 34px; background: var(--grad); color: #fff; font: 800 18px/1.2 "Plus Jakarta Sans", sans-serif; text-align: center; box-shadow: 0 24px 50px rgba(108, 53, 255, 0.35); animation: hlBreathe 4s ease-in-out infinite; }
.hl-hub-node { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 14px; background: #fff; box-shadow: var(--shadow-sm); font-weight: 700; font-size: 14.5px; animation: hlFloat 6s ease-in-out infinite; }
.hl-hub-node i { color: var(--hr); }
.hl-hub-node:nth-child(2) { left: 0; top: 6%; }
.hl-hub-node:nth-child(3) { right: 0; top: 10%; animation-delay: -1.5s; }
.hl-hub-node:nth-child(4) { left: 2%; bottom: 10%; animation-delay: -3s; }
.hl-hub-node:nth-child(5) { right: 2%; bottom: 6%; animation-delay: -4.5s; }
.hl-hub svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hl-hub path { fill: none; stroke: var(--hr-light); stroke-width: 2; stroke-dasharray: 5 6; animation: hlDash 1.4s linear infinite; }
.hl-int-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 24px; }
.hl-int-list div { padding: 14px 16px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.hl-int-list b { display: block; font-size: 15px; }
.hl-int-list span { color: var(--muted); font-size: 13.5px; }

/* ---- FAQ: two columns of cards ---- */
.hl-faq { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }
.hl-faq details { border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: border-color 0.25s, box-shadow 0.25s; }
.hl-faq details[open] { border-color: var(--hr-light); box-shadow: var(--shadow-sm); }
.hl-faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font: 700 16px/1.4 "Plus Jakarta Sans", sans-serif; list-style: none; cursor: pointer; }
.hl-faq summary::-webkit-details-marker { display: none; }
.hl-faq summary i { display: grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 10px; background: var(--hr-soft); color: var(--hr); font-size: 12px; transition: transform 0.3s var(--ease), background-color 0.3s, color 0.3s; }
.hl-faq details[open] summary i { transform: rotate(180deg); background: var(--hr); color: #fff; }
.hl-faq summary:focus-visible { outline: 3px solid var(--hr-light); outline-offset: 2px; border-radius: 18px; }
.hl-faq details p { padding: 0 20px 18px; color: var(--muted); font-size: 15px; }

/* ---- closing CTA + light footer ---- */
.hl-cta { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding: clamp(30px, 5vw, 52px); border-radius: 30px; background: linear-gradient(110deg, var(--hr-deep), var(--hr) 55%, var(--teal)); color: #fff; box-shadow: 0 30px 60px rgba(108, 53, 255, 0.28); }
.hl-cta::before { content: ""; position: absolute; z-index: -1; right: -80px; top: -80px; width: 300px; height: 300px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, 0.08); }
.hl-cta h2 { font-size: clamp(26px, 3vw, 38px); }
.hl-cta p { margin-top: 8px; color: rgba(255, 255, 255, 0.82); }
.hl-cta-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hl-footer { border-top: 1px solid var(--line); background: var(--bg-tint); color: var(--muted); }
.hl-footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 32px; padding-block: 52px 40px; }
.hl-footer-brand img { width: 140px; }
.hl-footer-brand p { margin-top: 14px; max-width: 300px; font-size: 14px; }
.hl-social { display: flex; gap: 8px; margin-top: 18px; }
.hl-social a { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--text); text-decoration: none; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.hl-social a:hover { border-color: var(--hr); background: var(--hr); color: #fff; }
.hl-footer-col { display: grid; align-content: start; gap: 10px; font-size: 14px; }
.hl-footer-col h3 { margin-bottom: 4px; color: var(--text); font: 800 13px/1 "Plus Jakarta Sans", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; }
.hl-footer-col a { text-decoration: none; }
.hl-footer-col a:hover { color: var(--hr); }
.hl-footer-col i { width: 18px; margin-right: 6px; color: var(--hr); }
.hl-footer-col address { display: flex; font-style: normal; }
.hl-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 20px 28px; border-top: 1px solid var(--line); font-size: 13px; }
.hl-footer-bottom div { display: flex; gap: 18px; }
.hl-footer-bottom a { text-decoration: none; }
.hl-footer-bottom a:hover { color: var(--hr); }

/* ---- back to top ---- */
.hl-top { position: fixed; z-index: 40; right: 20px; bottom: 20px; display: grid; place-items: center; width: 50px; height: 50px; padding: 0; border: 0; border-radius: 16px; background: #fff; color: var(--hr); box-shadow: 0 12px 26px rgba(60, 30, 140, 0.2); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(12px); transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s; }
.hl-top.is-shown { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.hl-top svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hl-top rect { fill: none; stroke-width: 2.5; }
.hl-top .trk { stroke: var(--line); }
.hl-top .ring { stroke: var(--hr); stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: 100; }
.hl-top:focus-visible { outline: 3px solid var(--hr-light); outline-offset: 3px; }

/* ---- reveal on scroll ---- */
.hl-reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.hl-reveal.is-in { opacity: 1; transform: none; }
.hl-plan--pop.hl-reveal.is-in { transform: translateY(-10px); }

/* ---- keyframes ---- */
@keyframes hlDrift { to { transform: translate(-30px, 24px) scale(1.1); } }
@keyframes hlRibbon {
  0% { left: 40px; }
  20%, 24% { left: calc(25% + 10px); }
  44%, 48% { left: calc(50% - 5px); }
  68%, 72% { left: calc(75% - 20px); }
  92%, 100% { left: calc(100% - 50px); }
}
@keyframes hlStepOn { 0%, 12% { background: var(--hr); color: #fff; } 22%, 100% { background: #fff; } }
@keyframes hlSpin { to { transform: rotate(360deg); } }
@keyframes hlMarquee { to { transform: translateX(-50%); } }
@keyframes hlIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes hlPipe { from { left: 0; } to { left: calc(100% - 10px); } }
@keyframes hlBreathe { 50% { box-shadow: 0 24px 50px rgba(108, 53, 255, 0.35), 0 0 0 14px rgba(108, 53, 255, 0.08); } }
@keyframes hlFloat { 50% { transform: translateY(-8px); } }
@keyframes hlDash { to { stroke-dashoffset: -22; } }

/* ---- responsive ---- */
@media (max-width: 1080px) {
  .hl-nav a { padding: 8px 9px; font-size: 14px; }
  .hl-footer-top { grid-template-columns: 1fr 1fr; }
  .hl-engine { grid-template-columns: 1fr; gap: 14px; }
  .hl-pipe { width: 2px; height: 34px; margin-inline: auto; background: repeating-linear-gradient(180deg, var(--hr-light) 0 6px, transparent 6px 10px); }
  .hl-pipe::after { left: -4px; animation-name: hlPipeY; }
  @keyframes hlPipeY { from { top: 0; } to { top: calc(100% - 10px); } }
}
@media (max-width: 960px) {
  .hl-nav { position: absolute; left: 16px; right: 16px; top: calc(100% + 8px); display: grid; gap: 2px; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0s linear 0.25s; }
  .hl-nav.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .hl-nav a { padding: 12px 14px; font-size: 15px; }
  .hl-nav a::after { display: none; }
  .hl-nav a.is-active { border-radius: 10px; background: var(--hr-soft); color: var(--hr-deep); }
  .hl-burger { display: block; }
  .hl-header-row > .hl-btn { display: none; }
  .hl-hero-grid,
  .hl-cycle,
  .hl-int { grid-template-columns: 1fr; }
  .hl-methods,
  .hl-plans { grid-template-columns: 1fr 1fr; }
  .hl-plan--pop { transform: none; }
  .hl-plan--pop.hl-reveal.is-in { transform: none; }
  .hl-nums { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .hl-ess { grid-template-columns: 1fr; }
  .hl-phone { order: -1; margin-inline: auto; }
  .hl-ess-col--left li { flex-direction: row; text-align: left; }
  .hl-faq { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hl-strip { font-size: 12.5px; }
  .hl-header-row { height: 62px; }
  .hl-logo img { width: 112px; }
  .hl-hero-ctas .hl-btn { flex: 1 1 100%; }
  .hl-ribbon { padding: 12px 8px; }
  .hl-ribbon-step { width: 56px; font-size: 10.5px; }
  .hl-ribbon-step i { width: 34px; height: 34px; font-size: 14px; }
  .hl-ribbon::before { left: 30px; right: 30px; top: 29px; }
  .hl-ribbon-dot { top: 25px; }
  .hl-form-grid { grid-template-columns: 1fr; }
  .hl-node { width: 46px; height: 46px; margin: -23px 0 0 -23px; font-size: 15px; }
  .hl-node span { font-size: 10.5px; padding: 1px 6px; }
  .hl-ring-core small { display: none; }
  .hl-methods,
  .hl-plans,
  .hl-int-list { grid-template-columns: 1fr; }
  .hl-hub-node { padding: 8px 10px; font-size: 13px; }
  .hl-footer-top { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hl-reveal { opacity: 1; transform: none; }
  .hl-logo-track { flex-wrap: wrap; justify-content: center; width: auto; }
  .hl-logo-track img[aria-hidden="true"] { display: none; }
}

/* ---- journey illustration (assets/illustrations/hrms-journey.svg) ---- */
.hl-art { margin: 0 0 clamp(32px, 4vw, 48px); }
.hl-art-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.hl-art img { display: block; width: 100%; min-width: 860px; height: auto; }

/* ==========================================================================
   Dark hero and footer: deep purple-navy (#120b2e) with the HRMS purple and
   teal as glows. The form stays white so it reads first.
   ========================================================================== */
:root { --night: #120b2e; --night-2: #1c1242; }

.hl-hero {
  background:
    radial-gradient(50% 60% at 92% 8%, rgba(139, 92, 246, 0.42), transparent 70%),
    radial-gradient(40% 50% at 0% 95%, rgba(14, 140, 155, 0.3), transparent 70%),
    linear-gradient(180deg, var(--night), #170e3a);
  color: #fff;
}
.hl-hero::before {
  background-image: linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}
.hl-orb--a { background: rgba(139, 92, 246, 0.35); }
.hl-orb--b { background: rgba(14, 140, 155, 0.3); }
.hl-hero .hl-chip { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); box-shadow: none; color: #fff; }
.hl-hero h1 { color: #fff; }
.hl-hero .hl-grad { background-image: linear-gradient(96deg, #a78bfa 0%, #c4b5fd 45%, #5eead4 100%); }
.hl-hero-lead { color: rgba(255, 255, 255, 0.74); }
.hl-hero .hl-btn--soft { border-color: rgba(255, 255, 255, 0.24); background: rgba(255, 255, 255, 0.04); color: #fff; }
.hl-hero .hl-btn--soft:hover { border-color: #c4b5fd; }
.hl-hero .hl-ribbon { border-color: rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.05); box-shadow: none; }
.hl-hero .hl-ribbon::before { background: repeating-linear-gradient(90deg, rgba(196, 181, 253, 0.5) 0 6px, transparent 6px 11px); }
.hl-hero .hl-ribbon-step { color: rgba(255, 255, 255, 0.72); }
.hl-hero .hl-ribbon-step i { background: rgba(255, 255, 255, 0.08); color: #c4b5fd; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); animation-name: hlStepOnDark; }
.hl-hero .hl-ribbon-step:last-child i { color: #a3e635; }
.hl-hero .hl-ribbon-dot { background: #a78bfa; box-shadow: 0 0 0 5px rgba(167, 139, 250, 0.25), 0 0 14px #a78bfa; }
@keyframes hlStepOnDark { 0%, 12% { background: var(--hr); color: #fff; } 22%, 100% { background: rgba(255, 255, 255, 0.08); } }
.hl-hero .hl-form { box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1); }
.hl-hero .hl-form::before { opacity: 0.9; }

/* the logo strip sits right under the dark hero: keep it light */
.hl-logos { background: #fff; }

/* dark footer */
.hl-footer {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border-top: 0;
  background:
    radial-gradient(45% 80% at 0% 0%, rgba(139, 92, 246, 0.28), transparent 70%),
    radial-gradient(40% 70% at 100% 100%, rgba(14, 140, 155, 0.22), transparent 70%),
    var(--night);
  color: rgba(255, 255, 255, 0.7);
}
.hl-footer::before { content: ""; display: block; height: 4px; background: var(--grad); }
.hl-footer-brand img { padding: 6px 10px; border-radius: 10px; background: #fff; }
.hl-footer-col h3 { color: #fff; }
.hl-footer-col a:hover,
.hl-footer-bottom a:hover { color: #c4b5fd; }
.hl-footer-col i { color: #a78bfa; }
.hl-social a { border-color: rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.05); color: #fff; }
.hl-social a:hover { border-color: var(--hr); background: var(--hr); color: #fff; }
.hl-footer-bottom { border-top-color: rgba(255, 255, 255, 0.1); }
/* the white form keeps dark text inside the dark hero */
.hl-hero .hl-form { color: var(--text); }
.hl-hero .hl-form h2 { color: var(--text); }
/* section labels without numbers: a small dot in front instead */
.hl-label { padding: 6px 14px; }
.hl-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--hr); }
/* client logos in their own colours */
.hl-logo-track img { filter: none; opacity: 1; }
/* light shade on the attendance and mobile app sections; a lavender to
   faint-teal wash so they stay distinct from the plain tint next to them */
#attendance,
#mobile {
  background:
    radial-gradient(60% 80% at 100% 0%, rgba(14, 140, 155, 0.07), transparent 70%),
    linear-gradient(180deg, #f4efff 0%, #faf8ff 100%);
}
#attendance { border-top: 1px solid var(--line); }
#attendance .hl-method,
#mobile .hl-ess-col li { background: #fff; }

/* hero background scene (assets/illustrations/hero-bg-hrms.svg) under a dark overlay */
.hl-hero {
  background:
    radial-gradient(50% 60% at 92% 8%, rgba(139, 92, 246, 0.3), transparent 70%),
    linear-gradient(90deg, rgba(18, 11, 46, 0.9) 0%, rgba(18, 11, 46, 0.76) 50%, rgba(18, 11, 46, 0.62) 100%),
    url("../assets/illustrations/hero-bg-hrms.svg") center / cover no-repeat,
    var(--night);
}
@media (max-width: 960px) {
  .hl-hero { background: linear-gradient(180deg, rgba(18, 11, 46, 0.82), rgba(18, 11, 46, 0.9)), url("../assets/illustrations/hero-bg-hrms.svg") center / cover no-repeat, var(--night); }
}

/* hero background photo (assets/hero-bg/hrms.webp) under a dark overlay; replaces the line-art scene */
.hl-hero {
  background:
    radial-gradient(50% 60% at 92% 8%, rgba(139, 92, 246, 0.28), transparent 70%),
    linear-gradient(90deg, rgba(18, 11, 46, 0.93) 0%, rgba(18, 11, 46, 0.82) 48%, rgba(18, 11, 46, 0.68) 100%),
    url("../assets/hero-bg/hrms.webp") center / cover no-repeat,
    var(--night);
}
@media (max-width: 960px) {
  .hl-hero { background: linear-gradient(180deg, rgba(18, 11, 46, 0.86), rgba(18, 11, 46, 0.93)), url("../assets/hero-bg/hrms.webp") center / cover no-repeat, var(--night); }
}

/* generated scene: a lighter overlay so more of it shows */
.hl-hero {
  background:
    radial-gradient(50% 60% at 92% 8%, rgba(139, 92, 246, 0.24), transparent 70%),
    linear-gradient(90deg, rgba(18, 11, 46, 0.86) 0%, rgba(18, 11, 46, 0.66) 48%, rgba(18, 11, 46, 0.5) 100%),
    url("../assets/hero-bg/hrms.webp") center / cover no-repeat,
    var(--night);
}
@media (max-width: 960px) {
  .hl-hero { background: linear-gradient(180deg, rgba(18, 11, 46, 0.78), rgba(18, 11, 46, 0.9)), url("../assets/hero-bg/hrms.webp") center / cover no-repeat, var(--night); }
}

/* sharp generated scene, shown lightly: the overlay only lowers its opacity (no blur) */
.hl-hero {
  background:
    radial-gradient(50% 60% at 92% 8%, rgba(139, 92, 246, 0.2), transparent 70%),
    linear-gradient(90deg, rgba(18, 11, 46, 0.88) 0%, rgba(18, 11, 46, 0.72) 48%, rgba(18, 11, 46, 0.58) 100%),
    url("../assets/hero-bg/hrms.webp") center / cover no-repeat,
    var(--night);
}
@media (max-width: 960px) {
  .hl-hero { background: linear-gradient(180deg, rgba(18, 11, 46, 0.8), rgba(18, 11, 46, 0.9)), url("../assets/hero-bg/hrms.webp") center / cover no-repeat, var(--night); }
}
/* product logo, sized by height so every product logo matches */
.hl-logo img { width: auto; height: 44px; }
.hl-footer-brand img { width: auto; height: 52px; }
@media (max-width: 640px) { .hl-logo img { height: 36px; } }
