/* Design tokens: shared colors, type scale, radii and spacing used across the static site */
:root {
  --primary-green: #00710F;
  --deep-green: #143302;
  --secondary-red: #F53F23;
  --soft-green: #E1F8D3;
  --yellow: #E8E32D;
  --soft-blue: #E1EFFA;
  --white: #FFFFFF;
  --off-white: #EDF4E9;
  --text-dark: #111827;
  --text-muted: #5B6472;
  --text-secondary: #4B5563;
  --line: #E4E9E1;
  --border-subtle: rgba(20, 51, 2, 0.08);
  --shadow: 0 26px 64px rgba(20, 51, 2, 0.16);
  --shadow-soft: 0 14px 34px rgba(17, 24, 39, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --section-heading-size: clamp(26px, 2.4vw, 36px);
  --section-body-size: 18px;
  --card-heading-size: 25px;
  --pad-xl: 120px;
  --pad-lg: 88px;
  --pad-md: 64px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text-dark);
  background: var(--white);
  font-family: Inter, "Open Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Global text link hover: brand red with underline — excludes nav chrome and card links */
a:not(.btn):not(.footer-social-link):not(.mega-link):not(.mega-feature):not(.suite-card):not(.brand):not(.nav-link):not(.mega-feature-cta):not(.integration-card):not(.login-option):hover {
  color: var(--secondary-red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

h1, h2, h3 {
  margin: 0;
  font-family: "Plus Jakarta Sans", Manrope, Inter, sans-serif;
  line-height: 1.08;
  letter-spacing: 0;
}

p {
  margin: 0;
  color: var(--text-muted);
}

/* Layout shell: 1200px max content width with 60px minimum gutter each side */
.container {
  width: min(1200px, calc(100% - 120px));
  margin: 0 auto;
}

/* Section spacing */
.section-pad {
  padding: 120px 0;
}

.hero.section-pad {
  padding: 20px 0 0;
}

/* Desktop: the hero grid always fills the first viewport (minus the 84px header
   and the hero's own 20px top padding), so the logo carousel only appears on
   scroll — regardless of screen height or aspect ratio */
@media (min-width: 981px) {
  .hero .hero-grid {
    min-height: calc(100dvh - 84px - 20px);
  }
}

/* Sticky header: stable site-wide navigation with a restrained premium surface */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  border-bottom: 1px solid rgba(20, 51, 2, 0.04);
  backdrop-filter: blur(18px);
  transition: background 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

/* Header gains definition once the user scrolls past the hero */
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  border-bottom-color: rgba(20, 51, 2, 0.12);
  box-shadow: 0 4px 24px rgba(20, 51, 2, 0.07);
}

.header-shell {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1200px, calc(100% - 120px));
  min-height: 84px;
  padding: 8px 0;
  margin: 0 auto;
}

.brand img {
  width: 150px;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
}

.nav-item {
  position: static;
}

/* Small menu needs a positioned parent so its absolute dropdown anchors correctly */
.small-menu-wrap {
  position: relative;
}

.has-menu::after,
.small-menu-wrap::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 16px;
  display: none;
}

.has-menu:hover::after,
.has-menu.open::after,
.small-menu-wrap:hover::after,
.small-menu-wrap.open::after {
  display: block;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  color: #1F2937;
  background: transparent;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  font-family: Inter, sans-serif;
  cursor: pointer;
  transition: background 150ms ease, color 150ms ease;
}

.nav-link:hover,
.nav-item.open .nav-link {
  color: inherit;
  background: var(--soft-green);
}

.mega-feature-cta:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Dropdown positioning: keeps menus separated from the header while preserving hover travel */
.mega-menu,
.small-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  visibility: hidden;
  opacity: 0;
  transform: translate(-50%, 12px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  pointer-events: none;
}

/* Mega menu panel: compact Andela/Deel-inspired layout with item stack and feature preview */
.mega-menu {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.78fr;
  gap: 16px;
  width: min(860px, calc(100vw - 32px));
  max-height: min(540px, calc(100vh - 118px));
  overflow: hidden;
  padding: 20px;
  border: 1px solid rgba(20, 51, 2, 0.08);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 30px 80px rgba(17, 24, 39, 0.2);
}

