/* ============================================================
   Fortraq HR — landing page styles
   ============================================================ */

:root {
  --ink: #10130c;
  --ink-soft: #1b2116;
  --paper: #f6f4ec;
  --paper-2: #efecdf;
  --card: #fbfaf4;
  --white: #ffffff;
  --lime: #c8f751;
  --lime-deep: #a8dc2b;
  --lime-soft: #eafbc4;
  --coral: #ff6b4a;
  --muted: #5f6558;
  --muted-dark: #9aa18f;
  --line: rgba(16, 19, 12, 0.11);
  --line-strong: rgba(16, 19, 12, 0.2);
  --line-dark: rgba(246, 244, 236, 0.14);

  --radius: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;

  --font-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-serif: "Instrument Serif", Georgia, serif;

  --shadow-sm: 0 1px 2px rgba(16, 19, 12, 0.05), 0 6px 18px rgba(16, 19, 12, 0.05);
  --shadow-md: 0 2px 6px rgba(16, 19, 12, 0.05), 0 18px 40px rgba(16, 19, 12, 0.09);
  --shadow-lg: 0 30px 80px rgba(16, 19, 12, 0.18), 0 8px 24px rgba(16, 19, 12, 0.08);

  --container: 1180px;
  --header-h: 76px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }

::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--lime-deep);
  outline-offset: 3px;
  border-radius: 6px;
}

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

.skip-link {
  position: fixed;
  top: -60px; left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 18px;
  border-radius: 999px;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}

/* ---------- Type ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 6.4vw, 5.4rem); }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h3 { font-size: 1.4rem; line-height: 1.15; letter-spacing: -0.02em; }

.accent-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow--dark { color: var(--muted-dark); }

.accent-italic::selection { background: var(--ink); color: var(--lime); }

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 0 rgba(168, 220, 43, 0.6);
  animation: pulse 2.4s ease-out infinite;
  flex: none;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(168, 220, 43, 0.55); }
  70% { box-shadow: 0 0 0 9px rgba(168, 220, 43, 0); }
  100% { box-shadow: 0 0 0 0 rgba(168, 220, 43, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 21px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.btn .icon { width: 17px; height: 17px; transition: transform 0.2s ease; }
.btn:hover .icon { transform: translateX(3px); }
.btn:active { transform: translateY(1px) scale(0.99); }

.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: #000; box-shadow: 0 10px 24px rgba(16, 19, 12, 0.22); transform: translateY(-1px); }

.btn-outline {
  border-color: rgba(16, 19, 12, 0.22);
  color: var(--ink);
  background: transparent;
}
.btn-outline:hover { background: rgba(16, 19, 12, 0.05); border-color: var(--ink); }

.btn-ghost { color: var(--ink); padding-inline: 14px; }
.btn-ghost:hover { background: rgba(16, 19, 12, 0.05); }

.btn-lime { background: var(--lime); color: var(--ink); }
.btn-lime:hover { background: #d8ff67; transform: translateY(-1px); box-shadow: 0 14px 30px rgba(200, 247, 81, 0.22); }

.btn-dark-outline { border-color: rgba(246, 244, 236, 0.28); color: var(--paper); }
.btn-dark-outline:hover { border-color: var(--paper); background: rgba(246, 244, 236, 0.07); }

.btn-lg { padding: 15px 25px; font-size: 0.98rem; }
.btn-block { width: 100%; }

.play-dot {
  display: inline-grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(16, 19, 12, 0.08);
  margin-left: -6px;
}
.play-dot svg { width: 13px; height: 13px; color: var(--ink); }

/* ---------- Reveal ---------- */
.reveal { opacity: 1; }
html.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
html.js .reveal.is-visible { opacity: 1; transform: none; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(246, 244, 236, 0.82);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: rgba(246, 244, 236, 0.94);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark { width: 32px; height: 32px; color: var(--ink); flex: none; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.04em;
  line-height: 1;
}
.brand-hr {
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  vertical-align: super;
  margin-left: 3px;
  padding: 2px 5px;
  border-radius: 5px;
  background: var(--ink);
  color: var(--lime);
}

.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.89rem;
  font-weight: 500;
  color: #343b2c;
  transition: background 0.18s ease, color 0.18s ease;
}
.nav-links a:hover { background: rgba(16, 19, 12, 0.06); color: var(--ink); }

.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-login { display: none; }

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
}
.menu-toggle span {
  display: block;
  height: 1.6px;
  width: 100%;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.3px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding-top: 62px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 720px;
  background-image:
    linear-gradient(rgba(16, 19, 12, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 19, 12, 0.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  pointer-events: none;
}
.hero-glow {
  position: absolute;
  top: -320px; right: -180px;
  width: 740px; height: 740px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 247, 81, 0.5), rgba(200, 247, 81, 0) 68%);
  filter: blur(20px);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: clamp(32px, 5vw, 64px);
  padding-top: 28px;
  padding-bottom: 40px;
}

