/* ==========================================================================
   StaffiQ — Design System
   Brand: Smart employee assessment & workforce analytics for African SMEs
   By RevenStrat Integrated Services. Sibling product to TaskPulse.
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand greens */
  --ink: #0A1F17;
  --evergreen-900: #00241C;
  --evergreen-800: #00352A;
  --evergreen-700: #004331;   /* primary brand, matches the app theme */
  --evergreen-600: #0A5B44;
  --emerald: #0E9F73;
  --emerald-400: #4FC79B;
  --emerald-300: #8FE9C4;

  /* Accents */
  --lime: #C6F24E;            /* the "spark of intelligence" */
  --lime-strong: #9BD32A;     /* legible lime for text on light */
  --amber: #FFB020;
  --coral: #FF6F61;

  /* Neutrals */
  --paper: #FFFFFF;
  --cream: #FBFAF6;
  --sand: #F2EEE3;
  --line: #E6E1D3;
  --muted: #566259;
  --ink-soft: #24352D;

  /* Typography */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, sans-serif;

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 1px 2px rgba(4, 35, 27, 0.06), 0 2px 8px rgba(4, 35, 27, 0.05);
  --shadow-md: 0 10px 30px rgba(4, 35, 27, 0.10);
  --shadow-lg: 0 30px 70px rgba(4, 35, 27, 0.18);
  --shadow-glow: 0 20px 60px rgba(14, 159, 115, 0.30);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(20px, 5vw, 48px);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--emerald); outline-offset: 3px; border-radius: 6px; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.06; letter-spacing: 0; color: var(--ink); }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.1rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); letter-spacing: 0; }
h4 { font-size: 1.12rem; letter-spacing: 0; }
p { color: var(--ink-soft); }
strong { font-weight: 700; color: var(--ink); }
.lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); color: var(--ink-soft); line-height: 1.55; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.82rem;
  letter-spacing: 0; text-transform: uppercase; color: var(--evergreen-700);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--emerald); border-radius: 2px; }