.nav-item.open .mega-menu,
.nav-item:hover .mega-menu,
.small-menu-wrap.open .small-menu,
.small-menu-wrap:hover .small-menu {
  visibility: visible;
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.mega-kicker,
.eyebrow {
  display: block;
  width: fit-content;
  margin-bottom: 14px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section-heading.centered .eyebrow,
.suite-steps .eyebrow {
  margin-left: auto;
  margin-right: auto;
}

.mega-main {
  min-width: 0;
  padding: 8px 0;
}

.mega-head {
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(20, 51, 2, 0.12);
}

.mega-head .mega-kicker {
  margin-bottom: 0;
  border-radius: 0;
  padding: 0;
  color: #3F4B5B;
  background: transparent;
  font-size: 13px;
  letter-spacing: 0.12em;
}

.mega-list {
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 4px;
}

/* Mega menu item: icon container, title and one-line description for quick scanning */
.mega-link {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 2px;
  min-height: 64px;
  border-radius: 14px;
  padding: 8px 10px;
  transition: background 140ms ease;
}

.mega-link:hover {
  background: #F4F8F1;
}

/* === Icon system: Lucide SVG icons inside a branded soft-green container === */
/* To add a new module icon: place the SVG file in assets/icons/, inline it    */
/* inside .icon-wrap inside the relevant .mega-link, and add aria-hidden="true" */
.icon-wrap {
  grid-row: 1 / span 2;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(0, 113, 15, 0.12);
  border-radius: 12px;
  background: #EFF9E8;
  box-shadow: 0 2px 8px rgba(0, 113, 15, 0.08);
  transition: background 140ms ease;
}

.icon-wrap svg {
  width: 24px;
  height: 24px;
  display: block;
  color: var(--primary-green);
  flex-shrink: 0;
}

.mega-link:hover .icon-wrap {
  background: #E3F5D4;
}

.mega-link span:not(.icon-wrap) {
  grid-column: 2;
  display: block;
  margin-bottom: 0;
  color: var(--text-dark);
  font-size: 15.5px;
  font-weight: 900;
  line-height: 1.2;
}

.mega-link p {
  grid-column: 2;
  overflow: hidden;
  color: #4B5563;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Feature panel: restrained product teaser used inside the mega menu */
.mega-feature {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
  justify-content: flex-start;
  border-radius: 18px;
  padding: 24px 22px 20px;
  color: var(--text-dark);
  background:
    radial-gradient(circle at 80% 20%, rgba(225, 248, 211, 0.92), transparent 30%),
    #F4F4F2;
}

.mega-feature strong,
.mega-feature p,
.mega-feature-cta,
.mega-feature-img {
  position: relative;
  z-index: 1;
}

.mega-feature strong {
  order: 1;
  font-family: "Plus Jakarta Sans", sans-serif;
  font-size: 22px;
  line-height: 1.16;
}

.mega-feature p {
  order: 2;
  margin-top: 8px;
  color: #4B5563;
  font-size: 13px;
}

.mega-feature-cta {
  order: 3;
  display: block;
  width: fit-content;
  margin-top: 12px;
  color: var(--primary-green);
  font-weight: 800;
  text-decoration: none;
}

.mega-feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-feature-cta svg {
  display: block;
  flex-shrink: 0;
  transition: transform 140ms ease;
}

.mega-feature-cta:hover svg {
  transform: translateX(3px);
}

.mega-feature-img {
  order: 4;
  width: 100%;
  margin-top: 18px;
  border-radius: 12px;
  overflow: hidden;
  flex: 1;
}

.mega-feature-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Nav backdrop: full-page dim shown behind open mega menus, matching Andela/Linear style */
.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(17, 24, 39, 0.36);
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.nav-backdrop.visible {
  opacity: 1;
  pointer-events: auto;
}

/* Small dropdown: anchored to its parent's left edge so it never clips the viewport */
.small-menu {
  left: 0;
  right: auto;
  transform: translate(0, 12px);
  width: 260px;
  padding: 10px;
  border: 1px solid rgba(20, 51, 2, 0.08);
  border-radius: 16px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.small-menu-wrap.open .small-menu,
.small-menu-wrap:hover .small-menu {
  transform: translate(0, 0);
}

.small-menu a {
  display: block;
  border-radius: 10px;
  padding: 12px;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 700;
}

.small-menu a:hover {
  background: var(--soft-green);
  color: var(--text-dark);
  text-decoration: none;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Header buttons are more compact than section CTAs and use a subtle radius */
.header-actions .btn {
  min-height: 40px;
  padding: 0 18px;
  font-size: 14px;
  border-radius: 10px;
}

.mobile-actions {
  display: none;
}

/* Button system: shared CTA styles for header, hero, sections and footer */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0 20px;
  font-size: 15px;
  font-weight: 800;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

/* Arrow inside any button nudges forward on hover */
.btn svg {
  flex-shrink: 0;
  transition: transform 160ms ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: var(--primary-green);
}

.btn-primary:hover {
  background: #005f0d;
}

.btn-outline,
.btn-ghost {
  color: var(--deep-green);
  border-color: rgba(20, 51, 2, 0.2);
  background: var(--white);
}

.btn-demo {
  color: var(--white);
  background: var(--primary-green);
}

.btn-demo:hover {
  background: #005c0c;
}

.btn-dark {
  color: var(--white);
  background: var(--deep-green);
}

.btn-light,
.btn-footer {
  color: var(--deep-green);
  border-color: rgba(255, 255, 255, 0.28);
  background: var(--white);
}

.btn-large {
  min-height: 50px;
  padding: 0 26px;
  font-size: 16px;
}

.menu-toggle {
  display: none;
}

/* Mobile drawer only exists on small screens */
.mobile-drawer {
  display: none;
}

/* Hero section: controls the first-view layout, visual priority and soft background atmosphere */
.hero {
  position: relative;
  overflow: clip;
  background:
    radial-gradient(circle at 13% 26%, rgba(225, 248, 211, 0.9), transparent 28%),
    radial-gradient(circle at 86% 32%, rgba(225, 239, 250, 0.82), transparent 25%),
    linear-gradient(180deg, #FFFFFF 0%, #F7FBF4 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.hero h1 {
  max-width: 560px;
  color: var(--deep-green);
  font-size: clamp(38px, 3.6vw, 54px);
  letter-spacing: -0.02em;
}

.page-title {
  max-width: 900px;
  color: var(--deep-green);
  font-size: var(--section-heading-size);
}

.hero p {
  max-width: 520px;
  margin-top: 16px;
  font-size: 16px;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

/* Hero visual: positions the dashboard preview and floating workforce role cards */
/* Hero visual: image on top, two rotating role cards side by side underneath */
.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 560px;
  justify-self: end;
  width: 100%;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}

.hero-role-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.talent-card {
  display: grid;
  grid-template-columns: 48px 1fr;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  border: 1px solid rgba(0, 113, 15, 0.18);
  border-radius: 18px;
  padding: 10px 14px;
  background: rgba(225, 248, 211, 0.92);
  box-shadow: 0 12px 32px rgba(20, 51, 2, 0.1);
}

.talent-card img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(0, 113, 15, 0.15);
}

.talent-card span {
  color: var(--deep-green);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
}

/* Profile swap: content dips out while the next profile loads in */
.talent-card img,
.talent-card span {
  transition: opacity 320ms ease, transform 320ms ease;
}

.talent-card.is-swapping img,
.talent-card.is-swapping span {
  opacity: 0;
  transform: translateY(8px);
}

/* Client carousel: slim trust strip anchored to the bottom of the hero */
.hero-carousel {
  overflow: hidden;
  padding: 40px 0 56px;
  margin-top: 52px;
}

.carousel-shell {
  display: grid;
  grid-template-columns: 290px minmax(0, 1fr);
  align-items: center;
  gap: 34px;
}

.carousel-shell > span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.logo-marquee {
  position: relative;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.logo-track {
  display: flex;
  width: max-content;
  gap: clamp(64px, 7vw, 120px);
  animation: logoScroll 18s linear infinite;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.logo-track img {
  width: auto;
  height: 68px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 0;
  padding: 0;
  object-fit: contain;
  background: transparent;
  filter: grayscale(1);
  opacity: 0.82;
}

@keyframes logoScroll {
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .talent-card,
  .logo-track {
    animation: none;
  }
}

.section-heading {
  max-width: 820px;
  margin-bottom: 42px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2,
.two-col h2 {
  color: var(--deep-green);
  font-size: var(--section-heading-size);
  letter-spacing: -0.015em;
}

.section-heading p,
.two-col p {
  margin-top: 16px;
  font-size: var(--section-body-size);
  line-height: 1.68;
}

/* Section rhythm: tinted and white sections alternate down the page */
.platform-overview,
.suite-steps,
.why,
.trust {
  background: var(--off-white);
}

.trust-strip {
  background: var(--white);
  padding: 56px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}
.trust-strip-heading {
  text-align: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 36px;
}
.trust-strip-sub {
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 28px;
}

.segment,
.suite-section,
.consulting,
.paths {
  background: var(--white);
}

.model-tabs {
  display: flex;
  justify-content: center;
  gap: 12px;
  width: fit-content;
  margin: 18px auto 34px;
  border-bottom: 1px solid rgba(20, 51, 2, 0.16);
  border-radius: 999px;
  padding: 6px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.model-tab {
  position: relative;
  min-height: 48px;
  border: 0;
  border-radius: 999px;
  padding: 0 24px;
  color: #8A8F98;
  background: transparent;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  font-family: Inter, sans-serif;
  cursor: pointer;
}

.model-tab::after {
  content: none;
}

.model-tab.active {
  color: var(--white);
  background: var(--deep-green);
}

.model-panel {
  display: none;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 32px;
  align-items: stretch;
}

.model-panel.active {
  display: grid;
}

.model-copy {
  display: flex;
  min-height: 360px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(20, 51, 2, 0.08);
  border-radius: var(--radius-lg);
  padding: 48px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.model-copy h3 {
  max-width: 480px;
  color: var(--text-dark);
  font-size: 32px;
  letter-spacing: -0.01em;
}

.model-copy p {
  max-width: 440px;
  margin-top: 18px;
  font-size: var(--section-body-size);
}

.model-copy .btn {
  width: fit-content;
  margin-top: 30px;
}

.model-visual {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: #EAF5E7;
  box-shadow: var(--shadow-soft);
}

/* Show the full image — no cropping on any device */
.model-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.model-stat {
  position: absolute;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 18px;
  min-width: 210px;
  border-radius: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 34px rgba(17, 24, 39, 0.12);
}

.model-stat span {
  color: var(--text-muted);
  font-weight: 800;
}

.model-stat strong {
  border-radius: 999px;
  padding: 6px 10px;
  color: var(--primary-green);
  background: var(--soft-green);
  font-size: 14px;
}

.model-stat-one {
  top: 42px;
  right: 42px;
}

.model-stat-two {
  top: 140px;
  right: 88px;
}

.model-stat-three {
  right: 54px;
  bottom: 44px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 58px;
}

.two-col.reverse {
  grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr);
}

.two-col .btn {
  margin-top: 28px;
}

.section-image {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.platform-mockup {
  position: relative;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.platform-mockup img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.mockup-toolbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid rgba(20, 51, 2, 0.08);
  padding: 0 22px;
  background: rgba(255, 255, 255, 0.8);
}

.mockup-toolbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-green);
}

.mockup-toolbar span:nth-child(2) {
  background: var(--yellow);
}

.mockup-toolbar span:nth-child(3) {
  background: var(--secondary-red);
}

.mockup-sidebar {
  display: grid;
  align-content: start;
  gap: 14px;
  border-right: 1px solid rgba(20, 51, 2, 0.08);
  padding: 26px 20px;
  background: #092910;
}

.mockup-sidebar strong {
  color: var(--white);
  font-size: 13px;
}

.mockup-sidebar span {
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
}

.mockup-content {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 28px;
}

.mockup-kpi-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.mockup-kpi-row div {
  border-radius: 18px;
  padding: 18px;
  background: var(--white);
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.08);
}

.mockup-kpi-row b {
  display: block;
  color: var(--deep-green);
  font-size: 30px;
  line-height: 1;
}

.mockup-kpi-row span {
  display: block;
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 800;
}

.mockup-table {
  display: grid;
  gap: 12px;
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.mockup-table span {
  height: 26px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 113, 15, 0.18), rgba(0, 113, 15, 0.05));
}

.placeholder-asset {
  display: grid;
  min-height: 420px;
  place-items: center;
  border: 1px dashed rgba(20, 51, 2, 0.24);
  border-radius: 24px;
  padding: 28px;
  color: var(--text-muted);
  background: linear-gradient(135deg, rgba(225, 248, 211, 0.55), rgba(225, 239, 250, 0.45));
  font-weight: 800;
  text-align: center;
}

.contact-form {
  display: grid;
  gap: 16px;
  border: 1px solid rgba(20, 51, 2, 0.08);
  border-radius: 24px;
  padding: 30px;
  background: var(--white);
  box-shadow: 0 18px 34px rgba(20, 51, 2, 0.08);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--deep-green);
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(20, 51, 2, 0.18);
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  font-family: Inter, sans-serif;
  background: #fff;
}

.contact-form textarea {
  resize: vertical;
}

.suite-showcase {
  margin-top: 72px;
}

.suite-showcase .section-heading {
  max-width: 900px;
}

.suite-showcase .section-heading h2 {
  color: var(--text-dark);
  font-size: var(--section-heading-size);
}

.suite-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.suite-card {
  position: relative;
  display: flex;
  min-height: 372px;
  overflow: hidden;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 22px;
  padding: 30px 28px 0;
  background: #F4F2EF;
  box-shadow: var(--shadow-soft);
}

/* Lucide arrow-right pinned to the corner; only it reacts on hover */
.suite-card-arrow {
  position: absolute;
  right: 28px;
  bottom: 24px;
  z-index: 2;
  color: var(--text-dark);
  transition: transform 180ms ease, color 180ms ease;
}

.suite-card:hover .suite-card-arrow {
  transform: translateX(6px);
  color: var(--primary-green);
}

.suite-card-copy {
  position: relative;
  z-index: 2;
}

.suite-card h3 {
  color: var(--text-dark);
  font-size: var(--card-heading-size);
  line-height: 1.15;
}

.suite-card p {
  max-width: 420px;
  margin-top: 12px;
  color: #4B5563;
  font-size: 16px;
  line-height: 1.58;
}

/* Suite card background tints rotate through three colours so the grid has visual rhythm */
.suite-grid > a:nth-child(3n+1) { background: #EFF7EB; }
.suite-grid > a:nth-child(3n+2) { background: #EBF2FA; }
.suite-grid > a:nth-child(3n+3) { background: #F5F2EB; }

.suite-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 210px;
  margin-top: 20px;
  /* Clear space below the visual so it never crowds the corner arrow */
  margin-bottom: 64px;
}

.mini-bar {
  position: relative;
  z-index: 1;
  width: min(320px, 78%);
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary-green) 72%, #D8DED3 72%);
}

.profile-row,
.request-card,
.payroll-card,
.score-card {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  gap: 6px;
  width: min(320px, 78%);
  border-radius: 16px;
  padding: 14px 16px;
  background: var(--white);
  box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08);
}

.profile-row {
  grid-template-columns: 28px 1fr auto;
  margin-top: 10px;
}

.profile-row span,
.candidate-stack span {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-green), var(--soft-green));
}

.profile-row strong,
.request-card span,
.payroll-card span,
.score-card span {
  color: #4B5563;
  font-size: 13px;
  font-style: normal;
}

.profile-row em,
.request-card strong,
.payroll-card strong,
.score-card strong {
  color: var(--deep-green);
  font-style: normal;
  font-weight: 900;
}

.requisition-visual {
  align-content: center;
  gap: 0;
}

.request-card {
  grid-template-columns: 1fr auto;
}

.request-card strong {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--primary-green);
  background: var(--soft-green);
  font-size: 12px;
}

.request-card.muted strong {
  color: #B45309;
  background: #FEF3C7;
}

.request-line {
  position: relative;
  z-index: 1;
  width: 3px;
  height: 42px;
  background: #DCE8D5;
}

.hiring-visual {
  gap: 18px;
}

.candidate-stack {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(320px, 78%);
}

.candidate-stack span {
  width: 48px;
  height: 48px;
  margin-left: -10px;
  border: 4px solid var(--white);
  background: linear-gradient(135deg, #E1EFFA, var(--primary-green));
}

.candidate-stack span:first-child {
  margin-left: 0;
}

.pipeline {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: min(320px, 78%);
}

.pipeline b,
.chart-bars b {
  display: block;
  border-radius: 999px;
  background: var(--primary-green);
}

.pipeline b {
  height: 12px;
}

.pipeline b:nth-child(2) {
  background: var(--yellow);
}

.pipeline b:nth-child(3) {
  background: var(--secondary-red);
}

.status-pill,
.review-pill {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  padding: 9px 14px;
  color: var(--primary-green);
  background: var(--soft-green);
  font-weight: 900;
}

.project-visual {
  background:
    radial-gradient(circle at 28% 42%, rgba(0, 113, 15, 0.14), transparent 20%),
    radial-gradient(circle at 62% 32%, rgba(245, 63, 35, 0.12), transparent 18%),
    radial-gradient(circle at 52% 72%, rgba(225, 239, 250, 0.9), transparent 24%);
}

.map-dot {
  position: absolute;
  z-index: 1;
  width: 18px;
  height: 18px;
  border: 4px solid var(--white);
  border-radius: 50%;
  background: var(--primary-green);
  box-shadow: 0 8px 18px rgba(0, 113, 15, 0.22);
}

.map-dot.one {
  top: 86px;
  left: 30%;
}

.map-dot.two {
  top: 128px;
  right: 26%;
  background: var(--secondary-red);
}

.map-dot.three {
  bottom: 72px;
  left: 48%;
  background: var(--yellow);
}

.project-panel {
  position: relative;
  z-index: 1;
  width: 176px;
  border-radius: 18px;
  padding: 18px;
  text-align: center;
  background: var(--white);
  box-shadow: 0 12px 26px rgba(17, 24, 39, 0.1);
}

.project-panel strong {
  display: block;
  color: var(--deep-green);
  font-size: 34px;
}

.project-panel span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 800;
}

.payroll-visual {
  gap: 14px;
}

.payroll-card {
  grid-template-columns: 1fr auto;
}

.currency-row {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 10px;
}

.currency-row b {
  border-radius: 999px;
  padding: 9px 12px;
  color: var(--deep-green);
  background: var(--white);
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.08);
}

/* ── Animated payroll card (Deel-style state cycle) ──
   Two stacked states inside a soft white card:
   form (summary + Submit) and success (check + amount).
   JS toggles .is-pressing and .is-success on the wrapper. */
.payroll-anim {
  position: relative;
  z-index: 1;
  width: min(280px, 78%);
  overflow: hidden;
}

/* State A: payroll summary + Submit button */
.payroll-anim-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 480ms cubic-bezier(0.4, 0, 0.2, 1), opacity 420ms ease;
}

