/* EmployeeForce — marketing landing page (redesigned 2026-10-22)
   Brand tokens mirror src/styles.css of the EmployeeForce EMS app so the
   public page and the signed-in product read as one system. */

:root {
  color-scheme: light;
  --bg: #f7f8fa;
  --bg-warm: #faf9f7;
  --card: #ffffff;
  --ink: #0f172a;
  --muted: #64748b;
  --muted-text: #475569;
  --line: #e4e9ef;
  --line-soft: #eef2f6;
  --brand: #0f766e;
  --brand-dark: #115e59;
  --brand-light: #14b8a6;
  --on-brand: #ffffff;
  --surface-accent: #e6f2f1;
  --surface-accent-text: #0f766e;
  --panel-bg: #f2f8f8;
  --panel-border: #c7e0de;
  --nav-hover-bg: #eef3f5;
  --good: #059669;
  --good-text: #047857;
  --good-tint: #e6f5ec;
  --bad: #dc2626;
  --bad-text: #b91c1c;
  --warn: #d97706;
  --accent: #b45309;
  --accent-light: #f59e0b;
  --accent-blue: #0369a1;
  --weekoff: #7c3aed;
  --pickup-bg: #fef3c7;
  --pickup-text: #78350f;
  --drop-bg: #eff6ff;
  --drop-text: #0369a1;
  --warn-text: #92400e;
  --accent-blue-text: #1e40af;

  --role-a: #0f766e;
  --role-b: #0369a1;
  --role-c: #d97706;
  --role-d: #7c3aed;

  --shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --shadow-lg: 0 4px 32px rgba(15, 23, 42, .08);
  --glow: rgba(15, 118, 110, .10);

  --pad: 20px;
  --radius: 12px;
  --radius-lg: 14px;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --hit: 40px;
}

[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0e1417;
  --bg-warm: #141a1d;
  --card: #171e22;
  --ink: #e6edf3;
  --muted: #9fb0be;
  --muted-text: #9fb0be;
  --line: #273239;
  --line-soft: #1f2a30;
  --brand: #2dd4bf;
  --brand-dark: #5eead4;
  --brand-light: #2dd4bf;
  --on-brand: #042f2e;
  --surface-accent: #123b37;
  --surface-accent-text: #8fe3d9;
  --panel-bg: #132629;
  --panel-border: #2c5450;
  --nav-hover-bg: #1f2a30;
  --good: #34d399;
  --good-text: #34d399;
  --good-tint: #1a3d2a;
  --bad: #f87171;
  --bad-text: #f87171;
  --warn: #e8a04a;
  --accent: #e8a04a;
  --accent-light: #fbbf24;
  --accent-blue: #38bdf8;
  --weekoff: #c4b5fd;
  --pickup-bg: #2a241c;
  --pickup-text: #e0ccb0;
  --drop-bg: #1a2636;
  --drop-text: #9cb8cc;
  --warn-text: #e8a04a;
  --accent-blue-text: #38bdf8;

  --role-a: #2dd4bf;
  --role-b: #38bdf8;
  --role-c: #e8a04a;
  --role-d: #c4b5fd;

  --shadow: 0 1px 3px rgba(0, 0, 0, .4), 0 8px 24px rgba(0, 0, 0, .35);
  --shadow-lg: 0 4px 32px rgba(0, 0, 0, .4);
  --glow: rgba(45, 212, 191, .10);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Plus Jakarta Sans", ui-sans-serif, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Monospace accent for data, numbers, and technical values */
.mono {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 500;
  letter-spacing: -0.01em;
}

h1, h2, h3 {
  margin: 0; font-weight: 800; letter-spacing: -.03em; line-height: 1.1;
  text-wrap: balance;
}
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 8px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip {
  position: absolute; left: var(--pad); top: -60px; z-index: 100;
  background: var(--brand); color: var(--on-brand);
  padding: 11px 18px; border-radius: 0 0 10px 10px;
  font-size: 14px; font-weight: 700; text-decoration: none;
  transition: top .2s var(--ease);
}
.skip:focus { top: 0; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--pad);
}

