/*!
 * RapidHR theme · main stylesheet
 * Source: home-v8-standalone.html (CEO-approved 2026-05-02)
 * Tokens, components and section styles. Edited via Edit tool only — no build step.
 */
:root {
  /* Brand */
  --c-primary:        #065AAE;
  --c-primary-deep:   #0B4C95;
  --c-primary-bright: #2178DD;
  --c-primary-soft:   #E8F1FB;
  --c-primary-tint:   #F4F8FD;

  --c-accent:         #EE1A1A;
  --c-accent-deep:    #C81616;
  --c-accent-soft:    #FDECEC;

  /* Light pastel section tints */
  --c-mint-soft:      #ECFDF5;
  --c-amber-soft:     #FEF7E6;
  --c-blush-soft:     #FFF1F2;
  --c-violet-soft:    #F4F1FE;

  /* Neutrals */
  --c-ink:            #0B1B3D;
  --c-ink-soft:       #1E2A4A;
  --c-body:           #475569;
  --c-muted:          #64748B;
  --c-line:           #E5E9F2;
  --c-line-soft:      #EEF2F8;
  --c-white:          #FFFFFF;

  /* Numeric / status */
  --c-ok:             #059669;
  --c-warn:           #D97706;

  --shadow-xs: 0 1px 2px rgba(11,27,61,.04);
  --shadow-sm: 0 2px 6px rgba(11,27,61,.06);
  --shadow-md: 0 12px 28px -10px rgba(11,27,61,.12), 0 2px 6px rgba(11,27,61,.05);
  --shadow-lg: 0 28px 60px -16px rgba(11,27,61,.18), 0 6px 14px rgba(11,27,61,.06);
  --shadow-xl: 0 40px 80px -20px rgba(11,27,61,.24);
  --shadow-blue: 0 14px 30px -10px rgba(6,90,174,.34);

  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 9999px;

  --container: 1280px;
  --easing: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--c-body);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  letter-spacing: -0.01em;
  font-feature-settings: "ss01", "cv11";
}
img, svg { max-width: 100%; }
::selection { background: var(--c-primary); color: #fff; }
h1, h2, h3, h4, h5, h6 { color: var(--c-ink); margin: 0; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.5rem, 5.4vw, 4.25rem); line-height: 1.02; font-weight: 800; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.75rem); line-height: 1.1; font-weight: 800; letter-spacing: -0.03em; }
h3 { font-size: 1.25rem; line-height: 1.3; font-weight: 700; }
h4 { font-size: 1rem; line-height: 1.4; font-weight: 700; }
p  { margin: 0 0 1rem; }
a  { color: var(--c-primary); text-decoration: none; }
a:hover { color: var(--c-primary-deep); }

.container { max-width: var(--container); margin: 0 auto; padding: 0; }

/* ──────────────────────────────────────────────────────────
   PARENT STRIP
   ────────────────────────────────────────────────────────── */
.parent-strip {
  background: var(--c-ink);
  color: rgba(255,255,255,.78);
  font-size: 13px;
  padding: 9px 0;
}
.parent-strip__inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.parent-strip a { color: rgba(255,255,255,.92); border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 1px; }
.parent-strip a:hover { color: #fff; border-bottom-color: var(--c-accent); }
.parent-strip strong { color: #fff; font-weight: 700; }
.parent-strip .pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.06); padding: 3px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 700; color: #fff; letter-spacing: 0.06em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,.1);
}
.parent-strip .pill .dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52,211,153,.25); animation: pulse 2.5s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .55; } }

/* ──────────────────────────────────────────────────────────
   HEADER
   ────────────────────────────────────────────────────────── */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--easing), background .3s var(--easing);
}
.header.is-stuck { border-bottom-color: var(--c-line); background: rgba(255,255,255,.92); }
.header__inner {
  display: flex; justify-content: space-between; align-items: center; gap: 2rem;
  padding: 12px 0;
}
.header__logo { display: inline-flex; align-items: center; }
.header__logo img { height: 36px; width: auto; margin-left: -3px; display: block; }

.nav { display: flex; gap: 1.75rem; align-items: center; }
.nav__list { display: flex; gap: 1.75rem; list-style: none; padding: 0; margin: 0; }
.nav__item { position: relative; }
.nav__item button, .nav__item a {
  background: none; border: 0; cursor: pointer;
  font: inherit; font-weight: 600; color: var(--c-ink); font-size: 14.5px;
  padding: 8px 0; display: inline-flex; align-items: center; gap: 5px;
  text-decoration: none; transition: color .2s var(--easing);
  letter-spacing: -0.005em;
}
.nav__item button:hover, .nav__item a:hover { color: var(--c-primary); }
.nav__item button .chev { transition: transform .25s var(--easing); }
.nav__item:hover button .chev,
.nav__item:focus-within button .chev { transform: rotate(180deg); }
.nav__login { font-weight: 600; color: var(--c-ink); font-size: 14.5px; }
.nav__login:hover { color: var(--c-primary); }

/* ── Mega menu ─────────────────────────────────────── */
.nav__mega {
  position: absolute;
  top: calc(100% + 6px); left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 540px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 14px;
  opacity: 0; visibility: hidden;
  pointer-events: none;
  transition: all .25s var(--easing);
  z-index: 60;
}
.nav__mega::before {
  content: '';
  position: absolute;
  top: -7px; left: 50%; transform: translateX(-50%) rotate(45deg);
  width: 12px; height: 12px;
  background: var(--c-white);
  border-left: 1px solid var(--c-line);
  border-top: 1px solid var(--c-line);
}
.nav__mega::after {
  /* Bridge to keep hover when moving from button to menu */
  content: '';
  position: absolute; top: -14px; left: 0; right: 0; height: 14px;
}
.nav__item:hover > .nav__mega,
.nav__item:focus-within > .nav__mega {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav__mega-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
}
.nav__mega-link {
  display: grid; grid-template-columns: 32px 1fr; gap: 10px; align-items: center;
  padding: 10px;
  border-radius: 10px;
  text-decoration: none;
  transition: background .15s var(--easing);
}
.nav__mega-link:hover { background: var(--c-primary-tint); }
.nav__mega-link .ic {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--mg-bg, var(--c-primary-tint));
  color: var(--mg-c, var(--c-primary));
  flex-shrink: 0;
}
.nav__mega-link .ic svg { width: 16px; height: 16px; }
.nav__mega-link .ttl { font-size: 13.5px; font-weight: 700; color: var(--c-ink); line-height: 1.2; letter-spacing: -0.01em; }
.nav__mega-link .sub { font-size: 11.5px; color: var(--c-muted); font-weight: 500; margin-top: 2px; line-height: 1.3; }

/* Per-link tints */
.nav__mega-link.l-blue   { --mg-c: var(--c-primary); --mg-bg: #EFF5FD; }
.nav__mega-link.l-violet { --mg-c: #7C3AED;          --mg-bg: #EFE7FE; }
.nav__mega-link.l-orange { --mg-c: #EA580C;          --mg-bg: #FEEFE3; }
.nav__mega-link.l-emerald{ --mg-c: #059669;          --mg-bg: #E1F5EC; }
.nav__mega-link.l-rose   { --mg-c: #E11D48;          --mg-bg: #FFF1F4; }
.nav__mega-link.l-amber  { --mg-c: #D97706;          --mg-bg: #FEF7E6; }
.nav__mega-link.l-teal   { --mg-c: #0D9488;          --mg-bg: #E6F7F4; }
.nav__mega-link.l-slate  { --mg-c: #475569;          --mg-bg: #EEF1F7; }
.nav__mega-link.l-indigo { --mg-c: #4338CA;          --mg-bg: #E7E6FA; }

/* Mega-menu footer row — promo */
.nav__mega-foot {
  margin-top: 8px;
  padding: 10px 12px;
  background: linear-gradient(135deg, #EFF5FD 0%, #EFE7FE 100%);
  border-radius: 10px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 10px;
}
.nav__mega-foot .copy { font-size: 12px; color: var(--c-ink); font-weight: 700; line-height: 1.3; }
.nav__mega-foot .copy small { display: block; font-size: 11px; color: var(--c-muted); font-weight: 500; margin-top: 1px; letter-spacing: -0.005em; }
.nav__mega-foot a {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12.5px; font-weight: 800;
  color: var(--c-primary);
  white-space: nowrap;
}
.nav__mega-foot a svg { width: 12px; height: 12px; }

@media (max-width: 980px) {
  .nav__mega { display: none; }
}

.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-primary); color: #fff !important;
  padding: 11px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px;
  border: 0; cursor: pointer; text-decoration: none;
  transition: all .25s var(--easing);
  letter-spacing: -0.005em;
  box-shadow: 0 1px 0 rgba(255,255,255,.1) inset, 0 4px 12px -3px rgba(6,90,174,.4);
}
.btn-primary:hover {
  background: var(--c-primary-deep);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}
.btn-primary svg { width: 14px; height: 14px; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white); color: var(--c-ink) !important;
  border: 1px solid var(--c-line);
  padding: 11px 22px; border-radius: var(--r-pill);
  font-weight: 600; font-size: 14px; text-decoration: none;
  transition: all .25s var(--easing);
}
.btn-ghost:hover { border-color: var(--c-primary); color: var(--c-primary) !important; transform: translateY(-1px); }

/* Header trial CTA — distinct from primary demo button */
.btn-trial {
  display: inline-flex; align-items: center; gap: 7px;
  background: transparent; color: var(--c-ink) !important;
  border: 1.5px solid var(--c-ink);
  padding: 10px 18px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 14px;
  text-decoration: none;
  transition: all .25s var(--easing);
  letter-spacing: -0.005em;
}
.btn-trial:hover {
  background: var(--c-ink); color: var(--c-white) !important;
  transform: translateY(-1px);
}
.btn-trial svg { width: 14px; height: 14px; }
.btn-lg { padding: 14px 26px; font-size: 15px; }

/* ──────────────────────────────────────────────────────────
   HERO
   ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding: clamp(2rem, 3vw, 3rem) 0 clamp(2.5rem, 4vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(33,120,221,.10) 0%, transparent 60%),
    linear-gradient(180deg, #FAFBFE 0%, #F4F6FB 100%);
}

/* Soft moving blob for depth — denser, tighter */
.hero::before { display: none; }

/* Very subtle dot grid foreground texture */
.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,27,61,.06) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 85%);
  pointer-events: none;
  opacity: .5;
}

.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
@media (max-width: 980px) { .hero__grid { grid-template-columns: 1fr; gap: 3rem; } }

/* ── Left: copy ── */
.hero__copy { max-width: 600px; }

.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-primary-tint);
  border: 1px solid var(--c-primary-soft);
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--c-ink);
  margin-bottom: 1.5rem;
}
.hero__eyebrow .badge {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--c-primary); color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
}
.hero__eyebrow .sep { width: 4px; height: 4px; border-radius: 50%; background: var(--c-line); }
.hero__eyebrow .meta { color: var(--c-muted); font-weight: 600; }

.hero__title {
  font-size: clamp(2.5rem, 5.4vw, 4.25rem);
  line-height: 1.02;
  font-weight: 800;
  letter-spacing: -0.038em;
  color: var(--c-ink);
}
.hero__title .accent {
  color: var(--c-accent);
  position: relative;
  white-space: nowrap;
}
.hero__title .accent::after {
  content: '';
  position: absolute;
  left: -2%; right: -3%; bottom: -6px;
  height: 10px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 10' preserveAspectRatio='none'><path d='M2 6 C 80 1 150 9 220 4 C 260 2 285 7 298 5' stroke='%23EE1A1A' stroke-width='2.5' fill='none' stroke-linecap='round' opacity='.4'/></svg>");
  background-repeat: no-repeat; background-size: 100% 100%;
}
.hero__title .num {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "ss01", "cv11";
}

.hero__sub {
  margin: 1.25rem 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
  color: var(--c-body);
  max-width: 540px;
}
.hero__sub strong { color: var(--c-ink); font-weight: 700; }

/* Outcome chips — concrete benefits */
.hero__outcomes {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 1.75rem 0 0;
}
.hero__outcome {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  font-size: 13px; font-weight: 600; color: var(--c-ink);
  transition: all .2s var(--easing);
}
.hero__outcome:hover { border-color: var(--c-primary); transform: translateY(-1px); box-shadow: var(--shadow-xs); }
.hero__outcome svg { width: 14px; height: 14px; flex-shrink: 0; }
.hero__outcome.ok svg    { color: var(--c-ok); }
.hero__outcome.blue svg  { color: var(--c-primary); }
.hero__outcome.amber svg { color: var(--c-warn); }
.hero__outcome.red svg   { color: var(--c-accent); }
.hero__outcome strong { font-weight: 700; }
.hero__outcome strong.num { color: var(--c-primary); font-variant-numeric: tabular-nums; }

.hero__ctas { display: flex; gap: 28px; margin: 2.5rem 0 0; flex-wrap: wrap; align-items: center; }
.hero__quiet-link {
  font-size: 15px; font-weight: 600; color: var(--c-ink-soft);
  letter-spacing: -0.005em;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--easing), border-color .2s var(--easing);
}
.hero__quiet-link:hover { color: var(--c-primary); border-bottom-color: var(--c-primary); }