.payroll-anim-summary {
  display: block;
  width: 100%;
  height: auto;
}

.payroll-anim-submit {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 160ms ease;
  transform-origin: center;
}

/* Submit press-down feel before the swap (button is baked into the form image) */
.payroll-anim.is-pressing .payroll-anim-form {
  transform: scale(0.97);
}

/* Form slides up and fades away once submitted */
.payroll-anim.is-success .payroll-anim-form {
  transform: translateY(-26px);
  opacity: 0;
}

/* State B: success overlay, hidden until .is-success */
.payroll-anim-success {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(22px);
  transition: transform 480ms cubic-bezier(0.4, 0, 0.2, 1), opacity 420ms ease;
  pointer-events: none;
}

.payroll-anim-success img {
  display: block;
  width: 100%;
  height: auto;
}

.payroll-anim.is-success .payroll-anim-success {
  opacity: 1;
  transform: translateY(0);
}

/* ── Requisition status animation ──
   The PNG shows two request rows; HTML pills overlay each row
   and flip from amber "Pending" to green "Approved" (.is-approved). */
.req-anim {
  position: relative;
  z-index: 1;
  width: min(280px, 78%);
}

.req-anim img {
  display: block;
  width: 100%;
  height: auto;
}

.req-pill {
  position: absolute;
  right: 12%;
  overflow: hidden;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  background: #FEF3C7;          /* warning amber while pending */
  color: #B45309;
  transition: background 460ms ease-in-out 120ms, color 460ms ease-in-out 120ms;
}

/* Both labels live inside the pill; Approved sits below, ready to slide up.
   Fixed pill width keeps both labels centred during the swap. */
.req-pill b {
  display: block;
  width: 76px;
  padding: 4px 0;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 460ms ease-in-out 120ms;
}

.req-pill b + b {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
}

.req-pill-top    { top: 24%; }
.req-pill-bottom { top: 66%; }

/* Approved: "Pending" slides out the top, "Approved" slides in from below */
.req-anim.is-approved .req-pill {
  background: #E1F8D3;
  color: var(--primary-green);
}

.req-anim.is-approved .req-pill b:first-child {
  transform: translateY(-100%);
}

.req-anim.is-approved .req-pill b + b {
  transform: translateY(0);
}

/* Second request approves a beat after the first (base 120ms + stagger) */
.req-anim.is-approved .req-pill-bottom,
.req-anim.is-approved .req-pill-bottom b {
  transition-delay: 500ms;
}

/* ── Hiring / Project Workforce / Cross-Border Payroll animations ──
   Shared wrapper: PNG at panel size with HTML overlays.
   JS toggles .is-active on the wrapper while the panel is hovered. */
.ats-anim,
.pwm-anim,
.cbp-anim {
  position: relative;
  z-index: 1;
  width: min(280px, 78%);
}

.ats-anim img,
.pwm-anim img,
.cbp-anim img {
  display: block;
  width: 100%;
  height: auto;
}