.eyebrow.on-dark { color: var(--lime); }
.eyebrow.on-dark::before { background: var(--lime); }
.text-accent { color: var(--evergreen-700); }
.text-lime { color: var(--lime-strong); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.container-wide { max-width: 1320px; }
.section { padding-block: clamp(64px, 9vw, 128px); position: relative; }
.section-tight { padding-block: clamp(48px, 6vw, 84px); }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 16px; }
.stack > * + * { margin-top: 1rem; }
.grid { display: grid; gap: clamp(18px, 2.4vw, 28px); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.bg-cream { background: var(--cream); }
.bg-sand { background: var(--sand); }
.bg-paper { background: var(--paper); }
.bg-evergreen { background: var(--evergreen-800); color: #EAF3EE; }
.bg-evergreen h1, .bg-evergreen h2, .bg-evergreen h3, .bg-evergreen h4 { color: #FBFAF6; }
.bg-evergreen p { color: #B7CEC4; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  padding: 14px 24px; border-radius: var(--r-pill); border: 1.5px solid transparent;
  cursor: pointer; transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease), color 0.2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--evergreen-700); color: #fff; box-shadow: var(--shadow-md); }
.btn-primary:hover { background: var(--evergreen-600); box-shadow: var(--shadow-lg); }
.btn-lime { background: var(--lime); color: var(--evergreen-900); box-shadow: 0 12px 30px rgba(198, 242, 78, 0.4); }
.btn-lime:hover { background: #d3f76a; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--evergreen-700); background: rgba(0,67,49,0.04); }
.btn-ghost.on-dark { color: #EAF3EE; border-color: rgba(255,255,255,0.28); }
.btn-ghost.on-dark:hover { border-color: var(--lime); background: rgba(198,242,78,0.08); }
.btn-lg { padding: 17px 32px; font-size: 1.06rem; }
.btn-block { width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; color: var(--evergreen-700); }
.link-arrow svg { width: 17px; transition: transform 0.25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow.on-dark { color: var(--lime); }

/* ---------- Pills / badges ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px;
  border-radius: var(--r-pill); font-size: 0.85rem; font-weight: 600;
  background: #fff; border: 1px solid var(--line); color: var(--ink-soft);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); }
.pill.on-dark { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.16); color: #DCEBE4; }
.tag { font-size: 0.72rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; padding: 4px 10px; border-radius: 6px; background: rgba(14,159,115,0.12); color: var(--evergreen-700); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: #f7faf9;
  border-top: 6px solid #2e3438;
  border-bottom: 18px solid #061725;
  box-shadow: 0 1px 0 rgba(6, 23, 37, 0.05);
  transition: box-shadow 0.3s, background 0.3s;
}
.site-header.scrolled { box-shadow: 0 10px 30px rgba(4,35,27,0.08); }
.site-header .container { max-width: 1740px; padding-inline: clamp(22px, 4vw, 64px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: 0; color: var(--ink); }
.brand .mark { width: 38px; height: 38px; border-radius: 8px; flex: none; object-fit: contain; }
.brand .wm-iq { color: var(--emerald); }
.site-header .nav { height: 96px; gap: clamp(18px, 3vw, 36px); }
.site-header .brand { gap: 16px; min-width: max-content; }
.site-header .brand .mark { width: 64px; height: 64px; border-radius: 50%; }
.site-header .brand-copy { display: grid; gap: 5px; line-height: 1; }
.site-header .brand-name { font-size: clamp(1.6rem, 2.4vw, 2.15rem); font-weight: 800; letter-spacing: 0; color: #0b1714; }
.site-header .brand-tagline { color: #d99b00; font-family: var(--font-display); font-size: 0.76rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: clamp(12px, 2vw, 26px); margin-left: auto; }
.nav-links a { padding: 13px 21px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 700; font-size: 1.02rem; color: #2f3a4c; transition: background 0.2s, color 0.2s, box-shadow 0.2s; white-space: nowrap; }
.nav-links a:hover { background: rgba(0,67,49,0.07); color: var(--evergreen-700); }
.nav-links a.active, .nav-links a[aria-current="page"] { background: var(--evergreen-700); color: #fff; box-shadow: 0 10px 24px rgba(0,67,49,0.18); }
.nav-cta { display: flex; align-items: center; gap: 12px; margin-left: clamp(8px, 1.8vw, 24px); }
.site-header .nav-cta .btn-ghost { border-color: #c6d3d0; color: var(--evergreen-800); background: rgba(255,255,255,0.48); padding: 13px 24px; font-weight: 800; }
.site-header .nav-cta .btn-ghost:hover { background: #fff; border-color: var(--evergreen-700); transform: none; box-shadow: 0 8px 20px rgba(0,67,49,0.08); }
.nav-toggle { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid var(--line); background: #fff; cursor: pointer; align-items: center; justify-content: center; }
.nav-toggle span { position: relative; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.3s var(--ease); }
.nav-toggle span::before { top: -6px; } .nav-toggle span::after { top: 6px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

@media (min-width: 1101px) and (max-width: 1240px) {
  .site-header .container { padding-inline: clamp(18px, 2.4vw, 34px); }
  .site-header .nav { gap: 16px; }
  .site-header .brand .mark { width: 56px; height: 56px; }
  .site-header .brand-name { font-size: 1.82rem; }
  .site-header .brand-tagline { font-size: 0.62rem; letter-spacing: 0.18em; }
  .nav-links { gap: 8px; }
  .nav-links a { padding: 11px 14px; font-size: 0.94rem; }
  .site-header .nav-cta .btn-ghost { padding: 11px 18px; font-size: 0.94rem; }
}

@media (max-width: 1100px) {
  .site-header { border-top-width: 5px; border-bottom-width: 12px; }
  .site-header .nav { height: 82px; }
  .site-header .brand { gap: 11px; }
  .site-header .brand .mark { width: 50px; height: 50px; }
  .site-header .brand-name { font-size: 1.52rem; }
  .site-header .brand-tagline { font-size: 0.58rem; letter-spacing: 0.15em; }
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: inline-flex; }
  .mobile-menu {
    position: fixed; inset: 99px 0 auto 0; background: #f7faf9;
    border-bottom: 1px solid var(--line); padding: 18px var(--gutter) 28px;
    display: grid; gap: 6px; transform: translateY(-12px); opacity: 0; pointer-events: none;
    transition: 0.28s var(--ease); z-index: 99; box-shadow: var(--shadow-md);
  }
  body.nav-open .mobile-menu { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .mobile-menu a { padding: 14px 12px; border-radius: var(--r-md); font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; border-bottom: 1px solid var(--line); }
  .mobile-menu a.active, .mobile-menu a[aria-current="page"] { background: var(--evergreen-700); color: #fff; border-bottom-color: transparent; padding-inline: 16px; }
  .mobile-menu a:last-of-type { border-bottom: 0; }
  .mobile-menu .btn { margin-top: 10px; }
}
@media (max-width: 430px) {
  .site-header .brand .mark { width: 44px; height: 44px; }
  .site-header .brand-name { font-size: 1.34rem; }
  .site-header .brand-tagline { font-size: 0.52rem; letter-spacing: 0.1em; }
}
@media (min-width: 1101px) { .mobile-menu { display: none; } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 110px); }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg .blob { display: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; } }
.hero h1 { margin-top: 20px; }
.hero h1 .hl { color: var(--evergreen-700); position: relative; white-space: normal; }
.hero h1 .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.08em; height: 0.34em; background: var(--lime); opacity: 0.55; z-index: -1; border-radius: 4px; }
.hero .lead { margin-top: 22px; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; margin-top: 30px; color: var(--muted); font-size: 0.92rem; }
.hero-proof .check { color: var(--emerald); font-weight: 700; }

/* ---------- Product mockup (dashboard) ---------- */
.mock {
  background: linear-gradient(160deg, #063b2c, #00291f);
  border-radius: var(--r-lg); padding: 18px; box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255,255,255,0.08); position: relative;
}
.mock::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); background: radial-gradient(120% 80% at 80% 0%, rgba(198,242,78,0.14), transparent 60%); pointer-events: none; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 4px 4px 14px; }
.mock-bar i { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.24); display: inline-block; }
.mock-bar i:nth-child(1){ background:#FF6F61; } .mock-bar i:nth-child(2){ background:#FFB020; } .mock-bar i:nth-child(3){ background:#8FE9C4; }
.mock-bar span { margin-left: auto; font-size: 0.72rem; color: rgba(255,255,255,0.5); font-family: var(--font-body); }
.mock-screen { background: #F7FBF9; border-radius: 16px; padding: 16px; display: grid; gap: 12px; }
.mock-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 12px; }
.mock-card { background: #fff; border: 1px solid #E9EEE9; border-radius: 12px; padding: 14px; box-shadow: 0 2px 8px rgba(4,35,27,0.04); }
.mock-card .label { font-size: 0.72rem; color: #6d7b72; font-weight: 600; }
.mock-kpi { font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; color: var(--evergreen-700); letter-spacing: 0; line-height: 1; margin-top: 6px; }
.mock-kpi small { font-size: 0.78rem; color: var(--emerald); font-weight: 700; margin-left: 6px; }
.mock-chart { display: flex; align-items: flex-end; gap: 8px; height: 78px; margin-top: 12px; }
.mock-chart .bar { flex: 1; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, var(--lime), var(--emerald-300)); }
.mock-chart .bar.alt { background: linear-gradient(180deg, #C9DCD2, #9DB8AC); }
.mock-legend { display: flex; gap: 14px; margin-top: 10px; font-size: 0.7rem; color: #6d7b72; }
.mock-legend i { display: inline-block; width: 9px; height: 9px; border-radius: 3px; margin-right: 5px; vertical-align: middle; }
.mock-list { display: grid; gap: 9px; }
.mock-li { display: flex; align-items: center; gap: 10px; font-size: 0.76rem; color: #3d4a43; }
.mock-li .av { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--emerald), var(--evergreen-700)); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.7rem; flex: none; font-family: var(--font-display); }
.mock-li .meter { flex: 1; height: 7px; border-radius: 4px; background: #E9EEE9; overflow: hidden; }
.mock-li .meter b { display: block; height: 100%; border-radius: 4px; background: var(--emerald); }
.mock-li .pct { font-weight: 700; color: var(--evergreen-700); font-size: 0.72rem; }
.mock-float {
  position: absolute; background: #fff; border-radius: 14px; padding: 12px 14px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 10px; font-size: 0.8rem; font-weight: 600; color: var(--ink);
  border: 1px solid #EAF0EB;
}
.mock-float .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.mock-float.f1 { top: 26px; left: -26px; }
.mock-float.f2 { bottom: 30px; right: -22px; }
@media (max-width: 1080px) { .mock-float { display: none; } }

/* ---------- Trust / logos bar ---------- */
.trust { border-block: 1px solid var(--line); background: var(--cream); }
.trust-inner { display: flex; justify-content: center; padding: 24px 20px 14px; text-align: center; }
.trust-inner .t-label { font-size: 0.88rem; color: var(--muted); font-weight: 700; }
.sector-marquee { width: 100%; max-width: 100%; overflow: hidden; contain: paint; padding: 9px 0 25px; mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sector-track { display: flex; flex-wrap: nowrap; align-items: center; width: max-content; gap: 20px; animation: sector-scroll 58s linear infinite; will-change: transform; }
.sector-group { display: flex; flex-wrap: nowrap; align-items: center; gap: 20px; flex: none; white-space: nowrap; }
.sector-group .t-item { display: inline-flex; align-items: center; gap: 20px; flex: none; white-space: nowrap; padding: 7px 13px; border: 1px solid rgba(14,159,115,0.18); border-radius: 999px; background: rgba(255,255,255,0.72); box-shadow: 0 2px 8px rgba(0,67,49,0.04); font-family: var(--font-display); font-weight: 700; font-size: 0.98rem; color: var(--evergreen-700); letter-spacing: 0; }
.sector-group .t-item::after { content: ""; width: 5px; height: 5px; margin-right: -25px; border-radius: 50%; background: var(--lime-strong); box-shadow: 0 0 0 3px rgba(198,242,78,0.22); }
.sector-marquee:hover .sector-track, .sector-marquee:focus .sector-track, .sector-marquee:focus-within .sector-track { animation-play-state: paused; }
@keyframes sector-scroll {
  from { transform: translateX(calc(-50% - 10px)); }
  to { transform: translateX(0); }
}
@media (prefers-reduced-motion: reduce) {
  .sector-marquee { mask-image: none; overflow: visible; padding-inline: 20px; }
  .sector-track { width: auto; animation: none; }
  .sector-track { justify-content: center; }
  .sector-group { flex-wrap: wrap; justify-content: center; gap: 12px 20px; white-space: normal; }
  .sector-group .t-item::after { display: none; }
  .sector-group[aria-hidden="true"] { display: none; }
}

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 30px); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; height: 100%; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D7E0D2; }
.card .icon { width: 52px; height: 52px; border-radius: 8px; display: grid; place-items: center; margin-bottom: 18px; background: rgba(14,159,115,0.10); color: var(--evergreen-700); }
.card .icon svg { width: 26px; height: 26px; }
.card .icon .naira-mark { font-family: var(--font-display); font-size: 2rem; font-weight: 600; line-height: 1; }
.card h3 { margin-bottom: 10px; }
.card p { font-size: 0.98rem; }
.card.feature-lime .icon { background: rgba(198,242,78,0.35); color: var(--evergreen-800); }
.card.dark { background: var(--evergreen-800); border-color: rgba(255,255,255,0.10); color: #DCEBE4; }
.card.dark h3 { color: #fff; } .card.dark p { color: #B7CEC4; }
.card.dark .icon { background: rgba(198,242,78,0.16); color: var(--lime); }

/* value list */
.ticks { display: grid; gap: 13px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-soft); }
.ticks li svg { flex: none; width: 22px; height: 22px; color: var(--emerald); margin-top: 2px; }
.ticks.on-dark li { color: #C6DAD0; } .ticks.on-dark li svg { color: var(--lime); }

/* split feature block */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.split.rev .split-media { order: -1; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split.rev .split-media { order: 0; } }

/* ---------- Stats ---------- */
.stat { text-align: center; padding: 8px; }
.stat .n { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.3rem, 4vw, 3.2rem); letter-spacing: 0; line-height: 1; color: var(--evergreen-700); }
.bg-evergreen .stat .n { color: var(--lime); }
.stat .l { margin-top: 10px; font-size: 0.95rem; color: var(--muted); }
.bg-evergreen .stat .l { color: #A9C4B9; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; align-items: start; }
.step .num { counter-increment: step; width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: #fff; border: 1px solid var(--line); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: var(--evergreen-700); }
.step .num::before { content: counter(step, decimal-leading-zero); }
.step.active .num { background: var(--evergreen-700); color: #fff; border-color: var(--evergreen-700); }

/* ---------- Roles tabs ---------- */
.roles { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; }
@media (max-width: 820px) { .roles { grid-template-columns: 1fr; } }
.role-tabs { display: grid; gap: 8px; }
.role-tab { display: flex; align-items: center; gap: 13px; padding: 16px; border-radius: var(--r-md); background: #fff; border: 1px solid var(--line); cursor: pointer; text-align: left; transition: 0.2s; width: 100%; }
.role-tab:hover { border-color: var(--emerald); }
.role-tab.active { background: var(--evergreen-700); border-color: var(--evergreen-700); color: #fff; box-shadow: var(--shadow-md); }
.role-tab .ic { width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; flex: none; background: rgba(14,159,115,0.10); color: var(--evergreen-700); }
.role-tab.active .ic { background: rgba(198,242,78,0.22); color: var(--lime); }
.role-tab .rt-title { font-family: var(--font-display); font-weight: 600; font-size: 1rem; }
.role-tab .rt-sub { font-size: 0.8rem; color: var(--muted); }
.role-tab.active .rt-sub { color: #A9C4B9; }
.role-panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 36px); min-height: 260px; }
.role-panel[hidden] { display: none; }
.role-panel h3 { margin-bottom: 14px; }

/* ---------- Cross-sell (TaskPulse) ---------- */
.ecosystem { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: stretch; }
@media (max-width: 820px) { .ecosystem { grid-template-columns: 1fr; } }
.eco-card { border-radius: var(--r-lg); padding: clamp(24px, 3vw, 34px); border: 1px solid rgba(255,255,255,0.12); position: relative; overflow: hidden; }
.eco-card .eco-logo { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; margin-bottom: 8px; }
.eco-card .eco-mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.eco-card.staffiq { background: linear-gradient(165deg, #0A5B44, #00352A); color: #EAF3EE; }
.eco-card.taskpulse { background: #07382e; color: #EAF3EE; }
.eco-card .eco-role { font-size: 0.8rem; letter-spacing: 0; text-transform: uppercase; font-weight: 700; opacity: 0.7; }
.eco-plus { display: grid; place-items: center; }
.eco-plus span { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: var(--lime); color: var(--evergreen-900); font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; box-shadow: var(--shadow-glow); }
@media (max-width: 820px) { .eco-plus span { rotate: 90deg; } }

/* ---------- Pricing ---------- */
.price-toggle { display: inline-flex; align-items: center; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-pill); padding: 5px; margin-top: 22px; }
.price-toggle button { border: 0; background: transparent; padding: 9px 20px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 600; font-size: 0.92rem; cursor: pointer; color: var(--muted); transition: 0.2s; }
.price-toggle button.active { background: var(--evergreen-700); color: #fff; }
.price-toggle .save { font-size: 0.72rem; color: var(--lime-strong); font-weight: 700; }
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
@media (max-width: 940px) { .price-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; } }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); display: flex; flex-direction: column; position: relative; }
.price-card.featured { background: var(--evergreen-800); color: #DCEBE4; border-color: var(--evergreen-800); box-shadow: var(--shadow-lg); transform: translateY(-8px); }
@media (max-width: 940px) { .price-card.featured { transform: none; } }
.price-card.featured h3 { color: #fff; }
.price-card .plan-name { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.price-card .plan-desc { font-size: 0.9rem; color: var(--muted); margin-top: 6px; min-height: 42px; }
.price-card.featured .plan-desc { color: #A9C4B9; }
.price-amt { font-family: var(--font-display); font-weight: 700; font-size: 2.6rem; letter-spacing: 0; margin-top: 18px; line-height: 1; }
.price-amt .cur { font-size: 1.3rem; vertical-align: super; }
.price-amt .per { display: block; margin-top: 9px; font-size: 0.86rem; line-height: 1.35; font-weight: 600; color: var(--muted); font-family: var(--font-body); letter-spacing: 0; }
.price-card.featured .price-amt .per { color: #A9C4B9; }
.plan-min { margin-top: 12px; padding: 9px 11px; border-radius: 6px; background: var(--cream); color: var(--ink-soft); font-size: 0.82rem; font-weight: 700; line-height: 1.35; }
.price-card.featured .plan-min { background: rgba(255,255,255,0.08); color: #DCEBE4; }
.price-card .feat { flex: 1; display: grid; gap: 12px; margin-block: 24px; }
.price-card .feat li { display: flex; gap: 10px; font-size: 0.93rem; color: var(--ink-soft); align-items: flex-start; }
.price-card.featured .feat li { color: #C6DAD0; }
.price-card .feat svg { flex: none; width: 19px; height: 19px; color: var(--emerald); margin-top: 2px; }
.price-card.featured .feat svg { color: var(--lime); }
.price-badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--lime); color: var(--evergreen-900); font-family: var(--font-display); font-weight: 700; font-size: 0.74rem; letter-spacing: 0; text-transform: uppercase; padding: 6px 16px; border-radius: var(--r-pill); }

/* ---------- Testimonials ---------- */
.quote-card { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 3vw, 32px); height: 100%; display: flex; flex-direction: column; }
.quote-card .stars { color: var(--amber); letter-spacing: 0; font-size: 0.95rem; }
.quote-card blockquote { font-size: 1.06rem; color: var(--ink); line-height: 1.55; margin: 14px 0 20px; font-weight: 500; }
.quote-card .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.quote-card .who .av { width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(135deg, var(--emerald), var(--evergreen-700)); color: #fff; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; flex: none; }
.quote-card .who .nm { font-family: var(--font-display); font-weight: 600; font-size: 0.96rem; }
.quote-card .who .rl { font-size: 0.82rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; margin-inline: auto; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; transition: border-color 0.2s; }
.faq-item.open { border-color: var(--emerald); }
.faq-q { width: 100%; text-align: left; background: transparent; border: 0; padding: 20px 22px; display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.faq-q .chev { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(14,159,115,0.10); color: var(--evergreen-700); display: grid; place-items: center; transition: 0.3s var(--ease); }
.faq-item.open .faq-q .chev { transform: rotate(45deg); background: var(--evergreen-700); color: #fff; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s var(--ease); }
.faq-a p { padding: 0 22px 22px; color: var(--ink-soft); font-size: 0.98rem; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; background: linear-gradient(150deg, #0A5B44, #00291F); border-radius: var(--r-xl); padding: clamp(40px, 6vw, 72px); text-align: center; color: #fff; }
.cta-band::before, .cta-band::after { display: none; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #BBD3C8; max-width: 560px; margin: 16px auto 30px; }
.cta-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; }
.field .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: var(--r-md); border: 1.5px solid var(--line);
  background: #fff; transition: border-color 0.2s, box-shadow 0.2s; font-size: 1rem;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--emerald); box-shadow: 0 0 0 4px rgba(14,159,115,0.12); }
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.86rem; color: var(--muted); }
.form-success { display: none; padding: 18px 20px; border-radius: var(--r-md); background: rgba(198,242,78,0.18); border: 1px solid var(--lime-strong); color: var(--evergreen-800); font-weight: 600; }
.form-success.show { display: block; }

/* ---------- Footer ---------- */
.site-footer { background: var(--evergreen-900); color: #A9C4B9; padding-block: clamp(50px, 6vw, 76px) 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand .brand { color: #fff; margin-bottom: 14px; }
.footer-brand p { color: #8DA99D; font-size: 0.94rem; max-width: 320px; }
.footer-col h4 { color: #EAF3EE; font-size: 0.82rem; letter-spacing: 0; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-display); }
.footer-col a { display: block; padding: 6px 0; color: #A9C4B9; font-size: 0.95rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--lime); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.10); font-size: 0.88rem; color: #7C988C; }
.footer-social { display: flex; gap: 10px; }
.footer-social a { width: 38px; height: 38px; border-radius: 10px; background: rgba(255,255,255,0.06); display: grid; place-items: center; color: #A9C4B9; transition: 0.2s; }
.footer-social a:hover { background: var(--lime); color: var(--evergreen-900); }
.footer-social svg { width: 18px; height: 18px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; } .reveal.d2 { transition-delay: 0.16s; } .reveal.d3 { transition-delay: 0.24s; } .reveal.d4 { transition-delay: 0.32s; }

/* ---------- Course catalogue (training) ---------- */
.course-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; height: 100%; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s; position: relative; overflow: hidden; }
.course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #D7E0D2; }
.course-card .c-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.course-card .c-ic { width: 48px; height: 48px; border-radius: 13px; display: grid; place-items: center; flex: none; background: rgba(14,159,115,0.10); color: var(--evergreen-700); }
.course-card .c-ic svg { width: 24px; height: 24px; }
.course-card h3 { font-size: 1.16rem; margin-bottom: 8px; }
.course-card p { font-size: 0.93rem; flex: 1; }
.course-meta { display: flex; flex-wrap: wrap; gap: 8px 16px; margin-top: 18px; padding-top: 15px; border-top: 1px solid var(--line); font-size: 0.8rem; color: var(--muted); font-weight: 600; }
.course-meta span { display: inline-flex; align-items: center; gap: 6px; }
.course-meta svg { width: 15px; height: 15px; color: var(--emerald); }
.track-tag { font-size: 0.68rem; font-weight: 700; letter-spacing: 0; text-transform: uppercase; padding: 5px 11px; border-radius: 7px; background: rgba(14,159,115,0.12); color: var(--evergreen-700); white-space: nowrap; }
.track-tag.t-lead { background: rgba(255,176,32,0.18); color: #9a6a00; }
.track-tag.t-deliver { background: rgba(0,67,49,0.10); color: var(--evergreen-700); }
.track-tag.t-commerce { background: rgba(155,211,42,0.22); color: #557000; }
.track-tag.t-personal { background: rgba(255,111,97,0.16); color: #b23b2e; }

/* track filter chips */
.track-filter { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 40px; }
.track-chip { border: 1.5px solid var(--line); background: #fff; color: var(--ink-soft); padding: 9px 18px; border-radius: var(--r-pill); font-family: var(--font-display); font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: 0.2s; }
.track-chip:hover { border-color: var(--emerald); }
.track-chip.active { background: var(--evergreen-700); border-color: var(--evergreen-700); color: #fff; }
.course-card.hide { display: none; }

/* ---------- Learning loop ---------- */
.loop { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; position: relative; }
@media (max-width: 820px) { .loop { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .loop { grid-template-columns: 1fr; } }
.loop-node { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px 22px; text-align: center; position: relative; }
.loop-node .ln-ic { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin: 0 auto 16px; background: var(--evergreen-700); color: #fff; }
.loop-node.n2 .ln-ic { background: var(--emerald); }
.loop-node.n3 .ln-ic { background: var(--amber); color: var(--evergreen-900); }
.loop-node.n4 .ln-ic { background: var(--lime); color: var(--evergreen-900); }
.loop-node .ln-ic svg { width: 27px; height: 27px; }
.loop-node h4 { margin-bottom: 7px; }
.loop-node p { font-size: 0.88rem; }
.loop-node .ln-step { position: absolute; top: 14px; right: 16px; font-family: var(--font-display); font-weight: 700; font-size: 0.85rem; color: var(--line); }

/* ---------- Capability matrix table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow-sm); -webkit-overflow-scrolling: touch; }
table.matrix { width: 100%; border-collapse: collapse; min-width: 680px; }
table.matrix th, table.matrix td { padding: 15px 20px; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
table.matrix thead th { background: var(--evergreen-800); color: #EAF3EE; font-family: var(--font-display); font-weight: 600; }
table.matrix thead th:first-child { border-top-left-radius: var(--r-lg); }
table.matrix thead th:last-child { border-top-right-radius: var(--r-lg); }
table.matrix tbody th { font-weight: 600; color: var(--ink); }
table.matrix td.c { text-align: center; }
table.matrix .yes { color: var(--emerald); }
table.matrix .no { color: #cdd3cb; }
table.matrix tbody tr:last-child th, table.matrix tbody tr:last-child td { border-bottom: 0; }
table.matrix tbody tr:hover { background: var(--cream); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 92px) clamp(30px, 4vw, 48px); text-align: center; }
.page-hero .blob { display: none; }
.page-hero h1 { max-width: 900px; margin-inline: auto; }
.page-hero .lead { max-width: 660px; margin: 20px auto 0; }
.page-hero .pill { margin-bottom: 22px; }

/* ---------- Helpers ---------- */
.center { text-align: center; }
.mt-0{margin-top:0}.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.maxw-620 { max-width: 620px; } .maxw-720 { max-width: 720px; } .mx-auto { margin-inline: auto; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--evergreen-700); color: #fff; padding: 12px 18px; border-radius: 0 0 10px 0; z-index: 999; font-weight: 600; }
.skip-link:focus { left: 0; }
.divider { height: 1px; background: var(--line); border: 0; }

@media (max-width: 639px) {
  .hero { overflow: hidden; }
  .hero-grid, .hero-copy, .hero-media { min-width: 0; }
  .hero h1 { font-size: clamp(2.45rem, 12vw, 3.35rem); overflow-wrap: anywhere; }
  .hero .lead { font-size: 1rem; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .mock { transform: none; }
  .mock-float { display: none; }
  .mock-row { grid-template-columns: 1fr; }
}