[id] { scroll-margin-top: 88px; }

/* ---------- icons ---------- */
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.ic {
  width: 20px; height: 20px; flex: none;
  fill: none; stroke: currentColor;
  stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.ic-sm { width: 16px; height: 16px; stroke-width: 2; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font: inherit; font-size: 15px; font-weight: 700; letter-spacing: -.01em;
  line-height: 1;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .2s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-lg { min-height: 52px; padding: 0 26px; font-size: 16px; border-radius: 10px; }

.btn-primary {
  background: var(--brand);
  border-color: color-mix(in srgb, var(--brand) 72%, #000000);
  color: var(--on-brand);
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 22%, transparent);
}
.btn-primary:active {
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 14%, transparent);
}
.btn-quiet {
  background: var(--card);
  border-color: var(--line);
  color: var(--ink);
}
.btn-surface {
  background: var(--card);
  border-color: var(--panel-border);
  color: var(--ink);
}

@media (hover: hover) {
  .btn-primary:hover { background: var(--brand-dark); }
  .btn-quiet:hover { background: var(--nav-hover-bg); border-color: var(--muted); }
  .btn-surface:hover { background: var(--card); border-color: var(--brand); }
}

.icon-btn {
  position: relative;
  display: inline-flex; align-items: center; justify-content: center;
  width: var(--hit); height: var(--hit);
  padding: 0;
  background: none; border: 1px solid transparent; border-radius: 8px;
  color: var(--muted-text);
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.icon-btn::after {
  content: ""; position: absolute; inset: 50% auto auto 50%;
  width: 44px; height: 44px; transform: translate(-50%, -50%);
}
@media (hover: hover) {
  .icon-btn:hover { background: var(--nav-hover-bg); color: var(--ink); }
}
.icon-btn:active { background: var(--nav-hover-bg); }

/* ---------- header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 50;
  background: var(--card);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease);
}
.site-head.is-scrolled {
  border-bottom-color: var(--line);
}

.bar { display: flex; align-items: center; gap: 14px; height: 68px; }

.brand {
  display: inline-flex; align-items: center; gap: 10px;
  min-height: 44px;
  text-decoration: none; margin-right: auto;
}
.brand-mark {
  display: block;
  width: 32px; height: 32px; flex: none;
}
.brand-name {
  font-size: 17px; font-weight: 800; letter-spacing: -.03em;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: 2px; }
.nav a {
  padding: 9px 13px; border-radius: 8px;
  font-size: 14.5px; font-weight: 600; letter-spacing: -.01em;
  color: var(--muted-text); text-decoration: none;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.nav a.is-active {
  background: var(--surface-accent);
  color: var(--surface-accent-text);
}
@media (hover: hover) {
  .nav a:hover { background: var(--nav-hover-bg); color: var(--ink); }
  .nav a.is-active:hover { background: var(--surface-accent); color: var(--surface-accent-text); }
}

.bar-end { display: flex; align-items: center; gap: 6px; }
.bar-end > .icon-btn:last-child { margin-right: -10px; }

.btn-signin { padding: 0 16px; font-size: 14.5px; border-radius: 8px; }

.nav-toggle { display: none; }
.nav-toggle .ic-close { display: none; }
.nav-open .nav-toggle .ic-close { display: block; }
.nav-open .nav-toggle .ic-open { display: none; }

[data-theme="light"] .ic-sun { display: none; }
[data-theme="dark"] .ic-moon { display: none; }

.mobile-nav {
  border-top: 1px solid var(--line);
  background: var(--bg);
  opacity: 0; transform: translateY(-8px);
  transition: opacity .28s var(--ease), transform .35s var(--ease);
}
.mobile-nav.is-open { opacity: 1; transform: none; }
.mobile-nav nav {
  display: flex; flex-direction: column;
  padding: 10px var(--pad) 18px;
}
.mobile-nav a {
  padding: 13px 4px;
  font-size: 16px; font-weight: 600; color: var(--muted-text);
  text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav .mn-signin {
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
  margin-top: 10px; padding: 14px 18px;
  border-radius: 12px;
  background: var(--brand); color: var(--on-brand);
  font-weight: 700;
  box-shadow: inset 0 1px 0 color-mix(in srgb, #ffffff 22%, transparent);
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-block: 72px 88px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse 720px 520px at 82% -8%, var(--glow) 0%, transparent 68%),
    radial-gradient(ellipse 560px 420px at 4% 4%, var(--glow) 0%, transparent 70%);
}

/* Asymmetric grid: copy gets more space, visual is compact */
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: center;
}

h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  letter-spacing: -.035em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.h1-accent { color: var(--brand); }

.lede {
  font-size: 18px; line-height: 1.65;
  color: var(--muted-text);
  max-width: 34em;
  margin-bottom: 32px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.cta-row-center { justify-content: center; }

/* Hero proof points: mono stats at the bottom */
.hero-proof {
  display: flex; gap: 36px;
  margin-top: 36px; padding-top: 28px;
  border-top: 1px solid var(--line);
}
.proof-item {
  display: flex; flex-direction: column; gap: 4px;
}
.proof-value {
  font-size: 22px; font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
}
.proof-label {
  font-size: 13px; color: var(--muted);
  letter-spacing: 0.01em;
}

/* ---------- compact payslip (hero visual) ---------- */
.hero-visual {
  max-width: 380px;
  justify-self: end;
}

.payslip-compact {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 20px;
}

.payslip-compact-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 14px;
}
.payslip-compact-title { font-size: 14px; font-weight: 700; letter-spacing: -.015em; }
.payslip-compact-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }

.pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 3px 10px; border-radius: 999px;
  font-size: 11px; font-weight: 600;
  white-space: nowrap;
}
.pill-teal {
  background: var(--surface-accent); color: var(--surface-accent-text);
}

.payslip-compact-rows {
  display: flex; flex-direction: column;
}
.pc-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line-soft);
}
.pc-row:last-child { border-bottom: 0; }
.pc-row dt { font-size: 13px; color: var(--muted-text); font-weight: 400; }
.pc-row dd {
  margin: 0; font-size: 13.5px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pc-ded dd { color: var(--accent); }
.pc-net {
  margin-top: 8px; padding: 12px 14px;
  border-radius: 10px;
  background: var(--surface-accent);
  border-bottom: 0;
}
.pc-net dt { color: var(--surface-accent-text); font-weight: 700; font-size: 13px; }
.pc-net dd { color: var(--surface-accent-text); font-size: 18px; font-weight: 700; }

/* ---------- one record band ---------- */
.section-record {
  padding-block: 56px 64px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-warm);
}

.record-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 64px;
  align-items: center;
}

.record-copy h2 {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.record-lede {
  font-size: 15.5px; line-height: 1.65;
  color: var(--muted-text);
}

.record-card {
  margin-top: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 16px 18px;
}
.record-card-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
}
.record-name { font-size: 15px; font-weight: 800; letter-spacing: -.02em; }
.record-id { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.record-rows { margin: 12px 0 0; display: flex; flex-direction: column; }
.record-rows > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 12px;
  padding: 7px 0;
  border-top: 1px solid var(--line-soft);
  font-size: 13px;
}
.record-rows dt { color: var(--muted-text); }
.record-rows dd { margin: 0; font-weight: 500; text-align: right; }

/* Hairline spine with a tick per module: the record on the left is read by all
   five, so the branches carry no icons of their own. */
.record-fan { position: relative; padding-left: 34px; }
.record-fan::before {
  content: ""; position: absolute; left: 11px; top: 22px; bottom: 22px;
  border-left: 1px solid var(--panel-border);
}
.record-fan li {
  position: relative;
  display: grid; grid-template-columns: 132px 1fr; gap: 14px;
  padding: 10px 0;
  font-size: 15px; line-height: 1.45;
}
.record-fan li::before {
  content: ""; position: absolute; left: -20px; top: 50%;
  width: 14px; border-top: 1px solid var(--panel-border);
}
.record-fan li::after {
  content: ""; position: absolute; left: -26px; top: calc(50% - 3px);
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand);
}
.record-fan b { font-weight: 700; letter-spacing: -.015em; }
.record-fan span { font-size: 14px; color: var(--muted-text); }