/* Hiring: progress track sits between the profiles and the Shortlisted pill */
.ats-progress {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 54%;
  height: 8px;
  border-radius: 999px;
  background: #E5E7EB;
  overflow: hidden;
}

.ats-progress i {
  display: block;
  height: 100%;
  width: 16%;
  border-radius: 999px;
  background: var(--primary-green);
  transition: width 900ms ease-in-out 120ms;
}

.ats-anim.is-active .ats-progress i {
  width: 100%;
}

/* Project Workforce: the active (green checks) state fades over the inactive one */
.pwm-active {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 600ms ease-in-out 120ms;
}

.pwm-anim.is-active .pwm-active {
  opacity: 1;
}

/* Cross-Border Payroll: amounts cycle below the "Successful" divider */
.cbp-amounts {
  position: absolute;
  left: 10%;
  right: 10%;
  top: 62%;
  height: 22%;
}

.cbp-amounts span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 19px;
  font-weight: 800;
  color: var(--primary-green);
  opacity: 0;
}

/* At rest the naira amount shows; hovering starts the rotation */
.cbp-amounts span:first-child {
  opacity: 1;
}

.cbp-anim.is-active .cbp-amounts span {
  animation: cbpCycle 4.8s ease-in-out infinite;
  opacity: 0;
}

.cbp-anim.is-active .cbp-amounts span:nth-child(2) { animation-delay: 1.6s; }
.cbp-anim.is-active .cbp-amounts span:nth-child(3) { animation-delay: 3.2s; }

/* Each amount slides up into view, holds, then slides away (1/3 of the cycle) */
@keyframes cbpCycle {
  0%        { opacity: 0; transform: translateY(10px); }
  6%, 27%   { opacity: 1; transform: translateY(0); }
  33%, 100% { opacity: 0; transform: translateY(-10px); }
}

/* ── Performance: quarterly bar chart grows on hover ──
   Styled to match the PNG panels: white rounded card, same width. */
.perf-anim {
  position: relative;
  z-index: 1;
  width: min(280px, 78%);
  padding: 18px 20px 14px;
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 10px 28px rgba(17, 24, 39, 0.07);
}

.perf-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.perf-head span {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-dark);
}

.perf-head strong {
  font-size: 15px;
  font-weight: 800;
  color: var(--primary-green);
}

.perf-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  height: 110px;
}

/* Bars rest low, then grow to their --h target with a stagger */
.perf-bars i {
  flex: 1;
  height: 14%;
  border-radius: 8px 8px 4px 4px;
  background: #DCEFD2;
  transition: height 700ms cubic-bezier(0.4, 0, 0.2, 1) 120ms,
              background 700ms ease 120ms;
}

/* Latest quarter stands out in brand green once grown */
.perf-anim.is-active .perf-bars i {
  height: var(--h);
  background: #BCE3A8;
}

.perf-anim.is-active .perf-bars i:last-child {
  background: var(--primary-green);
}

.perf-anim.is-active .perf-bars i:nth-child(2) { transition-delay: 240ms; }
.perf-anim.is-active .perf-bars i:nth-child(3) { transition-delay: 360ms; }
.perf-anim.is-active .perf-bars i:nth-child(4) { transition-delay: 480ms; }