.hero__trust {
  display: flex; align-items: center; gap: 14px;
  font-size: 13.5px; color: var(--c-muted);
  flex-wrap: wrap;
}
.hero__trust strong { color: var(--c-ink); font-weight: 700; }
.hero__avatars { display: flex; }
.hero__avatars .av {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2.5px solid #fff;
  margin-left: -10px;
  display: grid; place-items: center;
  background: var(--av-bg, var(--c-primary-soft));
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(11,27,61,.08);
}
.hero__avatars .av:first-child { margin-left: 0; }
.hero__avatars .av svg { width: 22px; height: 22px; }
.hero__avatars .av.a { --av-bg: #DBEAFE; }
.hero__avatars .av.b { --av-bg: #FEF3C7; }
.hero__avatars .av.c { --av-bg: #FCE7F3; }
.hero__avatars .av.d { --av-bg: #D1FAE5; }
.hero__avatars .av.more {
  background: var(--c-ink); color: #fff;
  font-size: 11px; font-weight: 800; letter-spacing: -0.02em;
}

/* ── Right: visual composition ── */
.hero__visual {
  position: relative;
  aspect-ratio: 1.25/1;
  min-height: 470px;
  max-width: 600px;
  margin: 0 auto;
}
@media (max-width: 980px) {
  .hero__visual { aspect-ratio: 1.1/1; min-height: 460px; max-width: 600px; }
}


/* Single soft brand-blue spotlight behind the laptop — calm, focused */
.dashboard-halo {
  position: absolute;
  top: 8%; left: 8%; right: 8%; bottom: 8%;
  border-radius: 50%;
  background: radial-gradient(ellipse 65% 55% at 50% 50%, rgba(33,120,221,.32) 0%, rgba(33,120,221,.08) 50%, transparent 75%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: haloPulse 8s ease-in-out infinite alternate;
}
@keyframes haloPulse {
  from { opacity: .9; transform: scale(1); }
  to   { opacity: 1;  transform: scale(1.06); }
}

/* ──────────────────────────────────────────────────────────
   HERO MULTI-DEVICE — laptop + phone composition with floaters
   ────────────────────────────────────────────────────────── */
.hero-mdv {
  position: absolute;
  inset: 0;
  z-index: 1;
  isolation: isolate;
}

/* Atmosphere */
.hero-mdv__bg {
  position: absolute;
  inset: 0;
  z-index: -3;
  background:
    radial-gradient(ellipse 70% 55% at 28% 28%, rgba(33,120,221,.22) 0%, transparent 60%),
    radial-gradient(ellipse 65% 50% at 78% 78%, rgba(238,26,26,.10) 0%, transparent 65%);
  filter: blur(2px);
}
.hero-mdv__grid {
  position: absolute;
  inset: 8%;
  z-index: -2;
  background-image:
    linear-gradient(rgba(11,27,61,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11,27,61,.05) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 25%, transparent 80%);
          mask-image: radial-gradient(ellipse 70% 60% at 50% 50%, #000 25%, transparent 80%);
  opacity: .5;
}

/* Laptop · positioned center-left, takes the bulk of the stage */
.hero-mdv__laptop {
  position: absolute;
  top: 8%; left: -2%; right: 4%;
  background: linear-gradient(180deg, #1A2440 0%, #131C36 100%);
  border-radius: 15px 15px 6px 6px;
  padding: 10px 10px 13px;
  box-shadow:
    0 50px 90px -20px rgba(11,27,61,.36),
    0 18px 36px -12px rgba(11,27,61,.20),
    0 1px 0 rgba(255,255,255,.06) inset;
  transform: rotate(-1deg);
  z-index: 2;
}
/* Laptop base/lip */
.hero-mdv__laptop::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: -10%;
  right: -10%;
  height: 10px;
  background: linear-gradient(180deg, #2C3554 0%, #0B1B3D 100%);
  border-radius: 0 0 10px 10px;
  box-shadow: 0 14px 22px -8px rgba(11,27,61,.30);
}
/* Webcam dot */
.hero-mdv__laptop::before {
  content: "";
  position: absolute;
  top: 3px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px;
  background: rgba(255,255,255,.18);
  border-radius: 50%;
}

.hero-mdv__screen {
  background: #FFFFFF;
  border-radius: 8px;
  display: grid;
  grid-template-columns: 106px 1fr;
  min-height: 320px;
  overflow: hidden;
}

/* Sidebar with 6 modules */
.hero-mdv__side {
  background: #FAFBFD;
  border-right: 1px solid var(--c-line-soft);
  padding: 14px 10px;
  display: flex; flex-direction: column; gap: 3px;
}
.hero-mdv__side-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 5px 7px 12px;
  border-bottom: 1px solid var(--c-line-soft);
  margin-bottom: 10px;
}
.hero-mdv__side-mark {
  width: 24px; height: 24px; border-radius: 6px;
  background: var(--c-primary);
  display: grid; place-items: center;
  color: #fff; font-size: 13px; font-weight: 900;
  letter-spacing: -0.04em;
  box-shadow: 0 2px 5px -1px rgba(6,90,174,.45);
}
.hero-mdv__side-name {
  font-size: 11px; font-weight: 800; color: var(--c-ink);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-mdv__side-mod {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 9px;
  border-radius: 7px;
  font-size: 11.5px; font-weight: 600;
  color: var(--c-body);
  letter-spacing: -0.005em;
  cursor: default;
  transition: background .2s var(--easing);
}
.hero-mdv__side-mod:hover { background: rgba(11,27,61,.04); }
.hero-mdv__side-mod .ic {
  width: 19px; height: 19px; border-radius: 5px;
  background: var(--mod-c, var(--c-line));
  flex-shrink: 0;
  display: grid; place-items: center;
  color: #fff;
}
.hero-mdv__side-mod .ic svg { width: 11px; height: 11px; stroke-width: 2.6; }
.hero-mdv__side-mod.is-active {
  background: var(--c-primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 4px 10px -3px rgba(6,90,174,.4);
}
.hero-mdv__side-mod.is-active .ic { background: rgba(255,255,255,.22); }

/* Main panel of the laptop screen */
.hero-mdv__main {
  padding: 15px 18px;
  display: flex; flex-direction: column; gap: 11px;
  min-width: 0;
}
.hero-mdv__main-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 2px;
}
.hero-mdv__main-head .lbl {
  font-size: 11px; font-weight: 800;
  color: var(--c-muted);
  letter-spacing: 0.16em; text-transform: uppercase;
}
.hero-mdv__main-head .live {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  background: rgba(5,150,105,.12);
  color: var(--c-ok);
  border-radius: 999px;
  font-size: 10px; font-weight: 900;
  letter-spacing: 0.14em;
}
.hero-mdv__main-head .live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-ok);
  animation: pulse 2s ease-in-out infinite;
}

.hero-mdv__big {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 36px;
  line-height: 1;
  color: var(--c-ink);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 7px;
}
.hero-mdv__big .unit {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.02em;
  text-transform: lowercase;
}
.hero-mdv__big-sub {
  font-size: 11.5px; font-weight: 600;
  color: var(--c-muted);
  margin-top: 3px;
}
.hero-mdv__big-sub strong { color: var(--c-ink); font-weight: 800; }

/* Bar chart */
.hero-mdv__bars {
  display: flex; align-items: flex-end; gap: 6px;
  height: 62px;
  padding: 6px 0 0;
  border-bottom: 1px solid var(--c-line-soft);
}
.hero-mdv__bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--c-primary-bright), var(--c-primary));
  border-radius: 4px 4px 0 0;
  opacity: .85;
  transform-origin: bottom;
  animation: barsRise .9s var(--easing) backwards;
}
.hero-mdv__bars span:nth-child(1) { height: 30%; animation-delay: 0s; }
.hero-mdv__bars span:nth-child(2) { height: 48%; animation-delay: .08s; }
.hero-mdv__bars span:nth-child(3) { height: 64%; animation-delay: .16s; }
.hero-mdv__bars span:nth-child(4) { height: 40%; animation-delay: .24s; }
.hero-mdv__bars span:nth-child(5) { height: 82%; opacity: 1; animation-delay: .32s; }
.hero-mdv__bars span:nth-child(6) { height: 56%; animation-delay: .40s; }
.hero-mdv__bars span:nth-child(7) { height: 72%; animation-delay: .48s; }
@keyframes barsRise { from { transform: scaleY(.06); } to { transform: scaleY(1); } }

/* Compact summary rows */
.hero-mdv__rows {
  display: flex; flex-direction: column;
  font-size: 11.5px;
}
.hero-mdv__row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 5px 0;
  border-bottom: 1px solid var(--c-line-soft);
}
.hero-mdv__row:last-child { border-bottom: none; }
.hero-mdv__row .lbl { color: var(--c-muted); font-weight: 600; }
.hero-mdv__row .v {
  color: var(--c-ink);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.hero-mdv__row .v.is-ok { color: var(--c-ok); }
.hero-mdv__row .v.is-accent { color: var(--c-accent); }

/* Phone overlapping the laptop bottom-right */
.hero-mdv__phone {
  position: absolute;
  right: -14%; bottom: -3%;
  width: 29%;
  max-width: 168px;
  aspect-ratio: 0.46/1;
  background: linear-gradient(180deg, #1A2440 0%, #131C36 100%);
  border-radius: 32px;
  padding: 9px;
  box-shadow:
    0 36px 70px -16px rgba(11,27,61,.45),
    0 10px 22px -10px rgba(11,27,61,.30),
    0 1px 0 rgba(255,255,255,.07) inset;
  transform: rotate(5deg);
  z-index: 4;
  animation: floatY 6s ease-in-out infinite alternate;
}
.hero-mdv__phone::before {
  content: "";
  position: absolute;
  top: 11px; left: 50%; transform: translateX(-50%);
  width: 46px; height: 6px;
  background: #0B1B3D;
  border-radius: 999px;
  z-index: 5;
}
/* Phone interior · iOS-style lock screen */
.hero-mdv__phone-screen {
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse 90% 50% at 30% 18%, rgba(120,180,255,.28) 0%, transparent 60%),
    radial-gradient(ellipse 80% 45% at 80% 90%, rgba(238,140,160,.18) 0%, transparent 65%),
    linear-gradient(170deg, #1A2452 0%, #0E1A3F 60%, #060E2B 100%);
  border-radius: 24px;
  padding: 0;
  display: flex; flex-direction: column;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
/* Subtle wallpaper grain */
.hero-mdv__phone-screen::after {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 50% 30%, rgba(255,255,255,.04) 0, transparent 55%);
  pointer-events: none;
  z-index: 0;
}

/* Status bar */
.hero-mdv__lock-status {
  position: relative;
  z-index: 2;
  display: flex; align-items: center; justify-content: space-between;
  padding: 7px 14px 0 14px;
  font-size: 9px; font-weight: 700;
  color: #fff;
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
}
.hero-mdv__lock-status-icons {
  display: inline-flex; align-items: center; gap: 4px;
  color: #fff;
}
.hero-mdv__lock-status-icons svg { width: 10px; height: 10px; }
.hero-mdv__lock-status-icons .battery {
  width: 16px; height: 8px;
  border: 1px solid rgba(255,255,255,.85);
  border-radius: 2.5px;
  position: relative;
  display: inline-block;
}
.hero-mdv__lock-status-icons .battery::before {
  content: ""; position: absolute;
  right: -2.5px; top: 1.5px;
  width: 1.5px; height: 3px;
  background: rgba(255,255,255,.85);
  border-radius: 0 1px 1px 0;
}
.hero-mdv__lock-status-icons .battery::after {
  content: ""; position: absolute;
  inset: 1px;
  width: calc(100% - 5px);
  background: #fff;
  border-radius: 1px;
}

/* Clock */
.hero-mdv__lock-clock {
  position: relative;
  z-index: 2;
  text-align: center;
  margin-top: 10px;
  margin-bottom: 16px;
  animation: lockRise .8s var(--easing) backwards;
}
.hero-mdv__lock-date {
  font-size: 9.5px; font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.04em;
  margin-bottom: 0;
  text-transform: capitalize;
}
.hero-mdv__lock-time {
  font-family: 'Inter', sans-serif;
  font-weight: 200;
  font-size: 56px;
  line-height: 1;
  color: #fff;
  letter-spacing: -0.06em;
  font-variant-numeric: tabular-nums;
  margin-top: -2px;
  text-shadow: 0 2px 16px rgba(0,0,0,.18);
}
@keyframes lockRise {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Notification stack */
.hero-mdv__lock-stack {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex; flex-direction: column; gap: 5px;
  padding: 4px 8px 8px;
}
.hero-mdv__lock-noti {
  background: rgba(255,255,255,.14);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
          backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 12px;
  padding: 8px 10px 9px;
  color: #fff;
  box-shadow: 0 4px 14px -6px rgba(0,0,0,.30);
  animation: notiIn .7s var(--easing) backwards;
  animation-delay: var(--nd, .1s);
}
@keyframes notiIn {
  from { opacity: 0; transform: translateY(8px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.hero-mdv__lock-noti-head {
  display: flex; align-items: center; gap: 6px;
  margin-bottom: 4px;
}
.hero-mdv__lock-noti-mark {
  width: 14px; height: 14px;
  border-radius: 4px;
  background: var(--c-primary);
  display: grid; place-items: center;
  color: #fff;
  font-size: 8px; font-weight: 900;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,.10);
}
.hero-mdv__lock-noti-mark.is-cal { background: var(--c-accent); }
.hero-mdv__lock-noti-app {
  font-size: 8.5px; font-weight: 800;
  color: rgba(255,255,255,.78);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.hero-mdv__lock-noti-when {
  margin-left: auto;
  font-size: 8.5px; font-weight: 600;
  color: rgba(255,255,255,.55);
  letter-spacing: 0;
  text-transform: lowercase;
}
.hero-mdv__lock-noti-title {
  font-size: 11px; font-weight: 800;
  color: #fff;
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 5px;
}
.hero-mdv__lock-noti-title svg {
  width: 11px; height: 11px;
  color: #6EE7B7;
  flex-shrink: 0;
  stroke-width: 3;
}
.hero-mdv__lock-noti-body {
  font-size: 9.5px; font-weight: 500;
  color: rgba(255,255,255,.78);
  margin-top: 2px;
  line-height: 1.3;
}

/* Home indicator pill at the bottom */
.hero-mdv__lock-home {
  position: relative;
  z-index: 2;
  width: 30%;
  height: 3px;
  background: rgba(255,255,255,.45);
  border-radius: 999px;
  margin: 0 auto 6px;
}

/* Tiny flashlight + camera circles, lower corners */
.hero-mdv__lock-tool {
  position: absolute;
  bottom: 18px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: rgba(0,0,0,.30);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: grid; place-items: center;
  color: rgba(255,255,255,.85);
  z-index: 2;
}
.hero-mdv__lock-tool svg { width: 11px; height: 11px; stroke-width: 2.4; }
.hero-mdv__lock-tool--left  { left: 14px; }
.hero-mdv__lock-tool--right { right: 14px; }

/* ─────────── Approval action card (overrides phone-screen, replaces lock screen) ─────────── */
.hero-mdv__phone-screen {
  background: linear-gradient(180deg, #FFFFFF 0%, #F8F7FE 100%) !important;
}
.hero-mdv__phone-screen::after { display: none !important; }

.hero-mdv__appr-status {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 14px 0;
  font-size: 9.5px; font-weight: 700;
  color: var(--c-ink);
  letter-spacing: -0.005em;
  font-variant-numeric: tabular-nums;
  position: relative; z-index: 2;
}
.hero-mdv__appr-status-icons {
  display: inline-flex; align-items: center; gap: 4px;
  color: var(--c-ink);
}
.hero-mdv__appr-status-icons svg { width: 10.5px; height: 10.5px; }
.hero-mdv__appr-status-icons .battery {
  width: 17px; height: 8.5px;
  border: 1px solid rgba(11,19,42,.7);
  border-radius: 2px;
  position: relative; display: inline-block;
}
.hero-mdv__appr-status-icons .battery::before {
  content: ""; position: absolute;
  right: -2.5px; top: 1.5px;
  width: 1.5px; height: 3.5px;
  background: rgba(11,19,42,.7);
  border-radius: 0 1px 1px 0;
}
.hero-mdv__appr-status-icons .battery::after {
  content: ""; position: absolute;
  inset: 1.5px;
  width: calc(100% - 5px);
  background: var(--c-ink);
  border-radius: 1px;
}

.hero-mdv__appr-head {
  text-align: center;
  padding: 9px 10px 5px;
  position: relative; z-index: 2;
  animation: apprIn .6s var(--easing) backwards;
}
.hero-mdv__appr-eyebrow {
  display: inline-block;
  font-size: 7.5px; font-weight: 800;
  color: var(--c-primary);
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 3px 8px;
  background: var(--c-primary-soft);
  border-radius: 999px;
  margin-bottom: 7px;
}
@keyframes apprIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-mdv__appr-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 50%, #93C5FD 100%);
  display: grid; place-items: center;
  font-size: 14px; font-weight: 900;
  color: var(--c-primary-deep);
  letter-spacing: -0.04em;
  margin: 0 auto 5px;
  border: 2px solid #fff;
  box-shadow: 0 6px 14px -6px rgba(11,27,61,.30);
  position: relative;
}
.hero-mdv__appr-avatar::after {
  content: "";
  position: absolute;
  bottom: -1px; right: -1px;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--c-accent);
  border: 2px solid #fff;
}
.hero-mdv__appr-name {
  font-size: 11.5px; font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  line-height: 1;
}
.hero-mdv__appr-role {
  font-size: 9px; font-weight: 600;
  color: var(--c-muted);
  margin-top: 2px;
}

.hero-mdv__appr-card {
  margin: 2px 9px 7px;
  padding: 8px 10px 9px;
  background: linear-gradient(180deg, #F8F7FE 0%, #EEEBFB 100%);
  border: 1px solid rgba(6,90,174,.10);
  border-radius: 10px;
  position: relative; z-index: 2;
  animation: apprIn .6s var(--easing) backwards;
  animation-delay: .15s;
}
.hero-mdv__appr-card-row {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 9.5px;
  margin-bottom: 4px;
}
.hero-mdv__appr-card-row .k {
  color: var(--c-muted); font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  font-size: 7.5px;
}
.hero-mdv__appr-card-row .v {
  color: var(--c-ink); font-weight: 800;
  letter-spacing: -0.005em;
}
.hero-mdv__appr-card-dates {
  display: flex; align-items: baseline; gap: 5px;
  margin-top: 6px;
  padding-top: 7px;
  border-top: 1px dashed rgba(6,90,174,.18);
}
.hero-mdv__appr-card-dates .range {
  font-size: 13px; font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
}
.hero-mdv__appr-card-dates .days {
  font-size: 8.5px; font-weight: 700;
  color: var(--c-primary);
  background: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  margin-left: auto;
  box-shadow: 0 1px 3px -1px rgba(11,27,61,.10);
}

/* Leave balance bar */
.hero-mdv__appr-bal {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(6,90,174,.18);
}
.hero-mdv__appr-bal-head {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 4px;
}
.hero-mdv__appr-bal-head .lbl {
  font-size: 7.5px; font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0.06em; text-transform: uppercase;
}
.hero-mdv__appr-bal-head .val {
  font-size: 9.5px; font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums;
}
.hero-mdv__appr-bal-head .val small {
  font-size: 7px; font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0;
  margin-left: 1px;
}
.hero-mdv__appr-bal-bar {
  height: 4px;
  background: rgba(11,27,61,.08);
  border-radius: 999px;
  overflow: hidden;
}
.hero-mdv__appr-bal-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--c-primary-bright), var(--c-primary), #7C5DE0);
  border-radius: 999px;
  animation: balFill 1.2s var(--easing) backwards;
  animation-delay: .35s;
  transform-origin: left;
}
@keyframes balFill { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.hero-mdv__appr-card-reason {
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px dashed rgba(6,90,174,.18);
  font-size: 9px; font-weight: 600;
  color: var(--c-body);
  font-style: italic;
  line-height: 1.35;
}

.hero-mdv__appr-actions {
  margin: auto 10px 0;
  display: grid; grid-template-columns: 32px 1fr; gap: 5px;
  padding-bottom: 2px;
  position: relative; z-index: 2;
  animation: apprIn .6s var(--easing) backwards;
  animation-delay: .3s;
}
.hero-mdv__appr-btn {
  appearance: none;
  border: none;
  cursor: pointer;
  border-radius: 9px;
  padding: 8px 10px;
  font-size: 10.5px; font-weight: 800;
  letter-spacing: -0.01em;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  transition: transform .25s var(--easing);
}
.hero-mdv__appr-btn:hover { transform: translateY(-1px); }
.hero-mdv__appr-btn--ok {
  background: linear-gradient(135deg, var(--c-primary-bright), var(--c-primary), var(--c-primary-deep));
  color: #fff;
  box-shadow: 0 6px 14px -4px rgba(6,90,174,.45);
}
.hero-mdv__appr-btn--ok svg { width: 11px; height: 11px; }
.hero-mdv__appr-btn--no {
  background: #fff;
  color: var(--c-muted);
  border: 1px solid rgba(11,27,61,.14);
  padding: 8px 0;
}
.hero-mdv__appr-btn--no svg { width: 11px; height: 11px; }

.hero-mdv__appr-home {
  width: 28%; height: 3px;
  background: rgba(11,19,42,.30);
  border-radius: 999px;
  margin: 4px auto 5px;
  position: relative; z-index: 2;
}

/* Subtle sync icon between devices */
.hero-mdv__sync {
  position: absolute;
  top: 38%;
  right: 28%;
  z-index: 5;
  width: 26px; height: 26px;
  background: #fff;
  border: 1px solid rgba(11,27,61,.08);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--c-primary);
  box-shadow: 0 6px 16px -4px rgba(11,27,61,.22);
  animation: pulse 2.6s ease-in-out infinite;
}
.hero-mdv__sync svg { width: 13px; height: 13px; stroke-width: 2.4; }

/* ── Floaters ── */
.hero-mdv__float {
  position: absolute;
  z-index: 6;
  animation: floatY 7s ease-in-out infinite alternate;
  animation-delay: var(--d, 0s);
}
@keyframes floatY {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
/* preserve phone rotation while floating */
.hero-mdv__phone { animation: floatPhone 6s ease-in-out infinite alternate; }
@keyframes floatPhone {
  from { transform: rotate(5deg) translateY(0); }
  to   { transform: rotate(5deg) translateY(-7px); }
}

/* ─────────── Floater A · Avatar stack — top-left ─────────── */
.hero-mdv__float--avatars {
  top: -2%;
  left: -1%;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 9px;
  background: #FFFFFF;
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 999px;
  box-shadow: 0 22px 44px -14px rgba(11,27,61,.24), 0 6px 14px -6px rgba(11,27,61,.10);
  --d: 0s;
}
.hero-mdv__float--avatars .stack {
  display: flex;
  position: relative;
}
.hero-mdv__float--avatars .av {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid #fff;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 800; color: var(--c-ink);
  margin-left: -8px;
  box-shadow: 0 2px 6px -1px rgba(11,27,61,.18);
  letter-spacing: -0.02em;
}
.hero-mdv__float--avatars .av:first-child { margin-left: 0; }
.hero-mdv__float--avatars .av.a { background: linear-gradient(135deg, #DBEAFE, #93C5FD); }
.hero-mdv__float--avatars .av.b { background: linear-gradient(135deg, #FEF3C7, #FCD34D); }
.hero-mdv__float--avatars .av.c { background: linear-gradient(135deg, #FCE7F3, #F9A8D4); }
.hero-mdv__float--avatars .av.d { background: linear-gradient(135deg, #D1FAE5, #6EE7B7); }
.hero-mdv__float--avatars .av.more {
  background: var(--c-ink); color: #fff;
  font-size: 10.5px; font-weight: 900;
}
.hero-mdv__float--avatars .text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.hero-mdv__float--avatars .text strong {
  font-size: 13px; font-weight: 800; color: var(--c-ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.hero-mdv__float--avatars .text small {
  font-size: 10px; font-weight: 600; color: var(--c-muted);
  letter-spacing: 0.02em;
  margin-top: 2px;
}

/* ─────────── Floater B · Big gradient stat — top-right ─────────── */
.hero-mdv__float--bigstat {
  top: -6%;
  right: -6%;
  width: 138px;
  padding: 11px 13px 11px;
  background: linear-gradient(150deg, var(--c-primary-bright) 0%, var(--c-primary) 60%, var(--c-primary-deep) 100%);
  color: #fff;
  border-radius: 16px;
  box-shadow:
    0 30px 60px -16px rgba(6,90,174,.50),
    0 10px 22px -8px rgba(6,90,174,.30);
  overflow: hidden;
  position: absolute;
  --d: .7s;
}
.hero-mdv__float--bigstat::before {
  /* radial highlight top-left */
  content: "";
  position: absolute;
  top: -30%; left: -20%;
  width: 70%; height: 70%;
  background: radial-gradient(circle, rgba(255,255,255,.30) 0%, transparent 70%);
  pointer-events: none;
}
.hero-mdv__float--bigstat .lbl {
  font-size: 9px; font-weight: 800;
  color: rgba(255,255,255,.7);
  letter-spacing: 0.14em; text-transform: uppercase;
  position: relative;
}
.hero-mdv__float--bigstat .num {
  font-size: 30px; font-weight: 800;
  color: #fff;
  letter-spacing: -0.05em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-top: 4px;
  display: inline-flex; align-items: baseline; gap: 3px;
  position: relative;
}
.hero-mdv__float--bigstat .num small {
  font-size: 10px; font-weight: 700;
  color: rgba(255,255,255,.7);
  letter-spacing: -0.005em;
}
.hero-mdv__float--bigstat .desc {
  font-size: 9px; font-weight: 600;
  color: rgba(255,255,255,.85);
  margin-top: 5px;
  line-height: 1.3;
  position: relative;
}
.hero-mdv__float--bigstat .desc strong { color: #fff; font-weight: 800; }

/* tiny inline trend sparkline */
.hero-mdv__float--bigstat .spark {
  margin-top: 8px;
  display: block;
  width: 100%; height: 22px;
  position: relative;
}
.hero-mdv__float--bigstat .spark path.fill { fill: rgba(255,255,255,.18); }
.hero-mdv__float--bigstat .spark path.line { fill: none; stroke: #fff; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.hero-mdv__float--bigstat .spark circle    { fill: #fff; }

/* tiny "+18% mom" tag */
.hero-mdv__float--bigstat .trend {
  position: absolute;
  bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 3px 7px;
  background: rgba(255,255,255,.18);
  color: #fff;
  border-radius: 999px;
  font-size: 9.5px; font-weight: 800;
  letter-spacing: 0.04em;
}
.hero-mdv__float--bigstat .trend svg { width: 9px; height: 9px; stroke-width: 3; }

/* ─────────── Floater C · Donut ring chart — middle-right ─────────── */
.hero-mdv__float--ring {
  top: 46%;
  left: -8%;
  right: auto;
  display: flex; align-items: center; gap: 8px;
  padding: 7px 11px 7px 7px;
  background: #FFFFFF;
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 16px;
  box-shadow: 0 26px 50px -16px rgba(11,27,61,.22), 0 6px 14px -6px rgba(11,27,61,.10);
  --d: 1.4s;
}
.hero-mdv__ring {
  position: relative;
  width: 38px; height: 38px;
  flex-shrink: 0;
}
.hero-mdv__ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.hero-mdv__ring .track { stroke: rgba(11,27,61,.08); }
.hero-mdv__ring .fill {
  stroke: url(#ringGrad);
  stroke-linecap: round;
  stroke-dasharray: 92 100;
  animation: ringIn 1.4s var(--easing) forwards;
  stroke-dashoffset: 100;
}
@keyframes ringIn { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 8; } }
.hero-mdv__ring .label {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.hero-mdv__float--ring .text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.hero-mdv__float--ring .text .lbl {
  font-size: 7.5px; font-weight: 800; color: var(--c-muted);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-mdv__float--ring .text strong {
  font-size: 11px; font-weight: 800; color: var(--c-ink);
  letter-spacing: -0.02em;
  margin-top: 3px;
}
.hero-mdv__float--ring .text small {
  font-size: 8.5px; font-weight: 600; color: var(--c-muted);
  margin-top: 1px;
}

/* ─────────── Floater C-alt · Geo-fence radar — middle-left ─────────── */
.hero-mdv__float--geo {
  top: 42%;
  left: -10%;
  display: flex; align-items: center; gap: 11px;
  padding: 9px 15px 9px 9px;
  background: #FFFFFF;
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 18px;
  box-shadow: 0 28px 56px -16px rgba(11,27,61,.24), 0 8px 16px -6px rgba(11,27,61,.12);
  --d: 1.4s;
}
.hero-mdv__geo {
  position: relative;
  width: 58px; height: 58px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, rgba(238,26,26,.10) 0%, rgba(238,26,26,.03) 55%, transparent 70%),
    linear-gradient(135deg, #FFF5F2 0%, #FEE7E0 100%);
  border: 1px solid rgba(238,26,26,.16);
  flex-shrink: 0;
  overflow: hidden;
}
/* Map grid lines */
.hero-mdv__geo::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(238,26,26,.10) 1px, transparent 1px),
    linear-gradient(90deg, rgba(238,26,26,.10) 1px, transparent 1px);
  background-size: 9px 9px;
  -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
          mask-image: radial-gradient(circle at 50% 50%, #000 60%, transparent 100%);
}
/* Pulsing fence ring */
.hero-mdv__geo::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 42px; height: 42px;
  border: 1.6px dashed var(--c-accent);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: geoPulse 2.4s ease-out infinite;
  box-shadow: 0 0 0 0 rgba(238,26,26,.0);
}
@keyframes geoPulse {
  0%   { transform: translate(-50%,-50%) scale(.55); opacity: .9; }
  70%  { transform: translate(-50%,-50%) scale(1.15); opacity: 0; }
  100% { transform: translate(-50%,-50%) scale(1.15); opacity: 0; }
}
/* Center pin */
.hero-mdv__geo-pin {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  background: var(--c-accent);
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 3px 6px -1px rgba(238,26,26,.55);
  z-index: 2;
}
/* Person dots inside the fence */
.hero-mdv__geo-dot {
  position: absolute;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-primary);
  box-shadow: 0 0 0 1.5px #fff;
  z-index: 1;
}
.hero-mdv__geo-dot.d1 { top: 24%; left: 22%; animation: geoDotIn .5s var(--easing) backwards; animation-delay: .4s; }
.hero-mdv__geo-dot.d2 { top: 28%; right: 20%; animation: geoDotIn .5s var(--easing) backwards; animation-delay: .55s; }
.hero-mdv__geo-dot.d3 { bottom: 24%; left: 30%; animation: geoDotIn .5s var(--easing) backwards; animation-delay: .7s; }
.hero-mdv__geo-dot.d4 { bottom: 18%; right: 24%; background: var(--c-warn); animation: geoDotIn .5s var(--easing) backwards; animation-delay: .85s; }
@keyframes geoDotIn { from { opacity: 0; transform: scale(.3); } to { opacity: 1; transform: scale(1); } }

.hero-mdv__float--geo .text {
  display: flex; flex-direction: column;
  line-height: 1.1;
}
.hero-mdv__float--geo .text .lbl {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 8.5px; font-weight: 800; color: var(--c-accent);
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-mdv__float--geo .text .lbl::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-accent);
  box-shadow: 0 0 0 2px rgba(238,26,26,.18);
  animation: pulse 2s ease-in-out infinite;
}
.hero-mdv__float--geo .text strong {
  font-size: 12.5px; font-weight: 800; color: var(--c-ink);
  letter-spacing: -0.02em;
  margin-top: 4px;
}
.hero-mdv__float--geo .text small {
  font-size: 9.5px; font-weight: 600; color: var(--c-muted);
  margin-top: 2px;
  font-variant-numeric: tabular-nums;
}
.hero-mdv__float--geo .text small b {
  color: var(--c-ink); font-weight: 800;
}

/* ─────────── Floater D · Activity toast — bottom-left ─────────── */
.hero-mdv__float--toast {
  bottom: -4%;
  left: -1%;
  width: 200px;
  background: #FFFFFF;
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 12px;
  padding: 9px 11px 10px;
  box-shadow: 0 30px 56px -16px rgba(11,27,61,.26), 0 8px 18px -8px rgba(11,27,61,.10);
  --d: 2.0s;
  overflow: hidden;
}
.hero-mdv__float--toast::before {
  /* left accent stripe */
  content: "";
  position: absolute;
  left: 0; top: 12%; bottom: 12%;
  width: 3px;
  background: linear-gradient(180deg, var(--c-ok), #6EE7B7);
  border-radius: 0 999px 999px 0;
}
.hero-mdv__float--toast .head {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 6px;
}
.hero-mdv__float--toast .ic {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  display: grid; place-items: center;
  color: var(--c-ok);
  flex-shrink: 0;
  box-shadow: 0 2px 6px -1px rgba(5,150,105,.30);
}
.hero-mdv__float--toast .ic svg { width: 12px; height: 12px; stroke-width: 3; }
.hero-mdv__float--toast .ttl {
  font-size: 9.5px; font-weight: 800; color: var(--c-ink);
  letter-spacing: -0.005em;
  flex: 1;
}
.hero-mdv__float--toast .when {
  font-size: 8px; font-weight: 700; color: var(--c-muted);
  letter-spacing: 0.04em; text-transform: uppercase;
}
.hero-mdv__float--toast .body {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 8px;
  margin-top: 1px;
}
.hero-mdv__float--toast .big {
  font-size: 17px; font-weight: 800;
  color: var(--c-ink);
  letter-spacing: -0.045em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.hero-mdv__float--toast .big small {
  font-size: 9px; font-weight: 700;
  color: var(--c-muted);
  letter-spacing: 0;
  margin-left: 2px;
}
.hero-mdv__float--toast .delta {
  display: inline-flex; align-items: center; gap: 2px;
  padding: 2px 7px;
  background: rgba(5,150,105,.10);
  color: var(--c-ok);
  border-radius: 999px;
  font-size: 9px; font-weight: 800;
  letter-spacing: 0.04em;
}
.hero-mdv__float--toast .delta svg { width: 8px; height: 8px; stroke-width: 3; }
.hero-mdv__float--toast .meta {
  font-size: 8.5px; font-weight: 600; color: var(--c-muted);
  margin-top: 4px;
}
.hero-mdv__float--toast .meta strong { color: var(--c-ink); font-weight: 800; }

@media (max-width: 980px) {
  .hero-mdv__laptop  { right: 4%; top: 6%; left: -6%; }
  .hero-mdv__phone   { width: 42%; max-width: 200px; }
  .hero-mdv__float--bigstat { width: 158px; right: -12%; }
  .hero-mdv__float--toast   { width: 200px; }
}
@media (max-width: 720px) {
  .hero-mdv__big       { font-size: 34px; }
  .hero-mdv__bars      { height: 60px; }
  .hero-mdv__float--bigstat { display: none; }
  .hero-mdv__float--ring    { display: none; }
  .hero-mdv__float--toast   { width: 180px; padding: 10px 12px 12px; }
  .hero-mdv__float--avatars { padding: 8px 12px 8px 10px; gap: 9px; }
  .hero-mdv__float--avatars .av { width: 22px; height: 22px; font-size: 9px; }
  .hero-mdv__sync     { display: none; }
}

/* ──────────────────────────────────────────────────────────
   HERO SCENE — illustrated character with floating bubbles (legacy)
   ────────────────────────────────────────────────────────── */
.hero-scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  isolation: isolate;
}
.scene-blob {
  position: absolute;
  width: 78%; aspect-ratio: 1/1;
  top: 8%; left: 50%; transform: translateX(-50%);
  background:
    radial-gradient(circle at 50% 50%, rgba(33,120,221,.32) 0%, rgba(33,120,221,.08) 55%, transparent 75%),
    radial-gradient(circle at 50% 50%, rgba(124,93,224,.18) 0%, transparent 60%);
  border-radius: 50%;
  filter: blur(6px);
  z-index: -1;
  animation: blobBreathe 9s ease-in-out infinite alternate;
}
@keyframes blobBreathe {
  from { transform: translateX(-50%) scale(1); }
  to   { transform: translateX(-50%) scale(1.04); }
}

/* The illustration (img to external SVG file) */
.scene-character {
  position: relative;
  width: 88%; max-width: 480px;
  height: auto;
  display: block;
  z-index: 2;
  filter: drop-shadow(0 22px 40px rgba(11,27,61,.18)) drop-shadow(0 8px 16px rgba(11,27,61,.08));
  animation: characterFloat 6s ease-in-out infinite alternate;
}
@keyframes characterFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
/* Graceful empty-state when the illustration file is missing */
.scene-character.is-missing {
  width: 78%; max-width: 380px;
  aspect-ratio: 1/1;
  background: var(--c-primary-tint);
  border: 2px dashed var(--c-primary-soft);
  border-radius: 24px;
  filter: none;
  display: grid; place-items: center;
  text-align: center;
  padding: 2rem;
  font-size: 13px; font-weight: 600;
  color: var(--c-primary-deep);
  letter-spacing: -0.005em;
  line-height: 1.5;
  animation: none;
}

/* Floating bubbles */
.scene-bubble {
  position: absolute;
  background: #FFFFFF;
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow:
    0 18px 36px -14px rgba(11,27,61,.20),
    0 4px 10px -3px rgba(11,27,61,.08);
  z-index: 3;
  animation: bubbleBob 6s ease-in-out infinite alternate;
}
.scene-bubble__ttl { font-size: 12.5px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.01em; line-height: 1.2; }
.scene-bubble__sub { font-size: 10.5px; font-weight: 600; color: var(--c-muted); margin-top: 2px; }
.scene-bubble__ic {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 14px; font-weight: 900; color: #fff;
  flex-shrink: 0;
}
.scene-bubble__ic.mint { background: linear-gradient(135deg, #34D399, #059669); }
.scene-bubble__cap { font-size: 10.5px; font-weight: 700; color: var(--c-muted); margin-top: 4px; letter-spacing: -0.005em; }

/* 1 · Payroll done — top-left */
.scene-bubble--payroll {
  top: 14%; left: -2%;
  display: flex; align-items: center; gap: 10px;
  animation-delay: 0s;
  transform: rotate(-2deg);
}
@keyframes bubbleBob {
  from { transform: translateY(0) rotate(var(--rot, 0deg)); }
  to   { transform: translateY(-7px) rotate(var(--rot, 0deg)); }
}
.scene-bubble--payroll { --rot: -2deg; }

/* 2 · Rating — middle-right */
.scene-bubble--rating {
  top: 34%; right: -4%;
  text-align: center;
  padding: 12px 16px;
  --rot: 3deg;
  animation-delay: 1.5s;
  transform: rotate(3deg);
}
.scene-bubble__big {
  font-size: 28px; font-weight: 900; color: var(--c-ink);
  letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.scene-bubble__big small { font-size: 13px; color: var(--c-muted); font-weight: 700; margin-left: 2px; letter-spacing: -0.02em; }
.scene-bubble__stars { font-size: 12px; color: #FBBF24; letter-spacing: 1px; margin-top: 4px; }

/* 3 · Joiners — bottom-left */
.scene-bubble--joiners {
  bottom: 8%; left: 4%;
  --rot: -3deg;
  transform: rotate(-3deg);
  animation-delay: 2.8s;
}
.scene-bubble__avatars { display: flex; align-items: center; }
.scene-bubble__avatars .b-av {
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--bg, #DBEAFE);
  border: 2px solid #fff;
  margin-left: -6px;
  display: grid; place-items: center;
  font-size: 9px; font-weight: 900; color: var(--c-ink);
  box-shadow: 0 1px 3px rgba(11,27,61,.12);
}
.scene-bubble__avatars .b-av:first-child { margin-left: 0; }
.scene-bubble__avatars .b-av.more { background: var(--c-ink); color: #fff; font-size: 8.5px; }

/* Decorative geometric accents */
.scene-deco {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: .9;
}
.scene-deco--ring {
  top: 6%; right: 8%;
  width: 28px; height: 28px;
  border: 2.5px solid var(--c-accent);
  border-radius: 50%;
  opacity: .55;
}
.scene-deco--squiggle {
  top: 4%; left: 30%;
  width: 60px; height: 18px;
  color: var(--c-primary);
  opacity: .45;
}
.scene-deco--squiggle svg { width: 100%; height: 100%; }
.scene-deco--dots {
  bottom: 14%; right: 6%;
  display: grid; grid-template-columns: repeat(3, 6px); gap: 6px;
  opacity: .6;
}
.scene-deco--dots span {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-primary);
}
.scene-deco--cross {
  top: 24%; left: 6%;
  width: 14px; height: 14px;
  color: #FBBF24;
  opacity: .8;
}
.scene-deco--cross svg { width: 100%; height: 100%; }
.scene-deco--triangle {
  bottom: 24%; left: 0%;
  width: 16px; height: 16px;
  color: var(--c-accent);
  opacity: .65;
  transform: rotate(20deg);
}
.scene-deco--triangle svg { width: 100%; height: 100%; }

@media (max-width: 720px) {
  .scene-bubble { transform: none !important; }
}

/* ──────────────────────────────────────────────────────────
   HERO DECK — stacked perspective cards
   ────────────────────────────────────────────────────────── */
.hero-deck {
  position: absolute;
  inset: 0;
  z-index: 1;
  isolation: isolate;
  display: grid;
  place-items: center;
}

/* Soft brand spotlight backdrop */
.hero-deck__spotlight {
  position: absolute;
  inset: 6%;
  background:
    radial-gradient(ellipse 60% 55% at 50% 45%, rgba(33,120,221,.22) 0%, rgba(33,120,221,.06) 50%, transparent 75%),
    radial-gradient(ellipse 40% 40% at 75% 70%, rgba(124,93,224,.18) 0%, transparent 65%);
  filter: blur(36px);
  z-index: -2;
  border-radius: 50%;
  animation: deckSpotlightDrift 12s ease-in-out infinite alternate;
}
@keyframes deckSpotlightDrift {
  from { transform: scale(1) translate(0, 0); opacity: .9; }
  to   { transform: scale(1.06) translate(-10px, 6px); opacity: 1; }
}
.hero-deck__floor {
  position: absolute;
  left: 12%; right: 12%; bottom: 8%;
  height: 28px;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(11,27,61,.22) 0%, transparent 70%);
  filter: blur(12px);
  z-index: -1;
}

/* All deck cards share base style */
.deck-card {
  position: absolute;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFF 100%);
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
  box-shadow:
    0 30px 60px -20px rgba(11,27,61,.20),
    0 12px 24px -8px rgba(11,27,61,.10),
    0 1px 0 rgba(255,255,255,.8) inset;
  transition: transform .4s var(--easing), box-shadow .4s var(--easing);
}
.deck-card__bar {
  display: flex; align-items: center; gap: 6px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #FFFFFF, #F4F7FB);
  border-bottom: 1px solid rgba(11,27,61,.06);
}
.deck-card__bar .dot { width: 8px; height: 8px; border-radius: 50%; }
.deck-card__bar .dot:nth-child(1) { background: #FF6058; }
.deck-card__bar .dot:nth-child(2) { background: #FFBD2E; }
.deck-card__bar .dot:nth-child(3) { background: #28C940; }
.deck-card__bar .addr { margin-left: auto; font-size: 10.5px; color: var(--c-muted); font-weight: 600; letter-spacing: -0.005em; }

.deck-card__head {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px 10px;
}
.deck-card__chip {
  display: inline-block;
  padding: 3px 10px; border-radius: 6px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
}
.deck-card__chip.chip-blue   { background: var(--c-primary-soft); color: var(--c-primary); }
.deck-card__chip.chip-violet { background: #EDE9FE;              color: #6D28D9; }
.deck-card__chip.chip-rose   { background: #FCE7F3;              color: #BE185D; }
.deck-card__head-meta {
  font-size: 11px; color: var(--c-muted); font-weight: 600;
  display: inline-flex; align-items: center; gap: 6px;
}
.live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-ok);
  box-shadow: 0 0 0 3px rgba(5,150,105,.18);
  animation: pulse 2.4s ease-in-out infinite;
}

/* ── FRONT card · Today's pulse ── */
.deck-card--1 {
  width: 88%; max-width: 460px;
  z-index: 3;
  transform: translate(0, 0) rotate(0deg);
  animation: deckFront 8s ease-in-out infinite alternate;
}
@keyframes deckFront {
  from { transform: translate(0, 0) rotate(0deg); }
  to   { transform: translate(0, -6px) rotate(0deg); }
}
.deck-card--1:hover { transform: translate(0, -10px) scale(1.01); box-shadow: 0 50px 90px -22px rgba(11,27,61,.30), 0 18px 36px -10px rgba(11,27,61,.16); }

.deck-kpis {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 0 14px 12px;
}
.deck-kpi {
  background: var(--kpi-bg, #F4F8FD);
  border-radius: 12px;
  padding: 10px 12px;
  display: flex; flex-direction: column; gap: 3px;
  border: 1px solid rgba(11,27,61,.04);
}
.deck-kpi.blue  { --kpi-bg: var(--c-primary-tint); }
.deck-kpi.mint  { --kpi-bg: var(--c-mint-soft); }
.deck-kpi.amber { --kpi-bg: var(--c-amber-soft); }
.deck-kpi .lbl { font-size: 9.5px; font-weight: 800; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.deck-kpi .v { font-size: 22px; font-weight: 900; color: var(--c-ink); letter-spacing: -0.03em; line-height: 1; font-variant-numeric: tabular-nums; }
.deck-kpi .trend { font-size: 10.5px; font-weight: 700; }
.deck-kpi .trend.up { color: var(--c-ok); }
.deck-kpi .trend.warn { color: var(--c-warn); }

.deck-activity {
  margin: 0 14px 14px;
  background: #fff;
  border: 1px solid var(--c-line-soft);
  border-radius: 12px;
  padding: 10px 12px;
}
.deck-activity__head {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--c-line-soft);
  margin-bottom: 8px;
}
.deck-activity__head .lbl { font-size: 9.5px; font-weight: 800; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.deck-activity__head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 9.5px; font-weight: 800; color: var(--c-ok);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.deck-activity__row {
  display: grid; grid-template-columns: 28px 1fr auto; align-items: center; gap: 10px;
  padding: 6px 0;
}
.deck-activity__row + .deck-activity__row { border-top: 1px dashed var(--c-line-soft); padding-top: 8px; margin-top: 2px; }
.ava-circle {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 900; color: #fff;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(11,27,61,.12);
}
.av-blue  { background: linear-gradient(135deg, #2178DD, #065AAE); }
.av-amber { background: linear-gradient(135deg, #FBBF24, #D97706); }
.av-mint  { background: linear-gradient(135deg, #34D399, #059669); color: #fff; }
.av-rose  { background: linear-gradient(135deg, #FB7185, #BE185D); color: #fff; }
.av-pink  { background: linear-gradient(135deg, #F472B6, #DB2777); color: #fff; }
.deck-activity__row .nm { font-size: 11.5px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.005em; line-height: 1.2; }
.deck-activity__row .nm small { display: block; font-size: 10px; color: var(--c-muted); font-weight: 500; margin-top: 1px; letter-spacing: 0; }
.deck-activity__row .pill {
  font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 4px;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.deck-activity__row .pill.mint  { background: var(--c-mint-soft); color: var(--c-ok); }
.deck-activity__row .pill.blue  { background: var(--c-primary-soft); color: var(--c-primary-deep); }
.deck-activity__row .pill.amber { background: var(--c-amber-soft); color: var(--c-warn); }

/* ── MIDDLE card · Payroll ── */
.deck-card--2 {
  width: 78%; max-width: 410px;
  z-index: 2;
  transform: translate(-22%, -22%) rotate(-4deg) scale(.94);
  opacity: .96;
  animation: deckMiddle 8s ease-in-out infinite alternate;
}
@keyframes deckMiddle {
  from { transform: translate(-22%, -22%) rotate(-4deg) scale(.94); }
  to   { transform: translate(-22%, -28%) rotate(-4deg) scale(.94); }
}
.deck-pay { padding: 0 16px 8px; }
.deck-pay__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed rgba(11,27,61,.06);
  font-size: 12px;
}
.deck-pay__row:last-child { border-bottom: 0; }
.deck-pay__row span:first-child { color: var(--c-body); font-weight: 600; }
.deck-pay__row .num { color: var(--c-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.deck-pay__row.sub .num { color: var(--c-accent); }
.deck-pay__row.total {
  margin-top: 4px;
  padding: 10px 12px;
  background: linear-gradient(135deg, var(--c-primary-soft) 0%, #EDE9FE 100%);
  border-radius: 10px;
  border-bottom: 0;
}
.deck-pay__row.total .num { color: var(--c-primary); font-size: 15px; }
.deck-pay__foot {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 10px 16px 14px;
  border-top: 1px solid var(--c-line-soft);
  margin-top: 6px;
  font-size: 10.5px; color: var(--c-body); font-weight: 600;
}
.deck-pay__foot strong { color: var(--c-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.deck-pay__foot .ok strong { color: var(--c-ok); }

/* ── BACK card · Hiring pipeline ── */
.deck-card--3 {
  width: 72%; max-width: 380px;
  z-index: 1;
  transform: translate(28%, -16%) rotate(5deg) scale(.88);
  opacity: .92;
  animation: deckBack 8s ease-in-out infinite alternate;
}
@keyframes deckBack {
  from { transform: translate(28%, -16%) rotate(5deg) scale(.88); }
  to   { transform: translate(28%, -22%) rotate(5deg) scale(.88); }
}
.deck-pipe {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
  padding: 0 14px 14px;
}
.deck-pipe__col {
  background: var(--c-line-soft);
  border-radius: 10px;
  padding: 10px 8px;
}
.deck-pipe__col h6 {
  font-size: 10px; font-weight: 800;
  color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em;
  margin: 0 0 8px; display: flex; justify-content: space-between; align-items: center;
}
.deck-pipe__col h6 em { font-style: normal; background: var(--c-white); color: var(--c-ink); padding: 1px 6px; border-radius: 999px; font-size: 9px; }
.deck-pipe__pcard {
  background: var(--c-white);
  padding: 5px 7px;
  border-radius: 7px;
  margin-bottom: 5px;
  font-size: 10px; font-weight: 700; color: var(--c-ink);
  display: flex; align-items: center; gap: 6px;
  border-left: 2.5px solid var(--c-primary);
  box-shadow: 0 1px 2px rgba(11,27,61,.05);
}
.deck-pipe__pcard:last-child { margin-bottom: 0; }
.deck-pipe__pcard.rose { border-left-color: #BE185D; }
.deck-pipe__pcard.mint { border-left-color: var(--c-ok); }
.deck-pipe__pcard .av {
  width: 18px; height: 18px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 8.5px; font-weight: 900; color: #fff;
  flex-shrink: 0;
}

/* Single satellite proof card — anchors the composition with one human-readable stat */
.deck-proof {
  position: absolute;
  bottom: 4%; left: -2%;
  z-index: 4;
  background: #FFFFFF;
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 14px;
  padding: 12px 16px 12px 12px;
  display: flex; align-items: center; gap: 12px;
  box-shadow:
    0 22px 44px -16px rgba(11,27,61,.22),
    0 6px 14px -4px rgba(11,27,61,.10);
  animation: deckProofBob 7s ease-in-out infinite alternate;
}
@keyframes deckProofBob {
  from { transform: translateY(0); }
  to   { transform: translateY(-8px); }
}
.deck-proof__ic {
  width: 38px; height: 38px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-ok), #047857);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -3px rgba(5,150,105,.4);
}
.deck-proof__ic svg { width: 18px; height: 18px; }
.deck-proof__lbl {
  font-size: 18px; font-weight: 900;
  color: var(--c-ink);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}
.deck-proof__sub {
  font-size: 11.5px; font-weight: 600; color: var(--c-muted);
  margin-top: 3px;
}

@media (max-width: 980px) {
  .deck-card--2 { transform: translate(-15%, -18%) rotate(-3deg) scale(.92); }
  .deck-card--3 { transform: translate(20%, -12%) rotate(4deg) scale(.86); }
}
@media (max-width: 720px) {
  .deck-card--2, .deck-card--3 { display: none; }
  .deck-card--1 { width: 100%; }
  .deck-proof { left: 4%; bottom: 0; }
}

/* ──────────────────────────────────────────────────────────
   HERO COLLAGE — scattered widget cards on a soft anchored stage
   ────────────────────────────────────────────────────────── */
.hero-collage {
  position: absolute;
  inset: 0;
  z-index: 1;
  isolation: isolate;
}

/* Layer 1 · soft organic gradient "cloud" — gives the cards a stage to sit on */
.hero-collage::before {
  content: '';
  position: absolute;
  top: 4%; left: 2%; right: 2%; bottom: 4%;
  background:
    radial-gradient(ellipse 55% 50% at 30% 30%, rgba(33,120,221,.20) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 75% 70%, rgba(124,93,224,.18) 0%, transparent 65%),
    radial-gradient(ellipse 65% 50% at 50% 50%, rgba(33,120,221,.08) 0%, transparent 70%);
  filter: blur(28px);
  border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%;
  z-index: -2;
  animation: collageBlobShift 18s ease-in-out infinite alternate;
}
@keyframes collageBlobShift {
  0%   { transform: translate(0, 0) rotate(0deg); border-radius: 60% 40% 55% 45% / 50% 60% 40% 50%; }
  100% { transform: translate(-10px, 6px) rotate(2deg); border-radius: 50% 50% 45% 55% / 55% 45% 55% 45%; }
}

/* Layer 2 · subtle dot-grid plane — "they're standing on something" */
.hero-collage::after {
  content: '';
  position: absolute;
  inset: 6% 4%;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,27,61,.10) 1px, transparent 0);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 85%);
          mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, #000 30%, transparent 85%);
  z-index: -1;
  opacity: .6;
  border-radius: 50%;
}

/* Layer 3 · faint dashed boundary "frame" — hints at a system holding the cards */
.hero-collage-frame {
  position: absolute;
  inset: 8% 6%;
  border: 1.5px dashed rgba(33,120,221,.18);
  border-radius: 38% 42% 45% 55% / 50% 55% 45% 50%;
  z-index: -1;
  pointer-events: none;
  animation: frameMorph 24s ease-in-out infinite alternate;
}
@keyframes frameMorph {
  0%   { border-radius: 38% 42% 45% 55% / 50% 55% 45% 50%; transform: rotate(0deg); }
  100% { border-radius: 50% 50% 40% 60% / 55% 45% 55% 45%; transform: rotate(-3deg); }
}

/* Optional connector — thin dashed line linking two key cards visually */
.hero-collage-line {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  stroke: rgba(33,120,221,.22);
  stroke-width: 1.4;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 4 4;
}
.hcard {
  position: absolute;
  top: var(--top, auto);
  right: var(--right, auto);
  bottom: var(--bottom, auto);
  left: var(--left, auto);
  background: #FFFFFF;
  border: 1px solid var(--c-line);
  border-radius: 16px;
  padding: 14px;
  box-shadow:
    0 18px 36px -16px rgba(11,27,61,.18),
    0 4px 10px -3px rgba(11,27,61,.06);
  transform: rotate(var(--rot, 0deg));
  animation: hcardFloat 6s ease-in-out infinite alternate;
  animation-delay: var(--delay, 0s);
  transition: transform .3s var(--easing), box-shadow .3s var(--easing);
}
.hcard:hover {
  transform: rotate(0deg) translateY(-2px);
  box-shadow: 0 26px 50px -16px rgba(11,27,61,.22), 0 8px 16px -4px rgba(11,27,61,.10);
  z-index: 5;
}
@keyframes hcardFloat {
  from { transform: rotate(var(--rot, 0deg)) translateY(0); }
  to   { transform: rotate(var(--rot, 0deg)) translateY(-6px); }
}

/* shared elements */
.hcard__head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.hcard__title { font-size: 13px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.015em; }
.hcard__sub { font-size: 11.5px; font-weight: 600; color: var(--c-muted); margin-top: 4px; }
.hcard__lbl-cap { font-size: 10px; font-weight: 800; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.hcard__num { font-size: 32px; font-weight: 900; color: var(--c-ink); letter-spacing: -0.04em; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 6px; }
.hcard__num small { font-size: 13px; font-weight: 700; color: var(--c-body); margin-left: 4px; letter-spacing: -0.02em; }
.hcard__num-sm { font-size: 18px; font-weight: 900; color: var(--c-ink); letter-spacing: -0.02em; line-height: 1; font-variant-numeric: tabular-nums; }
.hcard__big-num { font-size: 26px; font-weight: 900; color: var(--c-ink); letter-spacing: -0.04em; line-height: 1; }
.hcard__ic {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  flex-shrink: 0;
}
.hcard__ic.ic-blue   { background: var(--c-primary-soft); color: var(--c-primary); }
.hcard__ic.ic-violet { background: #EDE9FE;              color: #6D28D9; }
.hcard__ic.ic-mint   { background: var(--c-mint-soft);   color: var(--c-ok); }
.hcard__ic.ic-amber  { background: var(--c-amber-soft);  color: var(--c-warn); }
.hcard__ic.ic-rose   { background: #FCE7F3;              color: #BE185D; }
.hcard__ic svg { width: 14px; height: 14px; }
.hcard__chip {
  font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 999px;
  background: var(--c-line-soft); color: var(--c-ink);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.hcard__chip.mint { background: var(--c-mint-soft); color: var(--c-ok); }

/* 1 · Analytics card */
.hcard--analytics { width: 168px; padding: 14px 16px; }
.hcard__lines { display: flex; flex-direction: column; gap: 7px; }
.hcard__lines .line { display: flex; align-items: center; gap: 8px; }
.hcard__lines .dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.hcard__lines .dot-mint { background: #34D399; }
.hcard__lines .dot-blue { background: #60A5FA; }
.hcard__lines .dot-amber { background: #FBBF24; }
.hcard__lines .bar {
  height: 4px; flex: 1; border-radius: 999px;
  background: linear-gradient(90deg, var(--c-line-soft) 0%, var(--c-line-soft) 100%);
  position: relative;
}
.hcard__lines .bar::before {
  content: ''; position: absolute; inset: 0;
  width: var(--w, 50%); height: 100%;
  background: linear-gradient(90deg, var(--c-primary-tint), #93C5FD);
  border-radius: 999px;
}

/* 2 · Payroll character scene */
.hcard--payroll { width: 168px; }
.hcard__avatar-scene {
  position: relative;
  width: 100%; aspect-ratio: 1.1/1;
  background: var(--c-blush-soft);
  border-radius: 12px;
  overflow: hidden;
  margin: 6px 0;
}
.av-bubble {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -52%);
  width: 86%; aspect-ratio: 1/1;
  background: #FFE4E6;
  border-radius: 50%;
}
.av-figure {
  position: absolute; top: 6%; left: 50%; transform: translateX(-50%);
  width: 78%; height: 92%;
}

/* 3 · Recognition pill */
.hcard--pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--c-ink);
}
.hcard__pill-ic {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #FBBF24 0%, #F59E0B 100%);
  color: #fff;
  display: grid; place-items: center;
}
.hcard__pill-ic svg { width: 13px; height: 13px; }

/* 4 · Feedback rating with cheering figure */
.hcard--feedback { width: 178px; padding: 14px 16px 12px; }
.hcard--feedback .hcard__head { justify-content: space-between; margin-bottom: 6px; }
.hcard__stars { font-size: 13px; color: #FBBF24; letter-spacing: 1px; }
.hcard__cheer {
  width: 100%; height: 56px; margin-top: 8px;
  background: var(--c-mint-soft); border-radius: 10px;
  padding: 4px;
}

/* 5 · Hours saved */
.hcard--hours { width: 168px; padding: 14px 16px; }
.hcard__bar { height: 5px; border-radius: 999px; background: var(--c-line-soft); margin-top: 10px; overflow: hidden; }
.hcard__bar span { display: block; height: 100%; width: var(--w, 50%); background: linear-gradient(90deg, var(--c-primary), #34D399); border-radius: 999px; }

/* 6 · Onboarded avatar stack */
.hcard--onboard { width: 200px; padding: 14px 16px 14px; }
.hcard--onboard .hcard__head { justify-content: space-between; margin-bottom: 8px; }
.hcard__avatars { display: flex; align-items: center; }
.hcard__avatars .ava {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--bg, #DBEAFE);
  border: 2px solid #fff;
  margin-left: -8px;
  display: grid; place-items: center;
  font-size: 10px; font-weight: 900; color: var(--c-ink);
  box-shadow: 0 1px 3px rgba(11,27,61,.12);
}
.hcard__avatars .ava:first-child { margin-left: 0; }
.hcard__avatars .ava--more { background: var(--c-ink); color: #fff; font-size: 9px; }

/* 7 · Goals gauge */
.hcard--gauge { width: 130px; text-align: center; padding: 12px; }
.hcard__gauge-wrap { position: relative; width: 84px; height: 84px; margin: 0 auto 4px; }
.hcard__gauge { width: 100%; height: 100%; }
.hcard__gauge-v {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 16px; font-weight: 900; color: var(--c-ink); letter-spacing: -0.02em;
}
.hcard--gauge .hcard__sub { margin-top: 0; font-size: 10.5px; color: var(--c-ok); font-weight: 700; }

/* 8 · Approve expense */
.hcard--approve { width: 188px; padding: 14px 16px; }
.hcard--approve .hcard__head { gap: 10px; margin-bottom: 12px; }
.hcard__approve-btn {
  display: block; width: 100%;
  background: var(--c-mint-soft); color: var(--c-ok);
  border: 1px solid #BBF7D0;
  padding: 8px 14px; border-radius: 8px;
  font: inherit; font-size: 12px; font-weight: 800; letter-spacing: -0.005em;
  cursor: pointer;
  transition: all .2s var(--easing);
}
.hcard__approve-btn span { margin-left: 4px; }
.hcard__approve-btn:hover { background: var(--c-ok); color: #fff; border-color: var(--c-ok); }

/* 9 · Uptime mini-pill */
.hcard--uptime {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12px; font-weight: 700; color: var(--c-ink);
}
.hcard--uptime .hcard__live-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--c-ok);
  box-shadow: 0 0 0 3px rgba(5,150,105,.18);
  animation: pulse 2.4s ease-in-out infinite;
}
.hcard--uptime strong { color: var(--c-ink); font-weight: 900; font-variant-numeric: tabular-nums; }
.hcard--uptime .meta { color: var(--c-muted); font-weight: 600; font-size: 11px; }

@media (max-width: 720px) {
  .hcard { transform: none !important; }
}

/* Laptop hero asset wrapper */
.hero-laptop-wrap {
  position: absolute;
  inset: 0;
  display: grid; place-items: center;
  z-index: 1;
}
.hero-laptop {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  filter:
    drop-shadow(0 50px 80px rgba(11,27,61,.32))
    drop-shadow(0 24px 40px rgba(11,27,61,.18))
    drop-shadow(0 8px 16px rgba(11,27,61,.08));
  animation: laptopReveal 1.2s cubic-bezier(.22,.61,.36,1) both, laptopFloat 9s ease-in-out 1.2s infinite alternate;
  z-index: 2;
}
@keyframes laptopReveal {
  from { opacity: 0; transform: scale(.94) translateY(24px); }
  to   { opacity: 1; transform: scale(1)    translateY(0); }
}
@keyframes laptopFloat {
  from { transform: translateY(0); }
  to   { transform: translateY(-6px); }
}
/* Companion phone — overlays bottom-right of the laptop for multi-device story */
.hero-phone {
  position: absolute;
  right: -2%; bottom: -8%;
  width: 22%; min-width: 142px; max-width: 178px;
  aspect-ratio: 9 / 19;
  background: var(--c-ink);
  border-radius: 28px;
  padding: 7px;
  box-shadow:
    0 30px 60px -16px rgba(11,27,61,.40),
    0 12px 24px -8px rgba(11,27,61,.20),
    inset 0 0 0 1.5px rgba(255,255,255,.08);
  z-index: 4;
  animation: heroPhoneFloat 7s ease-in-out infinite alternate;
}
@keyframes heroPhoneFloat {
  from { transform: translateY(0) rotate(-2deg); }
  to   { transform: translateY(-6px) rotate(0deg); }
}
.hero-phone__notch {
  position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 38%; height: 14px;
  background: var(--c-ink);
  border-radius: 0 0 12px 12px;
  z-index: 2;
}
.hero-phone__screen {
  width: 100%; height: 100%;
  background: #F4F6FB;
  border-radius: 22px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.hero-phone__band {
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-deep) 100%);
  padding: 18px 12px 12px;
  color: #fff;
  position: relative;
}
.hero-phone__band::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle 60px at 90% 10%, rgba(255,255,255,.18), transparent 60%);
  pointer-events: none;
}
.hp-greet { display: flex; flex-direction: column; gap: 1px; margin-bottom: 8px; position: relative; z-index: 1; }
.hp-hi { font-size: 8px; color: rgba(255,255,255,.7); font-weight: 600; }
.hp-name { font-size: 11px; font-weight: 800; color: #fff; letter-spacing: -0.01em; }
.hp-checkin {
  background: rgba(255,255,255,.95);
  border-radius: 10px;
  padding: 7px 9px;
  position: relative; z-index: 1;
  box-shadow: 0 4px 8px -2px rgba(0,0,0,.15);
}
.hp-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.hp-date { font-size: 7.5px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.005em; line-height: 1.1; }
.hp-date small { display: block; font-weight: 500; color: var(--c-muted); margin-top: 1px; font-size: 6.5px; }
.hp-pill {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 6.5px; font-weight: 800; color: var(--c-ok);
  background: var(--c-mint-soft); padding: 1px 5px; border-radius: 999px;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.hp-dot { width: 4px; height: 4px; border-radius: 50%; background: var(--c-ok); }
.hp-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; }
.hp-stat { background: var(--c-line-soft); border-radius: 6px; padding: 4px 5px; }
.hp-stat.in { background: var(--c-mint-soft); }
.hp-lbl { font-size: 6px; font-weight: 700; color: var(--c-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.hp-v { font-size: 9px; font-weight: 800; color: var(--c-ink); margin-top: 1px; font-variant-numeric: tabular-nums; }
.hp-quick {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px;
  padding: 9px 8px 6px;
  background: #F4F6FB;
}
.hp-qa {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  background: #fff;
  border-radius: 8px;
  padding: 6px 2px;
  font-size: 6.5px; font-weight: 700; color: var(--c-ink);
  box-shadow: 0 1px 3px -1px rgba(11,27,61,.06);
}
.hp-qa-ic { font-size: 12px; line-height: 1; }
.hp-card {
  margin: 2px 8px 8px;
  background: #fff;
  border-radius: 8px;
  padding: 7px 8px;
  display: grid; grid-template-columns: 22px 1fr auto; align-items: center; gap: 7px;
  box-shadow: 0 1px 3px -1px rgba(11,27,61,.06);
}
.hp-card-ic {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--c-primary-soft); color: var(--c-primary);
  display: grid; place-items: center;
  font-size: 11px;
}
.hp-card-text { min-width: 0; }
.hp-card-ttl { font-size: 7.5px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.005em; line-height: 1.2; }
.hp-card-sub { font-size: 6.5px; font-weight: 500; color: var(--c-muted); margin-top: 1px; }
.hp-card-chev { color: var(--c-muted); font-weight: 800; font-size: 14px; line-height: 1; }
@media (max-width: 720px) { .hero-phone { display: none; } }

/* Crisp grounded floor shadow under the laptop */
.hero-laptop-floor {
  position: absolute;
  left: 12%; right: 12%; bottom: 5%;
  height: 22px;
  background: radial-gradient(ellipse 50% 100% at 50% 50%, rgba(11,27,61,.32) 0%, rgba(11,27,61,0) 70%);
  filter: blur(12px);
  z-index: 1;
  pointer-events: none;
  animation: floorPulse 9s ease-in-out infinite alternate;
}
@keyframes floorPulse {
  from { opacity: .95; transform: scaleX(1); }
  to   { opacity: .75; transform: scaleX(.92); }
}

.dashboard {
  position: absolute;
  top: 6%; left: 0; right: 4%; bottom: 6%;
  background: linear-gradient(180deg, #FFFFFF 0%, #FBFCFF 100%);
  border-radius: 22px;
  border: 1px solid rgba(11,27,61,.06);
  box-shadow:
    0 60px 100px -24px rgba(11,27,61,.28),
    0 22px 50px -18px rgba(33,120,221,.22),
    0 6px 14px -4px rgba(11,27,61,.08),
    inset 0 1px 0 rgba(255,255,255,.9);
  overflow: hidden;
  display: grid; grid-template-rows: 46px 1fr;
  z-index: 1;
  transform: perspective(2200px) rotateY(-3deg) rotateX(1.5deg);
  transform-origin: 50% 50%;
}
.dashboard::after {
  /* subtle inner glass-edge sheen */
  content: '';
  position: absolute; inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255,255,255,.55) 0%, rgba(255,255,255,0) 30%);
  pointer-events: none;
}

/* Branded app chrome (replaces generic browser bar) */
.dashboard__bar {
  display: flex; align-items: center; gap: 12px;
  padding: 0 16px;
  background: linear-gradient(180deg, #FFFFFF 0%, #F7F9FE 100%);
  border-bottom: 1px solid rgba(11,27,61,.06);
  position: relative;
  z-index: 1;
}
.dashboard__brand {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 800; color: var(--c-ink);
  letter-spacing: -0.015em;
}
.dashboard__brand .mark {
  width: 22px; height: 22px; border-radius: 7px;
  background: linear-gradient(135deg, #2178DD 0%, #065AAE 60%, #0B4C95 100%);
  display: grid; place-items: center;
  color: #fff; font-size: 11px; font-weight: 900; letter-spacing: -0.04em;
  box-shadow: 0 2px 8px -2px rgba(6,90,174,.45), inset 0 1px 0 rgba(255,255,255,.35);
}
.dashboard__brand .hr-badge {
  font-weight: 900; color: var(--c-accent); font-size: 11.5px;
  background: var(--c-accent-soft); padding: 1px 5px; border-radius: 4px;
  margin-left: 1px;
}
.dashboard__tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: var(--c-primary-soft);
  border: 1px solid rgba(33,120,221,.18);
  border-radius: 999px;
  font-size: 11px; font-weight: 700; color: var(--c-primary-deep);
  letter-spacing: -0.005em;
}
.dashboard__tab .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: #34D399;
  box-shadow: 0 0 0 3px rgba(52,211,153,.22);
  animation: pulse 2.4s ease-in-out infinite;
}
.dashboard__chrome-actions {
  margin-left: auto;
  display: inline-flex; align-items: center; gap: 8px;
}
.dashboard__chrome-actions .ico {
  width: 22px; height: 22px; border-radius: 7px;
  background: var(--c-line-soft);
  display: grid; place-items: center;
  color: var(--c-muted);
}
.dashboard__chrome-actions .ico svg { width: 12px; height: 12px; }
.dashboard__chrome-actions .who {
  width: 24px; height: 24px; border-radius: 50%;
  background: linear-gradient(135deg, #FCE7F3 0%, #FBCFE8 100%);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #9D174D;
  border: 1.5px solid #fff;
  box-shadow: 0 2px 6px -2px rgba(11,27,61,.15);
}

.dashboard__body { display: grid; grid-template-columns: 158px 1fr; min-height: 0; position: relative; z-index: 1; }
.dashboard__nav {
  background: linear-gradient(180deg, #F4F8FD 0%, #EEF3FB 100%);
  padding: 14px 10px;
  border-right: 1px solid rgba(11,27,61,.06);
  display: flex; flex-direction: column; gap: 2px;
}
.dashboard__nav-me {
  display: flex; align-items: center; gap: 8px;
  padding: 8px 8px 12px;
  margin-bottom: 4px;
  border-bottom: 1px dashed rgba(11,27,61,.08);
}
.dashboard__nav-me .av {
  width: 26px; height: 26px; border-radius: 50%;
  background: linear-gradient(135deg, #DBEAFE 0%, #BFDBFE 100%);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 900; color: var(--c-primary-deep);
  border: 2px solid #fff;
  box-shadow: 0 2px 6px -2px rgba(11,27,61,.12);
}
.dashboard__nav-me .who {
  display: flex; flex-direction: column; gap: 1px; line-height: 1.1;
}
.dashboard__nav-me .who .nm { font-size: 11px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.01em; }
.dashboard__nav-me .who .ro { font-size: 9px; font-weight: 600; color: var(--c-muted); }

.dashboard__nav .group {
  font-size: 9px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--c-muted); font-weight: 700;
  padding: 6px 8px 3px;
}
.dashboard__nav .item {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px; border-radius: 8px;
  font-size: 11.5px; color: var(--c-body); font-weight: 600;
  letter-spacing: -0.005em;
}
.dashboard__nav .item .d { width: 6px; height: 6px; border-radius: 50%; background: rgba(11,27,61,.18); flex-shrink: 0; }
.dashboard__nav .item .ct {
  margin-left: auto; font-size: 9.5px; font-weight: 800;
  background: var(--c-white); color: var(--c-ink-soft);
  padding: 1px 6px; border-radius: 999px;
  border: 1px solid rgba(11,27,61,.08);
}
.dashboard__nav .item.active {
  background: var(--c-white);
  color: var(--c-primary-deep); font-weight: 800;
  box-shadow: 0 2px 8px -3px rgba(6,90,174,.22), 0 1px 0 rgba(255,255,255,.6) inset;
  border: 1px solid rgba(33,120,221,.14);
}
.dashboard__nav .item.active .d { background: var(--c-primary); box-shadow: 0 0 0 3px rgba(6,90,174,.2); }
.dashboard__nav .item.active .ct { background: var(--c-primary); color: #fff; border-color: transparent; }

.dashboard__main {
  padding: 18px 20px;
  display: grid; grid-template-rows: auto auto auto 1fr; gap: 12px;
  min-height: 0; background: transparent;
}
.dashboard__head { display: flex; justify-content: space-between; align-items: flex-end; }
.dashboard__head h6 { font-size: 16px; font-weight: 800; letter-spacing: -0.025em; color: var(--c-ink); margin: 0; }
.dashboard__head small { font-size: 11px; color: var(--c-muted); font-weight: 600; }
.dashboard__head .seg {
  display: inline-flex; gap: 0; padding: 2px;
  background: var(--c-line-soft); border-radius: 999px;
}
.dashboard__head .seg span {
  font-size: 10px; font-weight: 700; padding: 4px 9px;
  color: var(--c-muted); border-radius: 999px;
  letter-spacing: -0.005em;
}
.dashboard__head .seg .on {
  background: var(--c-white); color: var(--c-ink);
  box-shadow: 0 1px 3px -1px rgba(11,27,61,.12);
}

.dashboard__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.dashboard__card {
  border-radius: 14px; padding: 13px 14px 12px;
  background: linear-gradient(180deg, var(--card-bg, var(--c-primary-tint)) 0%, rgba(255,255,255,.6) 110%);
  border: 1px solid var(--c-line);
  display: grid; gap: 5px;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.dashboard__card .spark {
  position: absolute; right: 10px; top: 12px; height: 22px; width: 50px; opacity: .85;
}
.dashboard__card.card-blue   { --card-bg: #E8F1FB; }
.dashboard__card.card-amber  { --card-bg: #FEF3E7; }
.dashboard__card.card-mint   { --card-bg: #E5FAEC; }
.dashboard__card .lbl { font-size: 10px; color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.dashboard__card .v { font-size: 22px; font-weight: 800; color: var(--c-ink); letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.dashboard__card .delta { font-size: 11px; font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.dashboard__card .delta.up   { color: var(--c-ok); }
.dashboard__card .delta.warn { color: var(--c-warn); }
.dashboard__card .delta.alert{ color: var(--c-accent); }

/* Live people activity row */
.dashboard__people {
  background: var(--c-white);
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 14px;
  padding: 10px 12px;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.dashboard__people-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.dashboard__people-head h6 { font-size: 11.5px; font-weight: 800; color: var(--c-ink); margin: 0; letter-spacing: -0.01em; }
.dashboard__people-head .live {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10px; font-weight: 800; color: var(--c-ok);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.dashboard__people-head .live::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--c-ok);
  box-shadow: 0 0 0 3px rgba(5,150,105,.22);
  animation: pulse 2s ease-in-out infinite;
}
.dashboard__people-row {
  display: grid; grid-template-columns: 24px 1fr auto auto; align-items: center; gap: 10px;
  padding: 5px 0;
  font-size: 11.5px;
}
.dashboard__people-row + .dashboard__people-row { border-top: 1px dashed rgba(11,27,61,.06); padding-top: 7px; margin-top: 2px; }
.dashboard__people-row .av {
  width: 24px; height: 24px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 9.5px; font-weight: 900; color: #fff;
  border: 1.5px solid #fff;
  box-shadow: 0 1px 3px -1px rgba(11,27,61,.18);
}
.dashboard__people-row .av.a { background: linear-gradient(135deg, #2178DD, #065AAE); }
.dashboard__people-row .av.b { background: linear-gradient(135deg, #FBBF24, #D97706); }
.dashboard__people-row .av.c { background: linear-gradient(135deg, #34D399, #059669); }
.dashboard__people-row .nm { font-weight: 700; color: var(--c-ink); letter-spacing: -0.005em; line-height: 1.2; }
.dashboard__people-row .nm small { display: block; font-size: 10px; color: var(--c-muted); font-weight: 500; }
.dashboard__people-row .ev { font-size: 10.5px; color: var(--c-body); font-weight: 600; }
.dashboard__people-row .pill {
  font-size: 9.5px; font-weight: 800; padding: 2px 7px; border-radius: 999px;
  background: var(--c-mint-soft); color: var(--c-ok);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.dashboard__people-row .pill.warn { background: var(--c-amber-soft); color: var(--c-warn); }
.dashboard__people-row .pill.blue { background: var(--c-primary-soft); color: var(--c-primary-deep); }

.dashboard__chart {
  background: linear-gradient(180deg, rgba(33,120,221,.10) 0%, rgba(124,93,224,.06) 100%);
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 14px;
  padding: 11px 13px 9px;
  display: grid; grid-template-rows: auto 1fr auto; gap: 6px;
  min-height: 0;
  box-shadow: 0 1px 0 rgba(255,255,255,.6) inset;
}
.dashboard__chart h6 { font-size: 11px; color: var(--c-ink); font-weight: 700; margin: 0; }
.dashboard__chart h6 small { color: var(--c-muted); font-weight: 500; margin-left: 8px; }
.dashboard__chart svg { width: 100%; height: 100%; }
.dashboard__chart .legend { display: flex; gap: 14px; font-size: 10px; color: var(--c-muted); font-weight: 600; }
.dashboard__chart .legend i { display: inline-block; width: 8px; height: 2px; vertical-align: middle; margin-right: 4px; border-radius: 1px; }
.dashboard__chart .legend .a i { background: var(--c-primary); }
.dashboard__chart .legend .b i { border-top: 2px dashed var(--c-warn); height: 0; }

/* ── Floating cards around the dashboard ── */
.float {
  position: absolute;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAFBFE 100%);
  border: 1px solid rgba(11,27,61,.06);
  border-radius: 16px;
  box-shadow:
    0 22px 50px -16px rgba(11,27,61,.22),
    0 8px 18px -6px rgba(11,27,61,.10),
    0 1px 0 rgba(255,255,255,.8) inset;
  z-index: 5;
  font-size: 12.5px;
  animation: bob 7s ease-in-out infinite;
  backdrop-filter: blur(8px);
}
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* "Payroll closed" check tile (top-left, overlapping laptop) */
.float-check {
  top: 12%; left: -5%;
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px 12px 12px;
  animation-delay: 0s;
}
.float-check .ic {
  width: 40px; height: 40px; border-radius: 12px;
  background: linear-gradient(135deg, var(--c-ok) 0%, #047857 100%);
  color: #fff;
  display: grid; place-items: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px -3px rgba(5,150,105,.4);
}
.float-check .ic svg { width: 18px; height: 18px; }
.float-check .lbl { font-size: 10px; color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.float-check .val { font-size: 14px; color: var(--c-ink); font-weight: 800; line-height: 1.2; margin-top: 1px; letter-spacing: -0.015em; }
.float-check .meta { font-size: 11px; color: var(--c-ok); font-weight: 700; margin-top: 1px; }

/* "Time saved" big stat card (right gutter, overlap) */
.float-stat {
  top: 32%; right: -5%;
  width: 200px;
  padding: 16px 18px;
  animation-delay: 1.4s;
  background: linear-gradient(135deg, #FFFFFF 0%, #F4F8FD 100%);
}
.float-stat .lbl { font-size: 10px; color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.float-stat .num {
  font-size: 32px; font-weight: 800; color: var(--c-primary); letter-spacing: -0.04em; line-height: 1;
  font-variant-numeric: tabular-nums;
  margin: 4px 0 4px;
}
.float-stat .num small { font-size: 14px; color: var(--c-body); font-weight: 700; margin-left: 2px; letter-spacing: -0.02em; }
.float-stat .desc { font-size: 12px; color: var(--c-body); line-height: 1.4; }
.float-stat .desc strong { color: var(--c-ink); font-weight: 700; }
.float-stat .bar {
  margin-top: 10px;
  height: 4px; border-radius: 4px;
  background: var(--c-line-soft);
  overflow: hidden;
  position: relative;
}
.float-stat .bar::before {
  content: '';
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 78%;
  background: linear-gradient(90deg, var(--c-primary) 0%, #34D399 100%);
  border-radius: 4px;
}

/* "Onboarded today" mini avatar card (bottom-left) */
.float-onboard {
  bottom: 8%; left: -8%;
  display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: center;
  padding: 12px 16px 12px 12px;
  animation-delay: 2.8s;
}
.float-onboard .av {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-amber-soft);
  border: 1.5px solid var(--c-line);
  padding: 4px;
}
.float-onboard .av svg { width: 100%; height: 100%; }
.float-onboard .lbl { font-size: 10px; color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.float-onboard .val { font-size: 13px; color: var(--c-ink); font-weight: 800; line-height: 1.2; margin-top: 1px; }
.float-onboard .stack { display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.float-onboard .stack .mini-av {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid #fff;
  margin-left: -6px;
  background: var(--mini-bg, #DBEAFE);
}
.float-onboard .stack .mini-av:first-child { margin-left: 0; }
.float-onboard .stack small { color: var(--c-body); font-weight: 700; font-size: 11px; margin-left: 4px; }

/* "Filing due" warn pill (top-right, overlap) */
.float-warn {
  top: -3%; right: 18%;
  padding: 10px 16px 10px 12px;
  display: flex; align-items: center; gap: 10px;
  animation-delay: 1.8s;
  background: var(--c-amber-soft);
  border-color: #FDE68A;
}
.float-warn .ic {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--c-warn); color: #fff;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800;
  flex-shrink: 0;
}
.float-warn .lbl { font-size: 11px; color: var(--c-warn); font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; }
.float-warn .val { font-size: 12.5px; color: var(--c-ink); font-weight: 700; line-height: 1.2; }

/* "Uptime" tiny chip bottom-right */
.float-uptime {
  bottom: 14%; right: -2%;
  padding: 8px 14px 8px 10px;
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: var(--r-pill);
  animation-delay: 3.2s;
}
.float-uptime .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--c-ok); box-shadow: 0 0 0 3px rgba(5,150,105,.18); }
.float-uptime strong { color: var(--c-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.float-uptime span { color: var(--c-muted); font-weight: 600; font-size: 12px; }

/* ──────────────────────────────────────────────────────────
   TRUSTED BY — logos + stats + ratings
   ────────────────────────────────────────────────────────── */
.trusted {
  position: relative;
  background: #FBFAFE;
  border-top: 1px solid var(--c-line);
  padding: clamp(4.5rem, 5vw, 8rem) 0;
  overflow: hidden;
}
.trusted::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,27,61,.05) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 100% at 50% 0%, #000 0%, transparent 80%);
  pointer-events: none;
  opacity: .6;
}

.trusted__head {
  text-align: center;
  max-width: 720px; margin: 0 auto 1.75rem;
  position: relative;
}
.trusted__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-primary);
}
.trusted__eyebrow::before, .trusted__eyebrow::after {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--c-primary));
}
.trusted__eyebrow::after { background: linear-gradient(90deg, var(--c-primary), transparent); }

.trusted__title {
  margin-top: 1rem;
  font-size: clamp(1.5rem, 2.6vw, 2.125rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--c-ink);
  line-height: 1.15;
}
.trusted__title em {
  color: var(--c-primary);
  font-style: normal;
}
.trusted__lede {
  margin-top: 0.75rem;
  font-size: 15px;
  color: var(--c-body);
  max-width: 600px; margin-inline: auto;
}

/* Logo rail — marquee */
.trusted__rails {
  position: relative;
  margin: 0 -24px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.trusted__rail {
  display: flex; gap: 4rem; align-items: center;
  width: max-content;
  padding: 18px 0;
  animation: railScroll 42s linear infinite;
}
.trusted__rail.reverse { animation-direction: reverse; animation-duration: 38s; }
.trusted__rails:hover .trusted__rail { animation-play-state: paused; }
@keyframes railScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.logo-mark {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: -0.015em;
  color: #6B7488;
  opacity: .75;
  white-space: nowrap;
  transition: all .25s var(--easing);
  flex-shrink: 0;
}
.logo-mark:hover { opacity: 1; color: var(--c-ink); transform: translateY(-1px); }
.logo-mark .mark {
  width: 26px; height: 26px;
  border-radius: 8px;
  background: currentColor;
  display: inline-grid; place-items: center;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  flex-shrink: 0;
  position: relative;
}
.logo-mark .mark.ring { background: transparent; border: 2.5px solid currentColor; color: currentColor; }
.logo-mark .mark.dot::after { content: ''; position: absolute; right: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--c-accent); }
.logo-mark .mark.tri {
  background: transparent; color: currentColor;
  border-radius: 0;
  width: 0; height: 0;
  border-left: 13px solid transparent;
  border-right: 13px solid transparent;
  border-bottom: 22px solid currentColor;
}
.logo-mark .mark.diamond {
  background: currentColor; transform: rotate(45deg) scale(.85);
  border-radius: 4px;
}
.logo-mark .mark.split {
  background: linear-gradient(135deg, currentColor 50%, transparent 50%);
  border: 2px solid currentColor;
}
.logo-mark.italic { font-style: italic; font-weight: 700; }
.logo-mark.thin { font-weight: 600; letter-spacing: 0.04em; }
.logo-mark.serif { font-family: 'Times New Roman', Times, serif; font-style: italic; font-weight: 700; }
.logo-mark.tracked { letter-spacing: 0.18em; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.logo-mark.amp::after { content: '&'; color: var(--c-accent); margin-left: -2px; font-weight: 800; }

/* Stats panel */
.trusted__stats {
  margin-top: 3rem;
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
@media (max-width: 800px) { .trusted__stats { grid-template-columns: 1fr 1fr; } }
.t-stat {
  padding: 2.25rem 2rem;
  border-right: 1px dashed var(--c-line);
  display: flex; flex-direction: column; gap: 4px;
  position: relative;
  background: var(--c-white);
}
.t-stat:last-child { border-right: 0; }
@media (max-width: 800px) {
  .t-stat:nth-child(2n) { border-right: 0; }
  .t-stat:nth-child(-n+2) { border-bottom: 1px dashed var(--c-line); }
}
.t-stat .num {
  font-size: clamp(2rem, 3.4vw, 2.625rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--c-ink);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.t-stat .num em {
  background: linear-gradient(135deg, var(--c-primary) 0%, #7C5DE0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: normal;
}
.t-stat .num .small { font-size: 0.55em; opacity: .7; font-weight: 700; }
.t-stat .lbl { font-size: 13.5px; color: var(--c-body); font-weight: 600; line-height: 1.4; }
.t-stat .lbl strong { color: var(--c-ink); font-weight: 700; }
.t-stat .meta { font-size: 11px; color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; display: inline-flex; align-items: center; gap: 6px; }
.t-stat .meta .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--c-ok); box-shadow: 0 0 0 3px rgba(5,150,105,.18); }
.t-stat .meta .stars { color: #F59E0B; letter-spacing: -0.04em; }

/* Ratings strip */
.trusted__ratings {
  margin-top: 1.75rem;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 10px;
}
.rating-chip {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 8px 14px 8px 10px;
  border-radius: var(--r-pill);
  transition: all .25s var(--easing);
  font-size: 13px;
}
.rating-chip:hover { border-color: var(--c-primary); transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.rating-chip .pf {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 800; color: var(--c-ink); letter-spacing: -0.01em;
}
.rating-chip .pf .pf-mark {
  width: 22px; height: 22px; border-radius: 6px;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900;
  color: #fff;
}
.rating-chip .pf .pf-mark.g2  { background: linear-gradient(135deg, #FF492C, #C81616); }
.rating-chip .pf .pf-mark.cap { background: linear-gradient(135deg, #FF9D28, #D97706); }
.rating-chip .pf .pf-mark.ss  { background: linear-gradient(135deg, #2178DD, #065AAE); }
.rating-chip .pf .pf-mark.g  { background: linear-gradient(135deg, #34D399, #059669); }
.rating-chip .stars { color: #F59E0B; font-size: 13px; letter-spacing: -0.04em; }
.rating-chip .score { color: var(--c-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.rating-chip .reviews { color: var(--c-muted); font-size: 12px; font-weight: 600; }

/* ──────────────────────────────────────────────────────────
   PRODUCT FEATURES — 6 modules
   ────────────────────────────────────────────────────────── */
.modules {
  position: relative;
  background: var(--c-white);
  padding: clamp(4.5rem, 5vw, 8rem) 0;
}
.modules__head {
  text-align: center;
  max-width: 760px; margin: 0 auto 3.5rem;
}
.modules__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 1rem;
}
.modules__eyebrow::before, .modules__eyebrow::after {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--c-primary));
}
.modules__eyebrow::after { background: linear-gradient(90deg, var(--c-primary), transparent); }
.modules__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  line-height: 1.05;
}
.modules__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c-primary) 0%, #7C5DE0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.modules__lede {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: var(--c-body);
  max-width: 620px; margin-inline: auto;
}

/* Tabs strip — module quick switcher (decorative) */
.modules__tabs {
  display: flex; flex-wrap: wrap; gap: 8px;
  justify-content: center;
  margin-top: 1.75rem;
}
.modules__tab {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  font-size: 13px; font-weight: 700; color: var(--c-ink);
  transition: all .2s var(--easing);
  cursor: pointer;
}
.modules__tab:hover { border-color: var(--c-primary); color: var(--c-primary); transform: translateY(-1px); }
.modules__tab .swatch {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--swatch, var(--c-primary));
  flex-shrink: 0;
}

.modules__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
@media (max-width: 980px) { .modules__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .modules__grid { grid-template-columns: 1fr; } }

.modules__more {
  margin: 4rem auto 0; max-width: 880px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  text-align: center;
}
@media (max-width: 720px) { .modules__more { grid-template-columns: 1fr; max-width: 320px; } }
.modules__more-item {
  padding: 1.25rem 1rem;
  border: 1px dashed var(--c-line);
  border-radius: var(--r-md);
  background: var(--c-white);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  transition: border-color .2s var(--easing), background .2s var(--easing);
}
.modules__more-item:hover { border-color: var(--c-primary); background: var(--c-primary-tint); }
.modules__more-item .ic {
  width: 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: var(--c-primary-tint); color: var(--c-primary);
}
.modules__more-item .ic svg { width: 18px; height: 18px; }
.modules__more-item .nm { font-size: 14px; font-weight: 700; color: var(--c-ink); letter-spacing: -0.01em; }
.modules__more-item .sub { font-size: 12px; color: var(--c-muted); font-weight: 500; }
.modules__more-cta {
  margin: 2.5rem auto 0; text-align: center;
}
.modules__more-cta a {
  font-size: 14.5px; font-weight: 600; color: var(--c-primary);
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s var(--easing);
}
.modules__more-cta a:hover { border-bottom-color: var(--c-primary); }

.module {
  position: relative;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .3s var(--easing), box-shadow .3s var(--easing), border-color .3s var(--easing);
}
.module:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--mod-c, var(--c-primary));
}

.module__visual {
  position: relative;
  height: 180px;
  padding: 16px;
  background: var(--mod-bg);
  border-bottom: 1px solid var(--c-line);
  overflow: hidden;
}
.module__visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 10%, rgba(255,255,255,.55) 0%, transparent 55%),
    radial-gradient(circle at 0% 100%, rgba(0,0,0,.04) 0%, transparent 60%);
  pointer-events: none;
}
.module__chip {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--c-white);
  border: 1px solid rgba(255,255,255,.7);
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 10.5px; font-weight: 800;
  color: var(--mod-c, var(--c-primary));
  letter-spacing: 0.06em; text-transform: uppercase;
  position: relative;
  box-shadow: 0 1px 2px rgba(11,27,61,.05);
}
.module__chip svg { width: 13px; height: 13px; }

.module__mock {
  margin-top: 12px;
  background: var(--c-white);
  border-radius: 12px;
  border: 1px solid var(--c-line);
  padding: 10px;
  position: relative;
  box-shadow: 0 4px 12px -4px rgba(11,27,61,.08);
}

.module__body {
  padding: 1.125rem 1.25rem 1.25rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 14px;
  flex: 1;
}
.module__text { flex: 1; min-width: 0; }
.module__title {
  font-size: 1.0625rem;
  font-weight: 800;
  letter-spacing: -0.022em;
  color: var(--c-ink);
  line-height: 1.25;
  margin: 0;
}
.module__title em {
  font-style: normal; color: var(--mod-c, var(--c-primary));
}
.module__desc {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--c-body);
}
.module__more {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--mod-c, var(--c-primary));
  text-decoration: none;
  flex-shrink: 0;
  transition: all .2s var(--easing);
}
.module__more:hover {
  background: var(--mod-c, var(--c-primary));
  border-color: var(--mod-c, var(--c-primary));
  color: #fff;
  transform: rotate(-30deg);
}
.module__more:hover { gap: 10px; }
.module__more svg { width: 16px; height: 16px; }

/* Per-module color binding */
.module.m-corehr     { --mod-c: var(--c-primary);  --mod-bg: #EFF5FD; }
.module.m-payroll    { --mod-c: #7C5DE0;           --mod-bg: #F4F1FE; }
.module.m-attendance { --mod-c: #D97706;           --mod-bg: #FEF7E6; }
.module.m-project    { --mod-c: #059669;           --mod-bg: #ECFDF5; }
.module.m-performance{ --mod-c: #2178DD;           --mod-bg: #EAF3FE; }
.module.m-recruitment{ --mod-c: #E11D48;           --mod-bg: #FFF1F4; }

/* Mini mock — Core HR (people list) */
.mock-people-mini { display: grid; gap: 5px; }
.mock-people-mini .row {
  display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; align-items: center;
  font-size: 11px;
  padding: 5px 6px; border-radius: 6px;
}
.mock-people-mini .row.active { background: var(--c-primary-tint); }
.mock-people-mini .av {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--av-bg, var(--c-primary-soft));
  padding: 3px;
}
.mock-people-mini .av svg { width: 100%; height: 100%; }
.mock-people-mini .nm { font-weight: 700; color: var(--c-ink); font-size: 11px; line-height: 1.2; }
.mock-people-mini .nm small { display: block; color: var(--c-muted); font-weight: 500; font-size: 9.5px; margin-top: 1px; }
.mock-people-mini .pill {
  font-size: 8.5px; font-weight: 800; padding: 2px 6px; border-radius: 4px;
  background: var(--c-mint-soft); color: var(--c-ok);
  text-transform: uppercase; letter-spacing: 0.04em;
}
.mock-people-mini .pill.warn { background: var(--c-amber-soft); color: var(--c-warn); }

/* Mini mock — Payroll (breakdown) */
.mock-pay { display: grid; gap: 6px; font-size: 11px; }
.mock-pay .row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px dashed var(--c-line); }
.mock-pay .row:last-child { border-bottom: 0; }
.mock-pay .row span:first-child { color: var(--c-body); font-weight: 600; }
.mock-pay .row span:last-child { color: var(--c-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-pay .row.total { padding: 6px 8px; margin-top: 4px; background: linear-gradient(135deg, #F4F1FE 0%, #EAE3FE 100%); border-radius: 8px; border: 0; }
.mock-pay .row.total span:last-child { color: #7C5DE0; font-size: 14px; }
.mock-pay .row.deduct span:last-child { color: var(--c-accent); }

/* Mini mock — Attendance (week grid) */
.mock-attendance { display: grid; gap: 6px; }
.mock-attendance .week-head { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.mock-attendance .week-head span { font-size: 9px; font-weight: 800; color: var(--c-muted); text-align: center; text-transform: uppercase; letter-spacing: 0.04em; }
.mock-attendance .week-grid { display: grid; grid-template-columns: repeat(7,1fr); gap: 4px; }
.mock-attendance .day {
  height: 16px; border-radius: 4px;
  background: var(--c-line-soft);
  position: relative;
}
.mock-attendance .day.in { background: linear-gradient(180deg, #FFE9A8 0%, #FDB940 100%); }
.mock-attendance .day.late { background: linear-gradient(180deg, #FFE2D0 0%, #FFA75E 100%); }
.mock-attendance .day.off { background: var(--c-line); }
.mock-attendance .day.now { background: var(--c-warn); box-shadow: 0 0 0 2px rgba(217,119,6,.18); }
.mock-attendance .summary { display: flex; gap: 14px; font-size: 10px; color: var(--c-muted); font-weight: 700; padding-top: 6px; border-top: 1px dashed var(--c-line); }
.mock-attendance .summary strong { color: var(--c-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-attendance .summary i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; vertical-align: middle; margin-right: 4px; }

/* Mini mock — Project (task list with progress) */
.mock-project { display: grid; gap: 6px; }
.mock-project .task {
  display: grid; grid-template-columns: 16px 1fr auto; gap: 8px; align-items: center;
  padding: 5px 0;
  font-size: 11px;
}
.mock-project .check {
  width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid var(--c-line);
  display: grid; place-items: center; flex-shrink: 0;
  background: var(--c-white);
}
.mock-project .check.done { background: linear-gradient(135deg, #6EDFB1, #059669); border-color: #059669; }
.mock-project .check.done svg { width: 10px; height: 10px; color: #fff; }
.mock-project .nm { color: var(--c-ink); font-weight: 700; line-height: 1.2; }
.mock-project .task.done .nm { color: var(--c-muted); text-decoration: line-through; }
.mock-project .nm small { display: block; color: var(--c-muted); font-weight: 500; font-size: 9.5px; margin-top: 1px; text-decoration: none; }
.mock-project .pri {
  font-size: 9px; padding: 2px 6px; border-radius: 4px; font-weight: 800;
  background: var(--c-mint-soft); color: var(--c-ok); text-transform: uppercase; letter-spacing: 0.04em;
}
.mock-project .pri.high { background: var(--c-accent-soft); color: var(--c-accent-deep); }
.mock-project .progress {
  height: 4px; border-radius: 4px; background: var(--c-line-soft);
  margin-top: 6px; overflow: hidden; position: relative;
}
.mock-project .progress::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 64%;
  background: linear-gradient(90deg, #34D399, #059669);
  border-radius: 4px;
}
.mock-project .progress-meta { display: flex; justify-content: space-between; font-size: 9.5px; font-weight: 700; color: var(--c-muted); margin-top: 4px; }
.mock-project .progress-meta strong { color: var(--c-ink); }

/* Mini mock — Performance (ring + bullets) */
.mock-perf { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; }
.mock-perf .ring-wrap { position: relative; display: grid; place-items: center; }
.mock-perf .ring-wrap svg { width: 64px; height: 64px; }
.mock-perf .ring-wrap .v {
  position: absolute;
  font-size: 14px; font-weight: 800; color: var(--c-ink);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.mock-perf .cells { display: grid; gap: 4px; }
.mock-perf .cell {
  display: grid; grid-template-columns: 1fr auto; gap: 4px; align-items: center;
  font-size: 11px;
  padding: 4px 8px;
  border-radius: 6px;
  background: var(--c-primary-tint);
}
.mock-perf .cell .lb { color: var(--c-body); font-weight: 600; font-size: 10.5px; }
.mock-perf .cell .vv { color: var(--c-ink); font-weight: 800; font-variant-numeric: tabular-nums; }
.mock-perf .cell.warn { background: var(--c-amber-soft); }
.mock-perf .cell.warn .vv { color: var(--c-warn); }
.mock-perf .cell.ok .vv { color: var(--c-ok); }

/* Mini mock — Recruitment (kanban mini, 3 cols) */
.mock-pipeline { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.mock-pipeline .col {
  background: #FFF5F7;
  border-radius: 6px;
  padding: 4px;
}
.mock-pipeline .col h6 {
  font-size: 8.5px;
  font-weight: 800;
  color: var(--c-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex; justify-content: space-between; align-items: center;
  margin: 2px 4px 4px;
  font-family: inherit;
}
.mock-pipeline .col h6 .num {
  background: var(--c-accent); color: #fff;
  padding: 1px 5px; border-radius: 4px;
  font-size: 8.5px;
  letter-spacing: 0;
}
.mock-pipeline .pcard {
  background: #fff;
  border-radius: 4px;
  padding: 4px 6px;
  margin-bottom: 3px;
  border-left: 2px solid var(--c-accent);
  font-size: 9.5px;
  display: flex; align-items: center; gap: 5px;
}
.mock-pipeline .pcard:last-child { margin-bottom: 0; }
.mock-pipeline .pcard.green { border-left-color: var(--c-ok); }
.mock-pipeline .pcard.violet { border-left-color: #7C5DE0; }
.mock-pipeline .pcard .av {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--av-bg, var(--c-accent-soft));
  padding: 2px;
}
.mock-pipeline .pcard .av svg { width: 100%; height: 100%; }
.mock-pipeline .pcard .nm { font-weight: 800; color: var(--c-ink); font-size: 9.5px; }

/* ──────────────────────────────────────────────────────────
   STORIES — testimonials + happiness
   ────────────────────────────────────────────────────────── */
.stories {
  position: relative;
  background:
    radial-gradient(ellipse 60% 60% at 0% 0%, rgba(33,120,221,.08) 0%, transparent 60%),
    radial-gradient(ellipse 60% 60% at 100% 100%, rgba(124,93,224,.10) 0%, transparent 60%),
    #FAF9FE;
  border-top: 1px solid var(--c-line);
  padding: clamp(4.5rem, 5vw, 8rem) 0;
  overflow: hidden;
}
.stories::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,27,61,.05) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 50%, #000 0%, transparent 80%);
  pointer-events: none;
  opacity: .55;
}

.stories__head {
  text-align: center;
  max-width: 760px; margin: 0 auto 2.25rem;
  position: relative;
}
.stories__eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--c-primary);
  margin-bottom: 0.875rem;
}
.stories__eyebrow::before, .stories__eyebrow::after {
  content: ''; display: block; width: 28px; height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--c-primary));
}
.stories__eyebrow::after { background: linear-gradient(90deg, var(--c-primary), transparent); }

.stories__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-ink);
  line-height: 1.05;
}
.stories__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c-primary) 0%, #7C5DE0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.stories__lede {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  color: var(--c-body);
  max-width: 580px; margin-inline: auto;
}

/* Magazine layout: 1 large + 2 stacked */
.stories__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 900px) { .stories__grid { grid-template-columns: 1fr; } }

.story-card {
  position: relative; isolation: isolate;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 1.75rem;
  display: flex; flex-direction: column;
  transition: transform .3s var(--easing), box-shadow .3s var(--easing), border-color .3s var(--easing);
  overflow: hidden;
}
.story-card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: var(--sc-bg, transparent);
  opacity: .65;
}
.story-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--sc-c, var(--c-primary));
}
.story-card.s-blue   { --sc-c: var(--c-primary); --sc-bg: linear-gradient(135deg, #EFF5FD 0%, #FFFFFF 70%); }
.story-card.s-violet { --sc-c: #7C5DE0;          --sc-bg: linear-gradient(135deg, #F4F1FE 0%, #FFFFFF 70%); }
.story-card.s-mint   { --sc-c: #059669;          --sc-bg: linear-gradient(135deg, #ECFDF5 0%, #FFFFFF 70%); }
.story-card.s-rose   { --sc-c: #E11D48;          --sc-bg: linear-gradient(135deg, #FFF1F4 0%, #FFFFFF 70%); }
.story-card.s-amber  { --sc-c: #D97706;          --sc-bg: linear-gradient(135deg, #FEF7E6 0%, #FFFFFF 70%); }

.story-card__row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1rem;
  gap: 1rem;
}
.story-card__logo {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 800; font-size: 14px;
  color: var(--sc-c, var(--c-primary));
  letter-spacing: -0.01em;
}
.story-card__logo .lm {
  width: 22px; height: 22px; border-radius: 6px;
  background: var(--sc-c, var(--c-primary));
  color: #fff;
  display: grid; place-items: center;
  font-size: 11px; font-weight: 900;
}
.story-card__stars {
  color: #F59E0B; font-size: 14px; letter-spacing: -0.04em;
}
.story-card__quote {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.45;
  color: var(--c-ink);
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 0;
}
.story-card__quote em {
  font-style: italic;
  color: var(--sc-c, var(--c-primary));
  font-weight: 700;
}
.story-card__quote::before {
  content: '“';
  display: block;
  font-size: 3.5rem; line-height: 0.6;
  color: var(--sc-c, var(--c-primary));
  opacity: .25;
  font-weight: 900;
  margin-bottom: 0.5rem;
  font-family: Georgia, 'Times New Roman', serif;
}

.story-card__attr {
  display: flex; align-items: center; gap: 12px;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--c-line);
  font-size: 13px;
}
.story-card__attr .av {
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--av-bg, var(--c-primary-soft));
  border: 1.5px solid var(--c-line);
  padding: 5px;
  flex-shrink: 0;
}
.story-card__attr .av svg { width: 100%; height: 100%; }
.story-card__attr strong { display: block; color: var(--c-ink); font-weight: 800; font-size: 14px; line-height: 1.2; }
.story-card__attr span { color: var(--c-muted); font-size: 12px; font-weight: 600; }

.story-card__metric {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: auto;
  padding: 6px 12px;
  border-radius: var(--r-pill);
  background: var(--c-white);
  border: 1px solid var(--c-line);
  color: var(--sc-c, var(--c-primary));
  font-size: 12px; font-weight: 800;
  letter-spacing: -0.01em;
  white-space: nowrap;
}
.story-card__metric .num { font-variant-numeric: tabular-nums; font-size: 13.5px; }

/* Featured (large) variant */
.story-card.is-featured {
  padding: 2.25rem 2.25rem 1.75rem;
}
.story-card.is-featured .story-card__quote {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.35;
}
.story-card.is-featured .story-card__quote::before {
  font-size: 5rem;
}

/* Smaller stacked column */
.stories__col {
  display: grid; grid-template-rows: 1fr 1fr; gap: 16px;
}
.stories__col .story-card { padding: 1.25rem 1.5rem; }
.stories__col .story-card .story-card__quote { font-size: 14.5px; line-height: 1.45; font-weight: 600; }
.stories__col .story-card .story-card__quote::before { font-size: 2.5rem; margin-bottom: 0.25rem; }
.stories__col .story-card .story-card__attr { padding-top: 0.875rem; }
.stories__col .story-card .story-card__attr .av { width: 36px; height: 36px; }

/* Bottom row — 3 equal cards */
.stories__row {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  margin-bottom: 2rem;
}
@media (max-width: 900px) { .stories__row { grid-template-columns: 1fr; } }
.stories__row .story-card { padding: 1.25rem 1.5rem; }
.stories__row .story-card .story-card__quote { font-size: 14.5px; line-height: 1.45; font-weight: 600; }
.stories__row .story-card .story-card__quote::before { font-size: 2.5rem; margin-bottom: 0.25rem; }

/* Happiness metric strip */
.happiness {
  margin-top: 1.5rem;
  background: linear-gradient(135deg, var(--c-primary) 0%, #4F3FBE 60%, #7C5DE0 100%);
  border-radius: var(--r-xl);
  padding: 1.5rem 2rem;
  display: grid; grid-template-columns: 1fr auto auto auto auto;
  gap: 2rem;
  align-items: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.happiness::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(255,255,255,.16) 0%, transparent 50%),
    radial-gradient(circle at 0% 100%, rgba(255,255,255,.10) 0%, transparent 50%);
  pointer-events: none;
}
@media (max-width: 900px) { .happiness { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .happiness { grid-template-columns: 1fr; } .happiness__intro { text-align: center; } }

.happiness__intro {
  position: relative;
}
.happiness__lbl {
  font-size: 11px; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: rgba(255,255,255,.7);
  margin-bottom: 6px;
}
.happiness__title {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  font-weight: 800; color: #fff; line-height: 1.2;
  letter-spacing: -0.02em;
}
.happiness__title em { font-style: italic; color: #FFD9A8; font-weight: 800; }

.happiness__metric {
  position: relative;
  text-align: center;
  padding: 0 1rem;
  border-left: 1px solid rgba(255,255,255,.18);
}
.happiness__metric:first-of-type { border-left: 0; }
@media (max-width: 600px) { .happiness__metric { border-left: 0; border-top: 1px solid rgba(255,255,255,.18); padding: 0.875rem 0 0; } .happiness__metric:first-of-type { border-top: 0; padding-top: 0; } }

.happiness__num {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.04em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.happiness__num em { font-style: normal; color: #FFD9A8; }
.happiness__num .small { font-size: 0.55em; opacity: .8; }
.happiness__cap {
  margin-top: 6px;
  font-size: 12px;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}

/* ──────────────────────────────────────────────────────────
   MOBILE APP HIGHLIGHT
   ────────────────────────────────────────────────────────── */
.mobile {
  position: relative;
  background: var(--c-white);
  padding: clamp(4.5rem, 5vw, 8rem) 0;
  overflow: hidden;
}
.mobile__grid {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
@media (max-width: 900px) { .mobile__grid { grid-template-columns: 1fr; gap: 2rem; } }

.mobile__copy { max-width: 540px; }
.mobile__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--c-primary-soft), #F4F1FE);
  border: 1px solid var(--c-line);
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700; color: var(--c-ink);
  margin-bottom: 1.25rem;
}
.mobile__eyebrow .dot {
  width: 22px; height: 22px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary), #7C5DE0);
  color: #fff;
  display: grid; place-items: center;
  font-size: 12px; font-weight: 800;
}
.mobile__title {
  font-size: clamp(1.875rem, 3.6vw, 2.625rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}
.mobile__title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--c-primary) 0%, #7C5DE0 100%);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.mobile__lede {
  margin-top: 1rem;
  font-size: 1.0625rem; line-height: 1.55;
  color: var(--c-body);
  max-width: 480px;
}
.mobile__feats {
  margin-top: 1.5rem;
  display: grid; gap: 12px;
}
.mobile__feat {
  display: grid; grid-template-columns: 36px 1fr; gap: 12px; align-items: center;
}
.mobile__feat .ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--mf-bg, var(--c-primary-tint));
  color: var(--mf-c, var(--c-primary));
  display: grid; place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,.6);
}
.mobile__feat .ic svg { width: 18px; height: 18px; }
.mobile__feat .text { font-size: 14px; color: var(--c-body); line-height: 1.4; }
.mobile__feat .text strong { display: block; color: var(--c-ink); font-weight: 800; font-size: 14.5px; margin-bottom: 1px; letter-spacing: -0.015em; }
.mobile__feat.f-blue   { --mf-c: var(--c-primary); --mf-bg: #EFF5FD; }
.mobile__feat.f-violet { --mf-c: #7C5DE0;          --mf-bg: #F4F1FE; }
.mobile__feat.f-mint   { --mf-c: #059669;          --mf-bg: #ECFDF5; }
.mobile__feat.f-amber  { --mf-c: #D97706;          --mf-bg: #FEF7E6; }

/* App store badges */
.mobile__stores {
  margin-top: 1.75rem;
  display: flex; gap: 10px; flex-wrap: wrap;
}
.store-badge {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px 8px 12px;
  background: var(--c-ink); color: #fff;
  border-radius: 12px;
  text-decoration: none;
  transition: all .25s var(--easing);
}
.store-badge:hover { transform: translateY(-2px); box-shadow: 0 12px 24px -8px rgba(11,27,61,.4); }
.store-badge svg { width: 22px; height: 22px; flex-shrink: 0; color: #fff; }
.store-badge .lbl { font-size: 9.5px; font-weight: 600; letter-spacing: 0.04em; opacity: .7; line-height: 1; }
.store-badge .nm { font-size: 14px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin-top: 1px; }

/* Phone visual — modeled after the actual RapidHR Mobile app */
.mobile__visual {
  --rhr-brand: #1E46A8;
  --rhr-brand-ink: #142E6F;
  --rhr-accent: #E23744;
  --rhr-bg: #F6F7FB;
  --rhr-hair: #E5E8F0;
  --rhr-ink: #0F172A;
  --rhr-ink2: #334155;
  --rhr-ink3: #64748B;
  --rhr-ink4: #94A3B8;

  position: relative;
  aspect-ratio: 1/1;
  display: grid; place-items: center;
}

/* Wide-spread atmospheric gradient behind phone — no circle */
.mobile__visual::before {
  content: '';
  position: absolute;
  inset: -10% -20% -10% -20%;
  background:
    radial-gradient(ellipse 55% 50% at 25% 30%, rgba(30,70,168,.65) 0%, rgba(30,70,168,.32) 35%, transparent 68%),
    radial-gradient(ellipse 50% 50% at 78% 70%, rgba(124,93,224,.62) 0%, rgba(124,93,224,.28) 38%, transparent 68%),
    radial-gradient(ellipse 65% 55% at 50% 50%, rgba(167,139,250,.22) 0%, transparent 72%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.phone {
  position: relative;
  width: 282px; height: 580px;
  background: #0B1B3D;
  border-radius: 44px;
  padding: 10px;
  box-shadow:
    0 0 0 2px rgba(255,255,255,.04) inset,
    0 30px 60px -10px rgba(11,27,61,.38),
    0 12px 28px rgba(11,27,61,.18);
  z-index: 1;
}
@media (max-width: 480px) { .phone { width: 248px; height: 510px; border-radius: 36px; } }

.phone__notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 100px; height: 22px; background: #0B1B3D; border-radius: 9999px;
  z-index: 3;
  display: flex; align-items: center; justify-content: flex-end; padding-right: 12px;
}
.phone__notch::after {
  content: ''; width: 6px; height: 6px; border-radius: 50%; background: #1E2A4A;
}

.phone__screen {
  width: 100%; height: 100%;
  background: var(--rhr-bg);
  border-radius: 36px;
  overflow: hidden;
  display: grid; grid-template-rows: 22px 1fr 50px;
  position: relative;
}
@media (max-width: 480px) { .phone__screen { border-radius: 28px; } }

.phone__status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 4px 26px 0;
  font-size: 10.5px; font-weight: 700; color: #fff;
  background: var(--rhr-brand);
}
.phone__status .icons { display: flex; gap: 4px; align-items: center; color: #fff; }
.phone__status .icons svg { width: 11px; height: 11px; }
.phone__status .icons .bat { width: 16px; height: 8px; border: 1px solid #fff; border-radius: 2px; position: relative; }
.phone__status .icons .bat::after { content: ''; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 70%; background: #fff; border-radius: 1px; }
.phone__status .icons .bat::before { content: ''; position: absolute; right: -2px; top: 1.5px; bottom: 1.5px; width: 1.5px; background: #fff; border-radius: 0 1px 1px 0; }

.phone__body {
  overflow: hidden;
  display: flex; flex-direction: column;
  background: var(--rhr-bg);
}

/* Brand top band (mirrors the real app) */
.phone__band {
  background: var(--rhr-brand);
  color: #fff;
  padding: 8px 14px 56px;
  position: relative;
  overflow: hidden;
}
.phone__band::before {
  content: ''; position: absolute; right: -50px; top: -40px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.05);
}
.phone__band::after {
  content: ''; position: absolute; right: -28px; bottom: 8px;
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--rhr-accent); opacity: .15;
}

.phone__topbar {
  display: flex; justify-content: space-between; align-items: center;
  position: relative; z-index: 1;
}
.phone__search {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 10.5px; font-weight: 500; color: #fff;
  letter-spacing: -0.005em;
}
.phone__search svg { width: 12px; height: 12px; }
.phone__icons { display: flex; gap: 2px; }
.phone__icons .ico {
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  position: relative;
}
.phone__icons .ico svg { width: 16px; height: 16px; color: #fff; }
.phone__icons .ico.bell::after {
  content: ''; position: absolute; top: 6px; right: 7px;
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--rhr-accent);
  box-shadow: 0 0 0 2px var(--rhr-brand);
}
.phone__icons .av-circle {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #5EE5C7, #1FA98E);
  border: 2px solid rgba(255,255,255,.35);
  display: grid; place-items: center;
  font-size: 10px; font-weight: 800; color: #fff;
  letter-spacing: -0.01em;
}

.phone__greet { margin-top: 12px; position: relative; z-index: 1; }
.phone__greet .hi { font-size: 11.5px; font-weight: 500; opacity: .85; line-height: 1.2; }
.phone__greet .name {
  font-size: 22px; font-weight: 700; letter-spacing: -0.025em;
  margin-top: 2px; line-height: 1.1;
}
.phone__greet .name span { opacity: .8; font-weight: 500; }
.phone__greet .role { font-size: 11px; opacity: .8; margin-top: 2px; }

/* Check-in card — floats over the band */
.phone__checkin {
  margin: -40px 12px 0;
  background: #fff;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 30px rgba(15,23,42,.10);
  position: relative; z-index: 2;
}
.phone__ci-row {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
}
.phone__ci-row .date { font-size: 11px; font-weight: 700; color: var(--rhr-ink); letter-spacing: -0.005em; }
.phone__ci-row .date small { display: block; font-size: 9.5px; color: var(--rhr-ink3); font-weight: 500; margin-top: 1px; letter-spacing: 0; }
.phone__ci-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 9.5px; font-weight: 700;
  background: #DCFCE7; color: #15803D;
}
.phone__ci-chip .dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.phone__ci-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px;
  margin-bottom: 10px;
}
.phone__ci-stat {
  background: #F6F7FB; border-radius: 8px; padding: 6px 8px;
}
.phone__ci-stat .lbl { font-size: 8.5px; font-weight: 600; color: var(--rhr-ink3); text-transform: uppercase; letter-spacing: 0.04em; }
.phone__ci-stat .v {
  font-size: 13px; font-weight: 700; color: var(--rhr-ink); letter-spacing: -0.015em;
  font-variant-numeric: tabular-nums; margin-top: 2px;
}
.phone__ci-stat.in .v { color: #EA580C; }
.phone__ci-btn {
  width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px;
  background: var(--rhr-brand);
  color: #fff;
  border-radius: 10px;
  font-size: 12.5px; font-weight: 700;
  letter-spacing: -0.005em;
}
.phone__ci-btn svg { width: 14px; height: 14px; }

/* Body scroll area */
.phone__feed {
  flex: 1;
  padding: 14px 12px 8px;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 12px;
}
.phone__sec-title {
  display: flex; justify-content: space-between; align-items: baseline;
  font-size: 11px; font-weight: 700; color: var(--rhr-ink2);
  letter-spacing: -0.01em;
}
.phone__sec-title a { font-size: 10px; font-weight: 600; color: var(--rhr-brand); }

/* Quick actions — 5-up grid */
.phone__quick {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px;
  margin-top: 6px;
}
.phone__quick .qa {
  background: #fff;
  border: 1px solid #EEF1F7;
  border-radius: 10px;
  padding: 7px 4px;
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.phone__quick .qa-ic {
  width: 28px; height: 28px; border-radius: 8px;
  display: grid; place-items: center;
  background: var(--qa-bg);
  color: var(--qa-c);
  flex-shrink: 0;
}
.phone__quick .qa-ic svg { width: 14px; height: 14px; }
.phone__quick .qa .lbl {
  font-size: 8.5px; font-weight: 600; color: var(--rhr-ink2);
  text-align: center; line-height: 1.2; letter-spacing: -0.005em;
}
.phone__quick .qa.qa-leave   { --qa-c: #0D9488; --qa-bg: #E6F7F4; }
.phone__quick .qa.qa-att     { --qa-c: #EA580C; --qa-bg: #FEEFE3; }
.phone__quick .qa.qa-pay     { --qa-c: #7C3AED; --qa-bg: #EFE7FE; }
.phone__quick .qa.qa-claim   { --qa-c: #D97706; --qa-bg: #FEF3DA; }
.phone__quick .qa.qa-doc     { --qa-c: #475569; --qa-bg: #EEF1F7; }

/* For-you cards */
.phone__cards { display: flex; flex-direction: column; gap: 7px; margin-top: 6px; }
.phone__fy {
  display: grid; grid-template-columns: 32px 1fr auto; gap: 9px; align-items: center;
  background: #fff;
  border: 1px solid #EEF1F7;
  border-radius: 12px;
  padding: 9px 10px;
}
.phone__fy .fy-ic {
  width: 32px; height: 32px; border-radius: 9px;
  display: grid; place-items: center;
  background: var(--fy-bg);
  color: var(--fy-c);
  flex-shrink: 0;
}
.phone__fy .fy-ic svg { width: 16px; height: 16px; }
.phone__fy .ttl { font-size: 11px; font-weight: 700; color: var(--rhr-ink); line-height: 1.25; letter-spacing: -0.005em; }
.phone__fy .sub { font-size: 9.5px; color: var(--rhr-ink3); margin-top: 1px; font-weight: 500; line-height: 1.3; }
.phone__fy .chev { width: 14px; height: 14px; color: var(--rhr-ink4); }
.phone__fy.fy-pay   { --fy-c: #7C3AED; --fy-bg: #EFE7FE; }
.phone__fy.fy-leave { --fy-c: #0D9488; --fy-bg: #E6F7F4; }

/* Bottom nav (5-up like real app) */
.phone__nav {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: #fff;
  border-top: 1px solid var(--rhr-hair);
  align-items: center;
  padding-bottom: 4px;
}
.phone__nav .item {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0;
  font-size: 8px; font-weight: 600; color: var(--rhr-ink4);
  letter-spacing: 0;
}
.phone__nav .item svg { width: 17px; height: 17px; }
.phone__nav .item.active { color: var(--rhr-brand); }
.phone__nav .item.active::before {
  content: ''; position: absolute; top: 0;
  width: 26px; height: 3px; border-radius: 0 0 3px 3px;
  background: var(--rhr-brand);
}

/* Floating callout cards around the phone */
.callout {
  position: absolute;
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: 14px;
  padding: 10px 14px 10px 12px;
  box-shadow: var(--shadow-md);
  z-index: 2;
  display: flex; align-items: center; gap: 10px;
  font-size: 12px;
  animation: bobMobile 7s ease-in-out infinite;
}
@keyframes bobMobile {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-8px) rotate(2deg); }
}
.callout .ic-w {
  width: 32px; height: 32px; border-radius: 9px;
  background: var(--co-bg, var(--c-mint-soft));
  color: var(--co-c, var(--c-ok));
  display: grid; place-items: center;
  flex-shrink: 0;
}
.callout .ic-w svg { width: 16px; height: 16px; }
.callout .lbl { font-size: 9.5px; color: var(--c-muted); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.callout .val { font-size: 12px; color: var(--c-ink); font-weight: 800; line-height: 1.2; margin-top: 1px; }

/* Tints aligned to the app's category palette */
.callout.c-1 { top: 6%; left: -2%;  --co-c: #EA580C; --co-bg: #FEEFE3; animation-delay: 0s; }   /* attendance / orange */
.callout.c-2 { top: 28%; right: -4%; --co-c: #7C3AED; --co-bg: #EFE7FE; animation-delay: 1.4s; } /* payroll / violet */
.callout.c-3 { bottom: 8%; left: -4%; --co-c: #0D9488; --co-bg: #E6F7F4; animation-delay: 2.8s; } /* leave / teal */
.callout.c-4 { bottom: 30%; right: -2%; --co-c: #D97706; --co-bg: #FEF3DA; animation-delay: 1.8s; } /* claims / amber */
.callout.c-5 { top: 48%; left: -7%; --co-c: #059669; --co-bg: #E1F5EC; animation-delay: 2.2s; } /* performance / emerald */

@media (max-width: 700px) {
  .callout.c-1, .callout.c-3 { left: -10%; }
  .callout.c-2, .callout.c-4 { right: -10%; }
}

/* ──────────────────────────────────────────────────────────
   CTA BAND
   ────────────────────────────────────────────────────────── */
.cta {
  position: relative;
  padding: clamp(2.5rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
  background: var(--c-white);
}
.cta__card {
  position: relative; isolation: isolate;
  border-radius: var(--r-xl);
  padding: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  background: linear-gradient(135deg, #0B1B3D 0%, #1E2A4A 40%, #4F3FBE 100%);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-xl);
}
.cta__card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse 60% 70% at 100% 0%, rgba(124,93,224,.5) 0%, transparent 60%),
    radial-gradient(ellipse 60% 70% at 0% 100%, rgba(33,120,221,.4) 0%, transparent 60%),
    radial-gradient(circle 200px at 50% 100%, rgba(238,26,26,.16) 0%, transparent 70%);
}
.cta__card::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.07) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 80%);
  pointer-events: none;
  opacity: .6;
}

.cta__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.18);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  font-size: 11.5px; font-weight: 800; color: #fff;
  text-transform: uppercase; letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
}
.cta__badge .dot { width: 6px; height: 6px; border-radius: 50%; background: #34D399; box-shadow: 0 0 0 3px rgba(52,211,153,.25); animation: pulse 2.5s infinite; }

.cta__title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: #fff;
  max-width: 760px; margin: 0 auto;
}
.cta__title em {
  font-style: normal;
  color: var(--c-accent);
  position: relative;
  display: inline-block;
  white-space: nowrap;
  font-weight: 800;
}
.cta__title em::after {
  content: '';
  position: absolute;
  left: -2%; right: -3%; bottom: -6px;
  height: 12px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 300 12' preserveAspectRatio='none'><path d='M2 7 C 80 1 150 11 220 5 C 260 2 285 9 298 6' stroke='%23EE1A1A' stroke-width='3' fill='none' stroke-linecap='round' opacity='.55'/></svg>");
  background-repeat: no-repeat; background-size: 100% 100%;
  pointer-events: none;
}
.cta__lede {
  margin-top: 1rem;
  font-size: 1.0625rem;
  color: rgba(255,255,255,.78);
  max-width: 580px; margin-inline: auto;
  line-height: 1.55;
}

.cta__actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  justify-content: center;
  margin-top: 2rem;
}
.cta__btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--c-ink) !important;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 15px;
  text-decoration: none;
  transition: all .25s var(--easing);
  border: 1px solid rgba(255,255,255,.6);
  position: relative;
  overflow: hidden; isolation: isolate;
  letter-spacing: -0.005em;
}
.cta__btn-primary::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, #FFD9A8 0%, #FF9C8A 100%);
  opacity: 0;
  transition: opacity .3s var(--easing);
}
.cta__btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -8px rgba(255,156,138,.5); }
.cta__btn-primary:hover::before { opacity: 1; }
.cta__btn-primary svg { width: 16px; height: 16px; }

.cta__btn-ghost {
  display: inline-flex; align-items: center; gap: 8px;
  background: transparent; color: #fff !important;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 800; font-size: 15px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.3);
  transition: all .25s var(--easing);
  letter-spacing: -0.005em;
}
.cta__btn-ghost:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.7); transform: translateY(-2px); }
.cta__btn-ghost svg { width: 16px; height: 16px; }

.cta__trust {
  margin-top: 1.5rem;
  display: flex; flex-wrap: wrap; gap: 1.5rem;
  justify-content: center;
  font-size: 13px; color: rgba(255,255,255,.65);
  font-weight: 600;
}
.cta__trust span {
  display: inline-flex; align-items: center; gap: 6px;
}
.cta__trust svg { width: 14px; height: 14px; color: #34D399; flex-shrink: 0; }

/* ──────────────────────────────────────────────────────────
   FOOTER
   ────────────────────────────────────────────────────────── */
.footer {
  position: relative;
  background:
    radial-gradient(ellipse 60% 40% at 0% 0%, rgba(33,120,221,.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 100%, rgba(124,93,224,.16) 0%, transparent 55%),
    linear-gradient(180deg, #0B1B3D 0%, #07132A 100%);
  color: rgba(255,255,255,.7);
  padding: clamp(2.75rem, 5vw, 4rem) 0 1.5rem;
  overflow: hidden;
}
.footer::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,.06) 1px, transparent 0);
  background-size: 32px 32px;
  -webkit-mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 90%);
          mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, #000 0%, transparent 90%);
  pointer-events: none;
  opacity: .6;
}

.footer__top {
  position: relative;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (max-width: 1000px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer__brand { grid-column: span 2; }
  .footer__newsletter { grid-column: span 2; }
}
@media (max-width: 600px) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__brand, .footer__newsletter { grid-column: span 1; }
}

.footer__brand img {
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: .95;
}
.footer__brand p {
  margin-top: 1.25rem;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.6);
  max-width: 320px;
}
.footer__brand p strong {
  color: #fff; font-weight: 700;
}
.footer__certs {
  margin-top: 1.5rem;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cert-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.85);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.cert-pill svg { width: 12px; height: 12px; color: #34D399; }
.cert-pill.amber svg { color: #F59E0B; }
.cert-pill.violet svg { color: #A78BFA; }

.footer__col h5 {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0 0 1.25rem;
}
.footer__col ul {
  list-style: none;
  padding: 0; margin: 0;
  display: grid; gap: 10px;
}
.footer__col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  font-weight: 500;
  text-decoration: none;
  transition: color .2s var(--easing);
  display: inline-flex; align-items: center; gap: 8px;
  letter-spacing: -0.005em;
}
.footer__col ul li a:hover { color: #fff; }
.footer__col ul li a .new-pill {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--c-primary), #7C5DE0);
  color: #fff;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer__col ul li a .new-pill.is-hot {
  background: linear-gradient(135deg, var(--c-accent), #B91C1C);
  display: inline-flex; align-items: center; gap: 4px;
  padding-left: 5px;
}
.footer__col ul li a .new-pill.is-hot::before {
  content: '';
  width: 5px; height: 5px; border-radius: 50%;
  background: #fff;
  animation: pulse 2s infinite;
}

/* Logo wordmark reveal — "HR" pulled out in brand red */
.footer__brand p .hr-mark {
  color: var(--c-accent);
  font-weight: 700;
}

/* Tagline accent above brand description */
.footer__tagline {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 1.25rem;
  padding: 5px 12px 5px 6px;
  background: rgba(238,26,26,.08);
  border: 1px solid rgba(238,26,26,.18);
  border-radius: var(--r-pill);
  font-size: 11.5px;
  font-weight: 800;
  color: var(--c-accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.footer__tagline .heart {
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--c-accent);
  color: #fff;
  display: inline-grid; place-items: center;
  font-size: 9px;
}
.footer__tagline .heart svg { width: 11px; height: 11px; }
.footer__col ul li a .soon-pill {
  font-size: 9px;
  padding: 2px 6px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.6);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid rgba(255,255,255,.1);
}

.footer__newsletter h5 {
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #fff;
  margin: 0 0 0.625rem;
}
.footer__newsletter p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0 0 1rem;
  line-height: 1.5;
  max-width: 300px;
}
.footer__newsletter form {
  display: flex; gap: 8px;
  margin-bottom: 1.25rem;
}
.footer__newsletter input {
  flex: 1; min-width: 0;
  padding: 11px 14px;
  font: inherit;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-pill);
  transition: all .25s var(--easing);
  letter-spacing: -0.005em;
}
.footer__newsletter input::placeholder { color: rgba(255,255,255,.4); }
.footer__newsletter input:focus {
  outline: none;
  border-color: var(--c-primary-bright);
  background: rgba(255,255,255,.08);
}
.footer__newsletter button {
  padding: 11px 20px;
  border: 0;
  cursor: pointer;
  background: #fff;
  color: var(--c-ink);
  border-radius: var(--r-pill);
  font: inherit;
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: -0.005em;
  transition: all .25s var(--easing);
  white-space: nowrap;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.footer__newsletter button::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(135deg, var(--c-primary), #7C5DE0);
  opacity: 0;
  transition: opacity .3s var(--easing);
}
.footer__newsletter button:hover { color: #fff; }
.footer__newsletter button:hover::before { opacity: 1; }
.footer__newsletter button svg { width: 13px; height: 13px; }

.footer__app-stores {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.footer__store {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px 7px 10px;
  background: rgba(255,255,255,.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  text-decoration: none;
  transition: all .25s var(--easing);
}
.footer__store:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.footer__store svg { width: 18px; height: 18px; flex-shrink: 0; }
.footer__store .lbl { font-size: 8.5px; font-weight: 600; letter-spacing: 0.04em; opacity: .7; line-height: 1; }
.footer__store .nm { font-size: 12px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.2; margin-top: 1px; }

/* Bottom bar */
.footer__bottom {
  position: relative;
  display: flex; flex-wrap: wrap; gap: 1rem 1.5rem;
  align-items: center; justify-content: space-between;
  padding-top: 1.5rem;
  font-size: 13px;
  color: rgba(255,255,255,.5);
}
.footer__bottom strong { color: rgba(255,255,255,.75); font-weight: 700; }
.footer__legal {
  display: flex; gap: 1.25rem; flex-wrap: wrap;
}
.footer__legal a {
  font-size: 13px;
  color: rgba(255,255,255,.55);
  text-decoration: none;
  transition: color .2s var(--easing);
  letter-spacing: -0.005em;
}
.footer__legal a:hover { color: #fff; }

.footer__social {
  display: flex; gap: 8px;
}
.footer__social a {
  width: 34px; height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: grid; place-items: center;
  color: rgba(255,255,255,.7);
  text-decoration: none;
  transition: all .25s var(--easing);
}
.footer__social a:hover {
  background: var(--c-primary);
  border-color: var(--c-primary);
  color: #fff;
  transform: translateY(-2px);
}
.footer__social a svg { width: 15px; height: 15px; }

/* Region selector */
.footer__region {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px 6px 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-pill);
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255,255,255,.75);
  cursor: pointer;
  transition: all .2s var(--easing);
}
.footer__region:hover { background: rgba(255,255,255,.1); color: #fff; }
.footer__region svg { width: 13px; height: 13px; }
.footer__region .flag {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: linear-gradient(180deg, #FF9933 0%, #FF9933 33%, #fff 33%, #fff 66%, #138808 66%, #138808 100%);
  border: 1px solid rgba(255,255,255,.2);
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(16px); animation: reveal 0.9s var(--easing) forwards; }
.r-1 { animation-delay: .05s; }
.r-2 { animation-delay: .15s; }
.r-3 { animation-delay: .25s; }
.r-4 { animation-delay: .35s; }
.r-5 { animation-delay: .45s; }
.r-6 { animation-delay: .55s; }
@keyframes reveal { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; animation: none; }
  .float { animation: none !important; }
  .hero::before { animation: none !important; }
}

/* Section placeholder note */
.wip-note {
  background: var(--c-amber-soft);
  border-top: 1px dashed #FCD34D;
  border-bottom: 1px dashed #FCD34D;
  padding: 14px 0;
  text-align: center;
  font-size: 13px; color: #92400E; font-weight: 600;
}
.wip-note code { background: rgba(146,64,14,.1); padding: 2px 8px; border-radius: 6px; font-size: 12px; color: #78350F; font-weight: 700; }

/* ──────────────────────────────────────────────────────────
   WP THEME ADDITIONS
   Skip-link for a11y, mobile drawer (absent from v8 standalone),
   and Gutenberg main-content wrapping.
   ────────────────────────────────────────────────────────── */

.skip-link {
  position: absolute; left: -9999px; top: -9999px;
  background: var(--c-ink); color: #fff;
  padding: 10px 14px; border-radius: 8px;
  font-weight: 700; font-size: 13px;
  z-index: 1000;
}
.skip-link:focus { left: 12px; top: 12px; }

.nav__mobile-toggle {
  display: none;
  background: transparent; border: 0; cursor: pointer;
  padding: 8px; border-radius: 10px;
  color: var(--c-ink);
}
.nav__mobile-toggle svg { width: 22px; height: 22px; }

@media (max-width: 980px) {
  .nav__list { display: none; }
  .nav__login, .btn-trial { display: none; }
  .nav__mobile-toggle { display: inline-flex; align-items: center; justify-content: center; }

  .nav.is-mobile-open {
    position: fixed; inset: 56px 0 0 0;
    background: rgba(255,255,255,.97);
    -webkit-backdrop-filter: blur(14px);
            backdrop-filter: blur(14px);
    z-index: 49;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 24px 24px 80px;
    overflow-y: auto;
  }
  .nav.is-mobile-open .nav__list {
    display: flex; flex-direction: column; gap: 4px;
    width: 100%;
  }
  .nav.is-mobile-open .nav__item {
    border-bottom: 1px solid var(--c-line-soft);
    padding: 6px 0;
  }
  .nav.is-mobile-open .nav__item button,
  .nav.is-mobile-open .nav__item > a {
    width: 100%; justify-content: space-between;
    padding: 14px 4px;
    font-size: 17px;
  }
  .nav.is-mobile-open .nav__mega {
    position: static; transform: none; width: 100%;
    opacity: 1; visibility: visible; pointer-events: auto;
    border: 0; box-shadow: none; padding: 4px 0 12px;
    background: transparent;
  }
  .nav.is-mobile-open .nav__mega::before,
  .nav.is-mobile-open .nav__mega::after { display: none; }
  .nav.is-mobile-open .nav__mega-grid { grid-template-columns: 1fr; gap: 2px; }
  .nav.is-mobile-open .nav__login { display: inline-flex; padding: 14px 0; font-size: 17px; }
  .nav.is-mobile-open .btn-trial,
  .nav.is-mobile-open .btn-primary { display: inline-flex; margin-top: 14px; }
  .nav.is-mobile-open .btn-trial,
  .nav.is-mobile-open .btn-primary { width: 100%; justify-content: center; }
}

/* main-content wrap inserted by templates */
main.wp-block-group { display: block; }

/* Kill WP's default blockGap (1.5rem) between top-level template parts and between
   patterns inside .rhr-main. Each v8 section already controls its own padding.
   WP's blockGap rules live under `.is-layout-flow > * + *` (and `:where(...)` variants).
   These selectors mirror them at higher specificity to win even without !important. */
body header.wp-block-template-part,
body main.rhr-main,
body footer.wp-block-template-part {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.rhr-main { padding: 0; --wp--style--block-gap: 0px; }
.rhr-main.wp-block-group.is-layout-flow > *,
.rhr-main.wp-block-group.is-layout-flow > * + *,
.rhr-main > *,
.rhr-main > * + * {
  margin-block-start: 0 !important;
  margin-block-end: 0 !important;
}
.rhr-main > section { display: block; }
.wp-site-blocks { --wp--style--block-gap: 0px; }
.wp-site-blocks > * + * { margin-block-start: 0 !important; }

/* ──────────────────────────────────────────────────────────
   PRODUCT DETAIL PAGE
   Single-product-template-only styles. Builds on the hero
   and section tokens established above.
   ────────────────────────────────────────────────────────── */

.product-hero {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(2.5rem, 4vw, 4rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(33,120,221,.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-primary-tint) 0%, #FFFFFF 100%);
}
.product-hero__inner { max-width: 760px; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.product-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 6px 14px 6px 6px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--c-ink);
  margin-bottom: 1.25rem;
}
.product-hero__eyebrow .badge {
  background: var(--c-primary); color: #fff;
  padding: 4px 10px; border-radius: var(--r-pill);
  font-size: 11px; font-weight: 800; letter-spacing: 0.06em;
  text-transform: uppercase;
}
.product-hero__title {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  color: var(--c-ink);
}
.product-hero__lede {
  margin: 1.25rem 0 0;
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
  color: var(--c-body);
  max-width: 600px;
}
.product-hero__ctas {
  display: flex; gap: 28px; align-items: center; flex-wrap: wrap;
  margin: 2rem 0 0;
}

.product-body {
  padding: clamp(3rem, 6vw, 5rem) 0;
  background: var(--c-white);
}
.product-body__inner { max-width: 800px; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.product-body__inner p { color: var(--c-body); font-size: 1.0625rem; line-height: 1.7; }
.product-body__inner h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin-top: 2.5rem; margin-bottom: 0.75rem; }
.product-body__inner h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.5rem; color: var(--c-ink); }
.product-body__inner ul { padding-left: 1.25rem; }
.product-body__inner ul li { margin-bottom: 0.5rem; line-height: 1.6; }

/* ──────────────────────────────────────────────────────────
   FORMS · contact lead form, login card, footer newsletter
   v8-tokenized; works on /contact/ and /login/.
   ────────────────────────────────────────────────────────── */

.rhr-form {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex; flex-direction: column; gap: 14px;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
}
.rhr-form--demo, .rhr-form--trial { max-width: 620px; }
.rhr-form__title { font-size: 1.5rem; font-weight: 800; color: var(--c-ink); letter-spacing: -0.025em; margin: 0; }
.rhr-form__lede { color: var(--c-body); font-size: 0.9375rem; line-height: 1.55; margin: 0 0 0.25rem; }
.rhr-form__field { display: flex; flex-direction: column; gap: 6px; }
.rhr-form__row--two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 600px) {
  .rhr-form__row--two { grid-template-columns: 1fr; }
}
.rhr-form__field label { font-size: 13px; font-weight: 600; color: var(--c-ink); letter-spacing: -0.005em; text-transform: none; }
.rhr-form__field label .req { color: var(--c-accent); margin-left: 1px; font-weight: 700; }
.rhr-form__hint { font-size: 12px; color: var(--c-muted); margin-top: 4px; }
.rhr-form__field input,
.rhr-form__field select,
.rhr-form__field textarea {
  font: inherit; font-size: 15px; color: var(--c-ink);
  background: var(--c-primary-tint);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  padding: 12px 14px;
  transition: border-color .2s var(--easing), background .2s var(--easing), box-shadow .2s var(--easing);
}
.rhr-form__field input:focus,
.rhr-form__field select:focus,
.rhr-form__field textarea:focus {
  outline: 0;
  background: var(--c-white);
  border-color: var(--c-primary);
  box-shadow: 0 0 0 3px rgba(6,90,174,.12);
}
.rhr-form__field textarea { resize: vertical; min-height: 96px; }
.rhr-form__field input::placeholder,
.rhr-form__field textarea::placeholder { color: #9CA3AF; }
.rhr-form__honey { position: absolute; left: -9999px; top: -9999px; }

/* Subscription-type radios (free trial) — simple inline buttons */
.rhr-form__radios {
  border: 0; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.rhr-form__radios legend {
  font-size: 13px; font-weight: 600; color: var(--c-ink);
  padding: 0; margin-bottom: 4px;
}
.rhr-form__radios legend .req { color: var(--c-accent); margin-left: 1px; }
.rhr-form__radios--inline {
  flex-direction: row; flex-wrap: wrap; gap: 18px 24px;
  align-items: center;
}
.rhr-form__radios--inline legend {
  flex: 0 0 100%;
  margin-bottom: 6px;
}
.rhr-form__radio-inline {
  display: inline-flex; align-items: center; gap: 8px;
  cursor: pointer;
  font-size: 14px; font-weight: 600; color: var(--c-ink);
  letter-spacing: -0.005em;
}
.rhr-form__radio-inline input[type="radio"] {
  appearance: none; -webkit-appearance: none;
  width: 18px; height: 18px;
  margin: 0;
  border: 2px solid var(--c-line);
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: border-color .2s var(--easing), box-shadow .2s var(--easing);
  flex-shrink: 0;
  position: relative;
}
.rhr-form__radio-inline input[type="radio"]:hover { border-color: var(--c-primary); }
.rhr-form__radio-inline input[type="radio"]:checked {
  border-color: var(--c-primary);
}
.rhr-form__radio-inline input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--c-primary);
}
.rhr-form__radio-inline input[type="radio"]:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 3px rgba(6,90,174,.18);
}

/* Password input with show/hide toggle */
.rhr-form__field--password { gap: 6px; }
.rhr-form__password { position: relative; display: block; }
.rhr-form__password input {
  width: 100%;
  padding-right: 44px;
}
.rhr-form__password-toggle {
  position: absolute;
  top: 50%; right: 8px;
  transform: translateY(-50%);
  width: 32px; height: 32px;
  display: grid; place-items: center;
  background: transparent; border: 0; padding: 0;
  cursor: pointer; color: var(--c-muted);
  border-radius: 8px;
  transition: color .2s var(--easing), background .2s var(--easing);
}
.rhr-form__password-toggle:hover { color: var(--c-ink); background: rgba(11,27,61,.05); }
.rhr-form__password-toggle.is-on { color: var(--c-primary); }
.rhr-form__password-toggle svg { width: 18px; height: 18px; }

.rhr-form__consent { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--c-muted); line-height: 1.5; }
.rhr-form__consent input { margin-top: 4px; }
.rhr-form__submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--c-accent); color: #fff;
  border: 0; cursor: pointer;
  padding: 14px 24px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  transition: all .25s var(--easing);
  box-shadow: 0 4px 12px -3px rgba(238,26,26,.4);
  margin-top: 6px;
}
.rhr-form__submit:hover:not(:disabled) {
  background: var(--c-accent-deep);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px -4px rgba(238,26,26,.5);
}
.rhr-form__submit:disabled { opacity: 0.65; cursor: wait; }
.rhr-form__status { font-size: 13.5px; min-height: 18px; margin: 0; }
.rhr-form__status[data-state='error'] { color: var(--c-accent-deep); font-weight: 600; }
.rhr-form__status[data-state='success'] { color: var(--c-ok); font-weight: 600; }
.rhr-form__success {
  text-align: center;
  padding: 1rem 0;
}
.rhr-form__success-icon {
  width: 56px; height: 56px; margin: 0 auto 0.75rem;
  border-radius: 50%; background: rgba(5,150,105,.12);
  display: grid; place-items: center; color: var(--c-ok);
}
.rhr-form__success-icon svg { width: 28px; height: 28px; }
.rhr-form__success h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

/* Newsletter variant — single-row inline */
.rhr-form--newsletter { padding: 0; border: 0; box-shadow: none; background: transparent; max-width: none; }
.rhr-form--newsletter .rhr-form__row { display: flex; gap: 8px; }
.rhr-form--newsletter .rhr-form__row input {
  flex: 1; padding: 12px 14px; border-radius: var(--r-pill);
  border: 1px solid var(--c-line); font-size: 14px;
}

/* Contact page wrapping */
.contact-hero {
  position: relative;
  padding: clamp(3rem, 5vw, 5rem) 0 clamp(2rem, 3vw, 3rem);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(33,120,221,.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-primary-tint) 0%, #FFFFFF 100%);
}
.contact-hero__inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; padding: 0 clamp(1.25rem, 4vw, 2rem); }
.contact-hero__copy { max-width: 560px; }
.contact-hero__eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white); border: 1px solid var(--c-line);
  padding: 6px 14px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--c-ink);
  margin-bottom: 1.25rem;
}
.contact-hero__title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.05; font-weight: 800; letter-spacing: -0.035em;
  color: var(--c-ink);
}
.contact-hero__lede { margin-top: 1.25rem; font-size: 1.0625rem; line-height: 1.55; color: var(--c-body); }
.contact-hero__points { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-direction: column; gap: 0.75rem; }
.contact-hero__points li {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.9375rem; color: var(--c-ink); font-weight: 500;
}
.contact-hero__points li::before {
  content: ''; width: 6px; height: 6px; margin-top: 9px;
  border-radius: 50%; background: var(--c-primary); flex-shrink: 0;
}
@media (max-width: 860px) { .contact-hero__inner { grid-template-columns: 1fr; } }

/* Alternative-route cards — used on /contact/ to point demo/trial seekers elsewhere */
.contact-hero__alts {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px;
  margin-top: 1.75rem;
}
@media (max-width: 600px) { .contact-hero__alts { grid-template-columns: 1fr; } }
.contact-hero__alt {
  display: grid; grid-template-columns: 36px 1fr 16px;
  align-items: center; gap: 12px;
  padding: 14px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-md);
  text-decoration: none;
  transition: all .2s var(--easing);
}
.contact-hero__alt:hover {
  border-color: var(--c-primary);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.contact-hero__alt .ic {
  width: 36px; height: 36px; border-radius: 9px;
  background: var(--c-primary-tint); color: var(--c-primary);
  display: grid; place-items: center;
}
.contact-hero__alt .ic svg { width: 16px; height: 16px; }
.contact-hero__alt strong { display: block; color: var(--c-ink); font-size: 14px; font-weight: 700; letter-spacing: -0.005em; }
.contact-hero__alt small { display: block; color: var(--c-muted); font-size: 12.5px; margin-top: 1px; font-weight: 500; }
.contact-hero__alt .arr { width: 16px; height: 16px; color: var(--c-muted); transition: transform .2s var(--easing), color .2s var(--easing); }
.contact-hero__alt:hover .arr { color: var(--c-primary); transform: translateX(2px); }

/* Demo page — small inline customer quote card under the bullet list */
.contact-hero__quote {
  margin-top: 1.75rem;
  padding: 1rem 1.25rem;
  background: var(--c-primary-tint);
  border-left: 3px solid var(--c-primary);
  border-radius: var(--r-sm);
  font-size: 0.9375rem;
  color: var(--c-ink);
  line-height: 1.55;
  font-style: italic;
  position: relative;
}
.contact-hero__quote-mark {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--c-primary);
  margin-right: 4px;
  line-height: 1;
  vertical-align: -4px;
  font-style: normal;
}
.contact-hero__quote cite {
  display: block;
  margin-top: 0.5rem;
  font-style: normal;
  font-weight: 600;
  font-size: 12.5px;
  color: var(--c-muted);
}

/* Trial page — perks row beneath bullets */
.contact-hero__perks {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 1.5rem;
}
.contact-hero__perks .perk {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600; color: var(--c-ink);
}
.contact-hero__perks .perk svg { width: 14px; height: 14px; color: var(--c-ok); }

/* Page accent tints — subtle gradient differentiation */
.contact-hero--demo {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(33,120,221,.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-primary-tint) 0%, #FFFFFF 100%);
}
.contact-hero--trial {
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(5,150,105,.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-mint-soft) 0%, #FFFFFF 100%);
}
.contact-hero--trial .contact-hero__eyebrow .badge,
.contact-hero--trial .contact-hero__points li::before {
  background: var(--c-ok);
}

/* Login card */
.login-page {
  min-height: 70vh;
  display: grid; place-items: center;
  padding: clamp(2.5rem, 4vw, 4rem) clamp(1rem, 4vw, 2rem);
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(33,120,221,.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-primary-tint) 0%, #FFFFFF 100%);
}
.login-card {
  background: var(--c-white);
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg);
  padding: clamp(2rem, 4vw, 2.5rem);
  width: 100%; max-width: 420px;
  text-align: center;
}
.login-card__mark {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-bright) 100%);
  color: #fff; display: grid; place-items: center;
  font-size: 24px; font-weight: 900; letter-spacing: -0.04em;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 16px -4px rgba(6,90,174,.4);
}
.login-card h1 { font-size: 1.75rem; font-weight: 800; letter-spacing: -0.025em; margin-bottom: 0.5rem; }
.login-card p { color: var(--c-body); font-size: 0.9375rem; line-height: 1.55; margin: 0 0 1.5rem; }
.login-card__actions { display: flex; flex-direction: column; gap: 12px; }
.login-card__primary {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--c-primary); color: #fff !important;
  padding: 14px 26px; border-radius: var(--r-pill);
  font-weight: 700; font-size: 15px; letter-spacing: -0.005em;
  text-decoration: none;
  transition: all .25s var(--easing);
  box-shadow: 0 4px 12px -3px rgba(6,90,174,.4);
}
.login-card__primary:hover { background: var(--c-primary-deep); transform: translateY(-1px); box-shadow: var(--shadow-blue); color: #fff !important; }
.login-card__secondary {
  font-size: 13.5px; color: var(--c-muted); text-decoration: none;
}
.login-card__secondary:hover { color: var(--c-primary); }
.login-card hr { border: 0; border-top: 1px solid var(--c-line-soft); margin: 1.5rem 0; }
.login-card__help { font-size: 13px; color: var(--c-muted); }
.login-card__help a { color: var(--c-primary); font-weight: 600; }

/* 404 */
.rhr-404 {
  min-height: 60vh;
  display: grid; place-items: center;
  padding: clamp(3rem, 5vw, 5rem) clamp(1rem, 4vw, 2rem);
  background:
    radial-gradient(ellipse 60% 40% at 50% 0%, rgba(33,120,221,.08) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-primary-tint) 0%, #FFFFFF 100%);
  text-align: center;
}
.rhr-404__num {
  font-size: clamp(4rem, 10vw, 6rem);
  font-weight: 900; letter-spacing: -0.06em;
  background: linear-gradient(135deg, var(--c-primary) 0%, var(--c-primary-bright) 100%);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
}
.rhr-404__title { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 1rem 0; font-weight: 800; letter-spacing: -0.025em; }
.rhr-404__lede { color: var(--c-body); font-size: 1.0625rem; max-width: 520px; margin: 0 auto 2rem; line-height: 1.55; }
.rhr-404__ctas { display: flex; gap: 28px; justify-content: center; align-items: center; flex-wrap: wrap; }

/* Generic page title (rendered by templates/page.html via wp:post-title). */
.product-body__inner .product-body__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--c-ink);
  margin: 0 0 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--c-line-soft);
}

/* Legal pages — Privacy Policy & Terms styling. Sits inside .product-body__inner. */
.product-body__inner .legal-meta {
  font-size: 13px;
  color: var(--c-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--c-line-soft);
}
.product-body__inner .legal-h {
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--c-ink);
  margin-top: 2.75rem;
  margin-bottom: 0.75rem;
  padding-top: 0.5rem;
  scroll-margin-top: 100px;
}
.product-body__inner .legal-h:first-of-type { margin-top: 1.5rem; }
.product-body__inner .legal-list {
  list-style: none;
  padding-left: 0;
  display: flex; flex-direction: column;
  gap: 0.625rem;
  margin: 0.75rem 0 1.25rem;
}
.product-body__inner .legal-list li {
  position: relative;
  padding-left: 1.5rem;
  line-height: 1.7;
  color: var(--c-body);
}
.product-body__inner .legal-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.7rem;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--c-primary);
  flex-shrink: 0;
}
.product-body__inner .legal-list--lettered li {
  padding-left: 0;
}
.product-body__inner .legal-list--lettered li::before { display: none; }
.product-body__inner .legal-list--lettered li strong:first-child { color: var(--c-primary); margin-right: 0.25rem; }
.product-body__inner a { color: var(--c-primary); font-weight: 600; }
.product-body__inner a:hover { color: var(--c-primary-deep); text-decoration: underline; }

/* Coming soon — used for marketing pages and module stubs that are seeded but not yet built */
.coming-soon {
  position: relative;
  padding: clamp(3.5rem, 6vw, 6rem) 0 clamp(3rem, 5vw, 5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(33,120,221,.10) 0%, transparent 60%),
    linear-gradient(180deg, var(--c-primary-tint) 0%, #FFFFFF 100%);
}
.coming-soon::after {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(11,27,61,.05) 1px, transparent 0);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 85%);
          mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 0%, transparent 85%);
  pointer-events: none;
  opacity: .5;
}
.coming-soon__inner {
  position: relative; z-index: 1;
  max-width: 720px;
  padding: 0 clamp(1.25rem, 4vw, 2rem);
  text-align: center;
  margin: 0 auto;
}
.coming-soon__badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--c-white);
  border: 1px solid var(--c-line);
  padding: 7px 16px;
  border-radius: var(--r-pill);
  font-size: 12.5px; font-weight: 700; color: var(--c-ink);
  letter-spacing: 0.08em; text-transform: uppercase;
  margin-bottom: 1.75rem;
  box-shadow: var(--shadow-xs);
}
.coming-soon__badge .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--c-warn);
  box-shadow: 0 0 0 3px rgba(217,119,6,.20);
  animation: pulse 2.5s ease-in-out infinite;
}
.coming-soon__title {
  font-size: clamp(2.25rem, 4.4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 800; letter-spacing: -0.035em;
  color: var(--c-ink);
  margin: 0;
}
.coming-soon__lede {
  font-size: clamp(1.0625rem, 1.4vw, 1.1875rem);
  line-height: 1.55;
  color: var(--c-body);
  max-width: 560px;
  margin: 1.25rem auto 0;
}
.coming-soon__cta {
  display: flex; gap: 28px; justify-content: center; align-items: center;
  flex-wrap: wrap; margin-top: 2.5rem;
}
.coming-soon__notify {
  margin-top: 3rem; padding-top: 2.5rem;
  border-top: 1px solid var(--c-line-soft);
  max-width: 480px;
  margin-left: auto; margin-right: auto;
}
.coming-soon__notify-lede {
  font-size: 0.9375rem; color: var(--c-body); margin: 0 0 1rem;
  line-height: 1.55;
}
.coming-soon__notify .rhr-form { margin: 0; max-width: none; }