/* ---------- sections ---------- */
.section { padding-block: 88px; }
.section-alt {
  background: var(--panel-bg);
  border-block: 1px solid var(--panel-border);
}

.sec-kicker {
  display: inline-flex; align-items: center; gap: 7px;
  margin-bottom: 16px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand);
}

/* ---------- modules section (asymmetric layout) ---------- */
.section-modules {
  padding-block: 96px;
}

.modules-grid {
  display: grid;
  grid-template-columns: 0.55fr 1.45fr;
  gap: 64px;
  align-items: start;
}

.modules-intro {
  position: sticky;
  top: 96px;
}
.modules-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.03em;
  margin-bottom: 16px;
}
.modules-lede {
  font-size: 16px; line-height: 1.65;
  color: var(--muted-text);
}

.modules-list {
  display: flex; flex-direction: column; gap: 16px;
}

/* Featured module card: full-width gradient.
   The article carries both .module-card and .module-featured, so every rule
   here must use the compound selector — .module-card's card fill is declared
   later and would otherwise paint over the gradient. */
.module-card.module-featured {
  --feat-ink: var(--on-brand);
  --feat-ink-soft: color-mix(in srgb, var(--on-brand) 82%, transparent);
  --feat-chip: color-mix(in srgb, var(--on-brand) 16%, transparent);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 32px;
  border-radius: var(--radius-lg);
  border-color: transparent;
  background: linear-gradient(135deg, var(--brand-dark) 0%, var(--brand) 100%);
  color: var(--feat-ink);
}
[data-theme="dark"] .module-card.module-featured {
  --feat-ink: var(--surface-accent-text);
  --feat-ink-soft: color-mix(in srgb, var(--surface-accent-text) 80%, transparent);
  --feat-chip: color-mix(in srgb, var(--surface-accent-text) 12%, transparent);
  background: var(--surface-accent);
  border-color: var(--panel-border);
}
.module-featured-content { flex: 1; }
.module-card.module-featured h3 {
  font-size: 20px; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 10px;
  color: var(--feat-ink);
}
.module-card.module-featured p {
  font-size: 15px; line-height: 1.6;
  color: var(--feat-ink-soft);
  max-width: 42em;
}
.module-card.module-featured .module-featured-icon {
  display: grid; place-items: center;
  width: 56px; height: 56px; flex: none;
  border-radius: 14px;
  background: var(--feat-chip);
  color: var(--feat-ink);
}
.module-featured-icon .ic { width: 28px; height: 28px; }

/* Regular module grid: 2 columns */
.modules-grid-inner {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.module-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
@media (hover: hover) {
  .modules-grid-inner .module-card:hover {
    border-color: color-mix(in srgb, var(--brand) 30%, var(--line));
    box-shadow: 0 2px 12px rgba(15, 118, 110, .06);
  }
}
.module-card h3 {
  font-size: 15px; font-weight: 700; letter-spacing: -.015em;
  margin-bottom: 6px;
}
.module-card p {
  font-size: 14px; line-height: 1.55;
  color: var(--muted-text);
}

/* ---------- roles section ---------- */
.section-roles {
  padding-block: 96px;
}

.roles-header {
  max-width: 40em;
  margin-bottom: 48px;
}
.roles-header h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.roles-lede {
  font-size: 17px; line-height: 1.65;
  color: var(--muted-text);
}

.roles-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.role-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}
.role-card-content { flex: 1; }
.role-card h3 {
  font-size: 17px; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: 10px;
}
.role-card > .role-card-content > p {
  font-size: 15px; line-height: 1.6;
  color: var(--muted-text);
  margin-bottom: 16px;
}