.perf-labels {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.perf-labels span {
  flex: 1;
  text-align: center;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #9CA3AF;
}

@media (prefers-reduced-motion: reduce) {
  .ats-progress i,
  .pwm-active,
  .perf-bars i {
    transition: none;
  }

  .cbp-anim.is-active .cbp-amounts span {
    animation: none;
  }

  .cbp-anim.is-active .cbp-amounts span:first-child {
    opacity: 1;
  }
}

/* ── Touch devices (phones / tablets): no hover, so each animated
   panel rests in its finished "success" state instead ── */
@media (hover: none) and (pointer: coarse) {
  /* HRIS & Payroll: show the Successful screen only */
  .payroll-anim .payroll-anim-form {
    display: none;
  }

  .payroll-anim .payroll-anim-success {
    position: static;
    opacity: 1;
    transform: none;
  }

  /* Requisition: pills sit in their Approved state */
  .req-pill {
    background: #E1F8D3;
    color: var(--primary-green);
  }

  .req-pill b:first-child {
    display: none;
  }

  .req-pill b + b {
    position: static;
    transform: none;
  }

  /* Hiring: progress bar already complete */
  .ats-progress i {
    width: 100%;
  }

  /* Project Workforce: green checks shown */
  .pwm-anim .pwm-active {
    opacity: 1;
  }

  /* Cross-Border Payroll: naira amount already shows at rest — no change needed */

  /* Performance: bars fully grown */
  .perf-bars i {
    height: var(--h);
    background: #BCE3A8;
  }

  .perf-bars i:last-child {
    background: var(--primary-green);
  }
}

/* Reduced motion: no sliding or pressing, simple crossfade only */
@media (prefers-reduced-motion: reduce) {
  .payroll-anim-form,
  .payroll-anim-success {
    transition: opacity 300ms ease;
  }

  .payroll-anim.is-pressing .payroll-anim-form {
    transform: none;
  }

  .payroll-anim.is-success .payroll-anim-form,
  .payroll-anim-success {
    transform: none;
  }
}

.performance-visual {
  gap: 12px;
}

.score-card {
  justify-items: center;
  width: 150px;
  text-align: center;
}

.score-card strong {
  font-size: 34px;
}

.chart-bars {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  width: min(280px, 70%);
  height: 78px;
}

.chart-bars b {
  width: 38px;
}

.chart-bars b:nth-child(1) { height: 34px; background: #CDEFC0; }
.chart-bars b:nth-child(2) { height: 56px; background: var(--yellow); }
.chart-bars b:nth-child(3) { height: 74px; }
.chart-bars b:nth-child(4) { height: 46px; background: #E1EFFA; }

/* Deel-style points on simple white cards: tinted icon tile, heading, copy */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}

.why-grid article {
  border-radius: 20px;
  padding: 30px 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  margin-bottom: 18px;
}

.why-grid h3 {
  margin-bottom: 10px;
  color: var(--deep-green);
  font-size: var(--card-heading-size);
}

.image-stack {
  position: relative;
  min-height: 500px;
}

.image-stack img {
  position: absolute;
  width: 72%;
  border-radius: 24px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.image-stack img:first-child {
  top: 0;
  left: 0;
}

.image-stack img:last-child {
  right: 0;
  bottom: 0;
  border: 8px solid var(--white);
}

/* Consulting picture: full image, soft rounded frame */
.consulting-picture img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

/* Service pills: Lucide icon + label, each with its own tint */
.service-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  font-size: 14px;
}

.service-pill svg {
  flex-shrink: 0;
}

.tint-green    { background: #E1F8D3; color: #1B5E20; }
.tint-blue     { background: #E3F0FB; color: #1A4F8B; }
.tint-amber    { background: #FEF3C7; color: #92600A; }
.tint-lavender { background: #EFE9FB; color: #5B3FA8; }
.tint-mint     { background: #DDF5EC; color: #0F6B4F; }
.tint-rose     { background: #FCE8EA; color: #A6394A; }

.path-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(640px, 100%);
  margin: 0 auto 18px;
  border: 1px solid rgba(20, 51, 2, 0.1);
  border-radius: 999px;
  padding: 6px;
  background: var(--white);
}

.path-tab {
  min-height: 46px;
  border: 0;
  border-radius: 999px;
  color: var(--text-muted);
  background: transparent;
  font-weight: 900;
  cursor: pointer;
}

.path-tab.active {
  color: var(--white);
  background: var(--primary-green);
}

/* Who It's For panel: copy and checklist left, full-bleed image right.
   Fixed min-height keeps all three tabs the same size. */
.path-panel {
  display: none;
  max-width: 1060px;
  min-height: 480px;
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(20, 51, 2, 0.08);
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 16px 34px rgba(20, 51, 2, 0.08);
}

.path-panel.active {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  align-items: stretch;
}

.path-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 44px 42px;
  text-align: left;
}

.path-panel h3 {
  color: var(--deep-green);
  font-size: var(--card-heading-size);
}

.path-panel p {
  margin: 12px 0 6px;
  font-size: var(--section-body-size);
}

/* Feature checklist: single relaxed column so wrapped lines stay tidy */
.path-features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 20px 0 28px;
  list-style: none;
  padding: 0;
}

.path-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.45;
  text-align: left;
}

/* Tab image: fills the right column edge to edge at any panel height */
.path-img {
  position: relative;
  min-height: 280px;
  background: #EAF5E7;
}

.path-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Green circle checkmark before each feature */
.path-features li::before {
  content: "";
  display: inline-block;
  flex-shrink: 0;
  margin-top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: var(--soft-green);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6l3 3 5-5' stroke='%2300710F' stroke-width='1.8' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 70%;
  background-repeat: no-repeat;
  background-position: center;
}

.path-panel h3 {
  color: var(--deep-green);
  font-size: var(--card-heading-size);
}

.path-panel p {
  margin: 14px auto 24px;
  font-size: var(--section-body-size);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.logo-grid img {
  width: 100%;
  max-height: 82px;
  filter: grayscale(1);
  opacity: 0.82;
  object-fit: contain;
}

/* Testimonial carousel: 3 cards visible, slide on prev/next */
.tslider {
  margin-top: 56px;
}

.tslider-viewport {
  overflow: hidden;
}

.tslider-track {
  display: flex;
  gap: 24px;
  transition: transform 440ms cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.tslider-nav {
  display: flex;
  gap: 10px;
  margin-top: 36px;
}

.tslider-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.tslider-btn:hover {
  background: var(--text-dark);
  border-color: var(--text-dark);
  color: #ffffff;
}

.tslider-btn:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}

/* Testimonial card: portrait always visible on the left, quote in a white
   panel on the right (Deel/Remote style). Two cards visible per slide. */
.tcard {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  flex: 0 0 calc((100% - 24px) / 2);
  min-height: 400px;
  border-radius: 20px;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 280ms ease;
  cursor: default;
}

/* Premium hover: shadow deepens slightly — the card itself stays put */
.tcard:hover {
  box-shadow: 0 22px 48px rgba(20, 51, 2, 0.14);
}

/* Portrait column: image visible by default, gentle zoom on hover */
.tcard-media {
  position: relative;
  overflow: hidden;
}

.tcard-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 420ms ease;
}

.tcard:hover .tcard-media img {
  transform: scale(1.05);
}

/* Name plate: white text over a bottom-only dark gradient — never a full overlay */
.tcard-person {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 44px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.78) 0%, rgba(0, 0, 0, 0.38) 55%, transparent 100%);
}

.tcard-person strong {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.3;
}

.tcard-person span {
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.4;
}

/* Quote panel: always readable beside the portrait */
.tcard-body {
  display: flex;
  align-items: center;
  padding: 30px 28px;
}

.tcard-quote {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.7;
  color: var(--text-dark);
  margin: 0;
  font-style: normal;
}

@media (prefers-reduced-motion: reduce) {
  .tcard,
  .tcard-media img {
    transition: none;
  }

  .tcard:hover .tcard-media img {
    transform: none;
  }
}

/* Suite steps: Deel-style module tab + milestone timeline */
.suite-steps-heading {
  font-size: var(--section-heading-size);
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.sstabs {
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 0;
}

.sstab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 14px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease;
  font-family: Inter, sans-serif;
  line-height: 1;
}

.sstab svg {
  flex-shrink: 0;
  transition: color 160ms ease;
}

.sstab:hover {
  color: var(--text-dark);
}

.sstab--green.active { color: #00710F; border-bottom-color: #00710F; }
.sstab--blue.active  { color: #2563EB; border-bottom-color: #2563EB; }
.sstab--amber.active { color: #D97706; border-bottom-color: #D97706; }
.sstab--purple.active{ color: #7C3AED; border-bottom-color: #7C3AED; }

.sspanel {
  display: none;
}

.sspanel.active {
  display: block;
}

.sstimeline {
  position: relative;
  padding-top: 24px;
}

/* Horizontal line drawn through the dots row via cols ::before */
.sstimeline-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.sstimeline-cols::before {
  content: "";
  position: absolute;
  top: 5px;
  left: calc(50% / 3);
  right: calc(50% / 3);
  border-top: 2px dashed rgba(17, 24, 39, 0.28);
  z-index: 0;
}

.sstimeline-dot {
  display: block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--text-dark);
  margin: 0 auto 18px;
  position: relative;
  z-index: 1;
}

.sstimeline-col {
  text-align: center;
}

.sstimeline-col h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 14px;
  line-height: 1.2;
}

.sstimeline-card {
  border-radius: 16px;
  padding: 22px 24px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.6;
}

#ss-hris .sstimeline-card { background: rgba(0,  113,  15, 0.10); }
#ss-req  .sstimeline-card { background: rgba(37,  99,  235, 0.10); }
#ss-ats  .sstimeline-card { background: rgba(217, 119,   6, 0.10); }
#ss-adv  .sstimeline-card { background: rgba(124,  58, 237, 0.10); }

@media (max-width: 980px) {
  .sstimeline-cols {
    grid-template-columns: 1fr;
  }

  .sstimeline-cols::before {
    display: none;
  }

  .sstimeline-col h4 {
    font-size: 16px;
  }
}

.final-cta {
  background: linear-gradient(180deg, var(--white), #F5FAF2);
}

.final-cta.section-pad {
  padding-top: 120px;
  padding-bottom: 120px;
}

/* Closing band: deep green with soft corner glows — calm, premium, not busy */
.cta-band {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  padding: 78px 72px;
  color: var(--white);
  background:
    radial-gradient(circle at 86% 12%, rgba(126, 217, 87, 0.18), transparent 42%),
    radial-gradient(circle at 8% 92%, rgba(0, 113, 15, 0.4), transparent 46%),
    linear-gradient(135deg, var(--deep-green) 0%, #071F10 100%);
  text-align: center;
}

/* Small uppercase kicker above the heading */
.cta-eyebrow {
  display: block;
  margin-bottom: 14px;
  color: #9FDC82;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cta-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 32px;
}

/* Reassurance line under the buttons */
.cta-note {
  display: block;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
}

/* (Button arrow hover behaviour is global — see .btn svg rules) */

.cta-band h2 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  font-size: var(--section-heading-size);
}

.cta-band p {
  max-width: 690px;
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: var(--section-body-size);
}

.cta-band .hero-actions {
  justify-content: center;
}

/* === FOOTER === */

/* Footer shell: deep brand green anchors the page, subtle green glow at top-right */
.site-footer {
  color: rgba(255, 255, 255, 0.76);
  background:
    radial-gradient(circle at 80% 0%, rgba(0, 113, 15, 0.22), transparent 26%),
    #071F10;
}

/* Subscribe strip: full-width horizontal CTA at the top of the footer */
.footer-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 52px 0;
}

.footer-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.footer-top-inner > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

/* Subscribe form: inline email input + button */
.footer-subscribe {
  display: flex;
  gap: 0;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
}

.footer-subscribe input {
  width: 260px;
  border: 0;
  padding: 0 16px;
  color: var(--white);
  background: transparent;
  font-size: 14px;
  font-weight: 500;
  font-family: Inter, sans-serif;
  outline: none;
}

.footer-subscribe input::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.footer-subscribe button {
  flex-shrink: 0;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0 9px 9px 0;
  padding: 0 20px;
  min-height: 46px;
  color: var(--white);
  background: var(--primary-green);
  font-size: 14px;
  font-weight: 800;
  font-family: Inter, sans-serif;
  cursor: pointer;
  transition: background 160ms ease;
}

.footer-subscribe button:hover {
  background: #005f0d;
}

/* Footer navigation columns: brand on left, three link groups on right */
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 64px;
  padding: 84px 0 76px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand img {
  width: 148px;
  margin-bottom: 20px;
}

.footer-brand p {
  max-width: 300px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 15px;
  line-height: 1.7;
}

.footer-brand address {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.52);
  font-style: normal;
  font-size: 14px;
  line-height: 1.75;
}

.footer-brand address a {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

/* Column headings: muted uppercase category labels matching Andela style */
.site-footer h3 {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, 0.42);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Footer links: relaxed vertical rhythm, brand orange + underline on hover */
.site-footer a {
  display: block;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  transition: color 140ms ease;
}

.site-footer a:hover {
  color: var(--white);
  text-decoration: none;
}

/* Footer bottom bar: logo + legal links + social icons all in one row */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 0 48px;
}

.footer-bottom-logo {
  width: 110px;
  flex-shrink: 0;
  opacity: 0.7;
}

/* Legal links and copyright grouped together */
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 20px;
  flex: 1;
}

.footer-legal p {
  width: 100%;
  color: rgba(255, 255, 255, 0.38);
  font-size: 13px;
}

.footer-legal a {
  display: inline;
  margin: 0;
  color: rgba(255, 255, 255, 0.52);
  font-size: 14px;
  font-weight: 500;
}

.footer-legal a:hover {
  color: var(--white);
  text-decoration: none;
}

/* Footer buttons: no lift on hover */
.site-footer .btn:hover {
  transform: none;
}

/* Social icons: colour-only hover — no underline on icon links */
.footer-social-link:hover {
  text-decoration: none;
}

/* Social icons row: square icon buttons with hover glow */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

/* Rounded square icon tiles; brand green fill on hover.
   Selector includes the parent to outrank the generic footer link rule
   that sets links to display: block (which broke the icon centring). */
.footer-socials .footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  line-height: 0;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-social-link:hover {
  background: var(--primary-green);
  border-color: var(--primary-green);
  color: var(--white);
}

.footer-social-link svg {
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Tablet and mobile breakpoint: single-column layouts, mobile drawer, responsive grids */
@media (max-width: 980px) {
  .container,
  .header-shell {
    width: min(100% - 24px, 1180px);
  }

  /* Header actions live inside the mobile drawer instead */
  .header-actions {
    display: none;
  }

  .section-pad {
    padding: 80px 0;
  }

  .final-cta.section-pad {
    padding: 80px 0;
  }

  .hero.section-pad {
    padding: 42px 0 34px;
  }

  .header-shell {
    min-height: 72px;
    justify-content: space-between;
  }

  /* Square toggle, last item on the right of the header */
  .menu-toggle {
    display: inline-grid;
    place-items: center;
    order: 10;
    width: 44px;
    height: 44px;
    border: 1px solid rgba(20, 51, 2, 0.12);
    border-radius: 10px;
    background: var(--white);
  }

  /* Lucide menu / x icons swap when the mobile nav opens */
  .menu-toggle {
    color: var(--deep-green);
  }

  .menu-toggle .menu-icon-close {
    display: none;
  }

  body.nav-open .menu-toggle .menu-icon-open {
    display: none;
  }

  body.nav-open .menu-toggle .menu-icon-close {
    display: block;
  }

  /* The desktop nav is replaced by the JS-built .mobile-drawer on mobile */
  .main-nav {
    display: none;
  }

  .mobile-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 16px;
  }

  .mdrawer-login-card {
    background: var(--off-white);
    border: 1px solid var(--border-subtle);
    border-radius: 14px;
    padding: 4px 6px 6px;
  }

  .mdrawer-login-heading {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.07em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 8px 10px 4px;
    margin: 0;
  }

  /* ── Mobile drawer (full-screen, Deel-style two-level menu) ── */
  .mobile-drawer {
    display: block;
    position: fixed;
    inset: 72px 0 0;          /* sits below the sticky header; header stays usable */
    z-index: 45;
    overflow: hidden;
    background: var(--white);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 280ms ease, visibility 0s linear 280ms;
  }

  body.nav-open .mobile-drawer {
    transform: none;
    visibility: visible;
    transition: transform 280ms ease;
  }

  .mdrawer-home {
    height: 100%;
    overflow-y: auto;
    padding: 10px 22px 36px;
  }

  /* Level-1 rows: flat list with hairline dividers, chevron on expandables */
  .mdrawer-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid rgba(20, 51, 2, 0.08);
    background: none;
    padding: 0 2px;
    font-family: Inter, sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark);
    text-decoration: none;
    cursor: pointer;
  }

  .mdrawer-row svg {
    color: #9CA3AF;
    flex-shrink: 0;
  }

  /* Level-2 panel: slides over the home list so only its links show */
  .mdrawer-panel {
    position: absolute;
    inset: 0;
    z-index: 2;
    overflow-y: auto;
    padding: 10px 22px 36px;
    background: var(--white);
    transform: translateX(100%);
    transition: transform 280ms ease;
  }

  .mdrawer-panel.open {
    transform: none;
  }

  /* Back row: Lucide arrow-left + section name */
  .mdrawer-back {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    border: 0;
    border-bottom: 1px solid rgba(20, 51, 2, 0.08);
    background: none;
    padding: 0 2px;
    font-family: Inter, sans-serif;
    font-size: 17px;
    font-weight: 800;
    color: var(--text-dark);
    cursor: pointer;
  }

  .mdrawer-links {
    display: grid;
    gap: 4px;
    padding-top: 12px;
  }

  /* No room for the feature image cards on mobile (drawer clones only the links) */
  .mega-feature {
    display: none;
  }

  .mega-menu,
  .small-menu {
    position: static;
    display: none;
    visibility: visible;
    opacity: 1;
    transform: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    margin-top: 8px;
    box-shadow: none;
    pointer-events: auto;
  }

  .nav-item.open .mega-menu,
  .small-menu-wrap.open .small-menu {
    display: grid;
  }

  .small-menu-wrap.open .small-menu {
    display: block;
  }

  .mega-list,
  .why-grid {
    grid-template-columns: 1fr;
  }

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

  /* Tablet: one full-width testimonial per slide, still portrait + quote side by side */
  .tcard {
    flex: 0 0 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .mega-main {
    padding: 22px;
  }

  .mega-head {
    margin-bottom: 14px;
    padding-bottom: 12px;
  }

  .mega-link {
    min-height: 58px;
    grid-template-columns: 44px 1fr;
    padding: 6px 8px;
  }

  .icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .icon-wrap svg {
    width: 22px;
    height: 22px;
  }

  .mega-feature {
    min-height: 210px;
    border-radius: 16px;
  }

  .hero-grid,
  .two-col,
  .two-col.reverse,
  .model-panel {
    grid-template-columns: 1fr;
  }

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

  .carousel-shell {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .carousel-shell > span {
    text-align: center;
  }

  .platform-mockup {
    grid-template-columns: 1fr;
  }

  .mockup-sidebar {
    display: none;
  }

  .suite-showcase {
    margin-top: 58px;
  }

  .suite-card {
    min-height: 390px;
  }

  .model-copy,
  /* Mobile: the image defines the panel height — no letterboxing above/below */
  .model-visual {
    min-height: 0;
  }

  .model-visual img {
    height: auto;
  }

  .model-copy {
    padding: 34px;
  }

  .model-tabs {
    gap: 22px;
    overflow-x: auto;
    justify-content: flex-start;
  }

  .model-tab {
    flex: 0 0 auto;
  }

  .hero-visual {
    max-width: 720px;
    width: 100%;
    margin: 0 auto;
  }

  .image-stack {
    min-height: 420px;
  }

  /* Tabs stay a horizontal pill bar on mobile; scrolls sideways if tight */
  .path-tabs {
    display: flex;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-radius: 999px;
  }

  .path-tabs::-webkit-scrollbar {
    display: none;
  }

  .path-tab {
    flex: 1 0 auto;
    white-space: nowrap;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
  }

  /* Path panels stack on mobile: copy first, full square image underneath */
  .path-panel.active {
    grid-template-columns: 1fr;
  }

  .path-copy {
    padding: 30px 24px;
  }

  .path-img {
    min-height: 0;
  }

  .path-img img {
    position: static;
    height: auto;
  }

  .cta-band {
    padding: 34px 24px;
  }

  .footer-top-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-subscribe {
    width: 100%;
  }

  .footer-subscribe input {
    flex: 1;
    width: auto;
  }

  .footer-bottom {
    flex-wrap: wrap;
    gap: 16px;
  }

  .footer-bottom-logo {
    width: 100px;
  }
}

@media (max-width: 600px) {
  .section-pad {
    padding: 60px 0;
  }

  .final-cta.section-pad {
    padding: 60px 0;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 132px;
  }

  .hero h1 {
    font-size: 40px;
  }

  .hero p {
    font-size: 17px;
  }

  .hero-carousel {
    padding: 20px 0 0;
    margin-top: 36px;
  }

  .logo-track img {
    width: auto;
    height: 54px;
  }

  /* Role cards stay side by side on phones, just more compact */
  .hero-role-cards {
    gap: 12px;
  }

  .talent-card {
    min-height: 70px;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    border-radius: 16px;
    padding: 10px 12px;
  }

  .talent-card img {
    width: 44px;
    height: 44px;
  }

  .talent-card span {
    font-size: 13px;
  }

  .section-heading h2,
  .two-col h2 {
    font-size: 36px;
  }

  .suite-showcase .section-heading h2 {
    font-size: 36px;
  }

  .suite-card {
    min-height: 360px;
    padding: 22px 20px 0;
  }

  .suite-card h3 {
    font-size: var(--card-heading-size);
  }

  .suite-card p {
    font-size: var(--section-body-size);
  }

  .suite-visual {
    min-height: 190px;
  }

  .suite-grid {
    grid-template-columns: 1fr;
  }

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

  /* Phones: stack the card — portrait with name plate on top, quote underneath */
  .tcard {
    flex: 0 0 100%;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .tcard-media {
    height: 320px;
  }

  .tcard-body {
    padding: 24px 22px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .model-copy h3 {
    font-size: 26px;
  }
}

/* ─── Book a Demo Modal ─────────────────────────────────────────────────────── */
.demo-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(10, 28, 5, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.demo-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.demo-card {
  position: relative;
  width: 100%;
  max-width: 680px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 32px 80px rgba(10, 28, 5, 0.22);
  transform: translateY(16px) scale(0.98);
  transition: transform 240ms cubic-bezier(0.34, 1.2, 0.64, 1);
}

.demo-overlay.is-open .demo-card {
  transform: translateY(0) scale(1);
}

.demo-close {
  position: absolute;
  top: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 10px;
  background: #F3F4F6;
  color: #6B7280;
  cursor: pointer;
  transition: background 140ms ease, color 140ms ease;
  z-index: 1;
}

.demo-close:hover {
  background: #E5E7EB;
  color: var(--text-dark);
}

.demo-card-inner {
  padding: 28px 32px 24px;
}

.demo-card-inner .eyebrow {
  display: block;
  margin: 0 auto 4px;
}

.demo-card-inner h2 {
  font-size: 24px;
  line-height: 1.18;
  margin-bottom: 6px;
  text-align: center;
}

.demo-sub {
  color: #6B7280;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 12px;
  text-align: center;
}

.demo-trust {
  display: flex;
  width: fit-content;
  margin: 0 auto 16px;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  background: #EFF9E8;
  color: var(--primary-green);
  font-size: 12px;
  font-weight: 600;
}

.demo-trust svg {
  flex-shrink: 0;
}

.demo-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.demo-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.demo-field label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
}

.demo-field input:not(.demo-combobox-search),
.demo-field select {
  height: 44px;
  padding: 0 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 14px;
  font-family: Inter, sans-serif;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  appearance: none;
  -webkit-appearance: none;
}

.demo-field input::placeholder {
  color: #9CA3AF;
}

.demo-field input:focus,
.demo-field select:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 113, 15, 0.1);
}

.demo-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  margin-top: 4px;
  border: 0;
  border-radius: 12px;
  padding: 0 28px;
  background: var(--primary-green);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  font-family: Inter, sans-serif;
  cursor: pointer;
  transition: background 140ms ease, transform 120ms ease;
}

.demo-submit:hover {
  background: #005A0A;
  transform: translateY(-1px);
}

.demo-submit svg {
  transition: transform 140ms ease;
}

.demo-submit:hover svg {
  transform: translateX(3px);
}

.demo-phone-wrap {
  display: flex;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  overflow: visible;
  transition: border-color 140ms ease, box-shadow 140ms ease;
  position: relative;
}

.demo-phone-wrap:focus-within {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 113, 15, 0.1);
}