.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow {
  padding: 7px 14px 7px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  margin-bottom: 24px;
  font-size: 0.71rem;
}
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede {
  max-width: 33rem;
  font-size: 1.09rem;
  line-height: 1.62;
  color: var(--muted);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.microcopy {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--muted);
}
.microcopy .icon { width: 15px; height: 15px; color: var(--lime-deep); stroke-width: 2.4; }

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 38px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  max-width: 33rem;
}
.avatars { display: flex; }
.avatar {
  display: inline-grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--ink);
  flex: none;
}
.avatars .avatar + .avatar { margin-left: -11px; }
.avatar-1 { background: #d9c7ff; }
.avatar-2 { background: #b9e8c9; }
.avatar-3 { background: #ffd39b; }
.avatar-4 { background: var(--ink); color: var(--lime); }
.avatar-5 { background: #ffc1b2; }
.avatar.sm { width: 30px; height: 30px; font-size: 0.58rem; }
.avatar.xs { width: 22px; height: 22px; font-size: 0.48rem; border-width: 1.5px; }

.stars { display: flex; gap: 2px; margin-bottom: 3px; }
.stars svg { width: 13px; height: 13px; fill: var(--ink); }
.stars--dark { margin-bottom: 16px; }
.stars--dark svg { width: 15px; height: 15px; }
.hero-proof p { font-size: 0.8rem; color: var(--muted); }
.hero-proof strong { color: var(--ink); font-weight: 600; }

/* ---------- App mock ---------- */
.hero-visual {
  position: relative;
  perspective: 1400px;
  min-width: 0;
}

.app-frame {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(16, 19, 12, 0.16);
  border-radius: 18px;
  background: #fefdf8;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  transform: rotate(-1.1deg);
}
.app-chrome {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: #f0eee4;
  border-bottom: 1px solid rgba(16, 19, 12, 0.08);
}
.chrome-dots { display: flex; gap: 5px; }
.chrome-dots i { width: 7px; height: 7px; border-radius: 50%; background: rgba(16, 19, 12, 0.16); }
.chrome-url {
  flex: 1;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.56rem;
  color: #7b806f;
  text-align: center;
  letter-spacing: 0.02em;
}
.chrome-spacer { width: 26px; }

.app-body { display: flex; min-height: 420px; }
.app-sidebar {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: 52px;
  padding: 14px 0;
  background: #10130c;
  flex: none;
}
.side-logo svg { width: 24px; height: 24px; border-radius: 7px; }
.side-item {
  width: 18px; height: 6px;
  border-radius: 3px;
  background: rgba(246, 244, 236, 0.2);
}
.side-item.is-active { background: var(--lime); }
.side-item--last { margin-top: auto; border-radius: 50%; width: 18px; height: 18px; background: rgba(246, 244, 236, 0.12); }

.app-main { flex: 1; min-width: 0; padding: 16px 16px 18px; }
.app-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.app-hello { font-family: var(--font-display); font-size: 0.82rem; font-weight: 600; letter-spacing: -0.02em; }
.app-sub { font-size: 0.58rem; color: #81866f; margin-top: 2px; }
.app-user { display: flex; align-items: center; gap: 8px; }
.app-bell {
  position: relative;
  width: 16px; height: 16px;
  border: 1.4px solid rgba(16, 19, 12, 0.4);
  border-radius: 50% 50% 45% 45%;
}
.app-bell::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -4px;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: var(--coral);
  transform: translateX(-50%);
}

.app-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 9px; }
.stat-card {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 11px;
  border: 1px solid rgba(16, 19, 12, 0.09);
  border-radius: 10px;
  background: #fff;
}
.stat-label { font-size: 0.52rem; text-transform: uppercase; letter-spacing: 0.08em; color: #858b76; }
.stat-value { font-family: var(--font-display); font-size: 1.06rem; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.stat-trend { font-size: 0.5rem; color: #858b76; }
.stat-trend.up { color: #4d7a1c; }
.stat-trend.ready { color: var(--lime-deep); }
.stat-card--dark { background: var(--ink); border-color: var(--ink); }
.stat-card--dark .stat-label { color: rgba(246, 244, 236, 0.55); }
.stat-card--dark .stat-value { color: var(--paper); }

.app-lower { display: grid; grid-template-columns: 1.14fr 0.86fr; gap: 9px; }

.ai-card {
  padding: 11px;
  border: 1px solid rgba(16, 19, 12, 0.09);
  border-radius: 10px;
  background: #fff;
}
.ai-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.58rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.ai-spark { color: var(--lime-deep); font-size: 0.8rem; line-height: 1; }
.ai-beta {
  margin-left: auto;
  padding: 1px 5px;
  border-radius: 4px;
  background: var(--lime-soft);
  color: #4d7a1c;
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.ai-q {
  padding: 7px 9px;
  border-radius: 8px 8px 8px 2px;
  background: #f2f0e6;
  font-size: 0.56rem;
  color: #3c4232;
}
.ai-a { margin-top: 7px; }
.ai-a > p { font-size: 0.54rem; line-height: 1.5; color: #666c58; }
.ai-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 6px 2px 2px;
  border: 1px solid rgba(16, 19, 12, 0.1);
  border-radius: 999px;
  font-size: 0.47rem;
  color: #4b5140;
  background: #fbfaf4;
}
.ai-input {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-top: 9px;
  padding: 6px 7px 6px 9px;
  border: 1px solid rgba(16, 19, 12, 0.12);
  border-radius: 999px;
  font-size: 0.5rem;
  color: #9a9f8d;
}
.ai-send {
  display: grid;
  place-items: center;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.55rem;
  flex: none;
}

.chart-card {
  padding: 11px;
  border: 1px solid rgba(16, 19, 12, 0.09);
  border-radius: 10px;
  background: #fff;
  display: flex;
  flex-direction: column;
}
.chart-head { display: flex; align-items: center; justify-content: space-between; font-size: 0.58rem; font-weight: 600; }
.chart-legend { display: inline-flex; align-items: center; gap: 4px; font-size: 0.46rem; font-weight: 500; color: #858b76; }
.chart-legend i { width: 5px; height: 5px; border-radius: 50%; background: var(--lime-deep); }
.bars { display: flex; align-items: flex-end; justify-content: space-between; gap: 5px; height: 96px; margin-top: 10px; }
.bars span {
  position: relative;
  flex: 1;
  height: var(--h);
  min-height: 12px;
  border-radius: 4px 4px 2px 2px;
  background: #e6e4d7;
}
.bars span.bar-hi { background: var(--lime); }
.bars span::after {
  content: attr(data-day);
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.42rem;
  color: #9a9f8d;
}
.chart-note { margin-top: auto; padding-top: 18px; font-size: 0.5rem; color: #858b76; }
.chart-note strong { color: var(--ink); font-weight: 600; }

.float-card {
  position: absolute;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px 10px 10px;
  border: 1px solid rgba(16, 19, 12, 0.1);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--shadow-md);
  animation: floaty 6s ease-in-out infinite;
}
.float-card p { font-size: 0.7rem; font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.float-card span:not(.float-icon) { font-size: 0.58rem; color: var(--muted); }
.float-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; flex: none; }
.float-icon .icon { width: 15px; height: 15px; }
.float-icon--lime { background: var(--lime); color: var(--ink); }
.float-icon--dark { background: var(--ink); color: var(--lime); }
.float-card--offer { top: -22px; left: -26px; }
.float-card--payroll { bottom: -24px; right: -18px; animation-delay: -3s; }

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ---------- Logo strip ---------- */
.logo-strip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 36px;
  padding-top: 54px;
  padding-bottom: 58px;
  border-top: 1px solid var(--line);
  margin-top: 26px;
}
.logo-label {
  flex: none;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee {
  flex: 1;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 54px;
  width: max-content;
  animation: marquee 30s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.wm {
  font-family: var(--font-display);
  font-size: 1.08rem;
  letter-spacing: 0.02em;
  color: #6c7262;
  white-space: nowrap;
  opacity: 0.9;
}
.wm-1 { font-weight: 700; letter-spacing: 0.14em; font-size: 0.95rem; }
.wm-2 { font-family: var(--font-serif); font-style: italic; font-size: 1.45rem; }
.wm-3 { font-weight: 700; letter-spacing: -0.04em; }
.wm-3 span { font-weight: 400; opacity: 0.65; }
.wm-4 { font-weight: 500; letter-spacing: 0.22em; font-size: 0.9rem; }
.wm-5 { font-family: var(--font-serif); font-size: 1.4rem; letter-spacing: -0.01em; }
.wm-6 { font-weight: 700; letter-spacing: 0.06em; font-size: 1rem; }

/* ---------- Stats band ---------- */
.stats-band {
  background: var(--ink);
  color: var(--paper);
  padding: 46px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 6px 32px;
  border-left: 1px solid var(--line-dark);
}
.stat:first-child { border-left: 0; padding-left: 0; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--lime);
}
.stat-caption {
  margin-top: 8px;
  max-width: 15ch;
  font-size: 0.79rem;
  line-height: 1.45;
  color: rgba(246, 244, 236, 0.62);
}

/* ---------- Sections ---------- */
.section { padding: clamp(72px, 9vw, 120px) 0; }

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 58px); }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 20px; }
.section-lede {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 34rem;
}
.section-head--dark { color: var(--paper); }
.section-head--dark .section-lede { color: rgba(246, 244, 236, 0.62); }
.section-head--center {
  max-width: 680px;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .section-lede { margin-inline: auto; }
.section-head--center .eyebrow { margin-bottom: 16px; }

/* ---------- Bento ---------- */
.features { background: var(--paper); }
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}
.bento-card {
  position: relative;
  grid-column: span 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.bento-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(16, 19, 12, 0.17);
}
.bento-card h3 { max-width: 20ch; }
.bento-card > p { font-size: 0.9rem; line-height: 1.6; color: var(--muted); max-width: 40ch; }
.bento-ai { grid-column: span 7; background: linear-gradient(150deg, #fff 0%, #f3f9e2 100%); }
.bento-ats { grid-column: span 5; }
.bento-analytics { grid-column: span 6; justify-content: space-between; }
.bento-card:nth-child(6) { grid-column: span 6; }

.card-top { display: flex; align-items: center; gap: 10px; margin-bottom: 2px; }
.feature-icon {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(200, 247, 81, 0.35);
  color: var(--ink);
  border: 1px solid rgba(16, 19, 12, 0.07);
  flex: none;
}
.feature-icon .icon { width: 19px; height: 19px; }
.card-tag {
  margin-left: auto;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.mini-chat { margin-top: auto; padding-top: 10px; display: flex; flex-direction: column; gap: 8px; }
.mini-user {
  align-self: flex-end;
  max-width: 82%;
  padding: 9px 13px;
  border-radius: 12px 12px 2px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.74rem;
  line-height: 1.45;
}
.mini-bot {
  display: flex;
  gap: 9px;
  max-width: 92%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px 14px 14px 2px;
  background: #fff;
  font-size: 0.74rem;
  line-height: 1.5;
  box-shadow: var(--shadow-sm);
}
.mini-bot p { color: #3f4636; }
.mini-actions { display: flex; gap: 6px; margin-top: 9px; }
.mini-actions span {
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--paper-2);
  font-size: 0.6rem;
  font-weight: 500;
  color: #555b4a;
}

.pipeline { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; padding-top: 8px; }
.pipeline-col { display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 12px; background: rgba(16, 19, 12, 0.035); }
.pipe-label { display: flex; justify-content: space-between; font-size: 0.57rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.07em; color: var(--muted); padding: 2px 2px 4px; }
.pipe-label b { color: var(--ink); }
.pipe-card {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0 6px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  font-size: 0.58rem;
  font-weight: 600;
}
.pipe-card em { grid-column: 2; font-style: normal; font-weight: 400; font-size: 0.5rem; color: var(--muted); }
.pipe-card .avatar { grid-row: span 2; }
.pipe-hi { border-color: var(--lime-deep); background: #f7ffe6; }

.check-list { display: flex; flex-direction: column; gap: 8px; margin-top: auto; padding-top: 10px; }
.check-list li {
  position: relative;
  padding-left: 26px;
  font-size: 0.79rem;
  color: var(--muted);
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 16px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  transform: translateY(-50%);
}
.check-list li.done { color: var(--ink); }
.check-list li.done::before {
  background: var(--lime);
  border-color: var(--lime-deep);
}
.check-list li.done::after {
  content: "";
  position: absolute;
  left: 5px; top: 50%;
  width: 6px; height: 3px;
  border-left: 1.6px solid var(--ink);
  border-bottom: 1.6px solid var(--ink);
  transform: translateY(-62%) rotate(-45deg);
}

.payroll-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px; }
.payroll-label { display: block; font-size: 0.68rem; color: var(--muted); }
.payroll-row strong { font-family: var(--font-display); font-size: 1.3rem; letter-spacing: -0.03em; }
.status-pill {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--lime);
  border: 1px solid var(--lime-deep);
  font-size: 0.6rem;
  font-weight: 600;
}
.payroll-bar { height: 6px; border-radius: 999px; background: var(--paper-2); overflow: hidden; }
.payroll-bar span { display: block; width: 82%; height: 100%; border-radius: inherit; background: var(--lime-deep); }

.leave-strip { display: flex; flex-direction: column; gap: 5px; margin-top: auto; padding-top: 8px; }
.leave-day { display: flex; align-items: center; gap: 4px; }
.leave-day span { width: 26px; font-size: 0.55rem; color: var(--muted); }
.leave-day i {
  flex: 1;
  height: 14px;
  border-radius: 4px;
  background: #e9e7da;
}
.leave-day i.half { background: linear-gradient(90deg, var(--lime) 50%, #e9e7da 50%); }
.leave-day i.off { background: var(--lime); }

.review {
  margin-top: auto;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.review-head { display: flex; align-items: center; gap: 8px; }
.review-head div { display: flex; flex-direction: column; line-height: 1.3; }
.review-head strong { font-size: 0.68rem; }
.review-head em { font-style: normal; font-size: 0.54rem; color: var(--muted); }
.review-score {
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: #4d7a1c;
}
.review-quote { margin-top: 8px; font-family: var(--font-serif); font-size: 0.86rem; line-height: 1.4; color: #454c3b; }

.analytics-copy h3 { margin-bottom: 8px; }
.analytics-copy p { font-size: 0.9rem; color: var(--muted); max-width: 36ch; }
.spark { width: 100%; height: 84px; margin-top: 12px; overflow: visible; }

.capability-strip {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.capability-strip > span {
  flex: none;
  padding-top: 5px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.capability-strip ul { display: flex; flex-wrap: wrap; gap: 7px; }
.capability-strip li {
  padding: 5px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.72rem;
  color: #4b5140;
  background: rgba(255, 255, 255, 0.45);
}

/* ---------- How it works ---------- */
.section-dark {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 45% at 80% 0%, rgba(200, 247, 81, 0.09), transparent 70%);
  pointer-events: none;
}
.how .container { position: relative; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.step {
  padding: 32px 32px 0 0;
  border-right: 1px solid var(--line-dark);
}
.step + .step { padding-left: 32px; }
.step:last-child { border-right: 0; padding-right: 0; }
.step-num {
  display: inline-block;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--lime);
  margin-bottom: 16px;
}
.step h3 { color: var(--paper); font-size: 1.5rem; margin-bottom: 12px; }
.step > p { font-size: 0.9rem; line-height: 1.6; color: rgba(246, 244, 236, 0.6); max-width: 32ch; }

.step-visual {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--line-dark);
  border-radius: 14px;
  background: rgba(246, 244, 236, 0.04);
}
.file-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgba(246, 244, 236, 0.06);
  font-size: 0.68rem;
  color: rgba(246, 244, 236, 0.8);
}
.file-row b { margin-left: auto; font-weight: 600; color: var(--paper); }
.file-ico {
  display: grid;
  place-items: center;
  width: 26px; height: 22px;
  border-radius: 5px;
  background: rgba(200, 247, 81, 0.15);
  color: var(--lime);
  font-size: 0.46rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.file-row--ok { background: rgba(200, 247, 81, 0.12); }
.file-row--ok .file-ico { background: var(--lime); color: var(--ink); }

.rule-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 2px;
  font-size: 0.7rem;
  color: rgba(246, 244, 236, 0.75);
}
.rule-row + .rule-row { border-top: 1px solid rgba(246, 244, 236, 0.08); }
.rule-value { color: var(--paper); font-size: 0.66rem; }
.toggle {
  position: relative;
  width: 32px; height: 18px;
  border-radius: 999px;
  background: rgba(246, 244, 236, 0.18);
  flex: none;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(246, 244, 236, 0.6);
  transition: transform 0.2s ease;
}
.toggle.on { background: var(--lime); }
.toggle.on::after { transform: translateX(14px); background: var(--ink); }

.run-line { display: flex; align-items: center; gap: 9px; font-size: 0.7rem; color: rgba(246, 244, 236, 0.8); }
.run-line .pulse-dot { width: 6px; height: 6px; }

/* ---------- AI section ---------- */
.ai-section { background: var(--paper); }
.ai-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  align-items: center;
  gap: clamp(36px, 6vw, 80px);
}
.ai-copy .eyebrow { margin-bottom: 16px; }
.ai-copy h2 { margin-bottom: 20px; }
.ai-copy .section-lede { margin-bottom: 26px; }

.arrow-list { display: flex; flex-direction: column; gap: 18px; margin-bottom: 30px; }
.arrow-list li { display: flex; gap: 14px; }
.arrow-ico {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 0.85rem;
  flex: none;
  transition: background 0.2s ease, transform 0.2s ease;
}
.arrow-list li:hover .arrow-ico { background: var(--lime); transform: translateX(3px); }
.arrow-list strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 600; letter-spacing: -0.015em; margin-bottom: 3px; }
.arrow-list p { font-size: 0.88rem; color: var(--muted); line-height: 1.55; max-width: 40ch; }

.chat-demo {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.chat-demo-head {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--line);
  background: #fbfaf4;
}
.chat-demo-head div { display: flex; flex-direction: column; line-height: 1.35; }
.chat-demo-head strong { font-size: 0.84rem; font-weight: 600; }
.chat-demo-head span:not(.ai-orb):not(.status-dot) { font-size: 0.66rem; color: var(--muted); }
.ai-orb {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border-radius: 10px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.95rem;
  flex: none;
}
.ai-orb.sm { width: 24px; height: 24px; border-radius: 7px; font-size: 0.7rem; }
.status-dot {
  width: 8px; height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--lime-deep);
  box-shadow: 0 0 0 3px rgba(168, 220, 43, 0.18);
}

.chat-thread {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 20px 18px;
  min-height: 232px;
  max-height: 300px;
  overflow-y: auto;
  scrollbar-width: thin;
}
.msg { display: flex; gap: 9px; align-items: flex-start; animation: msgIn 0.4s cubic-bezier(0.16, 1, 0.3, 1); }
.msg-bot .bubble {
  padding: 10px 13px;
  border-radius: 3px 12px 12px 12px;
  background: var(--paper-2);
  font-size: 0.8rem;
  line-height: 1.55;
  color: #3c4232;
}
.msg-user { justify-content: flex-end; }
.msg-user .bubble {
  max-width: 88%;
  padding: 10px 13px;
  border-radius: 12px 3px 12px 12px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  line-height: 1.5;
}
.msg-answer .bubble { background: #f4fbdf; border: 1px solid rgba(168, 220, 43, 0.5); }
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: none; }
}
.typing { display: inline-flex; gap: 3px; padding: 4px 0; }
.typing i {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: #8a907c;
  animation: blink 1.2s infinite;
}
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes blink { 0%, 80%, 100% { opacity: 0.3; } 40% { opacity: 1; } }

.chat-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 14px;
}
.chat-suggestions button {
  padding: 6px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 0.68rem;
  font-weight: 500;
  color: #4b5140;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}
.chat-suggestions button:hover { background: var(--lime-soft); border-color: var(--lime-deep); transform: translateY(-1px); }

.chat-input {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 18px;
  padding: 6px 6px 6px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: #fff;
}
.chat-input:focus-within { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 247, 81, 0.35); }
.chat-input input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 0.79rem; padding: 7px 0; outline: none; }
.chat-input input::placeholder { color: #9a9f8d; }
.chat-input button {
  display: grid;
  place-items: center;
  width: 32px; height: 32px;
  border: 0;
  border-radius: 50%;
  background: var(--ink);
  color: var(--lime);
  flex: none;
  transition: transform 0.18s ease;
}
.chat-input button:hover { transform: scale(1.06); }
.chat-input .icon { width: 15px; height: 15px; }
.chat-note { padding: 10px 18px 14px; font-size: 0.62rem; color: #9a9f8d; text-align: center; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--paper-2); }
.quote-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.quote-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.quote-card--accent { background: var(--lime-soft); border-color: rgba(168, 220, 43, 0.55); }
.quote-card blockquote {
  font-size: 0.94rem;
  line-height: 1.65;
  color: #333a2c;
  margin-bottom: 24px;
}
.quote-card figcaption {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 19, 12, 0.1);
}
.quote-card figcaption div { display: flex; flex-direction: column; line-height: 1.35; }
.quote-card figcaption strong { font-size: 0.82rem; font-weight: 600; }
.quote-card figcaption span:not(.avatar) { font-size: 0.7rem; color: var(--muted); }

.quote-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 34px;
  font-size: 0.79rem;
  color: var(--muted);
}
.quote-foot strong { color: var(--ink); font-weight: 600; }
.dot-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(16, 19, 12, 0.3); }

/* ---------- Pricing ---------- */
.pricing { background: var(--paper); }
.billing-toggle {
  display: inline-flex;
  gap: 4px;
  margin-top: 26px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}
.billing-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 0.79rem;
  font-weight: 500;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}
.billing-toggle button.is-active { background: var(--ink); color: var(--paper); }
.save-pill {
  padding: 2px 7px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.price-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  align-items: stretch;
}
.price-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.price-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.price-card--featured {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
  box-shadow: var(--shadow-lg);
}
.price-card--featured:hover { box-shadow: 0 34px 80px rgba(16, 19, 12, 0.28); }
.popular-badge {
  position: absolute;
  top: 20px; right: 20px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}
.price-head h3 { font-size: 1.5rem; margin-bottom: 6px; }
.price-head p { font-size: 0.82rem; color: var(--muted); }
.price-card--featured .price-head p { color: rgba(246, 244, 236, 0.6); }

.price {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-top: 26px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price .currency { font-size: 1.4rem; margin-top: 8px; }
.price .amount { font-size: 3.6rem; }
.price .per {
  font-family: var(--font-body);
  font-size: 0.66rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  color: var(--muted);
  margin: 10px 0 0 7px;
}
.price-card--featured .price .per { color: rgba(246, 244, 236, 0.55); }
.price--custom { font-size: 3.2rem; margin-bottom: 6px; }
.price-note { margin-top: 9px; font-size: 0.68rem; color: var(--muted); }
.price-card--featured .price-note { color: rgba(246, 244, 236, 0.55); }
.price-card .btn { margin-top: 22px; }
.price-card--featured .btn-primary { background: var(--lime); color: var(--ink); }
.price-card--featured .btn-primary:hover { background: #d8ff67; }
.price-card--featured .btn-outline { border-color: rgba(246, 244, 236, 0.3); color: var(--paper); }
.price-card--featured .btn-outline:hover { background: rgba(246, 244, 236, 0.08); border-color: var(--paper); }

.plan-list { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.price-card--featured .plan-list { border-top-color: rgba(246, 244, 236, 0.14); }
.plan-list li { position: relative; padding-left: 24px; font-size: 0.8rem; color: #4b5140; }
.price-card--featured .plan-list li { color: rgba(246, 244, 236, 0.78); }
.plan-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 4px;
  width: 13px; height: 7px;
  border-left: 1.7px solid var(--lime-deep);
  border-bottom: 1.7px solid var(--lime-deep);
  transform: rotate(-45deg);
}
.price-card--featured .plan-list li::before { border-color: var(--lime); }

.pricing-foot {
  margin-top: 26px;
  text-align: center;
  font-size: 0.72rem;
  color: var(--muted);
}

/* ---------- Security ---------- */
.security {
  background: var(--paper-2);
  padding: clamp(64px, 7vw, 96px) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.security-head { max-width: 560px; margin-bottom: 40px; }
.security-head .eyebrow { margin-bottom: 14px; }
.security-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 48px;
}
.security-item {
  display: flex;
  gap: 15px;
  padding-top: 20px;
  border-top: 1px solid var(--line-strong);
}
.security-item .feature-icon { background: transparent; border-color: var(--line-strong); width: 38px; height: 38px; }
.security-item h3 { font-size: 1rem; margin-bottom: 5px; letter-spacing: -0.015em; }
.security-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.55; max-width: 42ch; }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.faq-intro { position: sticky; top: calc(var(--header-h) + 40px); }
.faq-intro .eyebrow { margin-bottom: 16px; }
.faq-intro h2 { margin-bottom: 18px; }
.faq-intro .section-lede { margin-bottom: 26px; }

.faq-list { border-top: 1px solid var(--line-strong); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  padding: 22px 2px;
  border: 0;
  background: transparent;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.04rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.3;
  transition: color 0.2s ease;
}
.faq-q:hover { color: #3d5a12; }
.faq-icon {
  position: relative;
  width: 26px; height: 26px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  flex: none;
  transition: background 0.25s ease, transform 0.25s ease;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 10px; height: 1.5px;
  background: var(--ink);
  transform: translate(-50%, -50%);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.faq-icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq-q[aria-expanded="true"] .faq-icon { background: var(--lime); border-color: var(--lime-deep); }
.faq-q[aria-expanded="true"] .faq-icon::after { transform: translate(-50%, -50%) rotate(0deg); opacity: 0; }

.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-a > p {
  overflow: hidden;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 60ch;
  padding-right: 34px;
}
.faq-a > p::after { content: ""; display: block; height: 22px; }
.faq-item.is-open .faq-a { grid-template-rows: 1fr; }

/* Without JavaScript, show answers and let the questions read as static text */
html:not(.js) .faq-a { grid-template-rows: 1fr; }
html:not(.js) .faq-q { cursor: default; }
html:not(.js) .faq-icon { display: none; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 clamp(72px, 8vw, 110px); background: var(--paper); }
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
  padding: clamp(36px, 5vw, 64px);
  border-radius: 30px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(246, 244, 236, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 244, 236, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 80% at 90% 50%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 90% 50%, #000, transparent 75%);
  pointer-events: none;
}
.cta-copy { position: relative; z-index: 1; }
.cta-copy .eyebrow { margin-bottom: 16px; }
.cta-copy h2 { margin-bottom: 16px; }
.cta-copy p:not(.eyebrow) { max-width: 38ch; font-size: 0.94rem; line-height: 1.65; color: rgba(246, 244, 236, 0.62); }
.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}
.cta-note { text-align: center; font-size: 0.67rem; color: rgba(246, 244, 236, 0.45); }
.cta-orb {
  position: absolute;
  right: -80px; bottom: -140px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 247, 81, 0.35), transparent 68%);
  filter: blur(10px);
  pointer-events: none;
}

/* ---------- Footer ---------- */
.site-footer {
  background: #0b0e07;
  color: var(--paper);
  padding: 64px 0 28px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr repeat(3, 0.7fr);
  gap: 48px;
  padding-bottom: 48px;
}
.footer-brand .brand { margin-bottom: 16px; }
.footer-brand .brand-mark { color: var(--lime); }
.footer-brand p { max-width: 34ch; font-size: 0.82rem; line-height: 1.6; color: rgba(246, 244, 236, 0.5); }
.newsletter {
  display: flex;
  gap: 6px;
  margin-top: 22px;
  max-width: 330px;
}
.newsletter input {
  flex: 1;
  min-width: 0;
  padding: 10px 14px;
  border: 1px solid rgba(246, 244, 236, 0.18);
  border-radius: 999px;
  background: rgba(246, 244, 236, 0.06);
  font-size: 0.78rem;
  color: var(--paper);
  outline: none;
}
.newsletter input::placeholder { color: rgba(246, 244, 236, 0.4); }
.newsletter input:focus { border-color: var(--lime); }
.newsletter button {
  padding: 10px 16px;
  border: 0;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 600;
  flex: none;
  transition: background 0.2s ease;
}
.newsletter button:hover { background: #d8ff67; }
.footer-form-note { min-height: 18px; margin-top: 8px; font-size: 0.68rem; color: var(--lime); }

.footer-col h3 {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(246, 244, 236, 0.45);
  margin-bottom: 16px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.82rem; color: rgba(246, 244, 236, 0.72); transition: color 0.18s ease; }
.footer-col a:hover { color: var(--lime); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(246, 244, 236, 0.1);
  font-size: 0.72rem;
  color: rgba(246, 244, 236, 0.4);
}
.footer-socials { display: flex; gap: 8px; }
.footer-socials a {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border: 1px solid rgba(246, 244, 236, 0.15);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(246, 244, 236, 0.65);
  transition: background 0.18s ease, color 0.18s ease;
}
.footer-socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }

/* ---------- Modal ---------- */
.modal {
  width: min(560px, calc(100vw - 32px));
  max-height: calc(100vh - 48px);
  padding: 0;
  border: 0;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-lg);
  overflow: auto;
}
.modal::backdrop {
  background: rgba(8, 10, 6, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}
.modal-inner { position: relative; padding: 38px; }
.modal-close {
  position: absolute;
  top: 18px; right: 18px;
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  transition: background 0.18s ease;
}
.modal-close:hover { background: var(--paper-2); }
.modal-close .icon { width: 16px; height: 16px; }
.modal .eyebrow { margin-bottom: 10px; font-size: 0.66rem; }
.modal h2 { font-size: 2rem; margin-bottom: 10px; }
.modal-sub { font-size: 0.86rem; color: var(--muted); margin-bottom: 24px; line-height: 1.55; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.01em; }
.field label span { font-weight: 400; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: #fff;
  font-size: 0.84rem;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}
.field textarea { resize: vertical; min-height: 78px; }
.field input:focus,
.field select:focus,
.field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(200, 247, 81, 0.4); }
.field input::placeholder,
.field textarea::placeholder { color: #a2a795; }
.form-legal { margin-top: 10px; font-size: 0.66rem; color: var(--muted); text-align: center; line-height: 1.5; }
.form-status { margin-top: 10px; font-size: 0.78rem; font-weight: 500; color: #3d6b12; text-align: center; }
.modal-inner.is-success form { display: none; }
.modal-success { display: none; padding: 16px 0 8px; text-align: center; }
.modal-inner.is-success .modal-success { display: block; }
.modal-success .success-ico {
  display: grid;
  place-items: center;
  width: 54px; height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--lime);
  font-size: 1.4rem;
}
.modal-success h3 { font-size: 1.35rem; margin-bottom: 8px; }
.modal-success p { font-size: 0.86rem; color: var(--muted); line-height: 1.6; max-width: 34ch; margin-inline: auto; }

/* ---------- Toast ---------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 300;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--lime);
  font-size: 0.8rem;
  font-weight: 500;
  box-shadow: var(--shadow-md);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* ============================================================
   Wide screens (1920px, 2560px, ultrawide)
   ============================================================ */

@media (min-width: 1400px) {
  :root { --container: 1300px; }

  h1 { font-size: clamp(5.4rem, 5.8vw, 7rem); }
  h2 { font-size: clamp(3.7rem, 3.4vw, 4.4rem); }

  .section { padding-block: 116px; }
  .section-head { max-width: 760px; }
  .section-lede { font-size: 1.06rem; max-width: 38rem; }

  .hero-copy .lede { font-size: 1.15rem; max-width: 36rem; }
  .hero-ctas .btn-lg { padding: 16px 28px; font-size: 1rem; }
  .hero-proof { max-width: 36rem; }

  .bento { gap: 20px; }
  .bento-card { padding: 30px; }
  .bento-card h3 { font-size: 1.5rem; }
  .bento-card > p { font-size: 0.94rem; }

  .quote-grid { gap: 20px; }
  .quote-card { padding: 32px; }
  .quote-card blockquote { font-size: 1rem; }

  .price-grid { gap: 20px; }
  .price-card { padding: 34px; }
  .price .amount { font-size: 4rem; }

  .faq-grid { gap: 96px; }
  .faq-q { font-size: 1.1rem; }
  .faq-a > p { font-size: 0.95rem; }

  .security-grid { gap: 20px 64px; }
  .security-item p { font-size: 0.86rem; }

  .cta-panel { padding: 72px; }
}

@media (min-width: 1600px) {
  :root { --container: 1440px; }

  .nav-links a { font-size: 0.94rem; padding: 10px 15px; }
  .brand-name { font-size: 1.38rem; }
  .brand-mark { width: 35px; height: 35px; }

  .logo-strip { padding-block: 64px; }
  .logo-label { font-size: 0.75rem; }
  .marquee-track { gap: 64px; }
  .wm { font-size: 1.2rem; }

  .stats-band { padding: 56px 0; }
  .stat-number { font-size: 3.2rem; }
  .stat-caption { font-size: 0.84rem; max-width: 17ch; }

  /* Scale the dashboard preview to match the wider hero column */
  .app-frame { border-radius: 20px; }
  .app-chrome { padding: 12px 18px; }
  .chrome-dots i { width: 8px; height: 8px; }
  .chrome-url { font-size: 0.64rem; padding: 5px 12px; }
  .app-body { min-height: 500px; }
  .app-sidebar { width: 64px; padding: 18px 0; gap: 16px; }
  .side-logo svg { width: 28px; height: 28px; }
  .side-item { width: 22px; height: 7px; }
  .side-item--last { width: 22px; height: 22px; }
  .app-main { padding: 22px; }
  .app-hello { font-size: 1rem; }
  .app-sub { font-size: 0.66rem; }
  .app-bell { width: 19px; height: 19px; }
  .app-top { margin-bottom: 18px; }
  .app-stats { gap: 12px; margin-bottom: 12px; }
  .stat-card { padding: 14px 16px; border-radius: 12px; }
  .stat-label { font-size: 0.58rem; }
  .stat-value { font-size: 1.35rem; }
  .stat-trend { font-size: 0.56rem; }
  .app-lower { gap: 12px; }
  .ai-card { padding: 16px; border-radius: 12px; }
  .ai-head { font-size: 0.7rem; gap: 8px; margin-bottom: 10px; }
  .ai-q { padding: 10px 12px; font-size: 0.66rem; }
  .ai-a > p { font-size: 0.62rem; }
  .chip { font-size: 0.55rem; padding: 3px 8px 3px 3px; }
  .ai-input { font-size: 0.6rem; padding: 8px 9px 8px 12px; margin-top: 12px; }
  .ai-send { width: 20px; height: 20px; }
  .chart-card { padding: 16px; border-radius: 12px; }
  .chart-head { font-size: 0.7rem; }
  .chart-legend { font-size: 0.54rem; }
  .bars { height: 132px; margin-top: 14px; }
  .chart-note { font-size: 0.6rem; padding-top: 22px; }
  .float-card { padding: 13px 18px 13px 13px; border-radius: 16px; }
  .float-icon { width: 36px; height: 36px; border-radius: 10px; }
  .float-card p { font-size: 0.82rem; }
  .float-card span:not(.float-icon) { font-size: 0.68rem; }
  .float-card--offer { left: -32px; top: -28px; }
  .float-card--payroll { right: -26px; bottom: -30px; }

  .pricing-foot { font-size: 0.8rem; }
  .quote-foot { font-size: 0.86rem; }

  /* Security: heading + four compact items across the wider grid */
  .security-head { max-width: 800px; margin-bottom: 48px; }
  .security-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 36px; }
  .security-item { padding-top: 24px; }
  .security-item h3 { font-size: 1.02rem; }
  .security-item p { font-size: 0.84rem; max-width: 30ch; }

  /* AI chat: scale the demo so it holds its own in a wider column */
  .ai-grid { gap: 80px; }
  .ai-copy .section-lede { max-width: 42rem; }
  .chat-demo { max-width: 820px; margin-left: auto; }
  .chat-demo-head { padding: 20px 24px; gap: 13px; }
  .chat-demo-head strong { font-size: 0.95rem; }
  .chat-demo-head span:not(.ai-orb):not(.status-dot) { font-size: 0.74rem; }
  .chat-demo .ai-orb { width: 38px; height: 38px; border-radius: 11px; font-size: 1.05rem; }
  .chat-demo .ai-orb.sm { width: 28px; height: 28px; border-radius: 8px; font-size: 0.8rem; }
  .chat-thread { min-height: 340px; max-height: 380px; padding: 26px 24px; gap: 14px; }
  .msg-bot .bubble { padding: 12px 16px; font-size: 0.9rem; }
  .msg-user .bubble { padding: 12px 16px; font-size: 0.9rem; }
  .chat-suggestions { padding: 0 24px 18px; gap: 8px; }
  .chat-suggestions button { padding: 8px 14px; font-size: 0.78rem; }
  .chat-input { margin: 0 24px; padding: 8px 8px 8px 18px; }
  .chat-input input { font-size: 0.9rem; padding: 9px 0; }
  .chat-input button { width: 38px; height: 38px; }
  .chat-input .icon { width: 17px; height: 17px; }
  .chat-note { font-size: 0.72rem; padding: 12px 24px 16px; }
}

@media (min-width: 1900px) {
  :root { --container: 1600px; }

  .section-head { max-width: 820px; }
  .section-lede { font-size: 1.12rem; max-width: 40rem; }
  .hero-copy .lede { font-size: 1.22rem; max-width: 38rem; }
  .hero-copy h1 { margin-bottom: 26px; }

  .price .amount { font-size: 4.3rem; }
  .price-card { padding: 38px; }
  .plan-list li { font-size: 0.86rem; }

  .cta-copy p:not(.eyebrow) { font-size: 1rem; max-width: 42ch; }
}

@media (min-width: 2200px) {
  h1 { font-size: 7.8rem; }
  h2 { font-size: 4.8rem; }
}

@media (min-width: 2300px) {
  :root { --container: 1760px; }

  .bento-card { padding: 34px; }
  .bento-card h3 { font-size: 1.65rem; }
  .bento-card > p { font-size: 1rem; }
  .quote-card blockquote { font-size: 1.08rem; }
  .price-card { padding: 42px; }
  .price .amount { font-size: 4.8rem; }
  .faq-grid { gap: 120px; }
  .faq-q { font-size: 1.18rem; }
}

@media (min-width: 3000px) {
  :root { --container: 1900px; }
  h1 { font-size: 8.8rem; }
  h2 { font-size: 5.4rem; }
  .hero-copy .lede { font-size: 1.32rem; max-width: 40rem; }
  .section-lede { font-size: 1.2rem; }
  .app-body { min-height: 560px; }
}

/* ============================================================
   Responsive
   ============================================================ */

@media (max-width: 1100px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .float-card--offer { left: -10px; }
  .float-card--payroll { right: -6px; }
  .stat { padding-inline: 22px; }
}

@media (max-width: 960px) {
  :root { --header-h: 68px; }

  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px 20px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 13px 14px; font-size: 1rem; border-radius: 10px; }
  .nav-login { display: inline-flex; }
  .menu-toggle { display: flex; }
  .nav-actions .btn-primary { display: none; }

  .hero { padding-top: 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 52px; }
  .hero-copy .lede { max-width: 40rem; }
  .hero-visual { max-width: 620px; width: 100%; margin-inline: auto; }
  .float-card--offer { left: 0; top: -18px; }
  .float-card--payroll { right: 0; bottom: -18px; }
  .logo-strip { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 44px; }
  .marquee { width: 100%; }

  .stats-grid { grid-template-columns: 1fr 1fr; gap: 26px 0; }
  .stat { padding-inline: 24px; }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }

  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento-card,
  .bento-ai,
  .bento-ats,
  .bento-analytics,
  .bento-card:nth-child(6) { grid-column: span 1; }
  .bento-ai { grid-column: span 2; }
  .bento-analytics { grid-column: span 2; }

  .steps { grid-template-columns: 1fr; }
  .step { padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .step + .step { padding-left: 0; }
  .step:last-child { border-bottom: 0; }
  .step > p { max-width: 46ch; }

  .ai-grid { grid-template-columns: 1fr; gap: 44px; }
  .ai-copy .section-lede { max-width: 46rem; }

  .quote-grid { grid-template-columns: 1fr; }
  .quote-card blockquote { font-size: 1rem; }

  .price-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .price-card--featured { order: -1; }

  .security-grid { grid-template-columns: 1fr; gap: 0; }

  .faq-grid { grid-template-columns: 1fr; }
  .faq-intro { position: static; }

  .cta-panel { grid-template-columns: 1fr; gap: 30px; }
  .cta-actions { max-width: 380px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 620px) {
  .container { padding-inline: 20px; }
  h1 { font-size: clamp(2.5rem, 12vw, 3.4rem); }
  h2 { font-size: clamp(2rem, 9vw, 2.7rem); }

  .nav-actions .btn-ghost { display: none; }
  .brand-name { font-size: 1.18rem; }

  .hero { padding-top: 26px; }
  .hero-copy .eyebrow { font-size: 0.62rem; gap: 7px; }
  .hero-copy .lede { font-size: 0.98rem; }
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .btn { width: 100%; }
  .hero-proof { margin-top: 28px; }

  .app-frame { transform: none; }
  .app-body { min-height: 0; }
  .app-sidebar { display: none; }
  .app-main { padding: 12px; }
  .stat-value { font-size: 0.95rem; }
  .app-lower { grid-template-columns: 1fr; }
  .chart-card { display: none; }
  .float-card { display: none; }

  .stats-band { padding: 34px 0; }
  .stat { padding-inline: 16px; }
  .stat-caption { font-size: 0.72rem; }
  .stat-number { font-size: 1.9rem; }

  .section { padding: 64px 0; }
  .bento { grid-template-columns: 1fr; }
  .bento-ai,
  .bento-ats,
  .bento-analytics,
  .bento-card:nth-child(6) { grid-column: span 1; }
  .bento-card { padding: 22px; }
  .capability-strip { flex-direction: column; gap: 14px; }

  .steps .step { padding-block: 24px; }
  .step h3 { font-size: 1.3rem; }

  .chat-thread { padding: 16px 14px; }
  .chat-suggestions { padding: 0 14px 12px; }
  .chat-input { margin-inline: 14px; }
  .chat-note { padding-inline: 14px; }

  .quote-card { padding: 22px; }
  .quote-foot { gap: 10px; font-size: 0.72rem; }
  .dot-sep { display: none; }

  .price-card { padding: 24px; }
  .price .amount { font-size: 3.2rem; }

  .security { padding: 56px 0; }

  .faq-q { font-size: 0.95rem; padding: 18px 2px; }

  .cta { padding-bottom: 64px; }
  .cta-panel { padding: 30px 22px; border-radius: 22px; }
  .cta-actions .btn { width: 100%; }

  .site-footer { padding-top: 48px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { justify-content: flex-start; }
  .footer-loc { display: none; }

  .modal-inner { padding: 28px 22px; }
  .modal h2 { font-size: 1.7rem; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
}