.role-icon {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 12px;
  margin-bottom: 18px;
}
.role-employees .role-icon { background: color-mix(in srgb, var(--role-a) 13%, var(--card)); color: var(--role-a); }
.role-admin .role-icon { background: color-mix(in srgb, var(--role-b) 13%, var(--card)); color: var(--role-b); }
.role-it .role-icon { background: color-mix(in srgb, var(--role-c) 13%, var(--card)); color: var(--role-c); }
.role-drivers .role-icon { background: color-mix(in srgb, var(--role-d) 13%, var(--card)); color: var(--role-d); }

.role-features {
  display: flex; flex-direction: column; gap: 6px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}
.role-features li {
  display: flex; align-items: flex-start; gap: 9px;
  font-size: 13.5px; line-height: 1.5; color: var(--muted-text);
}
.role-employees .role-features .ic { color: var(--role-a); }
.role-admin .role-features .ic { color: var(--role-b); }
.role-it .role-features .ic { color: var(--role-c); }
.role-drivers .role-features .ic { color: var(--role-d); }

@media (hover: hover) {
  .role-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
    border-color: color-mix(in srgb, var(--brand) 20%, var(--line));
  }
}

/* ---------- india-native section (asymmetric) ---------- */
.section-india {
  padding-block: 96px;
  background: var(--bg-warm);
  border-block: 1px solid var(--line);
}

.india-grid {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: 72px;
  align-items: start;
}

.india-copy h2 {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  letter-spacing: -.03em;
  margin-bottom: 18px;
}
.india-lede {
  font-size: 17px; line-height: 1.65;
  color: var(--muted-text);
  margin-bottom: 32px;
  max-width: 40em;
}

.compliance-list {
  display: flex; flex-direction: column; gap: 4px;
}
.compliance-list li {
  display: flex; align-items: flex-start; gap: 14px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  font-size: 15px; line-height: 1.6; color: var(--muted-text);
}
.compliance-list li:first-child { border-top: 0; padding-top: 0; }
.compliance-list strong { color: var(--ink); font-weight: 700; }
.compliance-icon {
  display: grid; place-items: center;
  width: 34px; height: 34px; flex: none; margin-top: 1px;
  border-radius: 10px;
  background: var(--surface-accent); color: var(--surface-accent-text);
}
.compliance-icon .ic { width: 18px; height: 18px; }

/* Full payslip (India section visual) */
.india-visual {
  position: sticky;
  top: 96px;
}

.payslip-full {
  position: relative; overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 24px;
}

.payslip-full-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  margin-bottom: 16px;
}
.payslip-full-title { font-size: 15px; font-weight: 700; letter-spacing: -.015em; }
.payslip-full-sub { font-size: 12.5px; color: var(--muted); margin-top: 2px; }

.payslip-full-rows {
  display: flex; flex-direction: column;
}
.pf-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line-soft);
}
.pf-row dt { font-size: 13.5px; color: var(--muted-text); font-weight: 400; }
.pf-row dd {
  margin: 0; font-size: 14px; font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pf-gross { border-bottom-color: var(--line); }
.pf-gross dt, .pf-gross dd { font-weight: 700; color: var(--ink); font-size: 14.5px; }
.pf-ded dd { color: var(--accent); }
.pf-net {
  border-bottom: 0;
  margin-top: 8px; padding: 14px 16px;
  border-radius: 12px;
  background: var(--surface-accent);
}
.pf-net dt { color: var(--surface-accent-text); font-weight: 700; font-size: 14px; }
.pf-net dd { color: var(--surface-accent-text); font-size: 20px; font-weight: 700; letter-spacing: -.03em; }

.payslip-full-note {
  margin-top: 16px;
  font-size: 12.5px; line-height: 1.55; color: var(--muted);
}
.payslip-full-disclaimer {
  margin-top: 12px; padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  font-size: 11px; color: var(--muted); letter-spacing: .01em;
}

/* ---------- CTA ---------- */
.section-cta {
  padding-block: 88px 96px;
}
.cta-card {
  text-align: center;
  padding: 56px 40px;
  border-radius: var(--radius-lg);
  background: var(--surface-accent);
  border: 1px solid var(--panel-border);
}
.cta-card h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  letter-spacing: -.03em;
  margin-bottom: 14px;
}
.cta-card p {
  margin-bottom: 28px;
  font-size: 16px; line-height: 1.6;
  color: var(--muted-text);
  max-width: 38em;
  margin-inline: auto;
}