/* Dial code custom combobox */
.demo-dial-combo {
  position: relative;
  flex-shrink: 0;
  border-right: 1.5px solid #E5E7EB;
}

.demo-dial-trigger {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 44px;
  padding: 0 10px 0 12px;
  background: #F9FAFB;
  border: 0;
  border-radius: 8px 0 0 8px;
  font-size: 13px;
  font-family: Inter, sans-serif;
  color: var(--text-dark);
  cursor: pointer;
  white-space: nowrap;
  outline: none;
}

.demo-dial-trigger:focus-visible {
  box-shadow: inset 0 0 0 2px var(--primary-green);
}

.demo-dial-chevron {
  color: #9CA3AF;
  transition: transform 160ms ease;
  flex-shrink: 0;
}

.demo-dial-combo[data-open] .demo-dial-chevron {
  transform: rotate(180deg);
}

.demo-dial-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 200;
  width: 240px;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(10,28,5,0.14);
  overflow: hidden;
}

.demo-dial-combo[data-open] .demo-dial-drop {
  display: block;
}

.demo-phone-wrap input[type="tel"] {
  flex: 1;
  height: 44px;
  padding: 0 14px;
  border: 0;
  border-radius: 0 8px 8px 0;
  font-size: 14px;
  font-family: Inter, sans-serif;
  color: var(--text-dark);
  outline: none;
  background: #fff;
}

.demo-phone-wrap input[type="tel"]::placeholder {
  color: #9CA3AF;
}

.demo-phone-wrap input[type="tel"]:focus {
  border-color: transparent;
  box-shadow: none;
}

.demo-privacy {
  text-align: center;
  font-size: 12px;
  color: #9CA3AF;
  margin-top: 4px;
}

.demo-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 0 8px;
  gap: 12px;
  color: var(--primary-green);
}

.demo-success h3 {
  font-size: 22px;
  color: var(--text-dark);
}

.demo-success p {
  font-size: 14px;
  color: #6B7280;
  max-width: 340px;
}

/* Improved native selects */
.demo-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 34px;
}

/* Custom country combobox */
.demo-combobox {
  position: relative;
}

.demo-combobox-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 44px;
  padding: 0 10px 0 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  background: #fff;
  font-size: 14px;
  font-family: Inter, sans-serif;
  color: #9CA3AF;
  cursor: pointer;
  text-align: left;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.demo-combobox-trigger.has-value {
  color: var(--text-dark);
}

.demo-combobox-trigger:focus,
.demo-combobox[data-open] .demo-combobox-trigger {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 113, 15, 0.1);
  outline: none;
}

.demo-combobox-val {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-combobox-icons {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
  margin-left: 6px;
}

.demo-combobox-clear {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #9CA3AF;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 140ms ease, background 140ms ease;
}

.demo-combobox-trigger.has-value .demo-combobox-clear {
  opacity: 1;
  pointer-events: auto;
}

.demo-combobox-clear:hover {
  background: #F3F4F6;
  color: var(--text-dark);
}

.demo-combobox-chevron {
  color: #9CA3AF;
  flex-shrink: 0;
  transition: transform 200ms ease;
}

.demo-combobox[data-open] .demo-combobox-chevron {
  transform: rotate(180deg);
}

.demo-combobox-drop {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 100;
  border: 1.5px solid #E5E7EB;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(10, 28, 5, 0.14);
  overflow: hidden;
  display: none;
}

.demo-combobox[data-open] .demo-combobox-drop {
  display: block;
}

.demo-ss {
  position: relative;
  width: 100%;
}

.demo-ss[data-open] .demo-combobox-drop {
  display: block;
}

.demo-ss[data-open] .demo-combobox-trigger {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 113, 15, 0.1);
  outline: none;
}

.demo-ss[data-open] .demo-combobox-chevron {
  transform: rotate(180deg);
}

.demo-combobox-search-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-bottom: 1px solid #F3F4F6;
  color: #9CA3AF;
}

.demo-combobox-search {
  flex: 1;
  border: 0;
  outline: none;
  font-size: 13px;
  font-family: Inter, sans-serif;
  color: var(--text-dark);
  background: transparent;
}

.demo-combobox-search::placeholder {
  color: #9CA3AF;
}

.demo-combobox-list {
  list-style: none;
  margin: 0;
  padding: 6px;
  max-height: 200px;
  overflow-y: auto;
}

.demo-combobox-list::-webkit-scrollbar {
  width: 4px;
}

.demo-combobox-list::-webkit-scrollbar-track {
  background: transparent;
}

.demo-combobox-list::-webkit-scrollbar-thumb {
  background: #E5E7EB;
  border-radius: 4px;
}

.demo-combobox-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 100ms ease;
}

.demo-combobox-option:hover,
.demo-combobox-option.is-selected {
  background: #F0FBE9;
}

.demo-combobox-option.is-selected {
  color: var(--primary-green);
  font-weight: 600;
}

.demo-combo-empty {
  padding: 12px 10px;
  font-size: 13px;
  color: #9CA3AF;
  text-align: center;
}

.demo-combo-flag {
  font-size: 18px;
  line-height: 1;
  flex-shrink: 0;
}

.demo-combo-empty {
  padding: 16px 10px;
  text-align: center;
  font-size: 13px;
  color: #9CA3AF;
}

/* Interest select wrapper */
.demo-select-wrap {
  position: relative;
  display: block;
  width: 100%;
}

.demo-select-wrap select {
  display: block;
  width: 100%;
  padding-right: 40px;
  cursor: pointer;
  color: #9CA3AF;
}

.demo-select-wrap select.has-value {
  color: var(--text-dark);
}

.demo-select-chevron {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: #9CA3AF;
  pointer-events: none;
}

/* ── Consulting modal extras ── */

/* The consulting form is taller than the demo form — the card caps at the
   viewport and scrolls inside, so every field stays reachable */
#consultModal .demo-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100dvh - 48px);
  overflow: hidden;
}

#consultModal .demo-card-inner {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Multi-select service chips: hidden checkbox, pill toggles green when picked */
.consult-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.consult-chip input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.consult-chip span {
  display: inline-flex;
  padding: 8px 13px;
  border: 1.5px solid #E5E7EB;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  transition: background 140ms ease, border-color 140ms ease, color 140ms ease;
}