/* ---------- footer ---------- */
.site-foot { background: var(--card); border-top: 1px solid var(--line); }
.foot-grid {
  display: grid; grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  padding-block: 48px 36px;
}
.foot-brand .brand { margin-bottom: 16px; }
.foot-brand p {
  font-size: 14.5px; line-height: 1.6; color: var(--muted-text);
  max-width: 34em;
}
.foot-nav { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.foot-h {
  font-size: 12px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 12px;
}
.foot-nav a {
  display: block; padding: 5px 0;
  font-size: 14.5px; color: var(--muted-text); text-decoration: none;
  transition: color .2s var(--ease);
}
@media (hover: hover) {
  .foot-nav a:hover { color: var(--brand); }
}
.foot-base {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 8px 24px;
  padding-block: 20px 24px;
  border-top: 1px solid var(--line);
  font-size: 13px; color: var(--muted);
}
.foot-note { font-size: 12.5px; }

/* ---------- sub-page head ---------- */
/* Every marketing page below the apex opens the same way: kicker, h1, lede on
   the hero's glow, so the pages read as one site rather than five documents. */
.page-head {
  position: relative;
  padding-block: 64px 40px;
  background:
    radial-gradient(ellipse 720px 520px at 82% -8%, var(--glow) 0%, transparent 68%),
    radial-gradient(ellipse 560px 420px at 4% 4%, var(--glow) 0%, transparent 70%);
}
.page-head-inner { max-width: 44em; }
.page-head h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.035em;
  line-height: 1.08;
  margin-bottom: 20px;
}
.page-lede {
  font-size: 18px; line-height: 1.65;
  color: var(--muted-text);
}

/* ---------- home: where to look next ---------- */
.section-explore { padding-block: 88px; }
.explore-head { max-width: 46em; margin-bottom: 36px; }
.explore-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; margin-bottom: 14px; }
.explore-lede { font-size: 16px; line-height: 1.65; color: var(--muted-text); }

.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.explore-card {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color .2s var(--ease);
}
.explore-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border-radius: 10px;
  background: var(--surface-accent);
  color: var(--surface-accent-text);
}
.explore-icon .ic { width: 20px; height: 20px; }
.explore-text { display: flex; flex-direction: column; gap: 4px; flex: 1; }
.explore-text b { font-size: 17px; font-weight: 800; letter-spacing: -.02em; }
.explore-text span { font-size: 14.5px; line-height: 1.6; color: var(--muted-text); }
.explore-arrow { margin-top: 4px; color: var(--muted); transition: color .2s var(--ease); }
@media (hover: hover) {
  .explore-card:hover { border-color: var(--brand); }
  .explore-card:hover .explore-arrow { color: var(--brand); }
}

.explore-foot { margin-top: 24px; font-size: 15px; color: var(--muted-text); }
.explore-foot a {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 6px;
  font-weight: 700; color: var(--brand); text-decoration: none;
}
@media (hover: hover) { .explore-foot a:hover { text-decoration: underline; } }

/* ---------- for companies: the fit list ---------- */
.section-fit { padding-block: 88px; }
.fit-head { max-width: 46em; margin-bottom: 32px; }
.fit-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; margin-bottom: 12px; }
.fit-lede { font-size: 16px; line-height: 1.65; color: var(--muted-text); }

.fit-list {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0 44px;
  border-top: 1px solid var(--line);
}
.fit-list > div {
  display: grid; grid-template-columns: 108px 1fr; gap: 18px;
  align-items: baseline;
  padding: 16px 0;
  border-bottom: 1px solid var(--line-soft);
}
.fit-list dt {
  font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  color: var(--muted);
}
.fit-list dd { margin: 0; font-size: 15.5px; max-width: 26em; }