.consult-chip input:checked + span {
  background: #E1F8D3;
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.consult-chip input:focus-visible + span {
  box-shadow: 0 0 0 3px rgba(0, 113, 15, 0.15);
}

/* Requirements textarea: matches the input fields */
.demo-field textarea {
  padding: 10px 14px;
  border: 1.5px solid #E5E7EB;
  border-radius: 10px;
  font-size: 14px;
  font-family: Inter, sans-serif;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  resize: vertical;
  min-height: 72px;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}

.demo-field textarea::placeholder {
  color: #9CA3AF;
}

.demo-field textarea:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(0, 113, 15, 0.1);
}

@media (max-width: 540px) {
  /* Deel-style mobile sheet: card floats with margins and scrolls inside,
     so the whole form is reachable and the close button never leaves view */
  .demo-overlay {
    padding: 14px;
  }

  .demo-card {
    display: flex;
    flex-direction: column;
    max-height: calc(100dvh - 28px);
    border-radius: 20px;
    overflow: hidden;
  }

  .demo-card-inner {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 26px 20px 24px;
  }

  .demo-row {
    grid-template-columns: 1fr;
  }

  .demo-card-inner h2 {
    font-size: 22px;
  }

  /* Give the title room so it doesn't run under the close button */
  .demo-card-inner .eyebrow,
  .demo-card-inner h2 {
    padding: 0 24px;
  }
}

/* ── FAQ accordion: product sub-pages ── */
.faq-list {
  max-width: 100%;
  margin: 56px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item:first-child {
  border-top: 1px solid var(--line);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  border: 0;
  background: transparent;
  color: var(--text-dark);
  font-size: 17px;
  font-weight: 700;
  font-family: Inter, sans-serif;
  text-align: left;
  cursor: pointer;
  transition: color 160ms ease;
}

.faq-question:hover {
  color: var(--primary-green);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--text-muted);
  transition: transform 280ms ease, color 280ms ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: var(--primary-green);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.faq-item.open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer-inner p {
  padding-bottom: 24px;
  padding-right: 56px;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.72;
  max-width: 820px;
}

/* ── Integration cards: module cross-links on product sub-pages ── */
.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
  margin-top: 48px;
}

.integration-card {
  display: flex;
  flex-direction: column;
  flex: 0 1 calc(33.33% - 14px);
  min-width: 280px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
  transition: box-shadow 220ms ease, transform 200ms ease;
  color: inherit;
}

.integration-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  text-decoration: none;
  color: inherit;
}

.integration-card h3 {
  color: var(--deep-green);
  font-size: 18px;
  margin-top: 16px;
  margin-bottom: 8px;
  line-height: 1.25;
}

.integration-card p {
  font-size: 14.5px;
  flex: 1;
  line-height: 1.6;
}

.integration-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  color: var(--primary-green);
  font-size: 13px;
  font-weight: 800;
}

.integration-card-link svg {
  transition: transform 160ms ease;
}

.integration-card:hover .integration-card-link svg {
  transform: translateX(4px);
}

/* ── Active module card: highlights current page within Connected Suite ── */
.integration-card--active {
  background: var(--primary-green);
  border-color: var(--primary-green);
  cursor: default;
}

.integration-card--active:hover {
  box-shadow: var(--shadow-soft);
  transform: none;
}

.integration-card--active .icon-wrap {
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.integration-card--active .icon-wrap svg {
  color: var(--white);
  stroke: var(--white);
}

.integration-card--active h3 {
  color: var(--white);
}

.integration-card--active p {
  color: rgba(255, 255, 255, 0.8);
}

.current-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  margin-top: 14px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ── Integration card: "active on this page" green dot ── */
.integration-card--here {
  position: relative;
}
.integration-card--here .icon-wrap::after {
  content: '';
  position: absolute;
  top: -3px;
  right: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary-green);
  border: 2px solid var(--white);
}
.integration-card--here .icon-wrap {
  position: relative;
}

/* ── Payroll feature section label ── */
.feature-section-label {
  margin-top: 28px;
  margin-bottom: 4px;
  color: var(--deep-green);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.01em;
}

/* ── Industry cards: flex grid that centres the last row ── */
.card-flex-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  margin-top: 56px;
}

.card-flex-grid > article {
  flex: 0 1 calc(33.33% - 16px);
  min-width: 260px;
  border-radius: 20px;
  padding: 30px 28px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.card-flex-grid > article h3 {
  margin-bottom: 10px;
  color: var(--deep-green);
  font-size: var(--card-heading-size);
}

@media (max-width: 980px) {
  .integration-card {
    flex: 0 1 100%;
    min-width: 0;
  }

  .card-flex-grid > article {
    flex: 0 1 100%;
    min-width: 0;
  }
}

/* ── Platform sub-page: dark hero (People & Culture, etc.) ── */
.hero-platform {
  background: transparent;
  overflow: visible;
}

.hero-platform.section-pad {
  padding-top: 10px;
}

/* Override the radial-gradient atmosphere from base .hero */
.hero-platform::before,
.hero-platform::after {
  content: none;
}

/* Dark rounded panel containing copy + visual (not the logo strip) */
.hero-platform-panel {
  background: var(--deep-green);
  border-radius: 24px;
  margin: 0 20px;
  padding: 90px 0;
  overflow: hidden;
}

/* Cancel the full-viewport min-height so the panel fits without scrolling */
.hero-platform .hero-grid {
  min-height: 0;
  grid-template-columns: 2fr 3fr;
}

.hero-platform h1 {
  color: var(--white);
  font-size: clamp(32px, 3.2vw, 46px);
}

.hero-platform .hero-copy > p {
  color: rgba(255, 255, 255, 0.8);
}

.hero-platform .eyebrow {
  color: var(--white);
  background: transparent;
  border-color: transparent;
}

/* Logo strip sits outside the panel on page bg */
.hero-platform .hero-carousel {
  padding-top: 36px;
  margin-top: 0;
}

.hero-platform .carousel-shell > span {
  color: var(--text-muted);
}

/* image: restore natural dimensions (no forced fill) */
.hero-visual-platform {
  position: relative;
  max-width: 560px;
  justify-self: end;
}

.hvp-img-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.hvp-img-wrap > img {
  display: block;
  width: 100%;
  height: auto;
}

/* Floating payroll summary card */
.hero-float-card {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--white);
  border-radius: 16px;
  padding: 16px 18px 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  min-width: 210px;
}

.hfc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--off-white);
}

.hfc-header svg {
  color: var(--primary-green);
  flex-shrink: 0;
}

.hfc-header span {
  font-size: 13px;
  font-weight: 700;
  color: var(--deep-green);
}

.hfc-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 5px;
  font-size: 12.5px;
}

.hfc-label {
  color: var(--text-muted);
}

.hfc-val {
  font-weight: 600;
  color: var(--text-dark);
}

.hfc-val--green {
  color: var(--primary-green);
}

.hfc-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  padding: 4px 10px;
  border-radius: 99px;
  background: rgba(0, 113, 15, 0.1);
  color: var(--primary-green);
  font-size: 11.5px;
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero-platform-panel {
    margin: 0 10px;
    border-radius: 18px;
    padding: 48px 0 40px;
  }

  .hero-float-card {
    bottom: 14px;
    left: 14px;
    padding: 12px 14px 10px;
    min-width: 180px;
  }
}

@media (max-width: 600px) {
  .hero-platform.section-pad {
    padding-top: 6px;
  }

  .hero-platform-panel {
    margin: 0 8px;
    border-radius: 14px;
    padding: 24px 0 22px;
  }

  .hero-platform .hero-grid {
    gap: 20px;
  }
}

/* ── Login dropdown ── */
.login-dropdown {
  position: relative;
}

.login-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.login-chevron {
  transition: transform 220ms ease;
}

.login-dropdown.open .login-chevron {
  transform: rotate(180deg);
}

.login-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow);
  min-width: 270px;
  padding: 6px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
  z-index: 500;
}

.login-dropdown.open .login-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.login-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 12px;
  border-radius: 10px;
  color: inherit;
  transition: background 140ms ease;
}

.login-option:hover {
  background: var(--off-white);
}

.login-option .icon-wrap {
  background: var(--off-white);
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  color: var(--deep-green);
}

.login-option-text strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--deep-green);
  line-height: 1.2;
}

.login-option-text > span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
  line-height: 1.35;
}

/* ── Under Development pages ── */
.udp-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.udp-icon-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 40px 36px;
  max-width: 340px;
}

.udp-icon-panel > svg {
  color: rgba(255, 255, 255, 0.7);
}

.udp-icon-panel > p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

.udp-coming-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.15);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.udp-feature-grid {
  margin-top: 48px;
}

.udp-feature-card {
  background: var(--white);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.udp-feature-card h3 {
  font-size: 16px;
  margin: 0;
}

.udp-feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ── Uniform image border-radius on mobile ── */
@media (max-width: 980px) {
  .consulting-picture img,
  .platform-mockup,
  .hvp-img-wrap,
  .hero-float-card {
    border-radius: 12px;
  }
}