/* ---------- for companies: the three steps ---------- */
.section-move { padding-block: 88px; }
.move-head { max-width: 46em; margin-bottom: 28px; }
.move-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; margin-bottom: 12px; }
.move-lede { font-size: 16px; line-height: 1.65; color: var(--muted-text); }

.move-steps { list-style: none; padding: 0; }
.move-steps > li {
  display: grid; grid-template-columns: 56px 1fr; gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--panel-border);
}
.move-steps > li:last-child { border-bottom: 1px solid var(--panel-border); }
.step-n { font-size: 15px; font-weight: 700; color: var(--brand); line-height: 1.5; }
.step-body h3 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 10px; }
.step-body p { font-size: 16px; line-height: 1.65; color: var(--muted-text); }
.step-note {
  margin-top: 12px; padding-left: 14px;
  border-left: 2px solid var(--panel-border);
  font-size: 14px; line-height: 1.6; color: var(--muted);
}

/* ---------- for companies: what it does not do ---------- */
.section-not { padding-block: 88px; }
.not-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.not-copy h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); letter-spacing: -.03em; margin-bottom: 14px; }
.not-lede { font-size: 16px; line-height: 1.65; color: var(--muted-text); }

.not-list { display: flex; flex-direction: column; }
.not-list li {
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 24px;
  padding: 16px 0;
  border-top: 1px solid var(--line);
}
.not-list li:last-child { border-bottom: 1px solid var(--line); }
.not-list b { font-size: 15.5px; font-weight: 700; letter-spacing: -.015em; }
.not-list span { font-size: 15px; line-height: 1.6; color: var(--muted-text); }

/* ---------- faq ---------- */
.section-faq { padding-block: 88px; }
.faq-grid { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.faq-intro { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.faq-intro-note { font-size: 14.5px; line-height: 1.6; color: var(--muted-text); }
.faq-contents { width: 100%; margin-top: 8px; }
.faq-contents a {
  display: block; padding: 9px 0;
  font-size: 14px; font-weight: 600; letter-spacing: -.01em;
  color: var(--muted-text); text-decoration: none;
  border-bottom: 1px solid var(--line-soft);
}
@media (hover: hover) { .faq-contents a:hover { color: var(--ink); } }

.faq-list h2 {
  margin: 36px 0 4px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--brand);
}
.faq-list h2:first-child { margin-top: 0; }

/* Native details/summary: keyboard and screen-reader behaviour for free, and
   no script to keep the open state honest. */
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 20px;
  padding: 17px 0;
  font-size: 16.5px; font-weight: 700; letter-spacing: -.015em; line-height: 1.45;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: ""; flex: none;
  width: 8px; height: 8px; margin-top: 9px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg);
  transition: transform .2s var(--ease);
}
.faq-item[open] summary::after { transform: rotate(-135deg); }
@media (hover: hover) {
  .faq-item summary:hover { color: var(--brand); }
  .faq-item summary:hover::after { border-color: var(--brand); }
}
.faq-a { max-width: 62em; padding: 0 0 20px; }
.faq-a p { font-size: 15.5px; line-height: 1.7; color: var(--muted-text); }

/* ---------- reveal ---------- */
.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1099px) {
  :root { --pad: 28px; }
  .hero-grid { gap: 48px; }
  .modules-grid { gap: 48px; }
  .india-grid { gap: 48px; }
  .roles-grid { gap: 14px; }
  .record-grid { gap: 48px; }
  .not-grid { gap: 40px; }
  .faq-grid { gap: 40px; }
  .fit-list { gap: 0 32px; }
}

@media (max-width: 939px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }

  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { max-width: 40em; }
  .hero-visual { max-width: 360px; justify-self: center; }

  .modules-grid { grid-template-columns: 1fr; gap: 36px; }
  .modules-intro { position: static; }

  .record-grid { grid-template-columns: 1fr; gap: 36px; }
  .record-card { max-width: 420px; }

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

  .india-grid { grid-template-columns: 1fr; gap: 40px; }
  .india-visual { position: static; max-width: 420px; }

  .explore-grid { grid-template-columns: 1fr; }
  .fit-list { grid-template-columns: 1fr; }
  .not-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
  .faq-intro { position: static; align-items: stretch; }
  .move-steps > li { grid-template-columns: 44px 1fr; gap: 16px; }
}

@media (max-width: 699px) {
  :root { --pad: 20px; --hit: 36px; }
  body { font-size: 16px; }

  .bar { height: 64px; gap: 8px; }
  .bar-end { gap: 10px; }
  .brand { gap: 9px; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 15.5px; }
  .btn-signin { position: relative; height: 36px; min-height: 36px; padding: 0 14px; font-size: 13.5px; }
  .btn-signin::after {
    content: ""; position: absolute; inset: 50% auto auto 50%;
    width: 44px; height: 44px; transform: translate(-50%, -50%);
  }
  .btn-signin .ic-sm { display: none; }
  .bar-end > .icon-btn:last-child { margin-right: -8px; }

  .section { padding-block: 64px; }
  .section-modules, .section-roles, .section-india { padding-block: 64px; }
  .section-explore, .section-fit, .section-move, .section-not, .section-faq { padding-block: 64px; }
  .section-cta { padding-block: 64px 72px; }
  .hero { padding-block: 48px 56px; }
  .section-record { padding-block: 48px 56px; }
  .page-head { padding-block: 48px 32px; }
  .page-lede { font-size: 17px; }

  .hero h1 br { display: none; }
  /* Content-sized proof columns: each label stays on one line and the leftover
     space is split evenly, so both gaps match however wide the labels are. */
  .hero-proof {
    justify-content: space-between;
    gap: 8px;
  }
  .proof-value { font-size: 17px; }
  .proof-label { font-size: 12px; line-height: 1.35; white-space: nowrap; }

  .modules-grid-inner { grid-template-columns: 1fr; }
  .module-card { padding: 18px 16px; }
  .module-card.module-featured { flex-direction: column; align-items: flex-start; padding: 22px 20px; }
  /* Icon leads the card on phones, matching the role cards; as the last flex
     child it stranded itself under the paragraph. */
  .module-card.module-featured .module-featured-icon { order: -1; width: 44px; height: 44px; }
  .module-featured-icon .ic { width: 22px; height: 22px; }

  .roles-grid { grid-template-columns: 1fr; }
  .role-card { padding: 22px 18px; }

  .cta-row { flex-direction: column; gap: 10px; }
  .cta-row .btn { width: 100%; }
  .cta-card { padding: 40px 24px; }

  .payslip-compact { padding: 18px; }
  .payslip-full { padding: 20px; }

  /* A 132px label column starves the note at this width, so each branch puts
     the module first and the note under it. */
  .record-fan li { grid-template-columns: 1fr; gap: 2px; }

  .explore-card { padding: 18px; }
  .fit-list > div { grid-template-columns: 1fr; gap: 4px; }
  .not-list li { grid-template-columns: 1fr; gap: 4px; }
  .move-steps > li { padding: 22px 0; }
  .faq-item summary { font-size: 15.5px; padding: 15px 0; }

  .foot-nav a { padding: 11px 0; }
  .foot-grid { grid-template-columns: 1fr; gap: 32px; padding-block: 36px 28px; }
  .foot-base { flex-direction: column; gap: 6px; }
}

@media (max-width: 419px) {
  :root { --pad: 16px; --hit: 32px; }
  .bar { gap: 6px; }
  .bar-end { gap: 8px; }
  .brand-mark { width: 28px; height: 28px; }
  .brand-name { font-size: 13.5px; }
  .btn-signin { height: 32px; min-height: 32px; padding: 0 9px; font-size: 13px; }
  .bar-end > .icon-btn:last-child { margin-right: -6px; }

  .proof-value { font-size: 15px; }
  .proof-label { font-size: 11px; }

  .foot-nav { grid-template-columns: 1fr; gap: 20px; }
}

/* Below the width where three one-line labels fit, let the row wrap 2 + 1
   instead of pushing past the page inset. */
@media (max-width: 355px) {
  .hero-proof { flex-wrap: wrap; row-gap: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-head, .skip, .section-cta { display: none; }
}
